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

.page-seo {
    --seo-max: 1140px;
    --seo-pad: 24px;
    background: var(--bg-dark, #0c1017);
    color: #e2e8f0;
    font-family: '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;
}

@media (min-width: 768px) {
    .page-seo { --seo-pad: 32px; }
}

.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;
}

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

.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;
    }
}
