/**
 * Theme: default — Landing Page CSS
 * Estilos para la homepage principal (mainLandingTemplate.js)
 * Se inyecta inline después de tokens.css en el <head>.
 */

.site-footer a, .site-nav a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Sticky WA bar tiene 56px — body necesita este espacio para que el último contenido no quede tapado */
@media (max-width: 768px) {
    body { padding-bottom: 56px; }
}

/* HERO */
.hero {
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white; padding: 100px 20px 80px; text-align: center;
    position: relative; overflow: visible;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px; background: linear-gradient(transparent, var(--bg-light));
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900;
    margin-bottom: 20px; line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero h1 span { display: block; font-size: 0.55em; font-weight: 500; opacity: 0.9; margin-top: 8px; }
.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.25rem); opacity: 0.92;
    max-width: 640px; margin: 0 auto 40px;
}
.hero-badges {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-badge {
    background: rgba(255,255,255,0.18); backdrop-filter: blur(4px);
    padding: 8px 18px; border-radius: 50px; font-size: 0.9rem;
    font-weight: 600; border: 1px solid rgba(255,255,255,0.25);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 12px; font-weight: 700;
    font-size: 1.1rem; transition: all 0.25s; cursor: pointer;
    border: none; text-decoration: none;
}
.btn-white {
    background: white; color: var(--brand);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
@media(hover:hover){.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }}
.btn-outline {
    background: transparent; color: white;
    border: 2px solid rgba(255,255,255,0.5);
}
@media(hover:hover){.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }}
.btn-primary-hero {
    background: var(--whatsapp); color: white; box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
@media(hover:hover){.btn-primary-hero:hover {
    background: var(--whatsapp-dark); transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}}

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* SECTIONS */
.section { max-width: 1200px; margin: 0 auto; padding: 80px 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label {
    display: inline-block; font-size: 0.85rem; font-weight: 700;
    color: var(--brand); background: var(--brand-light);
    padding: 4px 14px; border-radius: 50px; margin-bottom: 12px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800;
    margin-bottom: 12px; color: var(--text-dark);
}
.section-header p { font-size: 1.1rem; color: var(--text-mid); max-width: 600px; margin: 0 auto; }

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}
.svc-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 14px 16px;
    box-shadow: var(--shadow); transition: all 0.2s ease;
    border: 2px solid transparent; display: flex; flex-direction: column; gap: 10px;
}
@media(hover:hover){.svc-card:hover {
    transform: translateY(-2px); box-shadow: var(--shadow-hover);
    border-color: var(--brand);
}}
.svc-card-top { text-align: center; }
.svc-card-top h3 { font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
.svc-location { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.svc-tag {
    padding: 3px 8px; border-radius: 5px;
    font-size: 0.75rem; color: var(--text-mid); font-weight: 600;
    background: #f3f4f6;
}
.svc-tag--wp  { background: #dcfce7; color: #16a34a; }
.svc-tag--free { background: #eff6ff; color: #2563eb; }
.svc-cta {
    display: flex; align-items: center; justify-content: center;
    background: var(--brand); color: white; padding: 8px 16px;
    border-radius: 8px; font-weight: 700; font-size: 0.85rem;
    transition: background 0.2s; margin-top: auto; min-height: 44px;
}
@media(hover:hover){.svc-card:hover .svc-cta { background: var(--brand-dark); }}

/* BLOG */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--white); border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s ease;
    border: 2px solid transparent; display: flex; flex-direction: column;
}
@media(hover:hover){
.blog-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-hover);
    border-color: var(--brand);
}
}
.blog-cover { width: 100%; height: 180px; position: relative; overflow: hidden; }
.blog-cover svg { width: 100%; height: 100%; }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
    font-size: 0.82rem; color: var(--text-light);
}
.blog-cat {
    background: var(--brand-light); color: var(--brand); padding: 3px 10px;
    border-radius: 5px; font-weight: 600; font-size: 0.78rem;
}
.blog-card h3 {
    font-size: 1.15rem; font-weight: 700; line-height: 1.35;
    margin-bottom: 10px; color: var(--text-dark);
}
.blog-excerpt { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.blog-read {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--brand); font-weight: 600; font-size: 0.92rem;
}
@media(hover:hover){ .blog-read:hover { gap: 10px; } }
.blog-more { text-align: center; margin-top: 40px; }
.btn-blog {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-light); color: var(--brand);
    padding: 12px 28px; border-radius: 10px; font-weight: 700;
    transition: all 0.2s; min-height: 44px;
}
.btn-blog:hover { background: var(--brand); color: white; }

/* SEO SECTION */
.seo-section {
    background: var(--white); border-radius: var(--radius-xl); padding: 50px;
    box-shadow: var(--shadow); margin-top: 20px;
}
.seo-section h2 {
    font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; color: var(--text-dark);
}
.seo-section p {
    color: var(--text-mid); font-size: 1rem; line-height: 1.8; margin-bottom: 16px;
}
.seo-section a { color: var(--brand); font-weight: 600; text-decoration: underline; }
.seo-section a:hover { color: var(--brand-dark); }
.seo-columns {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px;
}
.seo-columns h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.seo-list { list-style: none; }
.seo-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.seo-list li:last-child { border-bottom: none; }
.seo-list a { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.seo-list a:hover { color: var(--brand-dark); }

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--cta), var(--cta-dark));
    color: white; border-radius: var(--radius-xl); padding: 50px 40px;
    text-align: center; margin-top: 60px;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-cta-wsp {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--cta-dark); padding: 14px 32px;
    border-radius: 12px; font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.2s;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
@media(hover:hover){.btn-cta-wsp:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }}

/* TESTIMONIOS */
.testimonios-section { background: var(--bg-light); }
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.testimonio-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.testimonio-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}
.testimonio-card cite {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
}

/* FOOTER — extiende estilos de design-tokens */
.footer { margin-top: 80px; }
.footer-brand p { color: var(--footer-text); font-size: 0.95rem; margin-top: 12px; line-height: 1.7; }
.footer-col a { display: block; padding: 4px 0; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero { padding: 70px 20px 60px; }
    .section { padding: 50px 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .seo-columns { grid-template-columns: 1fr; gap: 20px; }
    .seo-section { padding: 30px 20px; }
    .cta-banner { padding: 35px 20px; }
    .cta-banner h2 { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }
}

/* SMART SEARCH */
.search-wrap {
    max-width: 620px; margin: 0 auto 36px; position: relative; z-index: 50;
}
.search-box {
    display: flex; align-items: center; background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.35); border-radius: 16px;
    padding: 6px 8px; backdrop-filter: blur(8px); transition: all 0.3s;
    min-height: 48px;
}
.search-box:focus-within {
    background: rgba(255,255,255,0.97); border-color: var(--brand);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.search-box:focus-within .search-icon { color: var(--brand); }
.search-box:focus-within input { color: var(--text-dark); }
.search-box:focus-within input::placeholder { color: #aaa; }
.search-icon {
    font-size: 1.3rem; padding: 8px 12px; color: rgba(255,255,255,0.85);
    transition: color 0.3s; flex-shrink: 0;
}
.search-box input {
    flex: 1; border: none; background: transparent; font-size: 1.05rem;
    color: white; outline: none; font-family: inherit; padding: 12px 4px;
    min-width: 0;
}
.search-box input[type=search]::-webkit-search-cancel-button { display: none; }
.search-box input::placeholder { color: rgba(255,255,255,0.65); transition: color 0.3s; }
.search-ai-tag {
    display: flex; align-items: center; gap: 4px; font-size: 0.72rem;
    color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.12);
    padding: 5px 12px; border-radius: 10px; white-space: nowrap; font-weight: 600;
    margin-right: 4px; flex-shrink: 0; transition: all 0.3s;
}
.search-box:focus-within .search-ai-tag { color: var(--brand); background: var(--brand-light); }
.search-results {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: white; border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.22);
    overflow: hidden; display: none; max-height: 440px; overflow-y: auto;
    border: 1px solid rgba(0,0,0,0.06);
}
.search-results.show { display: block; animation: srSlide 0.2s ease; }
@keyframes srSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.sr-header {
    padding: 12px 20px; border-bottom: 1px solid #f0f0f0;
    font-size: 0.78rem; color: var(--text-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center;
}
.sr-item {
    display: flex; align-items: center; gap: 14px; padding: 14px 20px;
    text-decoration: none; color: var(--text-dark); transition: all 0.15s;
    border-bottom: 1px solid #f8f8f8; cursor: pointer;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover, .sr-item.active { background: var(--brand-light); }
.sr-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.sr-info { flex: 1; min-width: 0; }
.sr-name { font-weight: 700; font-size: 0.95rem; }
.sr-match { font-size: 0.78rem; color: var(--cta-dark); margin-top: 2px; font-weight: 500; }
.sr-desc { font-size: 0.8rem; color: var(--text-light); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-arrow { color: var(--brand); font-size: 1.1rem; flex-shrink: 0; }
@media (max-width: 768px) {
    .search-wrap { margin: 0 auto 28px; width: 100%; }
    .search-box input {
        font-size: 16px; /* ≥16px evita el auto-zoom de iOS/Android al hacer foco */
        touch-action: manipulation;
    }
    .search-ai-tag { display: none; }
    .search-results {
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 12px;
        max-height: 52vh;
        z-index: 9999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.28);
    }
    .sr-item { padding: 12px 14px; gap: 10px; }
    .sr-icon { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 10px; }
    .sr-name { font-size: 0.9rem; }
    .sr-desc { display: none; }
    .sr-arrow { display: none; }
}
/* CARD DE CONTACTO — cuando no se encuentra servicio */
.sr-contact-card {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-top: 3px solid var(--cta);
    cursor: pointer; text-decoration: none;
    transition: background 0.2s;
}
.sr-contact-card:hover { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.sr-contact-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, var(--cta), var(--cta-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.sr-contact-info { flex: 1; min-width: 0; }
.sr-contact-name { font-weight: 700; font-size: 0.95rem; color: #065f46; }
.sr-contact-desc { font-size: 0.8rem; color: #047857; margin-top: 3px; }
.sr-contact-arrow { color: var(--cta); font-size: 1.1rem; flex-shrink: 0; font-weight: 700; }

/* ═══════════════════════════════════════════════════
   HUB DE DEPARTAMENTO — estilos centralizados
   Usado por mainLandingService.js en /canelones/, /montevideo/, etc.
   ═══════════════════════════════════════════════════ */
/* Breadcrumb estándar — hubs de departamento y barrio (MainLandingTemplate) */
.breadcrumb { background: #fff; padding: .55rem 0; border-bottom: 1px solid var(--bg-dark, #e5e7eb); }
.breadcrumb .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.breadcrumb-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem;
    font-size: .88rem;
}
.breadcrumb-list li { display: flex; align-items: center; }
.breadcrumb-list a { color: var(--primary); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
/* Soporta .separator (HTML viejo en OVH) y .breadcrumb-separator (nuevo) */
.breadcrumb-list .separator,
.breadcrumb-list .breadcrumb-separator { color: var(--text-light, #9ca3af); user-select: none; padding: 0 .15rem; }
.breadcrumb-list .current,
.breadcrumb-list .breadcrumb-current { color: var(--text-dark, #111827); font-weight: 500; }
@media(max-width:640px) {
    .breadcrumb-list { font-size: .82rem; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
}

.hub-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; padding: 52px 20px 44px; text-align: center;
}
.hub-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 0 0 .6rem; }
.hub-hero p { font-size: 1.05rem; opacity: .9; max-width: 600px; margin: 0 auto; }
.hub-breadcrumb { font-size: .88rem; opacity: .7; margin-bottom: .5rem; }
.hub-breadcrumb a { color: #fff; text-decoration: none; }

.hub-section { padding: 48px 20px; }
.hub-section h2 { text-align: center; color: var(--text-dark); margin-bottom: 1.5rem; font-size: 1.4rem; font-weight: 700; }
.hub-alt { background: var(--bg-light); }

/* Servicio cards en hub — idénticas al home popular-services */
.pop-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem; max-width: 1000px; margin: 0 auto; padding: 0 1.25rem;
}
.pop-svc-card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 1.25rem .75rem;
    border-radius: 12px; border: 1px solid #e5e7eb;
    border-left: 3px solid var(--primary); text-decoration: none;
    color: var(--text-dark); transition: transform .18s, box-shadow .18s; background: #fff;
}
@media(hover:hover){
.pop-svc-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-hover);
    border-left-color: var(--cta);
}
}
.pop-svc-icon { font-size: 2rem; margin-bottom: .5rem; line-height: 1; }
.pop-svc-name { font-weight: 700; font-size: .92rem; line-height: 1.3; margin-bottom: .35rem; }
.pop-svc-zones { font-size: .78rem; color: var(--text-light); }

/* Barrio/localidad chips en hub */
.hub-nb-grid {
    display: flex; flex-wrap: wrap; gap: .6rem;
    max-width: 900px; margin: 0 auto; justify-content: center;
}
.hub-nb-chip {
    padding: .4rem .9rem; border-radius: 20px; border: 1px solid #e5e7eb;
    text-decoration: none; color: var(--text-dark); font-size: .88rem;
    background: #fff; transition: background .15s, border-color .15s;
    min-height: 44px; display: inline-flex; align-items: center;
}
@media(hover:hover){ .hub-nb-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); } }
.hub-nb-chip--no-svc { opacity: 0.5; cursor: default; pointer-events: none; }

/* FAQ en hub */
.hub-faq { padding: 48px 20px; background: var(--bg-light); }
.hub-faq h2 { text-align: center; color: var(--text-dark); margin-bottom: 1.5rem; font-size: 1.4rem; font-weight: 700; }
.hub-faq-item {
    max-width: 700px; margin: 0 auto 1.25rem; background: #fff;
    border-radius: 10px; padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--primary);
}
.hub-faq-q { font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; font-size: 1rem; }
.hub-faq-a { color: var(--text-mid); font-size: .95rem; line-height: 1.6; }

/* CTA de contacto en hub */
.hub-cta { background: #fff; padding: 48px 20px; text-align: center; }
.hub-cta h2 { color: var(--text-dark); margin-bottom: .75rem; font-size: 1.3rem; font-weight: 700; }
.hub-cta p { color: var(--text-light); margin-bottom: 1.5rem; font-size: .95rem; }
.hub-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hub-btn-home {
    display: inline-block; background: var(--primary); color: #fff;
    padding: .75rem 2rem; border-radius: 8px; text-decoration: none;
    font-weight: 700; min-height: 48px; line-height: 1.3;
    display: inline-flex; align-items: center;
}
.hub-btn-wa {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--whatsapp); color: #fff;
    padding: .75rem 2rem; border-radius: 8px; text-decoration: none;
    font-weight: 700; min-height: 48px;
}
@media(hover:hover){
.hub-btn-wa:hover { background: var(--whatsapp-dark); color: #fff; }
.hub-btn-home:hover { background: var(--primary-dark); color: #fff; }
}

/* HOW-IT-WORKS (steps) — usado en home principal */
.steps-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; position: relative;
}
.step-card {
    text-align: center; position: relative; z-index: 1; background: white;
    border-radius: 16px; padding: 2rem 1.5rem;
    box-shadow: var(--shadow); border: 1px solid #e5e7eb;
}
.step-icon {
    width: 56px; height: 56px; background: var(--gradient-brand);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem; font-size: 1.5rem; box-shadow: var(--shadow-hover);
}
.step-number {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--warning); color: white; width: 28px; height: 28px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .85rem; box-shadow: 0 2px 6px rgba(245,158,11,.4);
}
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin: 0 0 .6rem; }
.step-desc { color: var(--text-light); font-size: .92rem; line-height: 1.5; margin: 0; }
.steps-connector {
    position: absolute; top: 36px; left: calc(16.66% + 10px); right: calc(16.66% + 10px);
    height: 2px; background: var(--gradient-brand); z-index: 0;
}

/* RESPONSIVE — hub + steps */
@media (max-width: 768px) {
    .hub-hero { padding: 36px 16px 28px; }
    .hub-section { padding: 32px 16px; }
    .hub-faq { padding: 32px 16px; }
    .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps-connector { display: none !important; }
    .hub-cta-actions { flex-direction: column; align-items: center; }
    .hub-btn-home, .hub-btn-wa { width: 100%; max-width: 320px; justify-content: center; }
}
@media (max-width: 480px) {
    .pop-svc-grid { grid-template-columns: repeat(2, 1fr); }
    .dept-grid { grid-template-columns: 1fr; }
    .hub-hero h1 { font-size: 1.4rem; }
}

/* POPULAR SERVICES (home) */
.pop-svc-section { padding: 56px 0 48px; background: #fff; }

/* LOCATIONS / DEPARTMENTS */
.dept-section { padding: 56px 0; background: var(--bg-light); }
.dept-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem; max-width: 1000px; margin: 0 auto; padding: 0 1.25rem;
}
.dept-card {
    display: block; text-decoration: none; border-radius: 14px;
    overflow: hidden; height: 160px; position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,.12); transition: transform .18s, box-shadow .18s;
}
@media(hover:hover){ .dept-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.18); } }
.dept-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem 1.1rem;
}
.dept-name { color: #fff; font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.dept-count { color: rgba(255,255,255,.85); font-size: .82rem; margin-top: .2rem; }

/* FAQ ACCORDION (home) — selectores unificados con funnel.css */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    border: 1px solid #e5e7eb; border-radius: 10px;
    overflow: hidden;
}
.faq-item summary, .faq-q {
    cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; font-size: .97rem;
    color: var(--text-dark); list-style: none;
    display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .faq-q::after { content: '+'; font-size: 1.2rem; color: var(--text-lighter); flex-shrink: 0; }
.faq-item[open] > summary::after, details[open] > .faq-q::after { content: '−'; }
.faq-answer, .faq-a {
    padding: .75rem 1.25rem 1rem; font-size: .9rem;
    color: var(--text-mid); line-height: 1.6; border-top: 1px solid var(--bg-mid);
}
.faq-answer p { color: var(--text-mid); line-height: 1.6; margin: 0; }
.faq-answer a, .faq-a a { color: var(--info); text-decoration: none; }
.faq-answer a:hover, .faq-a a:hover { text-decoration: underline; }

/* BLOG MINI GRID (home) */
.blog-grid-mini {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem; margin-top: 1.5rem;
}
.blog-card-mini {
    display: block; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 1.1rem 1.2rem; text-decoration: none; color: inherit;
    transition: box-shadow .18s, transform .18s;
}
@media(hover:hover){ .blog-card-mini:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); } }
.blog-cat-mini {
    display: inline-block; font-size: .72rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    background: var(--bg-mid); color: var(--text-light);
    border-radius: 4px; padding: .15rem .45rem; margin-bottom: .55rem;
}
.blog-card-title { font-size: .97rem; font-weight: 700; color: var(--text-dark); margin: 0 0 .45rem; line-height: 1.35; }
.blog-card-excerpt { font-size: .85rem; color: var(--text-light); margin: 0 0 .7rem; line-height: 1.45; }
.blog-card-meta { font-size: .78rem; color: var(--text-lighter); }

/* ========================================
   SITE HEADER + NAV — home del dominio
   Duplicado desde funnel.css (el home carga landing.css, no funnel.css)
   ======================================== */
.site-header {
    background: var(--gradient-brand);
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.site-logo {
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}
.btn-wa-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--radius-md, 10px);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    min-height: 40px;
    min-width: 44px;
    border: 1px solid rgba(255,255,255,0.35);
    transition: background 0.2s;
}
@media(hover:hover){.btn-wa-nav:hover { background: rgba(255,255,255,0.32); }}

/* ========================================
   STICKY WA BAR — home del dominio
   ======================================== */
.sticky-wa {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--whatsapp-color, #25d366);
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
@media(hover:hover){.sticky-wa:hover { background: var(--whatsapp-dark, #128c7e); color: white !important; }}
@media(min-width: 769px) { .sticky-wa { display: none !important; } }
