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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: #F8F6F1;
    color: #0A1628;
    overflow-x: hidden
}

:root {
    --navy: #0A1628;
    --gold: #C8922A;
    --cream: #F8F6F1;
    --white: #fff;
    --gray: #E8E8E8;
    --gray2: #9CA3AF
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.97);
    z-index: 100;
    padding: 0 1.2rem
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.04em;
    white-space: nowrap
}

.nav-logo span {
    color: var(--gold)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: all 0.3s
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.98);
    padding: 1rem 1.2rem 1.5rem;
    gap: 0
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block
}

.mobile-menu a:last-child {
    border-bottom: none
}

.mobile-menu.open {
    display: flex
}

.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    position: relative
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(200, 146, 42, 0.08) 0%, transparent 60%)
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 8vw, 5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem
}

.hero h1 em {
    font-style: italic;
    color: var(--gold)
}

.hero p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 590px;
    line-height: 1.8;
    margin: 0 auto 2rem
}

.hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: opacity 0.2s;
    width: 200px;
    text-align: center
}

.btn:hover {
    opacity: 0.88
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold)
}

section {
    padding: 4rem 1.5rem
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.7rem
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.5rem
}

.divider {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.8rem
}

#about {
    background: #fff
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem
}

.about-text p {
    font-size: 0.97rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 1rem
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.stat-card {
    background: var(--cream);
    padding: 1.4rem 1.2rem;
    border-left: 3px solid var(--gold)
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1
}

.stat-label {
    font-size: 0.72rem;
    color: var(--gray2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.4rem
}

#mision {
    background: var(--navy);
    color: #fff
}

#mision .section-title {
    color: #fff
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem
}

.mv-card {
    border-top: 1px solid rgba(200, 146, 42, 0.4);
    padding-top: 1.8rem
}

.mv-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 0.8rem
}

.mv-card p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7)
}

#valores {
    background: var(--cream)
}

.valores-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem
}

.valor-card {
    background: #fff;
    padding: 1.5rem 1.2rem;
    border-bottom: 3px solid transparent;
    transition: border-color 0.25s
}

.valor-card:hover {
    border-color: var(--gold)
}

.valor-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem
}

.valor-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em
}

.valor-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #6B7280
}

#contacto {
    background: #fff
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 2rem
}

.contact-info-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 1.5rem
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
    color: #374151
}

.contact-detail i {
    color: var(--gold);
    font-size: 0.95rem;
    width: 16px;
    flex-shrink: 0
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem
}

.contact-form input,
.contact-form textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray);
    background: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--navy);
    outline: none;
    border-radius: 2px;
    transition: border-color 0.2s;
    width: 100%
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold)
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px
}

.btn-submit {
    padding: 0.9rem 1.5rem;
    background: var(--navy);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
    width: 100%
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--navy)
}

footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 1.5rem 2rem
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem
}

.footer-brand .nav-logo {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 1.1rem
}

.footer-brand p {
    font-size: 0.83rem;
    line-height: 1.7
}

.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem
}

.footer-col p,
.footer-col address {
    font-size: 0.83rem;
    line-height: 1.9;
    font-style: normal
}

.footer-col p a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s;
    font-size: 0.9rem
}

.social-links a:hover {
    border-color: var(--gold);
    color: var(--gold)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0)
}

@media(min-width:640px) {
    .valores-grid {
    grid-template-columns: 1fr 1fr
    }

    .footer-top {
    grid-template-columns: 1fr 1fr
    }

    .hero-btns {
    flex-direction: row;
    justify-content: center
    }

    .btn {
    width: auto
    }
}

@media(min-width:900px) {
    nav {
    padding: 0 2rem
    }

    .hamburger {
    display: none !important
    }

    .nav-links {
    display: flex !important
    }

    .mobile-menu {
    display: none !important
    }

    section {
    padding: 6rem 2rem
    }

    .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem
    }

    .mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem
    }

    .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem
    }

    .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem
    }

    .footer-bottom {
    flex-direction: row;
    justify-content: space-between
    }

    .valores-grid {
    grid-template-columns: repeat(3, 1fr)
    }

    .hero-btns {
    flex-direction: row;
    justify-content: center
    }

    .btn {
    width: auto
    }
}

@media(max-width:899px) {
    .hamburger {
    display: flex
    }

    .nav-links {
    display: none
    }
}