/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 40px;
    z-index: 1000;
    background: transparent;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 60px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 85px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.02);
}

.menu-icon {
    position: absolute;
    left: 40px;
    top: 30px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.menu-icon:hover {
    color: #ff6a00 !important;
    transform: scale(1.05);
}

.nav-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 70vh;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: top 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-menu.active {
    top: 0;
}

.nav-columna {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-links {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--i, 0));
    border-bottom: none;
}

.nav-menu.active .nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.nav-item {
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0px;
    text-transform: none;
    transition: color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    color: #ff6a00;
}

.menu-footer {
    margin-top: 40px;
    text-align: left;
}

.menu-social {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.menu-social a {
    color: #888;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.menu-social a:hover {
    color: #ff6a00;
}

.menu-carrusel {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.menu-carrusel::-webkit-scrollbar {
    height: 4px;
}

.menu-carrusel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.menu-carrusel::-webkit-scrollbar-thumb {
    background: #ff6a00;
    border-radius: 4px;
}

.carrusel-track {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px 40px;
}

.carrusel-item {
    flex-shrink: 0;
    width: 160px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(0.7);
    transform: scale(0.92);
}

.carrusel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carrusel-item .item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 15px 10px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carrusel-item:hover {
    filter: brightness(1);
    transform: scale(1.08);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.carrusel-item:hover img {
    transform: scale(1.05);
}

.carrusel-item:hover .item-overlay {
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.carrusel-track:hover .carrusel-item:not(:hover) {
    filter: brightness(0.5);
    transform: scale(0.88);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    color: #ff6a00;
    background: white;
}

.subcategoria-cerrar {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1501;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.subcategoria-cerrar.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.subcategoria-cerrar:hover {
    background: #ff6a00;
    transform: rotate(90deg);
    border-color: #ff6a00;
}

.hero {
    position: relative;
    min-height: 320px;
    height: auto;
    aspect-ratio: 3 / 2;
    width: 100%;
    background-image: url(/img/portada.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero .slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero .slide.active {
    opacity: 1;
}

/* ===== HERO OVERLAY: TEXTO ABAJO A LA IZQUIERDA ===== */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0) 65%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 40px 40px;
    text-align: left;
}

.hero-titulo {
    font-family: 'Raleway', sans-serif;
    color: #ffffff;
    line-height: 1.05;
    max-width: none;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-linea1 {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-linea1 .cursiva-chica {
    font-family: 'Square Peg', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
    line-height: 0.8;
    margin-left: 8px;
    vertical-align: -0.08em;
    letter-spacing: 0;
}

.hero-linea2 {
    display: block;
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 0.95;
    position: relative;
    padding-left: 0.9em;
}

.hero-linea2 .de-cursiva {
    font-family: 'Square Peg', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 0.75em;
    position: absolute;
    left: 0;
    top: -0.35em;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0;
}

@media (min-width: 1025px) {
    .hero-overlay {
        padding: 0 0 60px 60px;
    }

    .hero-linea1 {
        font-size: 2.2rem;
    }

    .hero-linea2 {
        font-size: 3.8rem;
    }
}

/* ============================================ */
/* ===== ESPACIO BLANCO: Espacio, Luz & Composición ===== */
/* ============================================ */
.espacio-blanco {
    position: relative;
    background-color: #ffffff;
    padding: 350px 8% 90px;
    text-align: center;
    overflow: visible;
}

.titulo-espacio-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.titulo-espacio-fila {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
}

.titulo-espacio-texto,
.titulo-espacio-amp {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 150px;
    letter-spacing: -3px;
    line-height: 1;
    display: inline-block;
}

.titulo-espacio-texto { color: #111111; }

.titulo-espacio-amp {
    color: #ff6a00;
    margin: 0 0.12em;
}

.titulo-luz {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) rotate(-6deg);
    transform-origin: bottom center;
    font-family: 'Oooh Baby', cursive;
    font-weight: 400;
    font-size: 220px;
    line-height: 0.7;
    color: #111111;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

/* ===== DESCRIPCIÓN: SIEMPRE DOS COLUMNAS ===== */
.descripcion-espacio {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1100px;
    margin: 80px auto 0;
    text-align: center;
}

.descripcion-col {
    flex: 1 1 50%;
    min-width: 0;
    padding: 0 40px;
    box-sizing: border-box;
}

.descripcion-col .descripcion-titulo {
    font-family: 'Oooh Baby', cursive;
    font-weight: 400;
    font-size: 46px;
    line-height: 1.1;
    margin: 0 0 10px;
    color: #ff6a00;
}

.descripcion-col p {
    margin: 0 auto;
    max-width: 320px;
    font-family: 'Raleway', sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: #333333;
}

/* ===== RESPONSIVE ESPACIO BLANCO ===== */
@media (max-width: 1200px) {
    .espacio-blanco { padding: 250px 6% 80px; }
    .titulo-espacio-texto,
    .titulo-espacio-amp { font-size: 108px; letter-spacing: -2px; }
    .titulo-luz { font-size: 158px; }
}

@media (max-width: 900px) {
    .espacio-blanco { padding: 165px 5% 70px; }
    /* IMPORTANTE: cada propiedad queda declarada dos veces. La primera
       (en px) es el respaldo para navegadores que no soportan clamp()
       -como Safari de iOS 12-, que ignoran la línea con clamp() por
       completo y si no hay nada antes se quedan con el tamaño (más
       grande) de un breakpoint anterior; de ahí que el recorte seguía
       apareciendo en iOS 12 aunque el JS estuviera bien. La segunda
       línea (clamp) es la que usan los navegadores modernos y hace que
       el texto se achique de forma continua según el ancho real de
       pantalla, así nunca es más ancho que el espacio disponible. */
    .titulo-espacio-texto,
    .titulo-espacio-amp {
        font-size: 58px;
        font-size: clamp(44px, 7.5vw, 72px);
        letter-spacing: -1.2px;
        letter-spacing: -0.02em;
    }
    .titulo-luz {
        font-size: 84px;
        font-size: clamp(64px, 10.9vw, 105px);
    }
    .descripcion-espacio { margin-top: 60px; }
    .descripcion-col { padding: 0 24px; }
    /* Mismo criterio para el título naranja: se achica lo suficiente para
       que "Encuadre y narrativa visual" quede en un solo renglón. */
    .descripcion-col .descripcion-titulo {
        font-size: 25px;
        font-size: clamp(20px, 3.1vw, 32px);
    }
    .descripcion-col p { font-size: 12.5px; }
}

@media (max-width: 600px) {
    .espacio-blanco { padding: 100px 4% 60px; }
    .titulo-espacio-texto,
    .titulo-espacio-amp { font-size: 40px; letter-spacing: -1px; }
    .titulo-luz { font-size: 62px; }
    .descripcion-espacio { flex-direction: row; margin-top: 45px; }
    .descripcion-col { padding: 0 10px; flex: 1 1 50%; }
    .descripcion-col .descripcion-titulo { font-size: 22px; }
    .descripcion-col p { font-size: 11px; line-height: 1.5; }
}

@media (max-width: 480px) {
    .espacio-blanco { padding: 80px 3% 50px; }
    .titulo-espacio-texto,
    .titulo-espacio-amp { font-size: 30px; letter-spacing: -0.8px; }
    .titulo-luz { font-size: 48px; }
    .descripcion-espacio { flex-direction: row; margin-top: 35px; }
    .descripcion-col { padding: 0 6px; flex: 1 1 50%; }
    .descripcion-col .descripcion-titulo { font-size: 19px; }
    .descripcion-col p { font-size: 10px; line-height: 1.45; max-width: 100%; }
}

@media (max-width: 360px) {
    .espacio-blanco { padding: 70px 2% 45px; }
    .titulo-espacio-texto,
    .titulo-espacio-amp { font-size: 26px; letter-spacing: -0.5px; }
    .titulo-luz { font-size: 42px; }
    .descripcion-espacio { flex-direction: row; margin-top: 28px; }
    .descripcion-col { padding: 0 4px; flex: 1 1 50%; }
    .descripcion-col .descripcion-titulo { font-size: 16px; }
    .descripcion-col p { font-size: 9.5px; line-height: 1.4; }
}

/* ===== TABLETS (769-1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-overlay { padding: 0 0 40px 40px; }
    .hero-linea1 { font-size: 1.8rem; }
    .hero-linea2 { font-size: 3rem; }
}

/* ============================================ */
/* ===== CATEGORÍAS ===== */
/* ============================================ */

.categoria {
    position: relative;
    cursor: none;
    overflow: hidden;
    min-height: 320px;
    height: auto;
    aspect-ratio: 3 / 2;
    width: 100%;
}

.categoria::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, white 0%, rgba(255,255,255,0) 15%, rgba(0,0,0,0.2) 80%, black 100%);
    z-index: 1;
    pointer-events: none;
}

.categoria .categoria-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.categoria::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
    z-index: 2;
}

.categoria-mascotas,
.categoria-espacios,
.categoria-retratos,
.categoria-conciertos,
.categoria-natural {
    position: relative;
    cursor: none;
    overflow: hidden;
}

.categoria-imagen-mascotas,
.categoria-imagen-espacios,
.categoria-imagen-retratos,
.categoria-imagen-conciertos,
.categoria-imagen-natural {
    min-height: 320px;
    height: auto;
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.categoria-imagen-mascotas::after,
.categoria-imagen-espacios::after,
.categoria-imagen-retratos::after,
.categoria-imagen-conciertos::after,
.categoria-imagen-natural::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
    pointer-events: none;
    z-index: 2;
}

/* ===== SUBCATEGORÍAS - HERO (más bajas) ===== */
.subcategoria-hero {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 -20px 30px rgba(0, 0, 0, 0.3);
    min-height: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.45;
}

.texto-subcategoria {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 8% 70px;
    color: white;
}

.texto-subcategoria h2 {
    margin: 0 0 12px;
    font-family: "Oooh Baby", cursive;
    font-weight: 400;
    color: #ff6a00;
    font-size: 56px;
    line-height: 1;
    text-align: left;
}

.texto-subcategoria p {
    margin: 0;
    max-width: 720px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: white;
    opacity: 0.92;
    text-align: left;
}

/* ===== PORTADAS DE SUBCATEGORÍAS (más bajas) ===== */
.portada-mascotas,
.portada-espacios,
.portada-retratos,
.portada-conciertos,
.portada-natural {
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 -20px 30px rgba(0, 0, 0, 0.4);
    min-height: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
}

.overlay-mascotas,
.overlay-espacios,
.overlay-retratos,
.overlay-conciertos,
.overlay-natural {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 8% 70px;
    color: white;
}

.titulo-mascotas,
.titulo-espacios,
.titulo-retratos,
.titulo-conciertos,
.titulo-natural {
    margin: 0 0 12px;
    font-family: "Oooh Baby", cursive;
    font-weight: 400;
    color: #ff6a00;
    font-size: 56px;
    line-height: 1;
    text-align: left;
}

.descripcion-mascotas,
.descripcion-espacios,
.descripcion-retratos,
.descripcion-conciertos,
.descripcion-natural {
    margin: 0;
    max-width: 720px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: white;
    opacity: 0.92;
    text-align: left;
}

/* ============================================ */
/* ===== RESPONSIVE SUBCATEGORÍAS ===== */
/* ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    .categoria,
    .categoria-imagen-mascotas,
    .categoria-imagen-espacios,
    .categoria-imagen-retratos,
    .categoria-imagen-conciertos,
    .categoria-imagen-natural {
        min-height: 380px;
        aspect-ratio: 4 / 3;
    }

    .subcategoria-hero,
    .portada-mascotas,
    .portada-espacios,
    .portada-retratos,
    .portada-conciertos,
    .portada-natural {
        min-height: 240px;
        aspect-ratio: 16 / 9;
    }

    .texto-subcategoria,
    .overlay-mascotas,
    .overlay-espacios,
    .overlay-retratos,
    .overlay-conciertos,
    .overlay-natural {
        padding: 0 6% 48px;
    }

    .texto-subcategoria h2,
    .titulo-mascotas,
    .titulo-espacios,
    .titulo-retratos,
    .titulo-conciertos,
    .titulo-natural {
        font-size: 42px;
        margin-bottom: 10px;
    }

    .texto-subcategoria p,
    .descripcion-mascotas,
    .descripcion-espacios,
    .descripcion-retratos,
    .descripcion-conciertos,
    .descripcion-natural {
        font-size: 14px;
        line-height: 1.5;
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    .categoria,
    .categoria-imagen-mascotas,
    .categoria-imagen-espacios,
    .categoria-imagen-retratos,
    .categoria-imagen-conciertos,
    .categoria-imagen-natural {
        min-height: 340px;
        aspect-ratio: 4 / 3;
    }

    .subcategoria-hero,
    .portada-mascotas,
    .portada-espacios,
    .portada-retratos,
    .portada-conciertos,
    .portada-natural {
        min-height: 180px;
        aspect-ratio: 16 / 9;
    }

    .texto-subcategoria,
    .overlay-mascotas,
    .overlay-espacios,
    .overlay-retratos,
    .overlay-conciertos,
    .overlay-natural {
        padding: 0 6% 26px;
    }

    .texto-subcategoria h2,
    .titulo-mascotas,
    .titulo-espacios,
    .titulo-retratos,
    .titulo-conciertos,
    .titulo-natural {
        font-size: 32px;
        margin-bottom: 6px;
    }

    .texto-subcategoria p,
    .descripcion-mascotas,
    .descripcion-espacios,
    .descripcion-retratos,
    .descripcion-conciertos,
    .descripcion-natural {
        font-size: 12px;
        line-height: 1.45;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .categoria,
    .categoria-imagen-mascotas,
    .categoria-imagen-espacios,
    .categoria-imagen-retratos,
    .categoria-imagen-conciertos,
    .categoria-imagen-natural {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .subcategoria-hero,
    .portada-mascotas,
    .portada-espacios,
    .portada-retratos,
    .portada-conciertos,
    .portada-natural {
        min-height: 150px;
        aspect-ratio: 16 / 9;
    }

    .texto-subcategoria,
    .overlay-mascotas,
    .overlay-espacios,
    .overlay-retratos,
    .overlay-conciertos,
    .overlay-natural {
        padding: 0 5% 18px;
    }

    .texto-subcategoria h2,
    .titulo-mascotas,
    .titulo-espacios,
    .titulo-retratos,
    .titulo-conciertos,
    .titulo-natural {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .texto-subcategoria p,
    .descripcion-mascotas,
    .descripcion-espacios,
    .descripcion-retratos,
    .descripcion-conciertos,
    .descripcion-natural {
        font-size: 10.5px;
        line-height: 1.4;
        max-width: 95%;
    }
}

/* ===== FALLBACK SAFARI VIEJO (sin aspect-ratio) ===== */
@supports not (aspect-ratio: 1 / 1) {
    .hero,
    .categoria,
    .categoria-imagen-mascotas,
    .categoria-imagen-espacios,
    .categoria-imagen-retratos,
    .categoria-imagen-conciertos,
    .categoria-imagen-natural {
        height: 0;
        padding-top: 66.67%;
    }

    .subcategoria-hero,
    .portada-mascotas,
    .portada-espacios,
    .portada-retratos,
    .portada-conciertos,
    .portada-natural {
        height: 0;
        padding-top: 56.25%;
    }
}

/* ============================================ */
/* ===== WRAPPER Y SUBCATEGORÍAS ===== */
/* ============================================ */
.categoria-wrapper {
    width: 100%;
}

.subcategoria,
.subcategoria-mascotas,
.subcategoria-espacios,
.subcategoria-retratos,
.subcategoria-conciertos,
.subcategoria-natural {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.subcategoria.abierta,
.subcategoria-mascotas.abierta,
.subcategoria-espacios.abierta,
.subcategoria-retratos.abierta,
.subcategoria-conciertos.abierta,
.subcategoria-natural.abierta {
    max-height: 30000px;
}

/* ============================================ */
/* ===== FILTROS Y GALERÍAS ===== */
/* ============================================ */
.filtros {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 40px 15px 30px;
    background: white;
    flex-wrap: wrap;
    min-height: 80px;
}

.filtros button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #333;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filtros button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ff6a00;
    transition: 0.35s;
}

.filtros button:hover::after,
.filtros button.activo::after {
    width: 100%;
}

.filtros button.activo {
    color: #ff6a00;
}

.galeria-deportes {
    position: relative;
    background: white;
    padding: 20px 0 40px 0;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.galeria-deportes::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.deportes-track {
    display: flex;
    gap: 20px;
    padding: 20px 60px;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.deportes-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.deportes-track:active {
    cursor: grabbing;
}

.deporte-item {
    flex-shrink: 0;
    width: 280px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    filter: brightness(0.85);
    transform: scale(0.95);
}

.deporte-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.deporte-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg,
        rgba(255, 106, 0, 0.25) 0%,
        rgba(200, 70, 0, 0.45) 50%,
        rgba(150, 50, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.deporte-item:hover::after {
    opacity: 1;
}

.deporte-item:hover img {
    transform: scale(1.05);
}

.deporte-item .deporte-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 15px;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.deporte-item:hover .deporte-overlay {
    opacity: 1;
    font-size: 14px;
    font-weight: 600;
}

.deporte-item.centrado {
    filter: brightness(1);
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.deporte-item.centrado .deporte-overlay {
    opacity: 1;
    font-size: 14px;
    font-weight: 600;
}

.galeria-deportes .nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeria-deportes:hover .nav-arrows {
    opacity: 1;
}

.galeria-deportes .arrow-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.9);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.galeria-deportes .arrow-btn:hover {
    background: #ff8c1a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 106, 0, 0.5);
}

.galeria-deportes .arrow-prev { left: 10px; }
.galeria-deportes .arrow-next { right: 10px; }

@media (max-width: 1024px) {
    .deporte-item { width: 240px; height: 320px; }
}

@media (max-width: 767px) {
    .deporte-item { width: 200px; height: 270px; }
    .deportes-track { padding: 15px 50px; gap: 15px; }
    .galeria-deportes .arrow-btn { width: 36px; height: 36px; font-size: 16px; }
}

@media (max-width: 480px) {
    .deporte-item { width: 160px; height: 220px; }
    .deportes-track { padding: 10px 45px; gap: 12px; }
    .galeria-deportes .arrow-btn { width: 30px; height: 30px; font-size: 13px; }
}

.portada-mascotas { /* fondo vía JS */ }
.portada-espacios { /* fondo vía JS */ }
.portada-retratos { /* fondo vía JS */ }
.portada-conciertos { /* fondo vía JS */ }
.portada-natural { /* fondo vía JS */ }

/* ============================================ */
/* ===== GALERÍAS GRID ===== */
/* ============================================ */
.galeria-mascotas,
.galeria-espacios,
.galeria-retratos,
.galeria-conciertos,
.galeria-natural {
    background: #f2f2f2;
    padding: 40px 8% 120px 8%;
}

.filtros-mascotas,
.filtros-espacios,
.filtros-retratos,
.filtros-conciertos,
.filtros-natural {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    flex-wrap: wrap;
    min-height: 50px;
}

.filtros-mascotas span,
.filtros-espacios span,
.filtros-retratos span,
.filtros-conciertos span,
.filtros-natural span {
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.filtros-mascotas span::after,
.filtros-espacios span::after,
.filtros-retratos span::after,
.filtros-conciertos span::after,
.filtros-natural span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ff6a00;
    transition: 0.35s;
}

.filtros-mascotas span:hover::after,
.filtros-espacios span:hover::after,
.filtros-retratos span:hover::after,
.filtros-conciertos span:hover::after,
.filtros-natural span:hover::after {
    width: 100%;
}

.filtros-mascotas .activo,
.filtros-espacios .activo,
.filtros-retratos .activo,
.filtros-conciertos .activo,
.filtros-natural .activo {
    color: #ff6a00;
    opacity: 1;
}

.filtros-mascotas .activo::after,
.filtros-espacios .activo::after,
.filtros-retratos .activo::after,
.filtros-conciertos .activo::after,
.filtros-natural .activo::after {
    width: 100%;
}

.grid-mascotas,
.grid-espacios,
.grid-retratos,
.grid-conciertos,
.grid-natural {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-mascotas .img-wrapper-grid,
.grid-espacios .img-wrapper-grid,
.grid-retratos .img-wrapper-grid,
.grid-conciertos .img-wrapper-grid,
.grid-natural .img-wrapper-grid {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
}

.grid-mascotas .img-wrapper-grid img,
.grid-espacios .img-wrapper-grid img,
.grid-retratos .img-wrapper-grid img,
.grid-conciertos .img-wrapper-grid img,
.grid-natural .img-wrapper-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.grid-mascotas .img-wrapper-grid::after,
.grid-espacios .img-wrapper-grid::after,
.grid-retratos .img-wrapper-grid::after,
.grid-conciertos .img-wrapper-grid::after,
.grid-natural .img-wrapper-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 106, 0, 0.25) 0%, rgba(200, 70, 0, 0.45) 50%, rgba(150, 50, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.grid-mascotas .img-wrapper-grid:hover::after,
.grid-espacios .img-wrapper-grid:hover::after,
.grid-retratos .img-wrapper-grid:hover::after,
.grid-conciertos .img-wrapper-grid:hover::after,
.grid-natural .img-wrapper-grid:hover::after {
    opacity: 1;
}

.grid-mascotas .img-wrapper-grid:hover img,
.grid-espacios .img-wrapper-grid:hover img,
.grid-retratos .img-wrapper-grid:hover img,
.grid-conciertos .img-wrapper-grid:hover img,
.grid-natural .img-wrapper-grid:hover img {
    transform: scale(1.05);
}

/* ============================================ */
/* ===== CURSOR PREVIEW ===== */
/* ============================================ */
.cursor-preview {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cursor-preview.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cursor-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.cursor-preview::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    font-weight: 300;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 1024px) {
    .grid-mascotas, .grid-espacios, .grid-retratos, .grid-conciertos, .grid-natural {
        grid-template-columns: repeat(3, 1fr);
    }
    .cursor-preview { width: 100px; height: 100px; }
    .nav-menu { padding: 30px 40px; }
    .nav-item { font-size: 20px; }
    .carrusel-item { width: 140px; height: 175px; }

    .grid-mascotas .img-wrapper-grid,
    .grid-espacios .img-wrapper-grid,
    .grid-retratos .img-wrapper-grid,
    .grid-conciertos .img-wrapper-grid,
    .grid-natural .img-wrapper-grid {
        aspect-ratio: 3 / 4;
        height: 0;
        padding-top: 133.33%;
    }

    .grid-mascotas .img-wrapper-grid img,
    .grid-espacios .img-wrapper-grid img,
    .grid-retratos .img-wrapper-grid img,
    .grid-conciertos .img-wrapper-grid img,
    .grid-natural .img-wrapper-grid img {
        position: absolute;
        top: 0;
        left: 0;
    }

    .filtros {
        gap: 15px;
        padding: 30px 12px 25px;
    }
    .filtros button {
        font-size: 13px;
    }

    .filtros-mascotas,
    .filtros-espacios,
    .filtros-retratos,
    .filtros-conciertos,
    .filtros-natural {
        gap: 15px;
        font-size: 13px;
        margin-bottom: 25px;
    }

    .galeria-mascotas,
    .galeria-espacios,
    .galeria-retratos,
    .galeria-conciertos,
    .galeria-natural {
        padding: 30px 6% 100px 6%;
    }
}

@media (max-width: 767px) {
    .navbar { padding: 20px 25px; }
    .logo { margin-top: 40px; }
    .logo img { width: 55px; }
    .menu-icon { left: 20px; font-size: 24px; }

    .nav-menu {
        flex-direction: column;
        height: auto;
        min-height: 80vh;
        padding: 80px 30px 40px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .nav-columna { width: 100%; flex: none; }
    .nav-links { text-align: center; }
    .nav-links li { margin-bottom: 20px; }
    .nav-item { font-size: 20px; }
    .menu-footer { text-align: center; margin-top: 30px; }
    .menu-social { justify-content: center; }

    .menu-carrusel {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .carrusel-track {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 10px 15px 15px 15px;
        width: max-content;
    }

    .carrusel-item {
        flex-shrink: 0;
        width: 110px;
        height: 145px;
        transform: none;
        transition: all 0.3s ease;
    }

    .carrusel-item .item-overlay { font-size: 10px; padding: 8px 5px; }
    .carrusel-item:hover { transform: scale(1.05); z-index: 10; }
    .carrusel-item:hover img { transform: scale(1.08); }

    .menu-close { top: 20px; right: 20px; width: 32px; height: 32px; font-size: 18px; }
    .subcategoria-cerrar { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 20px; }

    .hero-overlay { padding: 0 0 28px 24px; }
    .hero-linea1 { font-size: 1.2rem; }
    .hero-linea2 { font-size: 2rem; }

    .filtros {
        gap: 12px;
        padding: 25px 10px 20px;
        min-height: 60px;
    }
    .filtros button {
        font-size: 12px;
        padding: 4px 8px;
    }

    .filtros-mascotas,
    .filtros-espacios,
    .filtros-retratos,
    .filtros-conciertos,
    .filtros-natural {
        gap: 12px;
        margin-bottom: 20px;
        font-size: 12px;
        min-height: 45px;
    }

    .galeria-mascotas,
    .galeria-espacios,
    .galeria-retratos,
    .galeria-conciertos,
    .galeria-natural {
        padding: 25px 6% 80px 6%;
    }

    @supports not (aspect-ratio: 1 / 1) {
        .categoria,
        .categoria-imagen-mascotas,
        .categoria-imagen-espacios,
        .categoria-imagen-retratos,
        .categoria-imagen-conciertos,
        .categoria-imagen-natural,
        .subcategoria-hero,
        .portada-mascotas,
        .portada-espacios,
        .portada-retratos,
        .portada-conciertos,
        .portada-natural {
            height: 0;
            padding-top: 66.67%;
        }
    }
}

@media (max-width: 480px) {
    .navbar { padding: 15px 20px; }
    .logo { margin-top: 30px; }
    .logo img { width: 45px; }

    .menu-icon { left: 15px; font-size: 22px; width: 35px; height: 35px; }
    .nav-item { font-size: 16px; }
    .menu-social { gap: 20px; }
    .menu-social a { font-size: 11px; }

    .carrusel-track { padding: 10px 20px 20px 20px !important; gap: 14px; }
    .carrusel-item { width: 110px !important; height: 140px !important; }
    .carrusel-item .item-overlay { font-size: 10px !important; padding: 10px 6px !important; }

    .filtros {
        gap: 10px;
        padding: 20px 8px 16px;
        min-height: 50px;
    }

    .filtros button,
    .filtros-mascotas span,
    .filtros-espacios span,
    .filtros-retratos span,
    .filtros-conciertos span,
    .filtros-natural span {
        font-size: 11px;
        padding: 3px 6px;
    }

    .filtros-mascotas,
    .filtros-espacios,
    .filtros-retratos,
    .filtros-conciertos,
    .filtros-natural {
        gap: 10px;
        margin-bottom: 16px;
        min-height: 40px;
    }

    .galeria-mascotas,
    .galeria-espacios,
    .galeria-retratos,
    .galeria-conciertos,
    .galeria-natural {
        padding: 20px 5% 70px 5%;
    }

    .subcategoria-cerrar { top: 15px; right: 15px; width: 36px; height: 36px; font-size: 18px; }

    .grid-mascotas, .grid-espacios, .grid-retratos, .grid-conciertos, .grid-natural {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .grid-mascotas .img-wrapper-grid,
    .grid-espacios .img-wrapper-grid,
    .grid-retratos .img-wrapper-grid,
    .grid-conciertos .img-wrapper-grid,
    .grid-natural .img-wrapper-grid {
        aspect-ratio: 4 / 5;
        height: 0;
        padding-top: 125%;
    }

    .cursor-preview { width: 70px; height: 70px; }

    @supports not (aspect-ratio: 1 / 1) {
        .categoria,
        .categoria-imagen-mascotas,
        .categoria-imagen-espacios,
        .categoria-imagen-retratos,
        .categoria-imagen-conciertos,
        .categoria-imagen-natural,
        .subcategoria-hero,
        .portada-mascotas,
        .portada-espacios,
        .portada-retratos,
        .portada-conciertos,
        .portada-natural {
            height: 0;
            padding-top: 66.67%;
        }
    }
}

@media (hover: none) {
    .categoria, .categoria-mascotas, .categoria-espacios, .categoria-retratos, .categoria-conciertos, .categoria-natural {
        cursor: default;
    }
    .cursor-preview { display: none; }
}

/* ============================================ */
/* ===== CTA FINAL ===== */
/* ============================================ */
.cta-final {
    background: #ffffff;
    padding: 120px 8% 110px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-final-contenido {
    max-width: 780px;
    margin: 0 auto;
}

.cta-final-eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff6a00;
    margin: 0 0 20px;
}

.cta-final-titulo {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 68px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #111111;
    margin: 0 0 24px;
}

.cta-final-acento {
    font-family: 'Oooh Baby', cursive;
    font-weight: 400;
    font-style: normal;
    color: #ff6a00;
    font-size: 1.15em;
    letter-spacing: 0;
    display: inline-block;
    margin: 0 4px;
    line-height: 0.9;
}

.cta-final-subtitulo {
    font-family: 'Raleway', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    max-width: 620px;
    margin: 0 auto 44px;
}

.cta-final-botones {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 16px 34px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #ff6a00;
}

.cta-final-btn svg {
    transition: transform 0.3s ease;
}

.cta-final-btn:hover svg {
    transform: translateX(4px);
}

.cta-final-btn-primario {
    background: #ff6a00;
    color: #ffffff;
}

.cta-final-btn-primario:hover {
    background: #ff8c1a;
    border-color: #ff8c1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.35);
}

.cta-final-btn-secundario {
    background: transparent;
    color: #ff6a00;
}

.cta-final-btn-secundario:hover {
    background: #ff6a00;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .cta-final {
        padding: 100px 6% 90px;
    }
    .cta-final-titulo {
        font-size: 52px;
    }
    .cta-final-subtitulo {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .cta-final {
        padding: 80px 6% 70px;
    }
    .cta-final-eyebrow {
        font-size: 11px;
        letter-spacing: 2.5px;
        margin-bottom: 14px;
    }
    .cta-final-titulo {
        font-size: 38px;
        letter-spacing: -0.8px;
        margin-bottom: 18px;
    }
    .cta-final-subtitulo {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 32px;
    }
    .cta-final-botones {
        flex-wrap: nowrap;
        gap: 10px;
    }
    .cta-final-btn {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        padding: 12px 10px;
        font-size: 12.5px;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }
}

@media (max-width: 400px) {
    .cta-final {
        padding: 60px 5% 55px;
    }
    .cta-final-titulo {
        font-size: 32px;
    }
    .cta-final-acento {
        font-size: 1.1em;
    }
    .cta-final-botones {
        gap: 8px;
    }
    .cta-final-btn {
        padding: 10px 8px;
        font-size: 11px;
        gap: 6px;
    }
    .cta-final-btn svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }
}

@supports not (gap: 1px) {
    .cta-final-botones .cta-final-btn:not(:last-child) {
        margin-right: 16px;
    }
    @media (max-width: 600px) {
        .cta-final-botones .cta-final-btn:not(:last-child) {
            margin-right: 10px;
        }
    }
}

/* ============================================ */
/* ===== FOOTER ===== */
/* ============================================ */
.footer {
    background: #111111;
    color: #ffffff;
    padding: 80px 8% 30px;
    font-family: 'Raleway', sans-serif;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-izquierda {
    flex: 1 1 320px;
    max-width: 480px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 70px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-tagline {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.4;
    color: #dddddd;
    margin: 0 0 32px;
    letter-spacing: -0.2px;
}

.footer-acento {
    font-family: 'Oooh Baby', cursive;
    font-weight: 400;
    font-style: normal;
    color: #ff6a00;
    font-size: 1.35em;
    line-height: 0.85;
    margin-left: 4px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-nav a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 3px;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: #ff6a00;
    transition: width 0.35s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-derecha {
    flex: 0 1 auto;
    min-width: 240px;
}

.footer-contacto-titulo {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff6a00;
    margin: 0 0 24px;
}

.footer-redes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-red {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #dddddd;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 4px 0;
}

.footer-red i {
    font-size: 22px;
    width: 26px;
    text-align: center;
    color: #888888;
    transition: color 0.3s ease;
}

.footer-red span {
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.footer-red:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-red:hover i {
    color: #ff6a00;
}

.footer-red:hover span {
    border-bottom-color: #ff6a00;
}

.footer-base {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
}

.footer-base p {
    color: #666666;
    font-size: 12px;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 900px) {
    .footer {
        padding: 60px 6% 25px;
    }
    .footer-contenido {
        gap: 40px 30px;
        padding-bottom: 40px;
    }
    .footer-tagline {
        font-size: 20px;
    }
    .footer-contacto-titulo {
        margin-bottom: 18px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 50px 6% 25px;
    }
    .footer-contenido {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 30px;
    }
    .footer-izquierda {
        max-width: 100%;
    }
    .footer-logo img {
        width: 55px;
    }
    .footer-tagline {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .footer-acento {
        font-size: 1.3em;
    }
    .footer-nav {
        gap: 18px;
    }
    .footer-nav a {
        font-size: 13px;
    }
    .footer-derecha {
        min-width: unset;
        width: 100%;
    }
    .footer-redes {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    .footer-red {
        font-size: 14px;
        gap: 10px;
    }
    .footer-red i {
        font-size: 20px;
        width: 22px;
    }
    .footer-base p {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .footer {
        padding: 40px 5% 20px;
    }
    .footer-tagline {
        font-size: 15px;
    }
    .footer-red span {
        display: none;
    }
    .footer-red i {
        font-size: 24px;
        width: auto;
    }
    .footer-redes {
        gap: 20px;
    }
}

@supports not (gap: 1px) {
    .footer-nav a:not(:last-child) {
        margin-right: 24px;
    }
    .footer-redes .footer-red:not(:last-child) {
        margin-bottom: 16px;
    }
    @media (max-width: 600px) {
        .footer-redes .footer-red:not(:last-child) {
            margin-bottom: 0;
            margin-right: 16px;
        }
    }
    @media (max-width: 400px) {
        .footer-redes .footer-red:not(:last-child) {
            margin-right: 20px;
        }
    }
}

/* ============================================ */
/* ===== LIGHTBOX ===== */
/* ============================================ */
.lightbox-unificado {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-unificado.active { display: flex; }

.lightbox-unificado img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-unificado .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    background: none;
    border: none;
}

.lightbox-unificado .close-lightbox:hover {
    color: #ff6a00;
    transform: rotate(90deg);
}

.lightbox-unificado .prev-lightbox,
.lightbox-unificado .next-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 106, 0, 0.8);
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-unificado .prev-lightbox:hover,
.lightbox-unificado .next-lightbox:hover {
    background: #ff8c1a;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-unificado .prev-lightbox { left: 30px; }
.lightbox-unificado .next-lightbox { right: 30px; }

.lightbox-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
    .lightbox-unificado .prev-lightbox,
    .lightbox-unificado .next-lightbox {
        width: 44px; height: 44px; font-size: 20px;
    }
    .lightbox-unificado .prev-lightbox { left: 15px; }
    .lightbox-unificado .next-lightbox { right: 15px; }
}

@media (max-width: 480px) {
    .lightbox-unificado .prev-lightbox,
    .lightbox-unificado .next-lightbox {
        width: 36px; height: 36px; font-size: 16px;
    }
    .lightbox-unificado .close-lightbox { font-size: 30px; top: 15px; right: 20px; }
}

/* ============================================ */
/* ===== AJUSTES TABLETS ===== */
/* ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo { margin-top: 40px; }
    .logo img { width: 55px; }
    .menu-icon { left: 20px; font-size: 24px; }
}

/* ===== FALLBACK DE ESPACIADO PARA iOS 12 ===== */
@supports not (gap: 1px) {
    .menu-social a:not(:last-child) { margin-right: 24px; }
    .carrusel-track .carrusel-item:not(:last-child) { margin-right: 20px; }
    .filtros button:not(:last-child) { margin-right: 20px; }
    .filtros-mascotas span:not(:last-child),
    .filtros-espacios span:not(:last-child),
    .filtros-retratos span:not(:last-child),
    .filtros-conciertos span:not(:last-child),
    .filtros-natural span:not(:last-child) {
        margin-right: 20px;
    }
    .deportes-track .deporte-item:not(:last-child) { margin-right: 20px; }
}

/* ============================================ */
/* ===== BOTÓN "EXPLORAR" EN CATEGORÍAS ===== */
/* ============================================ */
.categoria-cta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 0 8%;
    pointer-events: none;
}

.cta-nombre {
    font-family: 'Oooh Baby', cursive;
    font-weight: 400;
    font-size: 46px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    max-width: 600px;
}

.btn-explorar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    border: 2px solid #ff6a00;
    color: #ff6a00;
    padding: 14px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: none;
    transition: 0.3s;
}

.btn-explorar svg { transition: transform 0.3s ease; }
.btn-explorar .lbl-cerrar { display: none; }

.categoria:hover .btn-explorar,
.categoria-mascotas:hover .btn-explorar,
.categoria-espacios:hover .btn-explorar,
.categoria-retratos:hover .btn-explorar,
.categoria-conciertos:hover .btn-explorar,
.categoria-natural:hover .btn-explorar {
    background: #ff6a00;
    color: white;
}

.categoria:hover .btn-explorar svg,
.categoria-mascotas:hover .btn-explorar svg,
.categoria-espacios:hover .btn-explorar svg,
.categoria-retratos:hover .btn-explorar svg,
.categoria-conciertos:hover .btn-explorar svg,
.categoria-natural:hover .btn-explorar svg {
    transform: translateX(5px);
}

.categoria-wrapper.subcategoria-abierta .btn-explorar .lbl-explorar { display: none; }
.categoria-wrapper.subcategoria-abierta .btn-explorar .lbl-cerrar { display: inline; }
.categoria-wrapper.subcategoria-abierta .btn-explorar svg { transform: rotate(90deg); }

.categoria-wrapper.subcategoria-abierta .btn-explorar .lbl-explorar { display: none; }
.categoria-wrapper.subcategoria-abierta .btn-explorar .lbl-cerrar { display: inline; }
.categoria-wrapper.subcategoria-abierta .btn-explorar svg { transform: rotate(90deg); }


/* iPad/tablet (768-1024px): antes no existía este rango y el texto caía
   directo al tamaño de escritorio (46px), demasiado grande para tablet. */
@media (min-width: 768px) and (max-width: 1024px) {
    .categoria-cta {
        bottom: 30px;
        gap: 10px;
        padding: 0 6%;
    }
    .cta-nombre {
        font-size: 28px;
        line-height: 1.2;
        max-width: 70%;
    }
    .btn-explorar {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .categoria-cta {
        bottom: 18px;
        gap: 6px;
        padding: 0 5%;
    }
    .cta-nombre {
        font-size: 14px;
        line-height: 1.15;
        max-width: 85%;
    }
    .btn-explorar {
        padding: 5px 14px;
        font-size: 10px;
        gap: 5px;
        border-width: 1.5px;
    }
    .btn-explorar svg { width: 11px; height: 11px; }
}

@media (max-width: 480px) {
    .categoria-cta {
        bottom: 14px;
        gap: 5px;
        padding: 0 4%;
    }
    .cta-nombre {
        font-size: 12px;
        line-height: 1.1;
        max-width: 88%;
    }
    .btn-explorar {
        padding: 4px 12px;
        font-size: 9px;
        gap: 4px;
        border-width: 1.5px;
    }
    .btn-explorar svg { width: 10px; height: 10px; }
}

/* ===== ORIENTACIÓN HORIZONTAL (celular/tablet de lado) =====
   Los breakpoints de arriba solo miran el ANCHO. Un celular acostado
   (ej. Moto G77) puede tener un ancho de pantalla mayor a 900px aunque
   el alto sea muy corto, así que cae fuera de esos bloques y vuelve a
   usar el tamaño grande de escritorio -mismo síntoma de corte de texto,
   aunque el dispositivo no sea una tablet. Estos dos bloques se fijan
   en el ALTO real y la orientación en vez del ancho, así agarran tanto
   el celular acostado como el iPad en horizontal (iOS 12 incluido, por
   eso van en px fijo y no en clamp: en iOS 12 clamp() no existe, así
   que sin este bloque el navegador se queda con un tamaño de un
   breakpoint de ancho anterior). Van al final del archivo a propósito,
   para ganar por orden de cascada sobre cualquier bloque de max-width
   de arriba con el que se solapen. */
@media (orientation: landscape) and (max-height: 500px) {
    .espacio-blanco { padding: 90px 5% 50px; }
    .titulo-espacio-texto,
    .titulo-espacio-amp { font-size: 36px; letter-spacing: -1px; }
    .titulo-luz { font-size: 52px; }
    .descripcion-espacio { margin-top: 30px; }
    .descripcion-col .descripcion-titulo { font-size: 18px; }
}

@media (orientation: landscape) and (min-height: 501px) and (max-height: 850px) {
    .espacio-blanco { padding: 130px 5% 60px; }
    .titulo-espacio-texto,
    .titulo-espacio-amp { font-size: 52px; letter-spacing: -1.1px; }
    .titulo-luz { font-size: 76px; }
    .descripcion-espacio { margin-top: 50px; }
    .descripcion-col .descripcion-titulo { font-size: 24px; }
}