/* =========================================================
   Páginas interiores: Categoría (listado) y Producto (detalle)
   ========================================================= */

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 62px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--c-green-700); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: ""; width: 1px; height: 16px; background: #555; margin: 0 14px; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { font-weight: 700; }

/* ---------- Título de página ---------- */
.page-title { margin-top: 78px; }
.page-title .bar { display: block; width: 56px; height: 6px; background: var(--c-lime-500); margin-bottom: 6px; }
.page-title h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--c-green-700); }
.page-title__lead { margin-top: 6px; font-size: 16px; line-height: 1.12; color: #444; }

/* ---------- Layout listado: filtro + resultados ---------- */
.listing { display: grid; grid-template-columns: 316px 1fr; gap: 33px; margin-top: 56px; padding-bottom: 400px; align-items: start; }

.filter { border: 1px solid #bdbdbd; border-radius: 6px; }
.filter__head { padding: 30px 30px 14px; border-bottom: 1px solid #c4c4c4; }
.filter__head .accent { margin-bottom: 4px; }
.filter__head h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--c-green-700); }
.filter__list { padding: 26px 30px 30px; display: grid; gap: 21px; }
.check { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #333; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 26px; height: 26px; border: 2.5px solid #111; border-radius: 7px; background: var(--c-white); margin: 0;
  display: grid; place-content: center;
}
.check input:checked { background: var(--c-green-700); border-color: var(--c-green-700); }
.check input:checked::after { content: "✓"; color: var(--c-white); font-size: 16px; line-height: 1; }

.results__head { margin-bottom: 32px; }
.results__head .accent { width: 36px; margin-bottom: 4px; }
.results__head h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--c-green-700); }
.results__count { margin-top: 2px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--c-lime-ink); }

.model-list { display: grid; gap: 20px; max-width: 865px; margin-left: 3px; }
.model-card {
  display: grid; grid-template-columns: 245px 1fr; align-items: center; gap: 6px;
  border: 1px solid #b9b9b9; border-radius: 12px; padding: 8px 40px 8px 23px; min-height: 260px; background: var(--c-white);
  transition: box-shadow .2s;
}
.model-card:hover { box-shadow: var(--shadow-card); }
.model-card__img { width: 245px; height: 245px; object-fit: contain; }
.model-card__body { padding-left: 0; }

/* Título de modelo con subrayado corto */
.model-title { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: -0.05em; line-height: 1.1; color: var(--c-lime-ink); padding-bottom: 6px; border-bottom: 1px solid #a7a7a7; min-width: 167px; }
.spec-label { margin-top: 12px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #444; }
.spec-lines { margin: 6px 0 16px; font-size: 16px; line-height: 1.12; color: #555; }

/* Botones extra de las páginas interiores */
.btn--soft { background: var(--c-lime-100); color: var(--c-green-700); min-width: 242px; }
.btn--soft:hover { background: var(--c-lime-500); color: var(--c-green-900); }
.btn--dark { background: var(--c-green-700); color: var(--c-white); min-width: 292px; }
.btn--dark::after { color: var(--c-lime-500); }
.btn--dark:hover { background: var(--c-green-900); }
.btn--ghost-dark { border-color: var(--c-green-700); color: var(--c-green-700); min-width: 292px; background: transparent; }
.btn--ghost-dark:hover { background: var(--c-green-700); color: var(--c-white); }
.btn--ghost-lime { border-color: var(--c-lime-500); color: var(--c-green-700); min-width: 292px; background: transparent; }
.btn--ghost-lime:hover { background: var(--c-lime-500); }
.btn--pdf { gap: 12px; }
.btn--pdf::after { content: none; }
.btn--pdf img { width: 20px; height: 24px; object-fit: contain; }
.btn--pdf-solid { background: var(--c-lime-500); color: var(--c-green-700); min-width: 292px; }
.btn--pdf-solid:hover { background: var(--c-green-700); color: var(--c-white); }

/* ---------- Detalle de producto ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin-top: 78px; align-items: start; }
.product-hero__media { display: grid; place-items: center; }
.product-hero__media img { width: 100%; max-width: 600px; height: auto; }
.product-hero__info { padding-top: 0; }
.product-hero__info .bar { display: block; width: 56px; height: 6px; background: var(--c-lime-500); margin-bottom: 6px; }
.product-hero__info h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.0; color: var(--c-green-700); }
.product-hero__tagline { margin: 8px 0 28px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; color: #444; max-width: 290px; }
.product-hero__cta { display: grid; gap: 11px; justify-items: start; }
.benefits { margin-top: 44px; display: grid; gap: 14px; }
.benefit { display: grid; grid-template-columns: 52px 1fr; align-items: center; font-size: 16px; line-height: 1.0; color: #555; }
.benefit img { width: 40px; height: 40px; object-fit: contain; }

.spec-cards { display: grid; gap: 25px; margin-top: 74px; padding-bottom: 130px; }
.spec-card {
  display: grid; grid-template-columns: 320px 1fr 340px; gap: 0; align-items: center;
  border: 3px solid #dcdcdc; border-radius: 30px; padding: 40px 40px 40px 56px; min-height: 390px; background: var(--c-white);
  max-width: 1232px; margin-inline: auto; width: 100%;
}
.spec-card__img { width: 250px; height: auto; object-fit: contain; }
.spec-card__body { align-self: start; }
.spec-group { margin-top: 22px; }
.spec-group:first-of-type { margin-top: 14px; }
.spec-group h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: #444; }
.spec-group p { margin-top: 4px; font-size: 16px; line-height: 1.12; color: #555; max-width: 360px; }
.spec-card__downloads { display: grid; gap: 11px; justify-items: start; align-self: center; }

/* ---------- Filtro por grupos ---------- */
.filter__group { display: grid; gap: 21px; }
.filter__group + .filter__group { margin-top: 28px; padding-top: 24px; border-top: 1px solid #c4c4c4; }
.filter__group-title { font-size: 16px; font-weight: 700; color: var(--c-green-700); }
.filter__empty { font-size: 14px; color: var(--c-text-muted); }
.model-card[hidden] { display: none; }

/* ---------- Galería, tablas y documentos extra (producto genérico) ---------- */
.product-hero__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; justify-content: center; }
.product-hero__thumbs button { padding: 0; border: 2px solid #ddd; border-radius: 8px; background: var(--c-white); overflow: hidden; width: 76px; height: 76px; }
.product-hero__thumbs button:hover, .product-hero__thumbs button[aria-current="true"] { border-color: var(--c-lime-500); }
.product-hero__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-card__downloads details.more { margin-top: 4px; font-size: 14px; color: var(--c-green-700); max-width: 292px; }
.spec-card__downloads details.more summary { cursor: pointer; font-weight: 600; }
.spec-card__downloads details.more ul { margin-top: 8px; display: grid; gap: 6px; }
.spec-card__downloads details.more a { text-decoration: underline; }
.spec-tables { padding-bottom: 130px; margin-top: -60px; }
.spec-tables__title { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; color: var(--c-green-700); margin-bottom: 16px; }
.spec-table-wrap { overflow-x: auto; margin-bottom: 24px; border: 1px solid #ddd; border-radius: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th { background: var(--c-surface); color: var(--c-green-700); text-align: left; font-weight: 700; }
.spec-table th, .spec-table td { padding: 10px 14px; border-bottom: 1px solid #e6e6e6; white-space: nowrap; }
.spec-table tr:last-child td { border-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .listing { grid-template-columns: 1fr; padding-bottom: 120px; }
  .model-list { margin-left: 0; max-width: none; }
  .product-hero { grid-template-columns: 1fr; }
  .spec-card { grid-template-columns: 220px 1fr; padding: 32px; }
  .spec-card__downloads { grid-column: 1 / -1; margin-top: 24px; }
}
@media (max-width: 700px) {
  .page-title h1, .product-hero__info h1 { font-size: 34px; }
  .model-card { grid-template-columns: 1fr; padding: 20px; justify-items: center; text-align: left; }
  .model-card__body { width: 100%; }
  .spec-card { grid-template-columns: 1fr; padding: 24px; border-radius: 20px; }
  .spec-card__img { margin-inline: auto; }
  .product-hero__cta .btn, .spec-card__downloads .btn { min-width: 0; width: 100%; }
  .btn--soft, .btn--dark { min-width: 0; }
}

/* ---------- Sector: banner + rejilla de líneas (reutiliza .cat-card del Home) ---------- */
/* Banner de sector: franja de marca sin foto.
   Los banners del sitio original traen el nombre quemado en la imagen y no hay
   versiones limpias, así que el rótulo va como texto real sobre el degradado. */
.sector-banner {
  position: relative; display: flex; align-items: center; min-height: 230px;
  background:
    radial-gradient(120% 180% at 12% 50%, rgba(136, 189, 35, .20) 0%, rgba(136, 189, 35, 0) 58%),
    linear-gradient(100deg, var(--c-green-900) 0%, #123a16 42%, var(--c-green-700) 100%);
}
/* trama diagonal sutil, para que la franja no quede plana */
.sector-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .30;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, .05) 0 2px, rgba(255, 255, 255, 0) 2px 20px);
}
.sector-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--c-lime-500) 0%, var(--c-green-700) 100%);
}
.sector-banner .container { position: relative; z-index: 1; }
.sector-banner__kicker {
  display: block; font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-lime-500); margin-bottom: 8px;
}
.sector-banner__name {
  font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--c-white); text-transform: uppercase;
}
@media (max-width: 700px) { .sector-banner { min-height: 165px; } }

.sector-banner + .breadcrumb { padding-top: 26px; }
.page-title--sector { margin-top: 30px; }
.sector-lines { margin-top: 58px; padding-bottom: 130px; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* La tarjeta del Home es de altura fija y títulos de 1 línea; aquí los nombres de línea
   son más largos, así que la altura se iguala por fila y el texto se recorta. */
.sector-grid .cat-card { width: auto; min-width: 0; flex: none; scroll-snap-align: none; height: auto; min-height: 320px; }
.sector-grid .cat-card h3 {
  font-size: 20px; line-height: 1.15; padding-inline: 16px; min-height: 2.3em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Las descripciones salen de textos de longitud dispar: se fija el alto a 3 líneas
   para que los títulos, los iconos y los CTA queden alineados en toda la rejilla. */
.sector-grid .cat-card p {
  font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px;
  min-height: calc(3 * 1.25em);
}
.sector-grid .cat-card__icon { margin-top: 6px; }

@media (max-width: 1100px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .sector-grid { grid-template-columns: repeat(2, 1fr); } }

/* Móvil: se mantienen 2 columnas (una sola deja la rejilla larguísima: hasta 20 líneas
   por sector), reduciendo tipografía, icono y espaciados para que la tarjeta quepa. */
@media (max-width: 560px) {
  .sector-lines { margin-top: 36px; padding-bottom: 80px; }
  .sector-grid { gap: 12px; }
  .sector-grid .cat-card { min-height: 0; border-radius: 14px; }
  .sector-grid .cat-card .accent { margin-top: 16px; width: 28px; height: 4px; }
  /* a 2 columnas los nombres largos ("Convertidores de Frecuencia y Arrancadores")
     necesitan 3 líneas para no quedar cortados */
  .sector-grid .cat-card h3 {
    font-size: 15px; padding-inline: 10px; -webkit-line-clamp: 3; min-height: 3.45em;
  }
  .sector-grid .cat-card__icon { width: 62px; height: 52px; margin: 6px 0 2px; }
  .sector-grid .cat-card p {
    font-size: 12px; line-height: 1.3; padding-inline: 10px;
    min-height: calc(3 * 1.3em); margin-bottom: 12px;
  }
  .sector-grid .cat-card__cta { height: 42px; font-size: 13px; }
}
@media (max-width: 360px) {
  .sector-grid { gap: 8px; }
  .sector-grid .cat-card h3 { font-size: 14px; }
  .sector-grid .cat-card p { font-size: 12px; }
}


/* =========================================================
   QUIÉNES SOMOS (y banners con foto de las páginas institucionales)
   El diseño no existe en el Figma: se compone con los tokens y componentes de la portada.
   ========================================================= */
/* Banner con foto. El degradado va por CSS con paradas intermedias para que no se note corte
   entre la foto y el verde; el texto queda siempre sobre la zona oscura. */
.page-hero { position: relative; display: flex; align-items: center; min-height: 400px; overflow: hidden; background: var(--c-green-900); color: var(--c-white); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(0, 43, 9, .96) 0%, rgba(0, 43, 9, .90) 24%, rgba(0, 43, 9, .72) 40%,
    rgba(0, 43, 9, .40) 58%, rgba(0, 43, 9, .14) 76%, rgba(0, 43, 9, 0) 100%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2; background: linear-gradient(90deg, var(--c-lime-500) 0%, var(--c-green-700) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding-block: 72px; }
.page-hero__kicker { display: block; font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-lime-500); margin-bottom: 8px; }
.page-hero__title { font-size: clamp(38px, 4.8vw, 66px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-transform: uppercase; }
.page-hero__lead { margin-top: 14px; font-size: 24px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; max-width: 460px; }
.page-hero + .breadcrumb { padding-top: 26px; }

/* aparición al hacer scroll: sólo si hay JavaScript (la clase "js" la pone la cabecera) */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

.qs-intro { margin-top: 56px; }
.qs-intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.qs-intro__text p { font-size: 18px; line-height: 1.4; color: #444; }
.qs-intro__text p + p { margin-top: 16px; }
.qs-intro__text .section-head { margin-bottom: 24px; }
.qs-intro__text .section-head__sub { margin-top: 8px; font-size: 20px; line-height: 1.3; color: var(--c-text); }
.qs-intro__text strong { color: var(--c-green-700); }
.qs-intro__photo { margin: 0; }
.qs-intro__photo img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.qs-intro__photo figcaption { margin-top: 10px; font-size: 14px; color: var(--c-text-muted); }

.qs-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.qs-goal { position: relative; background: var(--c-surface); border-radius: var(--radius-card); padding: 26px 28px 40px; overflow: hidden; }
.qs-goal::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--c-lime-500); }
.qs-goal:nth-child(2)::after { background: var(--c-green-700); }
.qs-goal__num { display: block; font-size: 46px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--c-lime-ink); margin-bottom: 10px; }
.qs-goal p { font-size: 17px; line-height: 1.35; color: #444; }

.qs-stats-band { background: var(--c-green-900); margin-top: 80px; padding: 54px 0; color: var(--c-white); }
.qs-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.qs-stat { padding-inline: 10px; }
.qs-stat + .qs-stat { border-left: 1px solid rgba(255, 255, 255, .18); }
.qs-stat__num { display: block; font-size: 54px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--c-lime-500); font-variant-numeric: tabular-nums; }
.qs-stat__label { display: block; margin-top: 10px; font-size: 15px; line-height: 1.2; opacity: .92; }

.qs-tabs-section { margin-top: 90px; }
.qs-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid #e1e1e1; }
.qs-tabs__list [role="tab"] { position: relative; padding: 14px 26px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--c-text-muted); background: none; border: 0; border-radius: 8px 8px 0 0; }
.qs-tabs__list [role="tab"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; background: var(--c-lime-500); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.qs-tabs__list [role="tab"]:hover { color: var(--c-green-700); }
.qs-tabs__list [role="tab"][aria-selected="true"] { color: var(--c-green-700); }
.qs-tabs__list [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.qs-tabs__list [role="tab"]:focus-visible { outline: 3px solid var(--c-lime-500); outline-offset: -3px; }
.qs-tabs__panel { padding-top: 34px; }
.qs-tabs__panel:not([hidden]) { animation: qs-fade .45s ease; }
@keyframes qs-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qs-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
.qs-split--text { grid-template-columns: 1fr 1fr; }
.qs-split h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--c-green-700); }
.qs-split p { margin-top: 14px; font-size: 17px; line-height: 1.4; color: #444; }
.qs-split strong { color: var(--c-green-700); }
.qs-split .btn { margin-top: 22px; }
.qs-split__media { display: grid; gap: 14px; }
.qs-split__media img { width: 100%; border-radius: 16px; }
.qs-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.qs-chips li { padding: 8px 16px; font-size: 15px; font-weight: 600; color: var(--c-green-700); background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-pill); transition: background-color .2s; }
.qs-chips li:hover { background: var(--c-lime-100); }

.qs-timeline { margin-top: 90px; }
.qs-hito { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); padding: 26px 22px 24px; }
.qs-hito .accent { margin-bottom: 12px; }
.qs-hito__year { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--c-lime-500); }
.qs-hito h3 { margin-top: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: var(--c-green-700); }
.qs-hito p { margin: 8px 0 16px; font-size: 15.5px; line-height: 1.3; color: var(--c-text-muted); }
.qs-hito .link-more, .qs-hito__nolink { margin-top: auto; }
.qs-hito__nolink { display: block; height: 20px; }

.qs-certs { margin-top: 90px; }
.qs-certs__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.qs-cert { display: flex; align-items: center; gap: 22px; background: var(--c-surface); border-radius: var(--radius-card); padding: 28px; }
.qs-cert img { flex: none; width: 112px; height: auto; background: var(--c-white); border-radius: 12px; padding: 8px; }
.qs-cert--wide { flex-direction: column; align-items: flex-start; }
.qs-cert--wide img { width: 100%; max-width: 640px; }
.qs-cert h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.04em; color: var(--c-green-700); }
.qs-cert p { margin-top: 4px; font-size: 16px; line-height: 1.3; color: var(--c-text-muted); }

.qs-group { margin-top: 90px; }
.qs-group__text { max-width: 820px; font-size: 17px; line-height: 1.4; color: #444; }
.qs-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; margin-top: 30px; }
.qs-logos img { height: 56px; width: auto; max-width: 220px; object-fit: contain; }

.qs-next { margin-top: 90px; padding-bottom: 130px; }
.qs-next__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qs-next__card { position: relative; display: block; background: var(--c-surface); border-radius: var(--radius-card); padding: 30px 28px 40px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.qs-next__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--c-lime-500); }
.qs-next__card:hover, .qs-next__card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.qs-next__card h3 { margin-top: 8px; font-size: 24px; font-weight: 700; letter-spacing: -0.04em; color: var(--c-green-700); }
.qs-next__card p { margin: 6px 0 14px; font-size: 16px; line-height: 1.25; color: var(--c-text-muted); }
.qs-next__card--dark { background: var(--c-green-700); }
.qs-next__card--dark h3 { color: var(--c-white); }
.qs-next__card--dark p { color: rgba(255, 255, 255, .85); }
.qs-next__card--dark .link-more { color: var(--c-lime-500); }

@media (max-width: 1000px) {
  .qs-intro__grid, .qs-split, .qs-split--text, .qs-certs__grid { grid-template-columns: 1fr; gap: 28px; }
  .qs-goals, .qs-next__grid { grid-template-columns: 1fr; }
  .qs-stats { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .qs-stat + .qs-stat { border-left: 0; }
}
@media (max-width: 700px) {
  .page-hero { min-height: 300px; }
  .page-hero::before { background: linear-gradient(180deg, rgba(0, 43, 9, .40) 0%, rgba(0, 43, 9, .82) 100%); }
  .page-hero__inner { padding-block: 48px; }
  .page-hero__lead { font-size: 20px; }
  .qs-stats { grid-template-columns: 1fr 1fr; }
  .qs-stat:last-child { grid-column: 1 / -1; }
  .qs-stat__num { font-size: 44px; }
  .qs-tabs__list [role="tab"] { flex: 1 1 100%; text-align: left; }
  .qs-cert { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .qs-tabs__panel:not([hidden]) { animation: none; }
  .qs-next__card { transition: none; }
}

/* =========================================================
   SERVICIOS (sv-*). Reutiliza page-hero, qs-stats, qs-split, qs-chips y qs-next.
   ========================================================= */
.page-hero__img--wide { object-position: 60% 50%; }
.qs-stats--3 { grid-template-columns: repeat(3, 1fr); }

.sv-intro { margin-top: 56px; }
.sv-intro__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.sv-intro__head .section-head { flex: 1; }
.sv-intro__logo { flex: none; width: 210px; height: auto; margin-bottom: 4px; }
.sv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.sv-card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--radius-card); padding: 30px 28px 44px; overflow: hidden; scroll-margin-top: 110px; }
.sv-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--c-lime-500); }
.sv-card:nth-child(2) { background: var(--c-green-700); color: var(--c-white); }
.sv-card:nth-child(2)::after { background: var(--c-lime-500); }
.sv-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-lime-500); color: var(--c-green-700); margin-bottom: 16px; }
.sv-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: var(--c-green-700); }
.sv-card p { margin: 10px 0 20px; font-size: 16.5px; line-height: 1.38; color: #444; }
.sv-card .link-more { margin-top: auto; }
.sv-card:nth-child(2) h3 { color: var(--c-white); }
.sv-card:nth-child(2) p { color: rgba(255, 255, 255, .88); }
.sv-card:nth-child(2) .link-more { color: var(--c-lime-500); }

.sv-stats { margin-top: 80px; }

.sv-block { margin-top: 90px; scroll-margin-top: 90px; }
.sv-split { align-items: center; }
.sv-media { position: relative; padding-bottom: 54px; }
.sv-media > img:first-child { width: 100%; border-radius: 16px; }
.sv-media__product { position: absolute; right: -10px; bottom: 0; width: 44%; background: var(--c-white); border-radius: 16px; border: 6px solid var(--c-white); box-shadow: var(--shadow-card); }

.sv-met { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.sv-met__photo { margin: 0; }
.sv-met__photo img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.sv-met__photo figcaption { margin-top: 10px; font-size: 14px; color: var(--c-text-muted); }
.sv-steps { display: grid; gap: 14px; counter-reset: none; }
.sv-step { display: flex; gap: 20px; align-items: flex-start; background: var(--c-surface); border-radius: 16px; padding: 20px 24px; transition: transform .25s ease, box-shadow .25s ease; }
.sv-step:hover { transform: translateX(4px); box-shadow: var(--shadow-card); }
.sv-step__num { flex: none; font-size: 38px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--c-lime-ink); min-width: 52px; }
.sv-step h4 { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--c-green-700); }
.sv-step p { margin-top: 6px; font-size: 15.5px; line-height: 1.35; color: #444; }

.sv-import { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; background: var(--c-green-900); color: var(--c-white); border-radius: var(--radius-card); padding: 48px 52px; }
.sv-import h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.sv-import p { margin: 14px 0 24px; font-size: 17px; line-height: 1.4; opacity: .92; }
.sv-import__origins { display: grid; gap: 12px; }
.sv-import__origins li { padding: 18px 24px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--c-lime-500); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; transition: background-color .2s; }
.sv-import__origins li:hover { background: rgba(255, 255, 255, .08); }

.sv-download { display: flex; align-items: center; gap: 24px; background: var(--c-surface); border-radius: var(--radius-card); padding: 28px 32px; }
.sv-download__icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--c-lime-500); color: var(--c-green-700); }
.sv-download__icon .sv-icon { width: 32px; height: 32px; }
.sv-download__text { flex: 1; }
.sv-download h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.04em; color: var(--c-green-700); }
.sv-download p { margin-top: 4px; font-size: 16px; color: var(--c-text-muted); }

@media (max-width: 1000px) {
  .sv-cards, .sv-met, .sv-import { grid-template-columns: 1fr; }
  .sv-met { gap: 28px; }
  .sv-import { padding: 36px 28px; }
  .sv-import__origins { grid-template-columns: repeat(3, 1fr); }
  .sv-intro__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 700px) {
  .qs-stats--3 { grid-template-columns: 1fr; }
  .sv-media__product { position: static; width: 60%; margin: 14px 0 0 auto; }
  .sv-media { padding-bottom: 0; }
  .sv-import__origins { grid-template-columns: 1fr; }
  .sv-import__origins li { font-size: 19px; padding: 14px 20px; }
  .sv-download { flex-direction: column; align-items: flex-start; }
  .sv-step { padding: 16px 18px; gap: 14px; }
  .sv-step__num { font-size: 30px; min-width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-step { transition: none; }
}

/* =========================================================
   SOLUCIONES INTEGRALES (sp-*). Reutiliza page-hero, qs-intro, qs-certs, qs-next y sv-download.
   ========================================================= */
.sp-path { background: var(--c-surface); margin-top: 90px; padding: 64px 0 72px; }
.sp-flow { position: relative; margin-top: 48px; }
.sp-flow__line { position: absolute; top: 45px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: var(--c-lime-500); transform-origin: left center; }
html.js .sp-flow__line { transform: scaleX(0); transition: transform 1.5s cubic-bezier(.4, 0, .2, 1) .25s; }
html.js .sp-flow.is-in .sp-flow__line { transform: scaleX(1); }
.sp-flow__list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto auto auto; column-gap: 24px; }
/* cada fase ocupa 4 filas compartidas (subgrid): iconos, números, listas y etiquetas quedan alineados entre fases */
.sp-phase { display: grid; grid-row: span 4; grid-template-rows: subgrid; justify-items: center; align-content: start; text-align: center; row-gap: 0; }
.sp-phase__icon { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--c-white); border: 3px solid var(--c-lime-500); box-shadow: var(--shadow-card); transition: transform .3s ease; }
.sp-phase:hover .sp-phase__icon { transform: scale(1.07); }
.sp-phase__icon img { width: 56px; height: auto; }
.sp-phase__num { margin-top: 16px; font-size: 40px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--c-lime-ink); }
.sp-phase__list { margin-top: 12px; display: grid; align-content: start; gap: 4px; }
.sp-phase__list li { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--c-green-700); }
.sp-phase__dept { display: grid; place-items: center; align-self: start; width: min(100%, 290px); min-height: 68px; margin-top: 16px; padding: 10px 18px; font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--c-white); background: var(--c-green-700); border-radius: 14px; }

.sp-obra { margin-top: 90px; }
.sp-obra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.sp-obra__item { margin: 0; }
.sp-obra__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.sp-obra__item figcaption { margin-top: 12px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--c-green-700); }

@media (max-width: 1000px) {
  .sp-flow__line { display: none; }
  .sp-flow__list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .sp-phase { margin-bottom: 40px; }
  .sp-obra__grid { grid-template-columns: 1fr; }
  .sp-obra__item img { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
  .sp-flow__list { grid-template-columns: 1fr; }
  .sp-path { padding: 48px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .sp-flow__line { transform: none; transition: none; }
  .sp-phase__icon { transition: none; }
}

/* =========================================================
   BANNER DE PÁGINA — PLANTILLA «split» (page-hero--split)
   Mitad izquierda: columna verde con degradado donde vive todo el texto. Mitad derecha: foto.
   La foto se extiende por debajo de la columna y UN solo degradado con transición suave
   (curva tipo smoothstep) cruza la unión, así no hay corte. Estructura:
     section.page-hero.page-hero--split
       div.page-hero__panel > div.page-hero__inner (kicker, h1, lead)
       div.page-hero__media > img
   ========================================================= */
.page-hero--split {
  --hero-edge: 28, 74, 26; display: flex; align-items: stretch; min-height: 420px;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(136, 189, 35, .14) 0%, rgba(136, 189, 35, 0) 60%),
    linear-gradient(90deg, #002b09 0%, rgb(var(--hero-edge)) 30%, rgb(var(--hero-edge)) 100%);
}
.page-hero--split::before { display: none; }
.page-hero--split .page-hero__panel {
  position: relative; z-index: 3; display: flex; align-items: center; width: 50%;
  padding: 0 clamp(24px, 4vw, 64px) 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.page-hero--split .page-hero__inner { padding-block: 64px; width: 100%; }
.page-hero--split .page-hero__title { font-size: clamp(34px, 4vw, 60px); overflow-wrap: break-word; }
.page-hero--split .page-hero__lead { max-width: 440px; }
.page-hero--split .page-hero__media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(70%, 1180px); overflow: hidden; }
.page-hero--split .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 20% 50%); }
.page-hero--split .page-hero__media::before {   /* degradado dentro de la foto: nace del color de la columna y se disuelve (curva suave) */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 54%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgb(var(--hero-edge)) 0%, rgba(var(--hero-edge), .97) 6%, rgba(var(--hero-edge), .90) 12%, rgba(var(--hero-edge), .79) 18%,
    rgba(var(--hero-edge), .65) 25%, rgba(var(--hero-edge), .50) 32%, rgba(var(--hero-edge), .37) 40%,
    rgba(var(--hero-edge), .25) 48%, rgba(var(--hero-edge), .15) 57%, rgba(var(--hero-edge), .08) 67%,
    rgba(var(--hero-edge), .03) 80%, rgba(var(--hero-edge), 0) 100%);
}
.page-hero--split .page-hero__media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; z-index: 2; background: rgb(var(--hero-edge)); }  /* tapa el subpíxel de la unión */
@media (max-width: 900px) {
  .page-hero--split { display: block; min-height: 0; background: rgb(var(--hero-edge)); }
  .page-hero--split::before { inset: 0 0 auto 0; height: 100%; background: linear-gradient(180deg, #002b09 0%, rgb(var(--hero-edge)) 100%); }
  .page-hero--split .page-hero__panel { width: auto; padding: 0 var(--gutter); background: linear-gradient(180deg, #002b09 0%, rgb(var(--hero-edge)) 100%); }
  .page-hero--split::before { display: none; }
  .page-hero--split .page-hero__inner { padding-block: 44px 40px; }
  .page-hero--split .page-hero__media { position: relative; width: auto; height: 240px; }
  .page-hero--split .page-hero__media::after { display: none; }
  .page-hero--split .page-hero__media img { object-position: var(--hero-pos-m, 48% 50%); }
  .page-hero--split .page-hero__media::before { inset: 0 0 auto 0; width: auto; height: 40%; background: linear-gradient(180deg, rgb(var(--hero-edge)) 0%, rgba(var(--hero-edge), 0) 100%); }
}

/* =========================================================
   RENTAL POWER (rp-*). Reutiliza page-hero--split, qs-intro, qs-stats, qs-chips, sv-import y qs-next.
   ========================================================= */
.qs-stats--4 { grid-template-columns: repeat(4, 1fr); }
.rp-logo { display: block; width: 210px; height: auto; margin-bottom: 18px; }
.rp-unit { margin: 0; background: var(--c-surface); border-radius: var(--radius-card); padding: 32px 24px 22px; text-align: center; }
.rp-unit img { display: block; width: 100%; max-width: 425px; height: auto; margin: 0 auto; mix-blend-mode: multiply; }
.rp-unit figcaption { margin-top: 12px; font-size: 14px; color: var(--c-text-muted); }

.rp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.rp-feat { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--radius-card); padding: 26px 26px 34px; overflow: hidden; min-height: 168px; transition: transform .25s ease, box-shadow .25s ease; }
.rp-feat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--c-lime-500); }
.rp-feat:nth-child(3n + 2)::after { background: var(--c-green-700); }
.rp-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.rp-feat__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-lime-500); color: var(--c-green-700); margin-bottom: 14px; }
.rp-feat h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: var(--c-green-700); }
.rp-feat p { margin-top: 6px; font-size: 16px; line-height: 1.35; color: #444; }

.rp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.rp-card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); padding: 18px 18px 26px; }
.rp-card__img { display: grid; place-items: center; background: var(--c-surface); border-radius: 14px; padding: 18px; margin-bottom: 18px; min-height: 250px; }
.rp-card__img img { width: 286px; max-width: 100%; height: auto; border-radius: 8px; }
.rp-card h3 { padding-inline: 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; color: var(--c-green-700); }
.rp-card p { padding-inline: 8px; margin-top: 6px; font-size: 16px; color: var(--c-text-muted); }

.rp-apps { margin-top: 26px; }
.rp-apps li { font-size: 17px; padding: 10px 20px; }

.rp-call .sv-import__origins li { padding: 0; }
.rp-contacts a { display: flex; align-items: center; gap: 14px; padding: 18px 24px; color: var(--c-white); }
.rp-contacts a span { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.rp-contacts a .sv-icon { flex: none; color: var(--c-lime-500); }
.rp-contacts a:hover span { color: var(--c-lime-500); }

@media (max-width: 1000px) {
  .qs-stats--4 { grid-template-columns: repeat(2, 1fr); }
  .rp-feats, .rp-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .rp-feats, .rp-cards { grid-template-columns: 1fr; }
  .rp-logo { width: 170px; }
  .rp-contacts a { padding: 14px 18px; }
  .rp-contacts a span { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-feat { transition: none; }
}

/* =========================================================
   EMPLEO (em-*). Reutiliza page-hero--split, section-head, qs-chips, .field y qs-next.
   ========================================================= */
.em-intro { padding-top: 56px; }
.em-intro__text { max-width: 760px; margin-top: 22px; font-size: 18px; line-height: 1.35; color: #333; }
.em-areas { margin-top: 22px; }

.em-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 30px; background: var(--c-surface); border-radius: var(--radius-card); padding: 34px; }
.em-form .field--full { grid-column: 1 / -1; }
.em-form .field { min-width: 0; }
.em-form .field input, .em-form .field select, .em-form .field textarea { border: 1px solid #d8dccf; }
.em-form .field input[type="file"] { height: auto; padding: 10px 14px; background: var(--c-white); }
.em-form .field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--c-lime-500); color: var(--c-green-900); font: inherit; font-weight: 700; cursor: pointer; }
.em-form .field.is-invalid input, .em-form .field.is-invalid select, .em-form .field.is-invalid textarea { border-color: #b3261e; outline: 2px solid rgba(179, 38, 30, .25); }
.em-form .field__err { font-size: 14px; color: #b3261e; }
.em-count { align-self: flex-end; font-size: 13px; color: var(--c-text-muted); }
.em-status { align-self: flex-start; min-height: 1.3em; font-size: 15px; font-weight: 600; color: var(--c-green-700); }
.em-status.is-error { color: #b3261e; }

@media (max-width: 700px) {
  .em-form { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .em-form .field { min-width: 0; }
}

/* =========================================================
   MARCAS (mk-*). Reutiliza page-hero--split, section-head y qs-next.
   ========================================================= */
.mk-wrap { padding-top: 56px; }
.mk-intro { max-width: 760px; margin-top: 22px; font-size: 18px; line-height: 1.35; color: #333; }
.mk-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.mk-brand { position: relative; min-width: 0; aspect-ratio: 4 / 3; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.mk-brand img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.mk-brand:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--c-lime-500); }
.partners__more { margin-top: 28px; text-align: center; }

@media (max-width: 1100px) { .mk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 560px) {
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mk-brand img { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
  .mk-wrap { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .mk-brand { transition: none; } }

/* ---------- Marcas: enlaces, badge y página de marca ---------- */
.mk-brand a { position: absolute; inset: 0; display: block; border-radius: inherit; }
.mk-brand a:focus-visible { outline: 3px solid var(--c-lime-500); outline-offset: 2px; }
.mk-brand--n img { height: calc(100% - 40px); }
.mk-brand__n { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; padding: 3px 12px; border-radius: 999px; background: var(--c-surface); color: var(--c-green-700); font-size: 13px; font-weight: 700; }
.mk-intro--hint { margin-top: 10px; font-size: 16px; color: var(--c-text-muted); }
.page-title--brand { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-title__logo { flex: none; width: 150px; height: 150px; object-fit: contain; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); padding: 14px; }
.brand-empty { background: var(--c-surface); border: 1px dashed #c4cbb8; border-radius: var(--radius-card); padding: 42px 36px; }
.brand-empty h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--c-green-700); }
.brand-empty p { margin-top: 10px; max-width: 620px; font-size: 17px; line-height: 1.4; color: #444; }
.brand-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 700px) {
  .page-title--brand { flex-direction: column-reverse; align-items: flex-start; }
  .page-title__logo { width: 110px; height: 110px; padding: 10px; }
  .brand-empty { padding: 28px 22px; }
}

/* ---------- Cambiar de marca (barra lateral de la página de marca) ---------- */
.listing__side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.brand-switch { border: 1px solid #bdbdbd; border-radius: 6px; background: var(--c-white); }
.brand-switch > summary { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 18px; cursor: pointer; list-style: none; }
.brand-switch > summary::-webkit-details-marker { display: none; }
.brand-switch > summary::after { content: "▾"; position: absolute; right: 22px; margin-top: 22px; color: var(--c-green-700); transition: transform .2s ease; }
.brand-switch { position: relative; }
.brand-switch[open] > summary::after { transform: rotate(180deg); }
.brand-switch > summary .accent { display: block; width: 28px; height: 6px; background: var(--c-lime-500); }
.brand-switch__title { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--c-green-700); }
.brand-switch nav { border-top: 1px solid #c4c4c4; padding: 8px 8px 14px; }
.brand-switch__list { list-style: none; margin: 0; padding: 0; max-height: 440px; overflow-y: auto; display: grid; gap: 2px; }
.brand-switch__list a { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 8px; color: #333; font-size: 15px; transition: background .15s ease; }
.brand-switch__list a:hover { background: var(--c-surface); }
.brand-switch__list a.is-current { background: rgba(136, 189, 35, .18); font-weight: 700; color: var(--c-green-700); }
.brand-switch__list img { flex: none; width: 34px; height: 34px; object-fit: contain; border: 1px solid var(--c-card-border); border-radius: 6px; background: var(--c-white); padding: 2px; }
.brand-switch__name { flex: 1; min-width: 0; }
.brand-switch__n { flex: none; min-width: 24px; padding: 1px 8px; border-radius: 999px; background: var(--c-surface); color: var(--c-text-muted); font-size: 13px; font-weight: 700; text-align: center; }
.brand-switch__list a.is-current .brand-switch__n { background: var(--c-lime-500); color: var(--c-green-900); }
.brand-switch__all { display: block; margin: 10px 12px 0; font-size: 14px; font-weight: 700; color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Páginas legales (lg-*) ---------- */
.lg-title { margin-top: 56px; }
.lg-date { margin-top: 14px; display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--c-surface); color: var(--c-text-muted); font-size: 14px; font-weight: 600; }
.lg-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; margin-top: 48px; padding-bottom: 120px; align-items: start; }
.lg-toc { position: sticky; top: 24px; border: 1px solid var(--c-card-border); border-radius: var(--radius-card); padding: 24px; background: var(--c-white); }
.lg-toc__title { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--c-green-700); margin-bottom: 12px; }
.lg-toc ol { list-style: decimal; margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 15px; }
.lg-toc a { color: #333; }
.lg-toc a:hover { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.lg-doc { max-width: 760px; min-width: 0; }
.lg-sec { scroll-margin-top: 100px; }
.lg-sec + .lg-sec { margin-top: 40px; }
.lg-sec h2 { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--c-green-700); margin-bottom: 14px; }
.lg-sec__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-lime-500); color: var(--c-green-900); font-size: 16px; font-weight: 800; letter-spacing: 0; }
.lg-sec p, .lg-sec li { font-size: 17px; line-height: 1.5; color: #333; }
.lg-sec p + p, .lg-sec p + ul, .lg-sec ul + p { margin-top: 12px; }
.lg-sec ul { list-style: disc; margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.lg-sec li::marker { color: var(--c-lime-500); }
.lg-sec a, .lg-pending a:not(.btn) { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.lg-contact { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: var(--radius-card); background: var(--c-surface); }
.lg-contact p { max-width: 440px; font-size: 17px; line-height: 1.4; color: #333; }
.lg-pending { margin-top: 40px; padding-bottom: 140px; }
.lg-pending__box { max-width: 760px; padding: 32px 36px; border-radius: var(--radius-card); background: var(--c-surface); }
.lg-pending__box h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-green-700); }
.lg-pending__box p { margin-top: 10px; font-size: 17px; line-height: 1.45; color: #333; }
.lg-pending__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1000px) {
  .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 80px; }
  .lg-toc { position: static; }
}
@media (max-width: 560px) {
  .lg-title { margin-top: 36px; }
  .lg-sec h2 { font-size: 22px; }
  .lg-sec p, .lg-sec li { font-size: 16px; }
  .lg-contact, .lg-pending__box { padding: 22px 20px; }
}

/* ---------- Página 404 (nf-*) ---------- */
.nf { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 72px 0 96px; }
.nf__code { font-size: clamp(110px, 22vw, 240px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; color: var(--c-lime-500); }
.nf .bar { display: block; width: 56px; height: 6px; background: var(--c-lime-500); margin: 22px 0 14px; }
.nf h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--c-green-700); }
.nf__text { margin-top: 14px; max-width: 520px; font-size: 18px; line-height: 1.4; color: #444; }
.nf__actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nf__links { margin-top: 40px; justify-content: center; }
@media (max-width: 560px) {
  .nf { padding: 40px 0 64px; }
  .nf h1 { font-size: 30px; }
}

/* ---------- Blog / Noticias (bl-*). Reutiliza .news-card de la portada ---------- */
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-card__media { display: block; }
.news-card__img { border-radius: 14px; }
.bl-ph { display: grid; place-items: center; background: var(--c-green-900); }
.bl-ph img { width: 160px; height: auto; border-radius: 0; margin: 0; }
.bl-title { margin-top: 56px; }
.bl-title .page-title__lead { max-width: 640px; font-size: 18px; line-height: 1.35; }
.bl-list { margin-top: 40px; padding-bottom: 120px; }
.bl-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.bl-chip { appearance: none; border: 1px solid var(--c-card-border); background: var(--c-white); color: var(--c-green-700); border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.bl-chip:hover { border-color: var(--c-lime-500); }
.bl-chip.is-on { background: var(--c-green-700); border-color: var(--c-green-700); color: var(--c-white); }
.bl-count { margin-top: 18px; font-size: 16px; color: var(--c-text-muted); }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin-top: 28px; }
.bl-grid .news-card[hidden] { display: none; }
.bl-grid .news-card h3 { min-height: 0; }

.bl-content { max-width: 760px; margin: 36px auto 0; font-size: 18px; line-height: 1.6; color: #333; overflow-wrap: break-word; }
.bl-content > * + * { margin-top: 18px; }
.bl-content h2 { margin-top: 40px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--c-green-700); }
.bl-content h3 { margin-top: 32px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--c-green-700); }
.bl-content h4, .bl-content h5 { margin-top: 26px; font-size: 18px; font-weight: 700; color: var(--c-green-700); }
.bl-content ul, .bl-content ol { padding-left: 24px; display: grid; gap: 8px; }
.bl-content ul { list-style: disc; }
.bl-content ol { list-style: decimal; }
.bl-content li::marker { color: var(--c-lime-500); font-weight: 700; }
.bl-content li > p { margin: 0; }
.bl-content a { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.bl-content img { display: block; max-width: 100%; height: auto; max-height: 720px; width: auto; margin-inline: auto; border-radius: 14px; }
.bl-content blockquote { padding: 22px 26px; border-radius: var(--radius-card); background: var(--c-surface); }
.bl-content blockquote > * + * { margin-top: 12px; }
.bl-content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.bl-table { overflow-x: auto; border: 1px solid var(--c-card-border); border-radius: 14px; }
.bl-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; line-height: 1.35; }
.bl-table th, .bl-table td { padding: 10px 14px; border: 1px solid #e3e6dc; text-align: left; vertical-align: top; }
.bl-table th, .bl-table thead td { background: var(--c-surface); color: var(--c-green-700); font-weight: 700; }
.bl-table p { margin: 0; }
.bl-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.bl-pn__a { display: grid; gap: 4px; padding: 20px 24px; border: 1px solid var(--c-card-border); border-radius: var(--radius-card); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--c-green-700); transition: border-color .2s ease, box-shadow .2s ease; }
.bl-pn__a:hover { border-color: var(--c-lime-500); box-shadow: var(--shadow-card); }
.bl-pn__a span { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); }
.bl-pn__a--next { text-align: right; }
.bl-pn__a:only-child { grid-column: 1 / -1; }
.bl-related { margin-top: 56px; }
@media (max-width: 1000px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
}
@media (max-width: 640px) {
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-title { margin-top: 36px; }
  .bl-content { font-size: 17px; }
  .bl-content h2 { font-size: 24px; }
  .bl-pn { grid-template-columns: 1fr; }
  .bl-pn__a--next { text-align: left; }
}


/* ---------- Nota del blog: cabecera, columna lateral (bl-hero, bl-wrap, bl-side) ---------- */
.bl-hero { position: relative; overflow: hidden; padding: 56px 0 64px; color: var(--c-white);
  background: linear-gradient(115deg, var(--c-green-900) 0%, #0b3a12 60%, #14501b 100%); }
.bl-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(136, 189, 35, .35) 0%, rgba(136, 189, 35, 0) 68%); pointer-events: none; }
.bl-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; background: var(--c-lime-500); }
.bl-hero__in { position: relative; }
.bl-hero__in--img { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: center; }
.bl-hero__text { min-width: 0; }
.bl-hero__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-hero__cats span { padding: 4px 14px; border-radius: 999px; background: var(--c-lime-500); color: var(--c-green-900); font-size: 14px; font-weight: 800; }
.bl-hero h1 { margin-top: 18px; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--c-white); overflow-wrap: break-word; max-width: 900px; }
.bl-hero__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 16px; color: rgba(255, 255, 255, .82); }
.bl-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.bl-hero__meta svg { color: var(--c-lime-500); }

.bl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 36px; padding-bottom: 20px; align-items: start; position: relative; }
.bl-main { min-width: 0; }
.bl-cover { margin: 0; }
.bl-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); background: var(--c-white); }
.bl-main .bl-content { max-width: 720px; margin: 0; }
.bl-content > p:first-child { font-size: 21px; line-height: 1.55; color: #222; }
.bl-content img { box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.bl-content blockquote { position: relative; padding: 30px 32px 30px 70px; background: var(--c-surface); font-size: 19px; }
.bl-content blockquote::before { content: "\201C"; position: absolute; left: 22px; top: 6px; font-size: 80px; line-height: 1; font-weight: 800; color: var(--c-lime-500); }
.bl-back { display: inline-block; margin-top: 44px; }

.bl-side { display: grid; gap: 18px; align-self: start; min-width: 0; }
.bl-box { border: 1px solid var(--c-card-border); border-radius: var(--radius-card); background: var(--c-white); padding: 22px 22px 20px; }
.bl-box__t { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-green-700); margin-bottom: 12px; }
.bl-toc ol { list-style: decimal; margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 15px; line-height: 1.3; max-height: 320px; overflow-y: auto; }
.bl-toc li::marker { color: var(--c-lime-500); font-weight: 700; }
.bl-toc a { color: #333; }
.bl-toc a:hover { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.bl-dl { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: var(--c-surface); color: var(--c-green-700); transition: background .15s ease; }
.bl-dl + .bl-dl { margin-top: 8px; }
.bl-dl:hover { background: rgba(136, 189, 35, .22); }
.bl-dl svg { flex: none; }
.bl-dl span { display: grid; gap: 2px; min-width: 0; }
.bl-dl strong { font-size: 16px; }
.bl-dl small { font-size: 12px; color: var(--c-text-muted); overflow-wrap: anywhere; }
.bl-share { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-share__b { appearance: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--c-card-border); background: var(--c-white); color: var(--c-green-700); border-radius: 999px; padding: 8px 15px 8px 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.bl-share__b:hover { border-color: var(--c-lime-500); background: var(--c-surface); }
.bl-share__i { flex: none; }
.bl-share__b--wa .bl-share__i { color: #25d366; }
.bl-share__b--in .bl-share__i { color: #0a66c2; }
.bl-share__b--fb .bl-share__i { color: #1877f2; }
.bl-cta { padding: 24px 24px 26px; border-radius: var(--radius-card); background: var(--c-green-900); color: var(--c-white); }
.bl-cta .accent { display: block; width: 36px; height: 6px; background: var(--c-lime-500); margin-bottom: 12px; }
.bl-cta__t { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-lime-500); }
.bl-cta p + p { margin-top: 8px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.bl-cta .btn { margin-top: 18px; }
.bl-progress { position: fixed; left: 0; top: 0; height: 4px; width: 0; background: var(--c-lime-500); z-index: 60; transition: width .1s linear; }
@media (max-width: 1100px) {
  .bl-hero__in--img { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bl-cover { max-width: 620px; }
  .bl-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 28px; }
  .bl-side { position: static; }
  .bl-toc { display: none; }
  .bl-hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .bl-hero { padding: 36px 0 44px; }
  .bl-hero h1 { font-size: 28px; }
  .bl-hero__meta { font-size: 15px; gap: 8px 18px; }
  .bl-wrap { margin-top: 24px; }
  .bl-content > p:first-child { font-size: 18px; }
  .bl-content blockquote { padding: 56px 20px 22px; font-size: 17px; }
  .bl-content blockquote::before { left: 18px; top: -4px; }
}

/* Últimas noticias (columna lateral de la nota) */
.bl-latest { display: grid; gap: 14px; }
.bl-latest__i { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; color: var(--c-green-700); }
.bl-latest__i img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--c-green-900); }
.bl-latest__i .bl-latest__ph { object-fit: contain; padding: 14px 10px; }
.bl-latest__i span { display: grid; gap: 3px; min-width: 0; }
.bl-latest__i time { font-size: 12px; font-weight: 600; color: var(--c-text-muted); }
.bl-latest__i strong { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-latest__i:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.bl-latest__all { margin-top: 16px; }


/* =========================================================
   VIDEOS (vd-*). Reutiliza page-hero--split, .bl-filter/.bl-chip/.bl-count y qs-next.
   ========================================================= */
.vd-wrap { margin-top: 40px; padding-bottom: 96px; }
.vd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; margin-top: 28px; }
.vd-card[hidden] { display: none; }
.vd-card__link { display: grid; gap: 12px; color: var(--c-green-700); height: 100%; align-content: start; }
.vd-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--c-green-900); box-shadow: var(--shadow-card); }
.vd-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vd-card__link:hover .vd-card__thumb img { transform: scale(1.05); }
.vd-card__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--c-lime-500); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.vd-card__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--c-green-900); }
.vd-card__link:hover .vd-card__play, .vd-card__link:focus-visible .vd-card__play { transform: scale(1.12); }
.vd-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: break-word; }
.vd-card__link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.vd-more { display: flex; justify-content: center; margin-top: 48px; }
.vd-more[hidden] { display: none; }
.vd-more .btn { min-width: 260px; }
.vd-modal { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; color: var(--c-white); }
.vd-modal::backdrop { background: rgba(0, 20, 5, .82); }
.vd-modal__box { position: relative; padding: 14px; }
.vd-modal__title { padding: 4px 48px 12px 6px; font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: break-word; }
.vd-modal__player { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; }
.vd-modal__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.vd-modal__close { position: absolute; right: 10px; top: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--c-lime-500); color: var(--c-green-900); font-size: 26px; line-height: 1; font-weight: 700; cursor: pointer; }
.vd-modal__close:hover { background: var(--c-white); }
@media (max-width: 1200px) { .vd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } .vd-card h3 { font-size: 15px; } }
@media (max-width: 480px) { .vd-grid { grid-template-columns: minmax(0, 1fr); } .vd-wrap { margin-top: 28px; } .vd-card__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; } .vd-card__play::after { left: 19px; top: 14px; } }
@media (prefers-reduced-motion: reduce) { .vd-card__thumb img, .vd-card__play { transition: none; } }

/* =========================================================
   MANUALES Y DESCARGAS (dl-*). Reutiliza page-hero--split, .bl-filter/.bl-chip/.bl-count y qs-next.
   ========================================================= */
.dl-wrap { margin-top: 40px; padding-bottom: 96px; }
.dl-lead { max-width: 760px; font-size: 18px; line-height: 1.5; color: var(--c-text-muted); }
.dl-tools { display: grid; gap: 18px; margin-top: 24px; }
.dl-search input { width: 100%; max-width: 560px; height: 52px; padding: 0 20px; border: 1px solid var(--c-card-border); border-radius: 999px; background: var(--c-white); font: inherit; font-size: 16px; color: var(--c-green-900); }
.dl-search input:focus-visible { outline: 3px solid var(--c-lime-500); outline-offset: 2px; border-color: var(--c-lime-500); }
.dl-empty { margin-top: 28px; padding: 22px 26px; border-radius: 14px; background: var(--c-white); border: 1px dashed var(--c-card-border); color: var(--c-text-muted); }
.dl-list { margin-top: 12px; }
.dl-sec { margin-top: 44px; }
.dl-sec[hidden], .dl-prod[hidden], .dl-docs li[hidden], .dl-empty[hidden] { display: none; }
.dl-sec__title { display: flex; align-items: center; gap: 16px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-green-700); margin-bottom: 14px; }
.dl-sec__title::after { content: ""; flex: 1; height: 1px; background: var(--c-card-border); }
.dl-prod { border: 1px solid var(--c-card-border); border-radius: 14px; background: var(--c-white); margin-top: 10px; overflow: hidden; }
.dl-prod summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; cursor: pointer; list-style: none; color: var(--c-green-700); }
.dl-prod summary::-webkit-details-marker { display: none; }
.dl-prod summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--c-lime-500); color: var(--c-green-900); font-weight: 700; font-size: 18px; line-height: 1; }
.dl-prod[open] summary::after { content: "–"; }
.dl-prod summary:hover .dl-prod__title { text-decoration: underline; text-underline-offset: 3px; }
.dl-prod__title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; flex: 1; min-width: 0; overflow-wrap: break-word; }
.dl-prod__n { font-size: 14px; color: var(--c-text-muted); white-space: nowrap; }
.dl-prod__body { padding: 4px 22px 22px; border-top: 1px solid var(--c-card-border); }
.dl-docs { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dl-docs a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--c-card-border); border-radius: 10px; color: var(--c-green-700); font-weight: 600; font-size: 15px; transition: border-color .15s ease, background .15s ease; }
.dl-docs a:hover, .dl-docs a:focus-visible { border-color: var(--c-lime-500); background: rgba(136, 189, 35, .08); }
.dl-doc__ico { flex: none; width: 16px; height: 20px; border-radius: 2px; background: var(--c-lime-500); clip-path: polygon(0 0, 65% 0, 100% 30%, 100% 100%, 0 100%); }
.dl-doc__name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dl-doc__tag { flex: none; font-size: 12px; letter-spacing: .06em; color: var(--c-text-muted); }
@media (max-width: 1100px) { .dl-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .dl-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-prod summary { padding: 14px 16px; }
  .dl-prod__body { padding: 2px 16px 18px; }
  .dl-prod__n { display: none; }
  .dl-sec__title { font-size: 22px; }
}
@media (max-width: 420px) { .dl-docs { grid-template-columns: 1fr; } }

/* =========================================================
   BUSCAR (sr-*). Cuadrícula de productos; reutiliza .page-title, .results__head, .qs-chips y .nf__actions.
   ========================================================= */
.sr-title { margin-top: 56px; }
.sr-form { display: flex; gap: 12px; margin-top: 22px; max-width: 680px; }
.sr-form input { flex: 1; min-width: 0; height: 52px; padding: 0 22px; border: 1px solid var(--c-card-border); border-radius: 999px; background: var(--c-white); font: inherit; font-size: 16px; color: var(--c-green-900); }
.sr-form input:focus-visible { outline: 3px solid var(--c-lime-500); outline-offset: 2px; border-color: var(--c-lime-500); }
.sr-form .btn { flex: none; height: 52px; padding-inline: 28px; }
.sr-wrap { margin-top: 48px; padding-bottom: 96px; }
.sr-cats { margin: -8px 0 28px; }
.sr-cats[hidden], .sr-empty[hidden], .sr-cats li[hidden], .sr-card[hidden] { display: none; }
.sr-cats__label { font-size: 15px; font-weight: 700; color: var(--c-green-700); margin-bottom: 10px; }
.sr-empty { padding: 28px 30px; border: 1px dashed var(--c-card-border); border-radius: 16px; background: var(--c-white); color: var(--c-text-muted); display: grid; gap: 8px; }
.sr-empty strong { color: var(--c-green-700); }
.sr-empty .nf__actions { margin-top: 14px; justify-content: flex-start; }
.sr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.sr-card { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.sr-card:hover, .sr-card:focus-within { transform: translateY(-4px); }
.sr-card__media { display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.sr-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s ease; }
.sr-card:hover .sr-card__media img { transform: scale(1.05); }
.sr-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.sr-card__body .accent { margin-bottom: 8px; }
.sr-card__kicker { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-lime-ink); }
.sr-card__name { margin-top: 4px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--c-green-700); overflow-wrap: break-word; }
.sr-card__name a { color: inherit; }
.sr-card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-card__desc { margin: 8px 0 16px; font-size: 14.5px; line-height: 1.4; color: #444; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sr-card .link-more { margin-top: auto; }
@media (max-width: 1200px) { .sr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .sr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }
@media (max-width: 480px) {
  .sr-grid { grid-template-columns: minmax(0, 1fr); }
  .sr-form { flex-direction: column; }
  .sr-form .btn { width: 100%; }
}

/* =========================================================
   CONTACTOS (ct-*). Reutiliza .page-title y .section-head; el formulario es el de la portada (.contact).
   ========================================================= */
.ct-title { margin-top: 56px; }
.ct-wrap { margin-top: 64px; }
.ct-wrap + .ct-wrap { margin-top: 72px; }
.ct-quick { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.ct-quick__item { display: grid; gap: 6px; align-content: start; padding: 22px 20px; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.ct-quick__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%; background: var(--c-green-900); color: var(--c-lime-500); }
.ct-quick__ico .ag-ico { margin: 0; width: 24px; height: 24px; }
.ct-ico--wa { width: 28px; height: 28px; }
.ct-quick__item h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--c-green-700); }
.ct-quick__link { font-weight: 700; font-size: 15px; color: var(--c-green-900); overflow-wrap: anywhere; }
.ct-quick__link:hover { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.ct-quick__item p { font-size: 14px; line-height: 1.35; color: var(--c-text-muted); }
.ct-ag-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin-top: 32px; }
.ct-ag { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; background: var(--c-white); border: 1px solid var(--c-card-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); scroll-margin-top: 24px; }
.ct-ag h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-green-700); }
.ct-ag h3::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 8px; background: var(--c-lime-500); }
.ct-ag__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.3; }
.ct-ag__list li { display: flex; gap: 9px; align-items: flex-start; }
.ct-ag__list .ag-ico { width: 18px; height: 18px; }
.ct-ag__list a { color: var(--c-green-700); font-weight: 600; overflow-wrap: anywhere; }
.ct-ag__list a:hover, .ct-ag__go:hover { text-decoration: underline; text-underline-offset: 3px; }
.ct-ag__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; padding-top: 4px; }
.ct-ag__actions .btn { padding: 9px 20px; min-height: 0; }
.ct-ag__go { font-size: 14px; font-weight: 700; color: var(--c-green-700); }
@media (max-width: 1280px) { .ct-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ct-ag-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .ct-ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .ct-wrap { margin-top: 48px; } }
@media (max-width: 560px) { .ct-quick, .ct-ag-grid { grid-template-columns: minmax(0, 1fr); } }

/* Rótulo sobre el título de sección (Quiénes somos: «Misión y Visión» sobre «Desde 1975») */
.qs-kicker { margin-bottom: 6px; font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c-lime-ink); scroll-margin-top: 90px; }
#responsabilidad, #t-cert { scroll-margin-top: 90px; }

/* Contactos: agencias en pestañas por ciudad (reutiliza ag-tabs / ag-panel / ag-info / ag-map del modal) */
.ct-agtabs { margin-top: 28px; padding-block: 32px; background: var(--c-white); border: 0; box-shadow: none; border-radius: var(--radius-card); overflow: hidden; }
.ct-agtabs .ag-tabs { flex-wrap: wrap; overflow: visible; padding: 0 0 20px; background: none; border-bottom: 0; }
.ct-agtabs .ag-panel { grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); }
.ct-agtabs .ag-panel:not([hidden]) { animation: qs-fade .35s ease; }
.ct-agtabs .ag-info { padding: 26px 28px 0 0; }
.ct-agtabs .ag-map, .ct-agtabs .ag-map iframe { min-height: 360px; }
.ct-agtabs .ct-ag__actions { margin-top: 4px; }
.ct-agtabs .ag-go { padding: 11px 28px; min-width: 0; width: auto; }
@media (max-width: 860px) {
  .ct-agtabs { padding-block: 20px; }
  .ct-agtabs .ag-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 0 0 14px; }
  .ct-agtabs .ag-panel { grid-template-columns: minmax(0, 1fr); }
  .ct-agtabs .ag-info { padding: 20px 0 22px; }
  .ct-agtabs .ag-map, .ct-agtabs .ag-map iframe { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) { .ct-agtabs .ag-panel:not([hidden]) { animation: none; } }

/* =========================================================
   PROYECTOS (pj-*). Reutiliza la plantilla del blog (bl-*, news-card); solo añade la ficha lateral.
   ========================================================= */
.pj-dl { display: grid; gap: 0; margin: 0; }
.pj-dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--c-card-border); font-size: 15px; line-height: 1.35; }
.pj-dl > div:first-child { border-top: 0; padding-top: 0; }
.pj-dl dt { font-weight: 700; color: var(--c-green-700); }
.pj-dl dd { margin: 0; color: var(--c-text); overflow-wrap: anywhere; }
.pj-dl a { color: var(--c-green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pj-eq__t { margin: 16px 0 8px; padding-top: 14px; border-top: 1px solid var(--c-card-border); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c-green-900); }
.pj-eq { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pj-eq a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; font-weight: 600; color: var(--c-green-700); }
.pj-eq a::after { content: " →"; margin-left: 4px; opacity: .7; }
.pj-eq a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .pj-eq a { min-height: 44px; } }
