/* =========================================================
   Caravanas Usadas — Web estática premium
   Rojo + negro (identidad de marca) · Mobile-first · Sin frameworks
   ========================================================= */

:root {
  --fondo: #faf9f7;
  --arena: #f1eee8;
  --blanco: #ffffff;
  --tinta: #1c1a17;
  --tinta-2: #6b665e;
  --bronce: #d62a1e;
  --bronce-2: #b31f15;
  --bronce-claro: #f8ddd6;
  --linea: #e5e2dc;
  --negro: #101010;
  --gris: #f4f2ee;
  --serif: 'Frank Ruhl Libre', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 18px 40px -24px rgba(36, 31, 25, 0.35);
  --shadow-sm: 0 8px 22px -14px rgba(36, 31, 25, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--bronce); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section-grey { background: var(--gris); }

.h1, .h2, .h3, .h1 span { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--tinta); }
.h1 { font-size: clamp(2.1rem, 5vw, 3.15rem); letter-spacing: -0.015em; }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); letter-spacing: -0.01em; }
.h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.h1 > .thin { font-weight: 400; color: var(--tinta-2); }

.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bronce-2); margin-bottom: 10px;
}

.lead { font-size: 1.08rem; color: var(--tinta-2); max-width: 72ch; }
.text-center { text-align: center; }
.page-head .lead { margin-top: 14px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-sub { color: var(--tinta-2); font-size: 0.95rem; margin-top: 6px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; color: var(--bronce-2);
  transition: gap 0.25s ease;
  white-space: nowrap;
}
.link-more svg { width: 18px; height: 18px; }
a.link-more:hover { gap: 13px; }

/* ---------- iconos ---------- */
.icon { display: inline-flex; flex: none; }
.icon svg { width: 1.05em; height: 1.05em; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

.btn-bronze { background: var(--bronce); color: #fff; box-shadow: 0 14px 26px -14px rgba(214, 42, 30, 0.5); }
.btn-bronze:hover { background: var(--bronce-2); }

.btn-wa { background: #25d366; color: #fff; box-shadow: 0 14px 26px -14px rgba(37, 211, 102, 0.55); }
.btn-wa:hover { background: #1da851; }

.btn-dark { background: var(--negro); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-light { background: #fff; color: var(--tinta); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--arena); }

.btn-outline { border-color: var(--bronce); color: var(--bronce-2); background: transparent; }
.btn-outline:hover { background: var(--bronce); color: #fff; }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: rgba(0, 0, 0, 0.18); }
.btn-outline-light:hover { background: #fff; color: var(--tinta); }

.btn-ghost-light { background: transparent; color: #fff; border-color: transparent; }
.btn-ghost-light:hover { color: var(--bronce-claro); transform: none; }

.btn-block { width: 100%; }

/* ---------- topbar + nav ---------- */
.topbar { background: var(--negro); color: #d8d2c4; font-size: 0.82rem; }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.topbar-in { overflow-x: auto; scrollbar-width: none; }
.topbar-in::-webkit-scrollbar { display: none; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; opacity: 0.92; }
.topbar-item:hover { opacity: 1; color: #fff; }
.topbar-phones { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.topbar-wa { color: #ffb8aa; font-weight: 600; }
.topbar-wa .icon svg { width: 1.2em; height: 1.2em; }
.topbar-hide-s { display: none; }

.navbar {
  position: relative; background: var(--blanco);
  border-bottom: 1px solid var(--linea);
}
.navbar.sticky { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }

.brand { display: inline-flex; }
.brand img { width: auto; height: 52px; }

.nav-toggle {
  margin-left: auto; background: none; border: 0; color: var(--tinta); cursor: pointer;
  padding: 8px; border-radius: 8px; display: inline-flex;
}
.nav-toggle svg { width: 30px; height: 30px; }
.nav-toggle:hover { background: rgba(28, 26, 23, 0.06); }

.nav { display: none; }
.nav.is-open {
  display: flex; flex-direction: column; gap: 2px;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--blanco); border-bottom: 1px solid var(--linea);
  border-top: 2px solid var(--bronce);
  padding: 12px 22px 22px; z-index: 55;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.35);
}
.nav-link {
  padding: 12px 4px; font-weight: 500; color: var(--tinta);
  border-bottom: 1px solid var(--linea); display: flex; align-items: center; justify-content: space-between;
}
.nav-link:last-child { border-bottom: 0; }
.nav-link:hover { color: var(--bronce); }
.nav-link.is-active { color: var(--bronce); }
.nav-cta { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(540px, 84vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-on { opacity: 1; }
.hero-dots {
  position: absolute; z-index: 2; bottom: 96px; right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 50%;
  background: transparent; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot:hover { transform: scale(1.2); }
.hero-dot.is-on { background: var(--bronce-claro); border-color: var(--bronce-claro); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 12, 0.34), rgba(20, 17, 12, 0.18) 42%, rgba(20, 17, 12, 0.86));
}
.hero-content { position: relative; padding-bottom: 78px; max-width: 1220px; }
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: #ffb5a7; margin-bottom: 18px;
}
.hero-h { font-family: var(--serif); font-weight: 600; line-height: 1.04; font-size: clamp(2.6rem, 6.6vw, 4.6rem); letter-spacing: -0.02em; max-width: 20ch; }
.hero-h span { color: var(--bronce-claro); }
.hero-sub { margin-top: 20px; font-size: clamp(1.02rem, 2vw, 1.22rem); color: rgba(255, 255, 255, 0.88); max-width: 58ch; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- trust ---------- */
.trust { border-bottom: 1px solid var(--linea); background: var(--fondo); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-ic {
  flex: none; width: 48px; height: 48px; border-radius: 13px;
  background: var(--bronce-claro); color: var(--bronce-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-ic svg { width: 24px; height: 24px; }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 2px; }
.trust-item p { color: var(--tinta-2); font-size: 0.92rem; }

/* ---------- categorías ---------- */
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--negro); padding: 30px; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  color: #fff; box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--cat-img, url('/assets/img/hero/expo-hero-1280.jpg'));
  background-position: center 40%; background-size: cover; background-repeat: no-repeat;
  opacity: 0.34; transition: opacity 0.4s ease, transform 0.6s ease;
}
.cat-card.c-caravanas { --cat-img: url('/assets/img/categorias/caravana-1280.jpg'); }
.cat-card.c-autocaravanas { --cat-img: url('/assets/img/categorias/autocaravana-1280.jpg'); }
.cat-card:hover::before { opacity: 0.44; transform: scale(1.05); }
.cat-card:hover { transform: translateY(-4px); }
.cat-num { position: absolute; top: 22px; right: 26px; z-index: 1; font-family: var(--serif); font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.1em; }
.cat-title { z-index: 1; font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; }
.cat-copy { z-index: 1; color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; max-width: 44ch; }
.cat-cta { z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; color: #ffc2b2; font-size: 0.95rem; }
.cat-cta svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.cat-card:hover .cat-cta svg { transform: translateX(5px); }

/* ---------- grid de productos ---------- */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }

.pcard { background: var(--blanco); border-radius: var(--r); overflow: hidden; border: 1px solid var(--linea); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--arena); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 7px; flex-wrap: wrap; z-index: 2; }
.badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; color: #fff; }
.badge-sold { background: #23201b; color: #ffc2b2; }
.badge-offer { background: var(--bronce); }
.badge-state { background: rgba(20, 17, 12, 0.72); backdrop-filter: blur(3px); }
.badge-estado.estado-disponible { background: #16a34a; color: #ffffff; }
.badge-estado.estado-reservado { background: #ea7a10; color: #ffffff; }
.badge-estado.estado-vendido { background: var(--bronce); color: #ffffff; }
.badge-video { background: rgba(12, 12, 12, 0.78); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-brand { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronce-2); }
.pcard-title { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.2; margin-top: 3px; }
.pcard-title a:hover { color: var(--bronce-2); }
.pcard-meta { color: var(--tinta-2); font-size: 0.88rem; margin-top: 7px; }
.pcard-foot { margin-top: auto; padding-top: 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pcard-price { font-size: 1.35rem; font-weight: 700; color: var(--tinta); }
.pcard-price s { color: var(--tinta-2); font-size: 0.92rem; font-weight: 500; margin-right: 6px; }
.pcard-wa {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: #25d366; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.pcard-wa svg { width: 22px; height: 22px; }
.pcard-wa:hover { transform: scale(1.08); filter: brightness(0.96); }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, #161616, #341d19 55%, var(--bronce-2)); color: #fff; }
.cta-in { display: flex; flex-direction: column; gap: 24px; padding: 60px 22px; align-items: flex-start; }
.cta-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; max-width: 24ch; }
.cta-sub { color: rgba(255, 255, 255, 0.85); max-width: 58ch; margin-top: 10px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sección financiación ---------- */
.fin-section { background: linear-gradient(120deg, #161616, #2b1b17 55%, var(--bronce-2)); color: #fff; padding: 72px 0; }
.fin-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.fin-eyebrow { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #ffb5a7; margin-bottom: 12px; }
.fin-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 2.35rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 16ch; }
.fin-sub { margin-top: 16px; color: rgba(255, 255, 255, 0.85); max-width: 54ch; }
.fin-benefits { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.fin-benefits li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.fin-benefit-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--bronce); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fin-benefit-ic svg { width: 18px; height: 18px; }
.fin-form-card { background: var(--blanco); color: var(--tinta); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow); }
.fin-form-h { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.fin-toggle-copy { color: var(--tinta-2); margin-top: 8px; }
.fin-toggle { margin-top: 20px; }
.fin-form-body { margin-top: 24px; }
.fin-form-body.is-open { animation: finIn 0.35s ease both; }
@keyframes finIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.fin-form { display: flex; flex-direction: column; gap: 14px; }
.fin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fin-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fin-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-2); }
.fin-field input, .fin-field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--linea); border-radius: var(--r-s);
  font-family: inherit; font-size: 1rem; background: var(--blanco); color: var(--tinta);
}
.fin-field select { cursor: pointer; }
.fin-field input:focus, .fin-field select:focus { outline: 2px solid var(--bronce-claro); outline-offset: 1px; border-color: var(--bronce); }
.fin-note { font-size: 0.85rem; color: var(--tinta-2); margin-top: 14px; }

/* ---------- marcas ---------- */
.marca-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.marca-strip a {
  display: inline-block; padding: 11px 22px; border: 1px solid var(--linea);
  background: var(--blanco); border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.marca-strip a:hover { border-color: var(--bronce); color: var(--bronce-2); transform: translateY(-2px); }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.feat { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.feat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bronce); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-ic svg { width: 26px; height: 26px; }
.feat h3 { margin-bottom: 8px; }
.feat p { color: var(--tinta-2); font-size: 0.95rem; }

/* ---------- testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.testi { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.testi svg { width: 30px; height: 30px; color: var(--bronce); opacity: 0.7; margin-bottom: 14px; }
.testi blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--tinta); }
.testi figcaption { margin-top: 16px; font-weight: 600; font-size: 0.9rem; color: var(--bronce-2); }

/* ---------- blog cards ---------- */
.bcard { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bcard-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--arena); }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.bcard:hover .bcard-media img { transform: scale(1.05); }
.bcard-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronce-2); }
.bcard-title { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.25; }
.bcard-title a:hover { color: var(--bronce-2); }
.bcard-ex { color: var(--tinta-2); font-size: 0.93rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r-s); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: 1.02rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chev { display: inline-flex; flex: none; color: var(--bronce); transform: rotate(45deg); transition: transform 0.3s ease; }
.faq-chev svg { width: 18px; height: 18px; }
.faq details[open] .faq-chev { transform: rotate(0deg); }
.faq-a { padding: 0 22px 20px; color: var(--tinta-2); }

/* ---------- seo block ---------- */
.section-seo { background: var(--blanco); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.seo-cols { display: grid; grid-template-columns: 1fr; gap: 30px; }
.section-seo h2 { margin-bottom: 10px; }
.section-seo p { color: var(--tinta-2); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; padding-bottom: 6px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--tinta-2); }
.breadcrumbs a:hover { color: var(--bronce-2); }
.breadcrumbs .sep { color: var(--bronce); opacity: 0.6; }

/* ---------- page heads ---------- */
.page-head { padding: 46px 0 20px; }
.page-head .wrap-h1 { }
.catalog-head { padding: 24px 0 12px; }
.catalog-head .h1 { margin-top: 6px; margin-bottom: 16px; }
.catalog-head .lead { margin-top: 10px; }
.catalog-head .lead strong { color: var(--tinta); font-weight: 600; }

/* ---------- filtros ---------- */
.catalog-section { padding-top: 20px; }
.filters { margin: 8px 0 26px; }
.filters-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-sm); }
.filter-field { display: flex; flex-direction: column; gap: 5px; }
.filter-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-2); }
.filter-field select {
  appearance: none; width: 100%; padding: 12px 38px 12px 14px; font-family: inherit; font-size: 0.96rem;
  border: 1px solid var(--linea); border-radius: var(--r-s); background: var(--fondo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a67c52' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer; color: var(--tinta);
}
.filter-field select:focus { outline: 2px solid var(--bronce-claro); outline-offset: 1px; border-color: var(--bronce); }
.filters-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.btn-filter-reset { background: none; border: 0; color: var(--bronce-2); font-weight: 600; font-size: 0.9rem; cursor: pointer; padding: 4px 0; }
.btn-filter-reset:hover { text-decoration: underline; }
.filter-count { font-size: 0.9rem; color: var(--tinta-2); font-weight: 600; }
.no-results { background: var(--blanco); border: 1px dashed var(--linea); border-radius: var(--r); padding: 40px; text-align: center; color: var(--tinta-2); }
.no-results-pages { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.no-results-pages a { color: var(--bronce-2); font-weight: 600; }

/* ---------- paginación ---------- */
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.page-list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.page-num, .page-step {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 16px;
  border: 1px solid var(--linea); border-radius: var(--r-s);
  background: var(--blanco); color: var(--tinta);
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.page-num:hover, .page-step:hover { border-color: var(--bronce); color: var(--bronce-2); }
.page-num:focus-visible, .page-step:focus-visible { outline: 2px solid var(--bronce); outline-offset: 2px; }
.page-num.is-current { background: var(--bronce); border-color: var(--bronce); color: #fff; }
.page-step.is-off { color: var(--tinta-2); opacity: 0.45; }

/* ---------- cross links ---------- */
.cross-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cross-card { display: flex; flex-direction: column; gap: 6px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 26px; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.cross-card:hover { transform: translateY(-3px); border-color: var(--bronce); box-shadow: var(--shadow-sm); }
.cross-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.cross-card p { color: var(--tinta-2); font-size: 0.95rem; }

/* ---------- ficha producto ---------- */
.prod-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 18px; padding-bottom: 20px; }
.prod-gallery { }
.gallery-main { position: relative; border-radius: var(--r); overflow: hidden; background: var(--arena); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-main::after {
  content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; pointer-events: none;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.48);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  opacity: 0.92; transition: opacity 0.2s ease;
}
.gallery-main:hover::after { opacity: 1; }
.gallery-slide { display: none; }
.gallery-slide.is-active { display: block; }
.gallery-main img { width: 100%; }
.gallery-badges { top: 16px; left: 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 86px; height: 66px; border-radius: var(--r-s); overflow: hidden; border: 2px solid var(--linea); padding: 0; cursor: pointer; background: none; opacity: 0.75; transition: opacity 0.2s ease, border-color 0.2s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--bronce); }

.prod-info { display: flex; flex-direction: column; }
.prod-info .h1 { margin: 4px 0 8px; font-size: clamp(2rem, 4.4vw, 2.9rem); }
.prod-meta { color: var(--tinta-2); font-size: 1.02rem; }
.prod-ref { margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-size: 0.92rem; color: var(--tinta-2); }
.prod-ref strong { color: var(--bronce); font-weight: 700; }
.prod-price { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--tinta); margin: 20px 0 4px; }
.prod-price s { color: var(--tinta-2); font-size: 1.05rem; font-weight: 500; margin-right: 10px; }
/* Texto que acompaña a "A convenir": baja el ritmo de la cifra para que la
   llamada a consultar se lea sin competir con el precio grande de al lado. */
.prod-note { margin: 6px 0 0; font-size: 0.95rem; color: var(--tinta-2); line-height: 1.5; }
.prod-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* Los botones de compartir repiten los cuadrados del footer (.footer-social),
   pero en version clara para fondo claro. Los cuatro hacen lo mismo (llevar la
   ficha a otro sitio), asi que se agrupan bajo un unico rotulo en vez de repetir
   el nombre de cada red. */
.prod-share { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--linea); }
.prod-share-h { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--tinta-2); margin: 0 0 10px; }
.prod-share-row { display: flex; gap: 10px; }
.prod-share-row a, .prod-share-row button {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--linea);
  background: #fff; color: var(--tinta-2); display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.prod-share-row a:hover, .prod-share-row button:hover { background: var(--bronce); border-color: var(--bronce); color: #fff; }
.prod-share-row a:focus-visible, .prod-share-row button:focus-visible { outline: 2px solid var(--bronce-2); outline-offset: 2px; }
.prod-share-row svg { width: 20px; height: 20px; }
/* Copiado: el boton se pinta de oscuro con el texto ya copiado,asi que no hace
   falta un aviso que encima tapa la ficha. */
.prod-share-row button.is-copied { background: var(--tinta); border-color: var(--tinta); color: #fff; }

.sold-banner { background: #23201b; color: #ffc2b2; padding: 16px 22px; display: flex; gap: 12px; align-items: center; font-size: 1.02rem; }
.sold-banner svg { width: 22px; height: 22px; flex: none; }

.reserved-banner { background: #fff1e2; color: #8a4a08; border: 1px solid #f5c68a; padding: 16px 22px; display: flex; gap: 12px; align-items: center; font-size: 1.02rem; }
.reserved-banner svg { width: 22px; height: 22px; flex: none; color: #ea7a10; }

.product-video .video-embed {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #0b0b0b; box-shadow: 0 18px 40px -22px rgba(16, 16, 16, 0.55);
}
.product-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.leadform-box { padding: 30px 22px 44px; }
.leadform { display: flex; flex-direction: column; gap: 12px; }
.leadform-h { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.leadform input {
  width: 100%; padding: 14px 16px; border: 1px solid var(--linea); border-radius: var(--r-s);
  font-family: inherit; font-size: 1rem; background: var(--blanco); color: var(--tinta);
}
.leadform input:focus { outline: 2px solid var(--bronce-claro); outline-offset: 1px; border-color: var(--bronce); }
.leadform-note { font-size: 0.85rem; color: var(--tinta-2); margin-top: 12px; }
.leadform-note a { color: var(--bronce-2); font-weight: 600; }

.prod-details { display: grid; grid-template-columns: 1fr; gap: 36px; }
.prod-desc p { color: var(--tinta-2); margin-top: 12px; }
.prod-desc p:first-of-type { margin-top: 0; }
/* Los cinco sellos de venta (transporte, garantia, nivelacion, revision y
   financiacion). Los originales son JPG con fondo gris rosado opaco, asi que
   llevan un marco fino para que se lean como distintivos y no como un fallo.
   flex-wrap mantiene los cinco en una linea en escritorio y los reordena en
   movil sin tocar la rejilla de .prod-details.
   El separador sigue el mismo patron que .post-nav y .prod-share: margen +
   padding + linea de 1px, para que el bloque respire respecto al parrafo y se
   lea como algo distinto de la descripcion. El padding anula el colapso de
   margenes, asi que los 44 + 26 px son siempre los mismos. */
.prod-sellos {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid var(--linea);
}
.prod-sellos img {
  width: auto; height: 84px; display: block;
  border: 1px solid var(--linea); border-radius: 8px;
}
/* Se agrandan solo cuando la columna da de sobra: por debajo de 1100 px la
   columna izquierda de .prod-details se queda corta y a 96 px los cinco ya no
   caben en una linea, asi que la base de 84 px se mantiene intacta. */
@media (min-width: 1100px) {
  .prod-sellos img { height: 96px; }
}
@media (max-width: 560px) {
  .prod-sellos { gap: 10px; }
  .prod-sellos img { height: 72px; }
}
/* Los rotulos de la ficha se quedaban pegados a lo que viene debajo: el reset
   global pone los margenes a cero y el primer parrafo de la descripcion, que
   los compensaba, tiene el suyo anulado. */
.prod-desc h2,
.prod-specs h2 { margin-bottom: 16px; }
.specs { width: 100%; font-size: 0.96rem; border: 1px solid var(--linea); border-radius: var(--r-s); overflow: hidden; background: var(--blanco); }
.specs tr { border-bottom: 1px solid var(--linea); }
.specs tr:last-child { border-bottom: 0; }
.specs td { padding: 12px 16px; vertical-align: top; }
.specs td:first-child { color: var(--tinta-2); width: 42%; font-weight: 500; }

/* ---------- páginas estáticas ---------- */
.brand-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.brand-card { display: flex; flex-direction: column; gap: 8px; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.brand-card:hover { transform: translateY(-3px); border-color: var(--bronce); box-shadow: var(--shadow); }
.brand-name { font-size: 1.6rem; font-weight: 600; }
.brand-count { color: var(--bronce-2); font-weight: 600; font-size: 0.92rem; }
.brand-card .link-more { margin-top: 6px; }

.serv-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.serv-card { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.serv-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bronce-claro); color: var(--bronce-2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.serv-ic svg { width: 26px; height: 26px; }
.serv-card h2 { margin-bottom: 10px; }
.serv-card p { color: var(--tinta-2); }

.nos-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.nos-grid p { color: var(--tinta-2); margin-top: 12px; }
.contact-card { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.contact-list { display: flex; flex-direction: column; gap: 16px; margin: 18px 0 22px; }
.contact-list li { display: flex; gap: 13px; align-items: flex-start; }
.contact-list .icon { color: var(--bronce); margin-top: 3px; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list a { font-weight: 600; color: var(--bronce-2); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-form-box .lead { margin: 8px 0 18px; }

/* ---------- blog post ---------- */
.post { padding-top: 20px; }
.post-head { text-align: center; max-width: 860px; margin: 0 auto; padding: 26px 0 8px; }
.post-head .lead { margin: 14px auto 0; }
.post-media { margin-top: 26px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-body { max-width: 780px; margin: 0 auto; padding-top: 30px; }
.post-body h2 { margin: 34px 0 12px; }
.post-body p { color: var(--tinta-2); margin-top: 12px; }
.blog-list { list-style: disc; padding-left: 22px; color: var(--tinta-2); display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.blog-cta { margin-top: 26px; }
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--linea); }
.post-nav-item { max-width: 46%; display: flex; flex-direction: column; gap: 4px; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.post-nav-item span { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tinta-2); }
.post-nav-item.is-next { text-align: right; }
.post-nav-item:hover { color: var(--bronce-2); }

/* ---------- legal ---------- */
.legal { max-width: 800px; }
.legal h2 { margin: 30px 0 8px; }
.legal p { color: var(--tinta-2); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 22px; max-width: 640px; }
.big-404 { font-family: var(--serif); font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; color: var(--bronce); line-height: 1; }
.notfound .lead { margin: 14px auto 28px; }
.notfound .hero-cta { justify-content: center; margin-top: 0; }

/* ---------- pie ---------- */
.site-footer { background: var(--negro); color: #bdb5a6; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding: 60px 22px 40px; }
.footer-logo { width: 200px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(0.94); }
.footer-brand p { font-size: 0.94rem; color: #a49b8b; max-width: 42ch; }
.footer-nap { margin-top: 14px !important; display: flex; gap: 8px; align-items: flex-start; }
.footer-nap .icon { color: var(--bronce); margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); display: inline-flex; align-items: center; justify-content: center; color: #d8d2c4; transition: background 0.2s ease, color 0.2s ease; }
.footer-social a:hover { background: var(--bronce); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-h { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact .icon { color: var(--bronce); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 0.85rem; color: #8f8677; }
.footer-bottom-in { display: flex; flex-direction: column; gap: 8px; padding: 22px; align-items: center; text-align: center; }
.footer-legal a:hover { color: #fff; }

/* ---------- reveal (con JS añadido en <head>) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
[hidden] { display: none !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  .topbar-hide-s { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-blog { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .filters-form { grid-template-columns: repeat(4, 1fr); }
  .filters-actions { grid-column: 1 / -1; }
  .cta-in { padding: 70px 22px; }
}

@media (min-width: 900px) {
  .topbar-hide-m { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
  .nav-link { padding: 10px 13px; font-size: 0.95rem; border: 0; position: relative; white-space: nowrap; }
  .nav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--bronce); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
  .nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
  .nav-link.is-active { color: var(--bronce); }
  .nav-cta { display: inline-flex; margin-top: 0; margin-left: 10px; padding: 11px 20px; font-size: 0.92rem; }
  .prod-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-blog { grid-template-columns: repeat(3, 1fr); }
  .prod-details { grid-template-columns: 1.1fr 0.9fr; }
  .nos-grid { grid-template-columns: 1.1fr 0.9fr; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom-in { flex-direction: row; justify-content: space-between; text-align: left; }
  .seo-cols { grid-template-columns: 1fr 1fr; }
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .serv-grid { grid-template-columns: repeat(3, 1fr); }
  .cross-grid { grid-template-columns: repeat(2, 1fr); }
  .fin-grid { grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
}

@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- bloque SEO compacto ---------- */
.section-seo { padding: 40px 0; }
.section-seo .h3 { font-size: 1rem; }
.section-seo p { font-size: 0.86rem; color: var(--tinta-2); line-height: 1.6; margin-top: 8px; }
.section-seo .seo-cols { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 18px; }

/* ---------- mapa visita ---------- */
.mapa-section { background: var(--arena); }
.mapa-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: stretch; margin-top: 22px; }
.mapa-info { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.mapa-info .h3 { color: var(--bronce-2); font-size: 1.35rem; }
.mapa-dir, .mapa-horario { display: flex; gap: 12px; align-items: flex-start; color: var(--tinta); font-size: 1.02rem; line-height: 1.55; }
.mapa-dir span:last-child, .mapa-horario span:last-child { flex: 1; }
.mapa-horario small { color: var(--tinta-2); }
.icono-rojo { flex: none; color: var(--bronce); margin-top: 3px; }
.icono-rojo svg { width: 1.25em; height: 1.25em; }
.mapa-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mapa-box { border-radius: var(--r); overflow: hidden; border: 1px solid var(--linea); box-shadow: var(--shadow); background: #e9e6df; }
.mapa-box iframe { display: block; width: 100%; height: 360px; border: 0; }

.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 92vw; max-height: 86vh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; border: none; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s ease; }
.lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; font-size: 1.4rem; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.78); font-size: 0.9rem; pointer-events: none; }

@media (min-width: 860px) {
  .mapa-grid { grid-template-columns: 0.9fr 1.1fr; }
  .mapa-box iframe { height: 100%; min-height: 430px; }
}