@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2");
}

:root {
    --rustico-red: #df151f;
    --rustico-red-dark: #af0d16;
    --rustico-black: #0e0e0f;
    --rustico-ink: #1b1b1d;
    --rustico-gray: #6c6c73;
    --rustico-light: #f5f5f6;
    --rustico-white: #fff;
    --rustico-border: #dedee2;
    --rustico-radius: 1rem;
    --rustico-shadow: 0 1.25rem 3rem rgba(16, 16, 18, .12);
    --site-container: 82.5rem;
    --header-total-height: 6.5rem;
    --header-offset: 6.75rem;
    --font-body: "Manrope", Arial, sans-serif;
    --font-heading: "Manrope", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    min-width: 20rem;
    color: var(--rustico-ink);
    background: var(--rustico-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body.modal-open { padding-right: 0 !important; }

a { color: inherit; }

img {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: .2rem solid #ffcc00;
    outline-offset: .2rem;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: .5rem;
    left: .5rem;
    padding: .75rem 1rem;
    color: #fff;
    background: #000;
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    z-index: 1050;
    inset: 0 0 auto;
    box-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .18);
}

.contact-bar {
    min-height: 2rem;
    padding: .25rem 0;
    color: #3f3f42;
    background: #f4f4f5;
    font-size: .82rem;
}

.contact-bar a {
    text-decoration: none;
    transition: color .2s ease;
}

.contact-bar a:hover { color: var(--rustico-red); }
.contact-bar__social { display: flex; gap: 1rem; font-size: 1rem; }

.navbar {
    min-height: 4.5rem;
    padding-block: .35rem;
    background: rgba(10, 10, 11, .98);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.navbar-brand img { width: 2.55rem; height: 3.45rem; object-fit: contain; }

.navbar-nav { gap: .15rem; }

.navbar-dark .navbar-nav .nav-link {
    padding: .65rem .7rem;
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible,
.navbar-dark .navbar-nav .nav-link.active { color: #fff; }

.navbar-dark .navbar-nav .nav-link.active { box-shadow: inset 0 -.14rem var(--rustico-red); }

.system-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-left: 1rem;
    padding: .55rem .7rem;
    color: rgba(255, 255, 255, .65);
    border-left: 1px solid rgba(255, 255, 255, .18);
    font-size: .76rem;
    text-decoration: none;
}

.system-link:hover { color: #fff; }

.hero {
    position: relative;
    display: grid;
    min-height: calc(100vh - var(--header-total-height));
    min-height: calc(100svh - var(--header-total-height));
    margin-top: var(--header-total-height);
    place-items: center;
    color: #fff;
    background: #131315;
    isolation: isolate;
}

.hero__media,
.hero__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.hero__media {
    background: url('../images/hero/hero-canchas-nocturnas.webp') center 52% / cover no-repeat;
}

.hero__overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, .78) 42%, rgba(5, 5, 6, .18) 77%),
        linear-gradient(0deg, rgba(5, 5, 6, .48), transparent 45%);
}

.hero__content { padding-block: 3rem 4.75rem; }

.eyebrow {
    margin-bottom: .7rem;
    color: var(--rustico-red);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.hero h1,
.section h2,
.location-info h2 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.hero h1 {
    max-width: 60rem;
    margin-bottom: 1rem;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    line-height: .98;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.hero__lead {
    max-width: 36rem;
    margin-bottom: 2rem;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.45;
}

.btn {
    border-radius: .35rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.btn-rustico {
    color: #fff;
    border-color: var(--rustico-red);
    background: var(--rustico-red);
}

.btn-rustico:hover,
.btn-rustico:focus-visible {
    color: #fff;
    border-color: var(--rustico-red-dark);
    background: var(--rustico-red-dark);
}

.hero__scroll {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    display: grid;
    color: rgba(255, 255, 255, .86);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    place-items: center;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.hero__scroll i { font-size: 1.25rem; animation: scroll-cue 1.5s ease-in-out infinite; }

@keyframes scroll-cue {
    50% { transform: translateY(.4rem); }
}

.section { padding: clamp(4rem, 6vw, 6.25rem) 0; }
.section-light { background: var(--rustico-white); }
.section-gallery { background: var(--rustico-light); }

.section h2,
.location-info h2 {
    max-width: 50rem;
    margin-bottom: 1.25rem;
    font-size: clamp(2.25rem, 3.15vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.02em;
}

.section-lead {
    max-width: 42rem;
    color: var(--rustico-gray);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.6;
}

.feature-photo {
    position: relative;
    width: 100%;
    max-height: 38.75rem;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border-radius: var(--rustico-radius);
    box-shadow: var(--rustico-shadow);
}

.feature-photo::after {
    position: absolute;
    inset: auto 1.5rem 1.5rem auto;
    width: 5rem;
    height: .35rem;
    content: "";
    background: var(--rustico-red);
}

.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-photo--portrait img { object-position: 50% 48%; }

.attribute-grid {
    display: grid;
    margin-top: 1.5rem;
    border-block: 1px solid var(--rustico-border);
    grid-template-columns: repeat(4, 1fr);
}

.attribute {
    min-height: 7rem;
    padding: 1.15rem .65rem;
    text-align: center;
}

.attribute:not(:last-child) { border-right: 1px solid var(--rustico-border); }
.attribute i { color: var(--rustico-red); font-size: 1.75rem; }
.attribute h3 { margin: .55rem 0 0; font-size: .88rem; font-weight: 800; }

.section-school { padding: 0; background: #f4f4f5; }
.section-school__content { display: flex; align-items: center; }
.section-copy { width: min(100%, 50rem); margin-left: auto; padding: clamp(3.5rem, 5vw, 5.25rem) clamp(1.5rem, 5vw, 5rem); }
.section-school__photo { min-height: 0; overflow: hidden; }
.section-school__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }

.school-brand {
    display: flex;
    margin-bottom: .75rem;
    align-items: center;
    gap: .85rem;
}

.school-brand img {
    width: 3.15rem;
    height: 4.25rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.school-brand .eyebrow { margin: 0; }

.check-list {
    display: grid;
    margin: 1.5rem 0;
    padding: 0;
    gap: .55rem;
    list-style: none;
}

.check-list li { font-weight: 700; }
.check-list i { margin-right: .5rem; color: var(--rustico-red); }

.section-dark {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 0 100%, rgba(223, 21, 31, .2), transparent 28rem),
        #111113;
}

.section-dark .section-lead { color: #c8c8cc; }

.dark-features {
    display: grid;
    margin: 1.75rem 0;
    gap: 1px;
    background: rgba(255, 255, 255, .15);
    grid-template-columns: repeat(2, 1fr);
}

.dark-features div {
    display: grid;
    min-height: 6.25rem;
    padding: 1rem;
    gap: .5rem;
    place-content: center;
    text-align: center;
    background: #111113;
}

.dark-features i { color: var(--rustico-red); font-size: 1.8rem; }
.dark-features span { font-size: .88rem; font-weight: 800; }

.pitch-collage {
    position: relative;
    height: clamp(28rem, 38vw, 34rem);
}

.pitch-collage img {
    position: absolute;
    border-radius: var(--rustico-radius);
    object-fit: cover;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, .35);
}

.pitch-collage__main { inset: 0 10% 8% 0; width: 70%; height: 92%; object-position: center 46%; }
.pitch-collage__secondary { inset: 24% 0 0 auto; width: 46%; height: 70%; object-position: center 58%; border: .25rem solid #19191c; }

.section-playroom {
    background:
        radial-gradient(circle at 100% 0, rgba(223, 21, 31, .08), transparent 28rem),
        #f4f4f5;
}

.section-playroom .section-lead { max-width: 34rem; }

.playroom-features {
    display: grid;
    margin: 1.5rem 0;
    gap: .65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.playroom-features div {
    display: flex;
    min-height: 5.25rem;
    padding: .9rem;
    align-items: center;
    gap: .75rem;
    border: 1px solid var(--rustico-border);
    border-radius: .65rem;
    background: rgba(255, 255, 255, .88);
}

.playroom-features i { flex: 0 0 auto; color: var(--rustico-red); font-size: 1.45rem; }
.playroom-features span { font-size: .88rem; font-weight: 800; line-height: 1.35; }

.playroom-collage {
    display: grid;
    height: clamp(28rem, 37vw, 34rem);
    gap: .55rem;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: 1fr 1fr;
}

.playroom-collage img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: .7rem;
    object-fit: cover;
    box-shadow: var(--rustico-shadow);
}

.playroom-collage img:first-child { grid-row: 1 / 3; object-position: center; }
.playroom-collage img:nth-child(2) { object-position: center 58%; }
.playroom-collage img:nth-child(3) { object-position: center 62%; }

.experience-collage {
    display: grid;
    height: clamp(30rem, 38vw, 36rem);
    gap: .5rem;
    grid-template-columns: 1.25fr .75fr;
    grid-template-rows: 1fr 1fr;
}

.experience-collage img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: .65rem;
    object-fit: cover;
}

.experience-collage img:first-child { grid-row: 1 / 3; }

.experience-tags {
    display: flex;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: .75rem;
}

.experience-tags span {
    padding: .7rem 1rem;
    color: #202023;
    border: 1px solid var(--rustico-border);
    border-radius: 99rem;
    background: #fff;
    font-weight: 800;
}

.experience-tags i { margin-right: .35rem; color: var(--rustico-red); }

.section-heading { max-width: 50rem; margin: 0 auto 2rem; }
.section-heading h2 { margin-inline: auto; }
.section-heading > p:last-child { color: var(--rustico-gray); }

.gallery-grid {
    display: grid;
    grid-auto-flow: dense;
    gap: .65rem;
    grid-template-columns: repeat(6, 1fr);
}

.gallery-item {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: .6rem;
    background: #d9d9dc;
    cursor: zoom-in;
}

.gallery-item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }

.gallery-item::after {
    position: absolute;
    display: grid;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    content: "\F52A";
    font-family: "bootstrap-icons";
    font-size: 1.5rem;
    opacity: 0;
    inset: 0;
    place-items: center;
    transition: opacity .25s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); filter: brightness(.82); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; }
.gallery-note { margin: 1.5rem 0 0; color: var(--rustico-gray); font-size: .9rem; }

.gallery-modal .modal-content { color: #fff; background: #111; }
.gallery-modal .modal-header { border-color: rgba(255, 255, 255, .16); }
.gallery-modal .modal-title { font-weight: 700; }
.gallery-modal .modal-body { position: relative; min-height: 20rem; padding: 1rem 4.5rem 1.5rem; }
.gallery-modal figure { display: grid; min-height: 15rem; margin: 0; place-items: center; }
.gallery-modal figure img { width: auto; max-width: 100%; max-height: 72vh; object-fit: contain; }
.gallery-modal figcaption { padding-top: .85rem; color: rgba(255, 255, 255, .76); text-align: center; }

.gallery-modal__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 3rem;
    height: 3rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    place-items: center;
    transform: translateY(-50%);
}

.gallery-modal__nav:hover { background: var(--rustico-red); }
.gallery-modal__nav--prev { left: .8rem; }
.gallery-modal__nav--next { right: .8rem; }

.location-section { color: #fff; background: #111113; scroll-margin-top: var(--header-offset); }

.location-grid {
    display: grid;
    min-height: 32.5rem;
    grid-template-columns: 1.15fr .8fr .75fr;
}

.map-wrapper { min-height: 32.5rem; }
.map-wrapper iframe { width: 100%; height: 100%; min-height: 100%; border: 0; filter: grayscale(.2); }

.location-info {
    display: flex;
    padding: clamp(2.5rem, 3.5vw, 3.75rem);
    flex-direction: column;
    justify-content: center;
    background: #19191c;
}

.location-info h2 { font-size: clamp(2.1rem, 3vw, 3.25rem); }
.location-info address { display: grid; margin: 1.5rem 0 0; gap: 1.2rem; font-style: normal; }

.location-info address a {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    color: #fff;
    text-decoration: none;
}

.location-info address a:hover span { text-decoration: underline; }
.location-info address i { color: var(--rustico-red); font-size: 1.25rem; }
.location-info address small { color: #adadb2; }
.location-social { display: flex; margin-top: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.location-social a { color: #fff; text-decoration: none; }
.location-social a:hover { color: var(--rustico-red); }
.location-photo { min-height: 32.5rem; overflow: hidden; background: #232326; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 2% center; }

.site-footer { padding: 2.75rem 0 1.25rem; color: #dddde0; background: #0a0a0b; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.footer-brand img { width: 2.75rem; height: 3.75rem; object-fit: contain; }
.footer-brand span { display: grid; }
.footer-brand strong { font-size: 1.1rem; text-transform: uppercase; }
.footer-brand small { color: #99999f; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: #c7c7ca; font-size: .8rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; width: 2.4rem; height: 2.4rem; color: #fff; border: 1px solid #424247; border-radius: 50%; place-items: center; }
.footer-social a:hover { border-color: var(--rustico-red); background: var(--rustico-red); }

.footer-bottom {
    display: flex;
    margin-top: 2rem;
    padding-top: 1.25rem;
    color: #85858b;
    border-top: 1px solid #29292c;
    font-size: .82rem;
    justify-content: space-between;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: #85858b; }
.footer-bottom a:hover { color: #fff; }

.whatsapp-float,
.back-to-top {
    position: fixed;
    z-index: 1040;
    right: 1rem;
    display: grid;
    width: 3rem;
    height: 3rem;
    color: #fff;
    border-radius: 50%;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .24);
}

.whatsapp-float { bottom: 1rem; background: #1aa952; font-size: 1.4rem; }
.back-to-top { right: 1.35rem; bottom: 4.6rem; width: 2.3rem; height: 2.3rem; border-radius: .35rem; background: var(--rustico-red); opacity: 0; pointer-events: none; transform: translateY(1rem); transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (min-width: 1200px) {
    .container { max-width: min(var(--site-container), calc(100% - 2rem)); }
}

@media (max-width: 1199.98px) {
    :root { --header-offset: 6.75rem; }
    .navbar-collapse { padding: 1rem 0 .5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
    .navbar-nav { align-items: stretch !important; }
    .navbar-dark .navbar-nav .nav-link { padding: .75rem 0; }
    .system-link { margin: .65rem 0 0; padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .12); border-left: 0; }
    .location-grid { grid-template-columns: 1.2fr 1fr; }
    .location-photo { display: block; min-height: 0; aspect-ratio: 21 / 9; grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
    .hero__overlay { background: linear-gradient(90deg, rgba(5, 5, 6, .94), rgba(5, 5, 6, .48)); }
    .section-school__photo { min-height: 0; aspect-ratio: 4 / 3; }
    .section-copy { margin-inline: auto; }
    .pitch-collage { height: 31rem; }
    .playroom-collage { height: 30rem; }
    .experience-collage { height: 31rem; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .location-grid { grid-template-columns: 1fr; }
    .map-wrapper { min-height: 26rem; }
    .location-info { min-height: 32rem; }
    .location-photo { display: block; min-height: 0; aspect-ratio: 16 / 9; grid-column: auto; }
    .footer-main { flex-direction: column; text-align: center; }
}

@media (max-width: 767.98px) {
    .contact-bar span { display: none; }
    .section { padding-block: 3.5rem; }
    .hero {
        min-height: calc(100vh - var(--header-total-height));
        min-height: calc(100svh - var(--header-total-height));
    }
    .hero__content { padding-block: 2.5rem 4.25rem; }
    .hero__media { background-position: 58% center; }
    .attribute-grid { grid-template-columns: repeat(2, 1fr); }
    .attribute { min-height: auto; }
    .attribute:nth-child(odd) { border-right: 1px solid var(--rustico-border); }
    .attribute:nth-child(even) { border-right: 0; }
    .attribute:nth-child(-n+2) { border-bottom: 1px solid var(--rustico-border); }
    .section-copy { padding-block: 3.5rem; }
    .pitch-collage { height: 26rem; }
    .playroom-collage { height: 27rem; }
    .experience-collage { height: 27rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { height: auto; }
    .gallery-item--wide { aspect-ratio: 8 / 3; }
    .gallery-item--wide { grid-column: span 2; }
    .gallery-modal .modal-body { padding-inline: 3.2rem; }
    .footer-nav { justify-content: center; }
    .footer-bottom { align-items: center; flex-direction: column; gap: .7rem; text-align: center; }
}

@media (max-width: 399.98px) {
    .navbar-brand span { font-size: 1rem; }
    .hero h1 { font-size: 3.25rem; }
    .hero__lead { font-size: 1.05rem; }
    .section h2,
    .location-info h2 { font-size: 1.875rem; line-height: 1.1; }
    .section-copy { padding-inline: 1rem; }
    .dark-features { grid-template-columns: 1fr; }
    .pitch-collage { height: 23rem; }
    .playroom-collage { height: 22rem; gap: .35rem; }
    .experience-collage { height: 24rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item,
    .gallery-item--wide { height: auto; aspect-ratio: 4 / 3; grid-column: auto; }
    .gallery-modal .modal-body { padding-inline: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
