/* ==========================================================================
   Vantage Media — Design Tokens & Base
   ========================================================================== */

:root {
  /* Color — premium chalk white: warm off-white canvas, ink-gold accent, deep indigo secondary */
  --bg: #f7f5f0;
  --bg-soft: #efeae0;
  --surface: #ffffff;
  --surface-2: #fbf8f2;
  --surface-hover: #f3efe6;
  --border: rgba(28, 27, 24, 0.09);
  --border-strong: rgba(28, 27, 24, 0.16);

  --text-primary: #1c1b18;
  --text-secondary: #5b5850;
  --text-muted: #6b6759;

  --gold: #3fa0d8;
  --gold-soft: #146b96;
  --gold-dim: rgba(20, 107, 150, 0.12);

  --indigo: #6366f1;
  --indigo-soft: #4f46e5;
  --indigo-dim: rgba(79, 70, 229, 0.1);

  --success: #178a57;
  --danger: #a8302a;

  --on-gold: #0f2530;
  --on-indigo: #ffffff;

  /* Typography */
  --font-head: "Sora", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", ui-sans-serif, system-ui, sans-serif;

  /* Spacing rhythm (4/8 scale) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(28, 27, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 27, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 27, 24, 0.12);
  --shadow-gold: 0 8px 30px rgba(20, 107, 150, 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-med: 300ms;
  --dur-slow: 500ms;

  --container: 1200px;
  --fab-offset: 0px;
  color-scheme: light;
}

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

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

html.no-smooth {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

ul {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--on-gold);
}

/* Focus visibility — never remove, only restyle */
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4rem, 9vw, var(--space-10));
  position: relative;
}

@media (max-width: 640px) {
  .section {
    padding-block: clamp(2.75rem, 9vw, 4rem);
  }
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, var(--space-8));
}

.section-head.center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-dim);
  flex-shrink: 0;
}

.section-head.center .eyebrow {
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h2.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 600;
}

h2.section-title .accent {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 500;
}

p.section-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-top: var(--space-4);
}

.text-muted {
  color: var(--text-muted);
}

/* ---- Buttons ---- */
.btn[hidden] {
  display: none;
}

.btn {
  --btn-fg: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    background var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out);
  border: 1px solid transparent;
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--on-gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(63, 160, 216, 0.32);
}

.btn-ghost {
  background: rgba(28, 27, 24, 0.03);
  border-color: var(--border-strong);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(28, 27, 24, 0.055);
  border-color: rgba(28, 27, 24, 0.32);
  transform: translateY(-2px);
}

.hero--photo .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero--photo .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-med) var(--ease-out);
}

.btn:hover svg.arrow {
  transform: translateX(3px);
}

/* ---- Reveal / motion utility (JS + CSS fallback via IntersectionObserver) ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Background texture ---- */
.grain-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: var(--space-5);
  background: rgba(247, 245, 240, 0.32);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  transition: padding var(--dur-med) var(--ease-out),
    background var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  padding-block: var(--space-3);
  background: rgba(247, 245, 240, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.brand-logo {
  display: block;
  height: 88px;
  width: auto;
  flex-shrink: 0;
  transition: height var(--dur-med) var(--ease-out);
}

.nav.scrolled .brand-logo {
  height: 68px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding-block: 4px;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--gold);
  transition: right var(--dur-med) var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-cta {
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-soft);
  padding: calc(var(--space-8) + var(--space-4)) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-in-out);
  visibility: hidden;
}

.mobile-panel.open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-panel a {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding-block: var(--space-2);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.mobile-panel a:hover {
  color: var(--gold-soft);
}

.mobile-panel .mobile-meta {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-actions .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }
  .brand-logo {
    height: 48px;
  }
  .nav.scrolled .brand-logo {
    height: 40px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(7.5rem, 16vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero--photo {
  background-image: linear-gradient(180deg, rgba(8, 10, 20, 0.55) 0%, rgba(8, 10, 20, 0.72) 55%, rgba(8, 10, 20, 0.88) 100%),
    url("../images/hero-landscape.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero--photo .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero--photo h1 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero--photo h1 .accent {
  color: #8fd3ff;
}

.hero--photo .hero-sub {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.6;
  border-radius: 50%;
}

.hero-glow.gold {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(63, 160, 216, 0.28), transparent 70%);
}

.hero-glow.indigo {
  width: 560px;
  height: 560px;
  top: 120px;
  left: -220px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
}

.hero-flight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.hero-flight path {
  fill: none;
  stroke: url(#flightGradient);
  stroke-width: 1.5;
  stroke-linecap: round;
}

@media (max-width: 640px) {
  .hero-flight,
  .hero-glow {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
}

.hero h1 .accent {
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  margin-top: var(--space-6);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 620px;
}

.hero-actions {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ==========================================================================
   Marquee (industries served)
   ========================================================================== */

.marquee-wrap {
  position: relative;
  border-block: 1px solid var(--border);
  padding-block: var(--space-6);
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(28, 27, 24, 0.02), transparent);
}

.marquee-label {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(2.5rem, 6vw, 5rem);
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
  margin-left: clamp(2.5rem, 6vw, 5rem);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */

#services {
  background-image: linear-gradient(180deg, rgba(247, 245, 240, 0.86) 0%, rgba(247, 245, 240, 0.8) 100%),
    url("../images/services-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#services .section-head .eyebrow,
#services .section-head h2,
#services .section-head p {
  text-shadow: 0 0 14px var(--bg), 0 0 26px var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.services-grid--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-inline: auto;
}

.service-card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  transition: transform var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo-dim);
  color: var(--indigo-soft);
  margin-bottom: var(--space-5);
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}

.service-card:hover .service-icon {
  background: var(--gold-dim);
  color: var(--gold-soft);
}

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

.service-card h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Why a website (benefits)
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.benefit-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  color: var(--gold-soft);
  margin-bottom: var(--space-5);
  transition: background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}

.benefit-card:hover .benefit-icon {
  background: var(--indigo-dim);
  color: var(--indigo-soft);
}

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

.benefit-card h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-3);
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.benefit-card--photo {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  border-color: rgba(255, 255, 255, 0.16);
}

.benefit-card--photo h3,
.benefit-card--photo p {
  position: relative;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.benefit-card--photo p {
  color: rgba(255, 255, 255, 0.9);
}

.benefit-card--photo:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.benefit-card--square {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media (max-width: 980px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card--square {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   Process
   ========================================================================== */

#process {
  background: #f7e9e5;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  counter-reset: step;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-soft);
  margin-bottom: var(--space-5);
  transition: border-color var(--dur-med), box-shadow var(--dur-med);
}

.process-step:hover .process-num {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 6px var(--gold-dim);
}

.process-step h4 {
  font-size: 1.375rem;
  margin-bottom: var(--space-3);
}

.process-step p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6) var(--space-5);
  }
  .process-list::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .process-list {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .process-num {
    width: 44px;
    height: 44px;
    font-size: 0.875rem;
    margin-bottom: var(--space-3);
  }
  .process-step h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-1);
  }
  .process-step p {
    font-size: 0.9375rem;
  }
}

/* ==========================================================================
   Why Vantage Media
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, var(--space-9));
  align-items: center;
}

.why-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 20%, rgba(91, 110, 245, 0.16), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(63, 160, 216, 0.14), transparent 55%),
    var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.why-item {
  display: flex;
  gap: var(--space-4);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.4rem;
}

.why-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Instagram landing page trust strip */
.ig-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 780px) {
  .ig-trust-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-visual {
    max-width: 420px;
    margin-inline: auto;
    aspect-ratio: 16 / 11;
  }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, var(--space-9));
  text-align: center;
  background: linear-gradient(135deg, var(--surface-2), var(--bg-soft) 60%);
  border: 1px solid var(--border);
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(63, 160, 216, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-banner h2 {
  position: relative;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner p {
  position: relative;
  margin-top: var(--space-4);
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
}

.cta-banner .hero-actions {
  position: relative;
  justify-content: center;
  margin-top: var(--space-7);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, var(--space-9));
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-row {
  display: flex;
  gap: var(--space-4);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  flex-shrink: 0;
}

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

.contact-row h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.3rem;
}

.contact-row p,
.contact-row a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.contact-row a:hover {
  color: var(--gold-soft);
}

.contact-form {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.field {
  margin-bottom: var(--space-5);
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.field .req {
  color: var(--gold-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px var(--gold-dim);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field-hint {
  font-size: 0.8125rem;
  color: var(--danger);
  margin-top: var(--space-2);
  display: none;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--danger);
}

.field.invalid .field-hint {
  display: block;
}

.consent-field {
  margin-bottom: var(--space-5);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-soft);
  cursor: pointer;
}

.checkbox-label span {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.checkbox-label span a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-field.invalid .checkbox-label input[type="checkbox"] {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
  border-radius: 4px;
}

.form-note {
  margin-top: var(--space-4);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-error {
  display: none;
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm, 8px);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: var(--danger);
  font-size: 0.875rem;
  line-height: 1.5;
}

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

.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

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

.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--success);
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.form-success h3 {
  margin-bottom: var(--space-2);
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-8) var(--space-6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer {
    padding-block: var(--space-6) var(--space-5);
  }
}

/* ---- WhatsApp button ---- */
.whatsapp-btn {
  position: fixed;
  left: var(--space-5);
  bottom: calc(var(--space-5) + var(--fab-offset, 0px));
  z-index: 90;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out),
    bottom var(--dur-med) var(--ease-out);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

/* ---- Back to top ---- */
.to-top {
  position: fixed;
  right: var(--space-5);
  bottom: calc(var(--space-5) + var(--fab-offset, 0px));
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-med), transform var(--dur-med), visibility var(--dur-med), background var(--dur-fast),
    bottom var(--dur-med) var(--ease-out);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold-dim);
}

.to-top svg {
  width: 18px;
  height: 18px;
  color: var(--gold-soft);
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--text-primary);
  color: #f5f3ee;
  padding: var(--space-5) clamp(1.25rem, 4vw, 2.5rem);
  transform: translateY(120%);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
}

.cookie-consent-text {
  flex: 1 1 320px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.85);
}

.cookie-consent-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cookie-link-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(245, 243, 238, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur-fast);
  flex-shrink: 0;
}

.cookie-link-btn:hover {
  color: #ffffff;
}

.cookie-consent-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.8125rem;
}

.cookie-consent .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.cookie-consent .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.cookie-consent-prefs {
  flex-basis: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-prefs[hidden] {
  display: none;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-pref-copy strong {
  display: block;
  font-size: 0.875rem;
  color: #ffffff;
}

.cookie-pref-copy span {
  font-size: 0.8125rem;
  color: rgba(245, 243, 238, 0.65);
}

.cookie-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-out);
}

.cookie-toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform var(--dur-fast) var(--ease-out);
}

.cookie-toggle.is-on {
  background: var(--gold);
}

.cookie-toggle.is-on .cookie-toggle-dot {
  transform: translateX(18px);
}

.cookie-toggle.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent-text {
    flex: 1 1 auto;
  }
  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent-buttons {
    justify-content: stretch;
  }
  .cookie-consent-buttons .btn {
    flex: 1;
  }
}

/* ---- Footer legal links ---- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.footer-legal a,
.footer-legal-btn {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}

.footer-legal-btn {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal a:hover,
.footer-legal-btn:hover {
  color: var(--gold-soft);
}

/* ==========================================================================
   Legal pages (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-hero {
  padding-top: clamp(7rem, 14vw, 9rem);
  padding-bottom: var(--space-6);
}

.legal-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.legal-updated {
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

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

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.legal-content p {
  margin-bottom: var(--space-4);
}

.legal-content ul {
  margin-bottom: var(--space-4);
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-content li {
  margin-bottom: var(--space-2);
}

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

.legal-content strong {
  color: var(--text-primary);
}

.legal-toc {
  margin-bottom: var(--space-8);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.legal-toc h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}

.legal-toc ol {
  columns: 2;
  column-gap: var(--space-6);
  padding-left: 1.1rem;
  margin: 0;
}

.legal-toc li {
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
  break-inside: avoid;
}

.legal-toc a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

@media (max-width: 560px) {
  .legal-toc ol {
    columns: 1;
  }
}
