/* ================================================================
   STYLES.CSS — Estilos Globales Complementarios (Deferred)
   ================================================================ */

/* ---- NAV MAIN Y DROPDOWN ---- */
.nav-main {
    display: none;
}

/* CTA del menú: solo visible en móvil/tablet */
.nav-cta-mobile {
    display: none;
}

/* Reset visual del trigger <button> (homepage) para igualar a los <a> */
.nav-dropdown-toggle {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .nav-main {
        display: block;
        margin: 0 auto;
    }

    .nav-main ul {
        display: flex;
        gap: 28px;
        align-items: center;
        list-style: none;
    }

    .nav-main a,
    .nav-main .nav-dropdown-toggle {
        color: var(--color-bg-dark);
        font-weight: 600;
        font-size: 0.95rem;
        position: relative;
        padding: 5px 0;
    }

    .nav-main a:hover,
    .nav-main a.nav-active,
    .nav-main .nav-dropdown-toggle:hover {
        color: var(--color-primary);
    }

    .has-dropdown {
        position: relative;
    }

    /* Chevron indicator */
    .has-dropdown > a::after,
    .has-dropdown > .nav-dropdown-toggle::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        margin-left: 5px;
        vertical-align: middle;
        transition: transform 0.2s;
    }

    .has-dropdown:hover > a::after,
    .has-dropdown:hover > .nav-dropdown-toggle::after {
        transform: rotate(-180deg);
    }

    .dropdown {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        background: var(--color-surface);
        min-width: 200px;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.05);
        padding: 6px 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        z-index: 999;
    }

    /* Puente invisible para evitar perder hover */
    .dropdown::before {
        content: '';
        position: absolute;
        top: -18px;
        left: 0;
        right: 0;
        height: 18px;
    }

    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .dropdown a {
        padding: 6px 20px;
        display: block;
        color: var(--color-text);
        font-weight: 500;
        font-size: 0.88rem;
        text-decoration: none;
        white-space: nowrap;
        border-radius: 4px;
        margin: 0 6px;
    }

    .dropdown a:hover {
        background: rgba(192, 57, 43, 0.07);
        color: var(--color-primary);
    }

    /* Group label inside dropdown */
    .dropdown-group-label {
        display: block;
        padding: 6px 20px 2px;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--color-primary);
        pointer-events: none;
        margin-top: 2px;
    }

    .dropdown-divider {
        height: 1px;
        background: rgba(0,0,0,0.07);
        margin: 4px 12px;
    }
}


/* HEADER ACTIONS */
.header-phone {
    display: none;
}

@media (min-width: 768px) {
    .header-phone {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--color-bg-dark);
        font-weight: 700;
        font-size: 1.1rem;
        background: var(--color-bg);
        padding: 8px 16px;
        border-radius: 50px;
    }

    .header-phone svg {
        width: 18px;
        height: 18px;
        fill: var(--color-primary);
    }

    .header-phone:hover {
        background: var(--color-primary);
        color: white;
    }

    .header-phone:hover svg {
        fill: white;
    }
}

/* ---- MOBILE NAVIGATION IMPROVEMENTS ---- */
@media (max-width: 1023px) {
    /* Anclado al borde inferior del header (sticky) → sin desfases con la top-bar */
    .nav-main {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        padding: 12px 16px 28px;
        min-height: calc(100dvh - 80px);
        max-height: calc(100dvh - 65px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        z-index: 800;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .nav-main.is-open {
        display: block;
    }

    /* CTA de captación dentro del menú móvil (no hay CTA en header <1024px) */
    .nav-cta-mobile {
        display: block;
        margin-top: 12px;
        padding-top: 16px;
        border-top: 1px solid rgba(0,0,0,0.08);
    }

    .nav-cta-mobile .btn {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.05rem;
        padding: 14px 18px;
    }

    .nav-main > ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        list-style: none;
    }

    /* Links simples (sin dropdown) */
    .nav-main > ul > li:not(.has-dropdown) > a {
        display: block;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--color-bg-dark);
        padding: 12px 14px;
        text-align: left;
        border-radius: var(--radius);
    }

    .nav-main > ul > li:not(.has-dropdown) > a:hover {
        background: var(--color-bg);
        color: var(--color-primary);
    }

    /* Cabecera del acordeón */
    .has-dropdown > a,
    .has-dropdown > .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--color-bg-dark);
        padding: 12px 14px;
        background: var(--color-bg);
        border-radius: var(--radius);
        cursor: pointer;
        width: 100%;
        text-align: left;
    }

    .has-dropdown.open > a,
    .has-dropdown.open > .nav-dropdown-toggle {
        color: var(--color-primary);
        border-radius: var(--radius) var(--radius) 0 0;
    }

    /* Chevron */
    .has-dropdown > a::after,
    .has-dropdown > .nav-dropdown-toggle::after {
        content: '';
        flex-shrink: 0;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        margin-top: -2px;
    }

    .has-dropdown.open > a::after,
    .has-dropdown.open > .nav-dropdown-toggle::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }

    /* Panel del acordeón */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        list-style: none;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
        background: var(--color-bg);
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 0 8px;
    }

    .has-dropdown.open > .dropdown {
        max-height: 600px;
        padding: 4px 8px 10px;
    }

    .dropdown li {
        margin: 0;
    }

    .dropdown a {
        display: block;
        font-size: 0.92rem;
        font-weight: 500;
        color: var(--color-muted);
        padding: 8px 10px;
        border-radius: var(--radius-sm);
        text-align: left;
    }

    .dropdown a:hover {
        background: rgba(192, 57, 43, 0.07);
        color: var(--color-primary);
    }

    .dropdown-group-label {
        display: block;
        padding: 8px 10px 2px;
        font-size: 0.62rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--color-primary);
        pointer-events: none;
    }

    .dropdown-divider {
        height: 1px;
        background: rgba(0,0,0,0.07);
        margin: 4px 4px;
    }
}

/* NAV TOGGLE MÓVIL */
.nav-toggle {
    display: block;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-bg-dark);
    position: absolute;
    transition: var(--transition);
}

.nav-toggle span:first-child {
    top: 4px;
}

.nav-toggle span:nth-child(2) {
    top: 11px;
}

.nav-toggle span:last-child {
    top: 18px;
}

/* Hamburguesa → X cuando el menú está abierto */
.nav-toggle[aria-expanded="true"] span:first-child {
    top: 11px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
    top: 11px;
    transform: rotate(-45deg);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

/* SECTIONS BASE */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--color-bg);
}

.section-dark {
    background: var(--color-bg-dark);
    color: white;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-muted);
}

/* FONDOS DINÁMICOS */
.bg-subtle-pattern {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
    color: white;
}

.bg-gradient-primary h1,
.bg-gradient-primary h2,
.bg-gradient-primary h3,
.bg-gradient-primary h4,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

/* BANNER CTA */
.cta-banner {
    padding: 60px 24px;
    border-radius: 16px;
    text-align: center;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: white !important; /* Forzar texto blanco */
}

.cta-banner h2, 
.cta-banner h3 {
    color: white !important;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-inline: auto;
    color: white !important; /* Forzar párrafo blanco */
}

.cta-banner .btn {
    background: white;
    color: var(--color-bg-dark);
    font-size: 1.1rem;
    padding: 16px 32px;
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-label {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    color: var(--color-bg-dark);
}

.section-dark .section-title {
    color: white;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-muted);
}

/* GRID SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-desc {
    color: var(--color-muted);
    flex-grow: 1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* WHATSAPP FLOAT + MOBILE CTA */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.mobile-cta-bar {
    display: none;
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 85px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .mobile-cta-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .cta-call,
    .cta-whatsapp {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px;
        font-weight: 700;
        color: white !important;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

    .cta-call {
        background: var(--color-primary);
    }

    .cta-whatsapp {
        background: #25D366;
    }

    .cta-call svg,
    .cta-whatsapp svg {
        width: 20px;
        height: 20px;
    }
}

/* FOOTER */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand .logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    display: block;
}

.footer-desc {
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    list-style: none;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 16px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
}

.legal-links a:hover {
    color: white;
}

/* ---- TESTIMONIOS TRUSTINDEX STYLE ---- */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
}

.testimonial-card-google {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: var(--transition);
}

.testimonial-card-google:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.testimonial-card-google .google-logo-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
}

.testimonial-stars {
    color: #f59e0b;
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #475569;
}

.author-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--color-bg-dark);
}

.author-info span {
    font-size: 0.85rem;
    color: #64748b;
}

/* ---- WHY CHOOSE US ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--color-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-primary);
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: rotate(10deg);
}

.feature-icon-wrapper svg {
    width: 36px;
    height: 36px;
    stroke-width: 2;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--color-muted);
}

/* ---- BEFORE/AFTER MINI SECTION ---- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.showcase-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.showcase-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
}

.showcase-title {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ---- SERVICE PAGE ENHANCEMENTS ---- */
.service-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.process-list {
    counter-reset: process-counter;
    position: relative;
    padding-left: 20px;
    margin: 40px 0;
}

.process-step {
    position: relative;
    padding-left: 60px;
    padding-bottom: 40px;
}

.process-step::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% - 40px);
    background: #e2e8f0;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cta-banner-service {
    background: var(--color-bg-dark);
    padding: 60px 40px;
    border-radius: 16px;
    color: white;
    text-align: center;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-service::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.cta-banner-service h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-banner-service p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Gallery inside services */
.service-mini-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Service Landing Grid (servicios/index.html) */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-full-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-full-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-full-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-bg-dark);
}

.service-card-body p {
    color: var(--color-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Utility Elements */
.checklist-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.checklist-box h3 {
    margin-top: 0;
    color: var(--color-bg-dark);
}

.checklist-items {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.checklist-items li {
    padding: 10px 0 10px 35px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.checklist-items li:last-child {
    border-bottom: none;
}

.checklist-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    text-align: left;
}

.comparison-table th {
    background: var(--color-bg-dark);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.info-banner-authority {
    background: #e7f3ef;
    border-left: 5px solid var(--color-primary);
    padding: 25px;
    border-radius: 8px;
    margin: 40px 0;
}

.info-banner-authority h4 {
    margin: 0 0 10px;
    color: #1a4d3a;
}

.info-banner-authority p {
    margin: 0;
    font-size: 0.95rem;
    color: #2c5e4a;
}

/* --- Premium Service Design Enhancement — Benefits 2×2 Grid --- */

.benefits-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0;
}

@media (max-width: 640px) {
    .benefits-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.benefit-tile {
    background: #fff;
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    border: 1.5px solid #f0f4f8;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent */
.benefit-tile::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(192,57,43,0.07) 0%, transparent 70%);
    border-radius: 0 20px 0 80px;
    pointer-events: none;
}

.benefit-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(192,57,43,0.12);
    border-color: var(--color-primary);
}

/* All tiles span 1 column — 2×2 layout */
.benefit-tile.large,
.benefit-tile.medium,
.benefit-tile.small {
    grid-column: span 1;
}

/* Icon wrapper */
.benefit-tile svg {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: var(--color-primary);
    background: rgba(192, 57, 43, 0.08);
    border-radius: 14px;
    padding: 10px;
    box-sizing: content-box;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.benefit-tile:hover svg {
    background: var(--color-primary);
    color: #fff;
}

.benefit-tile h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.benefit-tile p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Service detail list (icon feature rows) ── */
.svc-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 48px;
    display: grid;
    gap: 16px;
}
@media (min-width: 768px) {
    .svc-list { grid-template-columns: 1fr 1fr; }
}
.svc-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1.5px solid #f0f4f8;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(192,57,43,.10);
    border-color: var(--color-primary);
}
.svc-list svg {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    box-sizing: border-box;
    color: var(--color-primary);
    background: rgba(192,57,43,.08);
    border-radius: 12px;
    transition: background .3s ease, color .3s ease;
}
.svc-list li:hover svg {
    background: var(--color-primary);
    color: #fff;
}
.svc-list strong {
    display: block;
    color: var(--color-bg-dark);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -.2px;
}
.svc-list li > div {
    color: var(--color-muted);
    font-size: .96rem;
    line-height: 1.6;
}

/* Glassmorphism Sidebar Form */
.sidebar-glass {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.sidebar-glass h4 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Price Cards */
.price-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.price-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    background: white;
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: scale(1.02);
}

.price-card .price-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-bg-dark);
    line-height: 1;
    margin: 20px 0;
}

.price-card .price-val small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
}

.price-card .label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-primary);
}

/* Expert Advice Highlight */
.quote-highlight {
    background: #2c3e50;
    padding: 40px;
    border-radius: 24px;
    color: white;
    position: relative;
    margin: 60px 0;
}

.quote-highlight::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 40px;
    font-size: 120px;
    color: rgba(255,255,255,0.1);
    font-family: serif;
}

.quote-highlight h4 {
    color: var(--color-accent) !important;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.quote-highlight p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    color: rgba(255,255,255,0.95) !important;
}

.quote-highlight .author {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote-highlight .author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
}

.quote-highlight .author-info span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ================================================================
   ZONAS PAGE STYLES (PREMIUM REDESIGN)
   ================================================================ */

.zonas-hero-new {
    position: relative;
    padding: 140px 0 100px;
    background: var(--color-bg-dark);
    color: white;
    text-align: center;
    overflow: hidden;
}

.zonas-hero-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.zonas-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6);
}

.zonas-hero-new .container {
    position: relative;
    z-index: 2;
}

.zonas-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 24px;
    margin: 64px 0;
}

.zona-card-premium {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    color: white !important;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.zona-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.zona-card-premium img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    z-index: 0;
}

.zona-card-premium:hover img {
    transform: scale(1.15);
}

.zona-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.zona-card-premium:hover .zona-card-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.9) 100%);
}

.zona-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}

.zona-card-premium h3 {
    font-size: 2rem;
    color: white !important;
    margin-bottom: 12px;
    font-weight: 800;
}

.zona-card-premium p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85) !important;
    margin-bottom: 24px;
    max-width: 90%;
    line-height: 1.5;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.zona-card-premium:hover p {
    transform: translateY(0);
    opacity: 1;
}

.zona-card-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}

.zona-card-link-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--color-bg-dark);
    background: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.zona-card-premium:hover .zona-card-link-new {
    transform: translateX(0);
    background: var(--color-primary);
    color: white;
}

/* Bento Spans */
.zona-card-premium.span-8 { grid-column: span 8; }
.zona-card-premium.span-4 { grid-column: span 4; }
.zona-card-premium.span-6 { grid-column: span 6; }
.zona-card-premium.span-12 { grid-column: span 12; }

@media (max-width: 1024px) {
    .zona-card-premium.span-8,
    .zona-card-premium.span-4 {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .zonas-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 450px;
        gap: 16px;
        margin: 40px 0;
    }
    .zona-card-premium.span-8,
    .zona-card-premium.span-4,
    .zona-card-premium.span-6 {
        grid-column: span 1;
    }
    .zona-card-content { padding: 30px; }
    .zona-card-premium h3 { font-size: 1.7rem; }
    .zona-card-premium p { opacity: 1; transform: none; }
}

/* Coverage List New Style */
.coverage-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.coverage-card-premium {
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: center;
}

.coverage-card-premium:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.coverage-icon-circle {
    width: 50px;
    height: 50px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.coverage-info h4 {
    font-size: 1.15rem;
    margin: 0 0 4px;
    color: var(--color-bg-dark);
}

.coverage-info p {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin: 0;
}


/* ---- HERO-SMALL (inner page headers) — Reduccion de altura ---- */
.hero-small {
    min-height: 270px !important;
    padding: 80px 0 50px !important;
}

@media (max-width: 768px) {
    .hero-small {
        min-height: 220px !important;
        padding: 70px 0 40px !important;
    }
}

/* Also reduce hero-premium type headers */
.hero-premium {
    min-height: 60vh !important;
}

/* Shadow variables */
:root {
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* ================================================================
   TRUSTINDEX TESTIMONIALS — Realistic Google review widget
   ================================================================ */
.ti-section { background: #f8fafc; }

.ti-widget {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #eef2f7;
    overflow: hidden;
}

.ti-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 16px;
}

.ti-brand { display: flex; align-items: center; gap: 14px; }

.ti-google-logo { width: 38px; height: 38px; }

.ti-rating-block { display: flex; flex-direction: column; }

.ti-score {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-bg-dark);
    line-height: 1;
    font-family: var(--font-heading);
}

.ti-stars-row {
    display: flex;
    gap: 1px;
    margin: 5px 0 3px;
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.ti-count { font-size: 0.82rem; color: var(--color-muted); }

.ti-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
}

.ti-verified svg { width: 14px; height: 14px; stroke: #15803d; }

.ti-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1px;
    background: #f1f5f9;
}

.ti-review-card {
    background: white;
    padding: 22px 24px;
    transition: background 0.2s;
}

.ti-review-card:hover { background: #fafcff; }

.ti-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ti-reviewer { display: flex; align-items: center; gap: 10px; }

.ti-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    color: white;
}

.ti-reviewer-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-bg-dark);
    margin: 0 0 2px;
}

.ti-reviewer-meta { font-size: 0.75rem; color: var(--color-muted); }

.ti-g-icon { width: 16px; height: 16px; }

.ti-review-stars {
    display: flex;
    gap: 1px;
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 3px;
    letter-spacing: 1px;
}

.ti-review-date { font-size: 0.75rem; color: #94a3b8; margin-bottom: 10px; }

.ti-review-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.ti-footer {
    padding: 14px 28px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.ti-footer-text { font-size: 0.78rem; color: var(--color-muted); }

.ti-footer a {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4285F4;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ================================================================
   SERVICE PAGE — Works Gallery
   ================================================================ */
.works-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.work-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: #e5e7eb;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.work-item:hover img { transform: scale(1.06); }

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay { opacity: 1; }

.work-label {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.work-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================================
   ZONA PILLS — zones coverage section
   ================================================================ */
.zona-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: white !important;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.zona-pill:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192,57,43,0.35);
}

/* ================================================================
   URGENCY BAND — Albañil urgente / a domicilio
   ================================================================ */
.urgency-band {
    background: linear-gradient(90deg, var(--color-primary) 0%, #a93226 100%);
    padding: 16px 0;
    color: white;
}

.urgency-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.urgency-inner > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.urgency-inner strong {
    font-size: 1.05rem;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.urgency-inner span {
    font-size: 0.88rem;
    opacity: 0.9;
}

.urgency-band .btn-white {
    background: white;
    color: var(--color-primary) !important;
    border: 2px solid white;
    padding: 10px 22px;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.urgency-band .btn-white:hover {
    background: var(--color-bg-dark);
    color: white !important;
    border-color: var(--color-bg-dark);
}

@media (max-width: 768px) {
    .urgency-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .urgency-inner > div {
        justify-content: center;
    }
}

/* ================================================================
   STATS COUNTER SECTION — dark background
   ================================================================ */
.stats-section {
    background: var(--color-bg-dark);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(192,57,43,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(230,126,34,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: white;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-lbl {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 480px) {
    .stat-num { font-size: 2.4rem; }
}

/* ================================================================
   KW SERVICES GRID — dark section for keyword enrichment
   ================================================================ */
.kw-section {
    background: #1e2a3a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.kw-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.kw-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.kw-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.kw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.kw-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(192,57,43,0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.kw-card:hover::before {
    transform: scaleX(1);
}

.kw-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(192,57,43,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition);
}

.kw-card:hover .kw-icon-wrap {
    background: var(--color-primary);
}

.kw-icon-wrap svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

.kw-card:hover .kw-icon-wrap svg {
    stroke: white;
}

.kw-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.kw-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.7;
    margin: 0;
}

/* ================================================================
   FEATURE ITEM — enhanced card style
   ================================================================ */
.feature-item {
    background: white;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: rgba(192,57,43,0.2);
}

/* ================================================================
   STANDARDIZED SERVICE LAYOUT
   ================================================================ */
.service-layout {
    display: grid;
    gap: 40px;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .service-layout {
        /* Standardizing to a wider content area, optional sidebar */
        grid-template-columns: 1fr; 
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* If a page uses a sidebar, it can override this with .has-sidebar */
    .service-layout.has-sidebar {
        grid-template-columns: 2.8fr 1.2fr;
        max-width: var(--container);
    }
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- BENTO GRID BENEFITS (2x2) ---- */
.benefits-bento-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    margin: 40px 0;
}
@media(min-width: 768px) {
    .benefits-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.benefit-tile {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(192,57,43,0.1);
    border-color: rgba(192,57,43,0.2);
}
.benefit-tile svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 20px;
    background: rgba(192,57,43,0.05);
    padding: 10px;
    border-radius: 12px;
}
.benefit-tile h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-bg-dark);
}
.benefit-tile p {
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ── Enhanced FAQ Accordion ── */
.faq-accordion-enhanced {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item-enhanced {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-item-enhanced:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.faq-item-enhanced.active {
    border-color: #c0392b;
    box-shadow: 0 8px 24px rgba(192,57,43,0.15);
}
.faq-question-enhanced {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    transition: all 0.3s ease;
}
.faq-item-enhanced.active .faq-question-enhanced {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}
.faq-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}
.faq-question-enhanced h3 {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.5;
}
.faq-item-enhanced.active .faq-question-enhanced h3 { color: #c0392b; }
.faq-toggle {
    width: 32px;
    height: 32px;
    background: #f7fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.faq-item-enhanced.active .faq-toggle {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: rotate(45deg);
}
.faq-item-enhanced.active .faq-toggle svg { stroke: white; }
.faq-answer-enhanced {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item-enhanced.active .faq-answer-enhanced {
    max-height: 500px;
    padding: 0 28px 28px 88px;
}
.faq-answer-enhanced p {
    color: #4a5568;
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0;
}
.faq-answer-enhanced strong { color: #c0392b; font-weight: 700; }
@media (max-width: 640px) {
    .faq-question-enhanced { padding: 18px 20px; gap: 12px; }
    .faq-icon { width: 38px; height: 38px; }
    .faq-question-enhanced h3 { font-size: 0.95rem; }
    .faq-item-enhanced.active .faq-answer-enhanced { padding: 0 20px 20px 70px; }
}
