/* Estilo C · corporativo sobrio — páginas principales (inicio, nosotros, productos, servicios, manuales, contacto).
   Las páginas de series y de manuales por marca siguen con styles.css. */
:root {
  --navy: #1d3b5e;
  --navy-2: #284d76;
  --navy-dark: #152c47;
  --text: #22303d;
  --body: #44525f;
  --muted: #61707e;
  --soft: #e4ebf3;
  --line: #d2dce7;
  --white: #fff;
  --wa: #1f9d55;
  --wa-dark: #188047;
  --radius: 4px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Libre Franklin", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }

/* ── Encabezado ───────────────────────────── */
.site-head { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; }
.logo b { font-size: 19px; font-weight: 700; color: var(--navy); display: block; line-height: 1.15; }
.logo small { font-size: 13px; color: var(--muted); }
.menu { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.menu a { color: #3c4b59; padding: 4px 0; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--navy); }
.menu a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--navy); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px;
  font: 600 14px var(--sans); color: var(--navy); cursor: pointer; }

/* ── Botones ──────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); line-height: 1.2; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn.p { background: var(--navy); color: #fff; }
.btn.p:hover { background: var(--navy-2); }
.btn.s { border-color: #b9c3cc; color: var(--navy); background: #fff; }
.btn.s:hover { border-color: var(--navy); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-dark); }
.btn.light { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn.light:hover { border-color: #fff; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Héroes ───────────────────────────────── */
.hero { background: var(--soft); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
h1 { font-family: var(--serif); font-size: 46px; line-height: 1.12; color: var(--navy); font-weight: 600; }
.lead { margin: 20px 0 30px; color: var(--body); font-size: 18px; }
.hero-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.note { margin-top: 26px; font-size: 14px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--navy); }
.kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 52px; padding-bottom: 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.page-head h1 { font-size: 42px; }
.page-head .lead { margin: 16px 0 0; }
.page-head .side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ── Bloques y títulos ────────────────────── */
section.block { padding: 72px 0; }
section.block.soft { background: var(--soft); }
section.block.tight { padding: 48px 0; }
.title { margin-bottom: 32px; max-width: 680px; }
h2 { font-family: var(--serif); font-size: 32px; color: var(--navy); font-weight: 600; line-height: 1.2; }
.title p { color: var(--muted); margin-top: 8px; }
h3 { font-size: 18px; color: var(--navy); line-height: 1.3; }
.more { margin-top: 26px; font-weight: 600; color: var(--navy); display: inline-block; border-bottom: 1px solid currentColor; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--body); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Columnas con filete superior (servicios, ventajas) */
.ruled h3 { margin-bottom: 6px; padding-top: 16px; border-top: 2px solid var(--navy); }
.ruled p { color: #4a5865; font-size: 15px; }
.ruled .num { display: block; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .06em; margin-bottom: 4px; }
.ruled .tag { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--navy); font-weight: 600; }

/* Tarjetas con borde fino */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
a.card:hover { border-color: var(--navy); }
.card .pic { height: 150px; display: grid; place-items: center; border-bottom: 1px solid var(--line); background: #fff; }
.card .pic img { max-height: 118px; max-width: 75%; object-fit: contain; }
.card .pic.cover { height: 180px; }
.card .pic.cover img { max-height: none; max-width: none; width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card .body p { font-size: 14px; color: var(--muted); }
.card .foot { display: flex; justify-content: space-between; align-items: center; padding: 0 18px 16px; font-size: 13px; }
.card .foot span { color: var(--muted); }
.card .foot b { color: var(--navy); font-weight: 600; }

/* ── Franja de marcas ─────────────────────── */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands .wrap { padding-top: 28px; padding-bottom: 28px; }
.brands .label { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
/* Marquesina: la fila va duplicada y el riel se corre medio ancho, así el giro no tiene salto */
.brands { overflow: hidden; }
.brands .track { display: flex; width: max-content; animation: marcas 40s linear infinite; }
.brands .track:hover { animation-play-state: paused; }
.brands .row { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex-shrink: 0; }
.brands img { height: 36px; width: auto; max-width: 130px; object-fit: contain; }
@keyframes marcas { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brands .track { animation: none; flex-wrap: wrap; width: auto; } .brands .row[aria-hidden] { display: none; } .brands .row { flex-wrap: wrap; } }

/* ── Cifras ───────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 28px 20px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 38px; color: var(--navy); font-weight: 600; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }

/* ── Pasos ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: paso; }
.steps div { counter-increment: paso; }
.steps div::before { content: counter(paso, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { font-size: 15px; color: #4a5865; }

/* ── Lista de chips (sectores) ────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font-size: 14px; color: var(--navy); background: #fff; }

/* ── Cita ─────────────────────────────────── */
blockquote { font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--navy); padding-left: 22px; border-left: 3px solid var(--navy); }

/* ── Banda de contacto (azul) ─────────────── */
.contact { background: var(--navy); color: #fff; }
.contact .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.contact h2 { color: #fff; }
.contact p { color: #c6d2de; margin-top: 8px; }
.contact .actions { margin-top: 22px; }
.datos { background: #fff; color: var(--text); border-radius: var(--radius); padding: 24px 26px; font-size: 15px; }
.datos div { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.datos div:last-child { border: 0; }
.datos span { color: var(--muted); }
.datos a, .datos b { font-weight: 600; color: var(--navy); text-align: right; }
.datos a.wa { color: var(--wa); }

/* ── Catálogo (productos) ─────────────────── */
.search { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.search label { font-weight: 600; font-size: 15px; color: var(--navy); }
.search input { width: 100%; padding: 14px 16px; font: 16px var(--sans); color: var(--text); border: 1px solid #b9c3cc; border-radius: var(--radius); background: #fff; }
.search input:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.search small { color: var(--muted); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 14px; }
.filters button { font: 500 14px var(--sans); padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: #3c4b59; cursor: pointer; }
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.status { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.serie .code { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.serie dl { font-size: 13px; color: var(--muted); margin-top: 6px; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.serie dt { font-weight: 600; color: #3c4b59; }
.serie .ej { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted var(--line); padding: 1px 0; }
.serie .ej small { color: var(--navy); font-weight: 600; white-space: nowrap; }
.empty { border: 1px dashed #b9c3cc; border-radius: var(--radius); padding: 22px; color: var(--muted); display: none; }
.sufijos { list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--body); }
.sufijos li { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sufijos b { color: var(--navy); }

/* Buscador del catálogo completo */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.buscador { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: start; margin-bottom: 22px; }
.buscador .search { max-width: none; }
.buscador .field select { padding: 14px 12px; font-size: 15px; }
.buscar-head .wrap { grid-template-columns: 1fr; }
.buscar-head h1 { max-width: 820px; }
.buscar-head .lead { max-width: 760px; }
.buscar-head .buscador { margin: 28px 0 0; grid-template-columns: 1fr 240px; gap: 10px; }
.buscar-head .search input { padding: 18px 20px; font-size: 18px; border: 0; }
.buscar-head .search input:focus, .buscar-head select:focus { outline: 3px solid #8fb4d9; outline-offset: 0; }
.buscar-head .field select { height: 100%; min-height: 58px; border: 0; }
.ejemplos { margin-top: 14px; font-size: 14px; color: #a9bccf; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ejemplos button { font: 500 13px var(--sans); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); padding: 5px 10px; cursor: pointer; }
.ejemplos button:hover { background: rgba(255,255,255,.18); }
/* versión sobre fondo claro (inicio) */
.ejemplos.claro { color: var(--muted); }
.ejemplos.claro a { font-size: 13px; font-weight: 500; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 10px; background: #fff; }
.ejemplos.claro a:hover { border-color: var(--navy); }
.buscador .btn { height: 100%; min-height: 52px; }
.resultados td a.cod:not(.btn) { border: 0; }
.resultados td a.cod:hover b { text-decoration: underline; }
@media (max-width: 700px) {
  .buscar-head .buscador { grid-template-columns: 1fr; }
  .buscar-head .search input { font-size: 16px; padding: 15px 16px; }
  .buscar-head .field select { min-height: 48px; }
}
.resultados table { width: 100%; border-collapse: collapse; font-size: 15px; }
.resultados th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  padding: 10px 12px; border-bottom: 2px solid var(--navy); }
.resultados td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.resultados tbody tr:hover { background: var(--soft); }
.resultados td b { color: var(--navy); }
.resultados td small { display: block; font-size: 12px; color: var(--muted); }
.resultados td a:not(.btn) { color: var(--navy); border-bottom: 1px solid var(--line); }
.resultados td:last-child { text-align: right; }
.resultados .btn { padding: 7px 14px; font-size: 13px; }
.resultados #resMas { margin-top: 18px; }

.resultados { scroll-margin-top: 100px; }

/* ── Ficha de producto (producto.html) ────── */
.ficha .wrap { align-items: center; grid-template-columns: 1.25fr 1fr; }
.ficha .marca { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #a9bccf; }
.ficha .marca span { background: #fff; color: var(--navy); padding: 2px 10px; border-radius: 3px; font-weight: 700; letter-spacing: .04em; }
.ficha h1 { margin: 12px 0 8px; font-size: 38px; overflow-wrap: anywhere; }
.ficha .medida { font-size: 18px; color: #fff; }
.ficha .alias { font-size: 13px; color: #a9bccf; margin-top: 6px; }
.medidas { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); margin: 24px 0; }
.medidas div { padding: 12px 16px; border-right: 1px solid rgba(255,255,255,.18); }
.medidas div:last-child { border-right: 0; }
.medidas b { display: block; font-family: var(--serif); font-size: 26px; color: #fff; font-weight: 600; }
.medidas span { font-size: 12px; color: #a9bccf; text-transform: uppercase; letter-spacing: .05em; }
.ficha .actions { margin-top: 24px; }
.ficha .entrega { margin-top: 18px; font-size: 14px; color: #c6d2de; padding-left: 14px; border-left: 3px solid #fff; }
.foto { background: #fff; border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; position: relative; }
.foto img { width: 66%; }
.foto small { position: absolute; bottom: 10px; left: 14px; font-size: 12px; color: var(--muted); }
.foto { align-content: center; gap: 18px; }
.foto img.logo-marca-ficha { width: auto; max-width: 70%; max-height: 45%; object-fit: contain; margin: 0 auto; }
.foto .cod-foto { font-family: var(--serif); font-size: 26px; color: var(--navy); text-align: center; overflow-wrap: anywhere; padding: 0 16px; }
.foto .sin-foto { text-align: center; padding: 24px; }
.foto .sin-foto b { display: block; font-family: var(--serif); font-size: 30px; color: var(--navy); overflow-wrap: anywhere; }
.foto .sin-foto span { color: var(--muted); font-size: 14px; }
.cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.cols h2 { font-size: 26px; margin: 40px 0 14px; }
.cols h2:first-child { margin-top: 0; }
.tecnicos { width: 100%; border-collapse: collapse; font-size: 15px; }
.tecnicos th, .tecnicos td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tecnicos th { color: var(--muted); font-weight: 500; width: 45%; }
.tecnicos td { color: var(--navy); font-weight: 600; }
.lee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lee div { border-top: 2px solid var(--navy); padding-top: 10px; }
.lee b { display: block; font-family: var(--serif); font-size: 26px; color: var(--navy); }
.lee span { font-size: 14px; color: var(--muted); }
.eq a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.eq b { color: var(--navy); }
.eq a:hover b { text-decoration: underline; }
.eq small { color: var(--muted); text-align: right; }
.lado { background: var(--soft); border-radius: var(--radius); padding: 24px 26px; }
.lado h3 { font-size: 15px; margin: 22px 0 10px; }
.lado > h3:first-child, .lado > :first-child h3 { margin-top: 0; }
[hidden] { display: none !important; }
.lado .chips { gap: 6px; }
.lado .chips a { border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 10px; font-size: 13px; color: var(--navy); background: #fff; }
.lado .chips a:hover { border-color: var(--navy); }
.lado p { font-size: 14px; color: var(--body); }
.lado .btn { margin-top: 12px; padding: 11px 16px; font-size: 14px; }
.lado .more { margin-top: 0; font-size: 14px; }
@media (max-width: 900px) {
  .ficha .wrap, .cols { grid-template-columns: 1fr; }
  .ficha h1 { font-size: 30px; }
  .foto { max-width: 360px; }
}
@media (max-width: 560px) {
  .lee { grid-template-columns: 1fr; }
  .medidas b { font-size: 21px; }
  .medidas div { padding: 10px; }
}

/* ── Formulario ───────────────────────────── */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: #3c4b59; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 15px var(--sans); color: var(--text); padding: 11px 13px; border: 1px solid #b9c3cc; border-radius: var(--radius); background: #fff; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field .err { color: #b42318; font-size: 13px; display: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #b42318; }
.field.bad .err { display: block; }
.form .hint { font-size: 13px; color: var(--muted); }

.horario { border: 1px solid var(--line); border-radius: var(--radius); }
.horario div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.horario div:last-child { border: 0; }
.horario span { color: var(--muted); }
.horario b { color: var(--navy); font-weight: 600; }
.map { width: 100%; height: 260px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ── Preguntas frecuentes ─────────────────── */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--body); }

/* ── Pedido de catálogo (manuales) ────────── */
.pedido { display: flex; gap: 10px; max-width: 640px; margin-top: 22px; }
.pedido input { flex: 1; padding: 13px 14px; font: 15px var(--sans); border: 0; border-radius: var(--radius); color: var(--text); }
.pedido input:focus { outline: 2px solid #fff; outline-offset: 1px; }

/* ── Pie ──────────────────────────────────── */
.site-foot { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.site-foot .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.site-foot h4 { font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.site-foot nav { display: grid; gap: 6px; }
.site-foot a:hover { color: var(--navy); }
.site-foot p + p { margin-top: 4px; }
.site-foot .base { border-top: 1px solid var(--line); }
.site-foot .base .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; padding-bottom: 18px; }

/* WhatsApp flotante: discreto, mismo verde que el resto */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18); z-index: 30; }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:hover { background: var(--wa-dark); }

/* ── Azul marino: encabezado, cabeceras de página, cifras y pie ── */
.site-head { background: var(--navy); border-bottom-color: var(--navy); }
.logo img { background: #fff; border-radius: var(--radius); padding: 3px; }
.logo b { color: #fff; }
.logo small { color: #a9bccf; }
.menu a { color: #d3dde7; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.menu-btn { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 900px) {
  .menu { background: var(--navy); border-bottom-color: var(--navy); }
  .menu a, .menu a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.12); }
}
.site-foot { background: var(--navy-dark); color: #a9bccf; border-top: 0; }
.site-foot h4 { color: #fff; }
.site-foot a:hover { color: #fff; }
.site-foot .base { border-top-color: rgba(255,255,255,.12); }

.hero, .page-head { background: var(--navy-dark); border-bottom: 0; }
:is(.hero, .page-head) h1, :is(.hero, .page-head) .lead b, .page-head .stats strong { color: #fff; }
:is(.hero, .page-head) :is(.lead, .note, .stats span) { color: #c6d2de; }
:is(.hero, .page-head) .kicker { color: #8fa6bd; }
:is(.hero, .page-head) .note { border-left-color: #fff; }
:is(.hero, .page-head) .btn.p { background: #fff; color: var(--navy); }
:is(.hero, .page-head) .btn.s { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
:is(.hero, .page-head) .btn.s:hover { border-color: #fff; }

.brands { background: var(--soft); }
main > .wrap > .stats { background: var(--navy); border: 0; border-radius: var(--radius); margin-top: 32px; }
main > .wrap > .stats div { border-color: rgba(255,255,255,.15); }
main > .wrap > .stats strong { color: #fff; }
main > .wrap > .stats span { color: #c6d2de; }

/* ── Páginas de marca (manuales-*) ────────── */
.page-head.marca .wrap { align-items: center; }
.crumbs { font-size: 13px; color: #a9bccf; margin-bottom: 16px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.logo-marca { background: #fff; border-radius: var(--radius); display: grid; place-items: center; padding: 28px; min-height: 170px; }
.logo-marca img { max-height: 96px; max-width: 240px; object-fit: contain; }
.logo-marca b { font-family: var(--serif); font-size: 34px; color: var(--navy); }
.card .body .code { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ── Páginas de serie: estructura heredada, se reestiliza sin tocar el contenido ── */
.detail-shell, .shell, .mini-shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.detail-hero { background: var(--navy-dark); }
.detail-hero-card, .hero-card { padding: 48px 0 52px; }
.detail-back, .back, .mini-link { display: inline-block; font-size: 13px; color: #a9bccf; margin-bottom: 14px; }
.detail-back:hover, .back:hover { color: #fff; text-decoration: underline; }
.mini-link { color: var(--muted); }
.mini-link:hover { color: var(--navy); text-decoration: underline; }
.detail-hero-card h1, .hero-card h1 { color: #fff; margin-bottom: 14px; }
.detail-hero-card p, .hero-card p { color: #c6d2de; font-size: 18px; max-width: 820px; }
.detail-grid, .shell.grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.detail-panel h2, .panel h2 { font-size: 26px; margin-bottom: 12px; }
.detail-panel p, .panel p { color: var(--body); }
aside.detail-panel, aside.panel { background: var(--soft); border-radius: var(--radius); padding: 26px 28px; }
.detail-code-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
.panel .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.detail-code, .chip, .mini-card li { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 6px; text-align: center; font-weight: 600; color: var(--navy); background: #fff; }
.detail-code a, .chip a, .mini-card li a { color: var(--navy); }
.detail-code a:hover, .chip a:hover, .mini-card li a:hover { text-decoration: underline; }
.detail-code .med, .chip .med, .mini-card li .med { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.detail-info { margin-top: 24px; border-top: 1px solid var(--line); }
.detail-info div { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--body); font-size: 15px; }
.detail-info strong { color: var(--navy); }
.detail-suffix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 8px; }
.detail-suffix { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--body); }
.detail-suffix strong { display: block; color: var(--navy); }
.detail-media, .photo, .mini-photo { margin-top: 20px; background: #fff; border-radius: var(--radius); overflow: hidden; height: 240px; }
.detail-media img, .photo img, .mini-photo img { width: 100%; height: 100%; object-fit: contain; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.detail-actions a { display: inline-flex; padding: 13px 20px; border-radius: var(--radius); font-weight: 600; font-size: 15px; color: #fff; }
.detail-actions .wa { background: var(--wa); }
.detail-actions .wa:hover { background: var(--wa-dark); }
.detail-actions .mail { background: var(--navy); }
.mini-card { padding: 48px 0 72px; }
.mini-card h1 { margin-bottom: 10px; }
.mini-card > p { color: var(--body); font-size: 18px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; align-items: start; }
.mini-card h2 { font-size: 26px; margin-bottom: 14px; }
.mini-card ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-photo { margin-top: 0; }

/* ── Responsivo ───────────────────────────── */
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .menu { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu a[aria-current="page"] { border-bottom-color: var(--line); }
  .hero .wrap, .page-head .wrap, .grid-2, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero .wrap { padding-top: 40px; }
  h1 { font-size: 36px; }
  .page-head h1 { font-size: 34px; }
  .hero-img { height: 240px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-foot .cols { grid-template-columns: 1fr; gap: 24px; }
  .detail-grid, .shell.grid, .mini-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 52px; }
  .detail-code-grid { grid-template-columns: repeat(4, 1fr); }
  .detail-hero-card, .hero-card { padding: 36px 0 40px; }
  .logo-marca { min-height: 130px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .logo img { height: 42px; }
  .logo small { display: none; }
  section.block { padding: 52px 0; }
  h2 { font-size: 27px; }
  blockquote { font-size: 21px; }
  .grid-4, .steps, .form .two { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .datos div { flex-direction: column; gap: 0; }
  .datos a, .datos b { text-align: left; }
  .pedido { flex-direction: column; }
}
@media (max-width: 560px) {
  .detail-code-grid, .mini-card ul, .panel .chips { grid-template-columns: repeat(3, 1fr); }
  .detail-suffix-grid { grid-template-columns: 1fr; }
  .detail-shell, .shell, .mini-shell { padding: 0 16px; }
}

/* Resultados del catálogo en pantallas chicas: cada fila pasa a ser un bloque */
@media (max-width: 700px) {
  .buscador { grid-template-columns: 1fr; }
  .resultados thead { display: none; }
  .resultados tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .resultados td { padding: 0; border: 0; font-size: 14px; }
  .resultados td:nth-child(1) { grid-column: 1; }
  .resultados td:nth-child(2) { grid-column: 1; color: var(--muted); }
  .resultados td:nth-child(3), .resultados td:nth-child(4) { grid-column: 1; color: var(--muted); font-size: 13px; }
  .resultados td:last-child { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
}

/* buscador del inicio: campo + botón */
.buscador.inicio { grid-template-columns: 1fr 160px; }
@media (max-width: 700px) { .buscador.inicio { grid-template-columns: 1fr; } }

/* ── Catálogo: columna de categorías y marcas + resultados ── */
.buscar-head .buscador.solo { grid-template-columns: 1fr; }
.catalogo { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filtros { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 6px; }
.filtros h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.filtros h2 + .lista-filtro { margin-bottom: 28px; }
.lista-filtro { display: flex; flex-direction: column; }
.lista-filtro button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left;
  font: 500 14px var(--sans); color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--line); padding: 9px 10px; cursor: pointer; }
.lista-filtro button:hover { background: var(--soft); color: var(--navy); }
.lista-filtro button small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lista-filtro button[aria-pressed="true"] { background: var(--navy); color: #fff; border-bottom-color: var(--navy); font-weight: 600; }
.lista-filtro button[aria-pressed="true"] small { color: #c6d2de; }
.activos { display: flex; flex-wrap: wrap; gap: 8px; }
.activos:not(:empty) { margin-bottom: 12px; }
.activos button { font: 600 13px var(--sans); color: #fff; background: var(--navy); border: 0; border-radius: var(--radius); padding: 6px 10px; cursor: pointer; }
.activos button:hover { background: var(--navy-dark); }
.resultados .status { margin-bottom: 14px; }
@media (max-width: 900px) {
  .catalogo { grid-template-columns: 1fr; gap: 20px; }
  .filtros { position: static; max-height: none; overflow: visible; padding: 0; min-width: 0; }
  .filtros h2 + .lista-filtro { margin-bottom: 16px; }
  /* en el celular cada lista es una fila de botones que se desliza de costado */
  .lista-filtro { flex-direction: row; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .lista-filtro button { width: auto; flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 10px; white-space: nowrap; }
}

/* ── Contacto: formulario en tarjeta y datos en azul ── */
.contacto-bloque .grid-2 { align-items: start; }
.tarjeta { background: #fff; border-radius: var(--radius); border-top: 4px solid var(--navy); padding: 30px 32px 32px;
  box-shadow: 0 10px 30px rgba(21, 44, 71, .08); }
.datos.oscuro { background: var(--navy); color: #fff; padding: 28px 30px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(21, 44, 71, .14); }
.datos.oscuro h2 { color: #fff; margin-bottom: 10px; }
.datos.oscuro div { border-bottom-color: rgba(255, 255, 255, .15); }
.datos.oscuro span { color: #a9bccf; }
.datos.oscuro a, .datos.oscuro b { color: #fff; }
.datos.oscuro a.wa { color: #4ade80; }
.datos.oscuro a:hover { text-decoration: underline; }
.contacto-bloque .horario { background: #fff; overflow: hidden; }
.horario h3 { background: var(--navy-dark); color: #fff; font-size: 15px; padding: 11px 16px; margin: 0; }
.contacto-bloque .map { margin-top: 20px; border: 0; box-shadow: 0 10px 30px rgba(21, 44, 71, .08); }
@media (max-width: 560px) {
  .tarjeta { padding: 24px 18px; }
  .datos.oscuro { padding: 22px 18px; }
}
/* botón blanco sobre fondo azul */
.btn.blanco { background: #fff; color: var(--navy); }
.btn.blanco:hover { background: #e4ebf3; }
.datos.oscuro .btn.blanco { margin-top: 18px; width: 100%; color: var(--navy); }
.datos.oscuro .btn.blanco:hover { text-decoration: none; }

/* buscador chico al lado del botón (inicio) */
.mini-buscar { display: flex; align-items: stretch; background: #fff; border-radius: var(--radius); overflow: hidden; width: 230px; }
.mini-buscar input { flex: 1; min-width: 0; border: 0; padding: 0 12px; font: 15px var(--sans); color: var(--text); }
.mini-buscar input:focus { outline: none; }
.mini-buscar:focus-within { outline: 3px solid #8fb4d9; }
.mini-buscar button { border: 0; background: #fff; padding: 0 12px; cursor: pointer; color: var(--navy); display: grid; place-items: center; }
.mini-buscar button:hover { background: #e4ebf3; }
.mini-buscar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 560px) { .mini-buscar { width: 100%; height: 46px; } }
/* solo, sin el botón al lado: más ancho */
.hero .mini-buscar { width: 380px; max-width: 100%; height: 50px; }

/* marca sin logo en la grilla de manuales */
.card .pic .marca-txt { font-family: var(--serif); font-size: 30px; color: var(--navy); }

/* ficha: enlace al catálogo de fábrica en la página del producto */
.ver-catalogo { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: #fff; font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.ver-catalogo:hover { border-bottom-color: #fff; }
.ver-catalogo i, .pdf-enlace i { font-style: normal; background: #c0392b; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 6px; border-radius: 3px; }
.pdf-enlace { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.pdf-enlace:hover { border-color: var(--navy); }
.pdf-enlace b { display: block; font-size: 14px; color: var(--navy); }
.pdf-enlace span { font-size: 13px; color: var(--muted); }
