/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --verde:
        #173f35;

    --verde-oscuro:
        #102f28;

    --verde-claro:
        #dfe9df;

    --crema:
        #f4f0e6;

    --crema-claro:
        #faf8f2;

    --terracota:
        #b85c3d;

    --texto:
        #18332d;

    --gris:
        #65716d;

    --blanco:
        #ffffff;

    --radio:
        18px;

    --sombra:
        0 15px 40px rgba(20, 40, 34, 0.12);

}


/* =========================================================
   RESET
   ========================================================= */

* {

    box-sizing:
        border-box;

    margin: 0;

    padding: 0;

}


html {

    scroll-behavior:
        smooth;

}


body {

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    color:
        var(--texto);

    background:
        var(--crema-claro);

    line-height:
        1.6;

}


a {

    color:
        inherit;

    text-decoration:
        none;

}


button {

    font-family:
        inherit;

}


/* =========================================================
   HEADER
   ========================================================= */

.header {

    position:
        fixed;

    top:
        0;

    left:
        0;

    width:
        100%;

    z-index:
        1000;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;

}


.header.scrolled {

    background:
        rgba(250, 248, 242, 0.94);

    backdrop-filter:
        blur(14px);

    box-shadow:
        0 5px 25px rgba(0,0,0,0.08);

}


.nav-container {

    max-width:
        1250px;

    margin:
        auto;

    padding:
        20px 35px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.logo {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.logo-symbol {

    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--verde);

    color:
        white;

    font-size:
        22px;

}


.logo-text {

    display:
        flex;

    flex-direction:
        column;

    line-height:
        1;

    letter-spacing:
        2px;

}


.logo-text strong {

    font-size:
        14px;

}


.logo-text span {

    font-size:
        11px;

    letter-spacing:
        4px;

}


.nav {

    display:
        flex;

    align-items:
        center;

    gap:
        32px;

}


.nav a {

    font-size:
        14px;

    font-weight:
        600;

    transition:
        color 0.2s ease;

}


.nav a:hover {

    color:
        var(--terracota);

}


.menu-toggle {

    display:
        none;

    border:
        none;

    background:
        transparent;

    cursor:
        pointer;

}


.menu-toggle span {

    display:
        block;

    width:
        26px;

    height:
        2px;

    margin:
        5px 0;

    background:
        var(--verde);

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    min-height:
        100vh;

    position:
        relative;

    overflow:
        hidden;

    display:
        flex;

    align-items:
        center;

    background:
        var(--crema);

}


.hero-content {

    position:
        relative;

    z-index:
        2;

    width:
        55%;

    max-width:
        1250px;

    margin:
        auto;

    padding:
        150px 35px 100px;

}


.hero-tag {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        25px;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        3px;

}


.hero-tag span {

    width:
        30px;

    height:
        2px;

    background:
        var(--terracota);

}


.hero h1 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(70px, 9vw, 125px);

    line-height:
        0.88;

    font-weight:
        600;

    letter-spacing:
        -5px;

}


.hero h1 em {

    color:
        var(--terracota);

    font-style:
        italic;

}


.hero-description {

    max-width:
        500px;

    margin-top:
        35px;

    font-size:
        19px;

    color:
        var(--gris);

}


.hero-buttons {

    display:
        flex;

    gap:
        15px;

    margin-top:
        35px;

}


.button {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        15px;

    padding:
        14px 22px;

    border-radius:
        100px;

    font-weight:
        700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.button:hover {

    transform:
        translateY(-3px);

}


.button-primary {

    background:
        var(--verde);

    color:
        white;

    box-shadow:
        0 8px 25px rgba(23,63,53,0.25);

}


.button-secondary {

    border:
        1px solid rgba(23,63,53,0.25);

}


.button-light {

    background:
        white;

    color:
        var(--verde);

}


.hero-decoration {

    position:
        absolute;

    right:
        -5%;

    top:
        10%;

    width:
        55vw;

    height:
        80vh;

}


.sound-circle {

    position:
        absolute;

    border-radius:
        50%;

    border:
        1px solid rgba(23,63,53,0.18);

}


.circle-one {

    width:
        600px;

    height:
        600px;

    right:
        0;

    top:
        10%;

}


.circle-two {

    width:
        450px;

    height:
        450px;

    right:
        75px;

    top:
        20%;

}


.circle-three {

    width:
        300px;

    height:
        300px;

    right:
        150px;

    top:
        30%;

}


.floating-note {

    position:
        absolute;

    font-family:
        "Playfair Display",
        serif;

    color:
        var(--terracota);

    font-size:
        50px;

    animation:
        float 5s ease-in-out infinite;

}


.note-one {

    right:
        20%;

    top:
        20%;

}


.note-two {

    right:
        50%;

    top:
        55%;

    animation-delay:
        1s;

}


.note-three {

    right:
        8%;

    top:
        70%;

    animation-delay:
        2s;

}


@keyframes float {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-18px)
            rotate(8deg);

    }

}


/* =========================================================
   SECCIONES
   ========================================================= */

.section {

    max-width:
        1250px;

    margin:
        auto;

    padding:
        120px 35px;

}


.section-label {

    display:
        block;

    margin-bottom:
        18px;

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        3px;

    color:
        var(--terracota);

}


.section-heading {

    display:
        grid;

    grid-template-columns:
        1fr 0.7fr;

    gap:
        70px;

    align-items:
        end;

    margin-bottom:
        60px;

}


.section-heading h2,
.about-title h2,
.contact-section h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(45px, 5vw, 72px);

    line-height:
        1;

    font-weight:
        600;

    letter-spacing:
        -2px;

}


.section-heading h2 em,
.about-title h2 em,
.contact-section h2 em,
.cta-section h2 em {

    color:
        var(--terracota);

    font-style:
        italic;

}


.section-heading > p {

    color:
        var(--gris);

}


/* =========================================================
   FRASE
   ========================================================= */

.quote-section {

    background:
        var(--verde);

    color:
        white;

    padding:
        90px 35px;

}


.quote-inner {

    max-width:
        850px;

    margin:
        auto;

    text-align:
        center;

}


.quote-mark {

    display:
        block;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        90px;

    line-height:
        0.5;

    color:
        #a7c0a8;

}


.quote-inner p {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(28px, 4vw, 45px);

    line-height:
        1.25;

}


/* =========================================================
   CLASES
   ========================================================= */

.classes-section {

    padding-bottom:
        140px;

}


.classes-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        18px;

}


.class-card {

    min-height:
        360px;

    padding:
        30px;

    background:
        white;

    border-radius:
        var(--radio);

    box-shadow:
        var(--sombra);

    display:
        flex;

    flex-direction:
        column;

    transition:
        transform 0.3s ease;

}


.class-card:hover {

    transform:
        translateY(-8px);

}


.class-card.featured {

    background:
        var(--verde);

    color:
        white;

}


.class-number {

    font-size:
        12px;

    opacity:
        0.5;

}


.class-icon {

    margin:
        40px 0 20px;

    font-size:
        38px;

}


.class-card h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        28px;

}


.class-card p {

    margin-top:
        12px;

    color:
        var(--gris);

    font-size:
        14px;

}


.class-card.featured p {

    color:
        rgba(255,255,255,0.7);

}


.class-card a {

    margin-top:
        auto;

    padding-top:
        25px;

    font-weight:
        700;

    font-size:
        14px;

}


/* =========================================================
   MAPA
   ========================================================= */

.map-section {

    padding:
        110px 0 0;

    background:
        #e7eee7;

}


.map-heading {

    max-width:
        1250px;

    margin:
        auto;

    padding:
        0 35px 50px;

    display:
        grid;

    grid-template-columns:
        1fr 0.7fr;

    gap:
        70px;

    align-items:
        end;

}


.map-heading h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(45px, 5vw, 72px);

    line-height:
        1;

    letter-spacing:
        -2px;

}


.map-heading h2 em {

    color:
        var(--terracota);

    font-style:
        italic;

}


.map-heading p {

    color:
        var(--gris);

}


.map-container {

    width:
        100%;

    height:
        650px;

}


/* =========================================================
   MAPA - LEAFLET
   ========================================================= */

.leaflet-container {

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

}


.profesor-icon {

    width:
        62px;

    height:
        62px;

    border-radius:
        50%;

    object-fit:
        cover;

    border:
        4px solid white;

    background:
        white;

    box-shadow:
        0 4px 14px rgba(0,0,0,0.38);

    transition:
        transform 0.25s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.25s ease;

}


.profesor-hover .profesor-icon {

    transform:
        scale(1.12);

    box-shadow:
        0 7px 22px rgba(0,0,0,0.45);

}


.leaflet-interactive {

    transition:
        opacity 0.35s ease,
        fill-opacity 0.35s ease;

}


.profesor-card {

    min-width:
        240px;

    padding:
        2px;

}


.profesor-card h3 {

    margin:
        0 0 8px;

    font-size:
        19px;

}


.profesor-card p {

    margin:
        5px 0;

    font-size:
        14px;

}


.profesor-instrumento {

    font-weight:
        bold;

}


.profesor-sector {

    color:
        #555;

}


.contactar {

    display:
        inline-block;

    margin-top:
        12px;

    padding:
        9px 14px;

    background:
        var(--verde);

    color:
        white;

    border-radius:
        7px;

    font-weight:
        bold;

}


.radio-label {

    background:
        rgba(20,20,25,0.82);

    color:
        white;

    border:
        none;

    border-radius:
        7px;

    padding:
        5px 9px;

    font-size:
        12px;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.25);

    opacity:
        0;

    transform:
        translateY(5px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

}


.radio-label-visible {

    opacity:
        1;

    transform:
        translateY(0);

}


/* =========================================================
   NOSOTROS
   ========================================================= */

.about-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        100px;

    align-items:
        start;

}


.about-text {

    color:
        var(--gris);

}


.about-text p {

    margin-bottom:
        25px;

}


.about-text .large-text {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        26px;

    line-height:
        1.4;

    color:
        var(--texto);

}


.values-grid {

    margin-top:
        100px;

    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid rgba(23,63,53,0.15);

}


.value {

    padding:
        35px;

    border-right:
        1px solid rgba(23,63,53,0.15);

}


.value:last-child {

    border-right:
        none;

}


.value span {

    color:
        var(--terracota);

    font-size:
        12px;

    font-weight:
        bold;

}


.value h3 {

    margin:
        20px 0 8px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        27px;

}


.value p {

    color:
        var(--gris);

    font-size:
        14px;

}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {

    padding:
        120px 35px;

    text-align:
        center;

    background:
        var(--terracota);

    color:
        white;

}


.cta-content {

    max-width:
        800px;

    margin:
        auto;

}


.cta-section .section-label {

    color:
        #f4d6ca;

}


.cta-section h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(50px, 7vw, 85px);

    line-height:
        1;

}


.cta-section p {

    margin:
        25px 0 35px;

    font-size:
        18px;

    opacity:
        0.85;

}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        100px;

}


.contact-section > div > p,
.contact-grid > div > p {

    margin-top:
        30px;

    max-width:
        480px;

    color:
        var(--gris);

}


.contact-card {

    padding:
        35px;

    background:
        white;

    border-radius:
        var(--radio);

    box-shadow:
        var(--sombra);

}


.contact-item {

    padding:
        25px 0;

    border-bottom:
        1px solid #e5e5e5;

}


.contact-item:last-child {

    border-bottom:
        none;

}


.contact-item span {

    display:
        block;

    margin-bottom:
        8px;

    font-size:
        10px;

    font-weight:
        bold;

    letter-spacing:
        2px;

    color:
        var(--terracota);

}


.contact-item a {

    font-size:
        20px;

    font-weight:
        700;

}


.contact-item p {

    color:
        var(--gris);

}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {

    padding:
        45px 35px 25px;

    background:
        var(--verde-oscuro);

    color:
        white;

}


.footer-top,
.footer-bottom {

    max-width:
        1250px;

    margin:
        auto;

}


.footer-top {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding-bottom:
        35px;

}


.footer-bottom {

    padding-top:
        20px;

    border-top:
        1px solid rgba(255,255,255,0.12);

    display:
        flex;

    justify-content:
        space-between;

    font-size:
        12px;

    opacity:
        0.6;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {


    .nav {

        position:
            absolute;

        top:
            80px;

        left:
            20px;

        right:
            20px;

        padding:
            25px;

        background:
            var(--crema-claro);

        border-radius:
            15px;

        box-shadow:
            var(--sombra);

        display:
            none;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            18px;

    }


    .nav.active {

        display:
            flex;

    }


    .menu-toggle {

        display:
            block;

    }


    .hero-content {

        width:
            100%;

    }


    .hero-decoration {

        opacity:
            0.4;

        right:
            -30%;

    }


    .classes-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .section-heading,
    .map-heading {

        grid-template-columns:
            1fr;

        gap:
            25px;

    }


    .about-grid,
    .contact-grid {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }

}


@media (max-width: 600px) {


    .nav-container {

        padding:
            15px 20px;

    }


    .hero-content {

        padding:
            130px 25px 80px;

    }


    .hero h1 {

        font-size:
            67px;

        letter-spacing:
            -3px;

    }


    .hero-buttons {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    .section {

        padding:
            80px 25px;

    }


    .classes-grid {

        grid-template-columns:
            1fr;

    }


    .class-card {

        min-height:
            300px;

    }


    .map-heading {

        padding:
            0 25px 35px;

    }


    .map-container {

        height:
            500px;

    }


    .values-grid {

        grid-template-columns:
            1fr;

    }


    .value {

        border-right:
            none;

        border-bottom:
            1px solid rgba(23,63,53,0.15);

    }


    .footer-top,
    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            15px;

    }

}