:root {
  --forest-950: #061510;
  --forest-925: #091a13;
  --forest-900: #0e1f17;
  --forest-850: #11291f;
  --forest-800: #163328;
  --forest-700: #24533f;
  --sand-50: #fcfaf5;
  --sand-100: #f4f1e8;
  --sand-200: #e9e2d4;
  --sand-300: #d9cfbc;
  --amber-500: #ff8a00;
  --amber-400: #ff9f2f;
  --amber-300: #ffb660;
  --ink: #10221a;
  --muted: #637067;
  --white: #fff;
  --line-light: rgba(16, 34, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.13);
  --shadow-sm: 0 14px 38px rgba(10, 30, 22, 0.08);
  --shadow-md: 0 22px 58px rgba(6, 21, 16, 0.14);
  --shadow-lg: 0 34px 90px rgba(6, 21, 16, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1240px;
  --header-height: 84px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--sand-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
main, header, footer, section, div { min-width: 0; }
main, header, footer, section { max-width: 100%; }
img, picture, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { min-width: 0; font: inherit; }
button { cursor: pointer; }
::selection { color: var(--forest-950); background: rgba(255, 138, 0, 0.42); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: inherit;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6vw, 6.35rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.2vw, 4.15rem); }
h3 { margin-bottom: 14px; font-size: clamp(1.3rem, 2vw, 1.9rem); }
h4 { margin-bottom: 8px; font-size: 1.05rem; }
p { margin-bottom: 20px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { position: relative; padding: 112px 0; overflow: clip; }
.section-sm { padding: 76px 0; }
.section-dark { color: var(--sand-100); background: var(--forest-950); }
.section-forest { color: var(--sand-100); background: var(--forest-900); }
.section-sand { background: var(--sand-100); }
.section-white { background: var(--sand-50); }
.section-heading { max-width: 780px; margin-bottom: 50px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 1.04rem; }
.section-heading.center p { margin-inline: auto; }
.section-dark .section-heading p,
.section-forest .section-heading p { color: rgba(244, 241, 232, 0.7); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--amber-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 1px; content: ""; background: currentColor; }
.kicker { max-width: 760px; color: rgba(244, 241, 232, 0.76); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.muted { color: var(--muted); }
.text-amber { color: var(--amber-500); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--forest-950);
  background: var(--amber-500);
  font-weight: 800;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  color: var(--sand-100);
  transition: background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease, border-color .28s ease;
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: transparent;
  transition: background .28s ease;
}
.site-header.is-scrolled,
.page-inner .site-header {
  background: rgba(6, 21, 16, 0.88);
  box-shadow: 0 12px 42px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.site-header.is-scrolled::after,
.page-inner .site-header::after { background: rgba(255, 255, 255, .08); }
.header-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  white-space: nowrap;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
/* Local BlazeForest logo mark. Display dimensions intentionally remain fixed by CSS. */
.brand-logo .brand-logo-mark {
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 1.85rem;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 138, 0, .4));
}
.main-nav { justify-self: center; }
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 29px);
  padding: 0;
  margin: 0;
  list-style: none;
}
.main-nav a {
  position: relative;
  color: rgba(244, 241, 232, .83);
  font-size: .86rem;
  font-weight: 650;
  transition: color .2s ease;
}
.main-nav ul a::after {
  position: absolute;
  right: 50%;
  bottom: -10px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: var(--amber-500);
  opacity: 0;
  transition: left .22s ease, right .22s ease, opacity .22s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.main-nav ul a:hover::after,
.main-nav ul a.active::after { right: 0; left: 0; opacity: 1; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  position: relative;
  z-index: 1004;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.menu-toggle:hover { border-color: rgba(255, 138, 0, .6); background: rgba(255, 138, 0, .1); }
.menu-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: opacity .2s ease, transform .25s ease;
}
.menu-icon-close { opacity: 0; transform: rotate(-90deg) scale(.7); font-size: 1.12rem; }
body.nav-open .menu-icon-open { opacity: 0; transform: rotate(90deg) scale(.7); }
body.nav-open .menu-icon-close { opacity: 1; transform: rotate(0) scale(1); }
.mobile-nav-intro,
.main-nav .mobile-nav-cta,
.mobile-nav-meta,
.nav-backdrop { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn i { transition: transform .2s ease; }
.btn:hover i { transform: translateX(2px); }
.btn-primary { color: var(--forest-950); background: var(--amber-500); box-shadow: 0 10px 30px rgba(255, 138, 0, .17); }
.btn-primary:hover { background: var(--amber-400); box-shadow: 0 16px 38px rgba(255, 138, 0, .24); }
.btn-outline { color: var(--sand-100); border-color: rgba(244, 241, 232, .34); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: rgba(244, 241, 232, .75); background: rgba(255, 255, 255, .08); }
.btn-dark { color: var(--sand-100); background: var(--forest-900); }
.btn-dark:hover { background: var(--forest-800); }
.btn-link { min-height: auto; padding-inline: 0; border: 0; color: var(--amber-500); }
.btn-link:hover { gap: 14px; transform: none; }
.btn:focus-visible,
a:focus-visible,
.menu-toggle:focus-visible,
.form-control:focus-visible {
  outline: 3px solid rgba(255, 159, 47, .6);
  outline-offset: 3px;
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 790px;
  height: min(920px, 100svh);
  display: flex;
  align-items: center;
  overflow: clip;
  color: var(--sand-100);
  background:
    linear-gradient(90deg, rgba(6, 21, 16, .99) 0%, rgba(6, 21, 16, .92) 42%, rgba(6, 21, 16, .50) 75%, rgba(6, 21, 16, .78) 100%),
    image-set(url('../images/hero-forest.webp') type('image/webp'), url('../images/hero-forest.jpg') type('image/jpeg')) center center / cover no-repeat;
}
.home-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 72% 44%, rgba(255, 138, 0, .11), transparent 31%),
    linear-gradient(180deg, rgba(6, 21, 16, .05), rgba(6, 21, 16, .44));
  pointer-events: none;
}
.home-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 190px;
  content: "";
  background: linear-gradient(transparent, rgba(6, 21, 16, .72));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-top: 64px;
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { max-width: 710px; font-size: clamp(3.2rem, 6.1vw, 6.5rem); }
.hero-copy .highlight { display: block; color: var(--amber-500); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-proof { max-width: 640px; display: flex; align-items: center; gap: 18px; margin-top: 42px; color: rgba(244, 241, 232, .68); font-size: .84rem; }
.hero-proof .avatars { display: flex; flex: 0 0 auto; padding-left: 10px; }
.hero-proof .avatars span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: -10px;
  border: 2px solid var(--forest-950);
  border-radius: 50%;
  color: var(--forest-900);
  background: var(--sand-100);
  font-size: .72rem;
  font-weight: 800;
}
.globe-shell {
  position: relative;
  width: min(620px, 46vw);
  max-width: 100%;
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
}
.globe-shell::before {
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 138, 0, .14), rgba(255, 138, 0, .04) 42%, transparent 70%);
  filter: blur(18px);
}
.globe-shell::after {
  position: absolute;
  inset: 8%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 70px rgba(255, 138, 0, .08), inset 0 0 70px rgba(255, 255, 255, .02);
}
#growth-globe { width: 100%; height: 100%; }
.globe-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: rgba(244, 241, 232, .82);
  background: rgba(6, 21, 16, .66);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .71rem;
  white-space: nowrap;
}
.globe-label i { color: var(--amber-500); }
.globe-label.one { top: 13%; right: 1%; }
.globe-label.two { bottom: 25%; left: -2%; }
.globe-label.three { right: 7%; bottom: 10%; }

.platform-strip {
  position: relative;
  z-index: 4;
  margin-top: -88px;
  overflow: clip;
  color: var(--sand-100);
  background: rgba(6, 21, 16, .84);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.platform-list { min-height: 88px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 20px; }
.platform-item { display: flex; align-items: center; justify-content: center; gap: 10px; color: rgba(244, 241, 232, .62); font-weight: 700; line-height: 1; }
.platform-item i { width: 1.55rem; height: 1.55rem; display: inline-grid; flex: 0 0 1.55rem; place-items: center; font-size: 1.35rem; line-height: 1; }
.platform-item .fa-meta { font-size: 1.48rem; transform: translateY(1px); }
.platform-item span { display: inline-flex; align-items: center; line-height: 1; }

/* Cards and grids */
.card-grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--shadow-sm);
}
.card.dark { color: var(--sand-100); border-color: var(--line-dark); background: rgba(255, 255, 255, .035); box-shadow: none; }
.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--amber-500);
  background: var(--forest-900);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 0, .12);
  font-size: 1.28rem;
}
.card.dark .icon-box { border: 1px solid rgba(255, 138, 0, .18); background: rgba(255, 138, 0, .1); }
.service-card { min-height: 292px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(255, 138, 0, .38); background: rgba(255, 255, 255, .82); box-shadow: var(--shadow-md); }
.service-card p { color: var(--muted); }
.service-card .number { position: absolute; top: 20px; right: 24px; color: rgba(16, 34, 26, .11); font-size: 2rem; font-weight: 800; }
.service-card .card-link { position: absolute; bottom: 25px; left: 30px; display: inline-flex; align-items: center; gap: 8px; color: var(--amber-500); font-size: .85rem; font-weight: 800; }

/* About split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 78px); align-items: center; }
.media-frame { position: relative; overflow: visible; border-radius: var(--radius-lg); }
.media-frame picture { overflow: hidden; border-radius: inherit; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame picture::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .28); border-radius: inherit; content: ""; pointer-events: none; }
.floating-stat {
  position: absolute;
  right: -22px;
  bottom: 34px;
  min-width: 205px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  color: var(--sand-100);
  background: rgba(14, 31, 23, .94);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.floating-stat strong { display: block; color: var(--amber-500); font-size: 2.05rem; line-height: 1; }
.floating-stat span { color: rgba(244, 241, 232, .68); font-size: .81rem; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 30px 0 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list i { margin-top: 4px; color: var(--amber-500); }

/* About company video */
.about-preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 78px);
  align-items: center;
}
.about-video-block { grid-column: 1 / -1; margin-top: 10px; }
.about-page-video { max-width: 1080px; margin: 76px auto 0; }
.about-video-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}
.about-video-heading .eyebrow { margin-bottom: 0; }
.about-video-heading h3 { max-width: 610px; margin: 0; font-size: clamp(1.3rem, 2vw, 1.85rem); text-align: right; }
.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest-950);
  box-shadow: var(--shadow-lg);
}
.video-player::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(6, 21, 16, .05), rgba(6, 21, 16, .34));
  pointer-events: none;
  transition: opacity .25s ease;
}
.video-player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  min-width: 150px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: var(--forest-950);
  background: var(--amber-500);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
  font-size: .86rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.video-play-button:hover { background: var(--amber-400); transform: translate(-50%, -52%); }
.video-play-button i { font-size: 1.25rem; }
.video-play-button:focus-visible { outline: 3px solid rgba(255, 159, 47, .62); outline-offset: 4px; }
.video-player.is-playing::after,
.video-player.is-playing .video-play-button { opacity: 0; pointer-events: none; }

/* Mission network */
.mission-wrap { position: relative; min-height: 660px; display: grid; place-items: center; overflow: hidden; }
#mission-network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.mission-core {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 138, 0, .32);
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle, rgba(255, 138, 0, .15), rgba(6, 21, 16, .82) 66%);
  box-shadow: 0 0 90px rgba(255, 138, 0, .13), inset 0 0 46px rgba(255, 255, 255, .025);
}
.mission-core::after { position: absolute; inset: 11px; border: 1px dashed rgba(255, 138, 0, .14); border-radius: 50%; content: ""; }
.mission-core strong { display: block; font-family: Manrope, sans-serif; font-size: 2.3rem; line-height: 1; }
.mission-node {
  position: absolute;
  z-index: 3;
  width: 148px;
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  color: var(--sand-100);
  text-align: center;
  background: rgba(14, 31, 23, .84);
  box-shadow: 0 15px 38px rgba(0, 0, 0, .15);
  backdrop-filter: blur(10px);
  font-size: .88rem;
  font-weight: 800;
}
.mission-node i { display: block; margin-bottom: 6px; color: var(--amber-500); font-size: 1.25rem; }
.mission-node.n1 { top: 10%; left: 3%; }
.mission-node.n2 { top: 10%; right: 3%; }
.mission-node.n3 { bottom: 11%; left: 1%; }
.mission-node.n4 { right: 1%; bottom: 11%; }
.mission-node.n5 { top: 1%; left: 50%; transform: translateX(-50%); }
.value-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 42px; }
.value-item { padding: 24px; border-top: 1px solid rgba(244, 241, 232, .2); }
.value-item span { display: block; margin-bottom: 10px; color: var(--amber-500); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.value-item strong { font-family: Manrope, sans-serif; font-size: 1.18rem; }
.value-item p { margin: 8px 0 0; color: rgba(244, 241, 232, .62); font-size: .87rem; }

/* Brand */
.brand-story {
  color: var(--sand-100);
  background:
    linear-gradient(90deg, rgba(6, 21, 16, .98), rgba(6, 21, 16, .80)),
    image-set(url('../images/brand-roots.webp') type('image/webp'), url('../images/brand-roots.jpg') type('image/jpeg')) center 62% / cover no-repeat;
}
.brand-story::after { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 82% 28%, rgba(255, 138, 0, .08), transparent 30%); pointer-events: none; }
.brand-story .container { position: relative; z-index: 2; }
.brand-proposition { max-width: 790px; }
.brand-proposition h2 { max-width: 760px; }
.brand-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.brand-tag { padding: 8px 13px; border: 1px solid rgba(244, 241, 232, .16); border-radius: 999px; color: rgba(244, 241, 232, .76); background: rgba(255, 255, 255, .025); font-size: .77rem; }
.capability-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 50px; }
.capability { min-height: 176px; padding: 22px; border: 1px solid rgba(244, 241, 232, .12); border-radius: 16px; background: rgba(255, 255, 255, .035); backdrop-filter: blur(5px); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.capability:hover { transform: translateY(-5px); border-color: rgba(255, 138, 0, .34); background: rgba(255, 255, 255, .055); }
.capability i { color: var(--amber-500); font-size: 1.5rem; }
.capability strong { display: block; margin-top: 28px; font-size: .94rem; line-height: 1.4; }

/* Case studies */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case-card {
  position: relative;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  color: var(--sand-100);
  background: var(--forest-900);
  box-shadow: var(--shadow-lg);
}
.case-card > picture { position: absolute; inset: 0; }
.case-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.case-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(6, 21, 16, .05) 8%, rgba(6, 21, 16, .32) 50%, rgba(6, 21, 16, .97) 88%); }
.case-card:hover .case-image { transform: scale(1.045); }
.case-content { position: relative; z-index: 2; margin-top: auto; padding: 32px; }
.case-type { display: inline-flex; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; color: var(--forest-950); background: rgba(255, 138, 0, .92); font-size: .69rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.case-content h3 { font-size: clamp(1.5rem, 2.7vw, 2.18rem); }
.case-content p { max-width: 620px; margin-bottom: 0; color: rgba(244, 241, 232, .7); }
.case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.case-metric { padding-top: 12px; border-top: 1px solid rgba(244, 241, 232, .16); }
.case-metric strong { display: block; color: var(--amber-500); font-size: 1.4rem; line-height: 1.15; }
.case-metric span { color: rgba(244, 241, 232, .62); font-size: .71rem; }

/* Detailed case page */
.case-detail { padding: 82px 0; border-bottom: 1px solid var(--line-light); }
.case-detail:last-child { border-bottom: 0; }
.case-detail-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(48px, 6vw, 76px); align-items: start; }
.case-detail-media { position: sticky; top: 115px; }
.case-detail-media picture { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); }
.case-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.case-detail-media:hover img { transform: scale(1.025); }
.case-detail-index { color: var(--amber-500); font-size: .77rem; font-weight: 900; letter-spacing: .12em; }
.challenge-box { margin: 26px 0; padding: 22px; border-left: 3px solid var(--amber-500); background: var(--sand-100); }
.strategy-list { display: grid; gap: 18px; margin-top: 28px; }
.strategy-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
.strategy-item .step { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--amber-500); background: var(--forest-900); font-weight: 900; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.result-box { padding: 20px; border-radius: 14px; color: var(--sand-100); background: var(--forest-900); }
.result-box strong { display: block; color: var(--amber-500); font-size: 1.58rem; }
.result-box span { color: rgba(244, 241, 232, .64); font-size: .75rem; }

/* Page hero */
.page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  padding: 170px 0 96px;
  overflow: clip;
  color: var(--sand-100);
  background:
    linear-gradient(90deg, rgba(6, 21, 16, .98) 0%, rgba(6, 21, 16, .89) 58%, rgba(6, 21, 16, .62) 100%),
    image-set(url('../images/hero-forest.webp') type('image/webp'), url('../images/hero-forest.jpg') type('image/jpeg')) center 48% / cover no-repeat;
}
.page-hero::before {
  position: absolute;
  top: -260px;
  right: -190px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255, 138, 0, .17);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 100px rgba(255, 138, 0, .025), 0 0 0 210px rgba(255, 138, 0, .018);
}
.page-hero::after { position: absolute; inset: auto 0 0; height: 240px; content: ""; background: linear-gradient(transparent, rgba(14, 31, 23, .82)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 900px; font-size: clamp(1.6rem, 3vw, 3rem); }
.page-hero p { max-width: 700px; margin: 0; color: rgba(244, 241, 232, .74); font-size: 1.1rem; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; color: rgba(244, 241, 232, .55); font-size: .79rem; }
.breadcrumbs i { font-size: .7rem; }

/* Services */
.service-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42px, 5vw, 64px); align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line-light); }
.service-feature:nth-child(even) .service-feature-media { order: 2; }
.service-feature-media { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-lg); }
.service-feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service-feature:hover img { transform: scale(1.04); }
.service-feature-content .service-num { color: var(--amber-500); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.service-bullets { display: grid; gap: 9px; margin-top: 22px; }
.service-bullets span { display: flex; align-items: center; gap: 10px; }
.service-bullets i { color: var(--amber-500); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: process; }
.process-card { min-height: 240px; padding: 26px; border: 1px solid rgba(244, 241, 232, .12); border-radius: 18px; background: rgba(255, 255, 255, .035); transition: transform .25s ease, border-color .25s ease; }
.process-card:hover { transform: translateY(-5px); border-color: rgba(255, 138, 0, .28); }
.process-card::before { color: var(--amber-500); content: "0" counter(process); counter-increment: process; font-weight: 900; }
.process-card h3 { margin-top: 48px; font-size: 1.23rem; }
.process-card p { color: rgba(244, 241, 232, .62); font-size: .89rem; }

/* About */
.fact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.fact { padding: 32px; border-right: 1px solid var(--line-light); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; color: var(--forest-900); font-size: 2rem; line-height: 1; }
.fact span { color: var(--muted); font-size: .79rem; }
.vision-card { padding: 42px; border-radius: 24px; color: var(--sand-100); background: var(--forest-900); box-shadow: var(--shadow-md); }
.vision-card .quote { color: var(--amber-500); font-size: 2rem; }
.vision-card p { color: rgba(244, 241, 232, .7); }
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-card { min-height: 250px; padding: 28px; border: 1px solid var(--line-light); border-radius: 18px; background: var(--white); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.value-card:hover { transform: translateY(-5px); border-color: rgba(255, 138, 0, .32); box-shadow: var(--shadow-sm); }
.value-card i { color: var(--amber-500); font-size: 1.5rem; }
.value-card h3 { margin-top: 55px; font-size: 1.32rem; }
.value-card p { color: var(--muted); font-size: .89rem; }

/* Contact and forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 60px; align-items: stretch; }
.contact-panel { height: 100%; padding: 34px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 22px; color: var(--sand-100); background: var(--forest-900); box-shadow: var(--shadow-md); }
.contact-panel h2 { font-size: clamp(1.45rem, 2.1vw, 2rem); }
.contact-panel p { color: rgba(244, 241, 232, .66); }
.contact-method { display: flex; gap: 15px; padding: 20px 0; border-top: 1px solid rgba(244, 241, 232, .12); }
.contact-method i { color: var(--amber-500); font-size: 1.25rem; }
.contact-method strong { display: block; }
.contact-method span { display: block; color: rgba(244, 241, 232, .62); font-size: .81rem; }
.contact-method a { transition: color .2s ease; }
.contact-method a:hover { color: var(--amber-500); }
.form-card { height: 100%; padding: 38px; border: 1px solid var(--line-light); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .77rem; font-weight: 800; }
.form-control { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(16, 34, 26, .16); border-radius: 9px; outline: none; color: var(--ink); background: var(--sand-50); transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control:focus { border-color: var(--amber-500); background: var(--white); box-shadow: 0 0 0 4px rgba(255, 138, 0, .1); }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--forest-700); font-size: .84rem; }

/* CTA and footer */
.cta-band { position: relative; padding: 46px 0; overflow: clip; color: var(--sand-100); background: var(--forest-900); }
.cta-band::before { position: absolute; top: -270px; left: -190px; width: 500px; height: 500px; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(255, 138, 0, .08), transparent 68%); }
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.cta-band .eyebrow { margin-bottom: 9px; font-size: .68rem; }
.cta-band h2 { max-width: 540px; margin-bottom: 10px; font-size: clamp(1.55rem, 2.35vw, 2.45rem); }
.cta-band p { max-width: 590px; margin-bottom: 0; color: rgba(244, 241, 232, .68); font-size: .9rem; line-height: 1.55; }
.cta-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 6px; border: 1px solid rgba(244, 241, 232, .14); border-radius: 12px; background: rgba(255, 255, 255, .04); }
.cta-form input { min-width: 0; min-height: 46px; padding: 0 14px; border: 0; outline: none; color: var(--sand-100); background: transparent; }
.cta-form .btn { min-height: 46px; padding-inline: 18px; }
.cta-form input::placeholder { color: rgba(244, 241, 232, .46); }
.cta-band .form-status { color: rgba(244, 241, 232, .7); }
.site-footer { color: var(--sand-100); background: var(--forest-950); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .75fr) minmax(0, .85fr) minmax(0, 1fr); gap: 50px; padding: 76px 20px 48px; }
.footer-brand p { max-width: 320px; margin: 20px 0 26px; color: rgba(244, 241, 232, .56); font-size: .87rem; }
.socials { display: flex; gap: 9px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(244, 241, 232, .14); border-radius: 50%; color: rgba(244, 241, 232, .72); transition: border-color .2s ease, color .2s ease, transform .2s ease, background .2s ease; }
.socials a:hover { transform: translateY(-2px); border-color: var(--amber-500); color: var(--amber-500); background: rgba(255, 138, 0, .06); }
.footer-col h4 { margin-bottom: 20px; color: var(--sand-100); font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; }
.footer-links a, .footer-links span { color: rgba(244, 241, 232, .58); font-size: .83rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--amber-500); }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(244, 241, 232, .1); color: rgba(244, 241, 232, .42); font-size: .75rem; }
.footer-bottom-links { display: flex; gap: 18px; }

/* Utilities */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
[data-count] { font-variant-numeric: tabular-nums; }
.divider { width: 100%; height: 1px; background: var(--line-light); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line-light); border-radius: 999px; font-size: .75rem; font-weight: 700; }
.logo-cloud { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 12px; }
.logo-cloud span { min-height: 68px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-light); border-radius: 12px; color: var(--muted); background: var(--white); font-weight: 800; }

@media (max-width: 1180px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .83rem; }
  .header-inner { gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 1040px) {
  :root { --header-height: 76px; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-inner > .brand-logo { position: relative; z-index: 1004; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  body.nav-open .site-header { background: var(--forest-950); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: auto;
    padding: clamp(24px, 5vh, 52px) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    color: var(--sand-100);
    text-align: center;
    background: var(--forest-950);
    box-shadow: none;
    opacity: 0;
    transform: translateY(-14px);
    visibility: hidden;
    transition: opacity .26s ease, transform .34s cubic-bezier(.22,.72,.2,1), visibility .34s ease;
  }
  body.nav-open .main-nav { opacity: 1; transform: translateY(0); visibility: visible; }
  .mobile-nav-intro { display: none; }
  .main-nav ul { width: min(100%, 430px); flex-direction: column; align-items: stretch; gap: 0; margin: 0 auto 24px; }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .main-nav li:first-child { border-top: 1px solid rgba(255, 255, 255, .09); }
  .main-nav a { display: flex; align-items: center; justify-content: center; min-height: 62px; color: rgba(244, 241, 232, .9); font-family: Manrope, sans-serif; font-size: clamp(1.08rem, 3.6vw, 1.3rem); font-weight: 700; text-align: center; }
  .main-nav ul a::before { display: none; }
  .main-nav ul a::after { display: none; }
  .main-nav a.active { color: var(--amber-500); }
  .main-nav .mobile-nav-cta { display: inline-flex; width: min(100%, 320px); margin: 0 auto; }
  .mobile-nav-meta { display: grid; justify-items: center; gap: 8px; margin-top: 22px; color: rgba(244, 241, 232, .52); font-size: .75rem; text-align: center; }
  .mobile-nav-meta a, .mobile-nav-meta span { min-height: 0; display: flex; justify-content: center; gap: 8px; font-family: Inter, sans-serif; font-size: .75rem; font-weight: 500; text-align: center; }
  .mobile-nav-meta i { color: var(--amber-500); }
  .nav-backdrop { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr); }
  .globe-shell { width: min(500px, 44vw); }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .home-hero { min-height: 850px; height: auto; padding: 138px 0 118px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { position: relative; z-index: 3; }
  .globe-shell { position: absolute; top: 96px; right: -150px; width: min(650px, 82vw); opacity: .55; }
  .platform-strip { margin-top: 0; }
  .platform-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 20px; }
  .split,
  .about-preview-layout,
  .service-feature,
  .case-detail-grid,
  .contact-grid,
  .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .service-feature:nth-child(even) .service-feature-media { order: 0; }
  .case-detail-media { position: static; }
  .grid-3,
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .value-row,
  .values-grid,
  .process-grid,
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission-wrap { min-height: 720px; }
  .mission-core { width: 240px; height: 240px; }
  .mission-node { width: 130px; }
  .floating-stat { right: 16px; }
  .about-video-block { margin-top: 4px; }
  .about-page-video { margin-top: 58px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main .footer-col:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  :root { --header-height: 70px; }
  .container { padding-inline: 16px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 58px 0; }
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.3rem; }
  .brand-logo { font-size: 1.05rem; }
  .brand-logo .brand-logo-mark { width: 1.65rem; height: 1.65rem; flex-basis: 1.65rem; }
  .menu-toggle { width: 44px; height: 44px; }
  .main-nav { width: 100%; padding-right: 20px; padding-left: 20px; }
  .home-hero { min-height: 790px; padding: 112px 0 92px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(3rem, 14vw, 4.25rem); }
  .hero-copy .kicker { font-size: .98rem; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { align-items: flex-start; margin-top: 32px; font-size: .78rem; }
  .globe-shell { top: 100px; right: -260px; width: 590px; opacity: .42; }
  .globe-label { display: none; }
  .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-item:last-child { grid-column: 1 / -1; }
  .platform-item { font-size: .88rem; }
  .grid-2,
  .grid-4,
  .value-row,
  .values-grid,
  .process-grid,
  .fact-strip,
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 270px; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .fact:last-child { border-bottom: 0; }
  .floating-stat { right: 10px; bottom: 10px; min-width: 175px; padding: 18px; }
  .floating-stat strong { font-size: 1.75rem; }
  .about-video-heading { display: block; margin-bottom: 18px; }
  .about-video-heading .eyebrow { margin-bottom: 12px; }
  .about-video-heading h3 { max-width: none; font-size: 1.25rem; text-align: left; }
  .video-player { border-radius: 20px; }
  .video-play-button { min-width: 132px; min-height: 48px; padding-inline: 18px; }
  .about-page-video { margin-top: 46px; }
  .capability-list { grid-template-columns: minmax(0, 1fr); }
  .capability { min-height: 150px; }
  .mission-wrap { min-height: 800px; }
  .mission-core { width: 200px; height: 200px; }
  .mission-core strong { font-size: 1.75rem; }
  .mission-node { width: 116px; min-height: 80px; font-size: .75rem; }
  .mission-node.n1 { top: 9%; left: 0; }
  .mission-node.n2 { top: 9%; right: 0; }
  .mission-node.n3 { bottom: 10%; left: 0; }
  .mission-node.n4 { right: 0; bottom: 10%; }
  .mission-node.n5 { top: 0; }
  .case-card { min-height: 550px; }
  .case-content { padding: 24px; }
  .case-metrics,
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-metric:last-child,
  .result-box:last-child { grid-column: 1 / -1; }
  .page-hero { min-height: 480px; padding: 132px 0 68px; }
  .page-hero h1 { font-size: 1.525rem; }
  .page-hero p { font-size: 1rem; }
  .service-feature { padding: 54px 0; }
  .form-card { padding: 24px; }
  .cta-band { padding: 38px 0; }
  .cta-grid { gap: 24px; }
  .cta-band h2 { font-size: 1.8rem; }
  .cta-form { grid-template-columns: minmax(0, 1fr); }
  .cta-form input { min-height: 48px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-inline: 16px; }
  .footer-bottom { min-height: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-block: 18px; }
  .footer-bottom-links { flex-wrap: wrap; row-gap: 6px; }
  .footer-links a,
  .contact-method a,
  .mobile-nav-meta a { overflow-wrap: anywhere; word-break: break-word; }
  .btn { max-width: 100%; padding-inline: 18px; line-height: 1.25; white-space: normal; text-align: center; }
  .cta-form .btn { width: 100%; }
  .logo-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-cloud span:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Bilingual language switcher */
.language-switcher { position: relative; }
.language-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9px;
  color: rgba(244, 241, 232, .88);
  background: rgba(255, 255, 255, .05);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.language-toggle:hover,
.language-switcher.is-open .language-toggle { color: var(--white); border-color: rgba(255, 138, 0, .48); background: rgba(255, 138, 0, .08); }
.language-toggle > i:first-child { color: var(--amber-500); font-size: 1rem; }
.language-chevron { font-size: .67rem; transition: transform .2s ease; }
.language-switcher.is-open .language-chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1010;
  width: 148px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(6, 21, 16, .98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
  opacity: 0;
  transform: translateY(-7px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.language-switcher.is-open .language-menu { opacity: 1; transform: translateY(0); visibility: visible; }
.language-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 8px;
  color: rgba(244, 241, 232, .76);
  font-size: .8rem;
  font-weight: 650;
}
.language-menu a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.language-menu a.is-active { color: var(--amber-500); background: rgba(255, 138, 0, .09); }
.mobile-language { display: none; }
html[lang="zh-CN"] body { font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4,
html[lang="zh-CN"] .brand-logo,
html[lang="zh-CN"] .main-nav a { font-family: Manrope, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-CN"] p { line-height: 1.82; }

@media (max-width: 1180px) and (min-width: 1041px) {
  .header-inner { gap: 18px; }
  .main-nav ul { gap: 15px; }
  .language-toggle { padding-inline: 10px; }
  .header-cta { padding-inline: 17px; }
}

@media (max-width: 1040px) {
  .header-actions .language-switcher { display: none; }
  .mobile-language {
    width: min(100%, 430px);
    display: grid;
    gap: 10px;
    margin: -2px auto 22px;
    padding: 15px 0 0;
  }
  .mobile-language-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(244, 241, 232, .5);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .mobile-language-label i { color: var(--amber-500); }
  .mobile-language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .main-nav .mobile-language-options a {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    color: rgba(244, 241, 232, .78);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: .82rem;
    font-weight: 650;
  }
  .main-nav .mobile-language-options a.is-active { border-color: rgba(255, 138, 0, .42); color: var(--amber-500); background: rgba(255, 138, 0, .08); }
}
