/* Componentes · Control de Plagas en Tenerife */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

/* Secundario: ámbar, legible sobre fondo claro y sobre héroes oscuros */
.btn-accent {
    background-color: #F59E0B;
    color: #0F172A;
}

.btn-accent:hover {
    background-color: #D97706;
    color: #0F172A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

/* Terciario: contorno, para acciones de bajo compromiso */
.btn-ghost {
    background: transparent;
    color: var(--primary-color);
    box-shadow: inset 0 0 0 2px currentColor;
}

.btn-ghost:hover {
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}

/* Cards with Glassmorphism influence */
.card {
    background: var(--bg-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}


.card-content {
    padding: 24px;
}

/* Service Tiles Enhancement */
.service-tile {
    background: white;
    padding: 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 1;
    height: 100%;
}

.service-tile-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-tile:hover .service-tile-img {
    transform: scale(1.05);
}

.service-tile-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(79, 70, 229, 0.3);
}

.service-tile:hover::before {
    opacity: 1;
}

.service-tile .icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-tile .icon-wrap svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    transition: transform 0.4s ease;
}

.service-tile:hover .icon-wrap {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05) rotate(5deg);
    border-radius: 12px;
}

.service-tile:hover .icon-wrap svg {
    transform: scale(1.1);
}

.service-tile h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-tile:hover h3 {
    color: var(--primary-color);
}

.service-tile p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-tile a {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
}

.service-tile a::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-tile a:hover::after {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════
   Header & Nav · rediseño 2026-07
   Top bar informativa · header sticky con sombra al hacer scroll ·
   dropdowns accesibles (hover + focus) · drawer móvil con acordeón
   ═══════════════════════════════════════════════════════════════ */
.top-bar {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #1e1b4b 100%);
    color: #cbd5e1;
    padding: 9px 0;
    font-size: 0.83rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.top-bar-item strong {
    color: #fff;
    font-weight: 600;
}

.top-bar a {
    color: #fff;
    font-weight: 600;
}

.top-bar a:hover {
    color: var(--accent-color);
}

@media (max-width: 860px) {
    .top-bar {
        font-size: 0.78rem;
        padding: 7px 0;
    }

    .top-bar-inner {
        justify-content: center;
        gap: 10px;
    }

    .top-bar-item.is-secondary {
        display: none;
    }
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.35);
    background: rgba(255, 255, 255, 0.97);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    height: 84px;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .nav-container {
    height: 70px;
}

/* ── Logo ── */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    height: 52px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .site-logo {
    height: 44px;
}

.logo-link:hover .site-logo {
    opacity: 0.85;
}

/* ── Botón hamburguesa ── */
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    transition: var(--transition-base);
}

.nav-toggle:hover {
    border-color: var(--primary-color);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--secondary-color);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
}

/* ── Service page hero variant ── */
.service-hero {
    position: relative;
    padding: 90px 0 80px;
    color: white;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e1b4b 100%);
}

.service-hero .hero-title {
    font-size: 2.8rem;
}

@media (max-width: 768px) {
    .service-hero .hero-title {
        font-size: 2rem;
    }
}

/* ── Stats band ── */
.stats-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.stats-band-item {
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stats-band-item:last-child {
    border-right: none;
}

.stats-band-item .stat-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: #06B6D4;
    display: block;
    line-height: 1;
}

.stats-band-item .stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: block;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .stats-band {
        grid-template-columns: 1fr;
    }

    .stats-band-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .stats-band-item:last-child {
        border-bottom: none;
    }
}

/* ── Pests icon grid ── */
.pest-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.pest-icon-item {
    text-align: center;
    padding: 20px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: default;
}

.pest-icon-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(79,70,229,0.1);
}

a.pest-icon-item {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

a.pest-icon-item:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Subtítulo de los bloques de enlazado semántico del silo */
.silo-sub {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 32px 0 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.silo-sub:first-of-type {
    margin-top: 0;
}

.pest-icon-item .pest-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.pest-icon-item span:last-child {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .pest-icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.main-nav {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.nav-list > li {
    position: relative;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--text-main);
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.has-dropdown:hover > .nav-link {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.07);
}

/* Página actual */
.nav-link.is-active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-color);
}

.nav-caret {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.has-dropdown:hover > .nav-link .nav-caret,
.has-dropdown:focus-within > .nav-link .nav-caret {
    transform: rotate(180deg);
}

/* CTA de cabecera */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-nav-cta {
    padding: 11px 22px;
    font-size: 0.92rem;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 16px -8px rgba(var(--primary-rgb), 0.9);
}

.btn-nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ── Dropdown ── */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: none;
}

.main-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    min-width: 268px;
    border-radius: 16px;
    box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    border: 1px solid #e2e8f0;
    padding: 10px;
    z-index: 100;
}

.main-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 10px;
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu,
.main-nav .dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega menú a dos columnas para listados largos (zonas) */
.main-nav .dropdown-menu.is-mega {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 2px 6px;
    min-width: 430px;
    right: 0;
    left: auto;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.91rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu .dropdown-all {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.dropdown-menu .dropdown-all a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.88rem;
}

/* ── Navegación móvil ── */
@media (max-width: 1100px) {
    /* backdrop-filter crea bloque contenedor: rompería el position:fixed del drawer */
    .site-header {
        backdrop-filter: none;
        background: #fff;
    }

    .site-header.is-scrolled {
        background: #fff;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 88vw);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 90px 22px 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -20px 0 40px -25px rgba(15, 23, 42, 0.6);
        z-index: 999;
    }

    body.nav-open .main-nav {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
    }

    .nav-list > li {
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 6px;
        font-size: 1rem;
        border-radius: 0;
    }

    .nav-link .nav-caret {
        display: none;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .nav-link.is-active {
        color: var(--primary-color);
    }

    .has-dropdown {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
        color: var(--secondary-color);
    }

    .dropdown-toggle svg {
        width: 14px;
        height: 14px;
        transition: transform 0.25s ease;
    }

    .dropdown-toggle[aria-expanded="true"] svg {
        transform: rotate(180deg);
    }

    .main-nav .dropdown-menu,
    .main-nav .dropdown-menu.is-mega {
        position: static;
        grid-column: 1 / -1;
        display: none;
        grid-template-columns: 1fr;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        min-width: 0;
        padding: 0 0 12px 10px;
        border-left: 2px solid #e2e8f0;
        margin: 0 0 12px 6px;
    }

    .has-dropdown:hover > .dropdown-menu,
    .has-dropdown:focus-within > .dropdown-menu {
        display: none;
    }

    .main-nav .dropdown-menu.active,
    .main-nav .dropdown-menu.is-mega.active {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 12px;
        font-size: 0.94rem;
    }

    .nav-cta {
        margin-top: 26px;
        flex-direction: column;
        align-items: stretch;
    }

    .btn-nav-cta {
        width: 100%;
        padding: 15px 22px;
        font-size: 1rem;
    }

    .nav-mobile-mail {
        display: block;
        margin-top: 16px;
        font-size: 0.9rem;
        color: var(--text-muted);
        text-align: center;
    }

    .nav-mobile-mail a {
        color: var(--primary-color);
        font-weight: 600;
    }
}

.nav-mobile-mail {
    display: none;
}

@media (max-width: 480px) {
    .site-logo {
        height: 42px;
    }

    .nav-container {
        height: 70px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e1b4b 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Inner pages hero — shorter height */
.hero-secondary {
    position: relative;
    padding: 80px 0 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e1b4b 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-secondary .hero-title {
    font-size: 2.6rem;
}

@media (max-width: 768px) {
    .hero-secondary .hero-title {
        font-size: 1.9rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-color);
    background: linear-gradient(to right, #06B6D4, #22D3EE);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-list li + li::before {
    content: '›';
    color: #cbd5e1;
    font-size: 1rem;
}

.breadcrumb-list a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:last-child {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Article body prose styles */
.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #374151;
    max-width: 760px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 1.65rem;
    margin: 2.4rem 0 1rem;
    color: var(--secondary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.article-body h3 {
    font-size: 1.25rem;
    margin: 1.8rem 0 0.75rem;
    color: var(--secondary-color);
}

.article-body p {
    margin-bottom: 1.4rem;
}

.article-body strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.article-body ul.highlight-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.4rem;
}

.article-body ul.highlight-list li {
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 6px;
    line-height: 1.6;
}

/* article meta bar */
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 36px;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-meta .meta-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
    padding: 3px 12px;
    border-radius: 20px;
}

/* Related posts section */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.related-post-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.related-post-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.1);
}

.related-post-card .rp-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.related-post-card .rp-content h4 {
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.related-post-card .rp-content p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* stagger-4 */
.stagger-4 {
    animation-delay: 0.4s;
}

/* ---------- Blog: índice de contenidos ---------- */
.post-toc {
    max-width: 760px;
    margin: 0 auto 2.6rem;
    padding: 24px 28px;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
}

.post-toc h2 {
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
}

.post-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.9;
}

.post-toc a {
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.post-toc a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Ancla bajo header fijo */
.article-body h2[id] {
    scroll-margin-top: 100px;
}

/* ---------- Blog: tablas ---------- */
.table-scroll {
    overflow-x: auto;
    margin: 0 0 1.6rem;
    -webkit-overflow-scrolling: touch;
}

.article-body table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.article-body thead th {
    background: var(--secondary-color);
    color: white;
    text-align: left;
    font-weight: 600;
    padding: 12px 16px;
    font-size: 0.88rem;
}

.article-body tbody td {
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    vertical-align: top;
    line-height: 1.55;
}

.article-body tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.article-body caption {
    caption-side: bottom;
    padding-top: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: left;
}

/* ---------- Blog: cita destacada ---------- */
.article-body blockquote {
    margin: 2.2rem 0;
    padding: 26px 30px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--secondary-color);
    font-weight: 500;
}

.article-body blockquote p {
    margin: 0 0 10px;
}

.article-body blockquote cite {
    display: block;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---------- Blog: bloque imagen + texto ---------- */
.media-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    margin: 2.2rem 0;
}

.media-block img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.media-block .media-text h3 {
    margin-top: 0;
}

.media-block .media-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .media-block {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .media-block img {
        height: 200px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Footer · rediseño 2026-07
   Banda CTA · 4 columnas · barra legal con descargo
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background-color: var(--secondary-color);
    color: #cbd5e1;
}

/* ── Banda CTA superior ── */
.footer-cta {
    background: linear-gradient(120deg, var(--primary-color) 0%, #6d28d9 55%, var(--accent-color) 160%);
    color: #fff;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 20px;
    flex-wrap: wrap;
}

.footer-cta-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.footer-cta-title {
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 0;
}

.footer-cta .btn {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 34px;
    font-size: 1rem;
    border-radius: 10px;
    flex-shrink: 0;
}

.footer-cta .btn:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}

/* ── Cuerpo ── */
.footer-body {
    padding: 68px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 52px;
}

.footer-logo {
    height: 46px;
    width: auto;
    margin-bottom: 18px;
}

.footer-about {
    color: #94a3b8;
    line-height: 1.75;
    font-size: 0.93rem;
    margin: 0;
}

.footer-nap {
    font-style: normal;
    color: #94a3b8;
    line-height: 1.9;
    font-size: 0.92rem;
    margin: 18px 0 0;
    display: grid;
    gap: 2px;
}

.footer-nap a {
    color: #e2e8f0;
}

.footer-nap a:hover {
    color: #fff;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    font-size: 0.78rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
}

.footer-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.93rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* ── Barra legal ── */
.footer-legal {
    border-top: 1px solid #1e293b;
    padding: 26px 0 34px;
}

.footer-disclaimer {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 900px;
}

.footer-disclaimer a {
    color: #94a3b8;
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    color: #fff;
}

.footer-legal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.84rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
}

.footer-legal-links a {
    color: #94a3b8;
}

.footer-legal-links a:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .footer-cta-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 560px) {
    .footer-body {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }

    .footer-cta .btn {
        width: 100%;
    }

    .footer-legal-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Animations */
.fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

/* Email & WhatsApp Float */
.whatsapp-float,
.email-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-color, #25D366);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.email-float {
    background-color: var(--primary-color);
    bottom: 110px;
    /* Offset to not overlap WhatsApp if both present */
}

.whatsapp-float:hover,
.email-float:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.whatsapp-float svg,
.email-float svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
}

/* Steps / Process */
.process-step {
    position: relative;
    padding: 30px;
}

.process-step::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .process-step::after {
        content: "↓";
        right: 50%;
        bottom: -20px;
        top: auto;
        transform: translateX(50%);
    }
}

/* FAQ Accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #475569;
    line-height: 1.6;
}

/* Feature Cards (Value Section) */
.feature-box {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.feature-box-compact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-box-compact .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-box-compact h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e1b4b 100%);
    border-radius: 24px;
    padding: 50px 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.3);
    margin: 60px 20px;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-banner-content {
    flex: 1;
    min-width: 300px;
}

.cta-banner-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.cta-banner-action {
    display: flex;
    gap: 15px;
}

.cta-banner-action .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-banner-action .btn-primary:hover {
    background: var(--bg-light);
    box-shadow: none;
}

/* Trustindex / Reviews Section */
.trust-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.trust-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.google-logo img {
    height: 30px;
}

.google-stars {
    color: #fbbc04;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 0.8rem;
    color: #64748b;
}

.review-text {
    font-size: 0.95rem;
    color: #475569;
    font-style: italic;
    line-height: 1.5;
}

/* E-E-A-T Expert Badge */
.eeat-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin-top: 30px;
    display: inline-flex;
}

.eeat-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 211, 102, 0.1);
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eeat-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.eeat-text strong {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* ── Image placeholder (rellenar con foto real) ── */
.img-ph {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0;
    padding: 24px;
    background:
        repeating-linear-gradient(45deg, rgba(79,70,229,0.04) 0 12px, rgba(79,70,229,0.07) 12px 24px);
    border: 2px dashed rgba(79,70,229,0.35);
    border-radius: 20px;
    color: var(--primary-color);
}

.img-ph svg {
    width: 40px;
    height: 40px;
    opacity: 0.7;
}

.img-ph .img-ph-label {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 32ch;
}

.img-ph .img-ph-meta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.img-ph.img-ph-wide {
    aspect-ratio: 21 / 7;
}

.img-ph.img-ph-card {
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    margin: 0 0 18px;
    padding: 16px;
    gap: 6px;
}

.img-ph.img-ph-card svg { width: 32px; height: 32px; }
.img-ph.img-ph-card .img-ph-label { font-size: 0.82rem; max-width: 26ch; }

@media (max-width: 768px) {
    .img-ph { aspect-ratio: 4 / 3; }
    .img-ph.img-ph-wide { aspect-ratio: 16 / 9; }
}
/* ═══════════════════════════════════════════════════════════════
   Componentes de dinamismo · 2026-07-24
   Stat strip · timeline · icon-box · alert-list · spec-table · chips
   ═══════════════════════════════════════════════════════════════ */

/* ── Banda de métricas ── */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    margin: 0;
}

.stat-strip .stat-item {
    background: var(--bg-white);
    padding: 26px 20px;
    text-align: center;
    transition: var(--transition-base);
}

.stat-strip .stat-item:hover {
    background: var(--bg-light);
}

.stat-strip .stat-icon {
    font-size: 1.7rem;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.stat-strip .stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.stat-strip .stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

.stat-strip.stat-strip-dark {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}

.stat-strip.stat-strip-dark .stat-item {
    background: #1e293b;
}

.stat-strip.stat-strip-dark .stat-item:hover {
    background: #263449;
}

.stat-strip.stat-strip-dark .stat-value {
    color: var(--accent-color);
}

.stat-strip.stat-strip-dark .stat-label {
    color: #94a3b8;
}

/* ── Timeline vertical numerada ── */
.timeline {
    position: relative;
    list-style: none;
    padding: 0 0 0 46px;
    margin: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0.35;
}

.timeline > li {
    position: relative;
    padding: 0 0 26px;
}

.timeline > li:last-child {
    padding-bottom: 0;
}

.timeline > li::before {
    content: attr(data-step);
    position: absolute;
    left: -46px;
    top: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.12);
}

.timeline h3 {
    font-size: 1.08rem;
    margin: 4px 0 6px;
}

.timeline p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.timeline .timeline-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 12px;
    border-radius: 30px;
    background: rgba(var(--primary-rgb), 0.09);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── Caja con icono ── */
.icon-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    transition: var(--transition-base);
}

.icon-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(var(--primary-rgb), 0.09);
}

.icon-box .ib-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(var(--primary-rgb), 0.09);
    font-size: 1.35rem;
    line-height: 1;
}

.icon-box h3,
.icon-box h4 {
    font-size: 1.02rem;
    margin: 0 0 5px;
    line-height: 1.35;
}

.icon-box p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

/* ── Lista de señales de alerta ── */
.alert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.alert-list li {
    position: relative;
    padding: 14px 16px 14px 46px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 14px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #78350f;
}

.alert-list li::before {
    content: "!";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.alert-list.alert-list-ok li {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #14532d;
}

.alert-list.alert-list-ok li::before {
    content: "✓";
    background: #16a34a;
}

/* ── Tabla de especificaciones ── */
.spec-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.spec-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    line-height: 1.6;
}

.spec-table thead th {
    background: var(--bg-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
    border-bottom: 0;
}

.spec-table tbody tr:hover td,
.spec-table tbody tr:hover th {
    background: rgba(var(--primary-rgb), 0.03);
}

.spec-table tbody th {
    font-weight: 700;
    color: var(--secondary-color);
    white-space: nowrap;
}

/* ── Chips ── */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 30px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.chip-light {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #e2e8f0;
}

/* ── Cita / dato destacado ── */
.pull-quote {
    position: relative;
    margin: 0;
    padding: 24px 26px 24px 30px;
    background: var(--bg-light);
    border-left: 5px solid var(--accent-color);
    border-radius: 0 16px 16px 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--secondary-color);
}

.pull-quote strong {
    color: var(--primary-color);
}

.pull-quote figcaption {
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Rejilla split media + texto ── */
.split-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.split-media.split-narrow {
    grid-template-columns: 1fr 0.85fr;
}

@media (max-width: 900px) {
    .split-media,
    .split-media.split-narrow {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline > li::before {
        left: -40px;
        width: 32px;
        height: 32px;
    }

    .stat-strip .stat-value {
        font-size: 1.45rem;
    }
}

/* ================================================================
   §FORM-STATUS v1 — Feedback de envío del formulario de lead (api/lead.php)
   ================================================================ */
.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  font-size: 0.92rem;
  line-height: 1.5;
  display: none;
}
.form-status.is-pending,
.form-status.is-success,
.form-status.is-error { display: block; }
.form-status.is-pending {
  background: #F1F4F8;
  border-left-color: var(--text-muted);
  color: var(--text-muted);
}
.form-status.is-success {
  background: #ECFAF1;
  border-left-color: #1E9E5A;
  color: #145F38;
  font-weight: 600;
}
.form-status.is-error {
  background: #FDEDED;
  border-left-color: #C0392B;
  color: #8C231A;
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.btn-submit:disabled { opacity: 0.65; cursor: progress; }

/* ═══════════════════════════════════════════════════════════════
   Banda de fotografías de servicio · 2026-07
   ═══════════════════════════════════════════════════════════════ */
.photo-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

.photo-band figure {
    margin: 0;
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.photo-band figure:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px -18px rgba(15, 23, 42, 0.4);
}

.photo-band img {
    width: 100%;
    height: 232px;
    object-fit: cover;
    display: block;
}

.photo-band figcaption {
    padding: 16px 20px 20px;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.photo-band figcaption h3 {
    font-size: 1.02rem;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--secondary-color);
}

.photo-band figcaption p {
    margin: 0 0 14px;
}

/* Variante de 3 columnas fijas (rejilla 3x2) */
.photo-band-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .photo-band-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .photo-band-3 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Tarjetas de plaga con imagen · silo de insectos
   ═══════════════════════════════════════════════════════════════ */
.pest-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.pest-card {
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

.pest-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 18px 30px -18px rgba(15, 23, 42, 0.4);
}

.pest-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.pest-card-body {
    padding: 18px 20px 22px;
}

.pest-card-body h3 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 10px;
}

.pest-card-body h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.pest-card-body h3 a:hover,
.pest-card-body h3 a:focus-visible {
    color: var(--primary-color);
    text-decoration: underline;
}

.pest-card-body p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .pest-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pest-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .photo-band {
        gap: 18px;
    }

    .photo-band img {
        height: 200px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   COMPONENTES COMPARTIDOS (antes solo inline en la home)
   ═══════════════════════════════════════════════════════════════ */

/* ── Etiqueta de sección ── */
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* ── Píldoras de zonas ── */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.zone-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.zone-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.zone-pill .zone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}

/* ── Sección de mapa embebido ── */
.map-section {
    padding: 0;
    background: var(--secondary-color);
}

.map-section .map-header {
    padding: 60px 0 40px;
    text-align: center;
}

.map-section .map-header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 10px;
}

.map-section .map-header h2 strong {
    color: var(--accent-color);
}

.map-section .map-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
}

.map-section .section-tag {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-color);
}

.map-embed-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.map-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: saturate(0.9) contrast(1.05);
}

/* ── Ficha lateral de señales / ventajas ── */
.insight-card {
    position: relative;
    align-self: start;
    background: var(--bg-white);
    border: 1px solid #e6eaf2;
    border-radius: 20px;
    padding: 34px 30px 30px;
    box-shadow: 0 18px 40px -26px rgba(15, 23, 42, 0.55);
    overflow: hidden;
}

.insight-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.insight-card > h3 {
    font-size: 1.22rem;
    margin-bottom: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef2f7;
}

.insight-card .check-list li {
    padding: 14px 0;
    border-bottom: 1px dashed #e8edf5;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.insight-card .check-list li.mb-1 {
    margin-bottom: 0;
}

.insight-card .check-list li::first-letter {
    font-size: 1.3rem;
}

.insight-card .check-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.insight-card .check-list li b,
.insight-card .check-list li strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* ── Clúster de plagas (enlazado del silo) ── */
.pest-cluster {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pest-cluster-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: var(--bg-white);
    border: 1px solid #e6eaf2;
    border-radius: 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pest-cluster-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 30px -14px rgba(79, 70, 229, 0.3);
}

.pest-cluster-item:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.pest-cluster-ico {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.16));
}

.pest-cluster-name {
    font-weight: 700;
    font-size: 0.97rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

.pest-cluster-go {
    margin-left: auto;
    color: var(--primary-color);
    font-weight: 800;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s ease;
}

.pest-cluster-item:hover .pest-cluster-go {
    opacity: 1;
    transform: none;
}

/* ── Banda CTA de página local ── */
.local-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 46px;
    border-radius: 24px;
    background: linear-gradient(120deg, #312E81 0%, #4F46E5 55%, #0E7490 100%);
    box-shadow: 0 24px 45px -26px rgba(79, 70, 229, 0.8);
}

.local-cta h2 {
    color: white;
    font-size: 1.55rem;
    margin-bottom: 10px;
}

.local-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
    max-width: 660px;
}

.local-cta p a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.local-cta p a:hover {
    color: #a5f3fc;
}

.local-cta .btn-primary {
    flex-shrink: 0;
    background: white;
    color: var(--primary-color);
}

.local-cta .btn-primary:hover {
    background: #eef2ff;
    color: var(--primary-hover);
}

@media (max-width: 1100px) {
    .pest-cluster {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pest-cluster {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pest-cluster-item {
        padding: 16px;
        gap: 12px;
    }

    .pest-cluster-ico {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }

    .map-embed-wrap {
        height: 300px;
    }

    .map-section .map-header h2 {
        font-size: 1.6rem;
    }

    .local-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 26px;
    }

    .insight-card {
        padding: 28px 22px 24px;
    }
}

@media (max-width: 520px) {
    .pest-cluster {
        grid-template-columns: 1fr;
    }

    .zones-grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════════════════════
   Skip link · WCAG 2.4.1 Bypass Blocks
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
    position: fixed;
    left: 50%;
    top: -200px;
    transform: translateX(-50%);
    z-index: 9999;
    max-width: 90vw;
    white-space: nowrap;
    padding: 12px 24px;
    background: var(--primary-color, #0F172A);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.18s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 3px solid #06B6D4;
    outline-offset: 2px;
}

:target,
#main-content:focus {
    scroll-margin-top: 90px;
    outline: none;
}


/* ═══════════════════════════════════════════════════════════════
   §THEME v2 · 2026-10-04 — capa de optimización de diseño
   Tipografía fluida, ritmo vertical, iconos SVG (sprite), hero con
   <img> (LCP), tarjetas sobrias, FAQ accesible y home sintetizada.
   Va al final: sobrescribe sin tocar las reglas anteriores.
   ═══════════════════════════════════════════════════════════════ */
:root {
    --radius: 16px;
    --radius-lg: 22px;
    --line: #e2e8f0;
    --ink-2: #475569;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -14px rgba(15, 23, 42, .18);
    --shadow-card-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 36px -18px rgba(79, 70, 229, .35);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

img { height: auto; }
body { line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(1.55rem, 1.05rem + 1.7vw, 2.25rem); }
h3 { font-size: clamp(1.06rem, .98rem + .3vw, 1.22rem); }
.section-padding { padding: clamp(64px, 8vw, 104px) 0; }
.section-padding-small { padding: clamp(40px, 5vw, 64px) 0; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Iconos (sprite inline por página) ── */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
    width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.top-bar-item .ico, .footer-nap .ico, .footer-badge .ico { color: var(--accent-color); }
.top-bar-item { gap: 8px; }
.footer-nap span { display: flex; gap: 10px; align-items: flex-start; }
.footer-nap span .ico { margin-top: .2em; }
.pest-emoji .ico { width: 30px; height: 30px; color: var(--primary-color); }
.pest-cluster-ico { color: var(--primary-color); }
.pest-cluster-ico .ico { width: 24px; height: 24px; }
.stat-icon .ico, .stats-band .ico { width: 1.6rem; height: 1.6rem; }
.insight-card .check-list li { display: block; position: relative; padding-left: 32px; }
.insight-card .check-list li > .ico { position: absolute; left: 0; top: 17px; color: var(--primary-color); width: 1.2em; height: 1.2em; }
.has-hero-bg .hero-content > div[style*="flex"], .hero .hero-content > div[style*="flex"] { justify-content: center; }
.card-content h3 a { color: var(--secondary-color); }
.card-content h3 a::after { content: " →"; color: var(--primary-color); }
.card-content h3 a:hover { color: var(--primary-color); text-decoration: underline; text-underline-offset: 3px; }
.insight-card .check-list li::first-letter { font-size: inherit; }
.check-list li > .ico, .chip .ico, .trust-pill .ico, .info-card h3 .ico { color: var(--primary-color); margin-right: 6px; }
.card-content h3 .ico, .feature-box h3 .ico { color: var(--primary-color); margin-right: 8px; }

/* ── Botones ── */
.btn { border-radius: 12px; font-weight: 700; letter-spacing: .005em; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.btn::after { display: none; }
.btn-primary:hover, .btn-accent:hover { transform: translateY(-2px); }
.btn-block { display: block; width: 100%; }
.btn-ghost { border-radius: 12px; padding: 12px 26px; }

/* ── Tarjetas: movimiento sobrio (sin rebote ni escala) ── */
.card, .service-tile, .pest-cluster-item, .pest-card, .photo-band figure, .feature-box, .feature-box-compact {
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover, .service-tile:hover, .feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card:hover .card-img, .service-tile:hover .service-tile-img { transform: none; }
.pest-cluster-item:hover, .pest-card:hover, .photo-band figure:hover { transform: translateY(-4px); }

/* ── Hero con imagen real (LCP en HTML, no en CSS) ── */
.has-hero-bg, .home-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.has-hero-bg::before, .home-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--hero-overlay, linear-gradient(rgba(15, 23, 42, .78), rgba(15, 23, 42, .78)));
}
.home-hero::before { background: linear-gradient(100deg, rgba(15, 23, 42, .92) 0%, rgba(15, 23, 42, .82) 48%, rgba(30, 27, 75, .62) 100%); }
/* El texto del hero no espera a la animación: pinta en el primer frame */
.hero .fade-up, .hero-secondary .fade-up, .service-hero .fade-up, .contact-hero .fade-up { animation: none; opacity: 1; transform: none; }
.hero-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.1; }
.service-hero .hero-title, .hero-secondary .hero-title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
.hero-subtitle { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.6; }

/* ── Etiquetas y cabeceras de sección ── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-color);
}
.eyebrow--light { color: #67e8f9; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); }
.section-head h2 { margin-bottom: 12px; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.05rem; margin: 0 auto; max-width: 62ch; }
.section-note { text-align: center; margin-top: 28px; color: var(--ink-2); }
.section-note a, .split__text a { color: var(--primary-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.section-cta { text-align: center; margin-top: 32px; }

/* ── HOME · hero + formulario ── */
.home-hero { padding: clamp(48px, 7vw, 96px) 0; text-align: left; background: var(--secondary-color); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.home-hero .hero-title { margin-bottom: 18px; }
.home-hero .hero-title span { display: block; font-size: .5em; margin-top: .45em; letter-spacing: 0; }
.home-hero .hero-subtitle { margin: 0 0 22px; max-width: 58ch; color: #e2e8f0; opacity: 1; }
.hero-points { display: grid; gap: 10px; margin: 0; padding: 0; color: #f1f5f9; font-weight: 600; }
.hero-points li { display: flex; gap: 10px; align-items: center; }
.hero-points .ico { color: #67e8f9; width: 1.25em; height: 1.25em; }
.hero-form { background: #fff; color: var(--text-main); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.hero-form__title { font-size: 1.35rem; margin: 0 0 4px; }
.hero-form__sub { color: var(--text-muted); font-size: .92rem; margin: 0 0 18px; }
.hero-form .form-group { margin-bottom: 14px; }
.hero-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--secondary-color); margin-bottom: 6px; }
.hero-form .opt { font-weight: 400; color: var(--text-muted); }
.hero-form input[type="text"], .hero-form input[type="email"], .hero-form select, .hero-form textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--text-main); background: #f8fafc;
    border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 13px; min-height: 46px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.hero-form textarea { resize: vertical; min-height: 64px; }
.hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus { outline: none; border-color: var(--primary-color); background: #fff; box-shadow: 0 0 0 3px rgba(79, 70, 229, .18); }
.check-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.5; color: var(--ink-2); margin: 4px 0 16px; font-weight: 400 !important; }
.check-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--primary-color); }
.check-consent a { color: var(--primary-color); text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hero-form .btn { padding: 14px 20px; font-size: 1.02rem; }

/* ── HOME · franja de confianza ── */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; padding-block: 26px; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: var(--primary-color); background: rgba(79, 70, 229, .08); }
.trust-item p { margin: 0; font-size: .88rem; color: var(--text-muted); line-height: 1.4; }
.trust-item strong { display: block; color: var(--secondary-color); font-size: .97rem; }

/* ── Rejilla 3×2 centrada (skill §7) ── */
.grid-3-center { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-3-center > *:last-child:nth-child(3n - 1) { grid-column: 2 / span 1; }
.service-card__perks { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .35rem; }
.service-card__perks li { position: relative; padding-left: 1.35rem; font-size: .9rem; line-height: 1.4; color: var(--text-main); }
.service-card__perks li::before {
    content: ''; position: absolute; left: .1rem; top: .38em; width: .55rem; height: .3rem;
    border-left: 2px solid var(--accent-color); border-bottom: 2px solid var(--accent-color); transform: rotate(-45deg);
}

/* ── HOME · tarjetas de servicio ── */
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.svc-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-card__body { padding: 20px 22px 24px; }
.svc-card h3 { margin: 0 0 6px; }
.svc-card h3 a { color: var(--secondary-color); }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card h3 a::before { content: "→"; float: right; color: var(--primary-color); transition: transform .2s var(--ease); }
.svc-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(79, 70, 229, .35); }
.svc-card:hover h3 a { color: var(--primary-color); }
.svc-card:hover h3 a::before { transform: translateX(4px); }

/* ── HOME · problema + plagas frecuentes ── */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split__text p:not(.eyebrow) { color: var(--ink-2); font-size: 1.06rem; margin: 0 0 1em; max-width: 62ch; }
.pest-panel { background: var(--secondary-color); color: #e2e8f0; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.pest-panel h3 { color: #fff; margin: 0 0 16px; }
.pest-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.pest-list a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #f1f5f9; font-weight: 600; font-size: .95rem; }
.pest-list a .ico { grid-row: span 2; color: #67e8f9; width: 22px; height: 22px; margin-top: 2px; }
.pest-list em { font-size: .78rem; font-weight: 400; color: #94a3b8; }
.pest-list a:hover { color: #67e8f9; }

/* ── HOME · proceso ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow-card); counter-increment: step; }
.step::after { content: counter(step, decimal-leading-zero); position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 1.6rem; color: rgba(79, 70, 229, .14); }
.step > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: #fff; background: var(--primary-color); margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ── HOME · sectores ── */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.sector-card > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: var(--primary-color); background: rgba(6, 182, 212, .12); margin-bottom: 14px; }
.sector-card h3 { margin: 0 0 6px; color: var(--secondary-color); }
.sector-card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(79, 70, 229, .35); }
.sector-card:hover h3 { color: var(--primary-color); }

/* ── HOME · casos, zonas, blog ── */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent-color); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-card); }
.case-card__tag { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-color); }
.case-card h3 { margin: 0 0 8px; }
.case-card p:last-child { margin: 0; color: var(--ink-2); }
.zone-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.zone-pills a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--secondary-color); transition: border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.zone-pills .ico { color: var(--accent-color); }
.zone-pills a:hover { border-color: var(--primary-color); color: var(--primary-color); box-shadow: 0 6px 16px -10px rgba(79, 70, 229, .5); }
.post-grid { gap: 24px; }
.post-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 18px 20px 22px; }
.post-card__cat { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-color); }
.post-card h3 { margin: 0 0 6px; }
.post-card h3 a { color: var(--secondary-color); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p:last-child { margin: 0; color: var(--ink-2); font-size: .93rem; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.post-card:hover h3 a { color: var(--primary-color); }

/* ── CTA final ── */
.cta-final { padding: clamp(56px, 7vw, 88px) 0; text-align: center; color: #e2e8f0; background: radial-gradient(1200px 400px at 50% 0%, rgba(79, 70, 229, .45), transparent 70%), var(--secondary-color); }
.cta-final h2 { color: #fff; margin: 0 0 12px; }
.cta-final p { max-width: 56ch; margin: 0 auto 26px; color: #cbd5e1; font-size: 1.08rem; }
.cta-banner { margin: 0; }
.cta-banner-content h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }

/* ── FAQ accesible ── */
.faq-item { border-radius: 14px; box-shadow: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item.is-open { border-color: var(--primary-color); box-shadow: 0 10px 24px -18px rgba(79, 70, 229, .6); }
.faq-question { color: var(--secondary-color); font-size: 1.04rem; gap: 16px; min-height: 56px; }
.faq-question > span[aria-hidden] { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(79, 70, 229, .1); color: var(--primary-color); font-weight: 800; }
.faq-item.is-open .faq-question { color: var(--primary-color); }
.faq-answer > p { padding-bottom: 18px; margin: 0; }
.faq-answer > p + p { padding-top: 0; }
.faq-answer a { color: var(--primary-color); text-decoration: underline; }

/* ── Blog · «Para seguir» ── */
.next-wrap { max-width: 860px; }
.next-wrap h2 { font-size: 1.35rem; margin: 0 0 16px; }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-card); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.next-card strong { color: var(--secondary-color); font-size: 1.04rem; }
.next-card span:last-child { color: var(--ink-2); font-size: .92rem; }
.next-card__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-color); }
.next-card:hover { transform: translateY(-3px); border-color: var(--primary-color); }
.next-card:hover strong { color: var(--primary-color); }

/* ── Lectura de páginas interiores: menos ruido ── */
.article-body { font-size: 1.06rem; }
.stats-band-item .stat-value .ico { width: 2rem; height: 2rem; color: #67e8f9; }
.map-embed-wrap iframe { display: block; border: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .steps, .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
}
@media (max-width: 900px) {
    .home-hero__grid, .split { grid-template-columns: 1fr; }
    .grid-3-center { grid-template-columns: repeat(2, 1fr); }
    .grid-3-center > *:last-child:nth-child(3n - 1) { grid-column: auto; }
}
@media (max-width: 600px) {
    .grid-3-center, .steps, .sector-grid, .case-grid, .next-grid, .trust-strip__grid { grid-template-columns: 1fr; }
    .pest-list { grid-template-columns: 1fr; }
    .home-hero .hero-title span { font-size: .56em; }
    .hero-points { font-size: .95rem; }
    .email-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .fade-up { opacity: 1 !important; transform: none !important; }
}

.email-float { bottom: 28px; right: 28px; }

/* ═══════════════════════════════════════════════════════════════
   §THEME v3 · 2026-10-04 — todas las URLs con el estilo de la home
   Hero centrado común, ritmo vertical más compacto y más aire
   entre encabezados y texto. Fuente HTML: .claude/_cpt_v3.py
   ═══════════════════════════════════════════════════════════════ */
.section-padding { padding: clamp(48px, 6vw, 80px) 0; }
.section-padding-small { padding: clamp(32px, 4vw, 52px) 0; }
.section-padding-top { padding-top: clamp(48px, 6vw, 80px); }
.section-padding-bottom { padding-bottom: clamp(48px, 6vw, 80px); }

/* Encabezado → texto */
main h2 { margin-bottom: 20px; }
main h3 { margin-bottom: 10px; }
.section-head { margin-bottom: clamp(28px, 3.5vw, 40px); }
.section-head h2 { margin-bottom: 16px; }
.section-head p.text-muted { color: var(--ink-2); font-size: 1.05rem; max-width: 62ch; margin: 0 auto; }
.eyebrow { margin-bottom: 14px; }
.eyebrow--alert { color: #ef4444; }

/* Hero común (home e interiores) */
.hero, .service-hero, .hero-secondary, section.legal-hero, section.contact-hero {
    padding: clamp(56px, 7vw, 92px) 0; text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1e1b4b 100%);
}
.hero.home-hero { text-align: center; padding: clamp(64px, 8vw, 104px) 0; }
.home-hero::before { background: linear-gradient(rgba(15, 23, 42, .84), rgba(15, 23, 42, .84)); }
.hero-content, section.legal-hero .container, section.contact-hero .container { max-width: 900px; margin-inline: auto; }
.hero-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .85rem; margin: 0 0 18px; color: #64748b; }
.hero-crumbs a { color: #e2e8f0; }
.hero-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-crumbs [aria-current] { color: #94a3b8; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 16px; border-radius: 999px;
    background: rgba(6, 182, 212, .18); color: #22d3ee; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.hero-badge--alert { background: rgba(239, 68, 68, .25); color: #fca5a5; }
.hero-title, section.legal-hero h1, section.contact-hero h1 { color: #fff; margin: 0 0 18px; }
.service-hero .hero-title, .hero-secondary .hero-title, section.legal-hero h1, section.contact-hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
.hero .hero-subtitle, .service-hero .hero-subtitle, .hero-secondary .hero-subtitle, section.legal-hero p, section.contact-hero p {
    max-width: 680px; margin: 0 auto 28px; color: #e2e8f0; opacity: 1; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
}
.hero-secondary .hero-subtitle:last-child, section.legal-hero p:last-child, section.contact-hero p:last-child { margin-bottom: 0; }
.hero-subtitle strong, section.contact-hero strong { color: #fff; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { padding: 15px 34px; font-size: 1.05rem; }
.home-hero .hero-subtitle { margin: 0 auto 22px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 0 0 30px; }

/* Bandas y tarjetas interiores con el lenguaje de la home */
.stats-band { background: #fff; color: var(--secondary-color); border-bottom: 1px solid var(--line); }
.stats-band-item { padding: 22px 20px; border-right: 1px solid var(--line); }
.stats-band-item .stat-value { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: var(--primary-color); }
.stats-band-item .stat-value .ico { color: var(--primary-color); }
.stats-band-item .stat-label { color: var(--ink-2); font-weight: 600; margin-top: 6px; }
.soft-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-card); }
.bg-light .soft-card, [style*="--bg-light"] .soft-card { background: #fff; }

/* HOME · CTA final con formulario */
.cta-form { text-align: left; }
.cta-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cta-form .cta-form__copy h2 { margin: 0 0 16px; }
.cta-form .cta-form__copy > p:not(.eyebrow) { margin: 0 0 24px; max-width: 52ch; }
.cta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: cstep; }
.cta-steps li { position: relative; padding-left: 50px; color: #cbd5e1; counter-increment: cstep; min-height: 36px; }
.cta-steps li::before { content: counter(cstep); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(103, 232, 249, .14); color: #67e8f9; font-weight: 800; }
.cta-steps strong { display: block; color: #fff; }
.cta-form .hero-form__title { color: var(--secondary-color); }
.cta-form .hero-form p.hero-form__sub { color: var(--text-muted); max-width: none; margin: 0 0 18px; font-size: .92rem; }
.stat-strip .stat-value { line-height: 1.2; }
.stat-strip .stat-label { margin-top: 8px; }
section:has(.stat-strip) + .stats-band { margin-top: 24px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
    .cta-form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .stats-band { grid-template-columns: 1fr; }
    .stats-band-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .hero-points { display: grid; justify-content: center; text-align: left; gap: 8px; }
}

/* §NO-NUM · 2026-10-04 — sin numeración en pasos y timeline */
.step::after { content: none; }
.cta-steps li::before { content: "\2713"; }
.timeline--plain > li::before { content: ""; left: -35px; top: 7px; width: 14px; height: 14px; }
