/*
Theme Name: Go! Maderas
Theme URI: https://gomaderas.com
Author: Agencia Twoart
Description: Tema a medida para Go! Maderas: catálogo de maderas, fenólicos y herrajes con SEO local, schema.org, llms.txt y pedidos por WhatsApp.
Version: 3.2.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: gomaderas
*/

/* ───────── Fuentes: Poppins (autoalojada, licencia OFL). Solo 400, 600 y 700. ───────── */
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); }

/* ───────── Marca (manual de rebranding Twoart) ───────── */
:root {
  --ink: #161616;          /* negro de marca */
  --graphite: #676766;     /* gris de marca */
  --orange: #ec651b;       /* naranja de marca */
  --orange-700: #c9520f;
  --orange-50: #fdf0e8;
  --sage: #cecfb4;         /* verde salvia de marca */
  --sage-200: #e2e3cf;
  --sage-100: #eeefe3;
  --paper: #fbfbf7;
  --white: #ffffff;
  --line: #e3e3d6;
  --muted: #6b6b6b;      /* texto secundario, gris más claro */
  --text: #3d3d3d;       /* texto de párrafo, gris oscuro */
  --heading: #1f1f1f;    /* títulos, casi negro */
  --wa: #1faa59;
  --wa-700: #168a47;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22,22,22,.06), 0 8px 24px rgba(22,22,22,.06);
  --shadow-lg: 0 2px 4px rgba(22,22,22,.06), 0 18px 40px rgba(22,22,22,.12);
  --max: 1200px;
  --head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); font-weight: 400; background: var(--paper); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--orange-700); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--heading); }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }
.hl { color: var(--orange); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section.sage { background: var(--sage-100); }
.section.dark { background: var(--ink); color: #ecece4; }
.section.dark h2, .section.dark h3 { color: #fff; }
@media (max-width: 860px) { .section { padding: 52px 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.dark .eyebrow { color: var(--sage); }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 62ch; }
.dark .lead { color: #c9c9bd; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }

/* Respuesta directa (GEO) */
.answer { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.04rem; max-width: 78ch; box-shadow: var(--shadow); }

/* ───────── Botones ───────── */
.btn { --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: .98rem; line-height: 1; letter-spacing: .005em;
  padding: 15px 22px; min-height: 50px; border-radius: 12px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(22,22,22,.35);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); color: var(--fg); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 24px -8px rgba(22,22,22,.4); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { --bg: var(--orange); }
.btn-primary:hover { --bg: var(--orange-700); }
.btn-wa { --bg: var(--wa); }
.btn-wa:hover { --bg: var(--wa-700); }
.btn-dark { --bg: var(--ink); }
.btn-dark:hover { --bg: #2b2b2b; }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); box-shadow: none; }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.dark .btn-outline, .btn-outline.light { --fg: #fff; --bd: rgba(255,255,255,.55); }
.dark .btn-outline:hover, .btn-outline.light:hover { --bg: #fff; --fg: var(--ink); }
.btn-sm { padding: 10px 16px; min-height: 42px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 18px 26px; min-height: 58px; font-size: 1.04rem; }
.btn-icon { width: 46px; min-height: 46px; padding: 0; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-700); text-decoration: none; }
.link-arrow:hover { gap: 10px; }

/* ───────── Barra superior y header ───────── */
.topbar { background: var(--ink); color: #d9d9cf; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { color: var(--orange); }
.topbar .tb-l, .topbar .tb-r { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 760px) { .topbar .tb-hide { display: none; } }

.hdr { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.nav-desk { display: flex; gap: 4px; margin-left: auto; }
.nav-desk a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.nav-desk a:hover { background: var(--sage-100); color: var(--ink); }
.nav-desk a[aria-current] { color: var(--orange-700); background: var(--orange-50); }
.hdr-cta { flex: none; }
.nav-mob { display: none; position: relative; }
.nav-mob summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob nav { position: absolute; right: 0; top: 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; display: grid; min-width: 240px; box-shadow: var(--shadow-lg); }
.nav-mob nav a { padding: 12px 14px; text-decoration: none; border-radius: 8px; font-weight: 600; }
.nav-mob nav a:hover { background: var(--sage-100); }
@media (max-width: 1080px) { .nav-desk { display: none; } .nav-mob { display: block; } .hdr-cta { margin-left: auto; } }
@media (max-width: 560px) { .brand img { height: 44px; } .hdr-cta span { display: none; } .hdr-cta { padding: 0; width: 46px; min-height: 46px; } .hdr-in { gap: 12px; min-height: 66px; } }

/* ───────── Hero (home) ───────── */
.hero { background: linear-gradient(180deg, var(--sage-100), var(--paper)); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 20px 72px; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .sub { display: block; font-size: .52em; font-weight: 600; color: var(--graphite); margin-top: .5em; letter-spacing: 0; }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.hero-facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 560px; }
.hero-facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.hero-facts strong { display: block; font-family: var(--head); color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.hero-media { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }
.hero-media img { border-radius: 18px; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.hero-media .m1 { aspect-ratio: 3/4; grid-row: span 2; }
.hero-media .m2 { aspect-ratio: 1; }
.hero-media .m3 { aspect-ratio: 1; }
.hero-media .hero-seal { position: absolute; left: -34px; bottom: -26px; width: 128px; height: 128px; aspect-ratio: 1; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); transform: rotate(-10deg); }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; padding-top: 40px; gap: 36px; } .hero-media .hero-seal { left: auto; right: 10px; bottom: -20px; width: 96px; height: 96px; } }
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr; } }

/* ───────── Categorías ───────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cats { gap: 10px; } .cat { min-height: 120px !important; padding: 14px !important; } .cat-n { font-size: .92rem !important; } .cat-ic { width: 38px; height: 38px; top: 12px; left: 12px; } }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--sage-200); color: var(--ink); padding: 20px; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.cat:hover img { transform: scale(1.05); }
.cat.has-img { color: #fff; }
.cat.has-img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,22,22,0) 30%, rgba(22,22,22,.82)); }
.cat.has-img:hover { color: #fff; }
.cat-ic { position: absolute; top: 18px; left: 18px; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--orange); display: grid; place-items: center; box-shadow: var(--shadow); }
.cat-n { font-family: var(--head); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.cat-t { font-size: .86rem; opacity: .85; margin-top: 4px; }
.cat-go { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(4px); transition: .2s; }
.cat:hover .cat-go { opacity: 1; transform: none; }

/* ───────── Tarjetas de producto ───────── */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcard .ph { position: relative; aspect-ratio: 4/3; background: var(--sage-200); overflow: hidden; display: grid; place-items: center; }
.pcard .ph img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .ph img { transform: scale(1.04); }
.pcard .ph .noimg { display: grid; justify-items: center; gap: 10px; color: var(--graphite); padding: 16px; text-align: center; }
.pcard .ph .noimg img { position: static; width: 74px; height: 74px !important; opacity: .9; }
.pcard .tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; z-index: 1; }
.pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard h3 { margin: 0; font-size: 1.06rem; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::after { content: ''; position: absolute; inset: 0; }
.pcard { position: relative; }
.pcard .sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard .sizes span { font-size: .76rem; background: var(--sage-100); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; color: var(--muted); }
.pcard .price { font-family: var(--head); color: var(--orange-700); font-weight: 700; }
.pcard .foot { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.pcard .foot .more { font-weight: 600; font-size: .9rem; color: var(--orange-700); }
.pcard .foot .btn { position: relative; z-index: 2; }

/* ───────── Tablas, listas, FAQ ───────── */
table.specs, table.prices { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); font-size: .96rem; }
table.specs th, table.specs td, table.prices th, table.prices td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table tr:last-child th, table tr:last-child td { border-bottom: 0; }
table.specs th { width: 38%; background: var(--sage-100); font-weight: 600; }
table.prices thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .85rem; }
table.prices td.num { font-family: var(--head); font-weight: 700; white-space: nowrap; }
table.prices a { color: var(--orange-700); font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-sm); }
.note { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0 0 1em; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .88rem; }
.chips a { text-decoration: none; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 9px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9520f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.checks.no li::before { background: #fbeaea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b33' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/10px no-repeat; }
.faqs h2 { margin-bottom: .8em; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; transition: box-shadow .15s; }
details.faq[open] { box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; padding: 17px 52px 17px 20px; font-weight: 600; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 20px 18px; color: var(--muted); }
details.faq .a p { margin: 0; }

/* ───────── Migas ───────── */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }

/* ───────── Layouts ───────── */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.prose { max-width: 74ch; }
.prose h2, .entry-content h2 { margin-top: 1.5em; font-size: 1.5rem; }
.prose h3, .entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 1em 0 1.4em; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--ink); color: #fff; font-weight: 600; }
.entry-content blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--sage); background: var(--sage-100); border-radius: 0 10px 10px 0; }

.gallery { display: grid; gap: 12px; position: sticky; top: 96px; }
.gallery img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.gallery .main { aspect-ratio: 4/5; max-height: 600px; box-shadow: var(--shadow-lg); }
.gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .thumbs img { aspect-ratio: 1; }
.placeholder-visual { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--sage-200); display: grid; place-items: center; padding: 24px; }
.placeholder-visual img { width: 150px; }
@media (max-width: 900px) { .gallery { position: static; } }

.page-head { padding: 26px 0 46px; }
.page-head h1 { max-width: 22ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }

/* Bloque local (NAP + mapa) */
.local { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.local .info { padding: 34px; }
.local .map { min-height: 380px; }
.local .map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .local { grid-template-columns: 1fr; } .local .map { min-height: 300px; } }
.nap { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 14px; }
.nap li { display: flex; gap: 12px; align-items: flex-start; }
.nap .ib { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-50); color: var(--orange-700); display: grid; place-items: center; flex: none; }
.nap strong { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.nap a { text-decoration: none; font-weight: 600; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Guías */
.gcard { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: .2s; }
.gcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.gcard .k { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); display: inline-flex; gap: 6px; align-items: center; }
.gcard h3 { margin: 0; }
.gcard p { margin: 0; color: var(--muted); font-size: .93rem; }

/* CTA final */
.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); opacity: .14; }
.cta-band img { width: 92px; height: 92px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #cfcfc5; max-width: 56ch; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 30px; text-align: left; } .cta-band img { width: 70px; height: 70px; } }

/* Contacto */
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.cform { display: grid; gap: 14px; background: #fff; color: var(--ink); padding: 28px; border-radius: 18px; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .cform .row { grid-template-columns: 1fr; } }
.cform label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; }
.cform input, .cform textarea, .calc input, .calc select { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; transition: border-color .15s; }
.cform input:focus, .cform textarea:focus, .calc input:focus, .calc select:focus { outline: none; border-color: var(--orange); background: #fff; }
.cform .hint { font-size: .82rem; color: var(--muted); margin: 0; }
.contact .nap .ib { background: rgba(255,255,255,.08); color: var(--orange); }
.contact .nap strong { color: #a9a99f; }
.contact .nap a, .contact .nap span { color: #fff; }

/* Calculadora */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; max-width: 640px; }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.calc .res { background: var(--sage-100); border-radius: 12px; padding: 18px; }
.calc .res strong { font-family: var(--head); font-size: 2rem; color: var(--orange-700); display: block; }
@media (max-width: 520px) { .calc .row { grid-template-columns: 1fr; } }

/* ───────── Footer ───────── */
.ftr { background: var(--ink); color: #cfcfc5; padding: 64px 0 24px; font-size: .92rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 1000px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr-logo { height: 52px; width: auto; margin-bottom: 16px; }
.ftr-h { font-family: var(--head); font-weight: 700; color: #fff; font-size: 1rem; margin: 0 0 14px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--orange); }
.ftr .ic li { display: flex; gap: 10px; align-items: flex-start; }
.ftr .ic svg { color: var(--orange); margin-top: 3px; flex: none; }
.ftr .social { display: flex; gap: 10px; margin-top: 16px; }
.ftr .social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; }
.ftr .social a:hover { background: var(--orange); color: #fff; }
.ftr-bottom { border-top: 1px solid #2c2c2c; margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: #8e8e86; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 0 16px; height: 56px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 28px rgba(31,170,89,.4); z-index: 60; transition: transform .15s, background .15s; }
.wa-float:hover { transform: translateY(-2px); background: var(--wa-700); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .wa-float { padding: 0; width: 58px; justify-content: center; } .wa-float span { display: none; } }

/* Filtros catálogo */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.filters .f { font: inherit; font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: .15s; }
.filters .f:hover { border-color: var(--ink); }
.filters .f.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 600px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 6px; } .filters .f { white-space: nowrap; } }

/* Varios */
.big-price { font-family: var(--head); font-weight: 700; font-size: 2.4rem; color: var(--orange-700); margin: .3em 0 0; }
.big-price small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.vimg { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; max-height: 600px; box-shadow: var(--shadow-lg); }
.map-embed { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; min-height: 300px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.promos img { border-radius: var(--radius); }
.seo-text { columns: 2 340px; column-gap: 48px; color: var(--muted); }
.seo-text p { break-inside: avoid; }
.seo-text strong { color: var(--ink); }
.zone-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.zone-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; }
.zone-list a:hover { border-color: var(--orange); color: var(--orange-700); }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }
main > .section:first-child, main > article.section:first-child { padding-top: 34px; }
.page-head + .section, .page-head + .section.sage { padding-top: 48px; }
.hero-kicker { font-family: var(--head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--graphite); line-height: 1.3; margin: -.1em 0 .8em; max-width: 30ch; }
@media (max-width: 560px) { .topbar .tb-l { display: none; } .topbar .wrap { justify-content: center; } }

/* ───────── v2.1: home simple ───────── */
.hero-in { grid-template-columns: 1.1fr .9fr; padding: 72px 20px 80px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero-sub { font-size: 1.2rem; max-width: 40ch; margin-bottom: 30px; }
.hero-photo { position: relative; }
.hero-photo > img:first-child { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.hero-photo .hero-seal { position: absolute; left: -28px; bottom: -28px; width: 120px; height: 120px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); transform: rotate(-10deg); }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; padding: 44px 20px 56px; gap: 36px; } .hero-photo .hero-seal { left: auto; right: 12px; width: 90px; height: 90px; bottom: -22px; } }
.sec-title { margin-bottom: 26px; }
.sec-head { align-items: center; }
.cat { min-height: 170px; padding: 18px; }
.cat:not(.has-img) { justify-content: flex-end; background: var(--sage-200); }
.cat-n { font-size: 1.05rem; }
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.why li { text-align: left; }
.why-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-50); color: var(--orange-700); display: grid; place-items: center; margin-bottom: 16px; }
.why-ic svg { width: 24px; height: 24px; }
.why h3 { margin-bottom: .35em; }
.why p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; gap: 26px; } }
.local .info h2 { margin-bottom: .6em; }
.local .addr { font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.local .hours { color: var(--muted); margin-bottom: 24px; }
.local .map { min-height: 320px; }
.wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; }
.wa-float svg { width: 30px; height: 30px; }
.hdr-in { min-height: 80px; }
.local-line { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .92rem; margin: -6px 0 22px; }
.local-line svg { color: var(--orange); flex: none; }
.more-links { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; max-width: 74ch; }
.more-links a { color: var(--orange-700); }

/* ═══════════ v2.3 · Tema oscuro (gris casi negro) con la paleta de marca ═══════════
   Fondo grafito, superficies en grises, naranja de marca como acento. Sin blancos ni verdes de fondo. */
:root {
  --bg: #1c1c1c;          /* fondo de página: gris casi negro */
  --bg-alt: #222222;      /* secciones alternas */
  --surface: #282828;     /* tarjetas */
  --surface-2: #313131;   /* hover, campos, chips */
  --line: #383838;        /* bordes */
  --heading: #f3f3f1;     /* títulos */
  --text: #cfcfcb;        /* texto */
  --muted: #9b9b97;       /* texto secundario */
  --accent-text: #f2874c; /* naranja legible sobre oscuro */
  --paper: var(--bg);
  --white: var(--surface);
  --sage-100: var(--bg-alt);
  --sage-200: var(--surface-2);
  --orange-50: rgba(236,101,27,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 18px 40px rgba(0,0,0,.4);
  color-scheme: dark;
}
body { background: var(--bg); color: var(--text); }
::selection { background: var(--orange); color: #fff; }
a:hover { color: var(--accent-text); }
.eyebrow, .link-arrow, .pcard .foot .more, .more-links a, table.prices a, .gcard .k, .pcard .price, .big-price, .crumbs a:hover { color: var(--accent-text); }
.section.sage { background: var(--bg-alt); }
.section.dark { background: #161616; }

/* Header y menú */
.hdr { background: rgba(28,28,28,.92); border-bottom-color: #2c2c2c; }
.nav-desk a { color: var(--text); }
.nav-desk a:hover { background: var(--surface-2); color: var(--heading); }
.nav-desk a[aria-current] { background: rgba(236,101,27,.16); color: var(--accent-text); }
.nav-mob summary { border-color: var(--line); color: var(--heading); }
.nav-mob nav { background: var(--surface); border-color: var(--line); }
.nav-mob nav a { color: var(--text); }
.nav-mob nav a:hover { background: var(--surface-2); }

/* Hero: plano, sin degradé */
.hero { background: var(--bg); }

/* Botones sobre oscuro */
.btn { box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.btn:hover { box-shadow: 0 12px 24px -8px rgba(0,0,0,.7); }
.btn-outline { --fg: var(--heading); --bd: rgba(255,255,255,.28); }
.btn-outline:hover { --bg: var(--heading); --fg: #1c1c1c; }
.btn-dark { --bg: var(--surface-2); }
.btn-dark:hover { --bg: #3a3a3a; }

/* Tarjetas y superficies */
.answer, .pcard, .gcard, details.faq, .local, .steps li, .calc, .cform, .zone-list a, table.specs, table.prices, .entry-content table { background: var(--surface); border-color: var(--line); }
.chips li, .filters .f { background: var(--surface); border-color: var(--line); color: var(--text); }
.filters .f:hover { border-color: #5a5a5a; }
.filters .f.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.cat:not(.has-img), .pcard .ph, .placeholder-visual { background: var(--surface-2); }
.cat:not(.has-img) { color: var(--heading); }
.cat:not(.has-img):hover { color: var(--heading); }
.cat-ic { background: var(--bg); color: var(--orange); box-shadow: none; }
.pcard .tag { background: rgba(22,22,22,.78); color: #f3f3f1; }
.pcard .sizes span { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
table.specs th { background: var(--surface-2); color: var(--heading); }
table.prices thead th, .entry-content thead th { background: #161616; }
.entry-content th, .entry-content td, table.specs th, table.specs td, table.prices th, table.prices td { border-color: var(--line); }
.entry-content blockquote { background: var(--surface); border-left-color: var(--orange); }
.steps li::before { background: var(--orange); }
details.faq summary { color: var(--heading); }
details.faq summary::after { background-color: var(--surface-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f3f1' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.checks li::before { background-color: rgba(236,101,27,.16); }
.why-ic, .nap .ib { background: rgba(236,101,27,.14); color: var(--accent-text); }
.calc .res { background: var(--surface-2); }
.calc .res strong { color: var(--accent-text); }

/* Formularios */
.cform { color: var(--text); }
.cform input, .cform textarea, .calc input, .calc select { background: var(--bg); border-color: var(--line); color: var(--heading); }
.cform input:focus, .cform textarea:focus, .calc input:focus, .calc select:focus { background: #202020; border-color: var(--orange); }
::placeholder { color: #6f6f6b; }

/* Mapa en tonos oscuros para que no sea un bloque blanco */
.local .map iframe, .map-embed iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* Bloque final y footer */
.cta-band { background: var(--surface); border: 1px solid var(--line); }
.ftr { background: #141414; border-top: 1px solid #262626; }
.ftr-bottom { border-top-color: #262626; }

/* ═══════════ v2.4 · Home: carrusel de categorías, animaciones y "Visitanos" premium ═══════════ */

/* Categorías: en escritorio, foto si hay; si no, ícono propio */
.cat.has-img .cat-ic { display: none; }
.cat .cat-ic { position: static; width: 54px; height: 54px; border-radius: 16px; background: rgba(236,101,27,.12); color: var(--accent-text); display: grid; place-items: center; margin-bottom: auto; }
.cat:not(.has-img) { justify-content: space-between; }

/* "Por qué": cards con borde, brillo naranja y entrada animada */
.why { gap: 18px; }
.why li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.why li::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(236,101,27,.18), transparent 70%); pointer-events: none; }
.why li:hover { transform: translateY(-4px); border-color: rgba(236,101,27,.45); box-shadow: var(--shadow-lg); }
.why-ic { width: 54px; height: 54px; border-radius: 16px; }
.why-ic svg { width: 26px; height: 26px; }

/* Animación al desplazar (se activa con JS; sin JS todo se ve igual) */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .why li.reveal:nth-child(2) { transition-delay: .12s; }
.js .why li.reveal:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Visitanos premium: foto de la barraca de fondo, panel con datos y mapa enmarcado */
.visit { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; padding: 44px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #161616; isolation: isolate; box-shadow: var(--shadow-lg); }
.visit::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--visit-img) center/cover no-repeat; transform: scale(1.04); }
.visit::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18,18,18,.97) 0%, rgba(18,18,18,.9) 45%, rgba(18,18,18,.55) 100%); }
.visit h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .7em; max-width: 16ch; }
.visit-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.visit-list li { display: flex; gap: 14px; align-items: flex-start; }
.visit-list .vi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(236,101,27,.14); color: var(--accent-text); border: 1px solid rgba(236,101,27,.25); }
.visit-list div { display: grid; gap: 2px; }
.visit-list strong { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.visit-list span { color: var(--heading); }
.visit-map { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); min-height: 340px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 340px; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; padding: 28px 22px; border-radius: 24px; } .visit::after { background: linear-gradient(180deg, rgba(18,18,18,.75) 0%, rgba(18,18,18,.95) 45%, rgba(18,18,18,.98) 100%); } .visit-map, .visit-map iframe { min-height: 240px; } }

/* ───────── Celular ───────── */
@media (max-width: 760px) {
  /* Hero: la foto de la barraca de fondo, sin tarjeta ni sello; botones uno al lado del otro */
  .hero { position: relative; background: #161616; isolation: isolate; }
  .hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-m) center 30%/cover no-repeat; }
  .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,22,22,.55) 0%, rgba(22,22,22,.82) 55%, #1c1c1c 100%); }
  .hero-in { padding: 64px 16px 44px; min-height: 78vh; display: flex; align-items: flex-end; }
  .hero-photo { display: none; }
  .hero h1 { font-size: 2.35rem; }
  .hero-sub { font-size: 1.02rem; color: #dcdcd8; margin-bottom: 22px; }
  .hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-btns .btn { padding: 14px 10px; min-height: 52px; font-size: .9rem; gap: 7px; }
  .hero-btns .btn svg { width: 18px; height: 18px; }
  .hero-btns .btn-outline { background: rgba(22,22,22,.45); backdrop-filter: blur(6px); }

  /* Categorías: carrusel horizontal de íconos */
  .cats-section .wrap { padding-right: 0; }
  .cats { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cats::-webkit-scrollbar { display: none; }
  .cat, .cat.has-img { flex: 0 0 100px; min-height: 0 !important; padding: 16px 8px 14px !important; scroll-snap-align: start; align-items: center; justify-content: flex-start; text-align: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--heading); }
  .cat.has-img img, .cat.has-img::after { display: none; }
  .cat.has-img .cat-ic, .cat .cat-ic { display: grid; width: 58px; height: 58px; border-radius: 50%; margin: 0; background: rgba(236,101,27,.13); border: 1px solid rgba(236,101,27,.28); color: var(--accent-text); }
  .cat-ic svg { width: 28px; height: 28px; }
  .cat-n { font-size: .8rem !important; line-height: 1.25; font-weight: 600; }
  .cat:hover, .cat:active { transform: none; border-color: rgba(236,101,27,.5); }

  .why { gap: 14px; }
  .why li { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; }
  .why li .why-ic { grid-row: span 2; margin: 0; }
  .why li h3 { margin: 2px 0 4px; }
}
@media (max-width: 760px) {
  .cats-section { padding-bottom: 12px; }
  .cats-section + .section { padding-top: 28px; }
  .visit-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .visit-btns .btn { padding: 13px 10px; min-height: 50px; font-size: .9rem; gap: 7px; }
  .visit h2 { font-size: 1.6rem; }
}
@media (max-width: 760px) { .cat-ic svg { width: 32px !important; height: 32px !important; } .cat .cat-ic { width: 62px; height: 62px; } }
/* v2.4.2: menos aire arriba del hero en celular */
@media (max-width: 760px) { .hero-in { min-height: 0; padding-top: 56px; padding-bottom: 40px; } }

/* ═══════════ v2.5 · Ritmo oscuro / claro ═══════════
   Las secciones se alternan: grafito → claro → grafito → claro, para dar contraste.
   .light (y .section.sage en páginas internas) redefine la paleta para fondo claro. */
.light, .section.sage {
  --bg: #f3f2ee;
  --surface: #ffffff;
  --surface-2: #ecebe6;
  --line: #e0dfd9;
  --heading: #1c1c1c;
  --text: #3f3f3c;
  --muted: #6d6d69;
  --accent-text: #c4520f;
  --shadow: 0 1px 2px rgba(22,22,22,.06), 0 8px 24px rgba(22,22,22,.07);
  --shadow-lg: 0 2px 4px rgba(22,22,22,.06), 0 18px 40px rgba(22,22,22,.12);
  background: #f3f2ee;
  color: var(--text);
  color-scheme: light;
}
.light h1, .light h2, .light h3, .section.sage h1, .section.sage h2, .section.sage h3 { color: var(--heading); }
.light .btn-outline, .section.sage .btn-outline { --fg: #1c1c1c; --bd: rgba(28,28,28,.35); }
.light .btn-outline:hover, .section.sage .btn-outline:hover { --bg: #1c1c1c; --fg: #fff; }
.light details.faq summary::after, .section.sage details.faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.light .cat-ic, .section.sage .cat-ic { background: rgba(236,101,27,.1); }
.light .cat:not(.has-img), .section.sage .cat:not(.has-img) { box-shadow: var(--shadow); }
.light .why li, .light .pcard, .light .gcard, .section.sage .pcard, .section.sage .gcard { box-shadow: var(--shadow); }
.light .local .map iframe, .section.sage .local .map iframe { filter: none; }
.light a:hover, .section.sage a:hover { color: var(--accent-text); }
.light .note, .section.sage .note { color: var(--muted); }
/* Las tarjetas oscuras que viven dentro de una sección clara conservan su paleta */
.light .visit { --heading: #f3f3f1; --text: #cfcfcb; --muted: #9b9b97; --accent-text: #f2874c; color: var(--text); }
.light .visit .btn-outline { --fg: #f3f3f1; --bd: rgba(255,255,255,.28); }
.light .visit .btn-outline:hover { --bg: #f3f3f1; --fg: #1c1c1c; }

/* Home: espaciado parejo ahora que cada sección tiene su propio fondo */
.cats-section { padding: 64px 0; }
.section.tight.light { padding: 64px 0; }
@media (max-width: 760px) {
  .cats-section { padding: 40px 0 34px !important; }
  .cats-section + .section { padding-top: 44px !important; padding-bottom: 44px; }
  .section.tight.light { padding: 40px 0; }
}

/* ═══════════ v2.6 · Bloques de color grandes (no franjas finas) ═══════════
   Home: hero oscuro → bloque claro continuo (categorías + beneficios) → "Visitanos" oscuro → footer. */
.cats-section { padding-bottom: 28px !important; }
.why-section { padding-top: 28px !important; padding-bottom: 80px; }
.visit-section { background: #161616; padding: 80px 0; }
.visit-section .visit { border-color: rgba(255,255,255,.1); }
@media (max-width: 760px) {
  .cats-section { padding: 40px 0 16px !important; }
  .why-section { padding: 20px 0 48px !important; }
  .visit-section { padding: 44px 0; }
}

/* Nombres de categoría: nunca blancos sobre fondo blanco (también al pasar el mouse) */
.light .cat:not(.has-img), .light .cat:not(.has-img):hover { color: var(--heading); }
@media (max-width: 760px) {
  .cat, .cat:hover, .cat:focus, .cat:active, .cat.has-img, .cat.has-img:hover, .cat.has-img:focus, .cat.has-img:active { color: var(--heading); }
}
.cats-section + .section.why-section { padding-top: 28px !important; }
@media (max-width: 760px) { .cats-section + .section.why-section { padding-top: 20px !important; padding-bottom: 48px !important; } }
/* v2.6.1: cards de beneficios con ícono centrado y texto en 2 líneas; categorías con aire interno */
@media (max-width: 760px) {
  .why li { align-items: center; padding: 18px 18px; }
  .why li .why-ic { grid-row: span 2; align-self: center; }
  .why li h3 { margin: 0 0 2px; }
  .why li p { font-size: .9rem; line-height: 1.45; }
  .cat, .cat.has-img { flex: 0 0 114px; padding: 16px 12px 14px !important; }
  .cat-n { font-size: .76rem !important; padding: 0 2px; overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 760px) {
  .cat, .cat.has-img { flex: 0 0 124px; padding: 16px 10px 14px !important; }
  .cat-n { font-size: .74rem !important; hyphens: none; overflow-wrap: normal; word-break: normal; }
}
/* v2.6.2: en celular todas las categorías iguales (las que tienen foto en escritorio usaban otro fondo) */
@media (max-width: 760px) {
  .cats .cat, .cats .cat.has-img, .cats .cat:not(.has-img) { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); justify-content: flex-start; }
}
/* v2.7: Quiénes somos en la home (dentro del bloque claro) */
.about-section { padding: 24px 0 !important; }
.about-card { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.about-txt { padding: 40px; }
.about-txt h2 { margin-bottom: .55em; }
.about-txt p { color: var(--text); }
.about-txt a:not(.link-arrow) { color: var(--accent-text); text-decoration: none; font-weight: 600; }
.cats-section + .about-section + .why-section { padding-top: 24px !important; }
@media (max-width: 760px) {
  .about-card { grid-template-columns: 1fr; border-radius: 20px; }
  .about-img img { min-height: 0; aspect-ratio: 16/9; }
  .about-txt { padding: 22px 20px 24px; }
  .about-txt h2 { font-size: 1.45rem; }
  .about-txt p { font-size: .95rem; line-height: 1.6; }
  .about-section { padding: 12px 0 !important; }
  .cats-section + .about-section + .why-section { padding-top: 16px !important; }
}
/* v2.7.1: categorías como botones con ícono también en escritorio (sin fotos) */
@media (min-width: 761px) {
  .cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
  .cats .cat { min-height: 0 !important; padding: 22px 10px 18px !important; align-items: center; justify-content: flex-start; text-align: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--heading); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
  .cats .cat:hover { color: var(--heading); transform: translateY(-3px); border-color: rgba(236,101,27,.5); box-shadow: var(--shadow-lg); }
  .cats .cat .cat-ic { width: 64px; height: 64px; border-radius: 50%; margin: 0; background: rgba(236,101,27,.1); border: 1px solid rgba(236,101,27,.28); color: var(--accent-text); }
  .cats .cat-ic svg { width: 32px; height: 32px; }
  .cats .cat-n { font-size: .84rem; line-height: 1.3; font-weight: 600; }
}
@media (min-width: 761px) and (max-width: 1100px) { .cats { grid-template-columns: repeat(4, 1fr); } }
/* v2.8: los botones mantienen su color al pasar el mouse (la regla de enlaces de secciones claras los pintaba de naranja) */
.btn:hover, .light .btn:hover, .section.sage .btn:hover, .dark .btn:hover { color: var(--fg); }
.btn-wa:hover svg, .btn-wa svg { color: #fff; }
/* Reseñas de Google: carrusel */
.why-section + .reviews-section { padding-top: 8px; }
.reviews-section { padding-bottom: 72px; }
.rv-score { margin: 6px 0 0; color: var(--muted); }
.rv-score strong { color: var(--heading); font-size: 1.1rem; }
.rv-stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.rv-nav { display: flex; gap: 8px; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--heading); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: .2s; }
.rv-btn:hover { border-color: var(--orange); color: var(--orange); }
.rv-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.rv-card blockquote { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.6; flex: 1; }
.rv-card figcaption { display: flex; align-items: center; gap: 10px; }
.rv-card figcaption img, .rv-av { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.rv-av { display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700; }
.rv-card figcaption span { display: grid; line-height: 1.3; }
.rv-card figcaption small { color: var(--muted); font-size: .8rem; }
.rv-g { margin-left: auto; flex: none; }
.rv-more { margin: 18px 0 0; }
@media (max-width: 900px) { .rv-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 760px) {
  .reviews-section { padding: 8px 0 48px; }
  .reviews-section .wrap { padding-right: 0; }
  .reviews-section .sec-head { padding-right: 16px; }
  .rv-nav { display: none; }
  .rv-card { flex-basis: 84%; }
  .rv-track { padding-right: 16px; }
}
/* v2.9: carrusel de marcas (se mueve solo, despacio) */
.brands-section { padding: 24px 0 72px; overflow: hidden; }
.brands-title { text-align: center; font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: 28px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; padding: 0 32px; margin: 0; list-style: none; flex: none; animation: gm-marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; height: 56px; width: 140px; display: grid; place-items: center; }
.marquee-track img { max-height: 44px; max-width: 140px; width: auto; height: auto; object-fit: contain; opacity: .75; transition: opacity .2s; }
.marquee-track li:hover img { opacity: 1; }
.brand-txt { font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; color: #3a3a3a; opacity: .75; white-space: nowrap; }
@keyframes gm-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 160s; } }
@media (max-width: 760px) { .brands-section { padding: 8px 0 48px; } .marquee-track { gap: 40px; padding: 0 20px; animation-duration: 40s; } .marquee-track li { width: 110px; height: 48px; } .marquee-track img { max-height: 36px; max-width: 110px; } }
.marquee-track li { width: auto; min-width: 120px; }
.marquee-track img { max-width: none; max-height: none; }
.brand-txt { font-size: 1.15rem; color: #3a3a3a; }
@media (max-width: 760px) { .marquee-track img { transform: scale(.85); } }

/* ═══════════ v3.0 · Mobile: home en pantallas completas con scroll por pantalla ═══════════ */
@media (max-width: 760px) {
  html:has(body.home) { scroll-snap-type: y mandatory; scroll-padding-top: 66px; }
  body.home main > section, body.home main > .screen-rb, body.home .ftr {
    min-height: calc(100svh - 66px);
    scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; flex-direction: column; justify-content: center;
    box-sizing: border-box;
  }
  body.home main > section > .wrap, body.home .ftr > .wrap { width: 100%; }
  body.home .hero .hero-in { min-height: 0; }
  /* Cada pantalla con su propio espacio: nada de la siguiente asoma */
  body.home .cats-section, body.home .about-section, body.home .why-section { padding: 28px 0 !important; }
  body.home .screen-rb { background: #f3f2ee; padding: 24px 0; }
  body.home .screen-rb .reviews-section { padding: 0 0 18px; }
  body.home .screen-rb .brands-section { padding: 10px 0 0; }
  body.home .visit-section { padding: 20px 0; }
  /* Ajustes para que cada bloque entre en una pantalla */
  body.home .about-img img { aspect-ratio: 16/8; }
  body.home .about-txt { padding: 18px 18px 20px; }
  body.home .about-txt h2 { font-size: 1.3rem; margin-bottom: .4em; }
  body.home .about-txt p { font-size: .9rem; line-height: 1.55; margin-bottom: .7em; }
  body.home .visit { padding: 22px 18px; gap: 16px; }
  body.home .visit h2 { font-size: 1.35rem; margin-bottom: .5em; }
  body.home .visit-list { gap: 10px; margin-bottom: 16px; }
  body.home .visit-list .vi { width: 38px; height: 38px; }
  body.home .visit-list span { font-size: .9rem; }
  body.home .visit-map, body.home .visit-map iframe { min-height: 150px; height: 150px; }
  body.home .rv-card { padding: 18px; }
  body.home .ftr { justify-content: flex-start; padding-top: 40px; }
}
/* v3.0.1: en mobile las categorías son un carrusel compacto dentro de la pantalla de "Quiénes somos" */
.screen-about { display: contents; }
@media (max-width: 760px) {
  .hdr-in { min-height: 66px; height: 66px; }
  body.home main > .screen-about { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: calc(100svh - 66px); scroll-snap-align: start; scroll-snap-stop: always; background: #f3f2ee; padding: 16px 0; box-sizing: border-box; }
  body.home .screen-about > section { min-height: 0 !important; display: block; padding: 0 !important; scroll-snap-align: none; }
  body.home .screen-about .about-section { order: 1; }
  body.home .screen-about .cats-section { order: 2; }
  body.home .cats-section .sec-title { font-size: 1rem; font-weight: 600; margin: 0 0 10px; color: var(--muted); }
  body.home .cats { gap: 8px; padding-bottom: 4px; }
  body.home .cats .cat, body.home .cats .cat.has-img { flex: 0 0 92px; padding: 10px 6px 10px !important; gap: 6px; border-radius: 14px; }
  body.home .cats .cat .cat-ic { width: 42px; height: 42px; }
  body.home .cats .cat-ic svg { width: 22px !important; height: 22px !important; }
  body.home .cats .cat-n { font-size: .68rem !important; }
  body.home .about-img img { aspect-ratio: 16/7; }
}
/* v3.1: scroll fluido (sin "imán"), cada pantalla igual ocupa el alto completo;
   hero sin franja oscura abajo; en mobile las categorías van arriba de "Tu barraca de maderas" */
@media (max-width: 760px) {
  html:has(body.home) { scroll-snap-type: none; scroll-padding-top: 0; }
  body.home main > section, body.home main > .screen-rb, body.home main > .screen-about, body.home .ftr { scroll-snap-align: none; scroll-snap-stop: normal; }
  body.home .hero::after { background: linear-gradient(180deg, rgba(22,22,22,.5) 0%, rgba(22,22,22,.78) 50%, rgba(22,22,22,.88) 100%); }
  body.home .hero::before { inset: -1px 0; }
  body.home .screen-about .cats-section { order: 1; }
  body.home .screen-about .about-section { order: 2; }
}
/* v3.1.2: la foto del inicio llega hasta el borde y se funde con la sección clara de abajo (sin franja) */
@media (max-width: 760px) {
  body.home .hero { background-color: #2a2622; }
  body.home .hero::before { inset: 0; background-size: cover; background-position: center 40%; }
  body.home .hero::after { background: linear-gradient(180deg, rgba(22,22,22,.5) 0%, rgba(22,22,22,.75) 55%, rgba(22,22,22,.55) 88%, rgba(243,242,238,.0) 100%); }
}
/* v3.1.3: aire entre secciones en mobile (el texto no arranca pegado a la sección anterior) */
@media (max-width: 760px) {
  body.home main > .screen-about { padding: 40px 0 36px !important; gap: 18px; }
  body.home .why-section { padding: 44px 0 !important; }
  body.home .screen-rb { padding: 44px 0 36px !important; }
  body.home .visit-section { padding: 40px 0 !important; }
  body.home .about-img img { aspect-ratio: 16/6.5; }
}
/* v3.2: sección "Por qué" con título, nota de Google y botón */
.why-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.why-head h2 { margin-bottom: .35em; }
.why-head p { color: var(--muted); margin: 0; }
.why-head .eyebrow { justify-content: center; }
.why-foot { display: flex; justify-content: center; margin-top: 24px; }
.why-score { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow); }
.why-score strong { color: var(--heading); font-size: 1.05rem; }
.why-score small { color: var(--muted); }
.why-cta { display: flex; width: max-content; margin: 18px auto 0; }
@media (max-width: 760px) {
  .why-head { margin-bottom: 20px; }
  .why-head h2 { font-size: 1.45rem; }
  .why-head p { font-size: .92rem; }
  .why-foot { margin-top: 18px; }
  .why-cta { width: 100%; }
}
/* v3.2: 4 productos destacados en 2 columnas × 2 filas */
.feat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
@media (max-width: 760px) {
  .feat-grid { gap: 10px; }
  .feat-grid .pcard .tag { font-size: .65rem; padding: 4px 8px; top: 8px; left: 8px; }
  .feat-grid .pcard .body { padding: 10px 10px 12px; gap: 6px; }
  .feat-grid .pcard h3 { font-size: .86rem; line-height: 1.25; }
  .feat-grid .pcard .sizes { display: none; }
  .feat-grid .pcard .foot .more { font-size: .78rem; }
  .feat-grid .pcard .btn-icon { width: 36px; min-height: 36px; border-radius: 10px; }
  .feat-grid .pcard .btn-icon svg { width: 18px; height: 18px; }
  .feat-grid .pcard .ph { aspect-ratio: 1; }
}
