/* --- Tipografía --- */
@import url('https://googleapis.com');

/* --- Estilos Globales --- */
html, body {
    background-color: #DDE2E4;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* Bloquea el scroll de la pantalla completa */
    font-family: "Roboto", sans-serif;
}

/* --- Encabezado --- */
header {
    display: flex;
    height: 60px;
    background-color: #010101;
    padding: 0 40px;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.logo img {
    height: 40px;
    display: block;
}

/* Ocultar checkbox del menú */
#menu-check { 
    display: none !important; 
}

/* --- Menú Lateral (Escritorio) --- */
.sidebar {
    height: auto;
    width: 200px;
    position: fixed;
    top: 100px;
    left: 40px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar a {
    padding: 12px 0;
    display: flex;
    align-items: center;
    color: #010101;
    text-decoration: none;
    transition: 0.3s;
    gap: 15px;
    font-weight: 500;
}

.menu-icon {
    width: 22px;
    height: 22px;
}

.sidebar a:hover { color: #7700ff; }
.sidebar a:hover .menu-icon {
    filter: invert(13%) sepia(90%) saturate(5454%) hue-rotate(273deg) brightness(86%) contrast(110%);
}

/* --- Contenedor Principal con Scroll Interno (Escritorio) --- */
.contenedor-principal {
    display: block;
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 420px;
    right: 60px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
    z-index: 10;
}

.contenedor-principal::-webkit-scrollbar {
    width: 6px;
}
.contenedor-principal::-webkit-scrollbar-thumb {
    background: #010101;
    border-radius: 3px;
}
.contenedor-principal::-webkit-scrollbar-track {
    background: transparent;
}

/* --- Secciones Internas --- */
.contenido-scrolleable {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding-bottom: 60px;
}

.seccion-studio-crew {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: #ffffff;
    padding: 40px 80px 40px 40px;
    color: #000000;
}

.seccion-studio-crew h2 {
    font-size: 32px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.seccion-studio-crew p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #222;
}

.seccion-imagen {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.imagen-equipo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.seccion-servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: oklab(6.72% 0 -0.00001);
    color: #ffffff;
    padding: 40px;
}

.seccion-servicios h3 {
    font-size: 24px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 20px;
    color: #38FF78;
}

.seccion-servicios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.columna-what-we-do li,
.columna-squad li {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    text-transform: uppercase;
}

.columna-squad {
    text-align: right;
    padding-top: 48px;
}

.columna-squad span {
    font-weight: 900;
}

.seccion-botones {
    display: flex;
    gap: 20px;
    background-color: #010101;
    padding: 0 40px 40px 40px;
}

.btn-rojo {
    flex: 1;
    text-align: center;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-rojo:hover {
    background-color: #38FF78;
    color: #7800FF;
}

/* --- Texto "A Creative Studio" (Escritorio) --- */
.texto-superior-footer {
    position: fixed;
    left: 40px;
    bottom: 60px;
    z-index: 10;
    pointer-events: none;
}

.texto-superior-footer p {
    margin: 0;
    line-height: 0.9;
    font-size: 55px;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
}

/* --- Texto Vertical Derecho --- */
.texto-vertical-derecha {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    z-index: 100;
}

.texto-vertical-derecha p {
    font-size: 14px;
    letter-spacing: 2px;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

/* --- Pie de Página (Escritorio) --- */
.footer-content {
    position: fixed;
    bottom: 15px;
    left: 40px;
    font-size: 12px;
    color: #777;
    z-index: 5;
}


/* =========================================================
   --- RESPONSIVO ÚNICO PARA CELULAR (PORTRAIT) ---
   ========================================================= */
@media (max-width: 768px) {

    /* Header Móvil */
    header { 
        padding: 0 20px; 
    }
    .logo img { 
        height: 35px; 
    }

    /* Hamburguesa */
    .hamburguesa {
        display: flex;
        flex-direction: column;
        gap: 6px;
        position: fixed;
        top: 18px;
        right: 20px;
        z-index: 1100;
    }

    .hamburguesa span {
        width: 25px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
    }

    /* Menú Móvil */
    .sidebar {
        left: 0;
        top: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        justify-content: center;
        padding-left: 40px;
        transition: 0.6s ease-in-out;
    }

    #menu-check:checked ~ .sidebar { 
        top: 0; 
    }

    .sidebar a {
        font-size: 2.5rem;
        color: #f3f6f5;
        font-weight: 900;
    }

    .sidebar a:hover, .sidebar a:active { 
        color: #7800FF !important; 
    }

    .menu-icon { 
        display: none; 
    }

    /* Contenedor Blanco Scrolleable (Fijado entre Header y Footer Gris) */
    .contenedor-principal {
        position: fixed !important;
        top: 60px !important;
        bottom: 165px !important; /* Límite inferior para no encimarse al texto fijo */
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        z-index: 10;
    }

    .seccion-studio-crew, 
    .seccion-servicios {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .seccion-servicios {
        gap: 15px;
    }

    .columna-squad {
        text-align: left;
        padding-top: 0;
    }

    .seccion-botones {
        flex-direction: column;
        padding: 0 20px 20px 20px;
    }

    /* Texto Fijo Inferior Izquierdo "A CREATIVE STUDIO..." */
    .texto-superior-footer {
        position: fixed !important;
        left: 20px !important;
        right: 20px !important;
        bottom: 38px !important;
        width: auto !important;
        z-index: 20 !important;
        pointer-events: none;
    }

    .texto-superior-footer p { 
        font-size: 32px !important; 
        line-height: 0.95 !important; /* Espaciado ajustado para evitar que chuelen las letras */
        font-weight: 900 !important;
        color: #000 !important;
    }

    /* Footer Copyright Fijo */
    .footer-content { 
        position: fixed !important;
        left: 20px !important; 
        bottom: 14px !important; 
        font-size: 11px !important;
        z-index: 20 !important;
    }

    .texto-vertical-derecha { 
        display: none !important; 
    }
}


/* =========================================================
   --- MODO HORIZONTAL (LANDSCAPE) ---
   ========================================================= */
@media (max-height: 500px) and (orientation: landscape) {
    html, body {
        overflow: hidden !important;
        height: 100vh;
    }

    .sidebar {
        display: flex !important;
        position: fixed;
        top: 80px;
        left: 40px;
        width: 150px;
        z-index: 1000;
        background: transparent;
    }

    .texto-superior-footer {
        position: fixed;
        left: 40px;
        bottom: 30px;
        width: 300px;
        z-index: 1001;
    }

    .texto-superior-footer p {
        font-size: 30px !important;
        line-height: 0.9;
    }

    .contenedor-principal {
        position: fixed;
        top: 60px;
        bottom: 0;
        margin-left: 380px;
        margin-right: 80px;
        left: 0;
        right: 0;
        overflow-y: auto;
    }

    .texto-vertical-derecha {
        position: fixed;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        writing-mode: vertical-rl;
        display: block !important;
    }

    .texto-vertical-derecha p {
        font-size: 12px !important;
        letter-spacing: 2px;
    }

    .footer-content {
        position: fixed;
        bottom: 0px;
        left: 40px;
        font-size: 10px;
    }
}

  
