/* ===== ESTILOS GLOBALES ===== */
:root {
    --color-fondo: #f7f7f7;
    --color-principal: #0e4049;
    --color-secundario: #91d3d2;
    --color-adorno: #c7ba86;
    --color-blanco: #ffffff;
    --color-texto-claro: #3a5a63;
    --fuente-base: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-base);
    font-size: 18px;
    line-height: 1.7;
    background-color: var(--color-fondo);
    color: var(--color-principal);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-principal);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-texto-claro);
}

a {
    color: var(--color-principal);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-adorno);
}

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
    text-align: center;
    text-decoration: none;
}

.btn-primario {
    background-color: var(--color-principal);
    color: var(--color-blanco);
    box-shadow: 0 4px 14px rgba(14, 64, 73, 0.25);
}
.btn-primario:hover {
    background-color: #0b333b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 64, 73, 0.35);
    color: var(--color-blanco);
}

.btn-secundario {
    background-color: var(--color-adorno);
    color: var(--color-principal);
    box-shadow: 0 4px 14px rgba(199, 186, 134, 0.3);
}
.btn-secundario:hover {
    background-color: #b8aa78;
    transform: translateY(-2px);
    color: var(--color-principal);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-principal);
    color: var(--color-principal);
}
.btn-outline:hover {
    background: var(--color-principal);
    color: var(--color-blanco);
}

/* ===== HEADER ===== */
header {
    background: var(--color-blanco);
    box-shadow: 0 2px 12px rgba(14, 64, 73, 0.05);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-area img {
    height: 100px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-principal);
}
.logo-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--color-secundario);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}
.nav-menu a {
    font-weight: 500;
    color: var(--color-principal);
    padding-bottom: 0.3rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}
.nav-menu a:hover,
.nav-menu a.activo {
    border-bottom-color: var(--color-adorno);
    color: var(--color-principal);
}

/* ===== HERO ===== */
.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(145deg, #ffffff, var(--color-fondo));
    border-bottom: 1px solid rgba(14, 64, 73, 0.06);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-contenido h1 {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
}
.hero-contenido h1 span {
    color: var(--color-adorno);
}
.hero-contenido p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2rem;
}
.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.hero-imagen img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(14, 64, 73, 0.08);
}

/* ===== SECCIONES COMUNES ===== */
section {
    padding: 4rem 0;
}

.seccion-titulo {
    text-align: center;
    margin-bottom: 2.5rem;
}
.seccion-titulo h2 {
    margin-bottom: 0.3rem;
}
.seccion-titulo p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ===== TARJETAS ===== */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tarjeta {
    background: var(--color-blanco);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 16px rgba(14, 64, 73, 0.04);
    border: 1px solid #edf2f5;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 64, 73, 0.06);
}
.tarjeta i {
    font-size: 2.8rem;
    color: var(--color-adorno);
    margin-bottom: 1rem;
    display: inline-block;
}
.tarjeta h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.tarjeta p {
    font-size: 0.95rem;
}

/* ===== QUÉ OFRECEMOS (lista) ===== */
.lista-beneficios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    background: var(--color-blanco);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #edf2f5;
}
.lista-beneficios li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1.05rem;
}
.lista-beneficios li i {
    color: var(--color-adorno);
    font-size: 1.6rem;
    min-width: 2rem;
    margin-top: 0.1rem;
}

/* ===== MANTENIMIENTO ===== */
.equipos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.equipo-item {
    background: var(--color-blanco);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #edf2f5;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
}
.equipo-item i {
    color: var(--color-secundario);
    font-size: 1.4rem;
}

/* ===== PROCESO ===== */
.proceso-pasos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.paso {
    text-align: center;
    background: var(--color-blanco);
    padding: 2rem 1rem;
    border-radius: 20px;
    border-top: 4px solid var(--color-adorno);
}
.paso .numero {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-adorno);
    margin-bottom: 0.3rem;
}
.paso h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.paso p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== CONTACTO ===== */
.contacto-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.contacto-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}
.contacto-item i {
    font-size: 1.8rem;
    color: var(--color-adorno);
}

.formulario-contacto {
    max-width: 640px;
    margin: 2rem auto 0;
    background: var(--color-blanco);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #edf2f5;
}
.formulario-contacto .campo {
    margin-bottom: 1.2rem;
}
.formulario-contacto label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #dce4ea;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-fondo);
    transition: border-color 0.2s;
}
.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    outline: none;
    border-color: var(--color-secundario);
}
.formulario-contacto textarea {
    min-height: 120px;
    resize: vertical;
}
.formulario-contacto .btn {
    width: 100%;
}

/* ===== FOOTER ===== */
footer {
    background: var(--color-principal);
    color: var(--color-blanco);
    padding: 2rem 0 1.5rem;
    margin-top: auto;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-contenido p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-botones {
        justify-content: center;
    }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .proceso-pasos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .nav-menu { flex-wrap: wrap; gap: 1rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .lista-beneficios { grid-template-columns: 1fr; }
    .proceso-pasos { grid-template-columns: 1fr; }
    .contacto-info { flex-direction: column; align-items: center; }
    .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .equipos-grid { grid-template-columns: 1fr 1fr; }
    .hero-contenido h1 { font-size: 2rem; }
    .btn { padding: 0.7rem 1.8rem; font-size: 1rem; }
}

/* ===== WHATSAPP FLOTANTE ===== */
.btn-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 480px) {
    .btn-whatsapp {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== SECCIÓN VIDEO DE COBERTURA FULL WIDTH ===== */
.seccion-video-cobertura {
    padding: 0 !important; /* Quitamos el padding por defecto de las secciones */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.video-banner-full {
    position: relative;
    width: 100%;
    height: 400px; /* Altura ideal para el banner de video en escritorio */
    max-height: 500px;
}

.video-banner-full video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover; /* Asegura que llene todo el espacio sin deformarse */
}

/* Capa oscura semitransparente para que el texto resalte sobre el video */
.video-banner-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 64, 73, 0.55); /* Usa tu color principal con opacidad */
    z-index: 1;
}

.video-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--color-blanco);
    width: 90%;
    max-width: 800px;
}

.video-overlay-text h2 {
    color: var(--color-blanco);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-overlay-text p {
    color: var(--color-secundario);
    font-size: 1.25rem;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Ajuste responsive para celulares */
@media (max-width: 768px) {
    .video-banner-full {
        height: 300px;
    }
    .video-overlay-text h2 {
        font-size: 1.8rem;
    }
    .video-overlay-text p {
        font-size: 1rem;
    }
}
