/* Layout: portada oscura con ilustración, franja mostaza, secciones tintadas, cierre terracota.
   Paleta de taller: petróleo, terracota, mostaza, salvia, rosa palo. */
:root {
  --bg: #fffaf3;
  --fg: #23302d;
  --heading: #173f3c;
  --muted: #566562;
  --surface: #ffffff;
  --cream: #fbf1e2;
  --tint-warm: #fbe7dc;
  --tint-sage: #e3eee6;
  --line: #ecdcc3;
  --header-bg: rgba(255, 250, 243, .96);
  --petrol: #173f3c;
  --petrol-2: #235a55;
  --footer: #10302e;
  --footer-text: #bcd0cb;
  --terra: #b94a33;
  --terra-hover: #9a3a26;
  --accent-text: #a23d28;
  --on-accent: #ffffff;
  --mustard: #e6a93b;
  --teal: #1f7a74;
  --rose: #c96a78;
  --sage: #5f8a72;
  --shadow: 0 8px 28px rgba(23, 63, 60, .10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111917;
    --fg: #e4e8e5;
    --heading: #f4ead8;
    --muted: #a4b0aa;
    --surface: #1a2522;
    --cream: #151e1b;
    --tint-warm: #211b19;
    --tint-sage: #16221e;
    --line: #2b3834;
    --header-bg: rgba(17, 25, 23, .96);
    --petrol: #0f2927;
    --petrol-2: #1a4743;
    --footer: #0a1514;
    --footer-text: #9fb4ae;
    --terra: #e57b5f;
    --terra-hover: #f08f75;
    --accent-text: #ee9a82;
    --on-accent: #1a1210;
    --mustard: #f0bc58;
    --teal: #4fb3aa;
    --rose: #e08c98;
    --sage: #86b79d;
    --shadow: 0 8px 28px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111917;
  --fg: #e4e8e5;
  --heading: #f4ead8;
  --muted: #a4b0aa;
  --surface: #1a2522;
  --cream: #151e1b;
  --tint-warm: #211b19;
  --tint-sage: #16221e;
  --line: #2b3834;
  --header-bg: rgba(17, 25, 23, .96);
  --petrol: #0f2927;
  --petrol-2: #1a4743;
  --footer: #0a1514;
  --footer-text: #9fb4ae;
  --terra: #e57b5f;
  --terra-hover: #f08f75;
  --accent-text: #ee9a82;
  --on-accent: #1a1210;
  --mustard: #f0bc58;
  --teal: #4fb3aa;
  --rose: #e08c98;
  --sage: #86b79d;
  --shadow: 0 8px 28px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px;
  color: var(--fg); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--header-bg);
}
a { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; color: var(--heading); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap {
  width: min(1120px, 100%); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 800px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }

/* Puntada decorativa bajo los títulos de sección */
.section h2::after {
  content: ""; display: block; width: 72px; margin-top: .55rem;
  border-top: 3px dashed var(--terra);
}

/* Botones */
.btn {
  display: inline-block; padding: .85rem 1.5rem;
  background: var(--terra); color: var(--on-accent);
  text-decoration: none; font-weight: 600; border-radius: 999px;
  border: 2px solid var(--terra); transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--terra-hover); border-color: var(--terra-hover); transform: translateY(-1px); }
.btn-small { padding: .45rem 1.1rem; }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-ghost:hover { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.btn-mustard { background: #e6a93b; border-color: #e6a93b; color: #173f3c; }
.btn-mustard:hover { background: #f1bd5a; border-color: #f1bd5a; }
.btn-light { background: #fff; color: #8f3322; border-color: #fff; }
.btn-light:hover { background: #fbe7dc; border-color: #fbe7dc; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-ghost-light:hover { background: #fff; color: #173f3c; border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }

/* Cabecera con orillo de tela */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(8px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, #b94a33 0 25%, #e6a93b 25% 50%, #1f7a74 50% 75%, #c96a78 75% 100%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--heading); min-width: 0; }
.logo-mark {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px;
  background: #b94a33; color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem; border-radius: 12px 12px 12px 4px;
}
.logo-text { font-family: var(--serif); line-height: 1.1; }
.logo-text strong { display: block; font-size: 1.05rem; }

.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { text-decoration: none; color: var(--fg); font-weight: 500; }
.nav a:not(.btn):hover { color: var(--accent-text); }
.nav .btn { color: var(--on-accent); }

.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--heading); position: relative; transition: .2s;
}
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--terra); }

@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1.25rem max(16px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { text-align: center; margin-top: .8rem; border-bottom: 2px solid var(--terra); }
  .menu-toggle:checked ~ .nav { display: flex; }
  .menu-toggle:checked + .menu-btn span { background: transparent; }
  .menu-toggle:checked + .menu-btn span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle:checked + .menu-btn span::after { top: 0; transform: rotate(-45deg); }
}

/* Portada */
.hero {
  background:
    radial-gradient(circle at 12% 0%, rgba(230, 169, 59, .20), transparent 40%),
    radial-gradient(circle at 95% 90%, rgba(185, 74, 51, .30), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 10px),
    #173f3c;
  color: #f4ead8;
  padding-block: clamp(2.8rem, 7vw, 5.5rem);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { color: #fff7e8; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #f0bc58; margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: #d7e4df; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: #e9f0ed; }
.hero-points li::before { content: "✓"; color: #f0bc58; font-weight: 700; margin-right: .45rem; }
.hero-art { justify-self: center; width: min(100%, 440px); }
.hero-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 340px); }
}

/* Franja de confianza */
.trust { background: #e6a93b; color: #173f3c; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.8rem; text-align: center; }
.trust strong { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1.2; }
.trust span { font-size: .92rem; font-weight: 500; }
@media (max-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* Secciones */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.tint-warm { background: var(--tint-warm); }
.tint-sage { background: var(--tint-sage); }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 2.2rem; }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow); min-width: 0;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--c); }
.card p { margin: 0; color: var(--muted); }
.chip {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem;
  border-radius: 16px 16px 16px 6px;
  background: color-mix(in srgb, var(--c) 16%, var(--surface));
  color: var(--c);
}
.chip svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c1 { --c: var(--terra); } .c2 { --c: var(--teal); } .c3 { --c: #c98a14; }
.c4 { --c: var(--rose); } .c5 { --c: var(--sage); } .c6 { --c: var(--petrol-2); }
:root[data-theme="dark"] .c3 { --c: var(--mustard); }
:root[data-theme="dark"] .c6 { --c: #6fc2b8; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .c3 { --c: var(--mustard); }
  :root:not([data-theme="light"]) .c6 { --c: #6fc2b8; }
}

/* Telas */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.swatches li { min-width: 0; }
.sw {
  display: block; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px;
  box-shadow: var(--shadow); border: 3px solid var(--surface); outline: 1px dashed var(--line);
  outline-offset: 3px; margin-bottom: .8rem;
}
.swatches strong { display: block; font-family: var(--serif); color: var(--heading); line-height: 1.3; }
.swatches span.use { font-size: .9rem; color: var(--muted); }
.sw-1 { background: radial-gradient(circle at 30% 25%, #2f9a92, #1b6862 70%); }
.sw-2 { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 4px), repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 1px, transparent 1px 4px), #e6a93b; }
.sw-3 { background: radial-gradient(circle, rgba(0,0,0,.10) 1.5px, transparent 2px) 0 0 / 9px 9px, #f3ead9; }
.sw-4 { background: repeating-linear-gradient(90deg, #c4543a 0 6px, #a9422b 6px 9px); }
.sw-5 { background: repeating-linear-gradient(45deg, #86a893 0 7px, #9bbaa7 7px 14px), #86a893; background-blend-mode: normal; }
.sw-6 { background: radial-gradient(circle at 25% 20%, #b0693d, #7a4023 75%); }

/* Proceso */
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.4rem; }
.steps li {
  counter-increment: paso; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow); min-width: 0;
}
.steps li::before {
  content: counter(paso); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem;
  background: var(--c); color: #fff; border-radius: 50%; font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
}
.steps li:nth-child(1) { --c: #b94a33; }
.steps li:nth-child(2) { --c: #c98a14; }
.steps li:nth-child(3) { --c: #1f7a74; }
.steps li:nth-child(4) { --c: #b4566a; }
.steps li:nth-child(2)::before { color: #173f3c; background: #e6a93b; }
.steps p { margin: 0; color: var(--muted); }

/* Por qué nosotros */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 1.6rem; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.checks li { padding: .6rem 0 .6rem 2.2rem; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .7rem; width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center; border-radius: 50%; font-size: .85rem; font-weight: 700;
  background: var(--sage); color: #fff;
}

/* Zonas */
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li {
  --c: var(--terra); padding: .4rem 1rem; border-radius: 999px; font-size: .95rem; font-weight: 500;
  background: color-mix(in srgb, var(--c) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  color: var(--heading);
}
.tags li:nth-child(4n+2) { --c: var(--teal); }
.tags li:nth-child(4n+3) { --c: #c98a14; }
.tags li:nth-child(4n+4) { --c: var(--rose); }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; background: var(--surface); }
details[open] { border-color: var(--terra); }
summary { cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font-weight: 600; color: var(--heading); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; translate: 0 -50%;
  width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--terra); color: var(--on-accent); font-size: 1.2rem; line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* Contacto */
.contact { background: linear-gradient(135deg, #b4452d, #8a3020); color: #fff4ea; }
.contact h2, .contact h3 { color: #fff; }
.contact h2::after { border-top-color: #f0bc58; }
.contact-card { font-style: normal; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 1.8rem; }
.contact-card a { color: #fff; overflow-wrap: anywhere; }
.hours { margin: 0; opacity: .95; }

/* Pie */
.site-footer { background: var(--footer); color: var(--footer-text); font-size: .9rem; padding-block: 1.4rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--footer-text); margin-left: 1rem; }
.site-footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Contacto: formulario ===== */
.contact-grid { align-items: start; }
.contact .contact-card { margin-top: 1.6rem; }
.form-card {
  background: var(--surface); color: var(--fg);
  border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.form-card h3 { color: var(--heading); font-size: 1.4rem; margin-bottom: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-card label { font-weight: 600; font-size: .92rem; color: var(--heading); }
.opt { font-weight: 400; color: var(--muted); }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"],
.form-card select, .form-card textarea {
  width: 100%; min-width: 0; font: inherit; color: var(--fg); background: var(--bg);
  border: 1.5px solid color-mix(in srgb, var(--fg) 28%, transparent);
  border-radius: 10px; padding: .7rem .85rem;
}
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card input:focus-visible, .form-card select:focus-visible, .form-card textarea:focus-visible {
  outline: 3px solid var(--terra); outline-offset: 1px; border-color: transparent;
}
.form-card input:user-invalid, .form-card select:user-invalid, .form-card textarea:user-invalid { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400 !important; font-size: .95rem !important; color: var(--fg) !important; margin-bottom: .8rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--terra); }
.form-card a { color: var(--accent-text); }
.legal-mini { font-size: .8rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.2rem; }
.btn-form { width: 100%; font: inherit; font-weight: 700; cursor: pointer; padding: .95rem 1.5rem; }
.btn-form:disabled { opacity: .6; cursor: progress; }
.form-status { margin: .9rem 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #1c7a46; font-weight: 600; }
.form-status.err { color: #b3261e; font-weight: 600; }
.form-status.info { color: var(--muted); }
:root[data-theme="dark"] .form-status.ok { color: #6fd39a; }
:root[data-theme="dark"] .form-status.err { color: #ff8a80; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .form-status.ok { color: #6fd39a; }
  :root:not([data-theme="light"]) .form-status.err { color: #ff8a80; }
}

/* ===== Botón flotante de WhatsApp ===== */
.wa-float {
  position: fixed; z-index: 70;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + var(--cookie-h, 0px));
  display: inline-flex; align-items: center; gap: .55rem;
  height: 56px; padding: 0 1.2rem 0 1rem; border-radius: 999px;
  background: #178f4c; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  transition: transform .2s, background .2s, bottom .2s;
}
.wa-float:hover { background: #127a40; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #178f4c; }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 640px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ===== Aviso de cookies ===== */
.cookie {
  position: fixed; z-index: 80;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  max-width: 540px;
  background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  padding: 1.2rem 1.3rem; max-height: calc(100vh - 32px); overflow-y: auto;
}
.cookie:focus { outline: none; }
.ck-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--heading); margin: 0 0 .4rem; }
.ck-text { font-size: .92rem; line-height: 1.55; color: var(--muted); margin: 0 0 1rem; }
.cookie a { color: var(--accent-text); }
.ck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.ck-btn {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  padding: .65rem 1.2rem; border-radius: 999px;
  background: var(--heading); color: var(--bg); border: 2px solid var(--heading);
}
.ck-btn:hover { background: var(--terra); border-color: var(--terra); color: var(--on-accent); }
.ck-link { font: inherit; font-weight: 600; background: none; border: 0; padding: .5rem .3rem; color: var(--accent-text); text-decoration: underline; cursor: pointer; }
.cookie :focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.ck-panel { border-top: 1px solid var(--line); margin-bottom: 1rem; padding-top: .6rem; }
.ck-row { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem 0; cursor: pointer; }
.ck-row input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--terra); }
.ck-row strong { display: block; color: var(--heading); font-size: .95rem; }
.ck-row small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.ck-panel .ck-btn { margin-top: .4rem; }
@media (max-width: 380px) { .ck-actions .ck-btn { flex: 1 1 100%; } }

/* ===== Pie ===== */
.site-footer { padding-bottom: calc(1.4rem + 64px); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.site-footer nav a { margin-left: 0; }
.linklike { font: inherit; background: none; border: 0; padding: 0; color: var(--footer-text); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

[hidden] { display: none !important; }

/* ===== Galería: carrusel ===== */
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.dark { background: var(--petrol); color: #d7e4df; }
.dark h2 { color: #fff7e8; }
.dark h2::after { border-top-color: #f0bc58; }
.dark .section-intro { color: #c3d6d0; }

.car-track {
  position: relative; display: flex; gap: 1.2rem; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding-bottom: .6rem; scrollbar-width: none; border-radius: 4px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline: 3px solid #f0bc58; outline-offset: 4px; }
.slide { flex: 0 0 min(88%, 540px); scroll-snap-align: start; margin: 0; min-width: 0; }
.slide img, .ph { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; }
.ph { position: relative; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ph span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem;
  background: rgba(255, 255, 255, .92); color: #173f3c; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.ph svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph-1 { background: radial-gradient(circle at 30% 25%, #2f9a92, #1b6862 70%); }
.ph-2 { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 4px), repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 1px, transparent 1px 4px), #e6a93b; }
.ph-3 { background: radial-gradient(circle at 25% 20%, #b0693d, #7a4023 75%); }
.ph-4 { background: radial-gradient(circle, rgba(0,0,0,.10) 1.5px, transparent 2px) 0 0 / 9px 9px, #f3ead9; }
.ph-5 { background: repeating-linear-gradient(90deg, #c4543a 0 6px, #a9422b 6px 9px); }
.ph-6 { background: repeating-linear-gradient(45deg, #86a893 0 7px, #9bbaa7 7px 14px), #86a893; }
.slide figcaption { margin-top: .85rem; }
.slide figcaption strong { display: block; font-family: var(--serif); color: #fff7e8; line-height: 1.3; font-size: 1.05rem; }
.slide figcaption span { color: #a9c4bb; font-size: .9rem; }

.car-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.1rem; }
.car-info { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; min-width: 0; }
.car-count { font-variant-numeric: tabular-nums; color: #c3d6d0; font-size: .95rem; min-width: 3.2rem; }
.car-dots { display: flex; flex-wrap: wrap; }
.car-dots button { width: 24px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.car-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 99px; background: rgba(255, 255, 255, .38); transition: width .2s, background .2s; }
.car-dots button[aria-current="true"]::before { width: 22px; background: #f0bc58; }
.car-dots button:focus-visible { outline: 3px solid #f0bc58; outline-offset: 0; border-radius: 6px; }
.car-btns { display: flex; gap: .6rem; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 2px solid #f0bc58; background: transparent; color: #f0bc58; transition: background .2s, color .2s;
}
.car-btn:hover:not(:disabled) { background: #f0bc58; color: #173f3c; }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.car-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.car-tools { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.car-note { margin: 0; font-size: .88rem; color: #a9c4bb; max-width: 420px; }

@media (prefers-reduced-motion: reduce) { .car-track { scroll-behavior: auto; } }

.wa-float img { width: 28px; height: 28px; flex: none; }

/* ===== Páginas legales ===== */
.legal-page { padding-block: clamp(2rem, 6vw, 4rem); }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-note { background: var(--tint-warm); border: 1px dashed var(--terra); border-radius: 12px; padding: 1rem 1.2rem; font-size: .95rem; }
.table-wrap { overflow-x: auto; }
.legal-page table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.legal-page th { background: var(--cream); color: var(--heading); }
