/* ============================================================
   DAXTON CAPITAL — main.css  (v2 — refined design)
   ============================================================ */

/* === 0. DISCLAIMER MODAL === */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 35, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.disclaimer-overlay.is-hidden {
  display: none;
}
.disclaimer-modal {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  padding: 3.5rem 3rem 3rem;
  position: relative;
  text-align: center;
  color: var(--white);
}
.disclaimer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.disclaimer-close:hover { color: rgba(255,255,255,0.9); }
.disclaimer-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.disclaimer-body {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(240,240,238,0.65);
  margin-bottom: 2.25rem;
}
.disclaimer-body strong { font-weight: 600; color: var(--white); }
.disclaimer-proceed {
  display: inline-block;
  background: var(--gold);
  color: #0c1e35;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 1rem 3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}
.disclaimer-proceed:hover {
  background: #d9bb6a;
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(201,168,76,0.5);
}

/* === 1. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
/* Prevent flash of untranslated content */
html.lang-pending { visibility: hidden; }

/* === 2. CSS CUSTOM PROPERTIES === */
:root {
  --navy:        #0a1628;
  --navy-mid:    #0d1c35;
  --navy-light:  #162645;
  --navy-border: rgba(255,255,255,0.07);
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dim:    rgba(201,168,76,0.18);
  --white:       #f0f0ee;
  --grey:        #7a8da8;
  --grey-light:  #a8b8cc;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --max-width:   1240px;
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--white);
  line-height: 1.1;
  font-weight: 700;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.01em; font-weight: 600; }
h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
p { color: var(--grey); line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* === 4. LAYOUT UTILITIES === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem;
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 100%; padding: 0 4rem; }

.section {
  padding: 7rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section--sm { padding: 5rem 3rem; }

.divider {
  border: none;
  border-top: 1px solid var(--navy-border);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* === 5. NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 3rem;
  height: 64px;
  background: rgba(4, 10, 20, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav--scrolled {
  background: rgba(4, 10, 20, 0.80);
  border-bottom-color: rgba(201,168,76,0.12);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
/* all nav items: flex so content centers vertically */
.nav__links > li {
  display: flex;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,240,238,0.65);
  transition: color var(--transition);
  text-decoration: none;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__linkedin {
  display: inline-flex;
  align-items: center;
  color: rgba(240,240,238,0.55) !important;
  transition: color var(--transition) !important;
}
.nav__linkedin::after { display: none !important; }
.nav__linkedin:hover { color: var(--gold) !important; }

/* Mobile-only lang switcher — hidden on desktop, shown left of logo on mobile */
.nav__lang-mob {
  display: none;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(201,168,76,0.2);
}
.nav__lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(240,240,238,0.4);
  padding: 0;
  transition: color var(--transition);
}
.nav__lang-btn.is-active { color: var(--gold); }
.nav__lang-btn:hover { color: var(--white); }
.nav__lang-sep {
  font-size: 0.65rem;
  color: rgba(240,240,238,0.2);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Nav dropdown --- */
/* Nav dropdown */
.nav__dropdown {
  position: relative;
}

/* chevron: thin v-shape after "Services" text */
.nav__dropdown > a.nav__dropdown-toggle::after {
  content: '';
  position: static;
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 0.45em;
  vertical-align: middle;
  opacity: 0.75;
  background: none;
  transition: none;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%; /* no gap — padding bridges the space */
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  padding-top: 22px; /* visual gap, but hover stays connected */
  min-width: 220px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 300;
}
.nav__dropdown-menu::before {
  content: '';
  display: block;
  position: absolute;
  top: 22px;
  left: 0; right: 0; bottom: 0;
  background: #080e1e;
  border: 1px solid rgba(201,168,76,0.22);
  border-top: 2px solid rgba(201,168,76,0.5);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  z-index: -1;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.nav__dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,240,238,0.6);
  transition: color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav__dropdown-menu li a:hover { color: var(--gold); }
.nav__dropdown-menu li a::after { display: none !important; }
.nav__dropdown-menu li + li { border-top: 1px solid rgba(255,255,255,0.05); }

/* === 6. HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  text-align: center;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 2.5s ease-in-out;
}
.hero__video-a { opacity: 1; z-index: 1; }
.hero__video-b { opacity: 0; z-index: 2; }
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.52);
  z-index: 1;
}

/* Fade hero into the next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 10;
  padding: 0 2rem;
  padding-top: 3rem;
  max-width: 1200px;
}
.hero__content .eyebrow {
  justify-content: center;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}
.hero__content .eyebrow::before { display: none; }
.hero__content h1 {
  margin-bottom: 1.6rem;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(10,22,40,0.8);
}
.hero__sub {
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto 2.8rem;
  color: var(--grey-light);
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats bar at bottom of hero */
.hero__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--navy-border);
  background: rgba(10,22,40,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__stat {
  flex: 1;
  max-width: 220px;
  padding: 1.4rem 2rem;
  text-align: center;
  border-right: 1px solid var(--navy-border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}
.hero__stat-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.3rem;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 5.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8) translateY(0); }
  50% { opacity: 1; transform: scaleY(1) translateY(4px); }
}

/* === 6b. HERO TEXT === */

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  margin-bottom: 1.6rem;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  text-transform: uppercase;
  text-shadow: none;
}

.hero__line-1 {
  display: block;
  white-space: nowrap;
  color: var(--white);
  text-shadow:
    0 10px 30px rgba(240,240,238,0.15),
    0 2px 4px rgba(240,240,238,0.08);
  will-change: transform, opacity, filter;
  /* Hidden by default — GSAP animates in after disclaimer */
  opacity: 0;
}

.hero__line-2 {
  display: block;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--white) 0%, rgba(240,240,238,0.38) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateZ(0);
  text-shadow: none;
  filter:
    drop-shadow(0 10px 20px rgba(240,240,238,0.08))
    drop-shadow(0 2px 4px rgba(240,240,238,0.04));
  will-change: clip-path;
  /* Hidden by default — GSAP wipes in after disclaimer */
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}

/* === 7. VIDEO BAND (unused) === */

/* === 8. BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 2px;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); }

/* === 8b. AUDIO TOGGLE === */
.audio-toggle {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,22,40,0.75);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background var(--transition), transform var(--transition);
}
.audio-toggle:hover {
  background: rgba(10,22,40,0.95);
  transform: scale(1.08);
}

/* === 9. WAVE SECTION === */
.wave-section {
  width: 100%;
  height: 100vh;
  background: var(--navy);
  overflow: hidden;
}
.wave-section canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* === 8. TICKER / MARQUEE === */
.ticker-wrap {
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--navy-mid);
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker:hover { animation-play-state: paused; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 3rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  white-space: nowrap;
}
.ticker__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === 8. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-light);
  gap: 0.9rem;
}
.btn__arrow {
  font-size: 1rem;
  transition: transform var(--transition);
  line-height: 1;
}
.btn--gold:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--grey-light);
  border: 1px solid var(--navy-border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}
.btn--text {
  background: transparent;
  color: var(--gold);
  padding: 0;
  letter-spacing: 0.14em;
  gap: 0.5rem;
}
.btn--text:hover { color: var(--gold-light); gap: 0.8rem; }

/* === 9. SERVICE CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--navy-border);
}
.card {
  padding: 2.8rem 2.5rem;
  border-right: 1px solid var(--navy-border);
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}
.card:last-child { border-right: none; }
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover { background: var(--navy-mid); }
.card:hover::before { transform: scaleX(1); }

.card__icon { margin-bottom: 1.2rem; }
.card h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.05rem; }
.card p { font-size: 0.88rem; line-height: 1.75; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}
.card__link:hover { gap: 0.7rem; }

/* === 10. STATS SECTION === */
.stats-band {
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}
.stat-block {
  padding: 4rem 3rem;
  border-right: 1px solid var(--navy-border);
  position: relative;
  text-align: center;
}
.stat-block:last-child { border-right: none; }
.stat-block__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-block__label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
}
.stat-block__desc {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 0.8rem;
  line-height: 1.6;
  max-width: 24ch;
}

/* === 10b. WHO WE ARE === */
.about-body {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  color: var(--white-60);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* === 11. WHY DAXTON / DIFFERENTIATORS === */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--navy-border);
}
.diff-item {
  padding: 2.5rem 3rem;
  border-right: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  transition: background var(--transition);
}
.diff-item:nth-child(even) { border-right: none; }
.diff-item:nth-child(3),
.diff-item:nth-child(4) { border-bottom: none; }
.diff-item:hover { background: rgba(255,255,255,0.02); }
.diff-item__icon {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.diff-item__icon svg { stroke: var(--gold); }
.diff-item h3 { color: var(--gold); margin-bottom: 0.6rem; }
.diff-item p { font-size: 0.88rem; }

/* === 12. TEAM CARDS === */
.team-preview {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding: 2.5rem;
  border: 1px solid var(--navy-border);
}
.avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
  background: var(--navy-light);
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.team-preview__info h3 { color: var(--white); margin-bottom: 0.2rem; font-size: 1.05rem; }
.team-preview__info .role {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}
.team-preview__info p { font-size: 0.88rem; }

/* Full team page */
.team-member { max-width: 820px; }
.team-member__header {
  display: flex; align-items: flex-start; gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--navy-border);
}
.team-member__header .avatar { width: 110px; height: 110px; font-size: 2.2rem; }
.team-member__title h2 { margin-bottom: 0.4rem; }
.team-member__role { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.team-member__reg { font-size: 0.78rem; color: var(--grey); }
.team-member__bio p { margin-bottom: 1.1rem; font-size: 0.98rem; color: var(--grey-light); }
.team-member__expertise { margin-top: 3rem; }
.team-member__expertise h3 { color: var(--white); margin-bottom: 1.2rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.expertise-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.expertise-list li {
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--grey-light);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: border-color var(--transition), color var(--transition);
}
.expertise-list li:hover { border-color: var(--gold); color: var(--gold); }

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--navy-border);
}
.credential {
  padding: 2.5rem;
  border-right: 1px solid var(--navy-border);
}
.credential:last-child { border-right: none; }
.credential h3 { color: var(--white); margin: 0.5rem 0 0.75rem; font-size: 1.1rem; }
.credential p { font-size: 0.88rem; }

/* === 13. SOLUTIONS === */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  padding-top: 7rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--navy-border);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(201,168,76,0.03) 0px, rgba(201,168,76,0.03) 1px,
    transparent 1px, transparent 80px
  );
}
.page-hero .container { width: 100%; }
.page-hero h1 { margin: 0.75rem 0 1rem; max-width: 16ch; }
.page-hero p { max-width: 48ch; font-size: 1rem; color: var(--grey-light); }

.solution-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--navy-border);
}
.solution-section:last-of-type { border-bottom: none; }
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 6rem;
  margin-top: 3rem;
  align-items: start;
}
.solution-grid--reverse { direction: rtl; }
.solution-grid--reverse > * { direction: ltr; }
.solution-content h3 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 2rem 0 0.6rem;
}
.solution-content h3:first-child { margin-top: 0; }
.solution-content p { font-size: 0.93rem; line-height: 1.8; }
.solution-lead {
  font-size: 1.05rem !important;
  color: var(--white) !important;
  margin-bottom: 2rem;
  line-height: 1.7 !important;
}

.process-diagram { display: flex; flex-direction: column; }
.process-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--navy-border);
  border-left: 2px solid var(--gold);
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
}
.process-step .step-num {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.process-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), rgba(201,168,76,0.1));
  margin-left: 1.2rem;
}

/* === 14. CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 7rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 3rem; font-size: 1rem; color: var(--grey-light); }
.contact-detail { margin-bottom: 2rem; display: flex; align-items: center; }
.contact-detail .eyebrow { margin-bottom: 0; display: flex; flex-shrink: 0; }
.contact-detail a, .contact-detail address {
  font-size: 0.92rem;
  color: var(--white);
  white-space: nowrap;
}
.contact-detail a:hover { color: var(--gold); }
.linkedin-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  transition: color var(--transition);
}
.linkedin-link:hover { color: var(--gold) !important; }
.linkedin-link__bar {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.contact-detail .linkedin-link__bar { display: none; }
.linkedin-link__icon {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  transition: fill var(--transition);
}
.linkedin-link:hover .linkedin-link__icon { fill: var(--gold); }
.linkedin-link__name {
  font-size: 0.92rem;
  color: inherit;
}

.contact-form {
  background: rgba(255,255,255,0.02);
  padding: 3rem;
  border: 1px solid var(--navy-border);
  border-top: 2px solid var(--gold);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(201,168,76,0.5);
}
.form-group input.error,
.form-group textarea.error { border-color: rgba(224,82,82,0.7); }
.field-error { font-size: 0.72rem; color: #e05252; margin-top: 0.35rem; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group--consent { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-group--consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold);
  appearance: checkbox;
  -webkit-appearance: checkbox;
  cursor: pointer;
}
.form-group--consent label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--grey);
}
.form-group--consent a { color: var(--gold); text-decoration: underline; }
.form-status { margin-top: 1rem; font-size: 0.88rem; min-height: 1.5rem; }
.form-status.success { color: #6fcf97; }
.form-status.error   { color: #e05252; }

/* === 15. PRIVACY === */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 3rem 7rem;
}
.privacy-content h2 {
  font-size: 1.3rem;
  margin: 3rem 0 0.75rem;
  color: var(--white);
  font-family: var(--font-serif);
}
.privacy-content p, .privacy-content li {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--grey);
  margin-bottom: 0.75rem;
}
.privacy-content ul { padding-left: 1.5rem; list-style: disc; }
.privacy-content a { color: var(--gold); text-decoration: underline; }

/* === 16. CTA BAND === */
.cta-band {
  text-align: center;
  padding: 8rem 2rem;
  border-top: 1px solid var(--navy-border);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band p {
  max-width: 46ch;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--grey-light);
}

/* === 17. FOOTER === */
footer {
  background: #060f1c;
  border-top: 1px solid var(--navy-border);
  padding: 4rem 3rem 2.5rem;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-nav { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.footer-nav a {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--navy-border); display: flex; flex-direction: column; gap: 0.8rem; }
.footer-reg { font-size: 0.76rem; color: var(--grey); line-height: 1.7; }
.footer-reg strong { color: rgba(244,244,242,0.55); font-weight: 500; }
.footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(138,154,181,0.5);
  line-height: 1.85;
  text-align: center;
  max-width: 100%;
}
.footer-copy { font-size: 0.72rem; color: rgba(138,154,181,0.4); margin-top: 0.25rem; }

/* === 18. SCROLL REVEAL === */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* === 19. MOBILE OVERLAY MENU === */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #060f1c;
  flex-direction: column;
  z-index: 300;
  overflow: hidden;
}
.mob-overlay.is-open { display: flex; }
@media (min-width: 769px) { .mob-overlay { display: none !important; } }

/* Header row */
.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mob-logo { display: flex; align-items: center; }
.mob-logo img { height: 28px; display: block; }
.mob-close {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: rgba(240,240,238,0.5); cursor: pointer;
  padding: 8px; transition: color 0.2s;
}
.mob-close:hover { color: var(--white); }

/* Panels */
.mob-panel {
  display: flex; flex-direction: column;
  flex: 1; overflow-y: auto; padding-bottom: 40px;
}
.mob-panel--services { display: none; }

/* Nav links */
.mob-nav { display: flex; flex-direction: column; padding-top: 24px; }
.mob-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 32px;
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 300; letter-spacing: 0.01em;
  color: var(--white); text-decoration: none;
  background: none; border: none; width: 100%;
  text-align: left; cursor: pointer; line-height: 1.35;
  transition: color 0.2s;
}
.mob-nav__link:hover { color: var(--gold); }
.mob-nav__link--sub {
  font-size: 1.45rem;
  padding-top: 12px; padding-bottom: 12px;
}
.mob-chevron {
  font-size: 1.6rem; color: var(--gold);
  opacity: 0.65; flex-shrink: 0; margin-left: 8px;
}

/* Divider */
.mob-divider {
  height: 1px; background: rgba(255,255,255,0.08);
  margin: 24px 32px; flex-shrink: 0;
}

/* Contact block */
.mob-contact { padding: 0 32px; }
.mob-contact__label {
  font-family: var(--font-sans); font-size: 0.62rem;
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(201,168,76,0.55); margin: 0 0 14px;
}
.mob-contact__row {
  display: flex; align-items: flex-start;
  gap: 10px; margin-bottom: 10px;
  font-family: var(--font-sans); font-size: 0.875rem;
  color: rgba(240,240,238,0.5); line-height: 1.5;
}
.mob-contact__icon { flex-shrink: 0; margin-top: 1px; color: rgba(240,240,238,0.4); }
.mob-contact__link {
  color: rgba(240,240,238,0.5); text-decoration: none; transition: color 0.2s;
}
.mob-contact__link:hover { color: var(--gold); }
.mob-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 4px;
  color: rgba(240,240,238,0.5); margin-top: 18px; text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.mob-linkedin:hover { color: var(--gold); border-color: rgba(201,168,76,0.4); }

/* Back button */
.mob-back {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 32px;
  background: none; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(240,240,238,0.45);
  font-family: var(--font-sans); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; width: 100%; text-align: left;
  transition: color 0.2s; flex-shrink: 0;
}
.mob-back:hover { color: rgba(240,240,238,0.8); }

/* === 20. RESPONSIVE === */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--navy-border); }
  .card:last-child { border-bottom: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-item { border-right: none; }
  .diff-item:nth-child(3) { border-bottom: 1px solid var(--navy-border); }
  .stats-row { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--navy-border); }
  .stat-block:last-child { border-bottom: none; }
  .solution-grid { grid-template-columns: 1fr; gap: 3rem; }
  .solution-grid--reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
}
@media (max-width: 768px) {
  :root { --max-width: 100%; }
  html, body { overflow-x: hidden; max-width: 100%; }
  .nav { padding: 1.2rem 1.5rem; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { border: none !important; }

  /* Mobile lang switcher */
  .nav__lang-mob {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
  }
  .nav__lang-mob .nav__lang-btn {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
  }
  .nav__lang-mob .nav__lang-btn.is-active {
    color: rgba(255,255,255,1);
  }
  .nav__lang-mob .nav__lang-sep {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
  }

  /* Mobile overlay (mob-overlay) replaces the old nav--open panel — see section 19 */
  .nav__dropdown-menu { display: none !important; }
  .nav__dropdown-menu::before { display: none; }
  .nav { position: fixed; }
  .section { padding: 5rem 1.5rem; }
  .section--sm { padding: 3.5rem 1.5rem; }

  /* Hero — vertically centre the text on mobile */
  .hero__content {
    padding-top: 0;
  }

  /* Hero text — ridimensiona e permetti il wrap su mobile */
  .hero__headline {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
    padding: 0 1rem;
  }
  .hero__line-1,
  .hero__line-2 {
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }

  .hero__stats { position: static; flex-wrap: wrap; }
  .hero__stat { min-width: 50%; flex: none; }
  .hero__scroll { display: none; }
  .team-member__header { flex-direction: column; }
  .footer-top { flex-direction: column; }
  .contact-form { padding: 2rem; }
  .team-preview { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .credentials-grid { grid-template-columns: 1fr; }
  .credential { border-right: none; border-bottom: 1px solid var(--navy-border); }
  .credential:last-child { border-bottom: none; }
  footer { padding: 3rem 1.5rem 2rem; }
  .page-hero { padding: 7rem 1.5rem 4rem; }
  .contact-grid { padding: 0 !important; }
  .contact-form { padding: 1.5rem !important; width: 100%; box-sizing: border-box; }
  .contact-grid > div { width: 100%; min-width: 0; }
  .form-group input,
  .form-group textarea,
  .form-group select { width: 100%; max-width: 100%; box-sizing: border-box; }
  #contactForm { max-width: 100%; overflow: hidden; }

  /* Contact detail — shorter dash so label+value fit one line */
  .contact-detail .eyebrow::before { width: 16px; }
  /* Hide postcode + country on mobile — keeps address on one line */
  .addr-extra { display: none; }
  .contact-detail a,
  .contact-detail address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero__headline { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__stat { min-width: 100%; }
  .container, .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* === Mobile landscape — short viewport fix (non-hero sections only) === */
@media screen and (max-height: 500px) and (orientation: landscape) {
  /* Headings in content sections only — hero untouched */
  section:not(.hero) h1,
  section:not(.hero) h2 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  /* Body text in content sections only */
  section:not(.hero) p,
  section:not(.hero) li {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Section padding — content sections only */
  section:not(.hero) {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  /* Audio toggle — smaller, repositioned */
  .audio-toggle {
    width: 32px !important; height: 32px !important;
    bottom: 12px !important; left: 12px !important; right: auto !important;
  }
  .audio-toggle svg { width: 15px !important; height: 15px !important; }

  /* Hide prev/next arrows */
  .carousel-arrow,
  [class*="arrow"],
  [class*="prev"],
  [class*="next"] { display: none !important; }
}
