/* ==========================================================================
   ESTILOS ESPECÍFICOS: TABLEROS.HTML - DISPROEL S.A.S.
   Diseño premium coherente con solar.html, canaletas.html y productos.html
   ========================================================================== */

/* 1. HERO ESTÁTICO (Presentación de Alto Impacto) */
.static-hero {
    width: 100%;
    min-height: 85vh;
    padding: 150px 0 70px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.static-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(237, 190, 8, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.static-hero .left-text {
    opacity: 1;
    transform: none;
}

.static-hero .main-featured-img {
    transform: none;
    max-width: 95%;
    max-height: 75vh;
    object-fit: contain;
    filter: drop-shadow(0 35px 60px rgba(0, 0, 0, 0.16));
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.static-hero:hover .main-featured-img {
    transform: scale(1.02);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* 2. SECCIONES Y CONTENEDORES GLOBALES */
.section-container {
    padding: 9rem 10%;
    max-width: 1600px;
    margin: 0 auto;
}

.philosophy-block {
    text-align: left;
    max-width: 1050px;
    margin: 0 auto;
}

.phil-text h2, 
h2.phil-text,
.philosophy-block h2,
.mosaic-info h3 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.phil-text strong,
h2.phil-text strong,
.info-card h3 strong {
    font-weight: 900;
    color: var(--title-color);
}

.yellow-card .phil-text strong,
.yellow-card h3 strong {
    color: #000000;
}

.phil-accent {
    font-size: 1.55rem;
    line-height: 1.6;
    color: #444;
    font-weight: 400;
}

.phil-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

/* 3. MOSAIC INFO (Tarjetas Destacadas) */
.mosaic-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
    margin: 6rem auto;
    max-width: 1400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
}

.info-card {
    padding: 5.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card h3 {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.yellow-card {
    background: var(--primary);
    color: #000;
}

.light-card {
    background: #fff;
    color: #000;
    border: 1px solid #eee;
}

.check-list {
    list-style: none;
    margin-top: 1rem;
}

.check-list li {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.check-list li::before {
    content: '';
    width: 14px;
    height: 3px;
    background: #000;
    margin-right: 1.5rem;
    display: inline-block;
    flex-shrink: 0;
}

.light-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.light-card p strong {
    color: var(--title-color);
}

/* 4. TIMELINE DE PROCESO (7 Pasos de Fabricación e Implementación) */
.timeline-header {
    margin-bottom: 2rem;
}

.timeline-wrapper {
    position: relative;
    margin-top: 6rem;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary), var(--primary) 10px, transparent 10px, transparent 20px);
    opacity: 0.35;
    z-index: 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3.5rem 1.8rem;
    position: relative;
    z-index: 1;
}

.time-item {
    background: #ffffff;
    padding: 2.2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.time-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.step-img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f0f0f0;
}

.step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.time-item:hover .step-img img {
    transform: scale(1.08);
}

.step-circle {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    box-shadow: 0 6px 16px rgba(237, 190, 8, 0.35);
    transition: transform 0.4s ease;
}

.time-item:hover .step-circle {
    transform: scale(1.1) rotate(6deg);
}

.time-item h4 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    color: var(--title-color);
}

.time-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 5. CATÁLOGO / MODULOS TÉCNICOS (MAINT-HUB STYLE) */
.maint-hub {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    background: #e8e8e8;
    border: 1px solid #e0e0e0;
    margin: 4.5rem auto 0 auto;
    max-width: 1350px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.maint-module {
    display: grid;
    grid-template-columns: 90px 1.4fr 2.1fr;
    background: #fff;
    align-items: stretch;
    transition: all 0.35s ease;
    min-height: 250px;
}

.maint-module:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.maint-module:hover {
    background: #fafbfc;
}

.maint-id {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #ccc;
    border-right: 1px solid #eee;
    transition: all 0.3s;
}

.maint-module:hover .maint-id {
    color: #000;
    background: var(--primary);
}

.maint-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #eee;
}

.maint-info h3 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--title-color);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.maint-info .maint-tag {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.4rem;
    display: block;
}

.maint-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.maint-features li {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #777;
    background: #f4f5f7;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
}

.maint-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.maint-details {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 2.5rem;
    align-items: center;
}

.maint-desc {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

.maint-details p {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.65;
}

.product-thumb-img {
    max-height: 230px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
    transition: transform 0.4s ease;
    justify-self: center;
}

.maint-module:hover .product-thumb-img {
    transform: scale(1.06);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background: transparent;
    color: var(--title-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1.5px solid var(--title-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-download:hover {
    background: var(--title-color);
    color: #fff;
    border-color: var(--title-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(33, 36, 78, 0.2);
}

/* 6. GRID DE NORMATIVAS Y ESTÁNDARES */
.tax-content {
    background: #f8f9fa;
    padding: 9rem 10%;
    text-align: center;
}

.tax-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4.5rem;
}

.tax-item {
    background: #fff;
    padding: 3.5rem 2.2rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tax-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(33, 36, 78, 0.1);
    border-color: var(--primary);
}

.tax-icon-svg {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.tax-item:hover .tax-icon-svg {
    background: var(--primary);
    transform: scale(1.1);
    border-color: var(--primary);
}

.tax-item:hover .tax-icon-svg svg {
    stroke: #000;
}

.tax-item strong {
    font-size: 1.05rem;
    color: var(--primary-hover);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
    font-weight: 900;
}

.tax-item h4 {
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: var(--title-color);
    line-height: 1.2;
}

.tax-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.65;
}

/* 7. SECTOR DE APLICACIONES */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4.5rem;
}

.sector-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sector-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.sector-card:hover::before {
    opacity: 1;
}

.sector-icon {
    margin-bottom: 1.5rem;
    color: var(--title-color);
}

.sector-card h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--title-color);
}

.sector-card p {
    font-size: 0.98rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sector-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--title-color);
    background: #f7f7f7;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* 8. CTA FINAL */
.solar-cta {
    background: var(--title-color);
    padding: 9rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.solar-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.solar-cta h2 {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 900;
    margin-bottom: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
}

.solar-cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.solar-cta .cta-inner::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-cta-gold {
    background: var(--primary);
    color: #000;
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(237, 190, 8, 0.3);
}

.btn-cta-gold:hover {
    background: #fff;
    color: var(--title-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .maint-module {
        grid-template-columns: 70px 1.3fr 1.8fr;
    }
    .maint-details {
        grid-template-columns: 1fr 160px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .static-hero {
        padding: 110px 5% 50px 5%;
        min-height: auto;
    }
    .section-container, .tax-content {
        padding: 6rem 6%;
    }
    .phil-text h2, h2.phil-text, .philosophy-block h2, .mosaic-info h3 {
        font-size: 2.8rem;
    }
    .mosaic-info {
        grid-template-columns: 1fr;
        margin: 4rem auto;
    }
    .info-card {
        padding: 4rem 2.5rem;
    }
    .maint-module {
        grid-template-columns: 1fr;
    }
    .maint-id {
        display: none;
    }
    .maint-info {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 2.5rem 2rem;
    }
    .maint-details {
        padding: 2.5rem 2rem;
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .maint-desc {
        align-items: center;
        text-align: center;
    }
    .product-thumb-img {
        max-height: 180px;
    }
    .btn-download {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .static-hero {
        padding: 95px 5% 40px 5%;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    .section-container, .tax-content {
        padding: 4rem 5%;
    }
    .phil-text h2, h2.phil-text, .philosophy-block h2, .mosaic-info h3 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    .info-card h3 {
        font-size: 2rem;
    }
    .info-card {
        padding: 3rem 1.8rem;
    }
    .solar-cta h2 {
        font-size: 2.2rem;
    }
    .solar-cta {
        padding: 5rem 6%;
    }
    .sector-grid {
        grid-template-columns: 1fr;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    .timeline-line {
        display: none;
    }
    .btn-cta-gold, .btn-cta-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .static-hero {
        padding: 85px 4% 30px 4%;
    }
    .section-container, .tax-content {
        padding: 3rem 4%;
    }
    .phil-text h2, h2.phil-text, .philosophy-block h2, .mosaic-info h3 {
        font-size: 1.65rem;
        margin-bottom: 1.2rem;
    }
    .info-card h3 {
        font-size: 1.6rem;
    }
    .phil-accent p {
        font-size: 1.05rem;
    }
    .info-card {
        padding: 2rem 1.2rem;
    }
    .maint-info {
        padding: 1.8rem 1.2rem;
    }
    .maint-info h3 {
        font-size: 1.4rem;
    }
    .maint-details {
        padding: 1.8rem 1.2rem;
    }
    .product-thumb-img {
        max-height: 150px;
    }
    .tax-item {
        padding: 2rem 1rem;
    }
    .solar-cta {
        padding: 3.5rem 4%;
    }
    .solar-cta h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    .solar-cta p {
        font-size: 0.95rem;
    }
}
