@font-face {
    font-family: 'Varoste';
    src: url('../fonts/Varoste.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
    /* Brand Palette */
    --cream: #F2E9DB;
    /* Crema cálida — superficies claras */
    --steel: #BAC9CD;
    /* Azul acero — detalles fríos */
    --sand: #D9C0A9;
    /* Arena — fondos secundarios */
    --olive: #535435;
    /* Verde oliva — BG principal */
    --lime: #D9C0A9;
    /* Crema — acento (reemplaza al lima) */
    --ash: #E3E3DD;
    /* Ceniza — texto sobre oliva */

    /* Semantic aliases */
    --bg: var(--olive);
    --surface: rgba(242, 233, 219, 0.05);
    --border: rgba(242, 233, 219, 0.12);
    --text-main: var(--cream);
    --text-muted: rgba(242, 233, 219, 0.55);
    --text-dark: #1D1C11;
    --accent: var(--lime);

    /* Typography */
    --font-serif: 'Varoste', Georgia, serif;
    --font-sans: 'Onest', system-ui, sans-serif;

    /* Spacing */
    --section-pad: clamp(5rem, 10vw, 9rem);
    --container: 1280px;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition: all 0.35s var(--ease-out-expo);
}

/* ============================================================
   RESET
============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

em {
    font-style: italic;
    color: var(--cream);
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    line-height: 1.05;
    font-weight: normal;
}

/* ============================================================
   HEADER
============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    padding: 1.75rem clamp(1.5rem, 5vw, 4rem);
    transition: padding 0.35s var(--ease-out-expo),
        background 0.35s var(--ease-out-expo),
        transform 0.45s var(--ease-out-expo);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Translucent on scroll */
.header.is-scrolled {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    background: rgba(83, 84, 53, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

/* Hidden on scroll down */
.header.is-hidden {
    transform: translateY(-110%);
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    cursor: pointer;
    width: 250PX;
}

.logo-small {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 0.1rem;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--cream);
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.25s;
}

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

/* CTA button in header */
.btn-header {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem 1.6rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--cream);
    transition: var(--transition);
}

.btn-header:hover {
    background: var(--cream);
    color: var(--olive);
    border-color: var(--cream);
}

/* ============================================================
   HERO
============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    overflow: hidden;
}

.hero-text-block {
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
    z-index: 2;
}

.hero-title {
    line-height: 0.92;
    color: var(--cream);
}

.hero-line {
    display: block;
    overflow: hidden;
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    font-family: Varoste;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 300;
    /* clip for reveal */
}

.hero-line--accent {
    font-size: clamp(3.5rem, 11vw, 10rem);
    font-family: var(--font-serif);
    text-transform: none;
    letter-spacing: normal;
    font-weight: normal;
    color: var(--lime);
}

.hero-image-wrap {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    background: url('../image/costamanglar/fachada_frente.jpeg') center / cover no-repeat;
    transform: scale(1.15);
    transform-origin: bottom;
}

/* Dark gradient to blend image into bg */
.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--olive) 0%, transparent 40%),
        linear-gradient(0deg, var(--olive) 0%, transparent 35%);
    z-index: 1;
}

/* Badge bottom-right */
.hero-badge {
    position: absolute;
    bottom: 3rem;
    right: clamp(1.5rem, 5vw, 4rem);
    z-index: 3;
}

.hero-badge-inner {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--steel);
}

.hero-badge-sep {
    color: var(--lime);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.scroll-cue-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.75;
    animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

.scroll-cue-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--lime), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ============================================================
   BUTTONS (Global)
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-outline {
    border: 1px solid var(--cream);
    color: var(--cream);
    background: transparent;
}

.btn-outline:hover {
    background: var(--cream);
    color: var(--olive);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--cream);
    color: var(--cream);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--lime);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

/* ============================================================
   CONCEPTO SECTION
============================================================ */
.concepto {
    padding: var(--section-pad) clamp(1.5rem, 7vw, 6rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.concepto-tag {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1.5rem;
}

.concepto-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--cream);
    margin-bottom: 2rem;
}

.concepto-body {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 42ch;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.concepto-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Image reveal */
.concepto-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3 / 4;
}

.concepto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

/* Stats row */
.concepto-stat-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--cream);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
}

/* ============================================================
   QUOTE SECTION
============================================================ */
.quote-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.quote-bg {
    position: absolute;
    inset: 0;
    background: url('../image/costamanglar/fachada_atras.jpeg') bottom / cover no-repeat;
    transform: scale(1.1);
    filter: brightness(0.3) saturate(0.5);
}

.quote-content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(1.5rem, 10vw, 12rem);
}

.quote-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 2rem;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4.5rem);
    color: var(--cream);
    font-weight: normal;
    line-height: 1.1;
}

/* ============================================================
   DEPARTAMENTOS — Tabs
============================================================ */
.deptos {
    padding: var(--section-pad) clamp(1.5rem, 7vw, 6rem);
}

.deptos-inner {
    max-width: var(--container);
    margin: 0 auto;
}

.deptos-header {
    margin-bottom: 3rem;
}

.deptos-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--cream);
    margin-top: 1rem;
}

/* Tab nav bar */
.deptos-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    position: relative;
}

.depto-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1.1rem 2rem 1.1rem 0;
    margin-right: 2rem;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.depto-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.depto-tab.is-active,
.depto-tab:hover {
    color: var(--cream);
}

.depto-tab.is-active::after {
    transform: scaleX(1);
}

.depto-tab-num {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--lime);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.depto-tab.is-active .depto-tab-num {
    opacity: 1;
}

/* Panels */
.deptos-panels {
    position: relative;
    min-height: 480px;
    margin-top: 3.5rem;
}

.depto-panel {
    display: none;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.depto-panel.is-active {
    display: grid;
}

.depto-panel-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 3;
}

.depto-panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.depto-panel-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.depto-panel-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--cream);
    font-family: var(--font-serif);
    font-weight: normal;
}

.depto-panel-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Specs list */
.depto-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

.depto-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.spec-label {
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.spec-val {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--cream);
}

.depto-cta {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ============================================================

   ESPACIOS — Pinned Slider
============================================================ */
.espacios-wrapper {
    position: relative;
}

.espacios-pin {
    display: grid;
    grid-template-columns: 380px 1fr;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.espacios-sidebar {
    background: rgba(20, 20, 12, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--border);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.espacios-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 3rem;
}

.espacios-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.esp-btn {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1.2rem 1rem;
    border-radius: 8px;
    text-align: left;
    transition: background 0.3s;
    color: var(--text-muted);
}

.esp-btn:hover {
    background: var(--surface);
    color: var(--cream);
}

.esp-btn.is-active {
    background: var(--surface);
    color: var(--cream);
}

.esp-num {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    color: var(--lime);
    opacity: 0;
    transition: opacity 0.3s;
    min-width: 20px;
}

.esp-btn.is-active .esp-num,
.esp-btn:hover .esp-num {
    opacity: 1;
}

.esp-name {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.esp-progress {
    height: 2px;
    background: var(--border);
    margin-top: 2rem;
    border-radius: 2px;
    overflow: hidden;
}

.esp-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--lime);
    border-radius: 2px;
    transition: width 0.5s var(--ease-out-expo);
}

/* Stage — images */
.espacios-stage {
    position: relative;
    overflow: hidden;
}

.esp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo);
}

.esp-slide.is-active {
    opacity: 1;
}

.esp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    transform: scale(1.05);
    transition: transform 0.8s var(--ease-out-expo);
}

.esp-slide.is-active img {
    transform: scale(1);
}

.esp-slide-caption {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    background: rgba(83, 84, 53, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    z-index: 3;
}

.esp-slide-caption h3 {
    font-size: 1.6rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
}

.esp-slide-caption p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   UBICACION
============================================================ */
.ubicacion {
    padding: var(--section-pad) clamp(1.5rem, 7vw, 6rem);
    background: rgba(0, 0, 0, 0.15);
}

.ubicacion-header {
    margin-bottom: 4rem;
}

.ubicacion-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--cream);
    margin-top: 1rem;
}

.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.ubicacion-map-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.ubicacion-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7) brightness(0.8);
}

.ubicacion-pin {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--olive);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--cream);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pin-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(242, 233, 219, 0.25);
    animation: ping 1.5s ease-in-out infinite;
}

@keyframes ping {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(242, 233, 219, 0.25);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(242, 233, 219, 0);
    }
}

.ubicacion-puntos {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ubicacion-dir {
    font-size: 1.2rem;
    min-width: 80px;
    line-height: 1;
    margin-bottom: 3rem;
}

.punto {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.punto:first-child {
    border-top: 1px solid var(--border);
}

.punto-dist {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--lime);
    min-width: 80px;
    line-height: 1;
}

.punto-name {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* ============================================================
   CONTACTO
============================================================ */
.contacto {
    padding: var(--section-pad) clamp(1.5rem, 7vw, 6rem);
    border-top: 1px solid var(--border);
}

.contacto-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contacto-left h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--cream);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.contacto-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 38ch;
}

/* Form */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--steel);
}

.form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.75rem 0;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(186, 201, 205, 0.3);
}

.form-group input:focus {
    border-bottom-color: var(--lime);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
    background: #0e0e09;
    border-top: 1px solid var(--border);
    padding: 4rem clamp(1.5rem, 7vw, 6rem);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    width: 250px;
}

.footer-logo-small {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 0.15rem;
}

.footer-logo-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--cream);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ============================================================
   GSAP REVEAL INITIAL STATES
   Note: initial states are set via gsap.set() in JS,
   not here, so elements are visible if JS fails.
============================================================ */

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .concepto {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ubicacion-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contacto-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .espacios-pin {
        grid-template-columns: 1fr;
        height: auto;
        position: relative;
    }

    .espacios-sidebar {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Hero mobile — center text over full-bleed bg */
    .hero {
        grid-template-rows: 1fr;
        align-items: center;
        justify-items: center;
        text-align: left;
        padding: 0 1.5rem;
    }

    .hero-text-block {
        align-items: center;
        justify-content: center;
        padding-bottom: 0;
        padding-top: 6rem; /* account for fixed header */
        z-index: 2;
        width: 100%;
    }

    .hero-image-wrap {
        width: 100%;
        opacity: 0.25;
    }

    .hero-line {
        font-size: clamp(2.2rem, 11vw, 4rem);
    }

    .hero-line--accent {
        font-size: clamp(3rem, 16vw, 6rem);
    }

    /* Badge hidden on mobile to avoid clutter */
    .hero-badge {
        display: none;
    }

    /* Scroll cue stays centered (already set) */
    .scroll-cue {
        bottom: 2rem;
    }

    .espacios-pin {
        height: auto;
    }

    .depto-panel.is-active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .depto-panel-img {
        aspect-ratio: 3 / 2;
    }

    .deptos-tabs {
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
    }

    .depto-tab {
        white-space: nowrap;
        padding: 1rem 1.2rem 1rem 0;
        margin-right: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}