* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;

    background: #fdc000;
    color: #000;

    font-family: "Figtree", sans-serif;
}

:root {
    --max-width: 1200px;
    --side-padding: 5vw;
}


/* =========================
   HEADER
========================= */

.site-header {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;
    padding: 20px 0;

    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    position: absolute;
    top: 30px;
    left: max(
        var(--side-padding),
        calc((100% - var(--max-width)) / 2)
    );
    width: 200px;
    z-index: 1000;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.menu {
    position: absolute;
    top: 25px;
    right: max(
        var(--side-padding),
        calc((100% - var(--max-width)) / 2)
    );
    display: flex;
    gap: 32px;
    z-index: 1000;
}

.menu a {
    color: #000;
    text-decoration: none;

    font-size: 1.1rem;
    font-weight: 600;

    padding: 2px 6px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.menu a:hover {
    background-color: #000;
    color: #fdc000;
}


/* =========================
   PROJECT INTRO
========================= */

.project-intro {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding-top: 200px;
    padding-bottom: 50px;
}

.back {
    margin: 0 0 40px;
}

.back a {
    color: #000;
    text-decoration: none;

    font-size: 1rem;
    font-weight: 600;

    transition: opacity 0.25s ease;
}

.back a:hover {
    opacity: 0.55;
}

.project-intro h1 {
    margin: 0;

    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.subtitle {
    margin: 25px 0 0;
 max-width: 60%;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    line-height: 1;

    font-weight: 300;
    letter-spacing: -0.03em;
}


/* =========================
   HERO IMAGE
========================= */

.hero-image {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    overflow: hidden;
    border-radius: 24px;
}

.hero-image img {
    display: block;

    width: 100%;
    height: clamp(400px, 55vw, 650px);

    object-fit: cover;
    object-position: center top;
}

/* =========================
   INFORMATION
========================= */

.project-info {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding: 100px 0;

    display: grid;

    grid-template-columns: 1.5fr 1fr;

    gap: 100px;
}

.description h2 {
    margin: 0 0 30px;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    font-weight: 600;
}

.description p {
    max-width: 600px;

    margin: 0 0 20px;

    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 300;
}


/* =========================
   DETAILS
========================= */

.details {
    align-self: start;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

.detail-box {
    background: #fffeea;

    border-radius: 24px;

    padding: 30px;
}

.detail-box h3 {
    margin: 0 0 20px;

    font-size: 1.4rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.detail {
    padding: 16px 0;

    display: flex;
    justify-content: space-between;
    align-items: baseline;

    border-bottom: 1px solid #000;
}

.schedule-day {
    padding: 16px 0;

    display: grid;
    grid-template-columns: 1fr auto;

    border-bottom: 1px solid #000;
}

.schedule-day > span {
    font-size: 0.95rem;
    font-weight: 400;
}

.schedule-times {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-times strong {
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

.schedule-day:first-of-type {
    padding-top: 0;
}

.schedule-place {
    padding-top: 16px;

    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.schedule-place span {
    font-size: 0.95rem;
}

.schedule-place strong {
    font-size: 1rem;
    text-align: right;
}

.detail:first-of-type {
    padding-top: 0;
}

.detail:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail span {
    font-size: 0.95rem;
    font-weight: 400;
}

.detail strong {
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

.price-group h4 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.price-group {
    padding: 16px 0;
    border-bottom: 1px solid #000;
}

.price-group:first-of-type {
    padding-top: 0;
}

.price-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.price-group h4 {
    margin: 0 0 12px;

    font-size: 0.95rem;
    font-weight: 600;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.price-options span {
    display: flex;
    justify-content: space-between;
    align-items: baseline;

    font-size: 0.95rem;
    font-weight: 400;
}

.price-options strong {
    font-size: 1rem;
    font-weight: 700;
}


/* =========================================================
   GALERÍA SINGLE
   ========================================================= */

.single-gallery {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
      border-radius: 20px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .single-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}


/* =========================
   CTA
========================= */

.cta {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding: 80px 0 100px;

    text-align: center;
}

.cta p {
    margin: 0 0 12px;

    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
}

.cta a {
    position: relative;

    display: inline-block;

    padding: 6px 10px;

    color: #000;
    text-decoration: none;

    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    line-height: 1;
    font-weight: 700;

    z-index: 0;
}

.cta a::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 100%;

    background: #000;

    z-index: -1;

    transition: width 0.3s ease;
}

.cta a:hover {
    color: #fdc000;
}

.cta a:hover::before {
    width: 100%;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding: 15px 0 35px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 2px solid #000;

    font-size: 0.9rem;
    font-weight: 600;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #000;
        text-decoration: none;
}
.site-footer a:hover {
    color: #000;
        text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .project-info {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .gallery-image.large {
        grid-column: 1 / -1;
        height: 450px;
    }

    .gallery-image {
        height: 350px;
    }
}


@media (max-width: 600px) {

    :root {
        --side-padding: 6vw;
    }

    .logo {
        width: 140px;
    }

    .menu {
        gap: 5px;
    }

    .menu a {
        font-size: 0.95rem;
    }

    .project-intro {
        padding-top: 130px;
        padding-bottom: 35px;
    }

    .project-intro h1 {
      font-size: clamp(3rem, 13vw, 4rem);
    white-space: nowrap;

    }

    .project-intro .subtitle {
    max-width: 100%;
}

    .hero-image {
        border-radius: 20px;
    }

    .hero-image img {
        height: 350px;
        transform: scale(1.08);
    }

    .project-info {
        padding: 70px 0;
        gap: 50px;
    }

    .details {
        padding: 25px;
        border-radius: 20px;
    }

    .detail-box {
        padding: 25px;
        border-radius: 20px;
    }

    .schedule-day {
        grid-template-columns: 1fr auto;
    }

    .schedule-times strong {
        text-align: right;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-image,
    .gallery-image.large {
        height: 350px;
        grid-column: auto;
    }

    .cta {
      padding: 60px 0 70px;
  }

    .site-footer {
        padding: 30px 0;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

}

@media (max-width: 480px) {

    .logo {
        margin-top: 40px;
         left: 7vw;
    }
    .project-intro {
        margin-top: 10px;
        padding-top: 160px;
    }
    .menu {
           left: 6vw;
           right: auto;
           justify-content: flex-start;
           text-align: left;
       }

}

/* =========================
   ABOUT / NOSOTROS
========================= */

.about-intro {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding-top: 180px;
    padding-bottom: 70px;
}

.about-intro .back {
    margin: 0 0 40px;
}

.about-intro h1 {
    margin: 0;

    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.85;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.about-lead {
    max-width: 700px;

    margin: 40px 0 0;

    font-size: clamp(1.5rem, 3vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 300;
}

.about-main {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding-bottom: 80px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: start;
}


/* =========================
   ABOUT IMAGE
========================= */

.about-image {
      width: 100%;

}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1341 / 2400;
    object-fit: cover;
    border-radius: 24px;
}

/* =========================
   ABOUT CONTENT
========================= */

.about-content {
  width: 100%;

  margin: 0;
  padding: 0;

  display: block;
}

.about-title {
    margin-bottom: 50px;
}

.about-title h2 {
    margin: 0;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.about-text {
    max-width: 560px;
}

.about-text p {
    margin: 0 0 25px;
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* =========================
   TEAM
========================= */

.team {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.team-member {
    background: transparent;
}

.team-image {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1 / 1;
margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.team-image img {
    display: block;
    width: 100%;
    height: 100%;
}


.team-info {
    padding: 25px 5px 0;
}

.team-info > span {
    display: block;

    margin-bottom: 30px;

    font-size: 0.9rem;
    font-weight: 600;
}

.team-info h2 {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.team-role {
    margin: 12px 0 25px;

    font-size: 1.1rem;
    font-weight: 600;
}

.team-info > p:last-child {
    max-width: 500px;

    margin-bottom: 0;

    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 300;
}

/* =========================
   ABOUT CTA
========================= */

.about-cta {
    width: min(
        var(--max-width),
        calc(100% - var(--side-padding) * 2)
    );

    margin: 0 auto;

    padding: 100px 0 110px;

    text-align: center;
}

.about-cta p {
    margin: 0 0 12px;

    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
}

.about-cta a {
    position: relative;

    display: inline-block;

    padding: 6px 10px;

    color: #000;
    text-decoration: none;

    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1;
    font-weight: 700;

    z-index: 0;
}

.about-cta a::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 100%;

    background: #000;

    z-index: -1;

    transition: width 0.3s ease;
}

.about-cta a:hover {
    color: #fdc000;
}

.about-cta a:hover::before {
    width: 100%;
}


/* =========================
   ABOUT RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .about-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-content {
        width: 100%;
    }

}

@media (max-width: 600px) {

    .about-intro {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .about-intro h1 {
        font-size: clamp(4rem, 20vw, 6rem);
    }

    .about-lead {
        margin-top: 30px;
        font-size: 1.5rem;
    }

    .about-main {
        padding-bottom: 0px;
    }

    .about-image img {
      width: 100%;
height: auto;
aspect-ratio: 1341 / 2400;
border-radius: 20px;
    }

    .about-content {
        padding: 70px 0;
        gap: 40px;
    }

    .about-cta {
        padding: 70px 0 80px;
    }
    .team {
    grid-template-columns: 1fr;
    gap: 60px;

}

.team-image {
    width: 330px;
    height: 330px;
    max-width: 100%;
    margin: 0 auto 30px;
    border-radius: 50%;
}

.team-image img {
    width: 100%;
    height: 100%;
}

.team-info {
    padding: 0;
}

.team-info > span {
    margin-bottom: 25px;
}


.language-switch {
    margin-left: 3px;
}

.lang,
.language-switch span {
    font-size: 0.85rem;
}
}

@media (max-width: 480px) {


    .about-intro {
        margin-top: 10px;
        padding-top: 160px;
    }

    .team-image {
        width: 280px;
        height: 280px;
        max-width: 100%;
        margin: 0 auto 30px;
        border-radius: 50%;
    }

    .team-image img {
        width: 100%;
        height: 100%;
    }
}

/* =========================
   SINGLES CON FONDOS de COLORES
========================= */

.red-page {
    background: #e64416;
}

.white-page {
    background: #fffeea;
}

/* =========================
     SELECTOR DE IDIOMA
========================= */

.language-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.language-switch span {
    font-size: 0.95rem;
    font-weight: 600;
}

.lang {
    border: 0;
    background: transparent;
    padding: 2px 4px;
    color: #000;
    font-family: "Figtree", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.lang:hover,
.lang.active {
    background: #000;
    color: #fdc000;
}
