/* ============================================================
   WashMas.app landing — vanilla CSS, no build step.
   Design tokens ported 1:1 from the previous Next.js/Tailwind
   implementation (app/globals.css + component styles).
   ============================================================ */

/* ---- Fonts (self-hosted, no request to Google at runtime) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/readex-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/readex-pro-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+1E00-1EFF;
}

/* ---- Design tokens ---- */
:root {
  --primary: #105dfb;
  --primary-hover: #0a4ed6;
  --primary-50: #eef3ff;
  --success: #02ca79;
  --error: #e65454;

  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --border: #e5e7eb;
  --text: #111827;
  --text-secondary: #6b7280;
  --nav-bg: rgba(249, 250, 251, 0.85);

  --font-sans: "Inter", system-ui, sans-serif;
  --font-heading: "Readex Pro", "Inter", system-ui, sans-serif;
}

/* ---- Reset & base ---- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--primary);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, filter 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}
.btn-secondary {
  background: var(--primary-50);
  color: var(--primary);
}
.btn-secondary:hover {
  filter: brightness(0.97);
}
.btn-lg {
  font-size: 16px;
  padding: 15px 26px;
}
.btn-md {
  font-size: 13px;
  padding: 9px 13px;
  white-space: nowrap;
}
@media (min-width: 720px) {
  .btn-md {
    font-size: 14px;
    padding: 11px 18px;
  }
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- Cards (reused by testimonials, features, how-it-works, pricing) ---- */
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
}

/* ---- Reveal-on-scroll ----
   Same mechanism as the previous React implementation: the entrance
   transition runs once (opacity+translate), then site.js drops the
   "reveal" class on transitionend so hover states on .card aren't
   blocked by a competing transition on the same properties. */
.reveal {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}
.reveal-visible {
  opacity: 1;
  translate: 0 0;
}
.card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .card {
    transition: none;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 1.8s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-dot {
    animation: none;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav-header.scrolled {
  border-bottom-color: var(--border);
}
.nav-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  padding-bottom: 14px;
}
@media (min-width: 720px) {
  .nav-row {
    gap: 24px;
  }
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  flex: none;
  min-width: 0;
}
@media (min-width: 720px) {
  .nav-logo {
    gap: 10px;
    font-size: 19px;
  }
}
.nav-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
@media (min-width: 720px) {
  .nav-logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
}
.nav-logo-mark span {
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: block;
}
@media (min-width: 720px) {
  .nav-logo-mark span {
    width: 11px;
    height: 11px;
    border-width: 2.5px;
  }
}
.nav-logo .dim {
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-sans);
  font-size: 12px;
}
@media (max-width: 359px) {
  /* Logo + hamburger + CTA all need to fit on one row (see the "Bugs
     de responsive" section in estado-implementacion.md) — on the very
     narrowest phones the ".app" suffix is the cheapest thing to drop
     to make room, still leaves "WashMas" clearly branded. */
  .nav-logo .dim {
    display: none;
  }
}
@media (min-width: 720px) {
  .nav-logo .dim {
    font-size: 15px;
  }
}
/* Mobile: full-screen overlay (matches the pattern most sites use —
   Instagram/TikTok/IKEA on Mobbin — instead of a small dropdown card
   that a sticky header would otherwise drag along on scroll). */
.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  /* --nav-h is set by site.js from the header's real measured height —
     more robust than a hardcoded guess, since whether nav-row wraps to
     one or two lines can change with content/viewport. Falls back to
     64px (single-line height) if JS hasn't run yet. */
  top: var(--nav-h, 64px);
  left: 0;
  right: 0;
  /* height, not bottom:0 — .nav-header's backdrop-filter makes it the
     containing block for this fixed element instead of the viewport,
     so "bottom:0" would resolve against the header's own box.
     100vh is a physical viewport unit and isn't affected by that. */
  height: calc(100vh - var(--nav-h, 64px));
  /* Solid, not glass: a full-screen panel with dense hero text behind
     it reads the background text through the blur and competes with
     the menu's own links (confirmed visually) — glass suits the thin
     header strip, not a panel this size. Matches the reference apps
     checked on Mobbin (Instagram/TikTok for Business/IKEA), which all
     use an opaque full-screen menu, not a translucent one.
     Brand-blue gradient instead of white — same blue already used for
     the "business band" section, so it's a color already established
     in this design, not a new one. */
  background: linear-gradient(165deg, var(--primary) 0%, var(--primary-hover) 100%);
  padding: 8px 28px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  translate: 0 -12px;
  transition: opacity 0.25s ease, translate 0.25s ease, visibility 0s linear 0.25s;
}
.nav-links.open {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.25s ease, translate 0.25s ease;
}
.nav-links a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: #fff;
}
.nav-links a:hover {
  color: rgb(255 255 255 / 75%);
}
.nav-links-secondary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}
.nav-links-secondary .nav-text-link {
  font-size: 15px;
  color: rgb(255 255 255 / 70%);
}
.nav-links-secondary .nav-text-link:hover {
  color: #fff;
}
@media (min-width: 720px) {
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    margin-left: 14px;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: none;
  }
  .nav-links a {
    padding: 0;
    border-bottom: none;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s ease;
  }
  .nav-links a:hover {
    color: var(--text);
  }
  .nav-links-secondary {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links {
    transition: none;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  color: var(--text);
  flex: none;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }
}
.nav-right .nav-text-link {
  display: none;
}
@media (min-width: 720px) {
  .nav-right .nav-text-link {
    display: inline;
  }
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
@media (min-width: 720px) {
  .nav-right {
    gap: 20px;
  }
}
.nav-text-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-text-link:hover {
  color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 44px;
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 40px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.08;
  margin: 0 0 20px;
}
@media (min-width: 720px) {
  .hero-title {
    font-size: 44px;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 52px;
  }
}
.hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--text);
}
.hero-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}
.hero-visual {
  position: relative;
  min-height: 300px;
}
@media (min-width: 900px) {
  .hero-visual {
    min-height: 440px;
  }
}
.hero-dashboard {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 14px;
  height: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 900px) {
  .hero-dashboard {
    padding: 16px;
    height: 380px;
    gap: 12px;
  }
}
.hero-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-dashboard-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgb(2 202 121 / 14%);
  padding: 4px 9px;
  border-radius: 999px;
}
.hero-live-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
.hero-dashboard-frame {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-dashboard-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.hero-phone {
  position: absolute;
  bottom: -16px;
  left: -10px;
  width: 130px;
  height: 262px;
  border: 7px solid var(--text);
  border-radius: 26px;
  background: var(--surface);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero-phone {
    bottom: -24px;
    left: -14px;
    width: 184px;
    height: 372px;
    border-width: 9px;
    border-radius: 34px;
  }
}
.hero-phone-frame {
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 900px) {
  .hero-phone-frame {
    border-radius: 24px;
  }
}
.hero-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ============================================================
   SECTION HEADER (shared by features/how/pricing)
   ============================================================ */
.section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.section-tight {
  padding-top: 56px;
  padding-bottom: 56px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  margin: 12px 0 14px;
}
@media (min-width: 720px) {
  .section-title {
    font-size: 38px;
  }
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 40px;
  text-align: center;
}
@media (min-width: 720px) {
  .testimonials-title {
    font-size: 34px;
  }
}
.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.testimonial-name {
  font-weight: 600;
  font-size: 15px;
}
.testimonial-role {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   FEATURES
   ============================================================ */
.feature-card {
  padding: 26px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.feature-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
}
.feature-description {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ============================================================
   BUSINESS BAND (blue)
   ============================================================ */
.band {
  background: var(--primary);
  margin-top: 24px;
}
.band-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .band-inner {
    padding-top: 72px;
    padding-bottom: 72px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }
}
.band-eyebrow {
  color: rgb(255 255 255 / 75%);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.band-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
  margin: 12px 0 16px;
}
@media (min-width: 720px) {
  .band-title {
    font-size: 36px;
  }
}
.band-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgb(255 255 255 / 85%);
  margin: 0 0 28px;
  max-width: 440px;
}
.band-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.band-stat {
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 20px;
  padding: 26px;
}
.band-stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  line-height: 1;
}
@media (min-width: 720px) {
  .band-stat-value {
    font-size: 34px;
  }
}
.band-stat-label {
  font-size: 14px;
  color: rgb(255 255 255 / 80%);
  margin-top: 8px;
  line-height: 1.4;
}
.band .btn-primary {
  background: #fff;
  color: var(--primary);
}
.band .btn-primary:hover {
  filter: brightness(0.94);
  color: var(--primary);
  background: #fff;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.step-card {
  padding: 32px;
}
.step-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.25;
}
.step-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border: 2px solid var(--primary);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.pricing-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 4px;
}
.pricing-tag {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.pricing-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 38px;
}
.pricing-unit {
  font-size: 14px;
  color: var(--text-secondary);
}
.pricing-card .btn {
  width: 100%;
  margin-bottom: 24px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.pricing-features svg {
  flex: none;
  margin-top: 1px;
}

/* ============================================================
   GUIDE / LEAD MAGNET
   ============================================================ */
.guide-panel {
  padding: 28px 24px;
}
@media (min-width: 720px) {
  .guide-panel {
    padding: 44px;
  }
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 48px;
  }
}
.guide-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  margin: 12px 0 12px;
}
@media (min-width: 720px) {
  .guide-title {
    font-size: 30px;
  }
}
.guide-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 22px;
  max-width: 440px;
}
.guide-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.guide-bullets svg {
  flex: none;
  margin-top: 1px;
}
.guide-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}

/* ============================================================
   FORMS (guide form + demo modal form)
   ============================================================ */
.form-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 2px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.field input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus {
  border-color: var(--primary);
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.turnstile-widget {
  max-width: 100%;
  overflow: hidden;
}
.form-error {
  font-size: 13px;
  color: var(--error);
}
.form-privacy {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.form-call {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.form-call a {
  font-weight: 600;
}
.form-success {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 8px 0;
}
.form-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgb(2 202 121 / 16%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.form-success-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}
.form-success-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
[hidden] {
  display: none !important;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}
.faq-icon {
  flex: none;
  color: var(--primary);
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.32s ease, opacity 0.28s ease;
}
.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-panel-inner {
  overflow: hidden;
}
.faq-answer {
  padding: 0 22px 22px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta-card {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 24px;
  padding: 48px 28px;
  text-align: center;
}
@media (min-width: 720px) {
  .final-cta-card {
    padding: 64px 40px;
  }
}
.final-cta-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.12;
  margin: 0 0 14px;
}
@media (min-width: 720px) {
  .final-cta-title {
    font-size: 38px;
  }
}
.final-cta-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 auto 32px;
  max-width: 520px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-grid {
  padding-top: 52px;
  padding-bottom: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}
.footer-brand {
  grid-column: span 2;
}
@media (min-width: 720px) {
  .footer-brand {
    grid-column: span 1;
  }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-mark span {
  width: 10px;
  height: 10px;
  border: 2.5px solid #fff;
  border-radius: 50%;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 14px;
  max-width: 280px;
  line-height: 1.55;
}
.footer-contact {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
}
.footer-contact:hover {
  color: var(--text);
}
.footer-heading {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-links span {
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   WHATSAPP FLOTANTE — botón con pulso + panel de chat desplegable
   ============================================================ */
.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
@media (min-width: 900px) {
  .whatsapp-widget {
    right: 32px;
    bottom: 32px;
  }
}
.whatsapp-fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgb(0 0 0 / 22%);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: none;
}
@media (min-width: 900px) {
  /* A 56px circle reads as tiny and lost in a corner on a wide desktop
     viewport, next to the rest of the page's larger desktop type
     scale — bumped up, matching how most real WhatsApp widgets size
     themselves up on desktop rather than staying mobile-sized. */
  .whatsapp-fab {
    width: 66px;
    height: 66px;
  }
}
.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgb(0 0 0 / 28%);
}
.whatsapp-fab svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}
@media (min-width: 900px) {
  .whatsapp-fab svg {
    width: 34px;
    height: 34px;
  }
}
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0;
  pointer-events: none;
}
.whatsapp-pulse.firing {
  animation: whatsapp-pulse 1.1s ease-out 2;
}
@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.whatsapp-panel {
  width: 300px;
  max-width: calc(100vw - 40px);
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  translate: 0 8px;
  scale: 0.92;
  pointer-events: none;
  transition: opacity 0.18s ease, translate 0.18s ease, scale 0.18s ease;
}
.whatsapp-panel.open {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  pointer-events: auto;
}
.whatsapp-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #25d366;
  color: #fff;
}
.whatsapp-panel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 255 255 / 20%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.whatsapp-panel-avatar svg {
  width: 22px;
  height: 22px;
}
.whatsapp-panel-name {
  font-weight: 600;
  font-size: 14px;
}
.whatsapp-panel-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgb(255 255 255 / 85%);
  margin-top: 2px;
}
.whatsapp-panel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.whatsapp-panel-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  flex: none;
  display: flex;
}
.whatsapp-panel-body {
  padding: 16px;
  background: var(--bg);
}
.whatsapp-panel-body p {
  background: var(--surface);
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
}
.whatsapp-panel-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 12px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}
.whatsapp-panel-cta:hover {
  background: #1ea952;
  color: #fff;
}
.whatsapp-panel-cta svg {
  width: 18px;
  height: 18px;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-pulse {
    display: none;
  }
  .whatsapp-fab,
  .whatsapp-panel,
  .whatsapp-panel-cta {
    transition: none;
  }
}

/* ============================================================
   DEMO MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 50%);
  padding: 16px;
}
.modal-panel {
  width: 100%;
  max-width: 448px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 28px;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.modal-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 4px;
}
.modal-description {
  font-size: 14px;
  color: var(--text-secondary);
}
.modal-close {
  border-radius: 50%;
  border: 1px solid var(--border);
  padding: 6px;
  background: none;
  cursor: pointer;
  color: var(--text);
  flex: none;
}
.modal-close:hover {
  border-color: var(--text-secondary);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-40 {
  margin-top: 40px;
}
.text-center {
  text-align: center;
}
