/* --- VARIABLES & RESET --- */
:root {
    --primary-orange: #ff7f00;
    --primary-orange-hover: #e66e00;
    --dark-blue: #212F40;
    --dark-blue-2: #012F4E;
    --dark-blue-3: #233844;
    --text-dark: #1a1a1a;
    --text-grey: #555;
    --white: #ffffff;
    --off-white: #f0f0f0;
    --shadow-orange: 0 6px 15px rgba(255, 127, 0, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 25px;
    --font-primary: 'League Spartan', sans-serif;
    --font-special: 'MuseoModerno', sans-serif;

    /* --- FONT SIZES --- */
    --fz-hero: clamp(2.5rem, 8vw, 4.5rem);
    --fz-section-title: clamp(2rem, 5vw, 2.5rem);
    --fz-card-title: 1.75rem;
    --fz-subtitle: 1.5rem;
    --fz-small-title: 1.25rem;
    --fz-body: 1rem;
    --fz-nav: 0.9rem;
    --fz-button: 0.9rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-special);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-special);
}

.btn-icon {
    height: 1.5em;
    width: auto;
    object-fit: contain;
}

.btn-primary {
    background: linear-gradient(90deg, #ff9a3d 0%, var(--primary-orange) 100%);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.4);
}

.btn-secondary {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 16px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-orange);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.4);
}

.btn-primary-lg {
    background: var(--primary-orange);
    color: white;
    font-size: 1.2rem;
    padding: 15px 40px;
    box-shadow: var(--shadow-orange);
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.4);
}

.btn-outline-lg {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1.2rem;
    padding: 15px 40px;
}

.btn-outline-lg:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* --- HEADER --- */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.header-container .main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid #cecece;
    border-radius: 50px;
    padding: 20px 30px;
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
    display: flex;
    gap: 35px;
}

.logo h1 {
    color: white;
    font-size: var(--fz-hero);
    font-weight: 800;
}

.main-nav .btn-primary {
    color: white;
    font-weight: 400;
}

.main-nav li a:hover {
    color: var(--primary-orange);
}

.main-nav .btn-primary:hover {
    color: white;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    color: white;
    font-size: var(--fz-hero);
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
    background-color: var(--primary-orange);
    padding: 0 15px 6px;
    border-radius: 10px;
    display: inline-block;
}

/* --- EYEBROW --- */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--fz-nav);
    font-weight: 600;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: var(--font-special);
}

.eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-orange);
}

.eyebrow.center {
    justify-content: center;
}

/* --- HISTORIA --- */
.historia-section {
    padding: 100px 0 80px;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.historia-photo {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.historia-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.historia-text h3 {
    color: var(--dark-blue);
    font-size: var(--fz-section-title);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.historia-text p {
    color: var(--text-grey);
    font-size: var(--fz-body);
    margin-bottom: 15px;
    line-height: 1.7;
}

/* --- MISION / VISION --- */
.mv-section {
    padding: 80px 0;
    background-color: var(--white);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 10px;
}

.mv-card {
    border-radius: 30px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.mv-card.dark {
    background-color: var(--dark-blue);
    color: var(--white);
}

.mv-card.light {
    background-color: var(--off-white);
    color: var(--dark-blue);
}

.mv-card .tag {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: var(--fz-nav);
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-special);
}

.mv-card h3 {
    font-size: var(--fz-subtitle);
    font-weight: 800;
    margin-bottom: 15px;
}

.mv-card p {
    font-size: var(--fz-body);
    line-height: 1.7;
    opacity: 0.9;
}

/* --- DIFERENCIADORES --- */
.diff-section {
    padding: 80px 0;
}

.diff-head {
    text-align: center;
    margin-bottom: 60px;
}

.diff-head h3 {
    color: var(--dark-blue);
    font-size: var(--fz-section-title);
    font-weight: 800;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.diff-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
}

.diff-photo {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.diff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diff-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.diff-icon img {
    width: 28px;
    height: 28px;
}

.diff-body {
    padding: 35px 20px 25px;
}

.diff-body h4 {
    color: var(--dark-blue);
    font-size: var(--fz-small-title);
    margin-bottom: 10px;
}

.diff-body p {
    color: var(--text-grey);
    font-size: var(--fz-nav);
    line-height: 1.6;
}

/* --- IMPACTO --- */
.impacto-section {
    padding: 40px 0 80px;
    text-align: center;
}

.impacto-section h3 {
    color: var(--dark-blue);
    font-size: var(--fz-section-title);
    font-weight: 800;
    margin-bottom: 50px;
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-special);
}

.stat p {
    color: var(--text-grey);
    font-size: var(--fz-body);
    max-width: 220px;
}

/* --- VALORES --- */
.valores-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.valores-section h3 {
    color: var(--dark-blue);
    font-size: var(--fz-section-title);
    font-weight: 800;
    margin-bottom: 50px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.valor {
    text-align: center;
}

.valor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-icon img {
    width: 45px;
    height: 45px;
}

.valor h4 {
    color: var(--dark-blue);
    font-size: var(--fz-small-title);
    margin-bottom: 10px;
}

.valor p {
    color: var(--text-grey);
    font-size: var(--fz-nav);
    line-height: 1.6;
}

/* --- CTA FINAL --- */
.cta-section {
    padding: 0 0 80px;
}

.cta-banner {
    background: var(--dark-blue);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
}

.cta-eyebrow {
    color: var(--white);
    opacity: 0.7;
}

.cta-eyebrow::before {
    background: var(--white);
}

.cta-banner h3 {
    color: var(--white);
    font-size: var(--fz-section-title);
    font-weight: 800;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #f0f0f0;
    padding: 100px 0 20px;
}

.footer-line {
    border: none;
    height: 2px;
    background-color: white;
    width: 100%;
    margin: 0;
}

.footer-flex {
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 40px 0;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    color: var(--primary-orange);
    font-size: 6rem;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3);
}

.social-icon img {
    width: 40px;
    height: 40px;
}

.footer-divider {
    width: 1.5px;
    height: 160px;
    background-color: var(--dark-blue);
    opacity: 0.2;
}

.footer-contact-section h4 {
    color: var(--dark-blue);
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    color: var(--dark-blue-2);
}

.contact-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    color: var(--dark-blue-2);
}

.contact-icon {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    color: var(--dark-blue);
    font-family: var(--font-primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .footer-flex {
        gap: 50px;
    }

    .footer-logo {
        font-size: 4.5rem;
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo h1 {
        font-size: var(--fz-section-title);
    }

    .main-nav {
        margin-left: auto;
        margin-right: 15px;
    }

    .main-nav .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .main-nav ul {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: static;
    }

    .menu-toggle img {
        width: 20px;
        height: 20px;
    }

    .hero-content h2 {
        font-size: var(--fz-section-title);
    }

    /* Historia */
    .historia-section {
        padding: 60px 0;
    }

    .historia-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .historia-photo img {
        min-height: 250px;
    }

    /* Mision / Vision */
    .mv-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        padding: 35px 25px;
    }

    /* Diferenciadores */
    .diff-section {
        padding: 60px 0;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Impacto */
    .stat-row {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Valores */
    .valores-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    /* CTA */
    .cta-banner {
        padding: 40px 20px;
    }

    .cta-banner h3 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        font-size: 1rem;
        padding: 12px 30px;
    }

    /* Footer */
    .footer-flex {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 60px 0;
    }

    .footer-brand-section {
        align-items: center;
    }

    .footer-divider {
        width: 150px;
        height: 1.5px;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-logo {
        font-size: 4rem;
    }
}

@media (max-width: 425px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }
}
