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

:root {
    --color-primary: #6d283b;
    --color-gold: #c09b67;
    --color-light: #ffffff;
    --color-bg: #faf8f6;
    --color-text: #2c2c2c;
    --color-accent: #8d4a5f;
    --color-soft-bg: #f0ebe5;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-soft-bg) 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* NAVBAR */
.navbar-custom {
    background: #6d283b;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(109, 40, 59, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--color-gold);
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--color-light) !important;
    margin: 0 1rem;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.btn-nav-social {
    background: linear-gradient(135deg, var(--color-gold), #d4af8a);
    color: var(--color-light);
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-left: 1.5rem;
    box-shadow: 0 4px 15px rgba(109, 40, 59, 0.2);
}

.btn-nav-social:hover {
    background: linear-gradient(135deg, var(--color-gold), #d4af8a);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 155, 103, 0.3);
}

/* HERO SECTION - NUEVO DISEÑO */
.hero {
    min-height: 95vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(250, 248, 246, 0.85) 50%, rgba(83, 12, 2, 0.85) 50%), url('../imagenes/header.png') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 155, 103, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(109, 40, 59, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 700px;
    line-height: 1.8;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-light);
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(109, 40, 59, 0.3);
    font-size: 1.05rem;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--color-gold), #d4af8a);
    color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(192, 155, 103, 0.4);
}

.hero-image {
    position: relative;
    height: 450px;
    margin-top: 3rem;
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(109, 40, 59, 0.25);
    transition: transform 0.4s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    background: var(--color-light);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: var(--color-primary);
    z-index: 10;
}

.badge-1 {
    top: 20px;
    left: -30px;
    animation: bounce 4s ease-in-out infinite;
}

.badge-2 {
    bottom: 40px;
    right: -40px;
    animation: bounce 4s ease-in-out infinite reverse;
    animation-delay: 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

/* CTA BANNER MEJORADO */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-light);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner > * {
    position: relative;
    z-index: 2;
}

.cta-banner h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-banner p {
    color: var(--color-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* TIMELINE SECTIONS */
.timeline-container {
    position: relative;
    padding: 4rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-primary) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

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

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

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--color-gold);
    border: 4px solid var(--color-light);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--color-primary);
    z-index: 3;
}

.timeline-content {
    width: 45%;
    background: var(--color-light);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(109, 40, 59, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(109, 40, 59, 0.2);
}

.timeline-content h3 {
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.timeline-image {
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold), #d4af8a);
    color: var(--color-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.content-list li {
    padding: 0.8rem 0 0.8rem 2rem;
    position: relative;
    color: #666;
    margin-bottom: 0.5rem;
}

.content-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 900;
    font-size: 1.2rem;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.card-feature {
    background: var(--color-light);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(109, 40, 59, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(109, 40, 59, 0.2);
}

.card-feature:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(109, 40, 59, 0.2);
}

.card-feature h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-feature p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* HERO 2.0 - COMPARATIVA */
.hero-2 {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-light);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    border-radius: 20px;
}

.hero-2::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-2 > * {
    position: relative;
    z-index: 2;
}

.hero-2 h2 {
    color: var(--color-gold);
    margin-bottom: 2rem;
    font-size: 2.8rem;
}

.hero-2 p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-light);
    padding: 4rem 0 1rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-gold);
    margin-left: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-primary);
    transform: translateY(-8px) scale(1.1);
    border-color: var(--color-gold);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 3rem 0;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.email-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.email-link:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .timeline-container::before {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 2rem;
        padding-left: 3rem;
    }

    .timeline-dot {
        left: 0;
    }

    .hero-image {
        height: 300px;
    }

    .floating-badge {
        position: static;
        margin: 1rem 0;
        display: inline-block;
    }

    .navbar-brand img {
        height: 40px;
    }

    .btn-nav-social {
        margin-left: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .nav-link {
        margin: 0.3rem 0;
    }

    .hero-2 {
        padding: 3rem 2rem;
        border-radius: 15px;
    }

    .hero-2 h2 {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}