:root {
  --green: #00C853;
  --green-deep: #0B3B2E;
  --ink: #102A43;
  --orange: #FF6B1A;
  --white: #FFFFFF;
  --mint: #F1FBF5;
  --cream: #FFF8F1;
  --muted: #5B6B7C;
  --line: rgba(16, 42, 67, 0.08);
  --shadow: 0 18px 50px rgba(16, 42, 67, 0.12);
  --radius: 20px;
  --shell: min(1120px, calc(100% - 2rem));
  --font: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
}

/* Evita flash de landing mientras Auth resuelve la sesión */
html.landing-auth-pending body {
  visibility: hidden;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.18);
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--green-deep);
}

.nav-desktop,
.header-actions {
  display: none;
  align-items: center;
  gap: 1.15rem;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--green-deep);
}

.nav-desktop a.is-active,
.nav-mobile a.is-active {
  color: var(--green-deep);
  font-weight: 700;
}

.link-ghost {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  display: grid;
  gap: 0.25rem;
  padding: 0.25rem 1rem 1rem;
  border-bottom: 1px solid var(--line);
}

.nav-mobile[hidden] { display: none; }

.nav-mobile a {
  padding: 0.8rem 0.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  border-bottom: 0;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-1px); filter: brightness(0.97); }

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 200, 83, 0.25);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 107, 26, 0.25);
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.95rem 1.4rem; font-size: 1rem; }
.btn-tiny { padding: 0.45rem 0.85rem; font-size: 0.8rem; border-radius: 10px; }

/* Hero */
.hero {
  padding: 1.5rem 0 2.5rem;
  background:
    radial-gradient(700px 340px at 85% 15%, rgba(0, 200, 83, 0.08), transparent 60%),
    linear-gradient(180deg, #F7FBFF 0%, var(--white) 70%);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.pill {
  display: inline-flex;
  margin: 0 0 0.7rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.12);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.05rem, 4.6vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  max-width: 14ch;
}

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

.hero-lead {
  margin: 0.85rem 0 1.15rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-row li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2300C853'/%3E%3Cpath d='M4.5 8.2l2.1 2.1 4.9-4.9' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: clamp(340px, 52vw, 520px);
  isolation: isolate;
}

.live-map-demo {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #F4F7F9;
  box-shadow: 0 14px 36px rgba(16, 42, 67, 0.12);
  z-index: 1;
}

.live-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-map-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(16, 42, 67, 0.1);
  pointer-events: none;
  z-index: 2;
}

.live-map-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.45);
  animation: lm-live-dot 1.8s ease-out infinite;
}

.lm-vehicle {
  color: #5B6B7C;
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.lm-vehicle.is-seeker {
  color: #2F80ED;
  filter: drop-shadow(0 1px 2px rgba(47, 128, 237, 0.35));
}

.lm-route {
  transition: opacity 0.35s ease;
}

.lm-route.is-visible {
  opacity: 0.95;
  animation: lm-route-dash 1.1s linear infinite;
}

.lm-spot.is-visible {
  opacity: 1;
}

.lm-spot.is-freeing .lm-spot-pulse {
  animation: lm-spot-pulse 1.4s ease-out infinite;
}

.lm-spot.is-freeing .lm-spot-ring {
  animation: lm-spot-ring 1.4s ease-out infinite;
}

.lm-callout {
  pointer-events: none;
}

.lm-callout-bg {
  fill: #ffffff;
  stroke: rgba(16, 42, 67, 0.08);
  stroke-width: 1;
  filter: url(#lm-soft);
}

.lm-callout-text {
  fill: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.lm-callout.is-search .lm-callout-accent { fill: #2F80ED; }
.lm-callout.is-free .lm-callout-accent { fill: #E53935; }

/* Capas multi-seeker: rutas/plazas independientes */
.lm-routes .lm-route,
.lm-spots .lm-spot {
  pointer-events: none;
}

@keyframes lm-live-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 200, 83, 0); }
}

@keyframes lm-route-dash {
  to { stroke-dashoffset: -36; }
}

@keyframes lm-spot-pulse {
  0% { r: 12; opacity: 0.28; }
  70% { r: 26; opacity: 0; }
  100% { r: 26; opacity: 0; }
}

@keyframes lm-spot-ring {
  0%, 100% { opacity: 0.95; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.15); }
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.pin-green { background: var(--green); }
.pin-red { background: #E53935; width: 18px; height: 18px; }

.reserve-mini strong {
  display: block;
  font-size: 0.78rem;
}

.reserve-mini small {
  color: var(--muted);
  font-size: 0.7rem;
}

/* Así funciona Parkom — 4 pasos (V4) */
.how-flow {
  padding: 2.75rem 0 3rem;
  background:
    radial-gradient(640px 260px at 50% 0%, rgba(0, 200, 83, 0.08), transparent 68%),
    linear-gradient(180deg, #f7fbf8 0%, var(--white) 92%);
  border-top: 1px solid var(--line);
  overflow-x: clip;
}

.how-flow-shell {
  width: min(1240px, calc(100% - 2rem));
}

.how-flow .section-head {
  margin-bottom: 1.6rem;
}

.how-flow .section-head h2 {
  letter-spacing: -0.03em;
  text-wrap: balance;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
}

.how-flow .section-head p {
  color: var(--ink);
  font-weight: 500;
}

.how-flow-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.how-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(16, 42, 67, 0.1);
  border: 1px solid rgba(16, 42, 67, 0.05);
  padding: 1rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.how-card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.how-card-head h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.how-card-head p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.how-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}

.how-num-green {
  background: rgba(0, 200, 83, 0.14);
  color: var(--green-deep);
}

.how-num-orange {
  background: rgba(255, 107, 26, 0.14);
  color: #d4550f;
}

.how-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3f0;
  aspect-ratio: 4 / 3.15;
  animation: how-fade-up 0.65s ease both;
}

.how-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-photo-full {
  object-position: 55% center;
}

.how-visual-leave .how-photo {
  width: 62%;
  object-position: 35% center;
}

.how-phone {
  position: absolute;
  right: 6%;
  top: 8%;
  bottom: 8%;
  width: 42%;
  max-width: 132px;
  filter: drop-shadow(0 12px 18px rgba(16, 42, 67, 0.22));
  animation: how-phone-in 0.75s 0.1s ease both;
}

.how-phone-bezel {
  height: 100%;
  background: #111827;
  border-radius: 16px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.how-phone-status {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.55rem;
  font-weight: 600;
  padding: 0 0.2rem 0.25rem;
}

.how-phone-brand {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #f7faf8;
  border-radius: 10px 10px 0 0;
  padding: 0.35rem 0.4rem 0.2rem;
  font-size: 0.62rem;
}

.how-phone-logo {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 800;
}

.how-phone-panel {
  flex: 1;
  background: #f3f5f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem;
}

.how-phone-car {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: rgba(0, 200, 83, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
}

.how-phone-car svg { width: 1.35rem; height: 1.35rem; }

.how-phone-panel small {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.how-phone-cta {
  display: block;
  text-align: center;
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.48rem 0.35rem;
  border-radius: 0 0 10px 10px;
}

.how-visual-map {
  background:
    linear-gradient(90deg, rgba(16, 42, 67, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(rgba(16, 42, 67, 0.04) 1px, transparent 1px) 0 0 / 22px 22px,
    #f4f1ea;
}

.how-map-blocks {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(180, 214, 196, 0.55) 18%, transparent 19%) 12% 20% / 28% 22% no-repeat,
    linear-gradient(135deg, rgba(196, 214, 230, 0.55) 18%, transparent 19%) 62% 18% / 24% 18% no-repeat,
    linear-gradient(135deg, rgba(180, 214, 196, 0.45) 18%, transparent 19%) 70% 62% / 26% 20% no-repeat,
    linear-gradient(135deg, rgba(196, 214, 230, 0.45) 18%, transparent 19%) 18% 68% / 22% 16% no-repeat;
}

.how-map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.how-map-pin {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e53935;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 8px rgba(229, 57, 53, 0.14),
    0 0 0 16px rgba(229, 57, 53, 0.08),
    0 8px 16px rgba(16, 42, 67, 0.18);
  z-index: 2;
}

.how-map-float {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.14);
  white-space: nowrap;
  animation: how-float 2.8s ease-in-out infinite;
}

.how-map-float-ico {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--orange);
  display: grid;
  place-items: center;
}
.how-map-float-ico svg { width: 0.95rem; height: 0.95rem; }

.how-avatar {
  position: absolute;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(16, 42, 67, 0.16);
  z-index: 2;
  object-fit: cover;
}

.how-avatar.a1 { left: 10%; top: 16%; }
.how-avatar.a2 { right: 10%; top: 14%; }
.how-avatar.a3 { left: 10%; bottom: 14%; }
.how-avatar.a4 { right: 10%; bottom: 16%; }

.how-visual-route {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef6f1, #e8efe9);
  padding: 0.55rem 0;
}

.how-phone-route {
  position: relative;
  right: auto;
  top: auto;
  bottom: auto;
  width: min(58%, 148px);
  height: 94%;
  max-width: none;
}

.how-route-user {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f7faf8;
  border-radius: 10px 10px 0 0;
  padding: 0.4rem 0.45rem;
}

.how-route-user img {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  object-fit: cover;
}

.how-route-user strong {
  display: block;
  font-size: 0.62rem;
  line-height: 1.15;
}

.how-route-user small {
  display: block;
  font-size: 0.52rem;
  color: var(--muted);
  line-height: 1.2;
}

.how-route-map {
  position: relative;
  flex: 1;
  background: #f3f1ea;
  overflow: hidden;
}

.how-route-blocks {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(180, 214, 196, 0.5) 20%, transparent 21%) 15% 20% / 34% 24% no-repeat,
    linear-gradient(135deg, rgba(196, 214, 230, 0.5) 20%, transparent 21%) 62% 55% / 30% 22% no-repeat;
}

.how-route-path {
  position: absolute;
  inset: 8% 6%;
  width: 88%;
  height: 72%;
}

.how-route-car {
  position: absolute;
  left: 14%;
  bottom: 22%;
  width: 0.85rem;
  height: 0.55rem;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 42, 67, 0.25);
  border: 1px solid #cbd5e1;
}

.how-route-dest {
  position: absolute;
  right: 14%;
  top: 14%;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(255, 107, 26, 0.35);
}

.how-route-eta {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 999px;
  padding: 0.18rem 0.4rem;
  font-size: 0.52rem;
  font-weight: 700;
  color: #2563eb;
  box-shadow: 0 4px 10px rgba(16, 42, 67, 0.12);
  white-space: nowrap;
}

.how-route-toast {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 0 0 10px 10px;
  padding: 0.4rem 0.4rem 0.45rem;
  box-shadow: 0 -4px 12px rgba(16, 42, 67, 0.06);
}

.how-route-check {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.how-route-check svg { width: 100%; height: 100%; }

.how-route-toast strong {
  display: block;
  font-size: 0.58rem;
  line-height: 1.2;
}

.how-route-toast small {
  display: block;
  font-size: 0.5rem;
  color: var(--muted);
  line-height: 1.25;
}

.how-bullets {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
}

.how-bullets li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  align-items: start;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
}

.how-ico {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.12);
  color: var(--green);
  display: grid;
  place-items: center;
}
.how-ico svg { width: 0.72rem; height: 0.72rem; }

.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  width: 100%;
  height: 1.35rem;
}
.how-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  transform: rotate(90deg);
}

.how-band {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--mint);
  border-radius: 22px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(0, 200, 83, 0.08);
}

.how-band-ico {
  width: 3.2rem;
  height: 2.2rem;
  color: var(--green);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.how-band-ico svg { width: 3rem; height: 1.9rem; }

.how-band-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.how-band-sub {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@keyframes how-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes how-phone-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes how-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* Value bar */
.value-bar {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value-grid h3,
.final-grid h3,
.step-copy h3 {
  margin: 0.55rem 0 0.25rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.value-grid p,
.final-grid p,
.step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
}

.icon-circle svg { width: 1.25rem; height: 1.25rem; }
.icon-circle.green { background: rgba(0, 200, 83, 0.12); color: var(--green); }
.icon-circle.orange { background: rgba(255, 107, 26, 0.14); color: var(--orange); }

/* Sections */
.section { padding: 4rem 0; }
.section-mint { background: var(--mint); }

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-head h2,
.final-cta h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.section-head p,
.final-cta p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.steps > li {
  background: var(--white);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.06);
  display: grid;
  gap: 1rem;
}

.step-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.step-mock {
  border-radius: 16px;
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.map-mini {
  background: linear-gradient(180deg, #cfe6d6, #b7d5c0);
}

.map-mini .pin { top: 35%; left: 28%; }
.map-mini .pin-b { top: 48%; left: 62%; }
.map-mini .pin-c { top: 58%; left: 44%; }

.reserve-mini {
  background: var(--cream);
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem;
}

.reserve-mini .btn { width: fit-content; margin-top: 0.35rem; }

.route-mini {
  background: linear-gradient(180deg, #d9ebe0, #c5dbcddd);
}

.route-line {
  position: absolute;
  left: 22%;
  top: 28%;
  width: 56%;
  height: 46%;
  border: 3px solid var(--green);
  border-radius: 40% 20% 50% 30%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(12deg);
}

.route-a,
.route-b {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.route-a { left: 18%; top: 22%; background: var(--ink); }
.route-b { right: 18%; bottom: 22%; background: var(--green); }

/* Flow */
.flow-cycle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  justify-items: center;
}

.flow-item {
  width: min(100%, 220px);
  text-align: center;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.flow-item strong {
  font-size: 0.95rem;
}

.flow-icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.flow-icon svg { width: 1.55rem; height: 1.55rem; }
.flow-icon.green { background: rgba(0, 200, 83, 0.14); color: var(--green); }
.flow-icon.orange { background: rgba(255, 107, 26, 0.14); color: var(--orange); }

.flow-arrow {
  width: 2px;
  height: 28px;
  background: var(--green);
  position: relative;
}

.flow-arrow.orange-arrow { background: var(--orange); }
.flow-arrow.green-arrow { background: var(--green); }

/* Final benefits — visual design matching the approved three-icon mockup */
.benefits-final { background: #fff; }
.final-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
  text-align: center;
  padding: 0;
  margin: 0;
}
.final-grid > li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.final-grid .icon-circle {
  width: 11rem;
  height: 11rem;
  flex: 0 0 11rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}
.final-grid .icon-circle svg { width: 5.5rem; height: 5.5rem; }
.final-grid .community-icon { background: #eaf7ef; color: #00b86b; }
.final-grid .time-icon { background: #eaf2fc; color: #102a43; }
.final-grid .mutual-icon { background: #fff9e9; color: #102a43; }
.final-grid h3 { margin: 0.6rem 0 0.65rem; font-size: clamp(1.15rem, 1.7vw, 1.8rem); line-height: 1.2; letter-spacing: -0.025em; color: #102a43; }
.final-grid p { margin: 0; font-size: clamp(0.95rem, 1.2vw, 1.25rem); line-height: 1.5; color: #667386; }
@media (max-width: 700px) {
  .final-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .final-grid .icon-circle { width: 8rem; height: 8rem; }
  .final-grid .icon-circle svg { width: 4rem; height: 4rem; }
}

/* CTA */
.final-cta-inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.final-cta-inner .btn { margin-top: 1.25rem; }

.cta-note {
  margin-top: 0.85rem !important;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner .brand { margin-right: 0; }

/* Enlaces legales discretos (Términos / Política de privacidad) */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal a {
  color: var(--muted, #64748b);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--ink, #102A43);
  border-bottom-color: currentColor;
}

.footer-legal a[aria-current="page"] {
  color: var(--ink, #102A43);
  font-weight: 600;
}

/* Stubs legales: solo título + área vacía (sin texto inventado) */
.legal-stub {
  padding: 3rem 0 4.5rem;
  min-height: 42vh;
}

.legal-stub h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--ink, #102A43);
  letter-spacing: -0.02em;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(229, 57, 53, 0); }
}

/* Desktop */
@media (min-width: 900px) {
  .nav-desktop,
  .header-actions { display: flex; }
  .nav-toggle,
  .nav-mobile { display: none !important; }

  .hero { padding: 1.85rem 0 2.75rem; }

  .hero-grid {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: 1.35rem 1.35rem;
    align-items: center;
  }

  .hero-copy {
    justify-content: center;
    padding-right: 0.15rem;
  }

  .hero-copy h1 { max-width: 12ch; }

  .hero-visual {
    height: 480px;
  }

  .how-flow {
    padding: 3.25rem 0 3.5rem;
  }

  .how-flow-shell {
    width: min(1280px, calc(100% - 2.5rem));
  }

  .how-flow-track {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr) auto
      minmax(0, 1fr) auto
      minmax(0, 1fr) auto
      minmax(0, 1fr);
    gap: 0.45rem;
    align-items: stretch;
  }

  .how-arrow {
    width: 1.1rem;
    height: auto;
    align-self: center;
  }

  .how-arrow svg {
    width: 1.15rem;
    height: 1.15rem;
    transform: none;
  }

  .how-card {
    padding: 0.95rem 0.85rem 1rem;
    min-height: 100%;
  }

  .how-card-head h3 { font-size: 0.92rem; }
  .how-card-head p { font-size: 0.72rem; }
  .how-bullets li { font-size: 0.7rem; }

  .how-visual {
    aspect-ratio: 1 / 0.92;
  }

  .how-map-float {
    font-size: 0.58rem;
    max-width: calc(100% - 0.8rem);
    white-space: normal;
    text-align: center;
    border-radius: 12px;
    line-height: 1.2;
  }

  .how-band {
    margin-top: 1.75rem;
    padding: 1.1rem 1.4rem;
  }

  .value-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .steps > li {
    grid-template-rows: auto 1fr;
  }

  .flow-cycle {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-items: center;
  }

  .flow-arrow {
    width: 42px;
    height: 2px;
  }

  .flow-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  .flow-arrow.orange-arrow { color: var(--orange); }
  .flow-arrow.green-arrow { color: var(--green); }

  .final-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1440px) {
  :root { --shell: min(1180px, calc(100% - 3rem)); }
  .hero-grid {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: 2rem;
  }
  .hero-visual { height: 510px; }
}

@media (min-width: 1920px) {
  :root { --shell: min(1280px, calc(100% - 4rem)); }
  .hero-grid {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  }
  .hero-visual { height: 540px; }
}

@media (max-width: 767px) {
  .hero {
    padding: 0.65rem 0 1.35rem;
  }
  .hero-grid {
    gap: 0.65rem;
    /* etiqueta → título → texto → CTA → beneficios → imagen */
    grid-template-areas:
      "copy"
      "visual";
  }
  .hero-copy { grid-area: copy; }
  .hero-visual { grid-area: visual; }
  .pill { margin-bottom: 0.4rem; padding: 0.32rem 0.65rem; }
  .hero-copy h1 { font-size: clamp(1.7rem, 7vw, 2rem); max-width: none; }
  .hero-lead { margin: 0.45rem 0 0.7rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.72rem 1.05rem; font-size: 0.95rem; }
  .trust-row {
    gap: 0.3rem 0.55rem;
    font-size: 0.76rem;
    margin-top: 0.55rem;
    margin-bottom: 0;
  }

  /* Móvil: copy + CTA arriba, mapa debajo */
  .hero-visual {
    height: 280px;
  }
  .live-map-demo {
    border-radius: 16px;
  }
  .live-map-badge {
    left: 0.65rem;
    bottom: 0.65rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.55rem;
  }
  .lm-labels { font-size: 9px; }
  /* Callouts estado: +~23% vs desktop 11px; burbuja escala en JS */
  .lm-callout-text { font-size: 13.5px; }
  .btn-tiny { padding: 0.3rem 0.48rem; font-size: 0.64rem; }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .how-flow-track {
    gap: 0.3rem;
  }
  .how-card { padding: 0.85rem 0.7rem 0.9rem; }
  .how-map-float { font-size: 0.56rem; padding: 0.3rem 0.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .pin-red,
  .how-visual,
  .how-phone,
  .how-map-float,
  .live-map-dot,
  .lm-route,
  .lm-spot-pulse,
  .lm-spot-ring { transition: none !important; animation: none !important; }

  .live-map-demo.is-reduced .lm-route {
    opacity: 0.85;
  }
  .live-map-demo.is-reduced .lm-spot {
    opacity: 1;
  }
}
/* Home: numbered-step headings in uppercase and bold */
.step-copy h3 { font-weight: 800; text-transform: uppercase; }
