/* Landings SEO internas — regla 13.
   OBLIGATORIO: .page-seo .container con max-width + padding horizontal.
   Nunca dejar el contenido sin padding lateral. */

.page-seo {
    --seo-max: 1180px;
    --seo-pad: 24px;
    background: #0c1017;
    color: #e2e8f0;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.page-seo .container {
    width: 100%;
    max-width: var(--seo-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--seo-pad);
    padding-right: var(--seo-pad);
    box-sizing: border-box;
}

.page-seo .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 64px;
}

/* --- SEO HERO VISUAL --- */
.seo-hero {
    padding: 36px 0 40px;
    background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, rgba(12, 16, 23, 0.98) 0%, rgba(18, 24, 38, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.seo-breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted, #94a3b8);
    margin: 0 0 14px;
}

.seo-breadcrumb a {
    color: var(--accent-gold, #f59e0b);
    text-decoration: none;
    transition: color 0.2s ease;
}

.seo-breadcrumb a:hover {
    text-decoration: underline;
}

.seo-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-gold, #f59e0b);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 4px 10px;
    border-radius: 9999px;
    margin: 0 0 12px;
    font-weight: 700;
}

.seo-hero h1 {
    font-size: clamp(1.75rem, 3.8vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin: 0 0 14px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.3px;
}

.seo-lead {
    font-size: 1.02rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 20px;
}

.seo-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 500;
}

.seo-hero-trust-item svg {
    width: 15px;
    height: 15px;
    stroke: var(--accent-gold, #f59e0b);
    flex-shrink: 0;
}

.seo-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero Visual Card */
.seo-hero-visual {
    position: relative;
}

.seo-hero-img-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    background: #111827;
}

.seo-hero-img-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.seo-hero-img-card:hover img {
    transform: scale(1.03);
}

.seo-hero-badge-floating {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(12, 16, 23, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 600;
}

.seo-hero-badge-floating .badge-tag {
    color: var(--accent-gold, #f59e0b);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- SEO MAIN CONTENT --- */
.seo-main {
    padding: 44px 0 64px;
}

.seo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
    gap: 40px;
    align-items: start;
}

.seo-block {
    margin-bottom: 32px;
}

.seo-block h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 12px;
    font-family: 'Outfit', sans-serif;
}

.seo-block p {
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
    font-size: 0.98rem;
}

.page-seo .seo-list {
    margin: 14px 0 0;
    padding-left: 1.2rem;
    color: #cbd5e1;
    line-height: 1.65;
    list-style: disc;
}

.seo-list li {
    margin-bottom: 8px;
}

/* Gallery Showcase in Body */
.seo-gallery-showcase {
    margin: 36px 0;
    padding: 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-gallery-showcase h3 {
    font-size: 1.15rem;
    color: #f1f5f9;
    margin: 0 0 16px;
    font-family: 'Outfit', sans-serif;
}

.seo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.seo-gallery-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111827;
}

.seo-gallery-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.seo-gallery-card-caption {
    padding: 8px 10px;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.35;
    background: rgba(0, 0, 0, 0.3);
}

/* FAQ Accordion */
.seo-faq {
    margin: 40px 0 12px;
}

.seo-faq h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 16px;
    font-family: 'Outfit', sans-serif;
}

.seo-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.seo-faq-item:hover {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.seo-faq-item summary {
    cursor: pointer;
    color: #f1f5f9;
    font-weight: 600;
    list-style: none;
    font-size: 0.98rem;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item p {
    color: #94a3b8;
    line-height: 1.65;
    margin: 12px 0 4px;
    font-size: 0.94rem;
}

/* CTA Box */
.seo-cta-box {
    margin-top: 40px;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(12, 16, 23, 0.9) 100%);
}

.seo-cta-box h2 {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 8px;
    font-family: 'Outfit', sans-serif;
}

.seo-cta-box p {
    color: #94a3b8;
    margin: 0 0 18px;
    font-size: 0.95rem;
}

/* Sidebar */
.seo-sidebar-card {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 20px;
}

.seo-sidebar-card h3 {
    font-size: 1rem;
    color: #f1f5f9;
    margin: 0 0 14px;
    font-family: 'Outfit', sans-serif;
}

.seo-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.seo-related-list li {
    margin-bottom: 10px;
}

.seo-related-list a {
    color: var(--accent-gold, #f59e0b);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.seo-related-list a:hover {
    text-decoration: underline;
    transform: translateX(3px);
}

.seo-sidebar-more {
    margin: 16px 0 0;
    font-size: 0.88rem;
}

.seo-sidebar-more a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
}

/* Hub Grid */
.seo-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.seo-hub-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    transition: all 0.25s ease;
}

.seo-hub-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.seo-hub-card-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--accent-gold, #f59e0b);
    font-weight: 700;
}

.seo-hub-card strong {
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.seo-hub-card-link {
    font-size: 0.82rem;
    color: var(--accent-gold, #f59e0b);
    font-weight: 600;
    margin-top: auto;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .seo-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .seo-hero-img-card img {
        height: 220px;
    }

    .seo-layout {
        grid-template-columns: 1fr;
    }

    .seo-hero {
        padding: 24px 0 32px;
    }
}

@media (max-width: 576px) {
    .seo-hero {
        padding: 16px 0 24px;
    }

    .seo-hero h1 {
        font-size: 1.6rem;
    }

    .seo-lead {
        font-size: 0.92rem;
    }

    .seo-hero-img-card img {
        height: 180px;
    }

    .seo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .seo-gallery-card img {
        height: 110px;
    }
}

/* Chrome de landings: el home usa otras clases */
.page-seo h1,
.page-seo h2,
.page-seo h3,
.page-seo .seo-block h2,
.seo-hub-card strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-seo .main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #090d16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-seo .logo-text {
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    font-size: 1.05rem;
}

.page-seo .nav-menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.page-seo .nav-link {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.92rem;
}

.page-seo .nav-link:hover,
.page-seo .nav-link.active {
    color: #fbbf24;
}

.page-seo .burger-menu {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.page-seo .burger-menu .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
}

.page-seo .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.15rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.page-seo .btn-primary {
    background: #25d366;
    color: #fff;
}

.page-seo .btn-primary:hover {
    background: #20bd5a;
}

.page-seo .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.page-seo .main-footer {
    background: #05070b;
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-seo .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.5rem;
}

.page-seo .footer-brand p,
.page-seo .footer-contact-info p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-top: 0.45rem;
}

.page-seo .footer-links h4,
.page-seo .footer-contact-info h4 {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.page-seo .footer-links a,
.page-seo .footer-contact-info a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.page-seo .footer-links a:hover,
.page-seo .footer-contact-info a:hover {
    color: #fbbf24;
}

.page-seo .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.78rem;
}

.page-seo .seo-sidebar-hours {
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 0.35rem;
}

.page-seo .seo-hero-trust-item svg {
    stroke: currentColor;
}

@media (max-width: 860px) {
    .page-seo .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .page-seo .navbar-container {
        position: relative;
    }

    .page-seo .burger-menu {
        display: flex;
    }

    .page-seo .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        padding: 0.8rem 1.25rem 1rem;
        background: #090d16;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .page-seo .nav-menu.active {
        display: flex;
    }

    .page-seo .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Hub Sections Enhancements */
.seo-hub-sections {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 32px;
}
.seo-hub-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
}
.seo-hub-heading {
    margin-bottom: 24px;
}
.seo-hub-heading h2 {
    font-size: 1.6rem;
    color: #ffffff;
    margin: 8px 0 6px;
}
.seo-hub-heading p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}
.badge-tag-caba {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
}
.badge-tag-gba {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}
.seo-hub-card-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Sticky Contact Bar */
.mobile-sticky-bar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(12, 16, 23, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 8px 12px;
        gap: 10px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    }
    .mobile-sticky-bar .btn-sticky-wa {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #25d366;
        color: #ffffff;
        font-weight: 700;
        font-size: 0.88rem;
        padding: 11px 14px;
        border-radius: 8px;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    }
    .mobile-sticky-bar .btn-sticky-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #f59e0b;
        color: #0c1017;
        font-weight: 700;
        font-size: 0.88rem;
        padding: 11px 14px;
        border-radius: 8px;
        text-decoration: none;
    }
    body.page-seo {
        padding-bottom: 68px !important;
    }
    .whatsapp-float {
        bottom: 74px !important;
    }
}

/* Microzones Chips */
.seo-microzones-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
}
.seo-microzones-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.microzone-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.microzone-chip:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: #f59e0b;
    transform: translateY(-1px);
}

/* Pricing Guide Box */
.seo-pricing-box {
    background: linear-gradient(180deg, rgba(18, 24, 38, 0.7) 0%, rgba(12, 16, 23, 0.9) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.seo-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.seo-pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.seo-pricing-card strong {
    color: #f59e0b;
    font-size: 1rem;
}
.seo-pricing-detail {
    color: #94a3b8;
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0;
}
.seo-pricing-tag {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
}
