/* ============================================================
   ADSGI — ADS Global Invest
   main.css — Production stylesheet
   Charte : Navy #0A1F44 · Gold #C8A75D
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── CUSTOM PROPERTIES ────────────────────────────────── */
:root {
  --navy:         #0A1F44;
  --navy-light:   #0d2a5a;
  --navy-mid:     #132255;
  --gold:         #C8A75D;
  --gold-light:   #d9bc7d;
  --gold-dark:    #a8874d;
  --white:        #ffffff;
  --text-dark:    #0d1b2a;
  --text-mid:     #4a5568;
  --text-light:   #718096;
  --bg-white:     #ffffff;
  --bg-light:     #f8f7f4;
  --bg-off:       #f2f0eb;
  --error:        #C53030;
  --success:      #276749;
  --border:       rgba(0,0,0,0.08);
  --border-navy:  rgba(200,167,93,0.18);
  --radius:       4px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-deep:  0 8px 40px rgba(0,0,0,0.15);
  --transition:   0.25s ease;
}

/* ── RESET ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* ── LAYOUT ───────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-content {
  min-height: 60vh;
}

/* ── HEADER ───────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 68, 0.96);
  border-bottom: 1px solid rgba(200, 167, 93, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.header__logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.header__logo-tag {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── NAVIGATION ───────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 20px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: block;
  padding: 8px 13px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav__item--dropdown > .nav__link::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--navy-light);
  border: 1px solid var(--border-navy);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: var(--shadow-deep);
  z-index: 200;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--transition), background var(--transition);
}

.nav__dropdown-link:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.04);
}

/* Nav CTA button */
.nav__cta {
  font-size: 0.76rem !important;
  padding: 9px 18px !important;
  letter-spacing: 0.07em !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  padding: 28px 24px;
  overflow-y: auto;
  z-index: 990;
  border-top: 1px solid rgba(200,167,93,0.12);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav__list {
  margin-bottom: 28px;
}

.mobile-nav__link {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
}

.mobile-nav__link:hover {
  color: var(--gold);
}

.mobile-nav__cta {
  display: block;
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn--outline-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 25% 60%, rgba(200,167,93,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 15%, rgba(200,167,93,0.05) 0%, transparent 50%);
  padding: 160px 0 120px;
}

.hero--compact {
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 25% 60%, rgba(200,167,93,0.06) 0%, transparent 55%);
  padding: 120px 0 64px;
}

.hero__inner {
  max-width: 800px;
}

.hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.38);
}

.hero__breadcrumb a:hover {
  color: var(--gold);
}

.hero__breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.hero__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 400;
}

.hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.78;
  max-width: 640px;
  margin-bottom: 40px;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section--white {
  background: var(--bg-white);
}

.section--light {
  background: var(--bg-light);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

/* Section intro */
.section-intro {
  margin-bottom: 48px;
}

.section-intro--center {
  text-align: center;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 400;
}

.section-intro--center .section-label {
  justify-content: center;
}

.section-intro h2,
.section-intro > h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-dark);
}

.section--navy .section-intro h2,
.section--navy h2 {
  color: var(--white);
}

.section--navy h3 { color: var(--white); }
.section--navy h4 { color: var(--white); }
.section--navy p  { color: rgba(255,255,255,0.65); }
.section--navy .section-label { color: var(--gold); }
.section--navy .section-intro p { color: rgba(255,255,255,0.65); }

.divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 18px;
}

.divider--center {
  margin: 18px auto 0;
}

/* ── CTA SECTION ──────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.cta-section p {
  color: rgba(255,255,255,0.58);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 0.96rem;
  line-height: 1.75;
}

.cta-section .section-label {
  justify-content: center;
}

.cta-section .divider {
  margin: 18px auto 0;
}

/* ── SPLIT LAYOUT ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.split--60-40 {
  grid-template-columns: 1.45fr 1fr;
}

.split__content p {
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.split__content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section--navy .split__content p {
  color: rgba(255,255,255,0.65);
}

.section--navy .split__content h3 {
  color: var(--white);
}

.split__box {
  background: var(--navy-light);
  border: 1px solid rgba(200,167,93,0.22);
  border-radius: 6px;
  padding: 32px;
}

.split__box-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.split__box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.split__box p {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ── PILLAR CARDS ─────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 44px;
}

.pillar-card {
  background: var(--navy-light);
  border: 1px solid rgba(200,167,93,0.1);
  padding: 36px 28px;
  transition: border-color var(--transition), background var(--transition);
}

.pillar-card:hover {
  border-color: rgba(200,167,93,0.42);
  background: rgba(13,42,90,0.9);
}

.pillar-card__num {
  display: block;
  font-size: 0.66rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pillar-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
}

.pillar-card__text {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.72;
}

.pillar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 22px;
  transition: gap var(--transition);
}

.pillar-card__link:hover {
  gap: 10px;
}

/* ── PROCESS STEPS ────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}

.process-step {
  background: var(--bg-light);
  padding: 28px 24px;
  border-left: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.process-step:hover {
  border-left-color: var(--gold);
  background: #f0ede6;
}

.section--navy .process-step {
  background: rgba(255,255,255,0.04);
}

.section--navy .process-step:hover {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--gold);
}

.process-step__num {
  display: block;
  font-size: 0.66rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.process-step__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.3;
}

.section--navy .process-step__title {
  color: var(--white);
}

.process-step__text {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.section--navy .process-step__text {
  color: rgba(255,255,255,0.55);
}

/* ── PHASES ───────────────────────────────────────────── */
.phase {
  background: var(--bg-light);
  padding: 32px;
  border-top: 2px solid var(--gold);
  margin-bottom: 2px;
}

.phase__header {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
}

.phase__num {
  font-size: 0.66rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.phase__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
}

.phase__meta {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.phase__duration {
  color: var(--gold);
  font-weight: 500;
}

/* ── TWO COLUMNS ──────────────────────────────────────── */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.col-block h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.col-block h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-dark);
  line-height: 1.25;
}

.col-block h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section--navy .col-block h2 { color: var(--white); }
.section--navy .col-block h3 { color: var(--white); }
.section--navy .col-block h4 { color: var(--white); }

/* ── BADGES ───────────────────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 2px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

/* ── LISTS ────────────────────────────────────────────── */
.list--dash {
  padding-left: 0;
}

.list--dash li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 9px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.list--dash li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.78rem;
  top: 2px;
}

.section--navy .list--dash li {
  color: rgba(255,255,255,0.65);
}

/* ── DATA TABLE ───────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 400px;
}

.data-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--text-dark);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(200,167,93,0.04);
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 64px 0 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer__logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
}

.footer__brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.72;
  margin-bottom: 10px;
}

.footer__heading {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 18px;
  display: block;
}

.footer__list li {
  margin-bottom: 9px;
}

.footer__list a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--gold);
}

.footer__contact-item {
  margin-bottom: 14px;
}

.footer__contact-label {
  display: block;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.32);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.footer__contact-value {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.62);
}

a.footer__contact-value {
  transition: color var(--transition);
}

a.footer__contact-value:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 14px;
}

.footer__bottom-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.28);
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ── COOKIE BANNER ────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 31, 68, 0.97);
  border-top: 1px solid rgba(200,167,93,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cookie-banner__text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ── LEGAL CONTENT ────────────────────────────────────── */
.legal-content {
  max-width: 740px;
}

.legal-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin: 40px 0 14px;
  color: var(--text-dark);
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-mid);
  margin-bottom: 14px;
  line-height: 1.78;
  font-size: 0.92rem;
}

.legal-content ul {
  margin: 10px 0 18px 22px;
}

.legal-content ul li {
  margin-bottom: 7px;
  color: var(--text-mid);
  font-size: 0.9rem;
  list-style: disc;
  line-height: 1.65;
}

.legal-content strong {
  color: var(--text-dark);
  font-weight: 500;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--gold-dark);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.88rem;
}

.legal-content table th,
.legal-content table td {
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}

.legal-content table th {
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 500;
  text-align: left;
}

.legal-content table td {
  color: var(--text-mid);
}

/* ── CONTACT FORM ─────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,167,93,0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23718096' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-note {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

.form-error {
  font-size: 0.74rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
  padding: 0;
  border: 1px solid #d4d4d4;
}

.form-check label {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  cursor: pointer;
}

.form-submit {
  margin-top: 24px;
}

.form-success {
  display: none;
  padding: 18px;
  background: #f0fff4;
  border: 1px solid #68d391;
  border-radius: var(--radius);
  color: var(--success);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 16px;
}

.form-success.visible {
  display: block;
}

/* ── CONTACT BOX ──────────────────────────────────────── */
.contact-box {
  background: var(--bg-light);
  padding: 36px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-box__item {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.contact-box__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-box__label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 5px;
}

.contact-box__value {
  font-size: 0.94rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-box__note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.65;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ── TEXT UTILITIES ───────────────────────────────────── */
.text-white { color: var(--white); }

/* ── FADE-IN ANIMATION ────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1020px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav__list,
  .nav__cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .split,
  .split--60-40,
  .two-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 120px 0 80px;
  }
  .hero--compact {
    padding: 100px 0 48px;
  }
  .hero__title {
    font-size: 2.1rem;
  }
  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px 18px;
  }
  .section {
    padding: 48px 0;
  }
}

/* ================================================================
   RESPONSIVE FIXES — Mobile polish pass
   ================================================================ */

/* ── Prevent ALL horizontal overflow ─────────────────────────── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ── Turnstile widget spacing ─────────────────────────────────── */
.cf-turnstile {
  margin: 18px 0 8px;
}
.turnstile-error {
  font-size: 0.74rem;
  color: var(--error);
  margin-top: 6px;
  display: none;
}
.turnstile-error.visible {
  display: block;
}

/* ── Button: allow text wrap on any size ─────────────────────── */
.btn {
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

/* ── btn-group: always wraps, never overflows ─────────────────── */
.btn-group {
  flex-wrap: wrap;
  max-width: 100%;
}

/* ── 900px breakpoint polish ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    padding: 130px 0 80px;
  }
  .hero--compact {
    padding: 110px 0 56px;
  }
  .cta-section {
    padding: 60px 0;
  }
}

/* ── 640px (mobile) ──────────────────────────────────────────── */
@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero {
    padding: 108px 0 68px;
  }
  .hero--compact {
    padding: 96px 0 44px;
  }
  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem);
    line-height: 1.18;
    word-break: break-word;
  }
  .hero__subtitle {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  /* Buttons — full width, text wraps cleanly */
  .btn {
    padding: 12px 18px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }
  .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Nav CTA — hide overflow text on nav */
  .nav__cta {
    display: none;
  }

  /* Header logo */
  .header__logo-name {
    font-size: 1.2rem;
  }
  .header__logo-tag {
    font-size: 0.54rem;
  }

  /* Sections */
  .section {
    padding: 44px 0;
  }
  .cta-section {
    padding: 52px 0;
  }
  .cta-section h2 {
    font-size: clamp(1.55rem, 5vw, 1.9rem);
    line-height: 1.2;
    word-break: break-word;
  }
  .cta-section p {
    font-size: 0.9rem;
  }

  /* Split boxes */
  .split__box {
    padding: 24px 20px;
  }

  /* Pillars */
  .pillars {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .pillar-card {
    padding: 28px 22px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer__bottom-links {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer {
    padding: 48px 0 28px;
  }

  /* Cookie banner */
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 14px 16px;
    gap: 12px;
  }
  .cookie-banner__actions {
    display: flex;
    gap: 8px;
    flex-shrink: unset;
  }
  .cookie-banner__actions .btn {
    flex: 1;
    padding: 10px 12px;
  }

  /* Form grid */
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group--full {
    grid-column: 1;
  }

  /* Contact box */
  .contact-box {
    padding: 24px 20px;
  }

  /* Process */
  .process {
    grid-template-columns: 1fr;
  }

  /* Phase */
  .phase {
    padding: 24px 18px;
  }

  /* Tables */
  .table-wrap {
    margin: 0 -16px;
    padding: 0 16px;
  }

  /* Legals */
  .legal-content {
    max-width: 100%;
  }
  .legal-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Section intro */
  .section-intro {
    margin-bottom: 32px;
  }
  .section-intro h2 {
    font-size: clamp(1.45rem, 5vw, 1.8rem);
    word-break: break-word;
  }
}

/* ── 380px (small phones) ───────────────────────────────────── */
@media (max-width: 380px) {
  .header__inner {
    height: 64px;
  }
  .mobile-nav {
    top: 64px;
  }
  .hero {
    padding: 96px 0 56px;
  }
  .hero--compact {
    padding: 84px 0 36px;
  }
  .hero__title {
    font-size: 1.65rem;
  }
  .btn {
    font-size: 0.72rem;
  }
  .footer__logo-name {
    font-size: 1.3rem;
  }
}

/* ── FORM SUBMIT BUTTON — full width on mobile ─────────────── */
@media (max-width: 640px) {
  .form-submit {
    width: 100%;
    justify-content: center;
  }

  /* Turnstile widget — center on mobile */
  .cf-turnstile {
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
  }

  /* Form success message */
  .form-success {
    padding: 16px;
    font-size: 0.88rem;
  }

  /* nav CTA in mobile-nav: ensure full width */
  .mobile-nav__cta {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ── ENSURE hero btn-group never overflows on any viewport ─── */
@media (max-width: 480px) {
  .hero .btn-group,
  .cta-section .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero .btn-group .btn,
  .cta-section .btn-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 13px 16px;
  }
}
