* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Patagonian color palette - ocres and blues */
    --primary-ochre: #D4A574;
    --dark-ochre: #B8956A;
    --light-ochre: #F2E5D0;
    --patagonia-blue: #2B4F72;
    --light-blue: #4A6B94;
    --sky-blue: #87CEEB;
    --warm-white: #FEFBF8;
    --charcoal: #2C2C2C;
    --light-gray: #F8F6F3;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 120px 0;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    background-color: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 251, 248, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--patagonia-blue);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--primary-ochre);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-ochre);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-ochre);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroParallax 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(43, 79, 114, 0.3) 0%,
        rgba(212, 165, 116, 0.2) 50%,
        rgba(44, 44, 44, 0.4) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--warm-white);
    max-width: 800px;
    padding: 0 2rem;
    animation: heroFadeIn 2s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    animation: titleSlideIn 1s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.highlight {
    color: var(--primary-ochre);
    text-shadow: 0 0 30px rgba(212, 165, 116, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 1.2s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--warm-white);
    border-bottom: 2px solid var(--warm-white);
    transform: rotate(45deg);
    opacity: 0.7;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-ochre), var(--dark-ochre));
    color: var(--warm-white);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--patagonia-blue);
    border: 2px solid var(--patagonia-blue);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.4);
}

.cta-button.secondary:hover {
    background: var(--patagonia-blue);
    color: var(--warm-white);
}

.button-arrow {
    transition: var(--transition-smooth);
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Sections */
.section {
    padding: var(--section-padding);
    position: relative;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--patagonia-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section-description {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Propuesta Section */
.propuesta {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--warm-white) 100%);
}

.propuesta-content {
    display: grid;
    gap: 3rem;
    text-align: center;
}

.progress-section {
    background: var(--warm-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 600;
    color: var(--charcoal);
}

.progress-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-ochre);
    font-family: var(--font-display);
}

.progress-bar {
    height: 12px;
    background: var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-ochre), var(--dark-ochre));
    border-radius: 6px;
    width: 0;
    animation: progressFill 2s ease-out 0.5s forwards;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 1.5s ease-out 2.5s;
}

/* Retorno Section */
.retorno {
    background: var(--patagonia-blue);
    color: var(--warm-white);
}

.retorno .section-title,
.retorno .section-description {
    color: var(--warm-white);
}

.retorno-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.investment-card {
    background: rgba(254, 251, 248, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.investment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.card-header {
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-ochre);
}

.investment-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.investment-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(212, 165, 116, 0.3);
    transform: translateY(-50%);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(254, 251, 248, 0.3);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.timeline-item.active::before {
    background: var(--primary-ochre);
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

.timeline-year {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.timeline-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Beneficios Section */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.beneficio-card {
    background: var(--warm-white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: var(--transition-bounce);
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.beneficio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(212, 165, 116, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--patagonia-blue);
    margin-bottom: 1rem;
}

.card-description {
    color: var(--charcoal);
    opacity: 0.9;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Gallery Section */
.proyecto {
    background: var(--light-gray);
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    height: 600px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item.main {
    grid-row: 1 / -1;
}

.gallery-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-label {
    color: var(--warm-white);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--warm-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.email-link {
    color: var(--primary-ochre);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0;
    display: block;
    transition: var(--transition-smooth);
}

.email-link:hover {
    color: var(--light-ochre);
}

.footer-brand {
    text-align: right;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Animations */
@keyframes heroParallax {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes titleSlideIn {
    from { 
        opacity: 0; 
        transform: translateX(-100px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes progressFill {
    from { width: 0; }
    to { width: var(--progress-width, 23%); }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .retorno-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 250px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

