:root {
  --navy: #102038;
  --navy-deep: #081426;
  --navy-mid: #182840;
  --navy-light: #203048;
  --gold: #d4af37;
  --gold-soft: #f4e5b8;
  --gold-rich: #c59b27;
  --gold-deep: #8f6816;
  --cream: #faf8f3;
  --grey: #e6e3da;
  --slate: #5e6b7e;
  --white: #ffffff;
  --bg: var(--cream);
  --surface: var(--white);
  --surface-2: #f4f0e6;
  --text: var(--navy-deep);
  --text-muted: var(--slate);
  --border: var(--grey);
  --header-bg: rgba(250, 248, 243, 0.92);
  --header-border: rgba(16, 32, 56, 0.08);
  --header-h: 72px;
  --btn-dark-bg: var(--navy-deep);
  --btn-dark-text: var(--white);
}

[data-theme="dark"] {
  --bg: #060d18;
  --surface: #0b182b;
  --surface-2: #10223b;
  --text: #f4f2ea;
  --text-muted: #9aa8be;
  --border: rgba(212, 175, 55, 0.18);
  --header-bg: rgba(6, 13, 24, 0.90);
  --header-border: rgba(212, 175, 55, 0.15);
  --btn-dark-bg: var(--gold);
  --btn-dark-text: var(--navy-deep);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
}


/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22, .61, .36, 1), transform .55s cubic-bezier(.22, .61, .36, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: .06s;
}

.reveal:nth-child(3) {
  transition-delay: .12s;
}

.reveal:nth-child(4) {
  transition-delay: .18s;
}

.reveal:nth-child(5) {
  transition-delay: .24s;
}

.reveal:nth-child(6) {
  transition-delay: .3s;
}

.reveal:nth-child(7) {
  transition-delay: .36s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}


/* elements below already own a `transition` for hover — merge it with the reveal timing so both animate */
.price-card.reveal {
  transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}

.quad.reveal {
  transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .4s cubic-bezier(.22, .61, .36, 1), filter .3s ease;
}

.step.reveal {
  transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .5s cubic-bezier(.22, .61, .36, 1), background-color .3s ease;
}

.form-card.reveal {
  transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .5s cubic-bezier(.22, .61, .36, 1), background-color .3s ease, border-color .3s ease;
}


/* ---------- NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 14px 5%;
  height: var(--header-h, 72px);
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border);
  transition: background-color .3s ease, border-color .3s ease, height .25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: 48px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  border: 1.5px solid var(--gold);
  transition: transform .3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  display: inline-block;
}

[data-theme="dark"] .brand-logo {
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.28);
  border-color: var(--gold);
}

[data-theme="dark"] .brand-name {
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}

nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}


/* ---------- Resources dropdown / mega-menu ---------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  height: 40px;
  padding: 0 15px 0 13px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .25s ease, box-shadow .3s ease;
}

.nav-dropdown-trigger svg:first-child {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--gold);
}

.nav-dropdown-trigger .chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(22, 33, 62, 0.4);
}

.nav-dropdown-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: fixed;
  top: 88px;
  left: 50%;
  width: min(680px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 40px 70px -28px rgba(13, 21, 38, 0.35), 0 12px 30px -14px rgba(13, 21, 38, 0.2);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .25s cubic-bezier(.22, .61, .36, 1), transform .25s cubic-bezier(.22, .61, .36, 1), visibility .25s;
  z-index: 200;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 18px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: background-color .22s ease, transform .22s ease;
}

.mega-item:hover,
.mega-item:focus-visible {
  background: var(--surface-2);
  transform: translateY(-2px);
  outline: none;
}

.mega-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  color: var(--navy-deep);
}

[data-theme="dark"] .mega-icon {
  background: color-mix(in srgb, var(--gold) 26%, transparent);
  color: var(--gold-soft);
}

.mega-icon svg {
  width: 19px;
  height: 19px;
}

.mega-text {
  display: flex;
  flex-direction: column;
}

.mega-item strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.87rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
}

.mega-item .mega-text>span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media(max-width:640px) {
  .mega-menu {
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 16px;
    top: 78px;
    gap: 2px;
  }

  .mega-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 12px;
  }

  .mega-icon {
    margin-bottom: 0;
  }

}

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.nav-cta:hover {
  background: var(--gold-rich);
  color: var(--navy-deep);
  border-color: var(--gold-rich);
  transform: translateY(-2px);
}

.admin-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
}


/* ---------- Active nav state ---------- */
nav a.active {
  color: var(--gold);
}

nav a.active::after {
  width: 100%;
  background: var(--gold);
}

.nav-dropdown-trigger.active {
  border-color: var(--gold);
  color: var(--gold);
}

.mega-item.active strong {
  color: var(--gold);
}


/* ---------- Burger menu (mobile) ---------- */
.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background-color .3s ease, border-color .3s ease;
}

.burger-btn:hover {
  border-color: var(--gold);
}

.burger-btn span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}

.burger-btn span:nth-child(1) {
  top: calc(50% - 6px);
}

.burger-btn span:nth-child(2) {
  top: calc(50% - 0.8px);
}

.burger-btn span:nth-child(3) {
  top: calc(50% + 4.5px);
}

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  top: calc(50% - 0.8px);
  transform: translateX(-50%) rotate(45deg);
}

.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-btn[aria-expanded="true"] span:nth-child(3) {
  top: calc(50% - 0.8px);
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 50px -30px rgba(13, 21, 38, 0.4);
  padding: 16px 6% 28px;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu nav>a {
  padding: 14px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-menu nav>a.active {
  color: var(--gold);
}

.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.mobile-accordion-trigger.active {
  color: var(--gold);
}

.mobile-accordion-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform .3s ease;
  flex-shrink: 0;
  color: inherit;
}

.mobile-accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.mobile-accordion-panel.open {
  max-height: 400px;
}

.mobile-accordion-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px 12px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.mobile-accordion-panel a.active {
  color: var(--gold);
}

.mobile-accordion-panel a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.mobile-menu .nav-cta {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: var(--btn-dark-text);
}

@media(max-width:900px) {
  .burger-btn {
    display: flex;
  }

  .nav-dropdown {
    display: none;
  }

}

@media(max-width:420px) {
  .mobile-menu {
    top: 72px;
    max-height: calc(100vh - 72px);
  }

}


/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 6% 80px;
  position: relative;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, color-mix(in srgb, var(--bg) 82%, transparent) 44%, color-mix(in srgb, var(--bg) 35%, transparent) 56%, transparent 72%),
    url("images/hero-bg.png") no-repeat right center / cover,
    var(--bg);
}

.hero-grid {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--gold-rich);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-rich);
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.08;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-rich);
  position: relative;
  white-space: nowrap;
}

.hero h1 .accent-underline {
  position: relative;
  display: inline-block;
}

.hero h1 .accent-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 14px;
  background: var(--gold-soft);
  z-index: -1;
  opacity: .7;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, #dfbc64 0%, #c49933 50%, #ad8224 100%);
  color: var(--navy-deep);
  padding: 16px 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  box-shadow: 0 8px 24px -6px rgba(184, 144, 72, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -8px rgba(184, 144, 72, 0.6);
  background: linear-gradient(135deg, #ebd082 0%, #d4aa40 50%, #bd9230 100%);
  color: var(--navy-deep);
}

.btn-primary svg {
  transition: transform .3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease, background-color .3s ease;
}

.btn-ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 52px;
}

.stat b {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--text);
  display: block;
}

.stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ---------- Hero service icons row ---------- */
.hero-services {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  max-width: 90px;
}

.hero-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-rich);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-service-icon svg {
  width: 24px;
  height: 24px;
}

.hero-service-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.hero-service-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.35;
}


/* ---------- MARQUEE ---------- */
.marquee-band {
  background: var(--navy-deep);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: scroll-left 22s linear infinite;
}

.marquee-track span {
  color: var(--gold-soft);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin: 0 32px;
  opacity: 0.9;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

}


/* ---------- DOMAINES (détail complet) ---------- */
.domains {
  padding: 60px 6% 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.domains-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.domains-visual {
  position: sticky;
  top: 100px;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 40px 70px -40px rgba(22, 33, 62, 0.4);
  overflow: hidden;
}

.domains-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.domains-visual:hover img {
  transform: scale(1.04);
}

.domain-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.domain-item:last-child {
  border-bottom: none;
}

.domain-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text);
}

.domain-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.domains-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.trio-parallax {
  display: block;
}

.trio-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  box-shadow: 0 20px 40px -28px rgba(22, 33, 62, 0.3);
  transition: opacity .5s cubic-bezier(.22, .61, .36, 1), transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}

.domains-trio .trio-parallax:nth-child(2) .trio-item {
  margin-top: -28px;
}

.domains-trio .trio-parallax:nth-child(1) .trio-item.reveal {
  transition-delay: 0s;
}

.domains-trio .trio-parallax:nth-child(2) .trio-item.reveal {
  transition-delay: .12s;
}

.domains-trio .trio-parallax:nth-child(3) .trio-item.reveal {
  transition-delay: .24s;
}

.trio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 55px -28px rgba(22, 33, 62, 0.4);
}

.trio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.trio-item:hover img {
  transform: scale(1.06);
}

@media(max-width:900px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }

  .domains-visual {
    position: relative;
    top: 0;
    max-width: 320px;
    margin: 0 auto 10px;
  }

  .domains-trio {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
  }

  .domains-trio .trio-parallax:nth-child(2) .trio-item {
    margin-top: 0;
  }

  .domains-trio .trio-parallax:nth-child(3) {
    grid-column: 1 / -1;
  }

  .domains-trio .trio-parallax:nth-child(3) .trio-item {
    aspect-ratio: 16/9;
  }

}

@media(max-width:560px) {
  .domains-trio {
    grid-template-columns: 1fr;
  }

  .domains-trio .trio-parallax:nth-child(3) {
    grid-column: auto;
  }

  .domains-trio .trio-parallax:nth-child(3) .trio-item {
    aspect-ratio: 3/4;
  }

}


/* ---------- CREST FEATURES (signature section) ---------- */
.features {
  padding: 120px 6%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head h2 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.crest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  max-width: 640px;
  margin: 0 auto;
  border: 3px solid var(--navy-deep);
  border-radius: 6px 6px 90px 90px / 6px 6px 60px 60px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(22, 33, 62, 0.35);
}

.quad {
  padding: 44px 32px;
  position: relative;
  transition: transform .35s ease, filter .35s ease;
  cursor: default;
}

.quad:hover {
  transform: scale(1.03);
  z-index: 2;
  filter: brightness(1.04);
}

.quad.q1 {
  background: var(--gold);
  border-right: 2px solid var(--navy-deep);
  border-bottom: 2px solid var(--navy-deep);
}

.quad.q2 {
  background: var(--grey);
  border-bottom: 2px solid var(--navy-deep);
}

.quad.q3 {
  background: var(--grey);
  border-right: 2px solid var(--navy-deep);
}

.quad.q4 {
  background: var(--navy-deep);
}

.quad .num {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.quad.q1 .num,
.quad.q1 h3,
.quad.q1 p {
  color: var(--navy-deep);
}

.quad.q4 .num,
.quad.q4 h3 {
  color: var(--gold);
}

.quad.q4 p {
  color: var(--gold-soft);
}

.quad.q2 .num,
.quad.q2 h3,
.quad.q2 p,
.quad.q3 .num,
.quad.q3 h3,
.quad.q3 p {
  color: var(--navy-deep);
}

.quad h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.quad p {
  font-size: 0.86rem;
  line-height: 1.55;
  opacity: 0.85;
}

.quad-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  opacity: 0.9;
}


/* ---------- PRICING ---------- */
.pricing {
  padding: 120px 6% 100px;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--edge);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(22, 33, 62, 0.3);
  border-color: transparent;
}

.price-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--edge) 15%, var(--surface));
  color: var(--edge);
  margin-bottom: 20px;
}

.price-icon svg {
  width: 26px;
  height: 26px;
}

.price-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}

.price-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}

.price-tag span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.price-tag b {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--text);
  font-weight: 800;
}

.price-tag small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-lines {
  margin-bottom: 20px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
}

.price-line:last-child {
  border-bottom: none;
}

.price-line span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.price-line b {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 800;
}

.price-btn {
  width: 100%;
  padding: 13px;
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  border-radius: 4px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.price-btn:hover {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border-color: var(--btn-dark-bg);
}

.price-img {
  width: calc(100% + 60px);
  height: 140px;
  margin: -36px -30px 22px;
  border-radius: 10px 10px 0 0;
  background-color: var(--edge);
  background-size: cover;
  background-position: center;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.price-card:hover .price-img {
  transform: scale(1.05);
}


/* ---------- PROCESS ---------- */
.process {
  background: var(--navy-deep);
  padding: 120px 6%;
  color: var(--white);
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process .section-head h2,
.process .section-head p {
  color: var(--white);
}

.process .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.step {
  background: var(--navy-deep);
  padding: 36px 26px;
  position: relative;
  transition: background .3s ease;
}

.step:hover {
  background: #1c2a4d;
}

.step .step-no {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 700;
  opacity: 0.5;
  display: block;
  margin-bottom: 16px;
  transition: opacity .3s ease;
}

.step:hover .step-no {
  opacity: 1;
}

.step h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.step p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}


/* ---------- ABOUT (QUI SOMMES-NOUS) ---------- */
.about-section {
  padding: 110px 6%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 70px;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 820px;
  margin-top: 12px;
}

.about-destinations {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
  padding: 16px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.dest-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.3px;
}

.dest-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dest-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dest-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.mission-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.mission-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-services-wrap {
  display: flex;
  flex-direction: column;
}

.services-head h3 {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 18px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover {
  transform: translateX(4px);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-rich);
  min-width: 34px;
  line-height: 1.1;
}

.service-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.service-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media(max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 80px 6%;
  }
}


/* ---------- FORM ---------- */
.apply {
  padding: 120px 6%;
  max-width: 1280px;
  margin: 0 auto;
}

.apply-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: flex-start;
}

.apply-copy h2 {
  font-size: 2.3rem;
  color: var(--text);
  margin-bottom: 20px;
}

.apply-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.trust-list {
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color .3s ease, border-color .3s ease;
}

.trust-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
  transform: rotate(45deg);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 44px;
  box-shadow: 0 40px 70px -40px rgba(22, 33, 62, 0.25);
  transition: background-color .3s ease, border-color .3s ease;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-rich);
  margin: 26px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border);
  scroll-margin-top: 100px;
}

#projet {
  scroll-margin-top: 100px;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.declaration-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 20px 0;
  transition: background-color .3s ease, border-color .3s ease;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-line input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--gold-rich);
}

.checkbox-line span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 13px 14px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--surface);
}

.field input[readonly] {
  background: var(--surface-2);
  opacity: .75;
  cursor: default;
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #d32f2f;
}

.field-error {
  display: none;
  color: #d32f2f;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 2px;
}

.field-error.show {
  display: block;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pill {
  position: relative;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.radio-pill span {
  display: inline-block;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}

.radio-pill input:checked+span {
  border-color: var(--gold);
  background: var(--navy-deep);
  color: var(--gold);
}

.radio-pill input:focus-visible+span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.submit-btn {
  width: 100%;
  background: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border: none;
  padding: 17px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-rich) 100%);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(212, 175, 55, 0.55);
}


/* ---------- LOCATION ---------- */
.location {
  padding: 100px 6% 120px;
  max-width: 1280px;
  margin: 0 auto;
}

.location-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 48px 40px;
  box-shadow: 0 40px 70px -40px rgba(22, 33, 62, 0.25);
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 46px 80px -40px rgba(22, 33, 62, 0.32);
}

.location-address {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.location-pin {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

@media(max-width:480px) {
  .location-card {
    padding: 36px 24px;
  }

}


/* ---------- CONTACT ---------- */
.contact {
  padding: 120px 6%;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: flex-start;
}

.contact-copy h2 {
  font-size: 2.3rem;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-copy p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 30px;
  transition: background-color .3s ease, border-color .3s ease;
}

.contact-info-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-rich);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phone-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-phone-item:last-child {
  border-bottom: none;
}

.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.contact-phone-link svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-phone-link:hover {
  color: var(--gold);
}

.contact-wa-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.6);
}

.contact-wa-btn svg {
  width: 19px;
  height: 19px;
}

.contact-wa-btn:hover {
  transform: translateY(-2px) scale(1.06);
}

@media(max-width:480px) {
  .contact-info {
    padding: 22px 20px;
  }

  .contact-phone-link {
    font-size: 0.9rem;
  }

}


/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.5);
  padding: 50px 6% 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .foot-brand {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

footer p {
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), background-color .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}

.social-links a svg {
  width: 19px;
  height: 19px;
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.08);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 14px 26px -10px rgba(232, 182, 74, 0.55);
}

@media(max-width:480px) {
  .social-links {
    gap: 12px;
  }

  .social-links a {
    width: 40px;
    height: 40px;
  }

  .social-links a svg {
    width: 17px;
    height: 17px;
  }

}

footer .foot-guides {
  margin-top: 14px;
}

footer .foot-guides p {
  margin: 0 auto;
  max-width: 900px;
}

footer .foot-guides-title {
  margin-top: 14px !important;
  margin-bottom: 4px !important;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  letter-spacing: .03em;
}

footer .foot-guide {
  display: inline-block;
  margin: 4px 10px;
  font-size: 0.85rem;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 212, 136, 0.35);
  padding-bottom: 2px;
}

footer .foot-guide:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}


/* ---------- floating whatsapp ---------- */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.65);
  cursor: pointer;
  z-index: 200;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.float-wa:hover {
  transform: scale(1.1) rotate(8deg);
}

@media(max-width:900px) {
  .apply-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 76%, transparent) 0%,
        color-mix(in srgb, var(--bg) 62%, transparent) 45%,
        color-mix(in srgb, var(--bg) 82%, transparent) 100%),
      url("images/hero-bg.png") no-repeat center center / cover,
      var(--bg);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  nav ul {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    gap: 10px;
  }

  .admin-link {
    display: none;
  }

}

@media(max-width:420px) {
  header {
    padding: 14px 5%;
  }

  .nav-cta {
    padding: 9px 16px;
    font-size: 0.76rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-dropdown-trigger {
    height: 36px;
    padding: 0 10px;
  }

  .nav-dropdown-trigger .trigger-label {
    display: none;
  }

  .mega-menu {
    top: 72px;
  }

}

/* ---------- MOBILE CENTERING & ZERO HORIZONTAL SCROLL ---------- */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

@media(max-width: 768px) {
  .hero {
    padding: 120px 5% 60px;
    text-align: center;
    justify-content: center;
  }

  .hero-grid {
    display: flex;
    justify-content: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .eyebrow {
    justify-content: center;
  }

  .eyebrow::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--gold-rich);
  }

  .hero h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero p.lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .stats-row {
    justify-content: center;
    width: 100%;
    gap: 24px;
  }

  .stat {
    text-align: center;
  }

  .hero-services {
    justify-content: center;
    width: 100%;
    gap: 16px;
  }

  .hero-service-item {
    max-width: 72px;
  }

  .hero-service-icon {
    width: 44px;
    height: 44px;
  }

  .hero-service-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-service-item span {
    font-size: 0.65rem;
  }

  /* Section headers & contents */
  .section-head {
    text-align: center;
  }

  .section-head p {
    margin-left: auto;
    margin-right: auto;
  }

  .domains-list {
    text-align: center;
  }

  .domain-item {
    text-align: center;
  }

  .crest-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 12px;
  }

  .quad {
    text-align: center;
    padding: 24px 20px;
    align-items: center;
  }

  .quad-icon {
    margin: 0 auto 14px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step {
    text-align: center;
    align-items: center;
  }

  .about-copy {
    text-align: center;
  }

  .about-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .services-list {
    text-align: left;
  }

  .apply-copy {
    text-align: center;
  }

  .trust-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto 28px;
  }

  .location-card {
    text-align: center;
    padding: 30px 20px;
  }

  .location-address {
    justify-content: center;
    text-align: center;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-phone-list {
    text-align: left;
  }
}

@media(max-width: 480px) {
  .hero h1 {
    font-size: 1.95rem;
  }

  .stats-row {
    gap: 16px;
  }

  .stat b {
    font-size: 1.55rem;
  }

  .stat span {
    font-size: 0.68rem;
  }

  .hero-services {
    justify-content: center;
    width: 100%;
    gap: 12px 8px;
    margin-top: 36px;
  }

  .hero-service-item {
    flex: 1 1 54px;
    max-width: 62px;
  }

  .hero-service-icon {
    width: 42px;
    height: 42px;
  }

  .hero-service-icon svg {
    width: 19px;
    height: 19px;
  }

  .hero-service-item span {
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .form-card {
    padding: 26px 18px;
  }

  .price-card {
    padding: 28px 20px;
    text-align: center;
    align-items: center;
  }

  .price-icon {
    margin: 0 auto 16px;
  }
}


/* ---------- COMPREHENSIVE RESPONSIVE TUNING (ALL DEVICES & SCREENS) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
picture,
video {
  max-width: 100%;
  height: auto;
}

/* Headings text balance & wrapping */
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media(max-width: 900px) {
  header {
    height: 68px;
    padding: 10px 4%;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .mobile-menu {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  /* Padding adjustments across all sections */
  .hero {
    padding-top: 100px;
  }

  .pricing,
  .domains,
  .features,
  .process,
  .about-section,
  .apply,
  .location,
  .contact {
    padding-left: 5% !important;
    padding-right: 5% !important;
    overflow-x: hidden;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .apply-copy h2,
  .contact-copy h2 {
    font-size: 1.9rem;
  }
}

@media(max-width: 480px) {
  header {
    height: 64px;
    padding: 8px 3.5%;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .nav-cta {
    padding: 7px 11px;
    font-size: 0.74rem;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .burger-btn {
    width: 36px;
    height: 36px;
  }

  .mobile-menu {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  /* Headings on small mobile screens */
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.15;
    letter-spacing: -0.3px;
  }

  .section-head h2 {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  .apply-copy h2,
  .contact-copy h2 {
    font-size: 1.65rem;
    line-height: 1.2;
  }

  /* Form inputs & buttons full responsiveness */
  .form-card {
    padding: 22px 14px;
    border-radius: 8px;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 11px 12px;
    font-size: 0.88rem;
    width: 100%;
    max-width: 100%;
  }

  .radio-pill span {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .submit-btn {
    padding: 15px 16px;
    font-size: 0.9rem;
  }

  .location-card {
    padding: 24px 16px;
  }

  .contact-info {
    padding: 20px 16px;
  }

  .contact-phone-item {
    flex-wrap: wrap;
    gap: 8px;
  }
}