/* ==========================================================================
   Lotify — Landing page
   Paleta: #2A6DBE (azul) · #6FB96C (verde) · blanco
   ========================================================================== */

:root {
  --blue: #2A6DBE;
  --blue-700: #1F57A0;
  --blue-800: #173F75;
  --blue-50: #EEF4FB;
  --blue-100: #DCE8F7;

  --green: #6FB96C;
  --green-700: #3B8238;
  --green-50: #EEF7ED;
  --green-100: #D8EED6;

  --amber: #F2B33D;
  --amber-50: #FEF5E2;
  --amber-700: #8A5A00;

  --red: #D9534F;
  --red-50: #FCEDEC;
  --red-700: #A93431;

  --ink: #16243A;
  --ink-2: #3A4A61;
  --muted: #66768C;
  --line: #E3E9F0;
  --line-2: #EEF2F7;

  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;

  --lot-disponible: #6FB96C;
  --lot-reservado: #F07A72;
  --lot-vendido: #B8323A;
  --lot-bloqueado: #2B313A;
  --lot-off: #D8DFE8;

  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(22, 36, 58, .06), 0 2px 8px -2px rgba(22, 36, 58, .06);
  --shadow-md: 0 14px 34px -14px rgba(22, 36, 58, .22);
  --shadow-lg: 0 40px 80px -30px rgba(22, 36, 58, .30), 0 14px 30px -16px rgba(22, 36, 58, .14);

  --container: 1200px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

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

[data-lucide], .lucide { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(42, 109, 190, .6); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #C9D5E3; background: var(--bg-soft); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #5EA95B; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-50); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn [data-lucide], .btn .lucide { width: 18px; height: 18px; }
.btn:disabled { background: #E5EAF0; color: #8A97A8; box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- Etiquetas ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow [data-lucide], .eyebrow .lucide { width: 16px; height: 16px; }
.eyebrow.green { background: var(--green-50); color: var(--green-700); }
.eyebrow.on-dark { background: rgba(255, 255, 255, .14); color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-disponible { background: var(--green-50); color: var(--green-700); }
.pill-reservado { background: var(--amber-50); color: var(--amber-700); }
.pill-vendido { background: var(--blue-50); color: var(--blue); }
.pill-bloqueado { background: #EEF1F5; color: #5D6B80; }

.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.sw-disponible { background: var(--lot-disponible); }
.sw-reservado { background: var(--lot-reservado); }
.sw-vendido { background: var(--lot-vendido); }
.sw-bloqueado { background: var(--lot-bloqueado); }
.sw-off { background: var(--lot-off); }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(22, 36, 58, .4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -0.03em; }
.logo img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--blue); background: var(--blue-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-mobile { display: none; }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; position: relative; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section-head.left { margin: 0 0 40px; text-align: left; align-items: flex-start; }
.section-title { font-size: clamp(30px, 3.6vw, 46px); }
.section-lead { font-size: 18px; color: var(--muted); max-width: 680px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 104px;
  background: linear-gradient(180deg, #F1F6FD 0%, #FFFFFF 62%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 109, 190, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 109, 190, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 35%, transparent 100%);
}
.hero-copy { position: relative; max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 .hl { color: var(--blue); }
.hero h1 .hl-green { color: var(--green-700); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.hero-note { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.hero-note [data-lucide], .hero-note .lucide { width: 16px; height: 16px; color: var(--green-700); }

.hero-visual { position: relative; max-width: 1120px; margin: 64px auto 0; }
.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  font-size: 13px; line-height: 1.35; color: var(--muted);
}
.float-card strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.float-card .fc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-icon.green { background: var(--green-50); color: var(--green-700); }
.float-card .fc-icon.blue { background: var(--blue-50); color: var(--blue); }
.float-card .fc-icon [data-lucide], .float-card .fc-icon .lucide { width: 20px; height: 20px; }
.hero-visual .fc-1 { left: -56px; top: 34%; }
.hero-visual .fc-2 { right: -48px; top: 24%; }

/* ---------- Contenedor tipo navegador ---------- */
.browser { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 18px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 8px; }
.dots i { display: block; width: 12px; height: 12px; border-radius: 50%; }
.dots i:nth-child(1) { background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.browser-title { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.shot-img { display: block; width: 100%; height: auto; background: #fff; }
.hero-shot { aspect-ratio: 1887 / 824; object-fit: cover; object-position: top left; }

.app { display: grid; grid-template-columns: 64px 1fr; }
.app-side { display: flex; flex-direction: column; gap: 13px; padding: 20px 0; align-items: center; border-right: 1px solid var(--line); background: #fff; }
.app-side span { display: block; width: 24px; height: 6px; border-radius: 4px; background: #D8DFE9; }
.app-side span.on { background: var(--blue); }
.app-main { min-width: 0; padding: 18px 20px 20px; }

.map-canvas { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #E8EDF3; }

/* Plano SVG */
.lot-map { width: 100%; height: auto; }
.lot-map .lot { stroke: #fff; stroke-width: 2; cursor: pointer; transition: fill .45s ease, opacity .2s; }
.lot-map .lot:hover { opacity: .8; }
.lot-map .s-disponible { fill: var(--lot-disponible); }
.lot-map .s-reservado { fill: var(--lot-reservado); }
.lot-map .s-vendido { fill: var(--lot-vendido); }
.lot-map .s-bloqueado { fill: var(--lot-bloqueado); }
.lot-map.is-public .lot:not(.s-disponible) { fill: var(--lot-off); }
.lot-map .lot-label { font-size: 9px; font-weight: 600; pointer-events: none; fill: #fff; font-family: "Lexend", sans-serif; }
.lot-map .lot-label.l-reservado { fill: #5C1A15; }
.lot-map .road-label { font-size: 10px; font-weight: 500; fill: #8392A6; letter-spacing: .04em; font-family: "Lexend", sans-serif; }
.lot-map .park-label { font-size: 10px; font-weight: 600; fill: var(--green-700); font-family: "Lexend", sans-serif; }
.lot-map .sel-ring { fill: none; stroke: var(--ink); stroke-width: 2.5; pointer-events: none; }
.lot-map .sel-pulse { fill: none; stroke: var(--ink); stroke-width: 2; pointer-events: none; opacity: .35; animation: selPulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes selPulse { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.35); opacity: 0; } }
.lot-map .lot.flash { animation: lotFlash 1.4s ease; }
@keyframes lotFlash { 0%, 100% { opacity: 1; } 25% { opacity: .3; } 50% { opacity: 1; } 75% { opacity: .45; } }

/* ---------- Franja de beneficios ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 26px 24px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.strip-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.strip-item:nth-child(even) .ic { background: var(--green-50); color: var(--green-700); }

/* ---------- Problemas ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.problem .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red-700); }
.problem h3 { font-size: 19px; }
.problem p { font-size: 15px; color: var(--muted); }
.problem .fix { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.problem .fix [data-lucide], .problem .fix .lucide { width: 18px; height: 18px; color: var(--green-700); margin-top: 2px; }
.problem .fix b { color: var(--green-700); font-weight: 600; }
.problem.cta { background: var(--blue); border-color: var(--blue); color: rgba(255, 255, 255, .85); justify-content: space-between; box-shadow: 0 24px 44px -24px rgba(42, 109, 190, .8); }
.problem.cta h3 { color: #fff; font-size: 24px; line-height: 1.25; }
.problem.cta p { color: rgba(255, 255, 255, .85); }
.problem.cta .btn { align-self: flex-start; }

/* ---------- Mapa interactivo ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 7fr 5fr; }
.feature-list { display: grid; gap: 22px; margin-top: 8px; }
.feature { display: flex; gap: 16px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.feature .ic.green { background: var(--green-50); color: var(--green-700); }
.feature h3 { font-size: 17px; margin-bottom: 4px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; color: var(--muted); }

.map-stage { position: relative; max-width: 1080px; margin: 0 auto; padding-right: 226px; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 72px; }
.map-app { padding: 18px 20px 20px; }
.phase-bar { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.phase-tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 11px; background: #EFF3F8; }
.phase-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.phase-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.phase-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.phase-progress { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.phase-progress .bar { width: 120px; height: 6px; border-radius: 4px; background: #E7ECF2; overflow: hidden; }
.phase-progress .bar span { display: block; height: 100%; background: var(--blue); border-radius: 4px; transition: width .5s ease; }
.phase-progress b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.legend-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.legend-row span { display: inline-flex; align-items: center; gap: 8px; }
.legend-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.map-tip { position: absolute; z-index: 3; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.4; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow-md); }
.map-tip strong { font-weight: 600; }
.map-tip span { color: rgba(255, 255, 255, .7); }

.map-stage .phone { position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 3; }
.lot-map.is-public .lot { stroke-width: 4; }
.lot-map.is-public .sel-ring { stroke-width: 7; }

/* ---------- Contenedor tipo móvil ---------- */
.phone { width: 286px; height: 590px; padding: 10px; border-radius: 46px; background: #0F1A2B; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2B3A52; flex-shrink: 0; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.phone-screen > * { flex-shrink: 0; }
.phone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0F1A2B; z-index: 5; }
.phone-status { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 4px 26px 0 30px; font-size: 13px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.phone-status svg { height: 11px; width: auto; }
.phone-status .ps-icons { display: flex; align-items: center; gap: 5px; }
.phone-home { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 4px; background: #0F1A2B; opacity: .85; z-index: 5; }

/* Vista pública (móvil) */
.pub-url { margin: 0 14px 10px; padding: 7px 12px; border-radius: 10px; background: #F1F4F8; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pub-url [data-lucide], .pub-url .lucide { width: 12px; height: 12px; }
.pub-head { display: flex; align-items: center; gap: 10px; padding: 0 16px 12px; }
.pub-logo { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pub-head strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.pub-head small { font-size: 11px; color: var(--muted); }
.pub-map { margin: 0 12px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #E8EDF3; }
.pub-legend { display: flex; gap: 14px; padding: 10px 16px 0; font-size: 11px; color: var(--muted); }
.pub-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pub-card { margin: 12px 12px 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 6px; }
.pc-top { display: flex; align-items: center; justify-content: space-between; }
.pc-top strong { font-size: 16px; color: var(--ink); }
.pub-card p { font-size: 12px; color: var(--muted); }
.pub-card .pc-price { font-size: 13px; color: var(--ink-2); }
.pub-card .pc-price b { font-size: 18px; color: var(--ink); }
.pub-card .btn { height: 40px; font-size: 13px; margin-top: 4px; }

.pub-more { padding: 14px 14px 0; }
.pub-more small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.pub-more div { display: flex; flex-wrap: wrap; gap: 6px; }
.pub-more span { padding: 5px 9px; border-radius: 8px; background: var(--green-50); color: var(--green-700); font-size: 11px; font-weight: 600; }

/* ---------- Módulos ---------- */
.modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.module { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.module:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.module .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.module:nth-child(even) .ic { background: var(--green-50); color: var(--green-700); }
.module .ic [data-lucide], .module .ic .lucide { width: 22px; height: 22px; }
.module h3 { font-size: 17px; letter-spacing: -0.01em; }
.module p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.module .tag { position: absolute; top: 22px; right: 18px; font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-50); padding: 3px 8px; border-radius: 6px; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 27px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 14px); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.step-num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue); color: var(--blue); box-shadow: 0 0 0 6px #fff; }
.step-num [data-lucide], .step-num .lucide { width: 22px; height: 22px; }
.step:last-child .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.step-count { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.step h3 { font-size: 17px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.role { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--blue-50); color: var(--blue); }
.role.green { background: var(--green-50); color: var(--green-700); }

/* Galería de capturas reales */
.gallery { margin-top: 96px; display: flex; flex-direction: column; align-items: center; }
.gallery-title { font-size: clamp(22px, 2.4vw, 28px); text-align: center; margin-bottom: 20px; }
.gallery-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: 14px; background: #EFF3F8; }
.gallery-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.gallery-tabs button [data-lucide], .gallery-tabs button .lucide { width: 18px; height: 18px; }
.gallery-tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.gallery-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.gallery .browser { width: 100%; max-width: 1080px; }
.gallery-view { aspect-ratio: 1280 / 799; background: #fff; }
.gallery-panel, .gallery-panel .shot-img { height: 100%; }
.gallery-panel .shot-img { object-fit: contain; object-position: top center; }
.gallery-caption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); max-width: 640px; }

/* ---------- Equipos ---------- */
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.team-head { display: flex; align-items: center; gap: 14px; }
.team-head .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.team:nth-child(even) .team-head .ic { background: var(--green); }
.team-head h3 { font-size: 20px; }
.team-head small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.checks li [data-lucide], .checks li .lucide { width: 18px; height: 18px; color: var(--green-700); margin-top: 3px; }
.team.custom { background: transparent; border: 2px dashed #CBD6E3; box-shadow: none; justify-content: center; }
.team.custom h3 { font-size: 20px; }
.team.custom p { color: var(--muted); font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 15px; }
.link-arrow [data-lucide], .link-arrow .lucide { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover [data-lucide], .link-arrow:hover .lucide { transform: translateX(3px); }

/* ---------- Seguridad / bitácora ---------- */
.sec-stage { position: relative; padding-bottom: 180px; }
.log-app { padding: 18px 20px 8px; }
.log-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.log-top h4 { font-size: 15px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--muted); background: #F1F4F8; }
.chip.on { background: var(--blue); color: #fff; }
.chip [data-lucide], .chip .lucide { width: 14px; height: 14px; }
.log-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.log-list li:last-child { border-bottom: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); }
.avatar.g { background: var(--green); }
.avatar.a { background: #E39B1A; }
.avatar.s { background: #E7ECF2; color: var(--muted); }
.avatar.s [data-lucide], .avatar.s .lucide { width: 16px; height: 16px; }
.log-text { color: var(--ink-2); line-height: 1.4; min-width: 0; }
.log-text b { color: var(--ink); font-weight: 600; }
.log-text small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.log-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.log-list li.denied { background: var(--red-50); margin: 4px -12px; padding: 12px; border-radius: 10px; border-bottom: 0; }
.log-list li.denied .avatar { background: var(--red); }
.log-list li.denied .deny { color: var(--red-700); font-weight: 600; }

.log-foot { padding: 14px 0 16px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }

.perm-card { position: absolute; right: -24px; bottom: 0; z-index: 3; width: 260px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.perm-card .pc-role { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.perm-card .pc-role .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.perm-card .pc-role small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.perm-card .pc-role strong { font-size: 14px; color: var(--ink); }
.perm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line-2); }
.toggle { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #D5DCE6; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle.on { background: var(--green); }
.toggle.on::after { left: 16px; }

/* ---------- WhatsApp ---------- */
.section.blue { background: linear-gradient(160deg, #2A6DBE 0%, #1F57A0 60%, #1A4B8C 100%); color: rgba(255, 255, 255, .85); overflow: hidden; }
.section.blue::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.section.blue .section-title { color: #fff; }
.section.blue .section-lead { color: rgba(255, 255, 255, .82); }
.wa-points { display: grid; gap: 16px; margin-top: 8px; }
.wa-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: #fff; line-height: 1.5; }
.wa-points .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; flex-shrink: 0; }
.wa-points .ic [data-lucide], .wa-points .ic .lucide { width: 18px; height: 18px; }
.wa-points small { display: block; font-size: 14px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.wa-points.row { grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 72px; }
.wa-points.row li { flex-direction: column; gap: 12px; }

.wa-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 12px; background: #F6F7F5; border-bottom: 1px solid #E6E8E3; flex-shrink: 0; }
.wa-head [data-lucide], .wa-head .lucide { width: 18px; height: 18px; color: #2E7D4F; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.wa-head strong { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink); line-height: 1.2; }
.wa-head strong .lucide, .wa-head strong [data-lucide] { width: 13px; height: 13px; color: var(--green); }
.wa-head small { font-size: 11px; color: var(--muted); }
.wa-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; background-color: #EFEAE2; background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1px); background-size: 14px 14px; overflow: hidden; }
.wa-day { align-self: center; padding: 3px 10px; border-radius: 8px; background: #fff; font-size: 10px; color: var(--muted); box-shadow: 0 1px 1px rgba(0, 0, 0, .06); margin-bottom: 2px; }
.msg { position: relative; max-width: 86%; padding: 7px 10px 6px; border-radius: 10px; font-size: 11.5px; line-height: 1.42; color: #1D2A20; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.msg b { font-weight: 600; }
.msg .t { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 9.5px; color: #7B8A80; margin-top: 2px; }
.msg .t [data-lucide], .msg .t .lucide { width: 13px; height: 13px; color: #53BDEB; }
.msg .doc { display: flex; align-items: center; gap: 8px; padding: 8px; margin-bottom: 4px; border-radius: 8px; background: #F3F4F2; }
.msg.out .doc { background: #C8F1C1; }
.msg .doc .file { width: 28px; height: 32px; border-radius: 4px; display: grid; place-items: center; font-size: 8px; font-weight: 700; color: #fff; background: #E0533F; flex-shrink: 0; }
.msg .doc .file.img { background: var(--blue); }
.msg .doc strong { display: block; font-size: 11px; font-weight: 600; }
.msg .doc small { font-size: 9.5px; color: #7B8A80; }
.wa-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 20px; background: #F6F7F5; flex-shrink: 0; }
.wa-input span { flex: 1; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 11.5px; color: #9AA59E; }
.wa-input i { width: 34px; height: 34px; border-radius: 50%; background: #1FA855; display: grid; place-items: center; color: #fff; }
.wa-input i [data-lucide], .wa-input i .lucide { width: 16px; height: 16px; }

/* ---------- Recibos ---------- */
.receipt-stage { display: grid; grid-template-columns: 1fr 340px 1fr; gap: 56px; max-width: 1120px; margin: 0 auto; }
.receipt-notes { display: flex; flex-direction: column; justify-content: space-around; gap: 32px; padding: 40px 0; }
.receipt-notes li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.receipt-notes.left li { flex-direction: row-reverse; text-align: right; }
.receipt-notes li::after { content: ""; position: absolute; top: 22px; width: 36px; border-top: 1px dashed #B5C3D4; }
.receipt-notes.left li::after { right: -48px; }
.receipt-notes.right li::after { left: -48px; }
.receipt-notes .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-50); color: var(--blue); }
.receipt-notes .ic.green { background: var(--green-50); color: var(--green-700); }
.receipt-notes h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.receipt-notes p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.receipt { position: relative; width: min(340px, 100%); margin: 0 auto 8px; padding: 26px 22px 28px; background: #fff; color: #1A1A1A; font-family: Verdana, "DejaVu Sans", Arial, sans-serif; font-size: 11px; line-height: 1.45; filter: drop-shadow(0 22px 34px rgba(22, 36, 58, .16)) drop-shadow(0 2px 4px rgba(22, 36, 58, .08)); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 7px 0, #fff 7px, transparent 7.5px) 0 0 / 14px 8px repeat-x; }
.receipt p { margin: 0 0 6px; }
.receipt b { font-weight: 700; }
.rc-brand { display: grid; justify-items: center; text-align: center; margin-bottom: 10px; }
.receipt .rc-brand p { margin: 0; }
.rc-logo { width: 92px; height: 92px; margin-bottom: 4px; }
.receipt .rc-pre { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15px; color: #3B8238; }
.receipt .rc-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 28px; letter-spacing: .04em; line-height: 1; color: #173F75; }
.receipt .rc-sub { margin-top: 6px; font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: #3A4A61; }
.receipt .rc-contact { margin-top: 2px; font-size: 9.5px; color: #3A4A61; }
.rc-rule { border: 0; border-top: 1.5px solid #1A1A1A; margin: 8px 0; }
.rc-thick { border-top-width: 2px; }
.rc-dash { border: 0; border-top: 1px dashed #666; margin: 8px 0; }
.rc-center { text-align: center; }
.receipt .rc-lot-title { font-weight: 700; margin-bottom: 4px; }
.receipt .rc-line { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.rc-line span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt .rc-subtotal { font-weight: 700; padding-top: 3px; margin-top: 4px; border-top: 1px solid #1A1A1A; }
.rc-meta { color: #333; }
.receipt .rc-total { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.rc-words { font-size: 10px; }
.receipt .rc-sign { margin: 36px 34px 16px; padding-top: 4px; border-top: 1px solid #1A1A1A; text-align: center; }
.rc-qr { display: block; width: 92px; height: 92px; margin: 0 auto 10px; }
.receipt .rc-thanks { margin: 0; text-align: center; font-weight: 700; }

.receipt-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 52px; }
.receipt-actions span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.receipt-actions [data-lucide], .receipt-actions .lucide { width: 18px; height: 18px; color: var(--blue); }

.fel-card { display: flex; align-items: center; gap: 20px; max-width: 880px; margin: 40px auto 0; padding: 24px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); box-shadow: var(--shadow-sm); }
.fel-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--green-50); color: var(--green-700); }
.fel-card .ic [data-lucide], .fel-card .ic .lucide { width: 26px; height: 26px; }
.fel-card h3 { font-size: 19px; margin-bottom: 4px; }
.fel-card p { font-size: 15px; color: var(--muted); }
.fel-card .link-arrow { margin-left: auto; white-space: nowrap; }

/* ---------- Cartera ---------- */
.dash-main { min-width: 0; padding: 20px 22px 22px; background: #FBFCFE; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-head h4 { font-size: 18px; }
.dash-head small { font-size: 12px; color: var(--muted); }
.dash-actions { display: flex; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; gap: 4px; }
.kpi .k-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi .k-value { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi .k-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .k-sub .up { color: var(--green-700); font-weight: 600; }
.kpi .k-meter { height: 6px; border-radius: 4px; background: #EEF1F5; overflow: hidden; margin-top: 6px; }
.kpi .k-meter span { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.dash-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 14px; }
.panel { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.panel-head h5 { font-size: 14px; letter-spacing: -0.01em; }
.panel-head small { font-size: 11px; color: var(--muted); }
.aging { display: grid; gap: 14px; }
.aging-row { display: grid; grid-template-columns: 74px 1fr; gap: 4px 12px; align-items: center; font-size: 12px; }
.aging-row .a-label { color: var(--ink-2); font-weight: 500; }
.aging-row .a-track { display: block; position: relative; height: 12px; }
.aging-row .a-bar { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.aging-row .a-meta { grid-column: 2; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.aging-row .a-meta b { color: var(--ink); font-weight: 600; }
.a1 { background: #F4C35E; } .a2 { background: #EE9B3B; } .a3 { background: #DF6A3A; } .a4 { background: #BF3E37; }
.debtors { width: 100%; border-collapse: collapse; font-size: 12px; }
.debtors th { text-align: left; font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 0 8px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.debtors td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.debtors tr:last-child td { border-bottom: 0; }
.debtors td.name { color: var(--ink); font-weight: 600; white-space: normal; }
.debtors td.name small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.debtors .num { text-align: right; }
.days { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.days.d1 { background: #FEF3DA; color: #8A5A00; }
.days.d2 { background: #FDE7D2; color: #9A4A0B; }
.days.d3 { background: #FBE0D6; color: #A3401C; }
.days.d4 { background: #F8D9D7; color: #962E2A; }
.wa-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 600; color: #1C7A43; background: #E5F6EA; border: 0; cursor: pointer; }
.wa-btn [data-lucide], .wa-btn .lucide { width: 13px; height: 13px; }
.wa-btn.sent { color: var(--muted); background: #EEF1F5; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }

/* ---------- Mantenimiento y servicios ---------- */
.map-stage.mirror { padding-right: 0; padding-left: 226px; }
.map-stage.mirror .phone { right: auto; left: 0; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.kpi .k-meter span.blue { background: var(--blue); }
.pill-paid { background: var(--green-50); color: var(--green-700); }
.pill-due { background: var(--amber-50); color: var(--amber-700); }
.pill-late { background: var(--red-50); color: var(--red-700); }
.pill-none { background: #EEF1F5; color: #5D6B80; }
.svc-table td small { display: block; font-size: 11px; color: var(--muted); }
.svc-table td.total { color: var(--ink); font-weight: 600; }
.svc-table td.muted { color: var(--muted); font-style: italic; }

.mr-head { display: flex; align-items: center; gap: 8px; padding: 4px 16px 12px; border-bottom: 1px solid var(--line-2); }
.mr-head [data-lucide], .mr-head .lucide { width: 18px; height: 18px; color: var(--blue); }
.mr-head strong { font-size: 15px; color: var(--ink); }
.mr-head span { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); background: #F1F4F8; padding: 3px 8px; border-radius: 6px; }
.mr-lot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.mr-badge { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; }
.mr-lot strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.mr-lot small { font-size: 11px; color: var(--muted); }
.mr-photo { position: relative; margin: 0 14px; height: 108px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #5C6B7E 0%, #2E3A4B 70%); overflow: hidden; }
.meter { display: grid; justify-items: center; gap: 4px; padding: 12px 14px 10px; border-radius: 50%/42%; background: #E9EEF3; border: 4px solid #B8C3D0; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .15); }
.meter-label { font-size: 9px; font-weight: 700; color: #5D6B80; letter-spacing: .06em; }
.meter-digits { display: flex; gap: 2px; padding: 3px; border-radius: 5px; background: #1D2735; }
.meter-digits b { width: 15px; height: 21px; border-radius: 3px; display: grid; place-items: center; background: #fff; color: #1D2735; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.meter-digits b.r { background: #D9534F; color: #fff; }
.mr-tag { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 10px; font-weight: 600; color: var(--green-700); }
.mr-tag [data-lucide], .mr-tag .lucide { width: 12px; height: 12px; }
.mr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 14px 0; }
.mr-grid div { padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line); }
.mr-grid div.now { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.mr-grid small { display: block; font-size: 10px; color: var(--muted); }
.mr-grid strong { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mr-calc { margin: 12px 14px 0; display: grid; gap: 6px; font-size: 11.5px; }
.mr-calc div { display: flex; justify-content: space-between; gap: 8px; }
.mr-calc dt { color: var(--muted); }
.mr-calc dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.mr-calc .sum { padding-top: 8px; margin-top: 2px; border-top: 1px dashed #DEE5EE; font-size: 13px; }
.mr-calc .sum dt { color: var(--ink); font-weight: 600; }
.mr-calc .sum dd { color: var(--blue); }
.mr-cta { margin: 14px 14px 0; }
.mr-cta .btn { height: 42px; font-size: 13px; }

/* ---------- Precios ---------- */
.pricing-section { padding-bottom: 0; }
.pricing-section .section-head { margin-bottom: 40px; }
.billing { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; margin: 4px 0 26px; border-radius: 12px; background: #EFF3F8; }
.billing button { flex: 1 1 auto; border: 0; background: transparent; padding: 8px 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.billing button span { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--green-50); color: var(--green-700); font-size: 11px; }
.billing button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.billing button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.price-old { margin-top: 4px; font-size: 14px; color: var(--muted); }
.price-save { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 16px; padding: 8px 18px; border-radius: 12px; background: var(--green-50); color: var(--green-700); font-size: 16px; font-weight: 600; }
.price-save[hidden] { display: none; }
.price-save strong { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-billed { margin-top: 10px; font-size: 14px; color: var(--muted); }
.price-card { position: relative; max-width: 560px; margin: 0 auto; padding: 44px 44px 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.price-from { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 6px; color: var(--ink); }
.price-amount { font-size: clamp(52px, 7vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-cents { font-size: .45em; letter-spacing: -0.01em; vertical-align: super; margin-left: 2px; }
.price-period { font-size: 18px; font-weight: 500; color: var(--muted); }
.price-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.price-divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0 22px; }
.price-copy { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }

/* ---------- CTA final ---------- */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; padding: 64px; border-radius: 28px; background: linear-gradient(150deg, #2A6DBE 0%, #1F57A0 100%); color: rgba(255, 255, 255, .85); }
.cta-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 185, 108, .45), transparent 65%); pointer-events: none; }
.cta-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.cta-copy h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.cta-copy p { font-size: 18px; color: rgba(255, 255, 255, .82); }
.cta-copy .checks li { color: #fff; }
.cta-copy .checks li [data-lucide], .cta-copy .checks li .lucide { color: #A8E0A5; }
.form-card { position: relative; z-index: 1; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(10, 30, 60, .6); color: var(--ink-2); }
.form-card h3 { font-size: 22px; margin-bottom: 4px; }
.form-card h3 + p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.cta-copy .eyebrow { align-self: flex-start; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 11px; border: 1px solid #D5DEE9; background: #fff; font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #9AA7B8; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2366768C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field select:invalid { color: #9AA7B8; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-legal { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--green-50); color: var(--green-700); }
.form-success .ic [data-lucide], .form-success .ic .lucide { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15px; }
.form-success .form-wa-link { margin-top: 20px; }
.form-card.done form { display: none; }
.form-card.done .form-success { display: block; }

/* ---------- Footer ---------- */
.footer { background: #0F1D33; color: rgba(255, 255, 255, .65); padding: 64px 0 32px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-legal { margin-top: 16px; max-width: 820px; font-size: 11.5px; line-height: 1.6; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1240px) {
  .hero-visual .fc-1 { left: -16px; }
  .hero-visual .fc-2 { right: -16px; }
  .perm-card { right: 0; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 12px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.is-open .nav-mobile { display: grid; gap: 4px; }
  .nav-mobile a { padding: 12px; border-radius: 10px; font-weight: 500; color: var(--ink); }
  .nav-mobile a:hover { background: var(--bg-soft); }
  .nav-mobile .btn { margin-top: 8px; }
  .float-card { display: none; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse > .sec-stage { order: 2; }
  .cta-card { grid-template-columns: 1fr; padding: 48px; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .problems, .teams { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-100) 0 8px, transparent 8px 14px); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; text-align: left; align-items: start; padding-bottom: 32px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: 1 / span 4; }
  .step-count { margin-top: 4px; }
  .step .role { justify-self: start; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .map-stage, .map-stage.mirror { padding: 0; display: grid; gap: 40px; justify-items: center; }
  .map-stage .browser { width: 100%; }
  .map-stage .phone { position: relative; top: auto; transform: none; }
  .feature-row { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .wa-points.row { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .receipt-stage { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
  .receipt { grid-column: 1 / -1; order: -1; }
  .receipt-notes { justify-content: flex-start; gap: 24px; padding: 16px 0 0; }
  .receipt-notes.left li { flex-direction: row; text-align: left; }
  .receipt-notes li::after { display: none; }
  .gallery { margin-top: 72px; }
  .trio { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-lead { font-size: 16px; }
  .hero { padding: 48px 0 72px; }
  .hero-visual { margin-top: 44px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .nav-cta .btn { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .map-app, .log-app, .dash-main { padding: 14px; }
  .browser-bar { height: 40px; padding: 0 14px; gap: 12px; }
  .dots i { width: 10px; height: 10px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item, .strip-item + .strip-item { border-left: 0; padding: 18px 4px; }
  .strip-item:nth-child(n+2) { border-top: 1px solid var(--line); }
  .problems, .teams, .modules { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; margin-top: 44px; }
  .wa-points.row { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .wa-points.row li { flex-direction: row; }
  .receipt-stage { grid-template-columns: 1fr; gap: 24px; }
  .receipt-notes { padding: 0; }
  .receipt-actions { margin-top: 36px; }
  .fel-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .fel-card .link-arrow { margin-left: 0; }
  .gallery-tabs { width: 100%; }
  .gallery-tabs button { flex: 1 1 auto; justify-content: center; padding: 9px 10px; font-size: 13px; }
  .phase-progress .bar { width: 72px; }
  .sec-stage { padding: 0; display: grid; gap: 24px; }
  .perm-card { position: relative; right: auto; width: 100%; }
  .log-list li { grid-template-columns: 32px 1fr; }
  .log-list li .log-time { grid-column: 2; }
  .avatar { width: 32px; height: 32px; }
  .debtors th:nth-child(2), .debtors td:nth-child(2) { display: none; }
  .svc-table th:nth-child(3), .svc-table td:nth-child(3) { display: none; }
  .kpis.three { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 20px; border-radius: 22px; }
  .price-card { padding: 36px 20px 28px; border-radius: 20px; }
  .form-card { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr; }
  .phone { width: 270px; height: 560px; }
}

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