/* ================================
   DESBLOQUEA TU MAPA - UNIFIED STYLES
   Based on homepage design
   ================================ */

:root {
    --primary-color: #2C3338;
    --accent-color: #9B8578;
    --text-color: #2C3338;
    --background-color: #FAFAFA;
    --border-color: #E5E5E5;
    --map-color: rgba(44, 51, 56, 0.1);
    --spacing-unit: 1.5rem;
}

/* ================================
   BASE STYLES
   ================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--primary-color);
}

h2 {
    font-size: 1.75rem;
    margin: calc(var(--spacing-unit) * 2) 0 var(--spacing-unit);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

h3 {
    font-size: 1.25rem;
    margin: calc(var(--spacing-unit) * 1.5) 0 var(--spacing-unit);
    font-weight: 500;
    color: var(--primary-color);
}

p {
    margin-bottom: var(--spacing-unit);
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.98);
    padding: var(--spacing-unit) 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-unit);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* ================================
   LAYOUT CONTAINERS
   ================================ */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.content {
    margin: calc(var(--spacing-unit) * 2) 0;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
}

/* ================================
   HERO SECTIONS
   ================================ */

.header-container {
    position: relative;
    width: 100%;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('/assets/header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: calc(var(--spacing-unit) * 6) 0;
    margin-bottom: calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid var(--border-color);
    color: white;
}

.header-container.hidden {
    display: none;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    text-align: center;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: white;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--spacing-unit);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.header-subtitle.hidden {
    display: none;
}

/* Hero for internal pages */
.hero {
    text-align: center;
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) * 3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
    line-height: 1.3;
    color: var(--primary-color);
}

.hero .subtitle,
.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    font-weight: 300;
}

/* ================================
   CARDS & COMPONENTS
   ================================ */

.card {
    background: white;
    border: 1px solid var(--border-color);
    padding: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Benefits/Features Grid */
.benefits-container {
    margin-top: -3rem;
    margin-bottom: 3rem;
    padding: 0 var(--spacing-unit);
    position: relative;
    z-index: 1;
}

.benefits-container.hidden {
    display: none;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--accent-color);
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    background: rgba(155, 133, 120, 0.1);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(44, 51, 56, 0.8);
    margin: 0;
}

/* ================================
   BUTTONS
   ================================ */

.button,
.start-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.button:hover,
.start-button:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ================================
   QUOTES & SPECIAL TEXT
   ================================ */

.quote {
    font-size: 1.5rem;
    font-style: italic;
    margin: calc(var(--spacing-unit) * 2) 0;
    padding: 0 calc(var(--spacing-unit) * 2);
    text-align: center;
    opacity: 0.85;
}

.quote-author {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: var(--spacing-unit);
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-color);
    opacity: 0.9;
}

/* ================================
   FOOTER
   ================================ */

footer {
    border-top: 1px solid var(--border-color);
    margin-top: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2) 0;
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
}

/* ================================
   TIMELINE STYLES
   ================================ */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
    opacity: 0.2;
}

.timeline-item {
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.timeline-date {
    position: absolute;
    width: 200px;
    text-align: right;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--accent-color);
    line-height: 1.2;
    padding-top: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: 0;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-date {
    right: 0;
    text-align: left;
    padding-left: 3rem;
}

.timeline-content {
    width: 40%;
    padding: 2rem;
    background: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-left: auto;
    margin-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
    margin-right: auto;
}

.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border: 6px solid var(--accent-color);
    border-radius: 50%;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-description {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    :root {
        --spacing-unit: 1rem;
    }
    
    .header-title {
        font-size: 2.25rem;
    }
    
    .header-subtitle {
        font-size: 1.25rem;
    }
    
    .nav-links {
        gap: var(--spacing-unit);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .quote {
        font-size: 1.25rem;
        padding: 0 var(--spacing-unit);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
    
    .benefits-container {
        margin-top: -2rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle,
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .timeline::after {
        left: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        margin-left: 4rem;
    }

    .timeline-date {
        position: relative;
        width: auto;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .timeline-content {
        width: calc(100% - 2rem);
        margin: 0 !important;
    }

    .timeline-dot {
        left: 2rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

.hidden {
    display: none;
}

.center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}