/* DREAM SPACE - ESTILO FINAL OPTIMIZADO
   Hero (Arriba) -> Servicios -> Proceso -> Nosotros (Antes Footer)
*/

:root {
    --accent-blue: #0f62fe;
    --dark: #161616;
    --grey: #525252;
    --bg-tech: #f8f9fa;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }

.container { max-width: 1550px; margin: 0 auto; padding: 0 4%; }

/* --- NAVBAR & NAVIGATION --- */
.navbar { padding: 40px 0; z-index: 1000; position: relative; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 26px; font-weight: 800; text-decoration: none; color: var(--dark); letter-spacing: -1.5px; }
.brand span { color: var(--accent-blue); font-weight: 300; }

.nav-links { display: flex; list-style: none; gap: 45px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-blue); }

/* FLECHA DEL DROPDOWN */
.dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown > a::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    transition: 0.3s ease;
}

.dropdown:hover > a { color: var(--accent-blue); }
.dropdown:hover > a::after {
    border-top-color: var(--accent-blue);
    transform: rotate(180deg);
}

/* BOTÓN DE CONTACTO (Ajuste para que no se corte) */
.btn-contact { 
    background: var(--dark); 
    color: var(--white) !important; 
    padding: 14px 28px; 
    transition: 0.3s; 
    white-space: nowrap; /* EVITA QUE EL TEXTO SE CORTE O SALTE DE LÍNEA */
    display: inline-block;
}
.btn-contact:hover { background: var(--accent-blue); }

/* --- DROPDOWN DESKTOP --- */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    list-style: none;
    min-width: 240px;
    padding: 15px 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    transform: translateY(10px);
    border-top: 2px solid var(--accent-blue);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 12px 25px;
    display: block;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
}

.dropdown-menu li a::after { display: none; }

.dropdown-menu li a:hover {
    background: var(--bg-tech);
    color: var(--accent-blue) !important;
    padding-left: 30px;
}

/* --- MOBILE MENU TOGGLE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    transition: 0.3s;
}

/* --- MEDIA QUERY PARA TABLETS (iPad Air/Pro) --- */
/* Reducimos espacios para que el botón no se amontone antes de entrar a modo móvil */
@media (max-width: 1100px) and (min-width: 769px) {
    .nav-links { gap: 20px; } /* Espacio más pequeño entre links */
    .btn-contact { padding: 12px 18px; font-size: 12px; } /* Botón más compacto */
    .brand { font-size: 22px; }
}

/* --- RESPONSIVE MÓVIL (Max 768px) --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
        padding-top: 120px;
        gap: 20px;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active { left: 0; }
    .nav-links a { font-size: 18px; padding: 10px; }

    .dropdown > a { justify-content: center; }
    .dropdown.active > a::after { transform: rotate(180deg); }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        box-shadow: none;
        background: var(--bg-tech);
        width: 100%;
        border-top: none;
    }

    .dropdown.active .dropdown-menu { display: block; }

    .btn-contact { width: 80%; margin: 20px auto; white-space: normal; } /* En móvil si puede saltar línea si es necesario */

    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}





/* HERO REDISEÑADO */
/* NUEVA PROPUESTA: HERO INMERSIVO */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 60px;
    background: #fdfdfd;
    overflow: hidden;
}

/* Texto de fondo gigante estilo marca de agua */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    z-index: 0;
    pointer-events: none;
    letter-spacing: -10px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Tipografía Principal */
.hero-main-content {
    position: relative;
}

.hero-main-content .tagline {
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 20px;
}

.hero-main-content h1 {
    font-size: clamp(50px, 7vw, 110px);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -4px;
    color: var(--dark);
    margin-bottom: 0;
}

.hero-main-content h1 .indent {
    margin-left: 80px; /* Desfase arquitectónico */
    color: var(--accent-blue);
}

.hero-footer-info {
    margin-top: 40px;
    padding-left: 85px;
}

.hero-footer-info p {
    font-size: 18px;
    color: var(--grey);
    max-width: 400px;
    margin-bottom: 30px;
}

/* Botón Minimalista */
.btn-luxury {
    display: inline-block;
    padding: 18px 40px;
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.4s;
    border: 1px solid var(--dark);
}

.btn-luxury:hover {
    background: transparent;
    color: var(--dark);
}

/* Marco de Imagen con Profundidad */
.hero-image-frame {
    position: relative;
    height: 75vh;
    width: 100%;
}

.image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: sepia(20%) contrast(1.1); /* Tono elegante */
    box-shadow: 40px 40px 0px -10px #eeeeee; /* Sombra sólida */
}

/* Etiqueta flotante */
.experience-tag {
    position: absolute;
    bottom: -20px;
    left: -40px;
    background: var(--accent-blue);
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-tag .number {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.experience-tag .text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Responsive */
/* ... (Mantén tu código anterior de .hero-modern hasta llegar a los Media Queries) ... */

@media (max-width: 768px) {
    .hero-modern {
        padding: 60px 0;
        text-align: center;
        min-height: 80vh;
        display: flex;
        align-items: center;
    }

    /* Ocultamos la imagen y el tag de años en móviles */
    .hero-image-frame, 
    .hero-bg-text {
        display: none;
    }

    .hero-wrapper {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 0;
    }

    .hero-main-content h1 {
        font-size: 55px; /* Tamaño optimizado para móvil */
        line-height: 1;
        letter-spacing: -2px;
    }

    .hero-main-content h1 .indent {
        margin-left: 0; /* Quitamos el margen en móvil para centrar */
        display: block;
    }

    .hero-footer-info {
        margin-top: 30px;
        padding-left: 0; /* Quitamos el padding lateral */
    }

    .hero-footer-info p {
        font-size: 16px;
        margin: 0 auto 30px;
        max-width: 100%;
    }

    .btn-luxury {
        width: 100%; /* El botón ocupa todo el ancho para mejor click (UX) */
        text-align: center;
    }
}

/* REUTILIZABLES */
.section-header { margin-bottom: 60px; }
.badge-tech { color: var(--accent-blue); font-weight: 700; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 15px; }
.section-header h2 { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -3px; line-height: 1; }

/* SERVICIOS */
.services-luxury { padding: 140px 0; background: var(--white); }
.grid-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* ESTADO INICIAL ANIMACIÓN */
.service-card { 
    background: var(--white); 
    border: 1px solid #eee; 
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ESTADO ACTIVO (Activado por JS) */
.service-card.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover { transform: translateY(-15px); border-color: var(--accent-blue); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.card-image { height: 280px; background-size: cover; background-position: center; filter: grayscale(100%); transition: 0.6s; }
.service-card.active .card-image, .service-card:hover .card-image { filter: grayscale(0%); }
.card-content { padding: 45px 35px; }
.card-number { font-size: 13px; font-weight: 800; color: #ddd; margin-bottom: 15px; display: block; }
.service-card.active .card-number, .service-card:hover .card-number { color: var(--accent-blue); }

/* PROCESO */
.process-tech { padding: 120px 0; background-color: var(--bg-tech); border-top: 1px solid #e0e0e0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* ESTADO INICIAL ANIMACIÓN */
.process-card { 
    background: var(--white); 
    padding: 45px 35px; 
    border: 1px solid #e0e0e0; 
    min-height: 380px; 
    display: flex; 
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.8s ease, border-color 0.4s ease;
}

/* Ajuste para mantener el Zig-Zag en el estado animado */
.card-bottom { margin-top: 60px; }

/* ESTADO ACTIVO (Activado por JS) */
.process-card.active {
    opacity: 1;
    transform: translateY(0);
}

.process-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.process-index { font-size: 48px; font-weight: 800; color: #eee; transition: 0.5s; }
.tech-line { height: 2px; width: 0; background: var(--accent-blue); transition: 0.8s; }

.process-card:hover { border-color: var(--accent-blue); transform: translateY(-10px); }
.process-card.active .process-index, .process-card:hover .process-index { color: var(--accent-blue); }
.process-card.active .tech-line, .process-card:hover .tech-line { width: 50px; }
.process-tag { margin-top: auto; font-size: 10px; font-weight: 700; color: #bbb; text-transform: uppercase; }

/* NOSOTROS (Antes del Footer) */
.about-luxury { padding: 160px 0; background-color: var(--white); border-top: 1px solid #eee; }
.row-about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; align-items: start; }
.about-title h2 { font-size: clamp(48px, 6vw, 72px); font-weight: 800; line-height: 0.85; letter-spacing: -4px; }
.about-title h2 span { color: var(--accent-blue); font-weight: 300; display: block; }
.about-content .lead { font-size: 24px; margin-bottom: 50px; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 2px solid var(--dark); padding-top: 40px; }
.vision-item h4 { font-size: 12px; text-transform: uppercase; color: var(--accent-blue); margin-bottom: 15px; }
.vision-item p { font-size: 15px; color: var(--grey); }




/* --- FOOTER LUXURY --- */
.footer-luxury { padding: 100px 0 40px 0; background-color: var(--bg-tech); border-top: 1px solid #e0e0e0; }

.footer-cta h2 { font-size: clamp(35px, 5vw, 60px); font-weight: 800; letter-spacing: -3px; line-height: 1.1; }
.footer-cta h2 span { color: var(--accent-blue); font-weight: 300; }

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1.2fr 1.2fr; /* Ajustado para dar más aire al contacto */
    gap: 60px; 
    padding-top: 60px; 
    border-top: 1px solid #d0d0d0; 
    margin-top: 60px; 
}

.footer-desc { font-size: 15px; color: var(--grey); max-width: 320px; line-height: 1.6; }

.footer-col h4 { 
    font-size: 11px; 
    text-transform: uppercase; 
    margin-bottom: 25px; 
    letter-spacing: 1.5px;
    font-weight: 700;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 15px; } /* Más espacio entre líneas para facilitar clics */

.footer-col ul li a { 
    color: var(--grey); 
    text-decoration: none; 
    font-size: 14px; 
    transition: 0.3s ease; 
    display: inline-block;
}

.footer-col ul li a:hover { 
    color: var(--accent-blue); 
    padding-left: 8px; /* Efecto sutil de desplazamiento */
}

/* Estilo para ID técnico y datos de contacto */
.tech-id { 
    font-size: 11px; 
    font-weight: 700; 
    letter-spacing: 1px; 
    color: #999; 
    margin-top: 20px;
}

.footer-bottom { 
    margin-top: 80px; 
    padding-top: 30px; 
    border-top: 1px solid #e0e0e0; 
    text-align: center; 
    color: #999; 
    font-size: 12px; 
}
.footer-bottom p {
    color: #999;
    font-size: 12px;
}

.footer-link {
    color: #999;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* --- RESPONSIVO --- */

/* Ajuste para pantallas grandes/medianas */
@media (max-width: 1200px) { 
    .grid-services, .process-grid { grid-template-columns: repeat(2, 1fr); } 
    .card-bottom { margin-top: 0; } 
    .footer-grid { gap: 40px; }
}

/* Ajuste para Tablets */
@media (max-width: 1024px) { 
    .hero-visual { display: none; } 
    .hero-content { width: 100%; } 
    .row-about { grid-template-columns: 1fr; } 
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* Ajuste para Móviles */
@media (max-width: 768px) { 
    .nav-links { gap: 15px; } 
    .grid-services, .process-grid { grid-template-columns: 1fr; } 
    
    .footer-grid { 
        grid-template-columns: 1fr; /* Todo en una sola columna en móvil */
        gap: 40px;
        text-align: center; 
    }
    
    .footer-desc { margin: 0 auto; }
    
    .footer-col ul li a:hover { padding-left: 0; transform: scale(1.05); } /* Cambio de efecto en móvil */
}






/* --- LAYOUT VERTICAL NOSOTROS + FORMULARIO (CORREGIDO) --- */

.about-luxury {
    padding: 120px 0;
    background: #fff;
}

/* Reajuste de la fila superior (Manifesto) */
.row-about {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    margin-bottom: 160px; 
    align-items: start;
    position: relative;
}

/* Línea decorativa entre secciones */
.row-about::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--accent-blue), transparent);
    opacity: 0.2;
}

/* CONTENEDOR DEL FORMULARIO DEBAJO */
.form-wrapper-bottom {
    max-width: 1100px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpForm 1s ease forwards;
    animation-delay: 0.4s;
}

/* Animación necesaria para que no desaparezca */
@keyframes fadeInUpForm {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-form-container {
    background: var(--bg-tech);
    padding: 60px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h3 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

/* Grilla de 3 columnas para los campos */
.form-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.dream-form input, 
.dream-form select, 
.dream-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: 0.3s ease;
}

.dream-form input:focus, 
.dream-form select:focus, 
.dream-form textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.1);
}

.form-footer {
    text-align: center;
    margin-top: 40px;
}

.form-footer .btn-luxury {
    min-width: 300px;
    border: none;
    cursor: pointer;
}

/* --- RESPONSIVO CORREGIDO --- */
@media (max-width: 1024px) {
    .row-about {
        margin-bottom: 80px;
    }
    .row-about::after {
        bottom: -40px;
    }
    /* Aquí corregí la llave que estaba cerrando antes de tiempo */
    .form-grid-three {
        grid-template-columns: 1fr 1fr;
    }
    .tech-form-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .form-grid-three {
        grid-template-columns: 1fr;
    }
    .form-header h3 {
        font-size: 24px;
    }
}

.manifesto-wrapper {
    max-width: 900px; /* Estrechamos el contenido para mejorar la lectura */
    margin: 0 auto;
    text-align: center;
}

.manifesto-header {
    margin-bottom: 50px;
}

.manifesto-header h2 {
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1;
    letter-spacing: -3px;
    margin-top: 20px;
}

.manifesto-body .lead {
    font-size: 22px;
    color: var(--grey);
    margin-bottom: 60px;
    line-height: 1.5;
}

/* Grilla de visión mejorada */
.vision-standalone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left; /* El texto interno se lee mejor a la izquierda */
    border-top: 1px solid #eee;
    padding-top: 50px;
}

.vision-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.vision-icon {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-blue);
    padding-top: 5px;
}

.vision-text h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.vision-text p {
    font-size: 15px;
    color: var(--grey);
}

/* Ajuste para el responsivo */
@media (max-width: 768px) {
    .vision-standalone-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}





/* --- CORRECCIÓN FINAL MANIFIESTO --- */

.manifesto-final-wrap {
    max-width: 1100px;
    margin: 0 auto 180px auto;
    text-align: center;
}

/* Contenedor para alinear el badge a la izquierda del bloque de título */
.m-header-container {
    display: inline-block;
    text-align: left; /* Esto mueve el badge a la izquierda */
    margin-bottom: 50px;
}

/* Badge en AZUL ACCENT y a la izquierda */
.badge-tech-left-blue {
    display: block;
    color: #0f62fe !important; /* El puto azul */
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Título CENTRADO internamente */
.title-display-center {
    font-size: clamp(38px, 5vw, 56px); 
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.1;
    text-align: center; /* Título al centro */
    color: var(--dark);
}

.title-display-center span {
    color: #0f62fe; /* Azul accent también aquí */
    font-weight: 300;
}

.m-lead-final {
    font-size: 24px;
    color: var(--grey);
    line-height: 1.5;
    margin-bottom: 80px;
    text-align: center;
}


/* --- CENTRADO DE BLOQUES DE VISIÓN --- */
.m-vision-row-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-top: 1px solid #eee;
    padding-top: 50px;
    
    /* Centramos el bloque completo */
    max-width: 900px; /* Ajustamos el ancho para que los bloques no queden muy dispersos */
    margin: 0 auto;   /* Centrado horizontal del contenedor */
    
    /* El texto dentro de las cards se queda a la izquierda por defecto */
    text-align: left; 
}

.v-tag {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #0f62fe; /* El azul accent */
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.v-text-big {
    font-size: 20px;
    color: var(--dark);
    line-height: 1.4;
    font-weight: 500;
}
/* Responsivo para móviles */
@media (max-width: 768px) {
    .m-vision-row-large {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 0 4%; /* Margen lateral en móviles */
    }
}



@media (max-width: 768px) {
    .m-header-container {
        display: block;
        text-align: center;
    }
    .m-vision-row-large {
        grid-template-columns: 1fr;
    }
}

/* --- ESTILOS PÁGINA NOSOTROS --- */
.hero-nosotros {
    padding: 120px 0 60px 0;
    background-color: var(--white);
}

.about-detail { background-color: var(--white); }

.row-about {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}

.tag {
    color: var(--accent-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.about-text h2 span { color: var(--accent-blue); font-weight: 300; }

.about-text p {
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Estadísticas Tech */
.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item {
    border-left: 3px solid var(--accent-blue);
    padding-left: 25px;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey);
    font-weight: 600;
}

/* Responsivo Nosotros */
@media (max-width: 992px) {
    .row-about { grid-template-columns: 1fr; gap: 50px; }
    .about-text h2 { font-size: 32px; }
}

/* HERO NOSOTROS ESTRUCTURADO */

.hero-nosotros-structured {
    padding: 160px 0;
    position: relative;
    background: #fdfdfd;
}

.hero-nosotros-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left h1 {
    font-size: clamp(60px, 6vw, 95px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 40px;
}

.accent-light {
    color: var(--accent-blue);
    font-weight: 300;
}

.hero-line {
    width: 80px;
    height: 3px;
    background: var(--accent-blue);
    margin-bottom: 30px;
}

.hero-left p {
    font-size: 18px;
    max-width: 400px;
    color: var(--grey);
}

.hero-right {
    position: relative;
}

.hero-image-box {
    height: 500px;
}

.hero-image-box .image-inner {
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    box-shadow: 40px 40px 0 -10px #eee;
}

.hero-floating-box {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--accent-blue);
    color: white;
    padding: 30px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.big-number {
    font-size: 50px;
    font-weight: 800;
}

.small-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .hero-nosotros-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-floating-box {
        position: static;
        margin-top: 30px;
    }
}



/* FILOSOFÍA ARQUITECTÓNICA - FONDO BLANCO */

.philosophy-architectural {
    padding: 180px 0;
    background: var(--white);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* TÍTULO */
.philosophy-intro h2 {
    font-size: clamp(50px, 5vw, 75px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 100px;
    color: var(--dark);
}

.philosophy-intro span {
    color: var(--accent-blue);
    font-weight: 300;
}

/* GRID */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

/* BLOQUES */
.ph-block {
    position: relative;
    padding-left: 30px;
}

/* Línea estructural azul */
.ph-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 3px;
    height: 70%;
    background: var(--accent-blue);
}

.ph-block h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.ph-block p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey);
}

/* Responsive */
@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}






/* CONTACT PAGE STRUCTURED */

.contact-hero-structured {
    padding: 180px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact-left h1 {
    font-size: clamp(60px, 6vw, 90px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 40px;
}

.contact-left p {
    font-size: 18px;
    color: var(--grey);
    max-width: 420px;
    margin-bottom: 40px;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-block;
    padding: 18px 40px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #25D366;
    transition: 0.4s;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25D366;
}

/* FORM BOX */
.contact-form-box {
    background: var(--bg-tech);
    padding: 60px;
    border: 1px solid #e0e0e0;
    box-shadow: 40px 40px 0 -10px #eeeeee;
}

.contact-form-box h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
}

/* Grid 2 columnas */
.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

/* Ajustes formulario contacto */

.contact-form-box .form-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-form-box .form-header h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-form-box .form-header p {
    font-size: 14px;
    color: var(--grey);
    max-width: 420px;
}

.contact-form-box .form-grid-three {
    gap: 20px;
    margin-bottom: 20px;
}

/* ESTRUCTURA EXACTA COMO IMAGEN */

.form-row {
    display: grid;
    gap: 25px;
    margin-bottom: 25px;
}

.two-columns {
    grid-template-columns: 1fr 1fr;
}

.one-column {
    grid-template-columns: 1fr;
}

/* Mejor alineación visual */
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
}



/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-box {
        padding: 40px 25px;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }
}
