/* Importar tipografías de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Variables para consistencia */
:root {
    --primary-gold: #d4af37;
    --primary-warm-gold: #f4d03f;
    --primary-dark: #0f172a;
    --secondary-dark: #1e293b;
    --tertiary-dark: #334155;
    --text-cream: #f5f5dc;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-medium-gray: #9ca3af;
    
    /* Tipografías */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Crimson Text', serif;
}

/* Banner Hero */
.page-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 90px;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-fallback-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(142, 68, 173, 0.8));
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 1.5em;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-family: var(--font-body);
}

/* Sección de Introducción */
.intro-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--accent-cream) 0%, #fff 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-icon {
    font-size: 3em;
    color: var(--primary-gold);
    margin-bottom: 30px;
}

.intro-content h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.intro-content p {
    font-size: 1.2em;
    color: var(--text-dark-gray);
    line-height: 1.9;
    font-weight: 300;
    font-family: var(--font-body);
}

/* Sección Credo */
.credo-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.credo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.credo-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 50px 60px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.credo-card:first-child {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.credo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-gold);
    padding-left: 56px;
}

.credo-number {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary-gold);
    margin-right: 15px;
    min-width: 30px;
}

.credo-card h3 {
    color: var(--text-cream);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.credo-card h3::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
    margin-right: 15px;
    vertical-align: middle;
}

.credo-description {
    color: #cbd5e1;
    font-size: 1.15em;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
    font-family: var(--font-body);
}

.credo-puntos {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    padding-left: 30px;
}

.credo-puntos li {
    color: #94a3b8;
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 15px;
    position: relative;
    font-family: var(--font-body);
}

.credo-puntos li:before {
    content: "";
    position: absolute;
    left: -36px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
}

.credo-puntos li strong {
    color: var(--primary-gold);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.05em;
    font-family: var(--font-body);
}

/* Call to Action */
.cta-section {
    padding: 120px 20px;
    background-image: url('banner/cta-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(2px);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    padding: 60px 50px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--text-cream);
}

.cta-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
    font-weight: 300;
    color: #cbd5e1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1.1em;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-warm-gold));
    color: var(--primary-dark);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-warm-gold), var(--primary-gold));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-warm-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-dark, #0f172a) 0%, var(--secondary-dark, #1e293b) 100%);
    color: var(--text-white);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-warm-gold));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo .footer-logo-image {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.footer-logo p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-cream);
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: var(--font-body);
}

.footer-column ul li a:hover {
    color: var(--primary-gold);
    padding-left: 8px;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.footer-social a {
    width: 55px;
    height: 55px;
    background: #334155;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-warm-gold));
    color: var(--text-white);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 400;
    font-family: var(--font-body);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5em;
    }

    .banner-subtitle {
        font-size: 1.2em;
    }

    .intro-section {
        padding: 60px 20px;
    }

    .intro-content h2 {
        font-size: 2em;
    }

    .intro-content p {
        font-size: 1.1em;
    }

    .credo-section {
        padding: 60px 15px;
    }

    .credo-card {
        padding: 35px 25px;
    }

    .credo-card:hover {
        padding-left: 21px;
        border-left: 4px solid var(--primary-gold);
    }

    .credo-card h3 {
        font-size: 1.5em;
    }

    .credo-card h3::before {
        width: 30px;
        margin-right: 10px;
    }

    .credo-description {
        font-size: 1.05em;
    }

    .credo-puntos {
        padding-left: 25px;
    }

    .credo-puntos li {
        font-size: 0.95em;
    }

    .cta-section {
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .cta-content {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 2em;
    }

    .cta-content p {
        font-size: 1.1em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2em;
    }

    .intro-icon {
        font-size: 3em;
    }

    .credo-card h3 {
        font-size: 1.3em;
    }
}