/* ============================================================
   styles.css — Payresa. CSS del proyecto (sin frameworks).
   Réplica del diseño de payresa.com (tema Impreza + WPBakery):
   valores extraídos del CSS real del sitio (us_custom_*).
   ============================================================ */

/* Montserrat autoalojada (variable font, subset latin) — sin peticiones a Google (RGPD). */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/montserrat-var.woff2') format('woff2-variations');
}

/* --- Reset mínimo --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }

:root {
    --color-text: #484848;           /* texto base del original */
    --color-heading: #484848;        /* títulos (como el original: mismo gris que el texto) */
    --color-muted: #5b6067;
    --color-bg: #ffffff;
    --color-bg-alt: #f3f3f3;
    --color-primary: #4ba848;        /* verde de marca */
    --color-primary-dark: #174425;   /* hover verde oscuro (bosque), como el original */
    --color-forest: #174425;         /* verde bosque */
    --color-accent: #ff6600;         /* naranja CTAs */
    --color-accent-dark: #e65c00;
    --color-dark: #1a1a1a;           /* footer */
    --color-border: #e8e8e8;
    --font-body: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --measure: 46rem;
    --radius: 4px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; /* anclas: hueco para el header fijo */ }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.667;              /* 30px sobre raíz 18px, como el original */
    font-size: 18px;                 /* raíz del original (Impreza) */
    font-weight: 300;                /* peso base del original */
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; font-weight: 300; margin-block: 0 0.5em; color: var(--color-heading); }
h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
p, ul, ol, blockquote { margin-block: 0 1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
blockquote { border-left: 4px solid var(--color-primary); padding-left: 1rem; color: var(--color-muted); }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* --- Contenedor ancho del original (Impreza): 1580px máx, 44px de padding --- */
.wide { max-width: 1580px; margin-inline: auto; padding-inline: 2.75rem; width: 100%; }

.section { padding-block: 4.5rem; }

/* Títulos de sección: mayúsculas, gris, peso medio, SIN adorno (como el original) */
.section__title {
    text-align: center; text-transform: uppercase;
    color: var(--color-heading); font-weight: 300;
    font-size: 2rem; line-height: 1.2; letter-spacing: .5px;
    margin-bottom: 2.5rem;
}
.section__title--light { color: #fff; }
.section__title--gap { margin-top: 4.5rem; }
.section__intro { text-align: center; max-width: 1280px; margin: -1.5rem auto 3rem; font-size: 1.06rem; color: var(--color-muted); }
.section__cta { text-align: center; margin-top: 2.5rem; }

/* --- Botones --- */
.btn {
    display: inline-block; padding: 0.8em 1.8em; font-weight: 600; line-height: 1.2;
    background: var(--color-primary); color: #fff; border: 2px solid var(--color-primary);
    border-radius: 0.3em; text-decoration: none; cursor: pointer; text-align: center;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
    font-size: 1rem;
}
.btn:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
/* CTA naranja: hover a botón outlined (transparente, borde y texto naranja), como el original */
.btn--accent { background: var(--color-accent); border-color: var(--color-accent); }
.btn--accent:hover { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }
.btn--green { background: var(--color-primary); border-radius: 2px; padding: 0.65em 2em; }
.btn--wide { font-size: 1.1rem; padding: 1em 2.2em; }
.btn--dark { background: #444; font-size: 0.92rem; padding: 0.65em 1.4em; }
.btn--dark:hover { background: #333; }
.btn--ig { background: #408bd1; font-size: 0.92rem; padding: 0.65em 1.4em; }
.btn--ig:hover { background: #3579b8; }

.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; font: inherit; }

/* ============================ HEADER ============================ */
/* Como el original (Impreza): header siempre fijo. En overlay va transparente sobre
   el hero; pasado el umbral de scroll (100px desktop / 50px móvil, JS pone .is-stuck)
   el topbar se colapsa y la barra principal encoge, todo con transición suave.
   En páginas sin overlay el JS compensa la altura con padding-top en el body. */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 60; }
.site-header.is-stuck .topbar { max-height: 0; }
.site-header.is-stuck .navbar { background: rgba(20, 20, 20, .95); box-shadow: 0 1px 10px rgba(0,0,0,.25); }
.site-header.is-stuck .navbar__inner { padding-block: 0.55rem; }
.site-header.is-stuck .navbar__logo img { height: 54px; }

/* Barra superior BLANCA */
.topbar {
    background: rgba(25, 25, 25, .55); font-size: 0.92rem;
    /* Fallback alto: en móvil el topbar ocupa varias líneas hasta que el JS mide */
    max-height: var(--topbar-h, 140px); overflow: hidden;
    transition: max-height .3s ease;
}
.topbar__inner {
    max-width: 1580px; margin-inline: auto; padding: 0.55rem 0;
    display: flex; align-items: center; gap: 2rem;
}
.topbar__claim { color: var(--color-primary); }
.topbar__contact { display: flex; gap: 2.6rem; list-style: none; padding: 0; margin: 0 auto; flex-wrap: wrap; color: #fff; }
.topbar__contact li { line-height: 1.45; display: flex; gap: 0.5rem; }
.topbar__label { color: var(--color-primary); display: block; }
.topbar__contact a { color: #fff; }
.topbar__contact a:hover { color: var(--color-primary); }
.topbar__btn {
    border: 1px solid var(--color-primary); border-radius: 3px;
    padding: 0.5em 1.6em; color: #fff; font-size: 0.95rem;
    transition: background .18s ease, color .18s ease;
}
.topbar__btn:hover { background: var(--color-primary); color: #fff; }

/* Barra principal oscura translúcida (sobre el hero y sobre páginas interiores) */
.navbar { background: rgba(25, 25, 25, .55); transition: background .3s ease, box-shadow .3s ease; }
.navbar__inner {
    max-width: 1580px; margin-inline: auto; padding: 0.9rem 0;
    display: flex; align-items: center; gap: 1.6rem;
    transition: padding .3s ease;
}
.navbar__logo { flex-shrink: 0; }
.navbar__logo img { height: 78px; width: auto; transition: height .3s ease; }
.site-nav { display: flex; align-items: center; margin-left: auto; }
.site-nav__list { display: flex; gap: 1.55rem; align-items: center; list-style: none; padding: 0; margin: 0; flex-wrap: nowrap; }
.site-nav__list > li > a {
    color: #fff; font-weight: 500; font-size: 0.98rem; padding: 0.4em 0; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 0.35em;
}
.site-nav__list > li > a:hover,
.site-nav__list > li > a[aria-current="page"] { color: #8fd189; }
.site-nav__list > li > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.site-nav__list .caret { opacity: .9; }

/* --- Desplegables del menú (hover en desktop, acordeón en móvil) --- */
.site-nav__list li { position: relative; }
.sub-toggle {
    background: none; border: 0; padding: 0 0.15em; cursor: pointer;
    color: inherit; display: inline-flex; align-items: center; vertical-align: middle;
}
/* Flecha blanca en el primer nivel (barra oscura), como el original */
.site-nav__list > .has-sub > .sub-toggle { color: #fff; }
.site-nav__list > .has-sub:hover > .sub-toggle,
.site-nav__list > .has-sub:hover > a { color: #8fd189; }
.sub-toggle .caret { transition: transform .2s ease; }
/* Valores del original (Impreza, dropdown_height): fondo blanco, texto #484848,
   hover verde sin cambio de fondo, sombra 0 5px 15px y animación scaleY+opacity .3s */
.site-nav .sub {
    transform: scaleY(0) translateZ(0); transform-origin: 50% 0; opacity: 0;
    transition: transform .3s, opacity .3s;
    position: absolute; top: 100%; left: 0; z-index: 70; min-width: 12rem;
    background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,.15);
    list-style: none; margin: 0; padding: 0;
    color: var(--color-text); /* los toggles heredan el color oscuro del panel */
}
.site-nav li:hover > .sub,
.site-nav li:focus-within > .sub { transform: scaleY(1) translateZ(0); opacity: 1; }
.site-nav .sub a {
    display: block; color: var(--color-text); font-size: 0.9rem; line-height: 1.5;
    padding: 0.6em 20px; white-space: nowrap;
}
.site-nav .sub a:hover,
.site-nav .sub a[aria-current="page"] { color: var(--color-primary); }
.site-nav .sub .has-sub > a { padding-right: 2em; }
.site-nav .sub .sub-toggle { position: absolute; right: 0.6em; top: 0.55em; transform: rotate(-90deg); }
/* Sub-submenú: se abre en flyout hacia la derecha */
.site-nav .sub .sub { top: 0; left: 100%; }
.site-nav__flags { display: flex; gap: 0.55rem; align-items: center; }
.site-nav__flags a { display: block; line-height: 0; }
.site-nav__flags svg { border-radius: 2px; }
.navbar__submark { flex-shrink: 0; margin-left: 1.4rem; }
.navbar__submark img { height: 56px; width: auto; }

/* Toggle móvil */
.navbar__toggle {
    display: none; margin-left: auto; width: 44px; height: 40px; background: none;
    border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius); cursor: pointer;
    padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.navbar__toggle-bar { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 1420px) { .navbar__submark { display: none; } }
@media (max-width: 1240px) {
    .site-nav__list { gap: 1rem; }
    .site-nav__list > li > a { font-size: 0.88rem; }
}
/* El original pasa a navegación móvil a 1389px y oculta la barra superior en
   tableta/móvil (topbar solo visible en escritorio ≥1390px). */
@media (max-width: 1389px) {
    .topbar { display: none; }
}
@media (max-width: 1389px) {
    .navbar__toggle { display: flex; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #1c1c1c; box-shadow: 0 10px 20px rgba(0,0,0,.25); padding: 0.5rem 2.75rem 1.25rem;
    }
    /* Dentro de header fijo el desplegable no puede crecer más que el viewport:
       límite de alto y scroll propio */
    .site-nav.is-open { display: block; max-height: calc(100dvh - 100px); overflow-y: auto; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
    .site-nav__list > li > a { display: flex; justify-content: space-between; padding: 0.7em 0; }
    .site-nav__flags { padding-block: 0.7em; border-bottom: 0 !important; }

    /* Desplegables en móvil: acordeón (JS pone .is-open en el li) */
    .site-nav .sub {
        position: static; transform: none; opacity: 1; transition: none; display: none;
        background: transparent; box-shadow: none; min-width: 0;
        padding: 0 0 0 1.1rem; color: inherit;
    }
    .site-nav li.is-open > .sub { display: block; }
    .site-nav .sub a { color: rgba(255,255,255,.85); white-space: normal; }
    .site-nav .sub a:hover { background: transparent; }
    .site-nav .sub li { border-bottom: 0; }
    .site-nav .sub .sub { left: auto; top: auto; }
    .sub-toggle { padding: 0.5em 0.7em; margin-left: auto; }
    .site-nav .sub .sub-toggle { position: static; transform: none; }
    .site-nav li.is-open > .sub-toggle .caret { transform: rotate(180deg); }
    .site-nav__list .has-sub > a { flex: 1; }
    .site-nav__list .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
    .site-nav__list .has-sub > .sub { flex-basis: 100%; }
}
@media (max-width: 760px) {
    .topbar__inner { flex-wrap: wrap; gap: 0.4rem 1.5rem; justify-content: center; padding-inline: 1.25rem; }
    .topbar__contact { gap: 0.4rem 1.5rem; }
    .topbar__btn { display: none; }
    .navbar__inner { padding-inline: 1.25rem; }
    .navbar__logo img { height: 56px; }
    /* En móvil el header ya es compacto: el logo no encoge al hacer scroll
       (como el original, que en móvil mantiene la altura) */
    .site-header.is-stuck .navbar__logo img { height: 56px; }
}

/* ============================= HERO ============================= */
.hero {
    position: relative; color: #fff;
    background: rgba(51,51,51,.01) no-repeat center bottom / cover;
    display: flex; align-items: center;
    padding-top: 190px; padding-bottom: 5rem; min-height: 96vh;
}
.hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.hero__inner { position: relative; }
.hero__title {
    color: #fff; text-transform: uppercase; font-weight: 500;
    font-size: clamp(2rem, 3.9vw, 3.5rem); line-height: 1.2;
    margin-top: 3rem; margin-bottom: 2rem; max-width: 1100px;
}
.hero__title strong { display: block; font-weight: 700; }
.hero__text { font-size: 1.2rem; line-height: 1.45; max-width: 845px; margin-bottom: 1.5rem; }
.hero__text strong { font-weight: 700; }
.hero .btn { margin-top: 1.5rem; }

/* ======================= PROCESO / POR QUÉ ======================= */
.steps { display: grid; gap: 3.5rem; grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ¿Por qué Payresa? — franja oscura con 4 perks (icono de línea + texto), como el
   original: título a la izquierda en blanco, items en fila icono-izquierda + texto */
.why { position: relative; background: #2b2b2b no-repeat center / cover; padding-block: 3.5rem; color: #fff; }
.why__overlay { position: absolute; inset: 0; background: rgba(22, 22, 22, .86); }
.why .wide { position: relative; }
.why__title { color: #fff; text-transform: uppercase; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 2rem; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why__item { display: flex; align-items: center; gap: 1rem; }
.why__item svg, .why__item img { flex-shrink: 0; color: #fff; }
.why__item h3 { color: #fff; font-size: 1.05rem; font-weight: 400; margin: 0; line-height: 1.3; }
@media (max-width: 900px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why__grid { grid-template-columns: 1fr; } }
.step { text-align: center; }
.step__icon { display: inline-block; height: 90px; width: auto; margin-bottom: 1.4rem; }
.step__icon--photo { height: 96px; }
.step__title { font-size: 1.3rem; font-weight: 700; color: #333a3f; margin-bottom: 0.7em; }
.step p { color: var(--color-muted); font-size: 1.02rem; margin: 0; }

/* ========================== PROYECTOS ========================== */
.projects { display: grid; gap: 3.75rem; grid-template-columns: repeat(3, 1fr); margin-bottom: 2.5rem; }
.project__media { position: relative; }
.project__media img { width: 100%; aspect-ratio: 41 / 16; object-fit: cover; }
.project__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    color: #fff; font-size: 1.6rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); opacity: .85;
}
.project__arrow--prev { left: 0.6rem; }
.project__arrow--next { right: 0.6rem; }
.project__text {
    margin: 1.4rem 0 0; text-align: center; text-transform: uppercase;
    color: var(--color-primary); font-size: clamp(1.1rem, 1.8vw, 1.55rem); line-height: 1.3; font-weight: 400;
}

/* ================= EMPRESAS + PROVEEDORES (fondo claro) ================= */
/* La foto del showroom va lavada en blanco, como el original (overlay claro del tema). */
.section--empresa { position: relative; background: var(--color-bg-alt) no-repeat center / cover; padding-block: 5rem; }
.section--empresa::before { content: ""; position: absolute; inset: 0; background: rgba(247, 246, 244, .9); }
.section--empresa .wide { position: relative; }

/* Logos de clientes: imágenes a tamaño natural, alineadas a la izquierda */
.logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: flex-start; }
.logos--clients img { max-height: 150px; width: auto; }
/* Tarjetas blancas uniformes (proveedores/fabricantes) */
.logos--cards { width: 100%; }
.logos--cards li {
    background: #fff; width: calc((100% - 5 * 1.1rem) / 6); aspect-ratio: 210 / 150;
    display: grid; place-items: center; padding: 1rem;
}
.logos--cards img { max-height: 100px; max-width: 100%; width: auto; object-fit: contain; }

/* ========================= FABRICANTES ========================= */
.section--brands { background: #f3f3f3 no-repeat center / cover; padding-block: 5rem 4rem; }

/* ====================== SLIDER GENÉRICO ====================== */
.slider { overflow: hidden; }
.slider__track { display: flex; transition: transform .45s ease; }
.slider__page { flex: 0 0 100%; }
.slider__dots { display: flex; gap: 0.55rem; justify-content: center; margin-top: 2rem; }
.slider__dots button {
    width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
    background: #b9b9b9; cursor: pointer;
}
.slider__dots button[aria-selected="true"] { background: #555; }

/* =========================== RESEÑAS =========================== */
.reviews { display: grid; gap: 3rem; grid-template-columns: repeat(3, 1fr); align-items: start; padding-inline: 1rem; }
.review__head { display: flex; gap: 0.9rem; align-items: center; margin-bottom: 0.8rem; }
.review__avatar {
    width: 42px; height: 42px; border-radius: 50%; color: #fff; flex-shrink: 0;
    display: grid; place-items: center; font-size: 1.15rem; font-weight: 500;
}
.review__name { margin: 0; font-size: 1rem; color: #202124; }
.review__meta { margin: 0; font-size: 0.82rem; color: #70757a; }
.review__stars { color: #fbbc04; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 0.7rem; }
.review__text { color: #3c4043; font-size: 0.98rem; margin: 0; }

/* ========================== PRODUCTOS ========================== */
.section--pattern { background: #fff repeat center; }
.products { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
/* Hover del original (Impreza w-ibanner animation_phorcys sobre fondo #1a1a1a):
   la imagen se desvanece a 0.15 y sube un 8% dejando el fondo negro, el degradado
   se apaga, el título sigue blanco y se revela la descripción (si la hay) */
.product {
    position: relative; height: 290px; overflow: hidden;
    background: #1a1a1a;
    display: flex; align-items: flex-end; color: #fff;
}
.product__image {
    position: absolute; inset: 0 0 -10% 0;
    background-size: cover; background-position: 50% 50%;
    transition: transform .4s ease, opacity .4s ease;
}
.product::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(transparent 0%, rgba(30,30,30,.8) 100%);
    transition: opacity .3s;
}
.product:hover .product__image { opacity: .15; transform: translateY(-8%); }
.product:hover::after { opacity: 0; }
.product__content { position: relative; z-index: 2; display: block; padding: 1.4rem 1.5rem; }
.product__title { display: block; font-size: 1.55rem; font-weight: 400; }
.product__desc {
    display: block; font-size: 0.95rem; opacity: 0; line-height: 0; margin-top: 0;
    transition: opacity .3s, line-height .3s, margin .3s;
}
.product__desc strong { font-weight: 700; }
.product:hover .product__desc { opacity: .75; line-height: 1.5; margin-top: 15px; }

/* ============================ BLOG ============================ */
.posts { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
/* Hover del original (layout_7726): la tarjeta se eleva con sombra creciente
   y el badge de categoría pasa de verde bosque a verde marca */
.post-card {
    position: relative; height: 300px; overflow: hidden; display: flex; align-items: flex-end;
    background: #333 center / cover;
    box-shadow: 0 0.03rem 0.06rem rgba(0,0,0,.1), 0 0.1rem 0.3rem rgba(0,0,0,.1);
    transition: box-shadow .3s;
}
.post-card:hover {
    box-shadow: 0 0.12rem 0.24rem rgba(0,0,0,.1), 0 0.4rem 1.2rem rgba(0,0,0,.15);
    z-index: 4;
}
.post-card__band {
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    position: absolute; inset: 0;
    background: linear-gradient(transparent, rgba(30,30,30,.8));
    padding: 15% 7% 7%;
}
.post-card__cat {
    display: inline-block; background: var(--color-forest); color: #fff;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    padding: 0.35em 0.9em; margin-bottom: 0.6rem;
}
.post-card__title { display: block; color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.post-card:hover .post-card__cat { background: var(--color-primary); }

/* ============================ FAQ ============================ */
.section--faq { position: relative; background: #333 no-repeat center bottom / cover; padding-block: 5rem; }
.section--faq__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .38); }
.section--faq .wide { position: relative; }
/* Acordeón estilo Impreza: item abierto con barra verde bosque + chevron; cerrados
   con texto oscuro y línea inferior. Panel de fondo blanco (visible sobre secciones
   oscuras como la home; transparente-equivalente sobre blanco). */
.faq { background: #fff; }
.faq__item { border-bottom: 1px solid #ececec; }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
    cursor: pointer; list-style: none; position: relative;
    padding: 1.2rem 3rem 1.2rem 1.2rem;
    font-size: 1rem; font-weight: 700; color: var(--color-heading);
    transition: background .2s ease, color .2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: ""; position: absolute; right: 1.3rem; top: 44%;
    width: 9px; height: 9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] .faq__q { background: var(--color-forest); color: #fff; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(-135deg); }
.faq__a { padding: 1.2rem; color: var(--color-muted); }
.faq__a p { margin: 0; }

/* ====================== CONTACTO (home) ====================== */
.section--contact { background: #f3f3f3 no-repeat center / cover; padding-block: 6rem; }
.contact-box { max-width: 700px; margin-inline: auto; padding-inline: 1.25rem; }
.contact-box__title {
    text-transform: uppercase; color: var(--color-heading); font-weight: 500;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 0.6rem;
}
.contact-box__lead { color: #555; font-size: 1.02rem; margin-bottom: 1.8rem; }
.contact-box__lead a { color: var(--color-primary); }

.contact-form p { margin: 0 0 1rem; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%; padding: 0.75em 1em;
    border: 2px solid var(--color-primary); border-radius: 2px;
    background: #fff; color: #444;
}
.contact-form ::placeholder { color: #8a8f95; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-primary-dark); outline-offset: 0; }
.contact-form__row { display: grid; gap: 1rem; grid-template-columns: 2fr 3fr; }
.contact-form__check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; color: #444; }
.contact-form__check input { margin-top: 0.3em; width: 15px; height: 15px; flex-shrink: 0; }
.contact-form__check label { line-height: 1.5; }
.contact-form__submit { text-align: right; margin-top: 1.4rem; }
.form-error { background: #fdecea; border: 1px solid #e5b1aa; color: #92322a; padding: 0.7em 1em; border-radius: var(--radius); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* =========================== INSTAGRAM ========================= */
.ig-profile { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.6rem; }
.ig-profile__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--color-border); padding: 4px; }
.ig-profile__name { margin: 0; font-size: 1.1rem; color: #333; font-weight: 500; }
.ig-profile__bio { margin: 0; font-size: 0.9rem; color: #8a7a4d; }
.ig-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(4, 1fr); }
.ig-grid__item { aspect-ratio: 1 / 1; background-size: cover; background-position: center; display: block; }
.ig-grid__item:hover { opacity: .88; }
.ig-actions { display: flex; gap: 0.8rem; justify-content: center; margin: 2rem 0 0; }

/* Responsive de las rejillas de la home */
@media (max-width: 980px) {
    .steps, .steps--4, .projects, .products, .posts, .reviews { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .logos--cards li { width: calc((100% - 2 * 1.1rem) / 3); }
    .ig-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-form__row { grid-template-columns: 1fr; }
    .wide { padding-inline: 1.25rem; }
}
@media (max-width: 620px) {
    .steps, .steps--4, .projects, .products, .posts, .reviews { grid-template-columns: 1fr; }
    .logos--cards li { width: calc((100% - 1.1rem) / 2); }
    .ig-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding-top: 150px; }
}

/* ============ Piezas de páginas internas y colecciones ============ */
main:not(.home):not(.fullbleed) { max-width: 1200px; margin-inline: auto; padding: 2.5rem 1.25rem 3.5rem; }
main:not(.home) .legal, main:not(.home) .post__content { max-width: var(--measure); }
main:not(.home):not(.fullbleed) h1 { color: var(--color-heading); }

/* ============ Páginas interiores a ancho completo (con banner) ============ */
.page-banner {
    position: relative; display: grid; place-items: center;
    background: #333 no-repeat center / cover;
    min-height: 500px; padding: 190px 1.25rem 3rem;
}
.page-banner__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.page-banner__title {
    position: relative; color: #fff; text-transform: uppercase; text-align: center;
    font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem); margin: 0;
}
.page-banner__text { position: relative; }
.page-banner__sub {
    color: #fff; text-align: center; font-weight: 700; text-transform: uppercase;
    font-size: 1.2rem; margin: 1rem 0 0;
}

/* ============ Páginas de sección (parquet-flotante, …) ============ */
/* Banner con intro + formulario de presupuesto */
.page-banner--form { padding-bottom: 4.5rem; }
.page-banner__lead {
    color: #fff; text-align: center; max-width: 860px;
    margin: 1.2rem auto 0; font-size: 1.05rem; line-height: 1.5;
}
.quote-form__claim { color: #fff; text-align: center; font-weight: 700; margin: 2rem 0 0.9rem; }
.quote-form { max-width: 760px; margin-inline: auto; }
.quote-form__row { display: flex; gap: 0.9rem; justify-content: center; }
.quote-form__row input {
    flex: 1 1 0; min-width: 0; padding: 0.6em 0.9em;
    border: 0; border-radius: 2px; font: inherit; background: rgba(255,255,255,.92);
}
.quote-form__check { justify-content: center; color: #fff; margin-top: 0.8rem; }
.quote-form__check a { color: #fff; text-decoration: underline; }
@media (max-width: 700px) {
    .quote-form__row { flex-direction: column; }
    .quote-form__row .btn { align-self: center; }
}

/* Migas de pan de páginas de sección (las del detalle de post usan .crumbs) */
.breadcrumbs { padding-block: 1.4rem 0.4rem; font-size: 0.92rem; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 0.3em; list-style: none; padding-block: 0; margin: 0 auto; }
.breadcrumbs__list li + li::before { content: '>'; margin-right: 0.3em; color: var(--color-muted); font-size: 0.85em; }
.breadcrumbs__list a { color: var(--color-primary); }
.breadcrumbs__list a:hover { color: var(--color-primary-dark); }
.breadcrumbs__list [aria-current] { color: var(--color-muted); }

/* Ventajas: 4 columnas con icono de línea verde */
.ventajas { display: grid; gap: 2.5rem; grid-template-columns: repeat(4, 1fr); text-align: center; }
.ventajas--3 { grid-template-columns: repeat(3, 1fr); }
.ventajas--5 { grid-template-columns: repeat(5, 1fr); }
/* Variante enlazable (fila "parquet que ofrecemos" de la página índice de sección) */
a.ventaja--link { color: inherit; display: block; }
a.ventaja--link:hover .ventaja__title { color: var(--color-primary); }
.ventaja__icon { color: var(--color-primary); display: inline-block; }
.ventaja__title { text-transform: uppercase; color: var(--color-heading); font-size: 1.02rem; margin: 0.9rem 0 0.5rem; }
.ventaja p { font-size: 0.95rem; color: var(--color-muted); }
@media (max-width: 980px) { .ventajas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ventajas { grid-template-columns: 1fr; } }
@media (max-width: 1240px) { .ventajas--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ventajas--5 { grid-template-columns: 1fr; } }

/* Grids de tarjetas de producto a 4 y 5 columnas */
.products--4 { grid-template-columns: repeat(4, 1fr); }
.products--5 { grid-template-columns: repeat(5, 1fr); }
.product--compact { height: 220px; }
.product--compact .product__content { padding: 1.1rem 1.2rem; }
.product--compact .product__title { font-size: 1.05rem; text-transform: uppercase; }
@media (max-width: 1080px) { .products--4, .products--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products--4, .products--5 { grid-template-columns: 1fr; } }

/* Imagen + texto a dos columnas */
.split { display: grid; gap: 3.5rem; grid-template-columns: 1fr 1.1fr; align-items: center; }
.split__media img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* Franja gris de texto centrado + CTA */
.section--gray { background: var(--color-bg-alt); }
.section__block { max-width: 1280px; margin: 0 auto 1.1em; }

/* ================= Listado de proyectos (/proyectos) ================= */
.proyectos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem 2.5rem; }
.proyecto__slider { position: relative; overflow: hidden; }
.proyecto__track { display: flex; transition: transform .35s ease; }
.proyecto__slide { flex: 0 0 100%; aspect-ratio: 16 / 10; background: #f3f3f3; }
.proyecto__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proyecto__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
    width: 44px; height: 44px; border: 0; background: none;
    display: grid; place-items: center; cursor: pointer;
    color: #fff; font-size: 1.7rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
    transition: color .2s ease;
}
.proyecto__arrow:hover { color: var(--color-primary); }
.proyecto__arrow--prev { left: 8px; }
.proyecto__arrow--next { right: 8px; }
.proyecto__title {
    text-align: center; text-transform: uppercase; color: var(--color-heading);
    font-weight: 400; font-size: 1.45rem; line-height: 1.25; margin: 1.5rem auto 0;
}
.proyecto__title a { color: inherit; }
.proyecto__title a:hover { color: var(--color-primary); }
@media (max-width: 860px) { .proyectos-grid { grid-template-columns: 1fr; } }

/* Ficha de proyecto (/proyectos/…) */
.pdet__slider { max-width: 62rem; margin-inline: auto; }
.pdet__content { max-width: var(--measure); margin: 2.8rem auto 0; }
.pdet__content h2, .pdet__content h3 {
    text-transform: uppercase; color: var(--color-heading);
    margin: 1.7em 0 0.6em; font-size: 1.3rem;
}
.pdet__content h3 { font-size: 1.12rem; }
.pdet__content ul { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 0.35em; }
.pdet__content li::before { content: '\2013\00a0'; }

.section__title--left { text-align: left; }

/* Franja de datos de contacto (4 columnas con iconos) */
.contact-strip { background: #fff; padding-block: 3.5rem; }
.contact-strip__grid { display: grid; gap: 2rem; grid-template-columns: repeat(4, 1fr); }
.contact-strip__item { display: grid; justify-items: center; gap: 1.2rem; text-align: center; }
.contact-strip__item a, .contact-strip__item span { color: var(--color-primary); font-size: 1.08rem; }
.contact-strip__item a:hover { color: var(--color-primary-dark); }
@media (max-width: 980px) { .contact-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-strip__grid { grid-template-columns: 1fr; } }

/* Formulario + imagen enmarcada (página contacto) */
.contact-cols { display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; align-items: center; }
.contact-cols .contact-box__title { text-align: left; }
.contact-form__submit--center { text-align: center; }
/* La imagen sangra hasta el borde derecho del viewport (como el original) */
.contact-bleed { overflow-x: clip; }
.contact-cols__media { margin-right: calc(-1 * max((100vw - 1600px) / 2, 0px) - 2.75rem); }
.contact-cols__media img { width: 100%; }
@media (max-width: 980px) {
    .contact-cols { grid-template-columns: 1fr; }
    .contact-cols__media { display: none; }
}

/* Mapa (carga bajo demanda para no llamar a Google sin consentimiento) */
.map {
    position: relative; min-height: 620px; background: var(--color-bg-alt);
    display: grid; place-content: center; gap: 1rem; text-align: center; padding: 2rem;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__note { color: var(--color-muted); font-size: 0.92rem; margin: 0; }

/* ============================ BLOG ============================ */
.blog-l { display: grid; gap: 3.5rem; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }

/* Rejilla masonry de tarjetas */
.bgrid { columns: 3 240px; column-gap: 1.5rem; }
/* Hover del original (layout_7726): sombra creciente + badge a verde marca */
.bcard {
    display: block; break-inside: avoid; margin-bottom: 1.5rem;
    position: relative; background: #333; overflow: hidden;
    box-shadow: 0 0.03rem 0.06rem rgba(0,0,0,.1), 0 0.1rem 0.3rem rgba(0,0,0,.1);
    transition: box-shadow .3s;
}
.bcard:hover {
    box-shadow: 0 0.12rem 0.24rem rgba(0,0,0,.1), 0 0.4rem 1.2rem rgba(0,0,0,.15);
    z-index: 4;
}
.bcard__img { width: 100%; }
.bcard__band { display: block; padding: 1rem 1.2rem 1.2rem; }
/* Con imagen: la tarjeta es la propia foto y el texto va superpuesto sobre un degradado */
.bcard:has(.bcard__img) .bcard__band {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 78%);
}
.bcard__cat {
    display: inline-block; background: var(--color-forest); color: #fff;
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    padding: 0.35em 0.9em; margin: 0 0.4rem 0.55rem 0;
}
.bcard__title { display: block; color: #fff; font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.bcard:hover .bcard__cat { background: var(--color-primary); }

/* Sidebar */
.blog-side__form { margin-bottom: 3rem; }
.blog-side__form p { margin-bottom: 0.9rem; }
.blog-side__title { font-size: 1.5rem; font-weight: 500; color: #333; margin: 0 0 1.1rem; }
.blog-side__title:not(:first-child) { margin-top: 2.4rem; }
.blog-side__list { list-style: none; padding: 0; margin: 0 0 2.4rem; display: grid; gap: 0.7rem; }
.blog-side__list a { color: var(--color-primary); }
.blog-side__list a:hover { color: var(--color-primary-dark); }
.blog-side__list li::before { content: "› "; color: var(--color-primary); font-weight: 700; }
.blog-side__count { color: var(--color-muted); }

.blog-l .pagination { margin-top: 2rem; }

/* ======================= PÁGINA EMPRESA ======================= */
.ehero {
    position: relative; color: #fff; text-align: center;
    background: #333 no-repeat center / cover;
    padding: 230px 0 5.5rem; display: flex; align-items: center;
}
.ehero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.ehero__inner { position: relative; }
.ehero__title { color: #fff; text-transform: uppercase; font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 1.4rem; }
.ehero__lead { font-size: 1.15rem; max-width: 840px; margin: 0 auto 2.8rem; }
.ehero__stats { display: flex; justify-content: space-between; gap: 2rem; max-width: 1140px; margin: 0 auto 2.8rem; flex-wrap: wrap; }
.ehero__stat { flex: 1 1 200px; }
.ehero__num { display: block; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.1; }
.ehero__label { display: block; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-top: 0.5rem; color: rgba(255,255,255,.85); }
.ehero__cta { margin: 0; }

/* Historia + timeline */
.historia-lead { text-align: center; color: var(--color-primary); font-size: 1.08rem; max-width: 1320px; margin: -1rem auto 3.5rem; }
.timeline {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem;
    position: relative;
}
.timeline::before {
    content: ""; position: absolute; left: 0; right: 0; top: 2.45rem; height: 2px;
    background: var(--color-border);
}
.timeline__item { position: relative; text-align: center; padding-top: 3.4rem; }
.timeline__year {
    position: absolute; top: 0; left: 0; right: 0;
    color: var(--color-primary); font-weight: 700; font-size: 0.98rem;
}
.timeline__dot {
    position: absolute; top: 2.45rem; left: 50%; transform: translate(-50%, -40%);
    width: 13px; height: 13px; border-radius: 50%; background: var(--color-primary);
}
.timeline__item--hoy .timeline__year { color: #1a1a1a; }
.timeline__item--hoy .timeline__dot { background: #1a1a1a; }
.timeline__title { font-size: 0.98rem; font-weight: 700; color: #333a3f; margin-bottom: 0.5em; }
.timeline__text { font-size: 0.88rem; color: var(--color-muted); margin: 0; }
@media (max-width: 980px) {
    .timeline { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { display: none; }
    .timeline__item { padding-top: 2.2rem; }
    .timeline__dot { display: none; }
}
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* Ramas del grupo (fondo madera oscura) */
.ramas { position: relative; background: #2a2119 no-repeat center / cover; padding-block: 5rem; }
.ramas__overlay { position: absolute; inset: 0; background: rgba(30, 22, 14, .72); }
.ramas .wide { position: relative; }
.section__intro--light { color: rgba(255,255,255,.92); }
.ramas__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(3, 1fr); }
.rama { background: #fff; padding: 2rem; }
.rama--destacada { outline: 2px solid var(--color-primary); }
.rama__badge {
    display: inline-block; background: #e8f3e7; color: #3d8c3a;
    text-transform: uppercase; letter-spacing: .8px; font-size: 0.72rem; font-weight: 700;
    padding: 0.5em 1em; margin-bottom: 1.6rem;
}
.rama__title { font-size: 1.25rem; color: #333; margin-bottom: 0.7em; }
.rama__text { color: var(--color-muted); font-size: 0.98rem; margin: 0; }
@media (max-width: 980px) { .ramas__grid { grid-template-columns: 1fr; } }

/* Diferencias (4 tarjetas con borde fino) */
.difs { display: grid; gap: 2rem 4rem; grid-template-columns: repeat(2, 1fr); }
.dif { border: 1px solid var(--color-border); padding: 1.8rem; }
.dif__badge {
    display: inline-block; background: #e8f3e7; color: #3d8c3a;
    font-size: 0.82rem; font-weight: 600; padding: 0.45em 1em; margin-bottom: 1.4rem;
}
.dif__title { font-size: 1.1rem; color: #333a3f; margin-bottom: 0.5em; }
.dif__text { color: var(--color-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) { .difs { grid-template-columns: 1fr; } }

/* Clientes y sectores */
.clientes { background: #f0efe6; }
.clientes__grid { display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; align-items: start; }
.clientes__text { color: var(--color-muted); font-size: 1.02rem; }
.clientes__text img { margin-top: 1.5rem; width: 100%; }
.clientes__panel { background: var(--color-forest); color: #fff; padding: 2.2rem 2rem; margin-bottom: 2rem; }
.clientes__panel-title { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; color: #9fce9c; margin-bottom: 1.6rem; }
.clientes__panel ul { list-style: none; padding: 0; margin: 0; }
.clientes__panel li { padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.clientes__panel li:last-child { border-bottom: 0; }
.clientes__proy { display: block; font-weight: 700; }
.clientes__sub { display: block; color: #9fce9c; font-size: 0.9rem; margin-top: 0.2rem; }
.btn--light { background: #fff; color: var(--color-text); }
.btn--light:hover { background: var(--color-primary); color: #fff; }
@media (max-width: 900px) { .clientes__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Logos sueltos del slider de fabricantes */
.logos--plain { justify-content: space-between; align-items: center; gap: 2rem 3rem; padding-inline: 1rem; }
.logos--plain img { max-height: 88px; max-width: 190px; width: auto; object-fit: contain; }

/* CTA final */
.ecta { position: relative; color: #fff; text-align: center; background: #333 no-repeat center / cover; padding-block: 6.5rem; }
.ecta__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.ecta__inner { position: relative; }
.ecta__title { color: #fff; text-transform: uppercase; font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.ecta__lead { max-width: 900px; margin: 0 auto 2.2rem; font-size: 1.05rem; color: rgba(255,255,255,.92); }
.ecta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 0; }

/* ===================== PÁGINA DE CATEGORÍA ===================== */
.cat-title {
    text-transform: uppercase; color: var(--color-heading);
    font-weight: 300; font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: 1px;
    margin: 1.5rem 0 2.5rem;
}
/* Rejilla uniforme de 3 columnas: la tarjeta es la imagen a cover con altura fija */
.cgrid .bgrid { columns: auto; column-gap: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cgrid .bcard { height: 275px; margin-bottom: 0; }
.cgrid .bcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) { .cgrid .bgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cgrid .bgrid { grid-template-columns: 1fr; } }

/* ======================= DETALLE DE POST ======================= */
.post-banner { background: var(--color-forest); padding: 4.5rem 1.25rem; }
.post-banner__title {
    color: #fff; text-transform: uppercase; text-align: center;
    font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.35;
    max-width: 1250px; margin: 0 auto;
}

/* Migas de pan */
.crumbs { margin-bottom: 1.6rem; color: var(--color-muted); }
.crumbs a { color: var(--color-primary); }
.crumbs a:first-child { color: var(--color-muted); text-decoration: underline; }
.crumbs a:hover { color: var(--color-primary-dark); }
.crumbs__current { color: var(--color-muted); }

/* Cuerpo del artículo */
.post-body__image { width: 100%; margin-bottom: 2rem; }
.post-body { color: #52526b; font-size: 1.05rem; }
.post-body p, .post-body ul, .post-body ol { margin-bottom: 1.4em; }
.post-body strong { color: #3c3c50; }
.post-body h2 {
    text-transform: uppercase; color: var(--color-heading); font-weight: 500;
    font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: .5px;
    margin: 1.6em 0 0.8em;
}
.post-body h3 { color: var(--color-heading); font-weight: 600; font-size: 1.25rem; margin: 1.4em 0 0.6em; }
.post-body ul li { margin-bottom: 0.6em; }
.post-body a { color: var(--color-primary); }
.post-body img { margin-block: 1.5rem; }

/* Bloque de contacto al final del artículo */
.post-contact { background: var(--color-bg-alt); padding: 2.5rem; margin-top: 3.5rem; }

@media (max-width: 980px) {
    .blog-l { grid-template-columns: 1fr; }
    .bgrid { columns: 2 240px; }
}
@media (max-width: 560px) { .bgrid { columns: 1; } }

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); margin-block: 1.5rem; }
.card { border: 1px solid var(--color-border); overflow: hidden; background: var(--color-bg); }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 1rem; }
.card__title { font-size: 1.15rem; margin: 0 0 0.3em; }
.card__title a { color: #333; }
.card__title a:hover { color: var(--color-primary); }
.card__date { display: block; font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.5em; }
.card__excerpt { color: var(--color-muted); margin: 0; }

.post__date { color: var(--color-muted); }
.post__categories { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin-block: 0.5em 0; flex-wrap: wrap; }
.post__categories a { display: inline-block; padding: 0.1em 0.7em; border-radius: 999px; background: var(--color-bg-alt); font-size: 0.85rem; }
.post__image { margin-block: 1rem; }
.post__content { max-width: 46rem; }

.pagination ul { display: flex; gap: 0.4rem; list-style: none; padding: 0; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; min-width: 2.2em; text-align: center; padding: 0.3em 0.6em; border: 1px solid var(--color-border); }
.pagination span[aria-current="page"] { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination__gap { align-self: end; }

.search-form { display: flex; gap: 0.4rem; }
.search-form input[type="search"] { padding: 0.35em 0.6em; border: 1px solid var(--color-border); }
.search-form button { padding: 0.35em 0.8em; border: 0; background: var(--color-primary); color: #fff; cursor: pointer; }

/* Formulario de la página /contacto (con labels) */
.contact { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr; align-items: start; }
@media (max-width: 720px) { .contact { grid-template-columns: 1fr; } }
.contact-form label { font-weight: 500; }
.contact-form__privacy { display: flex; gap: 0.5rem; align-items: baseline; }
.contact-info { background: var(--color-bg-alt); padding: 1.2rem; }
.legal { max-width: 46rem; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--color-dark); color: #cfcfcf; font-size: 0.98rem; }
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.site-footer__cols {
    display: grid; gap: 3rem; grid-template-columns: 1.1fr 1fr 1fr 1fr;
    padding-block: 4rem 3rem;
}
.site-footer__brand { margin-bottom: 1.4rem; }
.site-footer__brand img { height: 20px; width: auto; }
.site-footer__title { color: #fff; font-size: 1.12rem; font-weight: 600; margin-bottom: 1.3rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer__contact { font-style: normal; }
.site-footer__contact p { margin: 0 0 0.7rem; }
.site-footer__wa { display: flex; gap: 0.5rem; align-items: center; }
.site-footer__social { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; gap: 0.7rem; }
.site-footer__social a:hover svg circle { fill: var(--color-primary); }
.site-footer__grupo img { width: 170px; height: auto; }

.site-footer__bottom { background: #111; padding-block: 1.1rem 1.6rem; }
.site-footer__bottom-row {
    display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
    align-items: center; padding-block: 0.4rem;
}
.site-footer__bottom-row p { margin: 0; color: #fff; font-size: 0.95rem; }
.site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-footer__legal a, .site-footer__legal .linklike { color: #fff; font-size: 0.95rem; text-decoration: none; }
.site-footer__legal a:hover { text-decoration: underline; }
.site-footer__eu {
    display: flex; gap: 1.6rem; align-items: center; margin-top: 1rem;
}
.site-footer__eu img { flex-shrink: 0; }
.site-footer__eu p { margin: 0; font-size: 0.85rem; color: #d5d5d5; line-height: 1.7; }

/* Kit Digital */
.kit-digital { background: #fff; text-align: center; padding: 2.5rem 1.25rem 2.8rem; }
.kit-digital__text {
    text-transform: uppercase; color: #9a9a9a; font-size: 0.78rem; letter-spacing: 1px;
    margin-bottom: 1.6rem;
}
.kit-digital img { display: inline-block; max-width: min(880px, 100%); height: auto; }

@media (max-width: 980px) {
    .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .site-footer__cols { grid-template-columns: 1fr; gap: 2.2rem; }
    .site-footer__bottom-row { justify-content: center; text-align: center; }
}

/* ================= Banner de cookies (markup de Hermes) ================= */
.cookie-banner {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 100;
    background: var(--color-dark); color: #fff;
    padding: 1rem; display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap;
}
.cookie-banner__text { margin: 0; max-width: 40rem; }
.cookie-banner__text a { color: #fff; }
.cookie-banner__actions { display: flex; gap: 0.6rem; }
.cookie-banner__btn { padding: 0.45em 1.2em; border-radius: var(--radius); border: 1px solid #fff; cursor: pointer; background: none; color: #fff; }
.cookie-banner__btn--accept { background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-weight: 600; }
.cookie-banner__btn:focus-visible { outline-color: #fff; }

/* ================= Tabla de zonas de cobertura (fichas de sección) ================= */
.table-wrap { overflow-x: auto; }
.table-zonas { width: 100%; border-collapse: collapse; background: #fff; }
.table-zonas th, .table-zonas td { text-align: left; padding: 0.9rem 1.2rem; border-bottom: 1px solid #ececec; vertical-align: top; }
.table-zonas th { color: var(--color-heading); text-transform: uppercase; font-size: 0.9rem; background: var(--color-bg-alt); }
.table-zonas td:first-child { font-weight: 600; color: var(--color-heading); white-space: nowrap; }

/* Tabla genérica de contenido (tipos de producto, comparativas) */
.tabla { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.95rem; line-height: 1.5; }
.tabla th, .tabla td { text-align: left; padding: 0.9rem 1rem; vertical-align: top; }
.tabla thead th { color: var(--color-heading); border-bottom: 2px solid #d9d9d9; }
.tabla tbody tr { border-bottom: 1px solid var(--color-border); }
.tabla td:first-child { font-weight: 700; color: var(--color-heading); }

/* Rejilla de perks sin borde (título en mayúsculas) — variante de .difs */
.difs--plain .dif { border: 0; padding: 0.4rem 0; }
.difs--plain .dif__title { text-transform: uppercase; }
