/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Segoe UI", Arial, sans-serif;
    background:#ffffff;
    color:#222;
    overflow-x:hidden;
    margin:0;
}

/* FIX GLOBAL IMAGENES (evita línea blanca inferior) */
img{
    display:block;
}

/* ==========================
   HEADER
========================== */

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:10px 30px;

    background:rgba(0,0,0,.35);

    backdrop-filter:blur(12px);
}

.brand{

    display:flex;
    align-items:center;
    gap:15px;
}

.brand img{

    height:90px;
    width:auto;

    filter:
        drop-shadow(0 0 8px rgba(255,255,255,.20))
        drop-shadow(0 0 18px rgba(173,255,47,.20));
}

.brand-text{

    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.linea1{

    color:#ffffff;
    font-size:.9rem;
    font-weight:600;
    letter-spacing:2px;
    margin-left: 18px;
}

.linea2{

    color:#ffffff;

    font-size:.9rem;

    font-weight:600;

    letter-spacing:2px;
}

.header nav{

    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.header nav a{

    color:#ffffff;

    text-decoration:none;

    font-weight:600;

    padding:10px 16px;

    border-radius:8px;

    transition:.3s;
}

.header nav a:hover{

    background:rgba(255,255,255,.15);
}

/* ==========================
   HERO
========================== */

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;
}

.hero video{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;
}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.20);
}

.hero-values{

    position:absolute;

    bottom:0;
    left:0;

    width:100%;

    z-index:20;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(10px);
}

.value-card{

    padding:30px;

    text-align:center;

    color:#ffffff;

    border-right:1px solid rgba(255,255,255,.15);
}

.value-card:last-child{

    border-right:none;
}

.value-card h3{

    font-size:1.4rem;

    font-weight:700;

    margin-bottom:12px;
}

.value-card p{

    line-height:1.7;

    font-size:.95rem;

    opacity:.92;
}

/* ==========================
   ACCESOS
========================== */

.accesos{

    background:#f5f7fa;

    padding:90px 30px;

    text-align:center;
}

.accesos h2{

    margin-bottom:35px;
}

.accesos-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;
}

.acceso{

    background:#ffffff;

    color:#222;

    text-decoration:none;

    padding:28px;

    border-radius:12px;

    font-weight:600;

    box-shadow:0 6px 16px rgba(0,0,0,.08);

    transition:.3s;
}

.acceso:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* ==========================
   FOOTER
========================== */

footer{

    background:#0f172a;

    color:#ffffff;

    text-align:center;

    padding:30px;
    margin:0;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    .header{

        flex-direction:column;
        gap:15px;
    }

    .brand img{

        height:80px;
    }

    .linea2{

        font-size:1.2rem;
    }
}

@media(max-width:768px){

    .header{

        padding:15px;
    }

    .brand{

        flex-direction:column;
        text-align:center;
    }

    .header nav{

        justify-content:center;
    }

.hero-values{

    grid-template-columns:1fr;
}

.value-card{

    border-right:none;

    border-bottom:1px solid rgba(255,255,255,.15);
}

.value-card:last-child{

    border-bottom:none;
}

}

/* ==========================
   QUIENES SOMOS
========================== */

.banner-page{

    position:relative;

    height:500px;

    overflow:hidden;
}

.banner-page img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.banner-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.45);
}

.banner-content{

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:90%;
    max-width:1000px;

    text-align:center;

    color:white;

    z-index:10;
}

.banner-content h1{

    font-size:3rem;

    margin-bottom:20px;

    text-shadow:0 4px 12px rgba(0,0,0,.50);
}

.banner-content p{

    font-size:1.2rem;

    opacity:.95;
}

/* ==========================
   CONTENEDOR GENERAL
========================== */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;
}

/* ==========================
   PRESENTACIÓN
========================== */

.intro-section{

    padding:100px 0;

    background:white;

    text-align:center;
}

.intro-section h2{

    font-size:2.5rem;

    color:#0f172a;

    margin-bottom:30px;
}

.intro-section p{

    max-width:900px;

    margin:0 auto 20px;

    line-height:1.9;

    font-size:1.05rem;

    color:#555;
}

/* ==========================
   SERVICIOS
========================== */

.services-section{

    background:#f5f7fa;

    padding:100px 0;
}

.services-section h2{

    text-align:center;

    margin-bottom:60px;

    color:#0f172a;

    font-size:2.3rem;
}

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

.service-card{

    background:white;

    padding:35px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.service-card:hover{

    transform:translateY(-6px);
}

.service-card h3{

    margin-bottom:15px;

    color:#2e7d32;
}

.service-card p{

    line-height:1.8;
}

/* ==========================
   TRANSFORMACIÓN DIGITAL
========================== */

.highlight-section{

    background:linear-gradient(135deg,#1b5e20,#2e7d32);

    color:white;

    padding:100px 0;
}

.highlight-section h2{

    font-size:2.3rem;

    margin-bottom:25px;
}

.highlight-section p{

    line-height:1.8;

    margin-bottom:30px;
}

.highlight-section ul{

    padding-left:20px;
}

.highlight-section li{

    margin-bottom:15px;
}

/* ==========================
   ASESORÍA
========================== */

.advisor-section{

    padding:100px 0;

    background:white;

    text-align:center;
}

.advisor-section h2{

    color:#0f172a;

    margin-bottom:25px;

    font-size:2.3rem;
}

.advisor-section p{

    max-width:900px;

    margin:auto;

    line-height:1.9;

    color:#555;
}

/* ==========================
   CTA
========================== */

.cta-section{

    background:#f5f7fa;

    text-align:center;

    padding:100px 0;
}

.cta-section h2{

    font-size:2.4rem;

    margin-bottom:20px;

    color:#0f172a;
}

.cta-section p{

    margin-bottom:35px;

    color:#555;
}

.btn-contact{

    display:inline-block;

    padding:15px 35px;

    background:#2e7d32;

    color:white;

    text-decoration:none;

    border-radius:8px;

    font-weight:600;

    transition:.3s;
}

.btn-contact:hover{

    background:#1b5e20;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .banner-page{

        height:380px;
    }

    .banner-content h1{

        font-size:2rem;
    }

    .services-grid{

        grid-template-columns:1fr;
    }

    .intro-section,
    .services-section,
    .highlight-section,
    .advisor-section,
    .cta-section{

        padding:70px 0;
    }
}

/* ==========================
   ALIADOS Y CLIENTES
========================== */

.aliados-clientes{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:90%;
    max-width:1000px;
    text-align:center;
    color:white;
    z-index:10;
}

.aliados-clientes h1{
    margin-top:140px;
    font-size:3rem;
    margin-bottom:20px;
    text-shadow:0 4px 12px rgba(0,0,0,.50);
}

.aliados-clientes h2{
    margin-top:40px;
}

.aliados-clientes p{

    font-size:1.2rem;

    opacity:.95;
}

.aliados-text{

    max-width:900px;
    margin:0 auto 50px;
    color:#222;
    line-height:1.9;
    font-size:1.05rem;
    margin-top:25px;
}

.aliados-imagen{
    width:100%;
    background:#ffffff;
    text-align:center;
    padding:60px 20px;
}

.aliados-imagen img{
    max-width:90%;
    height:50%;
    display:block;
    margin:0 auto;
}

/* ==========================
   SOPORTES LEGALES
========================== */


.soporte-principal{
    width:100%;
    background:#f3f5f7; /* gris empresarial suave */
    padding:130px 30px 70px; /* espacio bajo header fijo */
}

/* HEADER DE SECCIÓN */
.soporte-header{
    text-align:center;
    margin-bottom:10px;
    margin-top:40px;
    font-size:2rem;
    margin-bottom:30px;
    text-shadow:0 4px 12px rgba(0,0,0,.50);
}



.separador{
    width:100%;
    max-width:900px;
    margin-bottom:20px;
    opacity:0.7;
}

.titulo-soportes{
    width:90%;
    max-width:450px;
}

.soporte-subtitulo{
    margin-top:15px;
    font-size:1rem;
    color:#555;
}

/* ==========================
   GRID MODULOS (ERP STYLE)
========================== */

.modulos{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
    gap:25px;

    max-width:1200px;
    margin:0 auto;
}

/* TARJETAS */
.modulos a{
    background:#ffffff;
    border-radius:14px;
    padding:15px;

    box-shadow:0 8px 20px rgba(0,0,0,0.08);

    transition:all 0.25s ease;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* IMAGENES */
.modulos a img{
    width:100%;
    height:auto;
    display:block;
    border-radius:10px;
}

/* HOVER PROFESIONAL */
.modulos a:hover{
    transform:translateY(-7px);
    box-shadow:0 14px 30px rgba(0,0,0,0.15);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .soporte-principal{
        padding:110px 15px 50px;
    }

    .modulos{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }
}

@media(max-width:480px){

    .modulos{
        grid-template-columns:1fr;
    }
}


/* ==========================================
   CONTACTOS
========================================== */

.contacto-principal{
    background:#f4f6f9;
    padding:140px 30px 80px;
    min-height:100vh;
}

.contacto-encabezado{
    max-width:900px;
    margin:0 auto 50px;
    text-align:center;
}

.contacto-encabezado h1{
    font-size:3rem;
    color:#0f172a;
    margin-bottom:20px;
}

.contacto-encabezado p{
    color:#555;
    line-height:1.8;
    font-size:1.05rem;
}

.contacto-contenido{
    max-width:1300px;
    margin:0 auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

/* MAPA */

.contacto-mapa{
    background:white;
    border-radius:16px;
    overflow:hidden;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.contacto-mapa iframe{
    width:100%;
    height:100%;
    min-height:600px;
    border:none;
}

/* FORMULARIO */

.contacto-formulario{
    background:white;
    padding:35px;

    border-radius:16px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.contacto-formulario form{
    display:flex;
    flex-direction:column;
}

.contacto-formulario label{
    margin-top:18px;
    margin-bottom:8px;

    font-weight:600;
    color:#0f172a;
}

.contacto-formulario input,
.contacto-formulario select,
.contacto-formulario textarea{

    width:100%;

    padding:14px;

    border:1px solid #d9dee5;

    border-radius:8px;

    font-size:1rem;

    transition:.3s;
}

.contacto-formulario input:focus,
.contacto-formulario select:focus,
.contacto-formulario textarea:focus{

    outline:none;

    border-color:#2e7d32;

    box-shadow:0 0 0 3px rgba(46,125,50,.15);
}

.contacto-formulario textarea{
    resize:vertical;
}

.contacto-formulario button{

    margin-top:25px;

    background:#2e7d32;

    color:white;

    border:none;

    padding:15px;

    border-radius:8px;

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.contacto-formulario button:hover{
    background:#1b5e20;
}

/* RESPONSIVE */

@media(max-width:992px){

    .contacto-contenido{
        grid-template-columns:1fr;
    }

    .contacto-mapa iframe{
        min-height:450px;
    }
}

@media(max-width:768px){

    .contacto-principal{
        padding:120px 15px 50px;
    }

    .contacto-encabezado h1{
        font-size:2.2rem;
    }
}