/**
 * DCFC (Da Nang Climate Finance Corporation) Custom Stylesheet
 * Exclusively scoped for index-dcfc.html
 */

/* ------------------------------------------------*/
/* 1. Header & Menu Logo */
/* ------------------------------------------------*/
.mxd-logo__img,
.menu-logo__img {
  height: 4.2rem;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--_animspeed-fast) ease;
}

@media only screen and (min-width: 768px) {

  .mxd-logo__img,
  .menu-logo__img {
    height: 8rem;
  }
}

/* Header Action Link (Kết nối với DCFC) */
.mxd-header__link {
  color: #ffffff !important;
}

.mxd-header__link .btn-caption {
  color: #ffffff !important;
}

.mxd-header__link i svg path {
  fill: #ffffff !important;
}

.no-touch .mxd-header__link:hover {
  color: #dfb36c !important;
}

.no-touch .mxd-header__link:hover i svg path {
  fill: #dfb36c !important;
}

/* ------------------------------------------------*/
/* 2. DCFC Hero 01 Section */
/* ------------------------------------------------*/
.mxd-hero-01--dcfc {
  min-height: 100vh !important;
  min-height: 100svh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-top: 13rem !important;
  padding-bottom: 4.5rem !important;
  box-sizing: border-box !important;
}

@media only screen and (max-width: 991px) {
  .mxd-hero-01--dcfc {
    padding-top: 9.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

.mxd-hero-01--dcfc .mxd-hero-01__cover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.mxd-hero-01--dcfc .mxd-hero-01__wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  flex: 1;
}



.mxd-hero-01--dcfc .mxd-hero-01__data-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 0;
}

.mxd-hero-01--dcfc .mxd-hero-01__data-tags {
  margin-bottom: 0;
  width: auto;
  max-width: none;
}

.mxd-hero-01--dcfc .mxd-hero-01__data-tags .tags-column {
  border-left: 2px solid #dfb36c;
  padding-left: 1.4rem;
}

.mxd-hero-01--dcfc .mxd-hero-01__data-tags .tags-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mxd-hero-01--dcfc .mxd-hero-01__data-tags .tags-column .tag {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
  background: transparent;
  border: none;
  padding: 0;
}

.mxd-hero-01--dcfc .mxd-hero-01__data-contact {
  padding-left: 1.4rem;
}

.mxd-hero-01--dcfc .mxd-hero-01__data-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mxd-hero-01--dcfc .mxd-hero-01__data-contact ul li a.tag {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.04em;
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  transition: color var(--_animspeed-fast) ease;
}

.no-touch .mxd-hero-01--dcfc .mxd-hero-01__data-contact ul li a.tag:hover {
  color: #dfb36c !important;
}

/* ------------------------------------------------*/
/* 3. DCFC Bottom Headline Styles */
/* ------------------------------------------------*/
.mxd-hero-01--dcfc .mxd-hero-01__bottom.mxd-hero-01__bottom--dcfc {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 0;
  margin-top: 4rem;
}

.dcfc-hero-headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 1350px;
}

.dcfc-hero-headline__title {
  font-size: clamp(2.4rem, 3.6vw, 4.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dcfc-hero-headline__title .title-line--white {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.dcfc-hero-headline__title .title-line--gold {
  background: linear-gradient(90deg, #dfb36c 0%, #f6d89e 50%, #c99343 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #dfb36c;
}

.dcfc-hero-headline__sub {
  margin-top: 1.4rem;
}

.dcfc-hero-headline__sub p {
  margin: 0;
  font-size: clamp(1.4rem, 1.4vw, 1.85rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 767px) {
  .dcfc-hero-headline__title {
    font-size: clamp(2.6rem, 7vw, 3.8rem);
    gap: 0.4rem;
  }

  .dcfc-hero-headline__sub p {
    font-size: 1.3rem;
    line-height: 1.5;
  }
}

/* ------------------------------------------------*/
/* 4. Light Theme Menu Synchronization */
/* ------------------------------------------------*/

/* Đồng bộ dải đổ bóng mờ trên và dưới của Menu */
.mxd-menu__shadow {
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 0) 0%, rgba(var(--base-rgb), 1) 80%, rgba(var(--base-rgb), 1) 100%) !important;
}

.mxd-menu__shadow.shadow-top {
  background: linear-gradient(to bottom, rgba(var(--base-rgb), 1) 0%, rgba(var(--base-rgb), 1) 20%, rgba(var(--base-rgb), 0) 100%) !important;
}

/* Màu chữ các mục Menu chính */
.main-menu__caption {
  color: var(--t-bright) !important;
}

.no-touch .main-menu__item:hover .main-menu__caption,
.no-touch .main-menu__link:hover .main-menu__caption {
  color: #dfb36c !important;
}

/* Số thứ tự các mục menu (/ 01, / 02...) */
.main-menu__number {
  color: var(--t-medium) !important;
}

/* Đường kẻ phân cách giữa các mục menu */
.main-menu__divider {
  background-color: var(--stroke-controls) !important;
}

/* Biểu tượng mũi tên menu */
.main-menu__arrow svg {
  fill: var(--t-bright) !important;
}

/* Nút đóng Menu (Dấu X) */
.mxd-menu__hamburger.active .hamburger__line {
  background-color: var(--t-bright) !important;
}

/* Tiêu đề nhỏ phía trên của Menu */
.mxd-menu__caption p {
  color: var(--t-medium) !important;
}

/* Cột thông tin liên hệ và copyright bên phải menu */
.menu-contact a,
.menu-data__text,
.menu-data__text a {
  color: var(--t-medium) !important;
}

.no-touch .menu-contact a:hover,
.no-touch .menu-data__text a:hover {
  color: #dfb36c !important;
}

/* ------------------------------------------------*/
/* 5. Ecosystem Architecture Styles (Azurio Native Niche Cards Bento) */
/* ------------------------------------------------*/
.dcfc-dicfex-sub-matrix {
  margin-top: 1.8rem;
  padding: 2.2rem 3rem 0 3rem;
  border-top: 1px solid rgba(223, 179, 108, 0.25);
  width: 100%;
  position: relative;
  z-index: 2;
}

@media only screen and (min-width: 768px) {
  .dcfc-dicfex-sub-matrix {
    padding: 2.4rem 4rem 0 4rem;
  }
}

.dcfc-op-tile {
  background: rgba(10, 15, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 179, 108, 0.28);
  border-radius: 0;
  padding: 1.6rem 1.4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 125px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dcfc-op-tile:hover {
  background: rgba(223, 179, 108, 0.15);
  border-color: #dfb36c;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(223, 179, 108, 0.25);
}

.dcfc-op-tile .op-t-code {
  font-size: 1.7rem;
  font-weight: 800;
  color: #dfb36c;
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.05rem;
}

.dcfc-op-tile .op-t-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  display: block;
}

.dcfc-op-tile .op-t-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
  display: block;
}

.dcfc-eco-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 179, 108, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Header Badge & Meta (Sharp Technical Label) */
.dcfc-eco-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  border-radius: 0;
  background: rgba(223, 179, 108, 0.14);
  color: #9c6d1d;
  border: 1px solid rgba(223, 179, 108, 0.35);
  margin-bottom: 1.2rem;
}

.dcfc-eco-card__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background-color: #9c6d1d;
  display: inline-block;
  box-shadow: 0 0 6px rgba(156, 109, 29, 0.5);
}

.dcfc-eco-card__title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-bottom: 0.8rem;
}

.dcfc-eco-card__code {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--t-bright);
  line-height: 1.15;
}

.dcfc-eco-card__name {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--t-bright);
  line-height: 1.3;
}

.dcfc-eco-card__desc {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--t-medium);
  margin: 0 0 1.4rem 0;
}

.dcfc-eco-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dcfc-eco-tag {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--t-medium);
  background: rgba(15, 15, 15, 0.04);
  border: 1px solid var(--stroke-elements);
  padding: 0.35rem 0.9rem;
  border-radius: 0;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.dcfc-eco-card:hover .dcfc-eco-tag {
  border-color: rgba(223, 179, 108, 0.4);
  color: var(--t-bright);
}

/* Tier 1: Apex - VIFC DA NANG */
.dcfc-eco-card--apex {
  max-width: 980px;
  width: 100%;
  text-align: center;
  padding: 2.8rem 3.6rem;
  background: #ffffff;
  border: 1.5px solid var(--stroke-controls);
  border-top: 3.5px solid #dfb36c;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.dcfc-eco-card--apex .dcfc-eco-card__title-row {
  justify-content: center;
}

.dcfc-eco-card--apex .dcfc-eco-card__code {
  font-size: clamp(2.4rem, 2.8vw, 3.2rem);
  color: var(--t-bright);
  font-weight: 800;
}

.dcfc-eco-card--apex .dcfc-eco-card__name {
  font-size: clamp(1.45rem, 1.6vw, 1.85rem);
  color: var(--t-medium);
  font-weight: 600;
}

.dcfc-eco-card--apex .dcfc-eco-card__desc {
  max-width: 820px;
  margin: 0 auto 1.4rem auto;
  font-size: 1.4rem;
}

.dcfc-eco-card--apex .dcfc-eco-card__tags {
  justify-content: center;
}

/* Tier 2: Governance - DCFC */
.dcfc-eco-card--governance {
  max-width: 1080px;
  width: 100%;
  padding: 3rem 3.6rem;
  background: linear-gradient(135deg, #ffffff 0%, rgba(223, 179, 108, 0.06) 100%);
  border: 1.5px solid rgba(223, 179, 108, 0.5);
  border-radius: 0;
  box-shadow: 0 10px 32px rgba(223, 179, 108, 0.09);
}

.dcfc-eco-card--governance .dcfc-eco-card__code {
  font-size: clamp(2.2rem, 2.6vw, 3rem);
  color: #9c6d1d;
  font-weight: 800;
}

.dcfc-eco-card--governance .dcfc-eco-card__name {
  font-size: clamp(1.5rem, 1.7vw, 2rem);
  color: var(--t-bright);
  font-weight: 700;
}

/* Connectors (Sharp Square Pill) */
.dcfc-eco-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: 4.4rem;
  justify-content: center;
}

.dcfc-eco-connector__line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(223, 179, 108, 0.8), rgba(223, 179, 108, 0.4));
}

.dcfc-eco-connector__pill {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.4rem;
  background: #ffffff;
  border: 1.5px solid rgba(223, 179, 108, 0.5);
  color: #8c5d10;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.dcfc-eco-connector__pill i {
  color: #9c6d1d;
  font-size: 1.25rem;
}

/* DICFEX Dedicated Column-Aligned Connector */
.dcfc-eco-connector-dicfex {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  height: 4.4rem;
  position: relative;
}

.dcfc-eco-connector-dicfex__inner {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  justify-content: center;
}

@media (max-width: 1099px) {
  .dcfc-eco-connector-dicfex {
    display: flex;
    justify-content: center;
  }

  .dcfc-eco-connector-dicfex__inner {
    grid-column: auto;
  }
}

/* Tier 3: 4 Strategic Pillars */
.dcfc-eco-pillars-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.dcfc-eco-card--pillar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
  padding: 2.2rem 2rem;
  border-radius: 0;
}

.dcfc-eco-card--pillar .dcfc-eco-card__code-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.dcfc-eco-card--pillar .dcfc-eco-card__num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #9c6d1d;
  font-family: var(--_font-accent);
}

.dcfc-eco-card--pillar .dcfc-eco-card__code {
  font-size: 2.2rem;
  color: var(--t-bright);
}

.dcfc-eco-card--pillar .dcfc-eco-card__name {
  font-size: 1.45rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.dcfc-eco-card--pillar .dcfc-eco-card__desc {
  font-size: 1.3rem;
  line-height: 1.55;
  margin: 0;
}

/* DICFEX Permanent Dark Card with Glowing Gold Border (Trọng tâm) */
.dcfc-eco-card--highlight-gold {
  background: #111113 !important;
  border: 2px solid #dfb36c !important;
  border-radius: 0 !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18), 0 0 28px rgba(223, 179, 108, 0.22) !important;
  position: relative;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-card__badge {
  background: linear-gradient(90deg, #dfb36c 0%, #c99343 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border-color: #dfb36c !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(223, 179, 108, 0.4) !important;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-card__badge-dot {
  background-color: #000000 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-card__code {
  color: #dfb36c !important;
  text-shadow: 0 0 12px rgba(223, 179, 108, 0.3) !important;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-card__num {
  color: #dfb36c !important;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-card__name {
  color: #ffffff !important;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-card__desc {
  color: rgba(255, 255, 255, 0.8) !important;
}

.dcfc-eco-card--highlight-gold .dcfc-eco-tag {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #dfb36c !important;
  border-color: rgba(223, 179, 108, 0.4) !important;
  border-radius: 0 !important;
}

/* Tier 4: DICFEX Operational Sub-System Container */
.dcfc-eco-subsystem {
  width: 100%;
  background: #ffffff;
  border: 1.5px dashed rgba(223, 179, 108, 0.55);
  border-radius: 0;
  padding: 2.2rem 2rem 2rem 2rem;
  position: relative;
  margin-top: 0.8rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
}

.dcfc-eco-subsystem__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--stroke-elements);
}

.dcfc-eco-subsystem__title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.dcfc-eco-subsystem__title h4 {
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--t-bright);
  margin: 0;
}

.dcfc-eco-subsystem__title-badge {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 0;
  background: rgba(223, 179, 108, 0.15);
  color: #9c6d1d;
  border: 1px solid rgba(223, 179, 108, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dcfc-eco-subsystem__caption {
  font-size: 1.3rem;
  color: var(--t-medium);
  margin: 0;
}

/* 6 Operational Centers Grid (Sharp Square Cards) */
.dcfc-eco-ops-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}

.dcfc-eco-card--op {
  padding: 1.6rem 1.3rem;
  border-radius: 0;
  background: var(--base-tint);
  border: 1px solid var(--stroke-controls);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 155px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.dcfc-eco-card--op:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 179, 108, 0.7);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.dcfc-eco-card--op .op-code {
  font-size: 1.8rem;
  font-weight: 800;
  color: #9c6d1d;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.dcfc-eco-card--op .op-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--t-bright);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.dcfc-eco-card--op .op-desc {
  font-size: 1.18rem;
  color: var(--t-medium);
  line-height: 1.45;
  margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 1399px) {
  .dcfc-eco-ops-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }
}

@media (max-width: 1099px) {
  .dcfc-eco-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .dcfc-eco-card--pillar {
    min-height: 270px;
  }
}

@media (max-width: 767px) {
  .dcfc-eco-pillars-grid {
    grid-template-columns: 1fr;
  }

  .dcfc-eco-ops-grid {
    grid-template-columns: 1fr;
  }

  .dcfc-eco-card {
    padding: 2rem 1.8rem;
  }

  .dcfc-eco-card--apex {
    padding: 2.2rem 1.8rem;
    text-align: left;
  }

  .dcfc-eco-card--apex .dcfc-eco-card__title-row {
    justify-content: flex-start;
  }

  .dcfc-eco-card--apex .dcfc-eco-card__tags {
    justify-content: flex-start;
  }

  .dcfc-eco-subsystem {
    padding: 2rem 1.4rem;
  }
}

/* ------------------------------------------------*/
/* DCFC Parallax Divider Typography */
/* ------------------------------------------------*/
.mxd-divider__caption {
  max-width: 980px !important;
}

.mxd-divider__caption h2 {
  font-size: clamp(3.2rem, 4.6vw, 5.6rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
}