/* Web pública de fideluy.com, diseño "viva pero formal" (2026-10-21). Estilos compartidos por las
   páginas: inicio, tarjetas, menu-digital, resenas-google, diseno-web y contacto.
   Una sola paleta: azul marino, celeste de la marca, celeste fuerte y blanco. Letra: Geist (una sola familia).
   Lo vivo está en las demos de cada página (celular con Google Wallet, menú, pedido de reseña, web que cambia de
   compu a celular) y en el panel del dueño que se dibuja al llegar. Nada de stickers, emojis ni papelitos. */
:root {
  --navy: #0E1A2B;
  --navy-2: #16263D;       /* superficies sobre azul marino */
  --sky: #7CC0FF;          /* celeste de la marca */
  --sky-strong: #2E8BF0;   /* detalles y links */
  --sky-soft: #EAF4FF;
  --white: #FFFFFF;
  --muted: #4E5B70;
  --muted-light: #A9B6C8;  /* texto secundario sobre azul marino */
  --line: #DDE6F0;
  --pass: #12324F;         /* color de los ejemplos (tarjeta y menú de Café del Puerto) */
  --radius: 16px;
  --font: 'Geist', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky-strong); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; max-width: 18ch; margin-bottom: 20px; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 14px; max-width: 60ch; }
.lead { font-size: 19px; color: var(--muted); margin-bottom: 44px; }
section { padding: 104px 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 12px; font: 600 16px var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: #99CEFF; box-shadow: 0 8px 22px -8px rgba(124,192,255,.7); }
.btn-outline-light { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 15px; background: var(--navy); color: var(--white); }
.btn-small:hover { background: var(--navy-2); }
.btn.big { min-height: 58px; padding: 14px 34px; font-size: 18px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* ---------- Encabezado ---------- */
header { position: sticky; top: 0; z-index: 30; background: rgba(14,26,43,.96); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 23px; letter-spacing: -.04em; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--sky); display: grid; place-items: center; }
.logo-mark i { width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid #fff; }
.links { display: flex; align-items: center; gap: 28px; }
.links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--muted-light); transition: color .2s; }
.links a:not(.btn):hover, .links a[aria-current="page"] { color: var(--white); }
.links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.links .btn { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,.3); border-radius: 10px; font: 600 15px var(--font); padding: 8px 14px; cursor: pointer; color: var(--white); }

/* ---------- Portada (todas las páginas) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 52px 0 80px; }
.hero::before { content: ''; position: absolute; width: 760px; height: 760px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(124,192,255,.28), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-bottom: 24px; max-width: 12ch; }
.hero h1.long { font-size: clamp(42px, 5vw, 68px); max-width: 15ch; }
.hero-lead { font-size: 20px; color: var(--muted-light); margin-bottom: 34px; max-width: 46ch; }
.crumb { display: inline-block; margin-bottom: 22px; font-size: 15px; color: var(--muted-light); }
.crumb a { color: var(--sky); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 32px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.hero-facts dt { font-weight: 600; }
.hero-facts dd { margin: 0; color: var(--muted-light); font-size: 15px; }
.demo { justify-self: center; display: flex; flex-direction: column; align-items: center; }
.demo-hint { margin: 14px 0 0; font-size: 14px; color: var(--muted-light); text-align: center; max-width: 32ch; }

/* ---------- Celular (demos) ---------- */
.phone { position: relative; width: 320px; height: 650px; border-radius: 46px; background: #F1F4F8; border: 11px solid #05090F; box-shadow: 0 0 0 1.5px #2B3A50, 0 40px 80px -24px rgba(0,0,0,.7); overflow: hidden; color: #1F1F1F; display: flex; flex-direction: column; }
.phone::before { content: ''; position: absolute; top: 9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #05090F; z-index: 6; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px 0; height: 38px; font-size: 13px; font-weight: 600; flex: none; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sig { width: 14px; height: 11px; background: linear-gradient(to top right, #1F1F1F 50%, transparent 50%); }
.bat { width: 20px; height: 10px; border: 1.5px solid #1F1F1F; border-radius: 3px; background: linear-gradient(90deg, #1F1F1F 70%, transparent 70%) content-box; padding: 1px; }
.appbar { display: flex; align-items: center; gap: 14px; padding: 8px 18px 12px; font-size: 17px; font-weight: 500; flex: none; }
.appbar .back { font-size: 26px; line-height: 1; }
.appbar .dots { margin-left: auto; font-size: 18px; }
.urlbar { margin: 4px 12px 10px; padding: 8px 14px; border-radius: 999px; background: #E3E8EF; font-size: 13px; color: #3C4043; display: flex; align-items: center; gap: 8px; flex: none; }
.urlbar::before { content: ''; width: 9px; height: 7px; border: 1.5px solid #3C4043; border-radius: 2px; position: relative; top: 1px; box-shadow: 0 -4px 0 -1.5px #E3E8EF, 0 -4px 0 0 #3C4043; }

/* Notificación estilo Android */
.notif { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 5; background: rgba(255,255,255,.97); border-radius: 20px; padding: 12px 16px; box-shadow: 0 10px 30px -6px rgba(0,0,0,.3); transform: translateY(-130%); transition: transform .45s cubic-bezier(.2,.9,.3,1); }
.notif.show { transform: translateY(0); }
.notif-top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #5F6368; }
.gw-dot { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC04 0 75%, #EA4335 0); }
.notif-time { color: #80868B; }
.notif b { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; }
.notif p { margin: 0; font-size: 14px; color: #3C4043; line-height: 1.4; }

/* Pase de Google Wallet */
.pass { display: block; width: calc(100% - 24px); margin: 0 12px; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--white); background: var(--pass); border-radius: 22px; padding: 18px 18px 16px; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .25s; }
.pass:hover { transform: translateY(-2px); }
.pass:active { transform: scale(.985); }
.pass-top { display: flex; align-items: center; gap: 10px; }
.pass-logo { width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--pass); display: grid; place-items: center; font-weight: 800; flex: none; }
.pass-issuer { font-size: 15px; font-weight: 500; }
.pass-title { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 14px 0 12px; }
.pass-row { display: flex; justify-content: space-between; gap: 10px; }
.pass-row.two { margin-top: 12px; }
.f small { display: block; font-size: 11px; color: rgba(255,255,255,.7); }
.f b { display: block; font-size: 15px; font-weight: 600; }
.f.right { text-align: right; }
.pass-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.pass-stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); position: relative; }
.pass-stamps i.on { background: var(--sky); border-color: var(--sky); }
.pass-stamps i.on::after { content: ''; position: absolute; inset: 30% 26% 34%; border: solid var(--pass); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.pass-stamps i.new { animation: stamp .45s cubic-bezier(.3,1.4,.5,1); }
@keyframes stamp { from { transform: scale(1.5); opacity: 0; } }
.pass.complete .pass-stamps { background: rgba(124,192,255,.22); }
.pass-code { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; padding: 14px 0 4px; }
.pass-code svg { width: 116px; height: 116px; background: #fff; padding: 8px; border-radius: 12px; }
.pass-code small { font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.btn-scan { margin-top: 26px; background: var(--white); color: var(--navy); }
.btn-scan:hover { box-shadow: 0 8px 22px -8px rgba(255,255,255,.5); }
.scan-ic { width: 20px; height: 20px; border: 2px solid var(--navy); border-radius: 5px; position: relative; }
.scan-ic::after { content: ''; position: absolute; left: -4px; right: -4px; top: 7px; height: 2px; background: var(--sky-strong); }

/* Menú digital (demo) */
.m-screen { flex: 1; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.m-cover { height: 80px; background: linear-gradient(135deg, #1B4B73, var(--pass)); flex: none; position: relative; }
.m-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(124,192,255,.45), transparent 55%); }
.m-brand { display: flex; align-items: center; gap: 10px; padding: 0 16px; margin-top: -22px; position: relative; flex: none; }
.m-brand .pass-logo { width: 46px; height: 46px; border: 3px solid #fff; font-size: 18px; }
.m-brand b { margin-top: 20px; font-size: 15px; white-space: nowrap; }
.m-lang { margin: 20px 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: 600 12px var(--font); padding: 4px 10px; cursor: pointer; color: var(--navy); }
.m-tabs { display: flex; gap: 6px; padding: 14px 16px 8px; overflow: hidden; flex: none; }
.m-tabs button { border: 0; border-radius: 999px; padding: 6px 10px; font: 600 12px var(--font); background: var(--sky-soft); color: var(--navy); cursor: pointer; white-space: nowrap; }
.m-tabs button.on { background: var(--pass); color: #fff; }
.m-items { list-style: none; margin: 0; padding: 0 16px; flex: 1; }
.m-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 4px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #EEF2F6; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }
.m-items .thumb { grid-row: span 2; width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, #C9DDF0, #8DB4D8); }
.m-items b { font-size: 14px; }
.m-items small { grid-column: 2; font-size: 12px; color: #5F6B7A; line-height: 1.3; }
.m-items .price { grid-row: 1; grid-column: 3; font-size: 14px; font-weight: 700; text-align: right; }
.m-items s { display: block; font-size: 11px; color: #8A94A3; font-weight: 500; }
.m-items .tag { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--sky-soft); color: var(--sky-strong); vertical-align: 1px; }
.m-items li.out { opacity: .45; }
.m-items li.out .tag { background: #EEF2F6; color: #5F6B7A; }
.m-club { margin: 8px 16px 14px; border-radius: 12px; background: var(--pass); color: #fff; font-size: 12px; font-weight: 600; text-align: center; padding: 11px; flex: none; }

/* Pedido de reseña (demo) */
.r-screen { flex: 1; background: #fff; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.r-screen > div { width: 100%; display: flex; flex-direction: column; align-items: center; animation: fadeIn .3s ease; }
.r-screen [hidden] { display: none; }
.r-screen .pass-logo { width: 64px; height: 64px; font-size: 24px; margin: 10px 0 12px; }
.r-screen h4 { margin: 0 0 4px; font-size: 18px; }
.r-screen p { margin: 0 0 22px; font-size: 14px; color: #5F6B7A; }
.r-btn { width: 100%; border: 0; border-radius: 12px; padding: 13px; font: 600 14px var(--font); cursor: pointer; margin-bottom: 10px; }
.r-btn.main { background: var(--pass); color: #fff; }
.r-btn.alt { background: #EEF2F6; color: var(--navy); }
.r-stars { display: flex; gap: 6px; margin: 6px 0 16px; }
.r-stars i { width: 34px; height: 34px; background: #DADCE0; -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; transition: background-color .2s; }
.r-stars i.on { background: #FBBC04; }
:root { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.r-g { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5F6368; margin-bottom: 10px; }
.r-text { width: 100%; min-height: 96px; border: 1px solid #DADCE0; border-radius: 10px; padding: 10px 12px; font: 14px var(--font); text-align: left; color: #1F1F1F; margin-bottom: 14px; resize: none; }
.r-done { font-size: 15px; color: var(--navy); font-weight: 600; margin: 40px 0 18px; }
.r-reset { background: none; border: 0; color: var(--sky-strong); font: 600 14px var(--font); cursor: pointer; }
.r-rating { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.r-rating b { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.r-rating span { color: #FBBC04; letter-spacing: 2px; }
.r-rating small { display: block; color: var(--muted-light); font-size: 13px; }

/* Web adaptable (demo de diseño web) */
.device-switch { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; }
.device-switch button { border: 0; background: none; color: var(--muted-light); font: 600 14px var(--font); padding: 8px 16px; border-radius: 9px; cursor: pointer; }
.device-switch button.on { background: var(--sky); color: var(--navy); }
.screen { width: 520px; max-width: 100%; height: 420px; border-radius: 14px; background: #fff; border: 8px solid #05090F; box-shadow: 0 40px 80px -24px rgba(0,0,0,.7); overflow: hidden; transition: width .5s cubic-bezier(.2,.8,.2,1), border-radius .5s; color: #13232A; display: flex; flex-direction: column; }
.screen.is-phone { width: 230px; border-radius: 32px; border-width: 9px; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #E9EDF2; font-size: 11px; color: #5F6B7A; flex: none; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C3CBD5; }
.screen-bar span { margin-left: 8px; background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; white-space: nowrap; overflow: hidden; }
.is-phone .screen-bar i { display: none; }
.is-phone .screen-bar span { margin: 0; text-align: center; }
.cdp { flex: 1; background: #173F4A; color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; padding: 18px 20px; align-content: start; font-family: 'Instrument Sans', var(--font); }
.cdp-nav { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font: 800 16px 'Big Shoulders', var(--font); }
.cdp-nav span { font: 600 10px var(--font); background: #F0B429; color: #13232A; padding: 4px 8px; border-radius: 3px; }
.cdp-status { font: 700 13px 'Big Shoulders Stencil', var(--font); color: #AFC4C9; margin-top: 10px; }
.cdp h5 { margin: 4px 0 10px; font: 800 44px/0.9 'Big Shoulders Stencil', Impact, sans-serif; }
.cdp p { margin: 0 0 12px; font-size: 11px; opacity: .85; line-height: 1.45; }
.cdp-btns { display: flex; gap: 6px; }
.cdp-btns span { font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: 3px; background: #F0B429; color: #13232A; }
.cdp-btns span + span { background: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.cdp-photo { border-radius: 4px 4px 0 0; background: linear-gradient(160deg, #B08A5B, #6E5233); align-self: stretch; min-height: 200px; }
.is-phone .cdp { grid-template-columns: 1fr; padding: 14px; }
.is-phone .cdp-nav span { display: none; }
.is-phone .cdp h5 { font-size: 34px; }
.is-phone .cdp-photo { min-height: 90px; }

/* ---------- Bloques de contenido ---------- */
.rubros { background: var(--white); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rubros p { margin: 0 auto; text-align: center; color: var(--muted); max-width: none; }

/* Pasos con dibujito (inicio y tarjetas) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: paso; }
.flow li { counter-increment: paso; }
.flow h3::before { content: counter(paso) '. '; color: var(--sky-strong); }
.flow p { color: var(--muted); margin-top: 10px; }
.flow-art { height: 220px; border-radius: var(--radius); background: var(--sky-soft); margin-bottom: 24px; display: grid; place-items: center; position: relative; overflow: hidden; }
.stand { background: var(--white); border-radius: 12px; padding: 14px 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 10px 24px -12px rgba(14,26,43,.35); }
.stand svg { width: 96px; height: 96px; }
.stand small { font-weight: 600; font-size: 13px; }
.art-save { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.mini-pass { width: 170px; height: 96px; border-radius: 14px; background: var(--pass); padding: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-content: end; box-shadow: 0 10px 24px -12px rgba(14,26,43,.5); }
.mini-pass i { aspect-ratio: 1; border-radius: 50%; background: var(--sky); }
.save-btn { background: #1F1F1F; color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.local-phone { width: 110px; height: 170px; border-radius: 20px; background: var(--navy); border: 5px solid #05090F; position: relative; overflow: hidden; display: grid; place-items: center; }
.local-phone b { color: var(--sky); font-size: 34px; font-weight: 800; }
.scanline { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--sky); box-shadow: 0 0 12px var(--sky); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 18%; } 50% { top: 80%; } }

/* Pasos simples (páginas de servicio) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: paso; }
.steps li { counter-increment: paso; border-top: 2px solid var(--navy); padding-top: 22px; }
.steps li::before { content: counter(paso); display: block; font-size: 40px; font-weight: 800; line-height: 1; color: var(--sky-strong); margin-bottom: 16px; letter-spacing: -.03em; }
.steps p { color: var(--muted); margin-top: 10px; }

/* Frase destacada */
.statement { background: var(--sky-soft); padding: 88px 0; }
.statement p { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; max-width: 34ch; }

/* Qué incluye: lista en grilla con íconos de línea */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.feature { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.feature p { color: var(--muted); margin: 10px 0 0; }
.ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-strong); display: grid; place-items: center; margin-bottom: 18px; transition: background-color .2s, color .2s; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature:hover .ic { background: var(--sky-strong); color: var(--white); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.duo > div { border-radius: var(--radius); padding: 30px; background: var(--navy); color: var(--white); }
.duo p { color: var(--muted-light); margin: 10px 0 0; }
.duo a { color: var(--sky); }

/* Por qué (3 columnas con línea celeste) */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why > div { border-top: 3px solid var(--sky-strong); padding-top: 22px; }
.why p { color: var(--muted); margin: 10px 0 0; }

/* Inicio: las tres partes de la fidelización */
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.part { border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; }
.part h3 { font-size: 26px; font-weight: 700; }
.part > p { color: var(--muted); margin: 10px 0 18px; }
.part ul { list-style: none; margin: 0; padding: 0; }
.part li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); font-size: 16px; }
.part li::before { content: ''; position: absolute; left: 3px; top: 16px; width: 11px; height: 6px; border: solid var(--sky-strong); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

/* ---------- Panel del dueño ---------- */
.owner { background: var(--navy); color: var(--white); }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.owner-text p { color: var(--muted-light); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid rgba(255,255,255,.1); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border: solid var(--sky); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.dash { background: var(--white); color: var(--navy); border-radius: 22px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.dash-head span { font-size: 14px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { background: var(--sky-soft); border-radius: 12px; padding: 12px 14px; }
.kpis small { display: block; font-size: 13px; color: var(--muted); }
.kpis b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart { margin-top: 20px; }
.bars { height: 130px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; }
.bars i { height: 0; border-radius: 6px 6px 2px 2px; background: var(--sky); transition: height .9s cubic-bezier(.2,.8,.2,1); }
.bars i:nth-child(6) { background: var(--sky-strong); }
.dash.drawn .bars i { height: var(--h); }
.bars i:nth-child(2) { transition-delay: .06s; } .bars i:nth-child(3) { transition-delay: .12s; } .bars i:nth-child(4) { transition-delay: .18s; }
.bars i:nth-child(5) { transition-delay: .24s; } .bars i:nth-child(6) { transition-delay: .3s; } .bars i:nth-child(7) { transition-delay: .36s; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }
.dash-alert { margin-top: 18px; border-radius: 14px; padding: 16px; background: var(--sky-soft); border-left: 4px solid var(--sky-strong); }
.dash-alert p { margin-bottom: 12px; }
.dash-alert.sent p { margin: 0; color: var(--sky-strong); font-weight: 600; }

/* ---------- Servicios ---------- */
.svc-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.svc { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.svc:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(14,26,43,.35); }
.svc p { color: var(--muted); margin: 10px 0 20px; }
.svc .go { margin-top: auto; font-weight: 600; color: var(--sky-strong); }
.svc-main { grid-row: span 2; background: var(--navy); color: var(--white); border-color: var(--navy); justify-content: flex-end; min-height: 340px; position: relative; overflow: hidden; }
.svc-main::before { content: ''; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(124,192,255,.35), transparent 65%); }
.svc-main h3 { font-size: 30px; font-weight: 700; position: relative; }
.svc-main p { color: var(--muted-light); position: relative; }
.svc-main .go { margin-top: 0; color: var(--sky); position: relative; }
.svc-grid .svc:last-child { grid-column: span 2; }
/* Otros servicios (al pie de cada página de servicio) */
.others { padding: 72px 0; border-top: 1px solid var(--line); }
.others h2 { font-size: 28px; margin-bottom: 24px; }
.others-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- Preguntas ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { color: var(--muted); margin: 0 0 20px; }
.faq a { color: var(--sky-strong); }

/* ---------- Cierre ---------- */
.final { background: var(--sky); padding: 80px 0; }
.final-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.final h2 { margin-bottom: 10px; }
.final p { font-size: 19px; margin: 0; }

/* ---------- Contacto ---------- */
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.next { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: paso; }
.next li { counter-increment: paso; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.next li::before { content: counter(paso); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.next b { font-weight: 600; }
.next span { color: var(--muted-light); font-size: 15px; }
.form-card { background: var(--white); color: var(--navy); border-radius: 22px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label { display: block; font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.form-card .opt { font-weight: 400; color: var(--muted); }
.form-card input, .form-card textarea { width: 100%; font: 16px var(--font); color: var(--navy); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; background: #FBFCFE; transition: border-color .2s; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--sky-strong); outline: none; background: #fff; }
.form-card textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form-card .hint { font-size: 14px; color: var(--muted); }
.form-card .hint a { color: var(--sky-strong); }
.trap { position: absolute; left: -9999px; }
.captcha { margin: 6px 0 16px; }
.form-card .btn { width: 100%; }
.error { color: #C0362C; font-weight: 600; margin: 14px 0 0; }
.done h2 { font-size: 30px; margin-bottom: 14px; }
.done p { color: var(--muted); }
.done a { color: var(--sky-strong); }
.other { margin-top: 18px; color: var(--muted-light); font-size: 15px; }
.other a { color: var(--sky); }

/* ---------- Pie ---------- */
footer { padding: 64px 0 28px; font-size: 15px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .logo { color: var(--navy); }
.foot p { margin-top: 14px; max-width: 28ch; }
.foot h4 { margin: 0 0 12px; color: var(--navy); font-size: 15px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.legal { margin: 40px auto 0; font-size: 13px; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .links { position: fixed; inset: 70px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 20px; background: var(--navy); display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); }
  .links a[aria-current="page"] { text-decoration: none; color: var(--sky); }
  .links .btn { margin-top: 16px; }
  .hero { padding: 40px 0 64px; }
  .hero-grid, .owner-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-lead { font-size: 18px; }
  .hero-facts { gap: 20px 28px; margin-top: 36px; }
  .phone { width: 300px; height: 620px; }
  .screen { height: 380px; }
  .flow, .steps, .features, .why, .parts, .others-grid { grid-template-columns: 1fr; }
  .flow { gap: 44px; }
  .duo { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-main { grid-row: auto; min-height: 260px; }
  .svc-grid .svc:last-child { grid-column: auto; }
  .faq-wrap { gap: 8px; }
  .final-inner { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 24px 20px; }
  .form-card .row { grid-template-columns: 1fr; gap: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  section { padding: 76px 0; }
  .statement { padding: 64px 0; }
}
@media (max-width: 560px) {
  .screen { width: 100%; }
  .screen.is-phone { width: 210px; }
  .cdp h5 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
