/* Lumax Extintores — estilos del tema */

@font-face { font-family: Montserrat; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/montserrat-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }

:root {
	--rojo: #d50a12;       /* rojo del logotipo, ajustado para contraste con texto blanco */
	--rojo-d: #a8070d;
	--rojo-claro: #fde8e9;
	--carbon: #16191d;
	--carbon-2: #23272e;
	--texto: #1d2127;
	--gris: #5c6470;
	--gris-claro: #f3f4f6;
	--linea: #e2e5e9;
	--blanco: #fff;
	--display: Montserrat, "Arial Black", system-ui, sans-serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 8px;
	--wrap: 1200px;
	--sombra: 0 1px 2px rgba(22, 25, 29, .06), 0 10px 28px rgba(22, 25, 29, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanco); color: var(--texto); font: 400 1rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rojo); text-underline-offset: .18em; }
a:hover { color: var(--rojo-d); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.15; color: var(--carbon); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffb300; outline-offset: 2px; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.wrap--narrow { max-width: 820px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--carbon); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow { font: 700 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); margin: 0 0 .7rem; }
.eyebrow--light { color: #ff6b70; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; white-space: nowrap; min-height: 46px; padding: .7em 1.3em; border-radius: var(--r); border: 1.5px solid transparent; font: 700 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--lg { min-height: 52px; padding: .85em 1.5em; font-size: 1rem; }
.btn--primary { background: var(--rojo); color: #fff; }
.btn--primary:hover { background: var(--rojo-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--rojo); border-color: var(--rojo); }
.btn--ghost:hover { background: var(--rojo); color: #fff; }
.btn--light { background: #fff; color: var(--rojo); }
.btn--light:hover { background: var(--rojo-claro); color: var(--rojo-d); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* Barra superior */
.topbar { background: var(--carbon); color: #c9ced6; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar__claim { margin: 0 auto 0 0; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topbar__claim .ico { color: #ff6b70; }
.topbar__item { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
a.topbar__item:hover { color: #fff; text-decoration: underline; }
@media (max-width: 1100px) { .topbar__addr { display: none; } }
@media (max-width: 860px) { .topbar__mail { display: none; } }
@media (max-width: 600px) { .topbar__hours { display: none; } .topbar__inner { justify-content: center; } .topbar__claim { margin: 0; font-size: .76rem; } }

/* Cabecera */
.header { background: #fff; border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand { display: block; margin-right: auto; line-height: 0; }
.brand img { width: 210px; height: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav__list > li > a, .nav__sub-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; white-space: nowrap; font: 600 .92rem/1.2 var(--sans); color: var(--texto); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--r); }
.nav__list > li > a:hover, .nav__sub-toggle:hover { color: var(--rojo); background: var(--gris-claro); }
.nav__has-sub { position: relative; }
.nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--linea); border-top: 3px solid var(--rojo); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--sombra); display: none; }
.nav__sub a { display: block; padding: 8px 12px; color: var(--texto); text-decoration: none; font-size: .92rem; border-radius: 4px; }
.nav__sub a:hover { background: var(--gris-claro); color: var(--rojo); }
.nav__has-sub.is-open .nav__sub { display: block; }
@media (hover: hover) and (min-width: 1101px) { .nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { display: block; } }
.nav__cta-mobile, .header__burger { display: none; }
.header__burger { background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--carbon); cursor: pointer; }
.header__burger .ico { width: 28px; height: 28px; }
.header__burger .ico--close { display: none; }
.header__burger[aria-expanded="true"] .ico--open { display: none; }
.header__burger[aria-expanded="true"] .ico--close { display: block; }
@media (max-width: 1100px) {
	.header__inner { min-height: 68px; gap: 10px; }
	.brand img { width: 170px; }
	.header__burger { display: block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linea); padding: 8px 16px 20px; max-height: calc(100vh - 104px); overflow-y: auto; box-shadow: var(--sombra); }
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__list > li > a, .nav__sub-toggle { width: 100%; justify-content: space-between; padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--linea); border-radius: 0; }
	.nav__sub { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 12px; background: transparent; }
	.nav__cta-mobile { display: flex; margin-top: 16px; }
}
@media (max-width: 520px) { .header__tel { padding: .6em .8em; font-size: .88rem; } .brand img { width: 140px; } }
@media (max-width: 380px) { .header__tel { font-size: 0; gap: 0; width: 46px; padding: 0; } .header__tel .ico { width: 20px; height: 20px; } }

/* Secciones */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--grey { background: var(--gris-claro); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head h2 { margin: 0; }
.section__head--center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__head--center h2 { margin-bottom: .35em; }
.section__head--center p:last-child { color: var(--gris); margin: 0; }
.center-link { text-align: center; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--linea); }

/* Hero */
.hero { background: radial-gradient(120% 140% at 0% 0%, #2a2f37 0%, var(--carbon) 55%); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rojo); }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.1fr 1fr; padding-top: 64px; padding-bottom: 76px; } }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero__lead { font-size: 1.12rem; color: #d7dbe1; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero__trust { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 14px 22px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .hero__trust { grid-template-columns: repeat(3, 1fr); } }
.hero__trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #c9ced6; line-height: 1.35; }
.hero__trust .ico { width: 30px; height: 30px; color: #ff6b70; }
.hero__trust strong { display: block; color: #fff; font-size: .92rem; }
.hero__media { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 6 / 5; }
.hero__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.hero__img--1 { grid-row: 1 / 3; }
@media (max-width: 959px) { .hero__media { aspect-ratio: 4 / 3; } }

/* Tarjetas */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cards--3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.cards--catalog { margin-bottom: 44px; }
.cards--catalog img { object-fit: contain; background: #fff; padding: 8px; }
.card a { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--texto); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card a:hover { box-shadow: var(--sombra); transform: translateY(-2px); border-color: #cfd4da; }
.card img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--gris-claro); }
.card__icon { position: relative; z-index: 1; margin: -28px 0 -14px 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; border: 4px solid #fff; }
.card__icon .ico { width: 22px; height: 22px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1; }
.card__body strong { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--carbon); }
.card__body > span { font-size: .88rem; color: var(--gris); line-height: 1.45; }
.card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--rojo) !important; font-weight: 700; font-size: .87rem !important; }

/* Bloque dividido + ficha de datos */
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; } .split--faq { grid-template-columns: 1fr 1.5fr; } }
.split__img { border-radius: var(--r); margin-top: 18px; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.facts { background: #fff; border: 1px solid var(--linea); border-top: 4px solid var(--rojo); border-radius: var(--r); padding: 24px; box-shadow: var(--sombra); }
.facts h2, .facts h3 { font-size: 1.15rem; }
.facts dl { margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linea); font-size: .92rem; }
.facts dt { color: var(--gris); }
.facts dd { margin: 0; font-weight: 600; }

/* Compra / instalación / mantenimiento */
.trio { display: grid; gap: 18px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio > div { border: 1px solid var(--linea); border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.trio > div > .ico { width: 40px; height: 40px; color: var(--rojo); margin-bottom: 12px; }
.trio p { color: var(--gris); font-size: .95rem; }
.trio .link-arrow { margin-top: auto; font-size: .92rem; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; background: #fff; border: 1px solid var(--linea); border-radius: var(--r); padding: 24px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.steps__n { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--rojo-claro); color: var(--rojo); display: grid; place-items: center; font: 800 .9rem/1 var(--display); }
.steps .ico { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--rojo); color: #fff; margin-bottom: 8px; }
.steps strong { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--carbon); }
.steps span:not(.steps__n) { font-size: .9rem; color: var(--gris); line-height: 1.5; }

/* Certificaciones */
.creds__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .creds__inner { grid-template-columns: 300px 1fr; } }
.creds__doc { margin: 0; max-width: 300px; justify-self: center; }
.creds__doc img { border: 1px solid var(--linea); border-radius: 4px; box-shadow: var(--sombra); transform: rotate(-2deg); background: #fff; }
.creds__doc figcaption { font-size: .82rem; color: var(--gris); text-align: center; margin-top: 14px; }

/* Dónde estamos */
.local { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .local { grid-template-columns: 1fr 1.2fr; } }
.local__list { list-style: none; margin: 0 0 22px; padding: 0; }
.local__list li { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.local__list .ico { color: var(--rojo); }
.local__map iframe { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--r); box-shadow: var(--sombra); }

/* Banda de fotos */
.gallery-band { display: grid; gap: 32px; }
@media (min-width: 1000px) { .gallery-band { grid-template-columns: 1fr 2.2fr; align-items: center; } }
.gallery-band__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-band__grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--r); }
@media (max-width: 700px) { .gallery-band__grid { grid-template-columns: repeat(2, 1fr); } }

/* Preguntas frecuentes */
.faqs, .prose .faq-list { display: grid; gap: 10px; }
details.faq { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; line-height: 1.4; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--rojo); border-bottom: 2px solid var(--rojo); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq[open] { border-color: #cfd4da; }
details.faq > p, details.faq > div { padding: 0 18px 16px; margin: 0; color: #3d444e; }
.prose details.faq { margin-bottom: 10px; }

/* Guías */
.guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.guides a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 20px; background: #fff; border: 1px solid var(--linea); border-left: 4px solid var(--rojo); border-radius: var(--r); text-decoration: none; color: var(--texto); }
.guides a:hover { box-shadow: var(--sombra); }
.guides strong { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--carbon); }
.guides span { font-size: .9rem; color: var(--gris); }
.list-title { font-size: 1.35rem; margin: 0 0 18px; }
.guides + .list-title { margin-top: 48px; }

/* Llamada final */
.cta { background: linear-gradient(100deg, var(--rojo) 0%, #b5080f 100%); color: #fff; padding: clamp(40px, 5vw, 60px) 0; }
.cta__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr 1fr; } }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #ffe3e4; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta__actions { justify-content: flex-end; } }
.cta .btn--light { font-size: 1.15rem; }

/* Páginas interiores */
.page-hero { background: radial-gradient(120% 160% at 0% 0%, #2a2f37 0%, var(--carbon) 60%); color: #fff; border-bottom: 4px solid var(--rojo); }
.page-hero__inner { display: grid; gap: 28px; padding-top: 26px; padding-bottom: 44px; align-items: center; }
@media (min-width: 900px) { .page-hero--img .page-hero__inner { grid-template-columns: 1.4fr 1fr; } }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); margin: 14px 0 .4em; }
.page-hero__lead { font-size: 1.08rem; color: #d7dbe1; max-width: 42em; margin: 0; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: #fff; }
.byline { color: #c9ced6; font-size: .92rem; margin: 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .82rem; color: #aab1bb; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: #6c7480; }
.crumbs a { color: #d7dbe1; }

.page-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .page-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }

/* Texto largo */
.prose { font-size: 1.03rem; max-width: 780px; }
.prose--intro { margin-bottom: 36px; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose .lead { font-size: 1.15rem; color: #2b3038; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--r); width: 100%; max-height: 520px; object-fit: cover; }
.prose figure.contain img { object-fit: contain; background: var(--gris-claro); max-height: 420px; }
.prose figcaption { font-size: .86rem; color: var(--gris); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .93rem; background: #fff; }
.prose th, .prose td { border: 1px solid var(--linea); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--gris-claro); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose .table-wrap table { margin: 0; min-width: 520px; }
.prose img { height: auto; }
.prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); margin: 1.4em 0; }
.checks { list-style: none !important; padding: 0 !important; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.4px solid var(--rojo); border-bottom: 2.4px solid var(--rojo); transform: rotate(-45deg); }
.callout { background: #fff; border: 1px solid var(--linea); border-left: 4px solid var(--rojo); border-radius: var(--r); padding: 18px 20px; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }
.callout strong:first-child { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.answer { background: var(--rojo-claro); border-left: 4px solid var(--rojo); border-radius: var(--r); padding: 18px 20px; margin: 0 0 1.6em; }
.answer p:last-child { margin: 0; }
.cols-2 { display: grid; gap: 16px; margin: 1.4em 0; }
@media (min-width: 700px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.cols-2 > div { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); padding: 18px 20px; }
.cols-2 h3 { margin-top: 0; font-size: 1.08rem; }
.cols-2 p:last-child { margin: 0; }
.specs { width: 100%; }
.specs th { width: 42%; }
.gallery-grid { list-style: none !important; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 1.6em 0; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid li { margin: 0; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r); }
.gallery-grid figcaption { font-size: .84rem; color: var(--gris); margin-top: 6px; line-height: 1.4; }
.related { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--linea); }
.related h2 { margin-top: 0; font-size: 1.25rem; }
.post-thumb { margin: 0 0 1.6em; }
.post-thumb img { border-radius: var(--r); width: 100%; }
.sitemap ul { columns: 2 260px; }

/* Lateral */
.aside { display: grid; gap: 18px; }
@media (min-width: 1000px) { .aside { position: sticky; top: 100px; } }
.aside__box { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); padding: 22px; }
.aside__box h2 { font-size: 1.1rem; }
.aside__box--brand { background: var(--carbon); border-color: var(--carbon); color: #fff; border-top: 4px solid var(--rojo); }
.aside__box--brand h2 { color: #fff; }
.aside__box--brand p { color: #c9ced6; font-size: .93rem; }
.aside__box--brand .btn { width: 100%; }
.aside__box--creds p { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin: 0; }
.aside__box--creds p + p { margin-top: 12px; }
.aside__box--creds .ico { width: 26px; height: 26px; color: var(--rojo); }
.aside__tel { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.aside__tel:hover { color: #fff; text-decoration: underline; }
.aside__note { margin: 10px 0 0; font-size: .8rem !important; text-align: center; }
.aside__links { list-style: none; margin: 0; padding: 0; }
.aside__links li { border-top: 1px solid var(--linea); }
.aside__links a { display: block; padding: 9px 0; text-decoration: none; color: var(--texto); font-size: .93rem; }
.aside__links a:hover { color: var(--rojo); }

/* Presupuesto */
.quote__inner { display: grid; gap: 36px; }
@media (min-width: 1000px) { .quote__inner { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.quote__contact { line-height: 2; }
.quote__contact .ico { margin-right: 8px; color: var(--rojo); }

/* Formulario */
.form { background: #fff; border: 1px solid var(--linea); border-radius: var(--r); padding: clamp(20px, 4vw, 32px); box-shadow: var(--sombra); scroll-margin-top: 110px; }
.form h2 { font-size: 1.45rem; margin-bottom: .3em; }
.form__intro { color: var(--gris); font-size: .93rem; }
.form__row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { margin: 0 0 14px; }
.form__field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--linea); border-radius: var(--r); font: inherit; background: var(--gris-claro); color: var(--texto); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rojo); background: #fff; }
.form input[type=file] { font-size: .9rem; max-width: 100%; }
.form__hint { display: block; font-size: .8rem; color: var(--gris); margin-top: 4px; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.form__check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rojo); flex: none; }
.form__legal { font-size: .78rem; color: var(--gris); }
.form__alert { background: #fdecec; border: 1px solid #f2b8ba; color: #8a0b10; padding: 12px 14px; border-radius: var(--r); font-size: .92rem; }
.form__hp { position: absolute; left: -9999px; }

/* Contacto */
.contact { display: grid; gap: 36px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.contact__info { display: grid; gap: 24px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Listado del blog */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--texto); }
.post-card a:hover { box-shadow: var(--sombra); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.post-card strong { font-family: var(--display); font-weight: 700; font-size: 1.04rem; line-height: 1.3; color: var(--carbon); }
.post-card__body > span { font-size: .88rem; color: var(--gris); }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--linea); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--texto); }
.pagination .page-numbers.current { background: var(--rojo); color: #fff; border-color: var(--rojo); }

/* Pie */
.footer { background: var(--carbon); color: #b7bec8; padding-top: 56px; font-size: .92rem; }
.footer a { color: #e6e9ed; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 40px; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer__logo { font: 800 1.35rem/1 var(--display); color: #fff; letter-spacing: .01em; margin-bottom: 14px; }
.footer__logo span { color: #ff3b42; }
.footer__creds { list-style: none; margin: 16px 0 0; padding: 0; }
.footer__creds li { display: flex; gap: 8px; align-items: center; color: #e6e9ed; font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.footer__creds .ico { color: #ff6b70; width: 20px; height: 20px; }
.footer h2 { font: 700 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer__contact .ico { margin-top: 3px; color: #ff6b70; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .82rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Barra fija en móvil */
.mbar { display: none; }
@media (max-width: 760px) {
	.mbar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--linea); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
	.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; font-size: .78rem; font-weight: 700; color: var(--texto); text-decoration: none; }
	.mbar .ico { width: 20px; height: 20px; color: var(--rojo); }
	.mbar__cta { background: var(--rojo); color: #fff !important; }
	.mbar__cta .ico { color: #fff; }
	body { padding-bottom: 58px; }
}

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

/* Títulos de bloques no editoriales (pie, lateral, franja final): no cuentan como encabezados */
.hd { font-family: var(--display); font-weight: 700; color: var(--carbon); font-size: 1.1rem; line-height: 1.2; margin: 0 0 .6em; }
.hd--lg { font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.15; }
.footer .hd { font: 700 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.aside__box--brand .hd { color: #fff; }
.cta .hd { color: #fff; margin-bottom: .3em; }
.footer__zones-hd { margin-top: 22px; }
.footer__zones { display: flex; flex-wrap: wrap; gap: 4px 14px; }
