:root {
  --ink: #0E1626;
  --ink-2: #3A4458;
  --muted: #4A5468;
  --line: #E4E7EE;
  --soft: #F5F6FA;
  --tint: #E8EDFF;
  --accent: #2443D6;
  --accent-hover: #1A2F99;
  --amber: #FFB547;
  --on-dark: #C5CCDA;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
h1, h2, h3, .stat, .price-big, .card-title, .logo span, .step-n { font-family: 'Space Grotesk', sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
input, select, textarea, button { font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 880px; }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; }
h3 { font-size: 20px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.light { color: var(--on-dark); }
.muted { color: var(--muted); font-size: 15px; }
.muted-dark { color: var(--ink-2); font-size: 16px; }
.small { font-size: 13px; }
.amber { color: var(--amber); font-family: Inter, sans-serif; font-size: 18px; font-weight: 600; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); }

.dark { background: var(--ink); color: #fff; }
.soft { background: var(--soft); }
.tint { background: var(--tint); }
.border-bottom { border-bottom: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; border-radius: 12px; padding: 16px; font-size: 16px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1E2A40; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #5A6478; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Nav */
.nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.nav-inner { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo span { font-weight: 700; font-size: 24px; letter-spacing: -0.5px; }
.logo-ring { color: var(--accent); }
.logo-core { fill: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-by { font-family: inherit; font-size: 11px; font-weight: 500; letter-spacing: 0.2px; color: var(--muted, #6B7280); margin-top: 3px; }
.footer a { color: #fff; text-decoration: underline; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.5vw, 60px); line-height: 1.04; letter-spacing: -1.5px; }
.hero .lead { font-size: 19px; max-width: 560px; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); background: var(--amber); padding: 6px 12px; border-radius: 999px; }

.search-card {
  flex: 1 1 400px; min-width: 0; background: #fff; color: var(--ink);
  border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.card-title { font-size: 22px; font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1px solid #C9CFDB; border-radius: 10px;
  font-size: 16px; color: var(--ink); background: #fff; min-height: 44px; font-weight: 400;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.row-2 { display: flex; flex-wrap: wrap; gap: 12px; }
.row-2 .field { flex: 1 1 140px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer;
  min-height: 44px; background: #fff; color: var(--ink); border: 1px solid #C9CFDB;
}
.pill[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Stats */
.stats { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.stats > div { display: flex; flex-direction: column; gap: 4px; }
.stat { font-size: 36px; font-weight: 700; }

/* Tabs + steps */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 999px; align-self: flex-start; }
.tab { padding: 12px 22px; border-radius: 999px; border: none; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 44px; background: transparent; color: var(--ink-2); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3[hidden] { display: none; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step h3 { font-size: 22px; }
.step p, .card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 15px; }
.icon { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why { flex-direction: row; flex-wrap: wrap; gap: 56px; }
.why-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.why-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.why-grid > div { display: flex; flex-direction: column; gap: 8px; }
.why-grid p { font-size: 15px; line-height: 1.6; }

/* Split */
.split { flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.checklist { flex: 1 1 400px; min-width: 0; background: var(--soft); border-radius: 20px; padding: 32px; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.checklist li { position: relative; padding-left: 38px; font-size: 16px; line-height: 1.5; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  background: no-repeat center / 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232443D6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* Price */
.price { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.price > div { display: flex; flex-direction: column; gap: 8px; flex: 1 1 420px; min-width: 0; }
.price-big { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -1px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Contact */
.contact-form {
  flex: 1 1 520px; min-width: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.contact-form .field { font-size: 14px; color: var(--ink-2); }
.full { grid-column: 1 / -1; }
.form-status { font-size: 14px; color: var(--ink-2); min-height: 1em; }

/* Footer */
.footer { background: #0A101C; color: #A9B1C2; }
.footer-inner { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; }

@media (max-width: 640px) {
  .nav { position: static; }
  .nav-links { gap: 14px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .search-card, .contact-form, .checklist { padding: 22px; }
}

/* Página de disponibilidad */
.demo-banner { background: #FFF4E0; color: #6B4A00; font-size: 14px; text-align: center; padding: 10px 16px; border-bottom: 1px solid #F5DDAE; }
.disp-filters-inner { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.disp-title h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.5px; line-height: 1.1; }
.disp-title p { margin-top: 6px; }
.disp-form { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 12px; flex: 1 1 560px; max-width: 760px; }
.disp-body { display: grid; grid-template-columns: minmax(0, 1fr) 420px; height: calc(100vh - 250px); min-height: 520px; }
.disp-map-wrap { position: relative; }
.disp-map { width: 100%; height: 100%; background: var(--soft); }
.disp-map-note { position: absolute; left: 12px; bottom: 12px; z-index: 500; background: rgba(255,255,255,0.95); color: var(--ink-2); padding: 6px 10px; border-radius: 8px; max-width: calc(100% - 24px); box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.disp-list-wrap { overflow-y: auto; border-left: 1px solid var(--line); background: var(--soft); padding: 16px; }
.disp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.disp-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
.disp-card.is-active, .disp-card:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(36,67,214,0.12); }
.disp-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.disp-card-head h3 { font-size: 18px; }
.disp-loc { font-size: 14px; color: var(--muted); white-space: nowrap; }
.disp-cap { font-weight: 600; font-size: 15px; }
.disp-cap.ok { color: #127A3A; }
.disp-cap.partial { color: #9A5B00; }
.disp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink-2); border: 1px solid var(--line); }
.tag-on { background: var(--tint); color: var(--accent); border-color: #C9D3FF; font-weight: 600; }
.disp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.disp-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-ghost-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.disp-empty { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.disp-empty-title { font-weight: 600; }
.disp-empty-row { display: flex; flex-wrap: wrap; gap: 8px; }
.disp-pop { display: flex; flex-direction: column; gap: 2px; font-family: Inter, sans-serif; font-size: 13px; }

@media (max-width: 960px) {
  .disp-form { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; }
  .disp-body { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .disp-map-wrap { height: 55vh; min-height: 320px; }
  .disp-map-note { position: static; box-shadow: none; border-radius: 0; max-width: none; padding: 8px 16px; }
  .disp-map-wrap { display: flex; flex-direction: column; }
  .disp-map { flex: 1; }
  .disp-list-wrap { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
}
.disp-body.no-map { grid-template-columns: 1fr; height: auto; }
.disp-empty[hidden], .disp-map-wrap[hidden], .disp-actions .btn[hidden] { display: none; }
