/* ==========================================================================
   STERLING MERIDIAN — STYLESHEET
   India–Uzbekistan & Central Asia Business Expansion Advisory
   ========================================================================== */

:root {
  --navy: #0e1f56;
  --navy-deep: #0a1845;
  --navy-line: rgba(255, 255, 255, 0.22);
  --gold: #c9a646;
  --gold-dark: #a8862f;
  --gold-line: #d9c48a;
  --cream: #faf8f2;
  --cream-dark: #f1ede3;
  --white: #ffffff;
  --ink: #0e1f56;
  --text: #4a5068;
  --muted: #7a7f92;
  --border: #ece4cf;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --hdr-h: 74px;

  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.4'%3E%3Cpath d='M28 0h40l28 28v40L68 96H28L0 68V28z'/%3E%3Ccircle cx='48' cy='48' r='13'/%3E%3Crect x='-10' y='-10' width='20' height='20'/%3E%3Crect x='86' y='-10' width='20' height='20'/%3E%3Crect x='-10' y='86' width='20' height='20'/%3E%3Crect x='86' y='86' width='20' height='20'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%230e1f56' stroke-opacity='0.035' stroke-width='1.4'%3E%3Cpath d='M28 0h40l28 28v40L68 96H28L0 68V28z'/%3E%3Ccircle cx='48' cy='48' r='13'/%3E%3Crect x='-10' y='-10' width='20' height='20'/%3E%3Crect x='86' y='-10' width='20' height='20'/%3E%3Crect x='-10' y='86' width='20' height='20'/%3E%3Crect x='86' y='86' width='20' height='20'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--hdr-h); }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--hdr-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Section backgrounds */
.bg-navy { background: var(--navy) var(--pattern-dark); color: rgba(255,255,255,.82); }
.bg-cream { background: var(--cream) var(--pattern-light); }
.bg-white { background: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }

/* Eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.bg-navy .eyebrow { color: var(--gold); }

.h-xl { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.06; }
.h-lg { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.lead-muted { color: var(--muted); font-weight: 300; font-size: 0.98rem; line-height: 1.85; }
.bg-navy .lead-muted { color: rgba(255,255,255,.72); }

/* Two-column section head */
.sec-head-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-head-split .lead-muted { justify-self: end; max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
  line-height: 1.3;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover { background: #d8b858; border-color: #d8b858; }
.btn-outline-gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.diamond-list li {
  position: relative; padding-left: 22px;
}
.diamond-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}

/* ============ HEADER ============ */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  height: var(--hdr-h);
  transition: box-shadow .3s;
}
#hdr.solid { box-shadow: 0 2px 18px rgba(14,31,86,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: contain; background: #fff;
}
.brand .name {
  font-family: var(--font-serif);
  font-size: 1.45rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); white-space: nowrap;
}
.menu { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.menu a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--navy); white-space: nowrap; position: relative; padding: 4px 0;
}
.menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .25s;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }
.menu a.active { color: var(--gold-dark); }
.lang {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted);
}
.lang a { color: var(--muted); }
.lang a.on { color: var(--navy); font-weight: 600; }
.lang a::after { display: none; }
.burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: 0; z-index: 1002;
}
.burger span { width: 24px; height: 2px; background: var(--navy); transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(10,24,69,.55); z-index: 999;
}
.mobile-nav-backdrop.open { display: block; }

/* ============ HERO ============ */
.hero { padding: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero p.lead {
  font-weight: 300; font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,.8); max-width: 50ch; line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-note {
  margin-top: 46px; font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
.seal {
  justify-self: center;
  width: min(100%, 400px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(201,166,70,.7);
  display: flex; align-items: center; justify-content: center;
}
.seal-inner {
  width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.seal-inner img { width: 100%; height: 100%; object-fit: contain; }

/* ============ STATS ============ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 30px; }
.stat {
  border-left: 1px solid #cfc9b8;
  padding: 26px clamp(18px, 2.6vw, 34px) 30px;
}
.stat .val {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  color: var(--navy); line-height: 1.05; white-space: nowrap;
}
.stat .desc { font-size: 0.82rem; color: var(--text); margin-top: 12px; line-height: 1.6; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 40px); }
.feature { border-top: 1px solid var(--gold); padding-top: 28px; }
.feature h3 { font-size: 1.6rem; margin-bottom: 10px; }
.feature p { font-size: 0.86rem; color: var(--text); line-height: 1.75; }

.source-note { font-size: 0.72rem; color: var(--muted); margin-top: 60px; max-width: 80ch; line-height: 1.6; }

/* ============ PILLARS ============ */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  display: block;
  border: 1px solid var(--border);
  background: #fff;
  padding: 30px 28px 30px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pillar:hover { border-color: var(--gold); box-shadow: 0 14px 34px rgba(14,31,86,.07); transform: translateY(-3px); }
.pillar .num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-dark); line-height: 1; }
.pillar h3 { font-size: 1.9rem; margin: 22px 0 6px; }
.pillar .tag {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-dark);
}
.pillar .more {
  display: inline-block; margin-top: 18px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy);
}
.pillar:hover .more { color: var(--gold-dark); }
.legal-line {
  margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--gold-line);
  font-size: 0.84rem; color: var(--text); max-width: 64%;
}

/* ============ SERVICES (expanded) ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px clamp(28px, 4vw, 48px); }
.svc-col h3 {
  font-size: 1.75rem; padding-bottom: 12px; border-bottom: 1px solid #b8ad8f;
  display: flex; align-items: baseline; gap: 12px;
}
.svc-col h3 a:hover { color: var(--gold-dark); }
.svc-col h3 .num { color: var(--gold-dark); font-size: 2rem; }
.svc-col ul li {
  font-size: 0.86rem; color: var(--ink); padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--border); position: relative;
}
.svc-col ul li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.svc-cta { margin-top: 60px; }

/* ============ SECTORS ============ */
.sectors-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.sectors-grid .lead-muted { margin-top: 22px; max-width: 48ch; }
.sector-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px clamp(24px, 3.5vw, 46px); }
.sector { padding-top: 18px; }
.sector:nth-child(4n+1), .sector:nth-child(4n+2) { border-top: 1px solid var(--gold); }
.sector:nth-child(4n+3), .sector:nth-child(4n) { border-top: 1px solid rgba(255,255,255,.4); }
.sector h3 { font-size: 1.65rem; margin-bottom: 8px; }
.sector p { font-size: 0.84rem; color: rgba(255,255,255,.75); line-height: 1.7; }
.badge-new {
  display: inline-block; background: var(--gold); color: var(--navy-deep);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; padding: 3px 8px; margin-bottom: 6px;
}

/* ============ INSTITUTIONS ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.split .lead-muted { margin: 24px 0 30px; max-width: 54ch; }
.inst-list li { border-bottom: 1px solid rgba(255,255,255,.22); padding: 18px 0 18px 30px; position: relative; }
.inst-list li:first-child { padding-top: 0; }
.inst-list li::before {
  content: ""; position: absolute; left: 3px; top: 1.6em; width: 9px; height: 9px;
  background: var(--gold); transform: rotate(45deg);
}
.inst-list li:first-child::before { top: .65em; }
.inst-list h3 { font-size: 1.75rem; margin-bottom: 4px; }
.inst-list p { font-size: 0.84rem; color: rgba(255,255,255,.72); }

/* ============ PARTNERS / CONTACT split panels ============ */
.panel-split { display: grid; grid-template-columns: 1fr 2fr; min-height: 560px; }
.panel-split > .panel-left { padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 76px); }
.panel-split > .panel-right { padding: clamp(56px, 8vw, 100px) clamp(24px, 6vw, 84px); background: #fff; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 46px); margin-top: 36px; }
.partner { padding: 26px 0 22px; }
.partner:nth-child(-n+2) { border-top: 1px solid #b8b6b0; }
.partner:nth-child(n+3) { border-top: 1px solid var(--gold); }
.partner h3 { font-size: 1.6rem; margin-bottom: 6px; }
.partner p { font-size: 0.84rem; color: var(--text); }
.partner-note { border-top: 1px solid var(--gold-line); padding-top: 18px; font-size: 0.78rem; color: var(--muted); margin-bottom: 26px; }

/* ============ ABOUT ============ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; }
.about-split > div { padding: clamp(56px, 8vw, 100px) clamp(24px, 5vw, 76px); }
.leader { display: grid; grid-template-columns: 150px 1fr; gap: 26px; margin: 34px 0 56px; }
.leader .photo {
  height: 180px; border: 1px dashed var(--gold); display: flex; align-items: center;
  justify-content: center; font-size: 0.72rem; color: var(--gold-dark); background: rgba(255,255,255,.5);
}
.leader .photo img { width: 100%; height: 100%; object-fit: cover; }
.leader h3 { font-size: 1.8rem; }
.leader .role { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin: 4px 0 12px; }
.leader p { font-size: 0.88rem; }
.placeholder { color: var(--gold-dark); font-weight: 600; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 4px; }
.office { border-top: 1px solid var(--gold); padding-top: 20px; }
.office h3 { font-size: 1.6rem; margin-bottom: 8px; }
.office p { font-size: 0.84rem; }
.office small { display: block; font-size: 0.74rem; color: var(--muted); }
.commit-list { margin-top: 26px; }
.commit-list li { font-size: 0.88rem; color: rgba(255,255,255,.82); margin-bottom: 14px; }

/* ============ CONTACT ============ */
.contact-left p { color: rgba(255,255,255,.75); font-weight: 300; margin: 24px 0 32px; max-width: 36ch; }
.contact-left .c-lines li { color: #fff; margin-bottom: 8px; font-size: 0.92rem; }
.contact-left .c-lines a:hover { color: var(--gold); }
.contact-left .btn { margin-top: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #e3dcc6; background: #fff;
  padding: 13px 15px; font-family: var(--font-sans); font-size: 0.86rem; color: var(--ink);
  border-radius: 0; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%234a5068'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 36px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 0.84rem; color: var(--ink); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); }
.consent a { text-decoration: underline; }
.form-msg { display: none; margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--cream); color: var(--ink); font-size: 0.9rem; }
.form-msg.show { display: block; }
.form-msg.err { border-left-color: #b3261e; }

/* ============ PAGE HERO (inner) ============ */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead-muted { margin-top: 20px; max-width: 62ch; }
.breadcrumb { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.breadcrumb a { color: var(--gold); }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.detail-nav { position: sticky; top: calc(var(--hdr-h) + 24px); }
.detail-nav a {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 0;
  border-bottom: 1px solid var(--border); font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink);
}
.detail-nav a .num { color: var(--gold-dark); min-width: 34px; }
.detail-nav a.active, .detail-nav a:hover { color: var(--gold-dark); }
.svc-item { padding: 26px 0; border-bottom: 1px solid var(--border); }
.svc-item:first-child { padding-top: 0; }
.svc-item h3 { font-size: 1.6rem; margin-bottom: 8px; padding-left: 22px; position: relative; }
.svc-item h3::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px;
  background: var(--gold); transform: rotate(45deg);
}
.svc-item p { font-size: 0.9rem; padding-left: 22px; }
.detail-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; flex-wrap: wrap; }
.pager a { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); }
.pager a:hover { color: var(--gold-dark); }

/* Generic prose (legal, insights) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin: 36px 0 12px; }
.prose p, .prose li { font-size: 0.94rem; margin-bottom: 12px; }
.prose ul { margin-bottom: 16px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); padding: 30px 28px;
  display: flex; flex-direction: column; transition: border-color .25s;
}
.card:hover { border-color: var(--gold); }
.card .tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); }
.card h3 { font-size: 1.55rem; margin: 10px 0 10px; }
.card p { font-size: 0.86rem; flex-grow: 1; }

/* ============ FOOTER ============ */
footer { padding: clamp(56px, 7vw, 80px) 0 40px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.f-brand { display: flex; align-items: center; gap: 16px; }
.f-brand img { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid #fff; object-fit: contain; }
.f-brand span {
  font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 0.1em; color: #fff;
  text-transform: uppercase; line-height: 1.15;
}
.f-about { font-size: 0.82rem; color: rgba(255,255,255,.72); margin: 20px 0 24px; max-width: 34ch; }
.f-col h4 {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.f-col li { margin-bottom: 8px; font-size: 0.84rem; }
.f-col a, .f-col span { color: rgba(255,255,255,.78); }
.f-col a:hover { color: var(--gold); }
.f-bottom {
  margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(201,166,70,.4);
  display: flex; justify-content: space-between; gap: 30px; font-size: 0.72rem; color: rgba(255,255,255,.62);
}
.f-bottom p { max-width: 90ch; }
.f-bottom span { white-space: nowrap; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* Cookie notice */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 950;
  width: min(calc(100% - 32px), 1100px);
  background: #fff; box-shadow: 0 10px 34px rgba(14,31,86,.18); border: 1px solid var(--border);
  padding: 20px 26px; display: none; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 0.86rem; color: var(--ink);
}
.cookie.show { display: flex; }
.cookie .btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie .btn { padding: 12px 26px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .menu { gap: 14px; }
  .menu a { font-size: 0.76rem; }
  .brand .name { font-size: 1.2rem; }
}

@media (max-width: 1360px) {
  .burger { display: flex; }
  .menu {
    position: fixed; top: 0; right: -100%; width: min(320px, 86vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0; padding: calc(var(--hdr-h) + 10px) 28px 30px; overflow-y: auto;
    transition: right .35s cubic-bezier(.16,1,.3,1); box-shadow: -10px 0 30px rgba(0,0,0,.15); z-index: 1001;
  }
  .menu.open { right: 0; }
  .menu a { font-size: 0.95rem; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .menu a::after { display: none; }
  .lang { padding-top: 18px; font-size: 0.9rem; }
  .lang a { width: auto; border: 0; padding: 0; }
}

@media (max-width: 960px) {
  .hero-grid, .sec-head-split, .sectors-grid, .split, .about-split, .detail-grid { grid-template-columns: 1fr; }
  .sec-head-split .lead-muted { justify-self: start; }
  .seal { width: min(80%, 340px); }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .pillars-grid, .svc-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .three-col { grid-template-columns: 1fr; }
  .panel-split { grid-template-columns: 1fr; min-height: 0; }
  .legal-line { max-width: 100%; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .detail-nav { position: static; }
}

@media (max-width: 640px) {
  :root { --hdr-h: 66px; }
  .brand { gap: 10px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand .name { font-size: 1.02rem; letter-spacing: 0.08em; }
  .stats-row, .pillars-grid, .svc-grid, .sector-list, .partner-grid, .form-grid, .offices, .cards-3, .f-grid { grid-template-columns: 1fr; }
  .sector:nth-child(n) { border-top: 1px solid var(--gold); }
  .partner:nth-child(n+2) { border-top: 1px solid var(--gold); }
  .hero-cta .btn { width: 100%; }
  .leader { grid-template-columns: 110px 1fr; gap: 18px; }
  .leader .photo { height: 140px; }
  .f-bottom { flex-direction: column; }
  .cookie { flex-direction: column; align-items: flex-start; }
  .cookie .btns { width: 100%; }
  .cookie .btn { flex: 1; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ============ LANGUAGE DROPDOWN ============ */
.lang { position: relative; display: flex; align-items: center; gap: 6px; color: var(--navy); font-size: 0.8rem; }
.lang i { font-size: 0.85rem; color: var(--gold-dark); pointer-events: none; }
.lang select {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--navy); background: #fff; border: 1px solid var(--border);
  padding: 7px 26px 7px 10px; cursor: pointer; border-radius: 2px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%230e1f56'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
.lang select:hover, .lang select:focus { border-color: var(--gold); outline: none; }
@media (max-width: 1360px) {
  .lang { padding-top: 22px; }
  .lang select { font-size: 0.9rem; padding: 10px 32px 10px 12px; }
}

/* ============ HERO: FIT ON ONE MOBILE SCREEN ============ */
@media (max-width: 960px) {
  .hero { min-height: calc(100vh - var(--hdr-h)); min-height: calc(100svh - var(--hdr-h)); display: flex; align-items: center; padding: 32px 0; }
  .hero .hero-grid { width: 100%; }
  .seal { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 20px 0 24px; }
  .hero .eyebrow { font-size: 0.6rem; letter-spacing: 0.14em; margin-bottom: 10px; }
  .hero h1.h-xl { font-size: clamp(1.9rem, 9vw, 2.5rem); line-height: 1.08; margin-bottom: 14px; }
  .hero p.lead { font-size: 0.9rem; line-height: 1.6; }
  .hero-cta { margin-top: 20px; gap: 10px; }
  .hero-cta .btn { padding: 13px 16px; font-size: 0.68rem; letter-spacing: 0.16em; }
  .hero-note { margin-top: 20px; font-size: 0.6rem; letter-spacing: 0.12em; line-height: 1.6; }
}
@media (max-width: 640px) and (max-height: 600px) {
  .hero p.lead { font-size: 0.82rem; }
  .hero h1.h-xl { font-size: 1.7rem; }
}

/* ============ HEADER REFINEMENT ============ */
#hdr .wrap { max-width: 1520px; padding-left: clamp(20px, 3vw, 56px); padding-right: clamp(20px, 3vw, 56px); }
.nav { gap: clamp(32px, 4vw, 72px); }
.brand { gap: 14px; margin-right: auto; }
.brand-logo { width: 46px; height: 46px; }
.brand .name { font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: 0.1em; }
.menu { gap: clamp(16px, 1.7vw, 30px); flex-shrink: 0; }
.menu a { font-size: clamp(0.74rem, 0.92vw, 0.82rem); }
.lang { margin-left: clamp(4px, 0.8vw, 14px); padding-left: clamp(14px, 1.4vw, 24px); border-left: 1px solid var(--border); }
@media (max-width: 1360px) {
  .nav { gap: 16px; }
  .brand { margin-right: 0; }
  .lang { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* ============ BACK TO TOP ============ */
.to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold);
  background: var(--navy); color: var(--gold); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(14,31,86,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s, color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-deep); }

/* ============ NATURAL LINE FLOW / MOBILE HEADER FIT ============ */
.sec-head-split { grid-template-columns: 1.7fr 1fr; }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.brand { min-width: 0; }
.brand .name { white-space: nowrap; }
.burger { flex-shrink: 0; }
@media (max-width: 960px) {
  .d-br { display: none; }
  .page-hero h1 { max-width: none; }
}
@media (max-width: 640px) {
  #hdr .wrap { padding-left: 14px; padding-right: 10px; }
  .nav { gap: 8px; }
  .brand { gap: 8px; flex: 1 1 auto; }
  .brand-logo { width: 34px; height: 34px; flex-shrink: 0; }
  .brand .name { font-size: clamp(0.78rem, 4.3vw, 1rem); letter-spacing: 0.05em; }
  .burger { padding: 8px 6px; }
  .to-top { right: 16px; bottom: 80px; width: 42px; height: 42px; }
}

/* Stack all two-column layouts on tablet/mobile (must stay last) */
@media (max-width: 960px) {
  .sec-head-split,
  .hero-grid,
  .sectors-grid,
  .split,
  .about-split,
  .detail-grid,
  .panel-split { grid-template-columns: 1fr; }
  .sec-head-split { gap: 18px; margin-bottom: 36px; }
  .sec-head-split .lead-muted { justify-self: start; max-width: none; }
}

/* ============ MOBILE LANGUAGE LIST (replaces native popup) ============ */
.lang-list { display: none; }
@media (max-width: 1360px) {
  .lang { display: none; }
  .lang-list { display: flex; flex-direction: column; width: 100%; padding-top: 22px; }
  .lang-list-title {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 8px; display: flex; gap: 8px; align-items: center;
  }
  .menu a.lang-opt {
    padding: 12px 14px; margin-top: 8px; border: 1px solid var(--border); font-size: 0.92rem;
    display: flex; justify-content: space-between; align-items: center; color: var(--navy);
  }
  .menu a.lang-opt.on { border-color: var(--gold); background: var(--cream); color: var(--gold-dark); font-weight: 600; }
  .menu a.lang-opt.on::before { content: "✓"; order: 2; }
  .menu { padding-bottom: 40px; }
}

/* ============ HONEYPOT / NEWSLETTER / THANK-YOU ============ */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.newsletter {
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-bottom: 38px; margin-bottom: 44px; border-bottom: 1px solid rgba(201,166,70,.4);
}
.newsletter h3 { font-size: 1.8rem; margin-bottom: 4px; }
.newsletter p { font-size: 0.86rem; color: rgba(255,255,255,.72); }
.nl-form { display: flex; gap: 10px; flex: 1 1 360px; max-width: 520px; }
.nl-form input[type="email"] {
  flex: 1; min-width: 0; padding: 14px 16px; font-family: var(--font-sans); font-size: 0.86rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 0;
}
.nl-form input[type="email"]::placeholder { color: rgba(255,255,255,.55); }
.nl-form input[type="email"]:focus { outline: none; border-color: var(--gold); }
.nl-err { flex-basis: 100%; color: #ffb4a9; font-size: 0.82rem; }
@media (max-width: 640px) {
  .nl-form { flex-direction: column; flex-basis: 100%; max-width: none; }
}

.thanks { min-height: calc(100vh - var(--hdr-h) - 120px); display: flex; align-items: center; }
.thanks-card { max-width: 720px; margin: 0 auto; text-align: center; }
.thanks-icon { display: inline-block; margin-bottom: 22px; animation: pop .6s cubic-bezier(.16,1,.3,1) both; }
.thanks-icon path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .35s ease forwards; }
.thanks-card .lead-muted { margin: 20px auto 0; max-width: 54ch; }
.thanks-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.thanks-urgent { margin-top: 34px; font-size: 0.82rem; color: rgba(255,255,255,.6); }
.thanks-urgent a { color: var(--gold); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .thanks-actions .btn { width: 100%; } }

/* Inline SVG icons */
.ico { display: block; flex-shrink: 0; }
.lang .ico { color: var(--gold-dark); pointer-events: none; }
.lang-list-title .ico { color: var(--gold-dark); }

/* New logo: it carries its own ring, so no extra white disc/border behind it */
.seal-inner { background: transparent; width: 92%; }
.f-brand img { background: transparent; border: 0; border-radius: 0; width: 60px; height: 60px; }
.brand-logo { border-radius: 0; background: transparent; }
