/*
Theme Name: SpillProtec
Theme URI: https://spillprotec.com
Author: SpillProtec
Author URI: https://spillprotec.com
Description: Tema a medida para SpillProtec. Soluciones profesionales para contención de derrames. Industria argentina.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spillprotec
*/

/* ============================================================
   SPILLPROTEC THEME - HOJA DE ESTILOS BASE
   ============================================================
   Estructura:
   1. Variables (paleta, tipografías, medidas)
   2. Reset y base
   3. Layout (container, grid)
   4. Topbar
   5. Header y navegación
   6. Botones
   7. Footer
   8. Utilidades
   9. Responsive
   ============================================================ */

/* 1. VARIABLES ============================================ */
:root {
  --sp-orange: #ff621f;
  --sp-orange-dark: #e0541a;
  --sp-brown: #806d61;
  --sp-beige: #c5baaa;
  --sp-gray: #a8aaac;
  --sp-black: #141417;
  --sp-dark: #18181b;
  --sp-dark-2: #27272a;
  --sp-dark-3: #09090c;
  --sp-gray-50: #f5f5f5;
  --sp-gray-100: #f4f4f4;
  --sp-gray-200: #e0e0e0;
  --sp-gray-300: #ddd;
  --sp-gray-400: #bbb;
  --sp-gray-500: #999;
  --sp-gray-600: #6b6b72;
  --sp-gray-700: #5a5a5f;
  --sp-gray-800: #444;
  --sp-gray-900: #2a2a2f;
  --sp-white: #ffffff;

  --sp-radius-sm: 6px;
  --sp-radius: 8px;
  --sp-radius-lg: 14px;
  --sp-radius-xl: 20px;

  --sp-container: 1200px;
  --sp-header-h: 76px;

  --sp-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* 2. RESET Y BASE ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sp-font);
  color: var(--sp-dark);
  background: var(--sp-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

img, svg { display: block; max-width: 100%; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; }

/* 3. LAYOUT ============================================ */
.sp-container {
  width: min(var(--sp-container), calc(100% - 32px));
  margin-inline: auto;
}

/* 4. TOPBAR ============================================ */
.sp-topbar {
  background: var(--sp-dark-2);
  padding: 9px 0;
  text-align: center;
}
.sp-topbar__text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-white);
}

/* 5. HEADER ============================================ */
.sp-header {
  background: #ebebeb;
  border-bottom: 1px solid var(--sp-gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
}
.sp-header__inner {
  height: var(--sp-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sp-header__logo {
  display: inline-flex;
  align-items: center;
}
.sp-header__logo svg,
.sp-header__logo img {
  height: 56px;
  width: auto;
}

/* Navegación principal */
.sp-nav {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-nav li {
  list-style: none;
}
.sp-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: #333;
  padding: 7px 13px;
  border-radius: var(--sp-radius-sm);
  transition: color 0.2s, background 0.2s;
}
.sp-nav a:hover,
.sp-nav a.current-menu-item,
.sp-nav .current-menu-item > a,
.sp-nav .current_page_item > a {
  color: var(--sp-orange);
}

/* Toggle mobile (oculto en desktop, visible en móvil) */
.sp-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--sp-radius-sm);
  color: var(--sp-dark);
}
.sp-nav-toggle svg { width: 24px; height: 24px; }

/* 6. BOTONES ============================================ */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--sp-radius);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  line-height: 1.2;
}
.sp-btn--primary {
  background: var(--sp-orange);
  color: var(--sp-white);
}
.sp-btn--primary:hover {
  background: var(--sp-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 98, 31, 0.35);
}
.sp-btn--light {
  background: var(--sp-white);
  color: var(--sp-dark);
  border: 1.5px solid var(--sp-gray-300);
}
.sp-btn--light:hover {
  border-color: var(--sp-gray-400);
}
.sp-btn--dark {
  background: var(--sp-dark);
  color: var(--sp-white);
}
.sp-btn--dark:hover {
  background: #000;
}

/* CTA header: texto corto en mobile */
.sp-header__cta-text-mobile { display: none; }

/* 7. FOOTER ============================================ */
.sp-footer {
  background: var(--sp-dark-3);
  padding: 56px 0 24px;
  color: rgba(255, 255, 255, 0.55);
}
.sp-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1.6fr 1fr 1.2fr;
  gap: 36px;
}
.sp-footer__brand-logo svg,
.sp-footer__brand-logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}
.sp-footer p,
.sp-footer li {
  font-size: 13.5px;
  line-height: 1.7;
}
.sp-footer__contact {
  list-style: none;
  margin-bottom: 18px;
}
.sp-footer__contact li {
  margin-bottom: 6px;
}
.sp-footer__contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.sp-footer__contact a:hover { color: var(--sp-orange); }
.sp-footer__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.sp-footer h5 {
  color: var(--sp-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sp-orange);
  display: inline-block;
}
.sp-footer ul { list-style: none; }
.sp-footer ul li { margin-bottom: 4px; }
.sp-footer ul a { transition: color 0.2s; }
.sp-footer ul a:hover { color: var(--sp-orange); }
.sp-footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.sp-footer__socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s;
}
.sp-footer__socials a:hover {
  background: var(--sp-orange);
  color: var(--sp-white);
}
.sp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

/* WhatsApp flotante */
.sp-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sp-orange);
  display: grid;
  place-items: center;
  color: var(--sp-white);
  z-index: 90;
  box-shadow: 0 6px 20px rgba(255, 98, 31, 0.4);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.sp-whatsapp:hover {
  background: var(--sp-orange-dark);
  transform: scale(1.07);
  box-shadow: 0 8px 24px rgba(255, 98, 31, 0.5);
}
.sp-whatsapp svg { width: 30px; height: 30px; }

/* 8. UTILIDADES ============================================ */
.sp-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-orange);
}
.sp-screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important;
}

/* 9. RESPONSIVE ============================================ */
@media (max-width: 880px) {
  .sp-nav {
    display: none;
    position: absolute;
    top: var(--sp-header-h);
    left: 0;
    right: 0;
    background: #ebebeb;
    border-bottom: 1px solid var(--sp-gray-300);
    flex-direction: column;
    padding: 12px 16px;
    gap: 0;
  }
  .sp-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .sp-nav.is-open { display: flex; }
  .sp-nav a { padding: 12px 8px; font-size: 16px; display: block; }
  .sp-nav-toggle { display: inline-flex; }

  .sp-header__cta-text { display: none; }
  .sp-header__cta-text-mobile { display: inline; }

  .sp-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .sp-footer__grid { grid-template-columns: 1fr; }
  .sp-footer__bottom { justify-content: center; text-align: center; }

  /* Medidas en mobile chico */
  .sp-sizes-card { padding: 24px 18px; }
  .sp-sizes-card.sp-rich p {
    font-size: 12.5px;
    line-height: 1.85;
  }
  /* Hero en mobile chico */
  .sp-product-hero { padding: 32px 0; }
  .sp-product-hero__title { font-size: clamp(28px, 9vw, 40px); }
}


/* ============================================================
   PÁGINA INDIVIDUAL DE PRODUCTO (single-sp_product.php)
   ============================================================ */

/* Breadcrumb ------------------------------------------------ */
.sp-breadcrumb {
  background: var(--sp-gray-100);
  border-bottom: 1px solid var(--sp-gray-200);
  padding: 10px 0;
  font-size: 12.5px;
  color: var(--sp-orange);
}
.sp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-breadcrumb li + li::before {
  content: "/";
  margin-right: 4px;
  color: var(--sp-orange);
  opacity: .5;
}
.sp-breadcrumb a {
  color: var(--sp-orange);
  opacity: .7;
  transition: opacity 0.2s;
}
.sp-breadcrumb a:hover { opacity: 1; }
.sp-breadcrumb li[aria-current="page"] {
  color: var(--sp-orange);
  font-weight: 600;
}

/* Hero del producto ----------------------------------------- */
.sp-product-hero {
  background: var(--sp-gray-100);
  padding: 36px 0 52px;
}
.sp-product-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.sp-product-hero__cat {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-product-hero__cat::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--sp-orange);
}
.sp-product-hero__title {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 22px;
  color: #0f0f12;
  font-size: clamp(36px, 5.4vw, 62px);
}
.sp-product-hero__info {
  padding-top: 0;
}
.sp-product-hero__desc {
  font-size: 16px;
  color: var(--sp-gray-700);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.sp-product-hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Galería --------------------------------------------------- */
.sp-gallery__main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
}
.sp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.sp-gallery__main:hover img { transform: scale(1.02); }
.sp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}
.sp-gallery__thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--sp-white);
  padding: 0;
}
.sp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-gallery__thumb:hover,
.sp-gallery__thumb.is-active {
  border-color: var(--sp-orange);
}
.sp-gallery--empty {
  background: var(--sp-gray-100);
  border: 1.5px dashed var(--sp-gray-300);
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: var(--sp-gray-500);
  font-size: 13px;
}

/* Specs bar ------------------------------------------------- */
.sp-specs-bar {
  background: var(--sp-white);
  border-top: 1px solid var(--sp-gray-200);
  border-bottom: 1px solid var(--sp-gray-200);
}
.sp-specs-bar__inner {
  display: flex;
  flex-wrap: wrap;
}
.sp-spec-item {
  flex: 1 1 0;
  min-width: 150px;
  text-align: center;
  padding: 18px 12px;
  border-right: 1px solid var(--sp-gray-200);
}
.sp-spec-item:last-child { border-right: none; }
.sp-spec-item__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-orange);
  margin-bottom: 6px;
}
.sp-spec-item__value {
  font-size: 14px;
  font-weight: 800;
  color: var(--sp-dark);
  line-height: 1.35;
}

/* Secciones genéricas --------------------------------------- */
.sp-section { padding: 72px 0; }
.sp-eyebrow--light { color: var(--sp-orange); }

/* Descripción ----------------------------------------------- */
.sp-section-desc { background: var(--sp-white); }
.sp-section-desc__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.sp-section-desc__aside h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-top: 8px;
  color: #0f0f12;
}

/* Contenido enriquecido (WYSIWYG) ---------------------------- */
.sp-rich p {
  color: var(--sp-gray-700);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.sp-rich p:last-child { margin: 0; }
.sp-rich ul, .sp-rich ol {
  color: var(--sp-gray-700);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 16px 20px;
}
.sp-rich li { margin-bottom: 6px; }
.sp-rich strong { color: var(--sp-dark); font-weight: 700; }
.sp-rich h3, .sp-rich h4 {
  color: var(--sp-dark);
  margin: 20px 0 10px;
  font-weight: 800;
}
.sp-rich h3 { font-size: 19px; }
.sp-rich h4 { font-size: 16px; }
.sp-rich a { color: var(--sp-orange); text-decoration: underline; }
.sp-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.sp-rich th, .sp-rich td {
  padding: 8px 12px;
  border: 1px solid var(--sp-gray-200);
  text-align: left;
}
.sp-rich th { background: var(--sp-gray-100); font-weight: 700; }

.sp-rich--dark p,
.sp-rich--dark ul,
.sp-rich--dark ol { color: rgba(255, 255, 255, 0.78); }
.sp-rich--dark strong { color: var(--sp-white); }
.sp-rich--dark h3,
.sp-rich--dark h4 { color: var(--sp-white); }
.sp-rich--dark a { color: var(--sp-orange); }

/* Beneficios y usos ----------------------------------------- */
.sp-section-benefits {
  background: var(--sp-black);
  position: relative;
  overflow: hidden;
}
.sp-section-benefits::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 98, 31, 0.08), transparent 60%);
  pointer-events: none;
}
.sp-section-benefits::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(255, 98, 31, 0.12), transparent 60%);
  pointer-events: none;
}
.sp-section-benefits .sp-container { position: relative; z-index: 1; }
.sp-section-benefits h2 {
  color: var(--sp-white);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 10px 0 32px;
  line-height: 1.1;
}
/* Intro: párrafo arriba, ancho completo con borde naranja */
.sp-section-benefits .sp-rich--dark > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  padding: 18px 24px;
  border-left: 4px solid var(--sp-orange);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 10px 10px 0;
}
/* Lista: bullets en grilla de 2 columnas */
.sp-section-benefits .sp-rich--dark > ul,
.sp-section-benefits .sp-rich--dark > ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sp-section-benefits .sp-rich--dark > ul li,
.sp-section-benefits .sp-rich--dark > ol li {
  position: relative;
  padding: 13px 16px 13px 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--sp-white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  transition: all 0.2s;
}
.sp-section-benefits .sp-rich--dark > ul li::before,
.sp-section-benefits .sp-rich--dark > ol li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: var(--sp-white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.sp-section-benefits .sp-rich--dark > ul li:hover,
.sp-section-benefits .sp-rich--dark > ol li:hover {
  background: rgba(255, 98, 31, 0.1);
  border-color: rgba(255, 98, 31, 0.3);
}

/* Medidas --------------------------------------------------- */
.sp-section-sizes { background: var(--sp-gray-100); }
.sp-section-sizes__head {
  text-align: center;
  margin-bottom: 40px;
}
.sp-section-sizes__head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-top: 8px;
  color: #0f0f12;
}
.sp-sizes-card {
  background: var(--sp-white);
  border-radius: 24px;
  padding: 48px 56px;
  border: 1px solid var(--sp-gray-200);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.sp-sizes-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--sp-orange);
  border-radius: 0 0 4px 4px;
}
/* Párrafos de medidas */
.sp-sizes-card.sp-rich p {
  font-size: 16px;
  line-height: 2;
  color: var(--sp-gray-800);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.sp-sizes-card.sp-rich p:last-child { margin-bottom: 0; }
/* Negritas en naranja — títulos de sección */
.sp-sizes-card.sp-rich strong,
.sp-sizes-card.sp-rich b {
  color: var(--sp-orange);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
  margin-top: 20px;
}
.sp-sizes-card.sp-rich p:first-child strong,
.sp-sizes-card.sp-rich p:first-child b {
  margin-top: 0;
}
/* Listas si las usa (chips) */
.sp-sizes-card.sp-rich ul {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-sizes-card.sp-rich ul li {
  background: var(--sp-gray-100);
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-dark);
  border: 1px solid var(--sp-gray-200);
  margin: 0;
}
/* Tablas si las usa */
.sp-sizes-card.sp-rich table {
  width: 100%;
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0;
}
.sp-sizes-card.sp-rich th {
  background: var(--sp-dark);
  color: var(--sp-white);
  font-weight: 700;
  padding: 10px 14px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.sp-sizes-card.sp-rich td {
  padding: 10px 14px;
  border: 1px solid var(--sp-gray-200);
  text-align: center;
}

/* CTA card -------------------------------------------------- */
.sp-cta-card-wrap {
  background: var(--sp-gray-100);
  padding: 0 0 56px;
}
.sp-cta-card {
  background: var(--sp-orange);
  border-radius: 20px;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 48px rgba(255, 98, 31, 0.3);
  flex-wrap: wrap;
}
.sp-cta-card h3 {
  color: var(--sp-white);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.sp-cta-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
}

/* FAQ ------------------------------------------------------- */
.sp-section-faq { background: var(--sp-white); }
.sp-section-faq__head {
  text-align: center;
  margin-bottom: 40px;
}
.sp-section-faq__head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-top: 8px;
}
.sp-faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.sp-faq-item { border-bottom: 1px solid var(--sp-gray-200); }
.sp-faq-item:first-child { border-top: 1px solid var(--sp-gray-200); }
.sp-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sp-dark);
  font-family: inherit;
  line-height: 1.3;
  transition: color 0.2s;
}
.sp-faq-btn:hover { color: var(--sp-orange); }
.sp-faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--sp-gray-200);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-gray-400);
  line-height: 1;
  transition: all 0.25s;
}
.sp-faq-btn[aria-expanded="true"] { color: var(--sp-orange); }
.sp-faq-btn[aria-expanded="true"] .sp-faq-icon {
  background: var(--sp-orange);
  border-color: var(--sp-orange);
  color: var(--sp-white);
  transform: rotate(45deg);
}
.sp-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.sp-faq-answer:not([hidden]) {
  max-height: 400px;
  padding-bottom: 14px;
}
.sp-faq-answer p {
  color: var(--sp-gray-700);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Productos relacionados ------------------------------------ */
.sp-section-related { background: var(--sp-gray-100); }
.sp-section-related h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: -1px;
  margin: 8px 0 28px;
}
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sp-rel-card {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.sp-rel-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.sp-rel-card__img {
  aspect-ratio: 4 / 3;
  background: var(--sp-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--sp-gray-200);
}
.sp-rel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-rel-card__img-empty {
  width: 100%;
  height: 100%;
  background: var(--sp-gray-100);
}
.sp-rel-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sp-rel-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--sp-dark);
}
.sp-rel-card__body p {
  font-size: 13px;
  color: var(--sp-gray-600);
  line-height: 1.55;
  margin: 0 0 12px;
}
.sp-rel-card__link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-orange);
  letter-spacing: 0.04em;
}

/* Drawer de cotización -------------------------------------- */
.sp-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s;
}
.sp-drawer-overlay.is-open {
  opacity: 1;
}
.sp-drawer-overlay[hidden] { display: none; }
.sp-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(480px, 100vw);
  height: 100vh;
  height: 100dvh;
  background: var(--sp-white);
  z-index: 600;
  transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.sp-drawer.is-open { right: 0; }
.sp-drawer__head {
  padding: 20px 24px;
  background: var(--sp-black);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0;
}
.sp-drawer__head h3 {
  color: var(--sp-white);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
}
.sp-drawer__head p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  margin: 0;
}
.sp-drawer__close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--sp-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s;
  line-height: 1;
}
.sp-drawer__close:hover {
  background: var(--sp-orange);
  border-color: var(--sp-orange);
}
.sp-drawer__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sp-drawer__notice {
  background: #fff7ed;
  border: 1px solid #fecba3;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: #9a3412;
  margin-bottom: 18px;
  line-height: 1.55;
}
.sp-drawer__footer {
  padding: 14px 24px;
  border-top: 1px solid var(--sp-gray-200);
  background: var(--sp-gray-100);
  flex-shrink: 0;
}
.sp-drawer__footer p {
  font-size: 12.5px;
  color: var(--sp-gray-700);
  margin: 0;
}
.sp-drawer__footer a {
  color: var(--sp-orange);
  font-weight: 700;
}

/* Inputs del drawer */
.sp-drawer__form label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sp-gray-900);
  margin: 12px 0 5px;
}
.sp-drawer__form label span {
  color: var(--sp-orange);
}
.sp-fi, .sp-fs, .sp-ft {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 8px;
  font: inherit;
  font-size: 13.5px;
  color: var(--sp-dark);
  background: var(--sp-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sp-fi:focus, .sp-fs:focus, .sp-ft:focus {
  border-color: var(--sp-orange);
  box-shadow: 0 0 0 3px rgba(255, 98, 31, 0.12);
}
.sp-fi[readonly] {
  background: var(--sp-gray-100);
  color: var(--sp-gray-700);
}
.sp-ft {
  min-height: 90px;
  resize: vertical;
  font-family: inherit;
}
.sp-fr2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sp-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 0 !important;
  font-weight: 500 !important;
  color: var(--sp-gray-700) !important;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.5;
}
.sp-checkbox input { margin-top: 2px; flex-shrink: 0; }
.sp-checkbox a { color: var(--sp-orange); text-decoration: underline; }
.sp-required-asterisk { color: var(--sp-orange); }
.sp-drawer__submit {
  width: 100%;
  padding: 13px;
  font-size: 14.5px;
  margin-top: 6px;
}

/* Mensaje de éxito en drawer */
.sp-drawer__success {
  text-align: center;
  padding: 40px 20px;
}
.sp-drawer__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sp-orange);
  color: var(--sp-white);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 18px;
}
.sp-drawer__success h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 8px;
}
.sp-drawer__success p {
  font-size: 14px;
  color: var(--sp-gray-700);
  line-height: 1.55;
}

/* Responsive de la página de producto ----------------------- */
@media (max-width: 880px) {
  .sp-product-hero { padding: 36px 0; }
  .sp-product-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .sp-product-hero__title { font-size: clamp(30px, 8vw, 44px); }
  .sp-section { padding: 48px 0; }
  .sp-section-desc__grid { grid-template-columns: 1fr; gap: 24px; }
  .sp-specs-bar__inner { flex-wrap: wrap; }
  .sp-spec-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--sp-gray-200);
  }
  .sp-faq-cols { grid-template-columns: 1fr; gap: 0; }
  .sp-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .sp-cta-card {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .sp-cta-card .sp-btn { width: 100%; justify-content: center; }
  .sp-sizes-card { padding: 32px 24px; }
  .sp-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .sp-product-hero__info { padding-top: 0; }

  /* Medidas en mobile: izquierda + font más chico para evitar cortes */
  .sp-sizes-card.sp-rich p {
    font-size: 13.5px;
    line-height: 1.9;
    text-align: left;
    word-break: break-word;
  }
  .sp-sizes-card.sp-rich strong,
  .sp-sizes-card.sp-rich b {
    font-size: 11px;
    text-align: left;
  }

  /* Beneficios y usos: bullets en 1 columna en móvil */
  .sp-section-benefits .sp-rich--dark > ul,
  .sp-section-benefits .sp-rich--dark > ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .sp-spec-item { flex: 1 1 100%; }
}


/* ============================================================
   CATÁLOGO DE PRODUCTOS (archive + taxonomy)
   ============================================================ */

/* Hero oscuro del catálogo ---------------------------------- */
.sp-catalog-hero {
  background: var(--sp-black);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
/* sin grid de líneas */
.sp-catalog-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,98,31,.15), transparent 65%);
  pointer-events: none;
}
.sp-catalog-hero .sp-container { position: relative; z-index: 1; }
.sp-catalog-hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--sp-white);
  margin: 10px 0 14px;
  line-height: 1.05;
}
.sp-catalog-hero__desc {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 580px;
  margin: 0;
}
.sp-catalog-hero--cat h1 { font-size: clamp(26px, 4.5vw, 42px); }

/* Layout ---------------------------------------------------- */
.sp-catalog-body {
  padding: 40px 0 72px;
  background: var(--sp-white);
}
.sp-catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
}

/* View header (título + contador) --------------------------- */
.sp-view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.sp-view-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--sp-dark);
}
.sp-view-count {
  font-size: 13px;
  color: var(--sp-gray-400);
  font-weight: 500;
}

/* Sidebar --------------------------------------------------- */
.sp-catalog-sidebar {
  position: sticky;
  top: calc(var(--sp-header-h) + 20px);
}

/* Buscador */
.sp-search-wrap {
  position: relative;
  margin-bottom: 14px;
}
.sp-search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 10px;
  font: inherit;
  font-size: 13.5px;
  outline: none;
  transition: all .2s;
  background: var(--sp-gray-100);
  color: var(--sp-dark);
}
.sp-search-input:focus {
  border-color: var(--sp-orange);
  background: var(--sp-white);
  box-shadow: 0 0 0 3px rgba(255,98,31,.1);
}
.sp-search-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--sp-gray-400);
  display: flex;
}

/* Caja de categorías */
.sp-sbox {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.sp-sbox__title {
  padding: 11px 16px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-orange);
  border-bottom: 1px solid var(--sp-gray-200);
  background: var(--sp-white);
}
.sp-sbox__body { padding: 8px; }
.sp-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sp-gray-600);
  text-decoration: none;
  transition: all .2s;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.sp-cat-btn:hover {
  background: var(--sp-gray-100);
  color: var(--sp-orange);
}
.sp-cat-btn:hover .sp-cdot,
.sp-cat-btn.is-active .sp-cdot { background: var(--sp-orange); }
.sp-cat-btn.is-active {
  background: rgba(255,98,31,.08);
  color: var(--sp-orange);
  font-weight: 800;
}
.sp-cdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sp-gray-300);
  flex-shrink: 0;
  transition: background .2s;
}

/* Grilla ---------------------------------------------------- */
.sp-catalog-main { min-width: 0; }
.sp-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Card de producto ------------------------------------------ */
.sp-pcard {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}
.sp-pcard:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.sp-pcard__img {
  aspect-ratio: 4 / 3;
  background: var(--sp-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--sp-gray-200);
  overflow: hidden;
}
.sp-pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform .3s;
}
.sp-pcard:hover .sp-pcard__img img { transform: scale(1.1); }
.sp-pcard__img--empty { background: var(--sp-gray-100); }
.sp-pcard__body {
  padding: 12px 14px 14px;
  background: var(--sp-gray-100);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Tag de categoría encima del título */
.sp-ptag {
  display: inline-block;
  background: var(--sp-white);
  color: var(--sp-orange);
  border: 1px solid rgba(255,98,31,.25);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  width: fit-content;
}
.sp-pcard__body h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--sp-dark);
  line-height: 1.35;
  margin: 0;
}
.sp-pcard__link {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--sp-orange);
  margin-top: auto;
}

/* Buscador JS — ocultar cards que no coinciden */
.sp-pcard.sp-hidden { display: none; }

/* Vacío */
.sp-catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--sp-gray-500);
  font-size: 15px;
}

/* Paginación */
.sp-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.sp-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.sp-pagination .page-numbers li a,
.sp-pagination .page-numbers li span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--sp-gray-200);
  color: var(--sp-gray-700);
  transition: all .2s;
  text-decoration: none;
}
.sp-pagination .page-numbers li a:hover {
  border-color: var(--sp-orange);
  color: var(--sp-orange);
}
.sp-pagination .page-numbers li span.current {
  background: var(--sp-orange);
  border-color: var(--sp-orange);
  color: var(--sp-white);
}
.sp-pagination .page-numbers li a.prev,
.sp-pagination .page-numbers li a.next {
  width: auto;
  padding: 0 14px;
  font-size: 13px;
}

/* Responsive del catálogo ----------------------------------- */
@media (max-width: 960px) {
  .sp-catalog-layout { grid-template-columns: 1fr; }
  .sp-catalog-sidebar { position: static; }
  .sp-sbox__body { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
  .sp-cat-btn { width: auto; padding: 7px 12px; }
  .sp-product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .sp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sp-catalog-body { padding: 28px 0 48px; }
  .sp-catalog-hero { padding: 36px 0; }
}

@media (max-width: 520px) {
}


/* ============================================================
   PÁGINAS DE CATEGORÍA — secciones adicionales
   ============================================================ */

/* Texto SEO de categoría ------------------------------------ */
.sp-cat-seo-section {
  background: var(--sp-white);
  border-top: 1px solid var(--sp-gray-200);
}
.sp-cat-seo-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.sp-cat-seo-aside h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-top: 10px;
  color: #0f0f12;
}
.sp-cat-seo-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sp-gray-700);
  margin-bottom: 16px;
}
.sp-cat-seo-body p:last-child { margin-bottom: 0; }
.sp-cat-seo-body strong { color: var(--sp-dark); font-weight: 700; }

/* FAQ de categoría (fondo gris, diferente al blanco del producto) */
.sp-cat-faq { background: var(--sp-gray-100); }

/* CTA de categoría */
.sp-cat-cta { background: var(--sp-gray-100); padding-top: 0; }

@media (max-width: 880px) {
  .sp-cat-seo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* CTA del catálogo general (entre grilla y FAQ) */
.sp-catalog-cta {
  background: var(--sp-white);
  padding: 0 0 56px;
}

/* =============================================================
   FRONT-PAGE (HOME)  v0.7.1
   Prefijo: sph- (SpillProtec Home)
============================================================= */

/* ---- Eyebrow — idéntico a versión estable, solo naranja en vez de gris ---- */
.sph-eyebrow {
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sp-orange);
  margin: 0 0 8px;
  display: block;
}
.sph-eyebrow--light { color: var(--sp-orange); opacity: .85; }

.sph-section-head { text-align: center; margin-bottom: 36px; }
.sph-section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 10px;
}
.sph-section-head p:not(.sph-eyebrow) {
  color: var(--sp-gray-600);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- HERO ---- */
.sph-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #f0f0f0);
}
.sph-hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 42%; height: 100%;
  background: #111115;
  pointer-events: none;
}
.sph-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0 72px;
}
.sph-hero__title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: .97;
  letter-spacing: -2px;
  margin: 12px 0 20px;
  font-weight: 950;
  color: #0f0f12;
}
.sph-hero__title em {
  font-style: normal;
  color: var(--sp-orange);
  display: block;
}
.sph-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--sp-gray-700);
  margin: 0;
}
.sph-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.sph-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.sph-stat strong {
  font-size: 28px;
  font-weight: 950;
  display: block;
}
.sph-stat strong span { color: var(--sp-orange); }
.sph-stat small { color: var(--sp-gray-600); font-size: 12px; }

/* Collage */
.sph-hero__collage { position: relative; min-height: 460px; }
.sph-cc {
  position: absolute;
  overflow: hidden;
  border: 7px solid white;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  border-radius: 22px;
}
.sph-cc--main  { right: 0; top: 16px; width: 80%; height: 290px; }
.sph-cc--left  { left: 0; bottom: 65px; width: 46%; height: 185px; }
.sph-cc--right { right: 36px; bottom: 10px; width: 36%; height: 155px; }
.sph-cc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sph-cc__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a20, #2a2a34);
}

/* ---- CATEGORÍAS ---- */
.sph-cats { padding: 56px 0; background: var(--sp-gray-100); }
.sph-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sph-cat-card {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 18px;
  padding: 24px 16px;
  transition: .25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.sph-cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--sp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}
.sph-cat-card:hover {
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.sph-cat-card:hover::after { transform: scaleX(1); }
.sph-cat-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: #fff0eb;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--sp-orange);
}
.sph-cat-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.2;
}
.sph-cat-card p {
  font-size: 12px;
  color: var(--sp-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* ---- ¿POR QUÉ SPILLPROTEC? ---- */
.sph-why {
  background: linear-gradient(135deg, #0a0a0d, #1c1c21);
  padding: 72px 0;
}
.sph-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sph-why__img {
  border-radius: 24px;
  overflow: hidden;
  height: 380px;
}
.sph-why__img img { width: 100%; height: 100%; object-fit: cover; }
.sph-why__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a20, #2a2a34);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.12);
  font-size: 12px;
}
.sph-why__title {
  color: var(--sp-white);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 0;
}
.sph-why__items {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sph-why__item { display: flex; gap: 14px; align-items: flex-start; }
.sph-why__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sp-orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
  color: var(--sp-white);
  font-weight: 900;
}
.sph-why__item h4 {
  color: var(--sp-white);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 3px;
}
.sph-why__item p {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.sph-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 44px;
}
.sph-stat-box {
  background: rgba(255,255,255,.04);
  padding: 24px 20px;
  text-align: center;
}
.sph-stat-num {
  font-size: 30px;
  font-weight: 950;
  color: var(--sp-orange);
  line-height: 1;
}
.sph-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  margin-top: 5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---- PRODUCTOS DESTACADOS — 4 columnas ---- */
.sph-featured { background: var(--sp-white); padding: 72px 0; }
.sph-featured__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}
.sph-featured__head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 4px 0 0;
}
.sph-featured__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sph-prod-card {
  background: var(--sp-gray-100);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 20px;
  overflow: hidden;
  transition: .25s;
}
.sph-prod-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.sph-prod-card__img-link { display: block; }
.sph-prod-card__img {
  aspect-ratio: 4 / 3;
  background: var(--sp-gray-100);
  overflow: hidden;
}
.sph-prod-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sph-prod-card__no-img {
  width: 100%; height: 100%;
  background: var(--sp-gray-100);
}
.sph-prod-card__body {
  padding: 16px 18px;
  background: var(--sp-gray-100);
  border-top: 1px solid var(--sp-gray-200);
}
.sph-tag {
  display: inline-block;
  background: var(--sp-white);
  color: #c94d10;
  border: 1px solid #ffd4be;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.sph-prod-card__body h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.25;
}
.sph-prod-card__body h3 a { text-decoration: none; color: inherit; }
.sph-prod-card__body p {
  font-size: 12px;
  color: var(--sp-gray-700);
  line-height: 1.55;
  margin: 0 0 10px;
}
.sph-link {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sp-orange);
  text-decoration: none;
}
.sph-no-products, .sph-no-posts {
  text-align: center;
  color: var(--sp-gray-700);
  padding: 40px 0;
}

/* ---- VIDEO ---- */
.sph-video { background: var(--sp-gray-100); padding: 72px 0; }
.sph-video__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.sph-video__player {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  aspect-ratio: 16/9;
}
.sph-video__player iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.sph-video__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0a0a0d, #1a1a20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sp-white);
  text-align: center;
  padding: 32px;
}
.sph-video__play {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--sp-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(235,99,44,.5);
}
.sph-video__placeholder h3 { font-size: 17px; font-weight: 800; margin: 0 0 5px; }
.sph-video__placeholder p {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.sph-video__content h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 14px;
}
.sph-video__content p:not(.sph-eyebrow) {
  font-size: 15px;
  color: var(--sp-gray-700);
  line-height: 1.65;
  margin: 0 0 24px;
}

/* ---- INDUSTRIAS ---- */
.sph-industries { background: var(--sp-dark); padding: 72px 0; }
.sph-ind__head { text-align: center; margin-bottom: 40px; }
.sph-ind__head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 10px;
  color: var(--sp-white);
}
.sph-ind__head p:not(.sph-eyebrow) { color: rgba(255,255,255,.7); font-size: 15px; }
.sph-ind__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sph-ind-card {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px 16px;
  transition: .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sph-ind-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--sp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}
.sph-ind-card:hover {
  border-color: rgba(235,99,44,.4);
  background: rgba(235,99,44,.08);
  transform: translateY(-3px);
}
.sph-ind-card:hover::after { transform: scaleX(1); }
.sph-ind-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(235,99,44,.15);
  border: 1px solid rgba(235,99,44,.25);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--sp-orange);
}
.sph-ind-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--sp-white);
  margin: 0 0 6px;
  line-height: 1.2;
}
.sph-ind-card p {
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  margin: 0;
}

/* ---- DESCARGAS ---- */
.sph-downloads { background: var(--sp-white); padding: 72px 0; }
.sph-dl__block {
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
}
.sph-dl__img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #000;
  min-height: 300px;
}
.sph-dl__img img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
}
.sph-dl__img-placeholder {
  width: 120px; height: 160px;
  background: #1a1a1a;
  border-radius: 8px;
  border: 2px solid #333;
}
.sph-dl__text {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
}
.sph-dl__text h2 {
  color: var(--sp-white);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 950;
  margin: 8px 0 14px;
  letter-spacing: -1px;
}
.sph-dl__text p:not(.sph-eyebrow) {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.sph-dl__items {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sph-dl__items li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
}
.sph-dl__items li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sp-orange);
  flex-shrink: 0;
}
.sph-dl__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-btn svg { flex-shrink: 0; }

/* ---- BLOG ---- */
.sph-blog { background: var(--sp-gray-100); padding: 72px 0; }
.sph-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sph-blog-card {
  background: var(--sp-white);
  border-radius: 20px;
  overflow: hidden;
  transition: .25s;
  border: 1.5px solid var(--sp-gray-200);
}
.sph-blog-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.sph-blog-card__img-link { display: block; }
.sph-blog-card__img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2f, #1a1a20);
}
.sph-blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sph-blog-card__no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2a2a2f, #1a1a20);
}
.sph-blog-card__body { padding: 20px; }
.sph-blog-tag {
  display: inline-block;
  background: #fff0eb;
  color: var(--sp-orange);
  border: 1px solid #ffd4be;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.sph-blog-card__body h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.35;
}
.sph-blog-card__body h3 a { text-decoration: none; color: inherit; }
.sph-blog-card__body p {
  font-size: 12.5px;
  color: var(--sp-gray-700);
  line-height: 1.55;
  margin: 0 0 14px;
}

/* ---- FAQ HOME — usa las mismas clases .sp-faq-* del catálogo ---- */
.sph-faq { background: var(--sp-white); padding: 72px 0; }
.sph-faq__head { text-align: center; margin-bottom: 40px; }
.sph-faq__head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0;
}

/* ---- CTA FINAL ---- */
.sph-cta { background: var(--sp-gray-100); padding: 56px 0 72px; }
.sph-cta__block {
  background: var(--sp-orange);
  border-radius: 22px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.sph-cta__block h2 {
  color: var(--sp-white);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 950;
  margin: 0 0 6px;
  letter-spacing: -1px;
}
.sph-cta__block p { color: rgba(255,255,255,.88); margin: 0; font-size: 15px; }
.sp-btn--dark { background: var(--sp-dark); color: var(--sp-white); }
.sp-btn--dark:hover { background: #0a0a0d; }

/* ---- RESPONSIVE HOME ---- */
@media (max-width: 1100px) {
  .sph-featured__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .sph-cats__grid,
  .sph-ind__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .sph-hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .sph-hero::after { display: none; }
  .sph-hero__collage { min-height: 260px; }
  .sph-cc--main  { width: 70%; height: 200px; right: 0; }
  .sph-cc--left  { width: 44%; height: 130px; bottom: 30px; }
  .sph-cc--right { width: 32%; height: 110px; bottom: 0; right: 20px; }
  .sph-why__grid,
  .sph-video__grid { grid-template-columns: 1fr; gap: 32px; }
  .sph-why__img { height: 260px; }
  .sph-dl__block { grid-template-columns: 1fr; }
  .sph-blog__grid { grid-template-columns: repeat(2, 1fr); }
  .sph-cta__block { flex-direction: column; text-align: center; padding: 36px 24px; }
}
@media (max-width: 640px) {
  .sph-featured__grid { grid-template-columns: repeat(2, 1fr); }
  .sph-blog__grid { grid-template-columns: 1fr; }
  .sph-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .sph-ind__grid  { grid-template-columns: repeat(2, 1fr); }
  .sph-stats-row  { grid-template-columns: repeat(2, 1fr); }
  .sph-featured__head { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   PAGE — SERVICIOS
   Prefijo: sps- (SpillProtec Servicios)
============================================================= */

/* ---- Eyebrows de la página servicios ---- */
/* Eyebrows servicios — naranja + centrado garantizado */
/* === EYEBROWS SERVICIOS — regla única y definitiva === */
.sps-eyebrow,
.sps-eyebrow--dark,
.sps-eyebrow--light {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sp-orange) !important;
  margin: 0 0 10px;
  display: block;
  opacity: 1;
  text-align: center;
  width: 100%;
}
/* Izquierda: en hero y en columnas */
.sps-hero .sps-eyebrow,
.sps-intro__text .sps-eyebrow--dark,
.sps-where__text .sps-eyebrow--light,
.sps-why__left .sps-eyebrow--dark { text-align: left; }
/* ---- HERO ---- */
.sps-hero {
  background: var(--sp-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.sps-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,98,31,.07), transparent 65%);
  pointer-events: none;
}
.sps-hero .sp-container { position: relative; z-index: 1; }
.sps-hero__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1.0;
  color: var(--sp-white);
  margin: 10px 0 18px;
}
.sps-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  max-width: 620px;
}

/* ---- INTRO ---- */
.sps-intro {
  background: var(--sp-white);
  padding: 72px 0;
}
.sps-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sps-intro__text h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 16px;
  line-height: 1.05;
}
.sps-intro__text p {
  color: var(--sp-gray-700);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.sps-intro__text p:last-child { margin: 0; }
.sps-intro__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sps-stat-card {
  background: var(--sp-gray-100);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: .2s;
}
.sps-stat-card:hover {
  border-color: var(--sp-orange);
  box-shadow: 0 8px 24px rgba(255,98,31,.1);
}
.sps-stat-card strong {
  font-size: 26px;
  font-weight: 950;
  color: var(--sp-orange);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.sps-stat-card span {
  font-size: 13px;
  color: var(--sp-gray-600);
  font-weight: 600;
}

/* ---- 4 SERVICIOS ---- */
.sps-services {
  background: var(--sp-gray-100);
  padding: 72px 0;
}
.sps-services__head {
  text-align: center;
  margin-bottom: 40px;
}
.sps-services__head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 10px;
}
.sps-services__head p {
  color: var(--sp-gray-600);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}
.sps-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sps-service-card {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 18px;
  padding: 24px 16px;
  transition: .25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sps-service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--sp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}
.sps-service-card:hover {
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.sps-service-card:hover::after { transform: scaleX(1); }
.sps-service-card__icon {
  width: 54px; height: 54px;
  background: #fff0eb;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--sp-orange);
}
.sps-service-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.2;
}
.sps-service-card p {
  color: var(--sp-gray-700);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---- DÓNDE USAR ---- */
.sps-where {
  background: var(--sp-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.sps-where::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,98,31,.08), transparent 65%);
  pointer-events: none;
}
.sps-where__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.sps-where__img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.sps-where__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sps-where__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a20, #2a2a34);
}
.sps-where__text h2 {
  color: var(--sp-white);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 20px;
  line-height: 1.05;
}
.sps-where__text p {
  color: rgba(255,255,255,.85);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.sps-where__text p:last-child { margin: 0; }
.sps-where__text strong { color: rgba(255,255,255,.9); font-weight: 700; }

/* ---- POR QUÉ ELEGIRNOS — acordeón ---- */
.sps-why {
  background: var(--sp-white);
  padding: 72px 0;
}
.sps-why__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.sps-why__left h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  letter-spacing: -1.5px;
  line-height: 1.0;
  margin: 8px 0 20px;
}
.sps-why__left p {
  color: var(--sp-gray-700);
  font-size: 15px;
  line-height: 1.7;
}
/* Acordeón reutiliza .sp-faq-item / .sp-faq-btn / .sp-faq-answer */
.sps-acc-item { border-bottom: 1px solid var(--sp-gray-200); }
.sps-acc-item:first-child { border-top: 1px solid var(--sp-gray-200); }
.sps-acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-dark);
  transition: color .2s;
}
.sps-acc-btn:hover { color: var(--sp-orange); }
.sps-acc-btn[aria-expanded="true"] { color: var(--sp-orange); }
.sps-acc-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--sp-gray-200);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--sp-gray-400);
  transition: .25s;
  line-height: 1;
}
.sps-acc-btn[aria-expanded="true"] .sps-acc-icon {
  background: var(--sp-orange);
  border-color: var(--sp-orange);
  color: var(--sp-white);
  transform: rotate(45deg);
}
.sps-acc-answer { background: var(--sp-white); }
.sps-acc-answer p {
  padding-bottom: 16px;
  color: var(--sp-gray-600);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ---- CTA FINAL ---- */
.sps-cta {
  background: var(--sp-gray-100);
  padding: 56px 0 72px;
}
.sps-cta__block {
  background: var(--sp-orange);
  border-radius: 18px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sps-cta__block h2 {
  color: var(--sp-white);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 950;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.sps-cta__block p {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  max-width: 480px;
}
.sps-cta__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-left: auto;
}
.sps-cta__quote {
  background: var(--sp-white);
  color: var(--sp-orange);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--sp-radius);
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
  border: none;
}
.sps-cta__quote:hover {
  background: #f5f5f5;
}

/* ---- RESPONSIVE SERVICIOS ---- */
@media (max-width: 1024px) {
  .sps-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .sps-intro__grid,
  .sps-where__grid,
  .sps-why__grid { grid-template-columns: 1fr; gap: 36px; }
  .sps-cta__block { flex-direction: column; text-align: center; padding: 28px 20px; }
  .sps-cta__btns { justify-content: center; margin-left: 0; }
}
@media (max-width: 640px) {
  .sps-intro__stats { grid-template-columns: 1fr 1fr; }
  .sps-services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   ESTILOS BASE COMPARTIDOS — todas las páginas internas
   Prefijo: sp-page-  (reutilizable en Servicios, Nosotros, Descargas, Contacto, Blog)
============================================================= */

/* Hero base — igual en todas las páginas */
.sp-page-hero {
  background: var(--sp-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.sp-page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,98,31,.07), transparent 65%);
  pointer-events: none;
}
.sp-page-hero .sp-container { position: relative; z-index: 1; }

.sp-page-hero__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 950;
  letter-spacing: -2px;
  line-height: 1.0;
  color: var(--sp-white);
  margin: 10px 0 18px;
}
.sp-page-hero__lead {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  max-width: 620px;
}

/* === EYEBROWS PÁGINAS — regla única y definitiva === */
.sp-page-eyebrow,
.sp-page-eyebrow--dark {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sp-orange) !important;
  margin: 0 0 10px;
  display: block;
  opacity: 1;
  text-align: center;
  width: 100%;
}
/* Izquierda: en hero, en columnas y en formulario de contacto */
.sp-page-hero .sp-page-eyebrow,
.spn-quienes__text .sp-page-eyebrow,
.spn-comp__left .sp-page-eyebrow,
.spc-form-block .sp-page-eyebrow { text-align: left; }

/* Badges del hero */
.sp-page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.sp-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.sp-page-badge__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sp-orange);
  flex-shrink: 0;
}

/* =============================================================
   PAGE — SOBRE NOSOTROS
   Prefijo: spn-
============================================================= */

/* Cabecera de sección reutilizable */
.spn-section-head {
  text-align: center;
  margin-bottom: 40px;
}
.spn-section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 10px;
}
.spn-section-head p {
  color: var(--sp-gray-600);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}


/* ---- Quiénes somos ---- */
.spn-quienes {
  background: var(--sp-white);
  padding: 72px 0;
}
.spn-quienes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spn-quienes__text h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 16px;
}
.spn-quienes__text p {
  color: var(--sp-gray-700);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.spn-quienes__text p:last-child { margin: 0; }
.spn-quienes__visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.spn-quienes__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.spn-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a20, #2a2a34);
}

/* ---- Misión, Visión, Valores ---- */
.spn-mvv {
  background: var(--sp-gray-100);
  padding: 72px 0;
}
.spn-mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.spn-mvv-card {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 20px;
  padding: 32px 28px;
  transition: .25s;
  position: relative;
  overflow: hidden;
  text-align: left;
}
.spn-mvv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--sp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}
.spn-mvv-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.09);
  transform: translateY(-3px);
  border-color: transparent;
}
.spn-mvv-card:hover::after { transform: scaleX(1); }
.spn-mvv-card__icon {
  width: 52px; height: 52px;
  background: #fff0eb;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  margin-left: 0;
  color: var(--sp-orange);
}
.spn-mvv-card h3 {
  font-size: 18px;
  font-weight: 950;
  margin-bottom: 10px;
}
.spn-mvv-card p {
  color: var(--sp-gray-700);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* ---- Lo que nos diferencia ---- */
.spn-diferencia {
  background: var(--sp-white);
  padding: 72px 0;
}
.spn-dif__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.spn-dif-card {
  background: var(--sp-gray-100);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 18px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: .25s;
  position: relative;
  overflow: hidden;
}
.spn-dif-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--sp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s;
}
.spn-dif-card:hover {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.spn-dif-card:hover::after { transform: scaleX(1); }
.spn-dif-card__icon {
  width: 54px; height: 54px;
  background: #fff0eb;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--sp-orange);
}
.spn-dif-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
}
.spn-dif-card p {
  font-size: 12.5px;
  color: var(--sp-gray-700);
  line-height: 1.55;
  margin: 0;
}

/* ---- Nuestro compromiso — oscuro, pasos ---- */
.spn-compromiso {
  background: linear-gradient(135deg, #0a0a0d, #1c1c21);
  padding: 72px 0;
}
.spn-comp__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.spn-comp__left h2 {
  color: var(--sp-white);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -1px;
  margin: 8px 0 16px;
}
.spn-comp__left p {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.7;
}
.spn-comp__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.spn-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.spn-step:first-child { padding-top: 0; }
.spn-step:last-child { border-bottom: none; padding-bottom: 0; }
.spn-step__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,98,31,.15);
  border: 1.5px solid rgba(255,98,31,.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--sp-orange);
}
.spn-step__body h5 {
  color: var(--sp-white);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
}
.spn-step__body p {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ---- Responsive Nosotros ---- */
@media (max-width: 880px) {
  .spn-quienes__grid,
  .spn-comp__grid { grid-template-columns: 1fr; gap: 36px; }
  .spn-mvv__grid { grid-template-columns: 1fr; }
  .sp-page-hero__badges { gap: 8px; }
}
@media (max-width: 640px) {
  .spn-dif__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   PAGE — DESCARGAS   prefijo: spd-
============================================================= */
.spd-viewer { background: var(--sp-gray-100); padding: 56px 0 72px; }
.spd-viewer__head { text-align: center; margin-bottom: 32px; }
.spd-viewer__head h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 950; letter-spacing: -1px; margin: 8px 0 6px;
}
.spd-viewer__head p { color: var(--sp-gray-600); font-size: 14px; }

.spd-viewer__wrap {
  background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 16px;
  overflow: hidden;
}
.spd-viewer__toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: var(--sp-gray-100);
  border-bottom: 1px solid var(--sp-gray-200);
  gap: 12px;
}
.spd-viewer__label {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--sp-gray-600);
}
.spd-dl-btn { padding: 8px 16px; font-size: 13px; }
.spd-viewer__frame { width: 100%; height: 680px; border: none; display: block; }
.spd-viewer__empty {
  text-align: center; padding: 72px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: var(--sp-gray-400);
}
.spd-viewer__empty p { max-width: 400px; font-size: 14px; color: var(--sp-gray-600); }

/* Índice */
.spd-index { background: var(--sp-white); padding: 72px 0; }
.spd-section-head { text-align: center; margin-bottom: 36px; }
.spd-section-head h2 {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 950; letter-spacing: -1px; margin: 8px 0 10px;
}
.spd-section-head p { color: var(--sp-gray-600); font-size: 15px; }
.spd-index__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 800px; margin: 0 auto;
}
.spd-index-card {
  background: var(--sp-gray-100);
  border: 1.5px solid var(--sp-gray-200);
  border-radius: 14px;
  padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: .2s;
}
.spd-index-card:hover { border-color: var(--sp-orange); box-shadow: 0 6px 20px rgba(255,98,31,.1); }
.spd-index-card__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: #fff0eb; border-radius: 10px;
  display: grid; place-items: center; color: var(--sp-orange);
}
.spd-index-card h4 { font-size: 14px; font-weight: 800; margin: 0 0 4px; }
.spd-index-card p { font-size: 12.5px; color: var(--sp-gray-600); margin: 0; }

/* Bloque descarga — reutiliza .sph-dl__* del home */
.spd-download { background: var(--sp-white); padding: 0 0 72px; }
.spd-dl__block {
  border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
}
.spd-dl__img {
  background: #000; padding: 40px;
  display: flex; align-items: center; justify-content: center; min-height: 280px;
}
.spd-dl__img img { max-height: 240px; width: auto; object-fit: contain; filter: drop-shadow(0 16px 32px rgba(0,0,0,.6)); }
.spd-dl__img-placeholder { width: 120px; height: 160px; background: #1a1a1a; border-radius: 8px; border: 2px solid #333; }
.spd-dl__text {
  background: #0a0a0a; padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.spd-dl__text h2 { color: var(--sp-white); font-size: clamp(20px, 2.5vw, 28px); font-weight: 950; letter-spacing: -1px; margin: 8px 0 12px; }
.spd-dl__text p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.spd-dl__list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 9px; }
.spd-dl__list li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: 13.5px; }
.spd-dl__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sp-orange); flex-shrink: 0; }

@media (max-width: 880px) {
  .spd-viewer__frame { height: 500px; }
  .spd-dl__block { grid-template-columns: 1fr; }
  .spd-index__grid { grid-template-columns: 1fr; }
}

/* =============================================================
   PAGE — CONTACTO   prefijo: spc-
============================================================= */

/* Formulario */
.spc-section { background: var(--sp-gray-100); padding: 72px 0; }
.spc-inner { max-width: 760px; margin: 0 auto; }

.spc-form-block h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 950; letter-spacing: -1px; margin: 8px 0 6px; text-align: left;
}
.spc-subtitle { color: var(--sp-gray-600); font-size: 14px; margin-bottom: 28px; text-align: left; }

.spc-form { display: flex; flex-direction: column; gap: 14px; }
.spc-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Reutiliza .sp-fi, .sp-ft, .sp-checkbox, .sp-drawer__field del drawer */
.spc-form .sp-drawer__field label { font-size: 13px; font-weight: 700; color: var(--sp-dark); display: block; margin-bottom: 5px; }
.spc-form .sp-fi, .spc-form .sp-ft { width: 100%; }

.spc-form__footer {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px;
}
.spc-form__legal { font-size: 12px; color: var(--sp-gray-400); margin: 0; }

.spc-success {
  display: flex; align-items: flex-start; gap: 14px;
  background: #f0fdf4; border: 1.5px solid #86efac;
  border-radius: var(--sp-radius); padding: 20px; margin-top: 8px;
}
.spc-success__icon {
  width: 36px; height: 36px; border-radius: 50%; background: #16a34a;
  display: grid; place-items: center; color: white; font-size: 18px; font-weight: 900; flex-shrink: 0;
}
.spc-success h4 { font-size: 15px; font-weight: 800; margin: 0 0 4px; color: #15803d; }
.spc-success p { font-size: 13.5px; color: #166534; margin: 0; }

/* Canales */
.spc-canales { background: var(--sp-white); padding: 72px 0; }
.spc-canales__head { text-align: center; margin-bottom: 36px; }
.spc-canales__head h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 950; letter-spacing: -1px; margin: 8px 0 8px; }
.spc-canales__head p { color: var(--sp-gray-600); font-size: 15px; }
.spc-canales__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto;
}
.spc-canal-card {
  background: var(--sp-gray-100); border: 1.5px solid var(--sp-gray-200);
  border-radius: 20px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: .2s; position: relative; overflow: hidden;
}
.spc-canal-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px; background: var(--sp-orange);
  transform: scaleX(0); transform-origin: left; transition: .25s;
}
.spc-canal-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-3px); border-color: transparent; }
.spc-canal-card:hover::after { transform: scaleX(1); }
.spc-canal-card__icon {
  width: 52px; height: 52px; background: #fff0eb;
  border-radius: 14px; display: grid; place-items: center; color: var(--sp-orange);
}
.spc-canal-card h4 { font-size: 16px; font-weight: 800; margin: 0; }
.spc-canal-card p { font-size: 13px; color: var(--sp-gray-600); margin: 0; flex: 1; }
.spc-canal-btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 880px) {
  .spc-canales__grid { grid-template-columns: 1fr; }
  .spc-row-2 { grid-template-columns: 1fr; }
}

/* ── Sidebar: subcategorías ── */
.sp-cat-btn--parent {
  font-weight: 700;
  color: var(--sp-dark);
  margin-top: 4px;
}
.sp-cat-btn--sub {
  padding-left: 20px;
  font-size: 13px;
  color: var(--sp-gray-600);
}
.sp-cdot--sub {
  width: 5px; height: 5px;
  background: var(--sp-gray-300);
}
.sp-cat-btn--sub:hover .sp-cdot--sub,
.sp-cat-btn--sub.is-active .sp-cdot--sub { background: var(--sp-orange); }
.sp-cat-btn--sub.is-active { color: var(--sp-orange); }

/* ── Cards catálogo ── */
.sp-pcard__desc {
  font-size: 12px;
  color: var(--sp-gray-600);
  line-height: 1.5;
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-pcard__title { font-size: 17px; font-weight: 900; margin: 4px 0 6px; line-height: 1.2; }
.sp-pcard__link {
  display: block;
  text-align: center;
  margin-top: 8px;
}

/* ── Home: grilla 6 categorías ── */
.sph-cats__grid--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .sph-cats__grid--6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .sph-cats__grid--6 { grid-template-columns: repeat(2, 1fr); } }

/* ── Visor PDF.js ── */
.spd-viewer__canvas {
  overflow: auto;
  max-height: 520px;
  background: #555;
  display: flex;
  justify-content: center;
  padding: 16px;
}
.spd-viewer__canvas canvas { box-shadow: 0 4px 20px rgba(0,0,0,.4); max-width: 100%; }
.spd-toolbar__nav,
.spd-toolbar__zoom {
  display: flex; align-items: center; gap: 6px;
}
.spd-tb-btn {
  width: 30px; height: 30px;
  border: 1.5px solid var(--sp-orange);
  border-radius: 6px;
  background: var(--sp-white);
  display: grid; place-items: center;
  cursor: pointer; transition: .15s;
  color: var(--sp-orange);
}
.spd-tb-btn:hover { background: var(--sp-orange); color: var(--sp-white); }
.spd-tb-page {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--sp-orange);
}
.spd-tb-page input {
  width: 44px; text-align: center;
  border: 1.5px solid var(--sp-orange); border-radius: 6px;
  padding: 4px; font-size: 13px; font-family: var(--sp-font);
  color: var(--sp-orange);
}
.spd-tb-zoom-val { font-size: 12px; color: var(--sp-orange); min-width: 38px; text-align: center; font-weight: 700; }
.spd-viewer__notice {
  text-align: center; font-size: 11.5px; color: var(--sp-gray-400);
  padding: 8px 16px; background: var(--sp-gray-50);
  border-top: 1px solid var(--sp-gray-200);
  margin: 0;
}
.spd-viewer__pages { font-size: 12px; color: var(--sp-gray-400); }

/* ── Sidebar: marcadores diferenciados ── */
.sp-cat-all-mark {
  font-size: 10px;
  color: var(--sp-orange);
  margin-right: 8px;
  flex-shrink: 0;
}
.sp-cat-dash {
  font-size: 13px;
  color: var(--sp-gray-400);
  margin-right: 6px;
  flex-shrink: 0;
  font-weight: 400;
}
.sp-cat-btn--sub {
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--sp-gray-600);
}
.sp-cat-btn--sub:hover { color: var(--sp-orange); }
.sp-cat-btn--sub.is-active { color: var(--sp-orange); font-weight: 700; }
.sp-cat-btn--sub.is-active .sp-cat-dash { color: var(--sp-orange); }

/* ── Visor PDF: wrap 2 páginas ── */
.spd-canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  background: #555;
  overflow: auto;
  max-height: 540px;
}
.spd-page-canvas {
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  flex-shrink: 0;
  max-width: calc(50% - 4px);
}

/* ── Contacto: éxito oculto por defecto ── */
.spc-success[hidden] { display: none !important; }

/* ── Sidebar marcadores ── */
.sp-cat-btn--all { font-weight: 700; }
.sp-cat-all-mark { color: var(--sp-orange); margin-right: 8px; font-size: 11px; }
.sp-cat-btn--parent { font-weight: 700; color: var(--sp-dark); margin-top: 2px; }
.sp-cat-btn--sub {
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--sp-gray-600);
  margin-top: 0;
}
.sp-cat-btn--sub:hover { color: var(--sp-orange); }
.sp-cat-btn--sub.is-active { color: var(--sp-orange); font-weight: 700; }
.sp-cat-sub-dash { color: var(--sp-gray-400); margin-right: 7px; font-size: 13px; }
.sp-cat-btn--sub.is-active .sp-cat-sub-dash { color: var(--sp-orange); }
/* ── Visor PDF.js ── */
.spd-canvas-area {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  background: #555;
  overflow: auto;
  max-height: 620px;
  min-height: 400px;
}
.spd-canvas {
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  flex-shrink: 0;
  display: block;
}


/* =============================================================
   BLOG — Listado y Articulo   prefijo: spb-
============================================================= */

.spb-section { background: var(--sp-gray-100); padding: 48px 0 80px; }

/* Lista de entradas (filas horizontales) */
.spb-list { display: flex; flex-direction: column; gap: 0; }
.spb-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  align-items: start; padding: 28px 0;
  border-bottom: 1px solid var(--sp-gray-200); text-decoration: none;
}
.spb-row:first-child { padding-top: 0; }
.spb-row:last-child { border-bottom: none; }
.spb-row__img-link { display: block; }
.spb-row__img {
  border-radius: var(--sp-radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #2a2a2f, #1a1a20);
}
.spb-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.spb-row:hover .spb-row__img img { transform: scale(1.04); }
.spb-row__no-img { width: 100%; height: 100%; background: linear-gradient(135deg, #2a2a2f, #1a1a20); }
.spb-row__body { display: flex; flex-direction: column; gap: 6px; }
.spb-row__meta { display: flex; align-items: center; gap: 10px; }
.spb-date { font-size: 12px; color: var(--sp-gray-500); font-weight: 500; }
.spb-row__title { font-size: 18px; font-weight: 900; line-height: 1.3; letter-spacing: -.3px; margin: 0; }
.spb-row__title a { text-decoration: none; color: var(--sp-dark); transition: color .2s; }
.spb-row__title a:hover { color: var(--sp-orange); }
.spb-row__excerpt {
  font-size: 13.5px; color: var(--sp-gray-600); line-height: 1.65; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.spb-row.sp-hidden { display: none; }

/* Paginacion */
.spb-pagination { margin-top: 48px; text-align: center; }
.spb-pagination .nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.spb-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--sp-radius);
  font-size: 13px; font-weight: 700; color: var(--sp-dark); background: var(--sp-white);
  border: 1.5px solid var(--sp-gray-200); transition: all .2s;
}
.spb-pagination .page-numbers:hover { border-color: var(--sp-orange); color: var(--sp-orange); }
.spb-pagination .page-numbers.current { background: var(--sp-orange); color: var(--sp-white); border-color: var(--sp-orange); }
.spb-empty { text-align: center; padding: 80px 20px; color: var(--sp-gray-500); font-size: 15px; }

/* =============================================================
   BLOG — Articulo individual (single.php)
============================================================= */

/* Breadcrumb — naranja */
.spb-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 20px; flex-wrap: wrap; }
.spb-breadcrumb a { color: var(--sp-orange) !important; opacity: .75; transition: opacity .2s; text-decoration: none; }
.spb-breadcrumb a:hover { opacity: 1; }
.spb-breadcrumb .spb-breadcrumb__sep { color: var(--sp-orange) !important; opacity: .5; }
.spb-breadcrumb .spb-breadcrumb__current { color: var(--sp-orange) !important; opacity: 1; font-weight: 600; }

/* Meta */
.spb-single-meta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5);
}
.spb-single-meta__sep { color: rgba(255,255,255,.25); }

/* Layout: contenido + sidebar */
.spb-article { padding: 48px 0 72px; }
.spb-article__layout {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 48px; align-items: start; max-width: 1080px; margin: 0 auto;
}

/* Imagen destacada al final */
.spb-article__featured { border-radius: var(--sp-radius-lg); overflow: hidden; margin-top: 32px; margin-bottom: 8px; }
.spb-article__featured img { width: 100%; height: auto; display: block; }

/* Cuerpo del articulo */
.spb-article__body.sp-rich h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; line-height: 1.3; }
.spb-article__body.sp-rich h3 { font-size: 18px; font-weight: 800; margin: 28px 0 10px; line-height: 1.3; }
.spb-article__body.sp-rich p { font-size: 15px; line-height: 1.8; color: var(--sp-gray-800); margin-bottom: 18px; }
.spb-article__body.sp-rich ul,
.spb-article__body.sp-rich ol { padding-left: 24px; margin-bottom: 18px; }
.spb-article__body.sp-rich li { font-size: 15px; line-height: 1.75; margin-bottom: 6px; color: var(--sp-gray-800); }
.spb-article__body.sp-rich blockquote {
  border-left: 4px solid var(--sp-orange); padding: 16px 20px; margin: 24px 0;
  background: var(--sp-gray-50); border-radius: 0 var(--sp-radius) var(--sp-radius) 0;
  font-size: 15px; color: var(--sp-gray-700); font-style: italic;
}
.spb-article__body.sp-rich img { max-width: 100%; height: auto; border-radius: var(--sp-radius); margin: 20px 0; }
.spb-article__body.sp-rich hr { border: none; border-top: 1px solid var(--sp-gray-200); margin: 32px 0; }

/* Tags */
.spb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--sp-gray-200); }
.spb-tag {
  display: inline-block; padding: 4px 12px; background: var(--sp-gray-100);
  border: 1px solid var(--sp-gray-200); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--sp-gray-700); transition: all .2s;
}
.spb-tag:hover { border-color: var(--sp-orange); color: var(--sp-orange); }

/* Compartir */
.spb-share { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--sp-gray-200); }
.spb-share__label { font-size: 13px; font-weight: 700; color: var(--sp-dark); }
.spb-share__btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sp-gray-100); display: grid; place-items: center;
  color: var(--sp-gray-600); transition: all .2s;
}
.spb-share__btn:hover { background: var(--sp-orange); color: var(--sp-white); }

/* Sidebar del articulo */
.spb-sidebar { position: sticky; top: calc(var(--sp-header-h) + 24px); }
.spb-sidebar__block {
  background: var(--sp-gray-50); border: 1.5px solid var(--sp-gray-200);
  border-radius: var(--sp-radius-lg); padding: 24px; margin-bottom: 20px;
}
.spb-sidebar__block h4 {
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--sp-dark); margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--sp-orange); display: inline-block;
}
.spb-sidebar__block ul { list-style: none; }
.spb-sidebar__block li { margin-bottom: 6px; }
.spb-sidebar__block li a { font-size: 13.5px; color: var(--sp-gray-700); display: flex; justify-content: space-between; transition: color .2s; }
.spb-sidebar__block li a:hover { color: var(--sp-orange); }
.spb-sidebar__block li a span { color: var(--sp-gray-400); font-size: 12px; }
.spb-sidebar__cta { background: var(--sp-dark); border-color: var(--sp-dark); }
.spb-sidebar__cta h4 { color: var(--sp-white); border-bottom-color: var(--sp-orange); }
.spb-sidebar__cta p { font-size: 13px; color: rgba(255,255,255,.6); margin: 0 0 16px; line-height: 1.6; }

/* Leer siguiente */
.spb-readnext { background: var(--sp-gray-100); padding: 56px 0 64px; border-top: 1px solid var(--sp-gray-200); }
.spb-readnext__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--sp-orange); margin: 0 0 16px; }
.spb-readnext__card {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center;
  background: var(--sp-white); border: 1.5px solid var(--sp-gray-200);
  border-radius: var(--sp-radius-xl); overflow: hidden; text-decoration: none; transition: all .25s;
}
.spb-readnext__card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.08); transform: translateY(-2px); border-color: transparent; }
.spb-readnext__img { height: 100%; min-height: 180px; overflow: hidden; }
.spb-readnext__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spb-readnext__body { padding: 24px 28px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.spb-readnext__body h3 { font-size: 18px; font-weight: 900; color: var(--sp-dark); line-height: 1.3; margin: 0; }
.spb-readnext__body p { font-size: 13px; color: var(--sp-gray-600); line-height: 1.6; margin: 0; }

/* Responsive blog */
@media (max-width: 960px) {
  .spb-article__layout { grid-template-columns: 1fr; }
  .spb-sidebar { position: static; }
}
@media (max-width: 880px) {
  .spb-row { grid-template-columns: 240px 1fr; gap: 24px; }
  .spb-readnext__card { grid-template-columns: 200px 1fr; }
}
@media (max-width: 640px) {
  .spb-row { grid-template-columns: 1fr; gap: 16px; }
  .spb-row__img { aspect-ratio: 16 / 9; }
  .spb-row__title { font-size: 17px; }
  .spb-readnext__card { grid-template-columns: 1fr; }
  .spb-readnext__img { min-height: 160px; }
  .spb-readnext__body { padding: 20px; }
}
