/* static/css/style-alt.css */

/* Variables de color basadas en el logo - enfoque alternativo */
:root {
    --primary-deep: #175681;
    --primary-bright: #0097b2;
    --primary-soft: #c1e6f9;
    --accent-fresh: #c4f1dd;
    --text-dark: #000000;
    --text-gray: #2d3748;
    --text-light: #4a5568;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --section-alt: #f1f9ff;
}

/* Reset y configuraciones base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-deep);
}

/* Navegación lateral fija */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 90px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-deep) 0%, var(--primary-bright) 100%);
    z-index: 1000;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
}

.side-nav:hover {
    width: 240px;
}

.nav-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 0;
}

.nav-logo {
    padding: 0 25px;
    margin-bottom: 50px;
}

.logo-img {
    width: 100%;
    max-width: 100px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.side-nav:hover .logo-img {
    transform: scale(1.05);
}

.nav-menu {
    list-style: none;
    flex-grow: 1;
    padding-left: 25px;
}

.nav-item {
    margin-bottom: 25px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-item:hover {
    opacity: 1;
    transform: translateX(5px);
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white) !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 12px 0;
    position: relative;
}

.nav-link.active {
    opacity: 1;
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--accent-fresh);
    border-radius: 0 2px 2px 0;
}

.nav-link i {
    font-size: 1.4rem;
    width: 40px;
    min-width: 40px;
}

.nav-link span {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease 0.2s;
}

.side-nav:hover .nav-link span {
    opacity: 1;
}

.nav-social {
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--white);
    color: var(--primary-deep);
    transform: translateY(-3px);
}

/* Contenido principal */
.main-content {
    margin-left: 90px;
    min-height: 100vh;
}

/* Header asimétrico */
.asymmetric-header {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.header-text {
    padding: 80px 60px;
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.header-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100%;
    background-color: var(--light-bg);
    transform: skewX(-15deg);
    z-index: -1;
}

.main-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    position: relative;
    padding-left: 20px;
}

.title-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 70%;
    background-color: var(--primary-bright);
    border-radius: 4px;
}

.title-line.accent {
    color: var(--primary-bright);
    font-size: 5rem;
    margin: 10px 0;
}

.tagline {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.4;
}

.header-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-cta {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-deep) 100%);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 151, 178, 0.3);
}

.primary-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 151, 178, 0.4);
    color: var(--white);
}

.secondary-cta {
    background-color: transparent;
    color: var(--primary-deep);
    border: 2px solid var(--primary-deep);
}

.secondary-cta:hover {
    background-color: var(--primary-deep);
    color: var(--white);
    transform: translateY(-5px);
}

.header-image {
    position: relative;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 85vh;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(23, 86, 129, 0.4) 0%, rgba(193, 230, 249, 0.2) 100%);
}

/* Módulos de introducción */
.intro-modules {
    padding: 80px 40px;
    background-color: var(--white);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.module-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.module-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--accent-fresh) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--primary-deep);
}

.module-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-deep);
}

.module-card p {
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
}

/* Timeline diagonal */
.timeline-container {
    position: relative;
    padding: 60px 0;
}

.timeline-section {
    padding: 80px 40px;
    position: relative;
}

.alt-section {
    background-color: var(--section-alt);
}

.section-header {
    margin-bottom: 80px;
    position: relative;
}

.diagonal-header {
    padding-left: 100px;
    position: relative;
}

.diagonal-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 70px;
    height: 70px;
    background-color: var(--primary-bright);
    border-radius: 15px;
    z-index: 1;
}

.diagonal-header.alt::before {
    background-color: var(--accent-fresh);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.section-label i {
    font-size: 2.5rem;
    color: var(--white);
}

.section-label h2 {
    font-size: 3rem;
    color: var(--primary-deep);
    margin: 0;
}

.section-desc {
    max-width: 600px;
    padding-left: 95px;
}

.section-desc p {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contenido del timeline */
.timeline-content {
    position: relative;
    padding-left: 100px;
}

.timeline-content.reverse {
    padding-left: 0;
    padding-right: 100px;
}

.timeline-item {
    display: flex;
    margin-bottom: 70px;
    position: relative;
}

.timeline-content.reverse .timeline-item {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-bright) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
}

.timeline-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px;
    margin-left: 40px;
    margin-right: 40px;
    flex-grow: 1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content.reverse .timeline-card {
    margin-left: 0;
    margin-right: 40px;
}

.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.timeline-card h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-deep);
}

.timeline-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.timeline-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
}

/* Mosaico de cierre */
.closing-mosaic {
    padding: 100px 40px;
    background-color: var(--white);
}

.mosaic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.closing-statement {
    margin-bottom: 60px;
}

.closing-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 30px;
    color: var(--primary-deep);
}

.closing-statement p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
}

.urgent-cta {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--primary-soft) 100%);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cta-icon {
    font-size: 2.5rem;
    color: var(--primary-bright);
    min-width: 60px;
}

.cta-content h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-deep);
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.final-cta-box {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}

.cta-message {
    font-size: 1.3rem;
    color: var(--primary-deep);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cta-message i {
    color: var(--primary-bright);
    font-size: 1.5rem;
    margin-top: 5px;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
}

.final-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.final-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.facebook-final {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-deep) 100%);
    color: var(--white);
}

.facebook-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 151, 178, 0.3);
    color: var(--white);
}

.email-final {
    background-color: transparent;
    color: var(--primary-deep);
    border: 2px solid var(--primary-deep);
}

.email-final:hover {
    background-color: var(--primary-deep);
    color: var(--white);
}

/* Mosaico visual */
.mosaic-visual {
    height: 100%;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
    min-height: 500px;
}

.grid-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, var(--primary-deep), var(--primary-bright));
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(23, 86, 129, 0.8), rgba(0, 151, 178, 0.6));
}

.item-1 { background-color: var(--primary-deep); }
.item-2 { background-color: var(--primary-bright); }
.item-3 { background-color: var(--accent-fresh); }
.item-4 { background-color: var(--primary-soft); }

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

/* Footer minimalista */
.minimal-footer {
    background-color: var(--primary-deep);
    color: var(--white);
    padding: 50px 40px;
    border-top: 5px solid var(--primary-bright);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo-img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: var(--primary-soft);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-fresh);
}

.footer-copyright p {
    color: var(--primary-soft);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-title {
        font-size: 3.5rem;
    }
    
    .title-line.accent {
        font-size: 4rem;
    }
    
    .section-label h2 {
        font-size: 2.5rem;
    }
    
    .mosaic-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .side-nav {
        width: 70px;
    }
    
    .main-content {
        margin-left: 70px;
    }
    
    .header-content {
        grid-template-columns: 1fr;
    }
    
    .header-text {
        padding: 60px 40px;
    }
    
    .header-image {
        display: none;
    }
    
    .diagonal-header {
        padding-left: 70px;
    }
    
    .section-desc {
        padding-left: 70px;
    }
    
    .timeline-content,
    .timeline-content.reverse {
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-content.reverse .timeline-item {
        flex-direction: row;
    }
    
    .timeline-content.reverse .timeline-card {
        margin-right: 0;
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .title-line.accent {
        font-size: 3.2rem;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .section-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-label h2 {
        font-size: 2rem;
    }
    
    .diagonal-header {
        padding-left: 50px;
    }
    
    .diagonal-header::before {
        width: 50px;
        height: 50px;
    }
    
    .section-desc {
        padding-left: 50px;
    }
    
    .timeline-content,
    .timeline-content.reverse {
        padding-left: 50px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-card {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .timeline-content.reverse .timeline-item {
        flex-direction: column;
    }
    
    .timeline-content.reverse .timeline-card {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .urgent-cta {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .header-text,
    .timeline-section,
    .closing-mosaic,
    .intro-modules {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .title-line.accent {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 15px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .module-grid {
        grid-template-columns: 1fr;
    }
    
    .visual-grid {
        min-height: 400px;
    }
}