/* =====================================================================
   AQUA ÉLITE · Piscines & spas de prestige · Montréal
   Démo Nextiweb.ca — 2026
   ===================================================================== */

/* -------- 1. RESET & TOKENS -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select, button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

:root {
  /* Palette */
  --ink-900: #061626;
  --ink-800: #0A2540;
  --ink-700: #0F2F4F;
  --ink-600: #163E64;
  --ink-500: #2A5680;
  --cyan-400: #7AE3EE;
  --cyan-500: #00C2D1;
  --cyan-600: #00A3B0;
  --copper-400: #DEAF87;
  --copper-500: #C8956D;
  --copper-600: #A77A56;
  --paper:    #F8FBFD;
  --paper-2:  #EDF4F8;
  --line:     #D6E2EB;
  --muted:    #5A7A92;

  /* Effets */
  --grad-aqua: linear-gradient(135deg, #00C2D1 0%, #7AE3EE 50%, #C8956D 100%);
  --grad-deep: linear-gradient(180deg, #0A2540 0%, #061626 100%);
  --grad-card: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 40px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 30px 80px rgba(10, 37, 64, 0.18);
  --shadow-glow: 0 0 60px rgba(0, 194, 209, 0.25);

  /* Typo */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --header-h: 76px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html, body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan-500); color: var(--ink-900); }

/* Skip-link */
.skip-link {
  position: absolute; top: -40px; left: 16px;
  background: var(--ink-800); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; z-index: 9999;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 0; }

/* Custom cursor (desktop) */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px;
  pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(circle, rgba(0,194,209,0.18) 0%, rgba(0,194,209,0) 60%);
  transform: translate(-50%, -50%);
  transition: opacity .4s var(--ease-out);
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.active { opacity: 1; }
}

/* Container utilitaire */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* -------- 2. TYPOGRAPHY -------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink-800);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 300; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 300; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-700); font-family: var(--font-body); }

p { color: var(--muted); font-size: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan-600);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 0 rgba(0, 194, 209, 0.7);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 194, 209, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0, 194, 209, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 209, 0); }
}

.grad-text {
  background: var(--grad-aqua);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-style: italic;
}

/* -------- 3. BUTTONS & CHIPS -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-compact { padding: 11px 20px; font-size: 0.9rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: var(--ink-900);
  box-shadow: 0 8px 24px rgba(0, 194, 209, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cyan-400), #fff);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 194, 209, 0.45); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.25); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

/* Filter chips */
.chip {
  padding: 10px 20px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-700);
  font-size: 0.9rem; font-weight: 500;
  border: 1px solid transparent;
  transition: all .25s var(--ease-out);
}
.chip:hover { border-color: var(--cyan-500); color: var(--ink-800); }
.chip.active {
  background: var(--ink-800); color: #fff;
  box-shadow: 0 6px 18px rgba(10,37,64,0.25);
}

/* -------- 4. HEADER -------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(248, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.header.scrolled {
  background: rgba(248, 251, 253, 0.92);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 500;
  color: var(--ink-800); letter-spacing: -0.01em;
}
.brand-mark { width: 32px; height: 32px; }
.brand-text em { font-style: italic; color: var(--copper-500); font-weight: 400; }

.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-700);
  position: relative; padding: 6px 0;
  transition: color .2s var(--ease-out);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--grad-aqua);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav a:hover { color: var(--ink-800); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: inline-flex; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.lang-switch a { padding: 4px 6px; transition: color .2s; }
.lang-switch a.active { color: var(--ink-800); }
.lang-switch a:hover { color: var(--cyan-600); }

/* Mobile nav */
.nav-toggle {
  display: none; width: 42px; height: 42px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink-800);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-md); z-index: 99;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--ink-700);
}
.mobile-nav a:hover { background: var(--paper-2); }
.mobile-nav .btn { margin-top: 8px; align-self: flex-start; }

/* -------- 5. HERO -------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  color: #fff; isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: -1;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease-out) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,22,38,0.55) 0%, rgba(6,22,38,0.35) 40%, rgba(6,22,38,0.85) 100%),
    linear-gradient(110deg, rgba(10,37,64,0.7) 0%, rgba(10,37,64,0) 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 80%);
}

.hero-content {
  padding: 120px 0 80px;
  position: relative; z-index: 2;
  max-width: 920px;
}
.hero .eyebrow { color: var(--cyan-400); }
.hero-title {
  color: #fff; margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(248, 251, 253, 0.85);
  max-width: 600px; margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  max-width: 720px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 400; color: #fff; letter-spacing: -0.02em;
}
.hero-stats span { font-size: 0.78rem; color: rgba(248, 251, 253, 0.7); letter-spacing: 0.04em; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.5);
  display: grid; place-items: center;
  z-index: 2;
}
.hero-scroll span {
  width: 3px; height: 8px; background: #fff; border-radius: 99px;
  animation: scrollDot 1.8s var(--ease-out) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-8px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* -------- 6. SECTIONS -------- */
.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.section.services { background: var(--paper); }
.section.gallery { background: var(--paper-2); }
.section.process {
  background: var(--grad-deep); color: #fff;
  position: relative; overflow: hidden;
}
.section.process::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,194,209,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(200,149,109,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.section.process h2, .section.process h3 { color: #fff; }
.section.process p { color: rgba(248,251,253,0.75); }
.section.process .eyebrow { color: var(--cyan-400); }

.section.reviews { background: var(--paper); }
.section.faq { background: var(--paper-2); }
.section.cta {
  background: var(--grad-deep); color: #fff;
  position: relative; overflow: hidden;
}
.section.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(0,194,209,0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(200,149,109,0.14) 0%, transparent 50%);
}
.section.cta h2 { color: #fff; }
.section.cta p { color: rgba(248,251,253,0.78); }
.section.cta .eyebrow { color: var(--cyan-400); }

.section-head {
  text-align: center; max-width: 760px; margin: 0 auto 64px;
}
.section-head.left { text-align: left; margin: 0 0 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }

/* -------- 7. SERVICES BENTO -------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
}
.bento-lg { grid-column: span 3; grid-row: span 2; }
.bento-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.bento-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(0,194,209,0.10), transparent 40%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-lg);
}
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; }

.bento-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,194,209,0.15), rgba(200,149,109,0.08));
  color: var(--cyan-600);
  border-radius: 14px; margin-bottom: 22px;
}
.bento-icon svg { width: 28px; height: 28px; }
.bento-card h3 { margin-bottom: 10px; }
.bento-card p { font-size: 0.95rem; }
.bento-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.bento-list li {
  font-size: 0.92rem; color: var(--ink-700);
  padding-left: 26px; position: relative;
}
.bento-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--grad-aqua); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,194,209,0.15);
}

.bento-lg {
  background: linear-gradient(160deg, var(--ink-800) 0%, var(--ink-700) 100%);
  color: #fff; border: 0;
  position: relative;
}
.bento-lg::after {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,194,209,0.25), transparent 70%);
  pointer-events: none;
}
.bento-lg h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.bento-lg p { color: rgba(248,251,253,0.78); }
.bento-lg .bento-icon { background: rgba(0,194,209,0.2); color: var(--cyan-400); }
.bento-lg .bento-list { border-top-color: rgba(255,255,255,0.12); }
.bento-lg .bento-list li { color: rgba(248,251,253,0.85); }

/* -------- 8. GALERIE -------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 48px;
}

.grid-gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.gcard {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-800);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.gcard img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.gcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,22,38,0.85) 100%);
  pointer-events: none;
  transition: opacity .3s;
}
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gcard:hover img { transform: scale(1.06); }
.gcard.hidden { display: none; }

.gcard figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  color: #fff; z-index: 2;
}
.gcard .tag {
  display: inline-block; padding: 5px 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cyan-400);
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 10px;
}
.gcard h3 {
  color: #fff; font-size: 1.4rem; font-weight: 500;
  margin-bottom: 4px;
}
.gcard figcaption p {
  color: rgba(255,255,255,0.78); font-size: 0.88rem;
}

/* -------- 9. PROCESSUS / STEPS -------- */
.steps {
  display: grid; gap: 26px;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.steps::before {
  content: ""; position: absolute;
  top: 38px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,194,209,0.5) 50%, transparent 100%);
}
.step {
  position: relative;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.step:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,194,209,0.4);
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 300;
  background: var(--grad-aqua);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.step h3 { margin-bottom: 8px; }

/* -------- 10. TÉMOIGNAGES -------- */
.grid-reviews {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--copper-500); font-size: 1rem; letter-spacing: 2px; }
.review blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 400;
  color: var(--ink-800); line-height: 1.5;
  font-style: italic;
}
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; font-size: 0.85rem; color: #fff;
  letter-spacing: 0.05em;
}
.avatar[data-color="cyan"] { background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600)); }
.avatar[data-color="copper"] { background: linear-gradient(135deg, var(--copper-500), var(--copper-600)); }
.review footer strong { display: block; font-size: 0.95rem; color: var(--ink-800); }
.review footer span { font-size: 0.82rem; color: var(--muted); }

/* -------- 11. FAQ -------- */
.faq-wrap {
  display: grid; gap: 60px;
  grid-template-columns: 1fr 1.4fr; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink-800); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative; width: 22px; height: 22px; flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; background: var(--cyan-600);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-spring);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 26px 24px; }
.faq-body p { color: var(--muted); }
.faq-body strong { color: var(--ink-800); }

/* -------- 12. CTA / FORM -------- */
.cta-wrap {
  position: relative; z-index: 1;
  display: grid; gap: 60px;
  grid-template-columns: 0.9fr 1.1fr; align-items: center;
}
.cta-text h2 { margin-bottom: 16px; }
.cta-bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cta-bullets li {
  position: relative; padding-left: 30px;
  color: rgba(248,251,253,0.85); font-size: 0.98rem;
}
.cta-bullets li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cyan-500); color: var(--ink-900);
  font-size: 0.78rem; font-weight: 700;
  display: grid; place-items: center;
}

.cta-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 16px;
}
.cta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-size: 0.78rem; font-weight: 600; color: rgba(248,251,253,0.75);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  color: #fff; font-size: 0.95rem;
  transition: border-color .25s var(--ease-out), background .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(248,251,253,0.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan-500); background: rgba(255,255,255,0.10);
  outline: none;
}
.field select option { background: var(--ink-800); color: #fff; }
.field textarea { resize: vertical; min-height: 100px; font-family: inherit; }

.checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.85rem; color: rgba(248,251,253,0.75);
  cursor: pointer;
}
.checkbox input { margin-top: 2px; accent-color: var(--cyan-500); }

.form-note {
  font-size: 0.78rem; color: rgba(248,251,253,0.55);
  margin: 0;
}

/* -------- 12b. NEXTIWEB PARTNER BAND -------- */
.section.partner {
  background:
    linear-gradient(180deg, #061626 0%, #0A2540 60%, #061626 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.section.partner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px circle at 80% 20%, rgba(0,194,209,0.14) 0%, transparent 60%),
    radial-gradient(600px circle at 10% 90%, rgba(200,149,109,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.section.partner::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.section.partner > .container { position: relative; z-index: 1; }
.section.partner h2, .section.partner h3 { color: #fff; }
.section.partner .section-head p { color: rgba(248,251,253,0.78); }
.section.partner .eyebrow { color: var(--cyan-400); }

.grid-partner {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.partner-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), background .35s var(--ease-out);
  overflow: hidden;
}
.partner-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(0,194,209,0.10), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,194,209,0.45);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 20px 50px rgba(6,22,38,0.5);
}
.partner-card:hover::before { opacity: 1; }
.partner-card > * { position: relative; }

.partner-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,194,209,0.18), rgba(200,149,109,0.12));
  border: 1px solid rgba(0,194,209,0.25);
  color: var(--cyan-400);
  border-radius: 10px; margin-bottom: 4px;
}
.partner-icon svg { width: 20px; height: 20px; }
.partner-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.partner-card p {
  color: rgba(248,251,253,0.72);
  font-size: 0.9rem;
  line-height: 1.55;
  flex-grow: 1;
}
.partner-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  font-weight: 600; font-size: 0.85rem;
  color: var(--cyan-400);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: color .25s var(--ease-out), border-color .25s var(--ease-out), gap .25s var(--ease-out);
}
.partner-cta svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.partner-cta:hover {
  color: #fff;
  border-bottom-color: var(--cyan-400);
  gap: 12px;
}
.partner-cta:hover svg { transform: translateX(3px); }

@media (max-width: 1080px) {
  .grid-partner { grid-template-columns: 1fr; gap: 16px; }
}

/* -------- 13. FOOTER -------- */
.footer {
  background: var(--ink-900);
  color: rgba(248,251,253,0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 50px;
}
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 0.85rem; }
.footer p { color: rgba(248,251,253,0.7); font-size: 0.92rem; line-height: 1.7; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--cyan-400); }
.footer-tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; margin-top: 14px;
  color: rgba(248,251,253,0.6);
}
.footer .brand-text { color: #fff; }
.footer .brand-text em { color: var(--copper-400); }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 14px;
}
.footer-bar small { font-size: 0.82rem; color: rgba(248,251,253,0.5); }
.footer-credit a { color: var(--cyan-400); font-weight: 500; }

/* -------- 14. DEMO BADGE -------- */
.demo-badge {
  position: fixed; bottom: 20px; left: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(10,37,64,0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 500;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease-out);
}
.demo-badge:hover { transform: translateY(-2px); }
.demo-badge strong { color: var(--copper-400); letter-spacing: 0.08em; }
.demo-badge em { font-style: normal; color: var(--cyan-400); font-weight: 600; }
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--copper-500);
  box-shadow: 0 0 0 0 rgba(200,149,109,0.7);
  animation: pulse 2.4s var(--ease-out) infinite;
}

/* -------- 15. SCROLL REVEAL -------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* -------- 16. RESPONSIVE -------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-compact { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; grid-row: span 1; }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .grid-reviews { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .cta-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 32px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 18px 20px; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  .grid-gallery { grid-template-columns: 1fr; }
  .grid-gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-form { padding: 24px; }
  .cta-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .demo-badge { font-size: 0.72rem; padding: 8px 12px; bottom: 12px; left: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media img { transform: none; animation: none; }
}
