:root {
  --bg: #fbf7f1;
  --paper: #ffffff;
  --sand: #f3e7da;
  --line: #e4d6c6;
  --ink: #2a211d;
  --muted: #6b5d55;
  --accent: #a8201a;
  --accent-dark: #7d1712;
  --wa: #0f7a4b;
  --wa-dark: #0b5f3a;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(44px, 7vw, 80px) 0; scroll-margin-top: 64px; }
.eyebrow {
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 247, 241, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 20px; flex-wrap: wrap; padding: 10px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1.2rem/1 var(--serif); color: var(--ink); text-decoration: none;
}
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .95rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-light:hover { background: var(--sand); color: var(--accent-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center .actions { justify-content: center; }

/* Portada */
.hero {
  background:
    radial-gradient(circle, rgba(168, 32, 26, .10) 0 7px, transparent 8px) 0 0 / 46px 46px,
    radial-gradient(circle, rgba(168, 32, 26, .10) 0 7px, transparent 8px) 23px 23px / 46px 46px,
    linear-gradient(180deg, var(--sand), var(--bg));
  padding: clamp(48px, 9vw, 104px) 0 clamp(44px, 7vw, 80px);
}
.hero .panel {
  background: rgba(255, 255, 255, .93);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 5vw, 52px);
  max-width: 800px;
  box-shadow: 0 18px 50px -30px rgba(42, 33, 29, .45);
}
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--muted); }
.ticks li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Tarjetas */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: .4em; }
.card p, .card ul { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.card ul { margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; }

/* Franja flamenca */
.band {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .13) 0 8px, transparent 9px) 0 0 / 52px 52px,
    radial-gradient(circle, rgba(255, 255, 255, .13) 0 8px, transparent 9px) 26px 26px / 52px 52px,
    var(--accent);
  color: #fff;
}
.band h2, .band .eyebrow { color: #fff; }
.band .lead { color: #fbe9e6; }
.band a:not(.btn) { color: #fff; }

/* Pasos */
.steps { counter-reset: paso; list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li {
  counter-increment: paso; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 58px 24px 24px;
}
.steps li::before {
  content: counter(paso);
  position: absolute; top: 18px; left: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font: 700 1rem/32px var(--serif); text-align: center;
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Precios */
.alt { background: var(--sand); }
.prices { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.prices caption { text-align: left; font: 700 1.15rem var(--serif); padding: 0 0 10px; }
.prices th, .prices td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.prices td { text-align: right; white-space: nowrap; font-weight: 600; color: var(--accent-dark); }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* Zona */
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* Galería */
.gallery { display: grid; gap: 16px 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-top: 28px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* Preguntas */
.faq { margin-top: 24px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Texto largo */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-head { background: linear-gradient(180deg, var(--sand), var(--bg)); padding: clamp(36px, 6vw, 64px) 0 clamp(20px, 3vw, 32px); }

/* Pie */
.site-footer { background: var(--ink); color: #e9ded5; padding: 44px 0 96px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h2 { font-size: 1.1rem; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .small { margin-top: 28px; padding-top: 18px; border-top: 1px solid #4a3d37; color: #b9aaa0; font-size: .85rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none;
  padding: 13px 18px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; flex: none; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-nav { font-size: .9rem; gap: 2px 14px; }
  .btn { width: 100%; }
  .prices th, .prices td { padding: 11px 12px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
