/* ============================================================
   Planned Tráfego — Tráfego pago para TURISMO
   (alojamento local, hotéis, hostels, tours & experiências)
   Design system derived from ui-ux-pro-max skill:
   Pattern: "Video/Image-First Hero" + "Before-After" + "Feature Showcase"
   Style: Motion-Driven · Light theme · Sky blue #0EA5E9 + adventure orange #EA580C
   Typography: Space Grotesk + Inter + JetBrains Mono
   ============================================================ */

/* ---------- Design Tokens (light · travel) ---------- */
:root {
  /* Surfaces */
  --bg: #f0f9ff;             /* sky-50 */
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5fafe;
  --border: #d4e9f7;
  --border-strong: #b6ddf2;

  /* Text */
  --fg: #0b2a3d;             /* deep sky-navy */
  --fg-muted: #4d6b81;
  --fg-subtle: #84a0b4;

  /* Brand accents — sky blue (trust/travel) + orange (adventure/CTA) */
  --primary: #0ea5e9;        /* sky-500 */
  --primary-600: #0284c7;    /* sky-600 (button bg) */
  --primary-700: #0369a1;    /* sky-700 */
  --on-primary: #ffffff;
  --accent: #ea580c;         /* adventure orange */
  --accent-600: #c2410c;
  --sky-2: #38bdf8;          /* light sky */
  --sun: #f59e0b;            /* warm sun / stars */

  /* Semantic */
  --success: #16a34a;
  --danger: #dc2626;

  /* Effects — friendly, motion-driven */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --bw: 1px;
  --shadow-sm: 0 1px 2px rgba(2, 132, 199, 0.08);
  --shadow: 0 20px 45px -22px rgba(3, 105, 161, 0.35);
  --shadow-glow: 0 14px 30px -12px rgba(14, 165, 233, 0.5);
  --ring: 0 0 0 3px rgba(14, 165, 233, 0.32);

  /* Spacing + layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Type scale */
  --fs-display: clamp(2.6rem, 6.5vw, 5rem);
  --fs-h2: clamp(2rem, 4.2vw, 3rem);
  --fs-h3: clamp(1.25rem, 2.4vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.8vw, 1.3rem);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--fg);
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: var(--fs-h2);
  margin-top: 1rem;
}
.section-head p {
  color: var(--fg-muted);
  font-size: var(--fs-lead);
  margin-top: 1rem;
}
.text-gradient {
  background: linear-gradient(100deg, var(--primary) 0%, var(--sky-2) 35%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: var(--bw) solid transparent;
  min-height: 48px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-600) 100%);
  color: var(--on-primary);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: 0 18px 40px -12px rgba(14, 165, 233, 0.6);
}
.btn-accent {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-600) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(234, 88, 12, 0.5);
}
.btn-ghost {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--primary-700);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--surface-2);
}
.btn-block {
  width: 100%;
}
.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(240, 249, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 14px 2px rgba(14, 165, 233, 0.6);
}
.brand .muted {
  color: var(--fg-muted);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover {
  color: var(--primary-700);
  background: rgba(14, 165, 233, 0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 680px;
  background:
    radial-gradient(560px 320px at 78% 8%, rgba(245, 158, 11, 0.28), transparent 70%),
    radial-gradient(620px 360px at 20% 0%, rgba(56, 189, 248, 0.35), transparent 72%),
    linear-gradient(180deg, #e0f3ff 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* decorative horizon hills at hero bottom */
.hero-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  pointer-events: none;
  color: #dcefff;
  opacity: 0.7;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: var(--fs-display);
  max-width: 16ch;
  margin-top: 1.5rem;
}
.hero .lead {
  color: var(--fg-muted);
  font-size: var(--fs-lead);
  max-width: 56ch;
  margin-top: 1.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.75rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Hero stat cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.stat-card .num .unit {
  color: var(--accent);
}
.stat-card .label {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* ---------- Marquee (business types we serve) ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: #fff;
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  white-space: nowrap;
}
.marquee-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.marquee-item .sep {
  color: var(--accent);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ---------- Cards grid (services) ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--primary-700);
  margin-bottom: 1.25rem;
}
.card-icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: var(--fs-h3);
}
.card p {
  color: var(--fg-muted);
  margin-top: 0.75rem;
}
.card ul {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--fg);
  font-size: 0.95rem;
}
.card ul li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Methodology (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.step .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.step h3 {
  font-size: 1.15rem;
}
.step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ---------- Before / After ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.compare-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.compare-card.before {
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.compare-card.after {
  border-color: var(--primary);
  background: linear-gradient(180deg, #eaf7ff 0%, #ffffff 55%);
  box-shadow: var(--shadow-glow);
}
.compare-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare-card.before .compare-tag {
  color: var(--fg-subtle);
}
.compare-card.after .compare-tag {
  color: var(--primary-700);
}
.compare-card h3 {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}
.compare-rows {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.compare-rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.compare-card.before .compare-rows li {
  border-color: #e2e8f0;
}
.compare-rows li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.compare-rows .metric {
  color: var(--fg-muted);
  font-size: 0.92rem;
}
.compare-rows .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.compare-card.before .value {
  color: var(--fg-subtle);
}
.compare-card.after .value {
  color: var(--primary-700);
}
.compare-arrow {
  align-self: center;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary-700);
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.compare-arrow svg {
  width: 26px;
  height: 26px;
}
.compare-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--fg-subtle);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* ---------- Results band ---------- */
.results {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(245, 158, 11, 0.12), transparent 70%),
    linear-gradient(180deg, #e3f4ff 0%, #f0f9ff 100%);
  border-block: 1px solid var(--border);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.results-grid .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.results-grid .num .unit {
  color: var(--accent);
}
.results-grid .label {
  color: var(--fg-muted);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote .stars {
  display: flex;
  gap: 2px;
  color: var(--sun);
}
.quote .stars svg {
  width: 18px;
  height: 18px;
}
.quote blockquote {
  color: var(--fg);
  font-size: 1.05rem;
  line-height: 1.65;
}
.quote .person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.quote .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}
.quote .person .name {
  font-weight: 600;
  font-size: 0.95rem;
}
.quote .person .role {
  color: var(--fg-subtle);
  font-size: 0.85rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #eaf7ff 0%, #ffffff 45%);
  box-shadow: var(--shadow-glow);
}
.plan .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-600) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}
.plan h3 {
  font-size: 1.3rem;
}
.plan .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.75rem;
  color: var(--fg);
}
.plan .price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-muted);
  font-family: var(--font-body);
}
.plan > p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.plan ul {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.plan ul li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.plan ul li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.plan .btn {
  margin-top: auto;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--primary-700);
}
.faq-item summary .chev {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--fg-muted);
  transition: transform 0.25s ease;
}
.faq-item[open] summary .chev {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-item .faq-body {
  padding: 0 1.5rem 1.4rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ---------- Final CTA + Form ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
}
.cta-card {
  position: relative;
  background:
    radial-gradient(500px 240px at 12% 0%, rgba(56, 189, 248, 0.25), transparent 70%),
    radial-gradient(520px 260px at 92% 100%, rgba(245, 158, 11, 0.22), transparent 70%),
    #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-card h2 {
  font-size: var(--fs-h2);
}
.cta-card p {
  color: var(--fg-muted);
  font-size: var(--fs-lead);
  margin-top: 1rem;
}
.cta-points {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.cta-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cta-points svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Form */
.form {
  display: grid;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.field label .req {
  color: var(--accent);
}
.field input,
.field textarea {
  font: inherit;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--fg);
  padding: 0.85rem 1rem;
  min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-subtle);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--ring);
}
.field .error-msg {
  color: var(--danger);
  font-size: 0.82rem;
  display: none;
}
.field.invalid input,
.field.invalid textarea {
  border-color: var(--danger);
}
.field.invalid .error-msg {
  display: block;
}
.form-success {
  display: none;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: var(--success);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
}
.form-note {
  color: var(--fg-subtle);
  font-size: 0.82rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #e8f4fb;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand p {
  color: var(--fg-muted);
  margin-top: 1rem;
  max-width: 34ch;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.footer-col a {
  color: var(--fg-muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-col a:hover {
  color: var(--primary-700);
}
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--fg-muted);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.socials a:hover {
  color: var(--primary-700);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.socials svg {
  width: 20px;
  height: 20px;
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--fg-subtle);
  font-size: 0.88rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .card:hover,
  .step:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.5rem;
  }
  .nav-links.open a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
  .nav-links.open .mobile-cta {
    margin-top: 0.5rem;
  }
  .grid-2,
  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .compare {
    grid-template-columns: 1fr;
  }
  .compare-arrow {
    transform: rotate(90deg);
    margin-inline: auto;
  }
  .cta-card {
    grid-template-columns: 1fr;
  }
}

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

/* Mobile CTA visibility */
.nav-links .mobile-cta {
  display: none;
}
@media (max-width: 760px) {
  .nav-links.open .mobile-cta {
    display: inline-flex;
  }
}
