
/* CONFIGURACIÓN GENERAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #efeeee;
}

img {
    max-width: 100%;
    height: auto;
}

/* BORDE TEMPORAL PARA REVISAR LOS CONTENEDORES */
/* Elimínalo o comenta esta regla cuando termines */
div {
    border: 0px solid pink;
}

.container {
	padding:10px;
}

/* LOGO */
.logo {
    display: block;
    width: 40%;
    height: auto;
}

/* TÍTULOS */
h1 {
    margin: 0;
    font-size: 55px;
    line-height: 0.8;
}

.hder {
    color: #1949e2;
}

/* ENCABEZADO Y MENÚ */

.site-header {
    position: relative;
    top: 20px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

.logo {
    width: 200px;
    height: auto;
}

.menu-toggle {
    margin-left: auto;
	margin-right:30px;
}
.menu {
    border: 0;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    width: 70px;
    height: 35px;
    padding: 8px;

    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 7px;
    flex-shrink: 0;
    background-color: #1949e2;
    border-radius: 2px;
}


.site-header .menu button.menu-toggle {
    align-self: flex-start;
    margin-top: 0;
}

.site-header .row {
    align-items: flex-start !important;
}

.site-header .menu {
    align-self: flex-start !important;
    text-align: right;
}

.site-header .menu button.menu-toggle {
    margin: 0 0 0 auto;
}

/* SECCIÓN DEL TÍTULO */
.hero {
    margin: 0;
    padding: 60px 0 30px;
}

/* IMAGEN CENTRAL */
.phone-placeholder {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
}

.phone-placeholder picture {
    display: block;
    width: 140%;
    max-width: none;
}

.phone-placeholder img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

/* ÁREA DE ILUSTRACIONES */

.phone-placeholder {
    display: flex;
    justify-content: center;
    width: 100%;
}

.phone-placeholder picture {
    display: block;
    width: 140%;
    max-width: none;
    flex-shrink: 0;
    position: relative;
    left: 0;
    transform: translateX(0);
}

.phone-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}
.showcase {
    margin: 0;
    padding: 0 0 30px;
}

.showcase .row {
    align-items: center;
}

.showcase-center {
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 50px;
        line-height: 1;
    }

    .logo {
        width: 150px;
    }
}

/* MÓVIL */
@media (max-width: 767.98px) {
    h1 {
        font-size: 40px;
        line-height: 1;
    }

    .logo {
        width: 180px;
    }

    .hero {
        padding: 35px 0 20px;
    }

    .phone-placeholder picture {
        width: 140%;
    }

    .showcase {
        padding-bottom: 20px;
    }
}


/* PIE DE PÁGINA */
.site-footer {
    padding: 50px 0;
    
    color: #ffffff;
}

.site-footer .footer-column {
    margin-bottom: 25px;
}

.site-footer h2 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1949e2;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a {
    color: #222;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #1949e2;
}

/* MÓVIL */
@media (max-width: 767.98px) {
    .site-footer {
        padding: 35px 0 20px;
    }

    .site-footer h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .site-footer a {
        font-size: 14px;
    }

    .site-footer .footer-column {
        margin-bottom: 25px;
    }
}

/* CENTRAR LAS 4 LISTAS DEL FOOTER */
.site-footer .container > .row {
    justify-content: center;
}

.site-footer .footer-column {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ESCRITORIO */
@media (min-width: 768px) {
    .site-footer .footer-column {
        min-width: 180px;
    }
}

/* MÓVIL */
@media (max-width: 767.98px) {
    .site-footer .footer-column {
        width: 50%;
        padding-left: 12px;
        padding-right: 12px;
        min-width: 0;
    }
}

.site-footer h2 {
    line-height: 1;
    margin-bottom: 4px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
}

.site-footer li {
    line-height: 1;
    margin-bottom: 2px;
}

.site-footer .footer-column {
    margin-bottom: 6px;
}

/* AJUSTES EXCLUSIVOS PARA MÓVIL */
@media (max-width: 767.98px) {

    /* 1. Logotipo ligeramente más grande */
    .site-header img.logo {
        width: 205px;
        height: auto;
    }

    /* 2. Menú hamburguesa más pequeño */
    .site-header button.menu-toggle {
        width: 75px;
        height: 36px;
        padding: 10px;
		
        gap: 5px;
		
    }
	
	

    .site-header button.menu-toggle span {
        height: 5px;
    }

    /* 3. Evitar desplazamiento horizontal de la página */
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    /* 4. Reducir el interlineado del H1 del pitch */
    .hero h1 {
        line-height: 0.9;
    }
}


/* ================= PANEL LATERAL 771 STUDIO ================= */

.contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9998;
}

.contact-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 55px 35px 35px;
    overflow-y: auto;
    background: #efeeee;
    color: #222;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0.4s ease;
    z-index: 9999;
}

/* ESTADO ABIERTO */

.contact-panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.contact-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* BOTÓN CERRAR */

.contact-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #1949e2;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
	 font-weight: 700;
}

/* CONTENIDO */

.contact-content h2 {
    margin: 0 0 20px;
    color: #1949e2;
    font-size: 30px;
    line-height: 1.05;
}

.contact-description {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.contact-info {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-info p {
    margin: 0 0 8px;
}

/* FORMULARIO */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #1949e2;
    outline-offset: 1px;
}

.contact-submit {
    margin-top: 12px;
    padding: 14px 18px;
    border: 0;
    border-radius: 4px;
    background: #1949e2;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-submit:hover {
    background: #1238b8;
}

/* MÓVIL: PANEL DEL 75% */

@media (max-width: 767.98px) {
    .contact-panel {
        width: 100vw;
        max-width: 100vw;
        padding: 55px 20px 25px;
    }

    .contact-content h2 {
        font-size: 24px;
    }

    .contact-description {
        font-size: 14px;
    }
    .contact-form input,

    .contact-form textarea {
        padding: 11px;
    }

    .contact-close {
        top: 12px;
        right: 12px;
    }
}

/* AJUSTE DE POSICIÓN DEL MENÚ HAMBURGUESA */


/* POSICIÓN DEL MENÚ HAMBURGUESA */

/* ESCRITORIO Y TABLET */
@media (min-width: 768px) {
    .site-header .row > .menu {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        flex: 0 0 70px !important;
        width: 70px !important;
        position: absolute;
        right: 100px;
        top: 0;
    }

    .site-header .menu button.menu-toggle {
        margin: 0 !important;
    }
}

/* SOLO MÓVIL */
@media (max-width: 767.98px) {
    .site-header .row > .menu {
        margin-left: auto !important;
        margin-right: 40px !important;
        flex: 0 0 auto;
        width: auto;
        padding: 0;
        position: static;
    }

    .site-header .menu button.menu-toggle {
        margin: 0 !important;
    }
}


/* LOGOTIPO DEL PANEL DE CONTACTO */
.contact-footer-logo {
    width: 165px;
    height: auto;
}

/* REDUCIR LOGOTIPO EN MÓVIL */
@media (max-width: 767.98px) {
    .contact-footer-logo {
        width: 100px;
    }
}


.contact-footer {
	margin-top:30px;
	color:#1949e2;
	font-size:11px;
}




/* Footer en versión móvil */
@media (max-width: 767px) {
    .site-footer .footer-column {
        width: 100%;
        padding-left: 40px;
		font-size:22px;
    }
}
