@font-face {
    font-family: 'FAT KAT';
    src: url('fonts/Fat Kat - (Demo) hanscostudio.com.ttf') format('truetype'); 
}

@font-face {
    font-family: 'Berlin Sans FB';
    src: url('fonts/BRLNSR.TTF') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Berlin Sans FB';
    src: url('fonts/BRLNSDB.TTF') format('truetype'); 
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Berlin Sans FB';
    src: url('fonts/BRLNSB.TTF') format('truetype'); 
    font-weight: bold;
    font-style: normal;
}

:root {
    --bg-color: #f4eeb8; 
    --text-main: #0a0a23; 
    --text-accent: #e30052; 
    --nav-border: #e30052;
    --title-color: #e30052;
    --shadow-equipo: #e30052;
}

/* --- MODO PRESIÓN (EFECTOS PERSISTENTES) --- */
body.modo-presion {
    --bg-color: #12002b; 
    --text-main: #e0fbfc; 
    --text-accent: #ff007f; 
    --nav-border: #ff007f;
    --title-color: #2b78ff;
    --shadow-equipo: #9d00ff;
    background-image: linear-gradient(rgba(18, 0, 43, 0.6), rgba(18, 0, 43, 0.6)), url('img/trama_presion.png');
    

}

/* 1. Cursor general tipo "X" fucsia para el Modo Presión */
body.modo-presion {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ff007f" stroke-width="3" stroke-linecap="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>') 12 12, crosshair; 
}

/* 2. Cursor "X" celeste y un poco más grueso cuando pasás por botones/imágenes */
body.modo-presion a, 
body.modo-presion button, 
body.modo-presion .texto-presion,
body.modo-presion .portfolio-item,
body.modo-presion .miembro {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="%232b78ff" stroke-width="4" stroke-linecap="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>') 14 14, pointer; 
}
/* 3. Viñeta que late constantemente para mantener la tensión */
body.modo-presion::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    box-shadow: inset 0 0 80px rgba(255, 0, 127, 0.15);
    animation: latido-constante 1.5s infinite alternate ease-in-out;
}

@keyframes latido-constante {
    0% { box-shadow: inset 0 0 30px rgba(255, 0, 127, 0.05); }
    100% { box-shadow: inset 0 0 150px rgba(255, 0, 127, 0.35); }
}
/* ------------------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(244, 238, 184, 0.6), rgba(244, 238, 184, 0.6)), url('img/trama_normal.png');
    background-repeat: repeat;
    color: var(--text-main);
    font-family: 'Berlin Sans FB', sans-serif;
    transition: background-color 0.5s ease, color 0.5s ease, background-image 0.5s ease; 
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    letter-spacing: 1px; 
    position: relative;
    z-index: 20;
}

.logo {
    width: 140px;
    height: 50px;
    background-image: url('img/logo_normal.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center left;
    display: block;
}

body.modo-presion .logo {
    background-image: url('img/logo_presion.svg');
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    border: 2px solid var(--nav-border);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--nav-border);
    color: var(--bg-color);
}

.btn-toggle {
    width: 50px;
    height: 50px;
    background-image: url('img/boton_normal.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

body.modo-presion .btn-toggle {
    background-image: url('img/boton_presion.svg');
}

.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

h1 {
    font-family: 'FAT KAT', sans-serif;
    font-size: 9rem; 
    line-height: 1;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    width: fit-content; 
    margin: 0 auto; 
    gap: 20px; 
    padding: 0 20px; 
}

.linea-titulo {
    display: block;
}

.linea-arriba {
    color: var(--text-main);
    align-self: flex-start; 
}

.linea-abajo {
    color: var(--text-main);
    margin-left: 180px; 
}

.contenedor-presion {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.circulos-fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700%; 
    height: 700%;
    transform: translate(-50%, -50%) rotate(-10deg);
    background-image: url('img/circulos.svg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
}

body.modo-presion .circulos-fondo {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(280deg);
}

.texto-presion {
    color: var(--text-accent); 
    cursor: pointer;
    display: inline-block;
    position: relative; 
    transition: transform 0.2s ease;
    z-index: 1; 
}

.texto-presion:hover {
    transform: scale(1.05);
}

.decoracion-triangulos {
    position: absolute;
    left: 50px;
    bottom: 50px;
    width: 60px;
    height: 700px;
    background-image: url('img/triangulos_normal.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}

body.modo-presion .decoracion-triangulos {
    background-image: url('img/triangulos_presion.svg');
}

.separador-lineas {
    width: 100vw;
    height: 500px;
    background-image: url('img/lineas_normal.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 10;
}

body.modo-presion .separador-lineas {
    background-image: url('img/lineas_presion.svg');
}

.seccion-laburitos {
    position: relative;
    padding: 60px 50px 100px 50px;
    overflow: hidden;
    min-height: 80vh;
}

.deco-cuadrados-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/cuadrados_normal.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%; 
    z-index: 1;
    pointer-events: none;
    transition: background-image 0.5s ease;
}

body.modo-presion .deco-cuadrados-fondo {
    background-image: url('img/cuadrados_presion.svg');
}

.contenido-laburitos {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.contenido-laburitos h2 {
    font-family: 'FAT KAT', sans-serif;
    font-size: 5rem;
    color: var(--text-accent);
    margin-bottom: 50px;
}

.filtros-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.btn-filtro {
    background: none;
    border: none;
    font-family: 'Berlin Sans FB', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 15px 30px;
    position: relative;
    transition: color 0.3s ease;
}

.btn-filtro.activo {
    color: var(--title-color);
}

.btn-filtro.activo::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 35%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 400%;
    background-image: url('img/circulo_laburitos_normal.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

body.modo-presion .btn-filtro.activo::before {
    background-image: url('img/circulo_laburitos_presion.svg');
}

.grid-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    aspect-ratio: 16/10; 
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-item.oculto {
    display: none;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(10, 10, 35, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.abierto {
    opacity: 1;
    pointer-events: auto;
}

.btn-cerrar {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 50px;
    height: 50px;
    background-image: url('img/flechitasalir_normal.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease;
}

body.modo-presion .btn-cerrar {
    background-image: url('img/flechitasalir_presion.svg');
}

.btn-cerrar:hover {
    transform: scale(1.1);
}

.btn-nav-modal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-accent);
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease, color 0.3s ease;
}

body.modo-presion .btn-nav-modal {
    color: var(--title-color);
}

.btn-nav-modal:hover {
    transform: translateY(-50%) scale(1.15);
}

.btn-nav-modal.prev {
    left: 40px;
}

.btn-nav-modal.next {
    right: 40px;
}

.btn-nav-modal svg {
    width: 60px;
    height: 60px;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.modal-contenido {
    max-width: 80%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.modal-contenido img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    display: block;
}

.modal-contenido video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.contenido-inferior {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px;
}

.puntos-izq, .puntos-der {
    position: absolute;
    top: 50px;
    height: 100%;
    width: 50vw; 
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1;
    pointer-events: none;
}

.puntos-izq {
    left: -15vw; 
    background-image: url('img/puntosizq_normal.svg');
    background-position: left center;
}

.puntos-der {
    right: -15vw; 
    background-image: url('img/puntosder_normal.svg');
    background-position: right center;
}

body.modo-presion .puntos-izq {
    background-image: url('img/puntosizq_presion.svg');
}

body.modo-presion .puntos-der {
    background-image: url('img/puntosder_presion.svg');
}

.seccion-nosotros {
    text-align: center;
    padding: 80px 20px 150px 20px;
    position: relative;
    z-index: 5;
}

.seccion-reel {
    text-align: center;
    padding: 0 20px 150px 20px;
    position: relative;
    z-index: 5;
}

.seccion-programas {
    text-align: center;
    padding: 0 20px 100px 20px;
    position: relative;
    z-index: 5;
}

.seccion-nosotros h2, .seccion-reel h2, .seccion-programas h2 {
    font-family: 'Berlin Sans FB', sans-serif;
    font-weight: 600;
    font-size: 4.5rem;
    color: var(--title-color);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.seccion-nosotros p {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--text-main);
}

.video-wrapper {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;
    width: 90%; 
}

.video-container {
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
    position: relative;
    z-index: 2;
    width: 100%;
    box-shadow: 20px 20px 0 var(--text-accent);
    transition: box-shadow 0.5s ease;
}

.video-container video {
    width: 100%;
    display: block;
}

.iconos-programas {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.icono-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 130px;
}

.icono-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 20px;
}

.icono-item p {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
}

/* --- SECCIÓN SOBRE NOSOTROS (nosotros.html) --- */

.seccion-nosotros-page {
    position: relative;
    padding: 60px 50px 100px 50px;
    min-height: 85vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.deco-circulo-lateral {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: 200px; 
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

.deco-izq-nos {
    left: 0;
    background-image: url('img/circulosnosizq_normal.svg');
    background-position: left center;
}

.deco-der-nos {
    right: 0;
    background-image: url('img/circulosnosder_normal.svg');
    background-position: right center;
}

body.modo-presion .deco-izq-nos {
    background-image: url('img/circulosnosizq_presion.svg');
}

body.modo-presion .deco-der-nos {
    background-image: url('img/circulosnosder_presion.svg');
}

.contenido-nosotros-page {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.contenido-nosotros-page h2 {
    font-family: 'FAT KAT', sans-serif;
    font-size: 5rem;
    color: var(--text-accent); 
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.texto-nosotros {
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 60px;
}

.subrayado-azul {
    text-decoration: underline;
    text-decoration-color: #2b78ff;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s ease;
}

body.modo-presion .subrayado-azul {
    text-decoration-color: transparent;
}

.equipo-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.miembro {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.miembro:hover {
    transform: translateY(-10px);
}

.foto-miembro {
    width: 160px; 
    border-radius: 12px;
    box-shadow: 10px 10px 0 var(--shadow-equipo);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.foto-miembro img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.miembro h3 {
    font-family: 'Berlin Sans FB', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    color: var(--text-accent);
}