/* FASTZAR — estilos del sitio (sin dependencias externas salvo Google Fonts) */

:root {
  --navy: #142560;        /* azul marino del logo */
  --navy-dark: #0E1D3B;
  --sky: #1A8FD8;         /* celeste del logo (decorativo) */
  --sky-text: #0068A8;    /* celeste legible sobre blanco (AA) */
  --sky-soft: #EEF6FC;
  --ink: #1F2A3D;
  --muted: #55627A;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F7F9FC;
  --wa: #128C4A;          /* verde WhatsApp con contraste AA */

  --font-title: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Rubik", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-text); }
a:focus-visible, button:focus-visible, input:focus-visible, label:focus-within {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 24px; border-radius: var(--radius);
  transition: background-color .15s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-dark); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn--wa { background: var(--wa); color: #fff; width: 100%; padding: 16px 24px; font-size: 1.05rem; }
.btn--wa:hover { background: #0E7A40; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ---------- Barra de promoción ---------- */
.promo {
  background: var(--sky-soft); color: var(--navy);
  font-size: .9rem; text-align: center; padding: 9px 16px;
  border-bottom: 1px solid #D6E8F6;
}
.promo code {
  font-family: var(--font-title); font-weight: 800; letter-spacing: .04em;
  background: #fff; border: 1px dashed var(--sky); border-radius: 6px; padding: 1px 8px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand img { height: 48px; width: auto; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--sky-text); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px;
}
.hero-price {
  position: absolute; left: 16px; bottom: 16px;
  background: #fff; border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 6px 24px rgba(20,37,96,.18);
}
.hero-price strong { display: block; font-family: var(--font-title); font-size: 1.35rem; color: var(--navy); line-height: 1.2; }
.hero-price span { font-size: .85rem; color: var(--muted); }

.facts { display: grid; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { width: 28px; height: 28px; color: var(--sky); flex: none; margin-top: 2px; }
.fact strong { display: block; color: var(--navy); font-weight: 600; }
.fact span { color: var(--muted); font-size: .95rem; }

/* ---------- Tarifas ---------- */
.prices { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.price-row {
  display: grid; grid-template-columns: 1fr; gap: 8px 16px; align-items: center;
  padding: 20px; border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row h3 { margin: 0; }
.price-row p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.price-row .amount { text-align: left; }
.price-row .amount span { display: inline; margin-left: 8px; }
@media (min-width: 560px) {
  .price-row { grid-template-columns: 1fr auto; }
  .price-row .amount { text-align: right; }
  .price-row .amount span { display: block; margin-left: 0; }
}
.price-row .amount strong { font-family: var(--font-title); font-size: 1.25rem; color: var(--navy); white-space: nowrap; }
.price-row .amount span { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.price-row--main { background: var(--sky-soft); border-radius: 14px 14px 0 0; }
.prices-note { color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 20px; grid-template-columns: 1fr; }
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--line); }
.shot figcaption { padding: 12px 2px 0; }
.shot figcaption strong { display: block; font-family: var(--font-title); color: var(--navy); font-weight: 700; }
.shot figcaption span { color: var(--muted); font-size: .95rem; }
.gallery-more { margin-top: 36px; }

/* ---------- Cotizador ---------- */
.quote { display: grid; gap: 28px; align-items: start; }
.form-block { border: 0; margin: 0 0 24px; padding: 0; }
.form-block legend, .field-label {
  font-family: var(--font-title); font-weight: 700; color: var(--navy);
  font-size: 1rem; margin-bottom: 10px; padding: 0; display: block;
}
.plans { display: grid; gap: 12px; }
.plan {
  position: relative; display: block; cursor: pointer;
  border: 2px solid var(--line); border-radius: 12px; padding: 16px 16px 16px 48px;
  transition: border-color .15s ease, background-color .15s ease;
}
.plan input { position: absolute; left: 16px; top: 19px; width: 18px; height: 18px; accent-color: var(--navy); }
.plan strong { display: block; color: var(--navy); }
.plan span { display: block; color: var(--muted); font-size: .92rem; }
.plan em { font-style: normal; color: var(--sky-text); font-weight: 600; font-size: .92rem; }
.plan:has(input:checked) { border-color: var(--navy); background: var(--sky-soft); }

.fields { display: grid; gap: 16px; margin-bottom: 24px; }
.field input[type="number"], .field input[type="text"] {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #C9D2E0; border-radius: 10px; background: #fff;
}
.field input:disabled { background: var(--bg-alt); color: var(--muted); }
.field small { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }

.toggle {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px;
}
.toggle input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.toggle strong { display: block; color: var(--navy); font-weight: 600; }
.toggle span { color: var(--muted); font-size: .92rem; }
.toggle.is-disabled { opacity: .5; cursor: not-allowed; }

.promo-field { margin-top: 24px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { text-transform: uppercase; }
.promo-msg { font-size: .9rem; margin-top: 8px; min-height: 1.4em; }
.promo-msg.ok { color: var(--wa); }
.promo-msg.err { color: #B42318; }
.promo-help { font-size: .9rem; display: inline-block; margin-top: 4px; }

.summary {
  border: 2px solid var(--navy); border-radius: 16px; padding: 24px; background: #fff;
}
.summary h3 { font-size: 1.15rem; margin-bottom: 16px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 500; color: var(--ink); }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.summary .discount dt, .summary .discount dd { color: var(--wa); }
.total { margin: 6px 0 20px; }
.total span { display: block; color: var(--muted); font-size: .9rem; }
.total output {
  display: block; font-family: var(--font-title); font-weight: 800;
  font-size: clamp(2rem, 7vw, 2.6rem); color: var(--navy); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.summary-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 28px; }
.footer img { height: 38px; width: auto; margin-bottom: 12px; }
.footer p { color: var(--muted); font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.footer li a:hover { color: var(--sky-text); }
.footer li svg { width: 20px; height: 20px; color: var(--navy); }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Tablet (≥ 768 px) ---------- */
@media (min-width: 768px) {
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-actions { flex-direction: row; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .nav { display: flex; }
}

/* ---------- Escritorio (≥ 1024 px) ---------- */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .quote { grid-template-columns: 1.2fr .8fr; gap: 48px; }
  .summary { position: sticky; top: 96px; }
  .tarifas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
}
