/* seo.css — páginas de servicio y de municipio. Misma piel que la portada (index.html). */
:root {
  --polish: #d8a7a0;
  --ink: #26201c;
  --ink-2: #6b6059;
  --ink-3: #736860;
  --line: #e6dcd0;
  --sand: #ede3d7;
  --oak: #b08a66;
  --oak-ink: #8a6646;
  --bg: #fdfbf8;
  --bg-2: #f5efe8;
  --accent: #9c4f53;
  --accent-hover: #86414a;
  --radius: 28px;
  --max: 1024px;
  --gutter: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.022em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: auto; flex: none; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--ink); opacity: .8; font-size: 13px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; text-decoration: none; color: var(--accent); }

/* Botones y textos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; background: var(--accent); color: #fff; border-radius: 980px; font-size: 17px; padding: 12px 24px; transition: background .2s, transform .15s; }
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn-sm { font-size: 13px; padding: 6px 14px; flex: none; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.link-more { font-size: 19px; }
.link-more::after { content: " \203A"; }
.eyebrow { font-size: 19px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.h1 { font-size: clamp(44px, 7.6vw, 84px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 5vw, 54px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; color: var(--ink-2); letter-spacing: -0.015em; }
.center .lead { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Hero */
.seo-hero { padding: 56px 0 24px; }
.seo-hero .lead { margin-top: 18px; max-width: 700px; }
.seo-miga { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.seo-miga a { color: var(--ink-2); }
.seo-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.seo-hero-img { margin-top: 44px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }

/* Bloques */
.seo-bloque { padding: 72px 0; }
.seo-gris { background: var(--bg-2); }
.seo-h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 18px; }
.seo-sub { color: var(--ink-2); margin: 0 0 18px; }
.seo-nota { color: var(--ink-3); font-size: 13px; margin-top: 12px; }
.seo-dos { display: grid; gap: 48px; }
.seo-texto p { font-size: 19px; line-height: 1.55; color: var(--ink); margin-bottom: 18px; }
.seo-texto p:first-child { font-size: 21px; }

/* Carta de precios */
.seo-carta { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.seo-carta li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.seo-carta strong { display: block; font-weight: 600; }
.seo-carta small { color: var(--ink-3); font-size: 13px; }
.seo-precio { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seo-reservar { font-size: 14px; padding: 6px 12px; border-radius: 980px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); white-space: nowrap; }
.seo-reservar:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); text-decoration: none; }

/* Trabajos y tarjetas */
.seo-trabajos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.seo-trabajos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; background: var(--sand); }
.seo-tarjetas { display: grid; gap: 16px; margin-bottom: 22px; }
.seo-tarjeta { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 24px; overflow: hidden; color: var(--ink); padding-bottom: 18px; box-shadow: 0 1px 2px rgba(38,32,28,.04), 0 8px 26px rgba(38,32,28,.06); transition: transform .2s; }
.seo-tarjeta:hover { text-decoration: none; transform: translateY(-3px); }
.seo-tarjeta img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 12px; }
.seo-tarjeta strong, .seo-tarjeta small { padding: 0 18px; }
.seo-tarjeta strong { font-size: 20px; }
.seo-tarjeta small { color: var(--ink-2); font-size: 14px; }

/* FAQ, horario, rutas */
.seo-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.seo-faq details:first-child { border-top: 1px solid var(--line); }
.seo-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.seo-faq details[open] summary::after { content: "–"; }
.seo-faq p { color: var(--ink-2); margin-top: 10px; }
.seo-horario { margin: 0; border-top: 1px solid var(--line); }
.seo-horario div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.seo-horario dt { font-weight: 600; }
.seo-horario dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; }
.seo-cerca { margin-top: 18px; color: var(--ink-2); }
.seo-rutas { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.seo-rutas li { display: flex; justify-content: space-between; gap: 12px; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(38,32,28,.04), 0 6px 20px rgba(38,32,28,.05); }
.seo-rutas span { color: var(--ink-2); }
.seo-rutas strong { font-variant-numeric: tabular-nums; }
.seo-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-2); }

/* Llamada final */
.seo-cta { padding: 88px 0; background: var(--sand); }
.seo-cta .lead { margin-top: 14px; }
.seo-cta-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Pie */
.seo-pie { background: var(--bg-2); color: var(--ink-3); font-size: 14px; }
.seo-pie-rejilla { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.seo-pie-rejilla nav { display: flex; flex-direction: column; gap: 8px; }
.seo-pie-rejilla a { color: var(--ink-2); }
.seo-pie-marca { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.seo-pie-t { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.seo-pie p { margin-bottom: 6px; }
.seo-pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 12px; }
.seo-pie-legal nav { display: flex; flex-wrap: wrap; gap: 14px; }
.seo-pie-legal a { color: var(--ink-2); }

@media (min-width: 740px) {
  .seo-dos { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .seo-trabajos { grid-template-columns: repeat(3, 1fr); }
  .seo-tarjetas { grid-template-columns: repeat(3, 1fr); }
  .seo-pie-rejilla { grid-template-columns: 1.2fr 1fr 1fr; }
  .seo-bloque { padding: 96px 0; }
}
@media (max-width: 739px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .seo-hero { padding-top: 36px; }
  .seo-hero-img { aspect-ratio: 4 / 3; margin-top: 32px; }
  .seo-carta li { grid-template-columns: 1fr auto; }
  .seo-reservar { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .seo-tarjeta { transition: none; } }

/* Ramas (páginas padre) */
.seo-h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px; }
.seo-h3:first-of-type { margin-top: 0; }
.seo-tarjeta-txt { padding-top: 18px; }
