* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #334155;
    line-height: 1.5;
    background: white;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* ===== VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e3a8a;
    --accent: #00b4d8;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #e2e8f0;
    --text: #334155;
    --text-light: #64748b;
    --gradient-start: #00b4d8;
    --gradient-end: #2563eb;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
    background: transparent;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-easy {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    z-index: 1001;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== VIDEO FONDO ===== */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 50%;
}

.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    padding-bottom: 0px;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0,1,14,0.85), rgba(5,22,41,0.9), rgba(23,55,87,0.95));
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.hero-title span:first-child {
    font-size: 3.2rem;
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #00b4d8, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-trust{
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 20px;
    z-index: 2;
}
.trust-item{
    color: #ffffff;
}
.calificaciones{
    color: #dfbc70;
}
.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    max-width: 700px;
}

.highlight-sub {
    color: #7bc5f5;
    font-weight: 600;
}


.image-underline {
    position: relative;
    display: inline-block;
}

.image-underline::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 100%;
    height: 30px;
    background-image: url('IMAGENES/pincelado.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(141, 165, 216, 0.329);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero-btns {
    display: flex;
    gap: 20px;
    margin: 30px 0 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--accent);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,180,216,0.3);
}

.ima-inicio img {
    width: 100%;
    max-width: 800px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* Stats dentro del hero */
.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.hero-stats .stat {
    text-align: left;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #8cbef8;
}

.hero-stats .sub {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ===== SECCIONES GENERALES ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
}

/* ===== SOLUCIONES ===== */
.services {
    background: #17293a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgb(41, 51, 66);
    padding: 30px 20px;
    border-radius: 30px;
    border: 5px solid var(--accent);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #bdbcbc;
}

.icon-soluciones {
    width: 160px;
    height: auto;
    margin-bottom: 20px;
}

.service-card p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.card-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.card-link:hover {
    color: var(--accent);
}

/* ===== TRUST BRANDS (logos carrusel) ===== */
.trust-brands {
    background: white;
    padding: 40px 0;
    overflow: hidden;
}

.content-wra {
    text-align: center;
    padding: 20px;
    margin: auto;
}

.slider {
    width: 100%;
    height: 100px;
    position: relative;
    background: white;
    overflow: hidden;
}

.slide {
    height: 100px;
    display: flex;
    align-items: center;
    animation: slideshow 25s linear infinite;
}

.slide img {
    width: 250px;
    height: 80px;
    object-fit: contain;
    padding: 0 20px;
}

@keyframes slideshow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.slider::before, .slider::after {
    height: 100px;
    width: 200px;
    position: absolute;
    content: "";
    background: linear-gradient(to right, white 5%, rgba(255,255,255,0) 100%);
    z-index: 2;
}

.slider::before { left: 0; top: 0; }
.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

/* ===== SERVICIOS ===== */
.bg-soft {
    background: #17293a;
}

.services-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-image img {
    width: 100%;
    border-radius: 24px;
}

.service-item h3 {
    color: white;
    margin-bottom: 15px;
}

.service-item h3 i {
    color: var(--accent);
    margin-right: 10px;
}

.service-item p, .service-item ul {
    color: #cbd5e1;
}

.service-item ul {
    list-style: none;
    margin-top: 10px;
}

.service-item li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-item li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ===== NOSOTROS ===== */
.nosotros {
    background: #17293a;
    padding: 60px 0;
}

.nosotros .section-title {
    text-align: left;
}

/* Certificados como recuadros (sin carrusel) */
.certificados-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.cert-card {
    background: linear-gradient(145deg, #1e2a3a, #0f1a24);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid rgba(0,180,216,0.3);
    transition: all 0.3s;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.cert-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.cert-card .cert-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Beneficios */
.benefits-list {
    margin-top: 30px;
    flex: 1;
}

.benefits-list p {
    font-size: 1.6rem;
    color: #c7c7c7;
    font-weight: 700;
}

.benefits-list ul li {
    color: #ddd;
    margin-bottom: 10px;
    list-style: none;
    padding-left: 25px;
    position: relative;
}

.benefits-list ul li::before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
}

/* ===== CONTACTO ===== */
#contacto {
    background: #17293a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info .section-title {
    font-size: 1.6rem;
    margin: 15px 0;
}

.contact-info p {
    color: #ccc;
    margin: 12px 0;
}

.contact-info i {
    width: 35px;
    color: var(--accent);
}

.contact-form {
    background: rgba(255,255,255,0.05);
    border-radius: 28px;
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(0,180,216,0.3);
    border-radius: 16px;
    color: white;
}

.soluciones-check-group {
    margin: 20px 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #00b4d8, #2563eb);
    border: none;
    padding: 14px;
    border-radius: 40px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}


/* ===== WHATSAPP FLOTANTE ===== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

.float-whatsapp:hover {
    transform: scale(1.1);
    background: #20b859;
}

/* ===== CONTACTO MEJORADO ===== */
#contacto {
    background-color: #17293a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}


.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-image {
    position: sticky;
    top: 100px;
    border-radius: 30px;
    overflow: hidden;
}


.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-left {

    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
}

.contact-info {
    margin-bottom: 35px;
    text-align: left;
    
}

.contact-info .section-badge {
    display: inline-block;
}

.contact-info .section-title {
    font-size: 1.8rem;
    color: rgb(91, 165, 235);
    margin: 20px 0px;
    text-align: left;
}

.contact-info p {
    margin: 15px 0;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 12px;
    color: rgb(220, 220, 220);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.contact-info p:hover {
    transform: translateX(5px);
    color: white;
}

.contact-info i {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.2);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info p:hover i {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

/* Formulario mejorado */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(0, 180, 216, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 180, 216, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Checkboxes mejorados */
.soluciones-check-group {
    margin: 0px 0px 20px 0px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.soluciones-check-group label {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    background: rgba(0, 180, 216, 0.15);
    transform: translateX(5px);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox-item label {
    color: #e0e0e0;
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    font-size: 0.9rem;
    flex: 1;
}

.checkbox-item:hover label {
    color: white;
}

/* Botón de envío mejorado */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.3);
    gap: 15px;
}

.btn-submit:active {
    transform: translateY(0);
}

/* Feedback message */
#formFeedback {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--accent);
}

/* Responsive para contacto */
@media (max-width: 1024px) {
    .contact-left {
        padding: 30px;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-image {
        position: relative;
        top: 0;
        max-height: 300px;
    }
    
    .contact-left {
        padding: 25px;
    }
    
    .contact-info .section-title {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        justify-content: flex-start;
        font-size: 0.9rem;
    }
    
    .contact-image img {
        width: 50%;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .checkbox-item {
        padding: 10px 15px;
    }
    
    .soluciones-check-group {
        padding: 15px;
    }
    .hero-trust{
        display: flex;
        align-items: center;
        gap: 30px;
        margin: 20px 150px;
        z-index: 2;
    }
}

@media (max-width: 480px) {
   .hero{
    min-height: auto;
    height: auto;
    padding: 120px 0 80px;
    padding-top: 30%;
   }

   .hero-trust{
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    gap: 20px;
    margin: 10px 50px;
    z-index: 2;
}
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .hero-title { font-size: 2.5rem; }
    .hero-title span:first-child { font-size: 3rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10,28,40,0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s;
        z-index: 1000;
    }
    .nav-links.active { left: 0; }
    
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 30px;
    }
    .hero-stats { justify-content: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-title span:first-child { font-size: 2.5rem; }
    
    .services-grid, .services-grid2 { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    
    .footer-content { 
        grid-template-columns: repeat(2, 1fr); 
        text-align: center;
    }
    .marcas { justify-content: center; }
    .recursos-list { text-align: center; }
    
    .certificados-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-title span:first-child { font-size: 2rem; }
    .hero-description { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-badge { font-size: 1.5rem; }
    
    .footer-content { grid-template-columns: 1fr; }
    
    .certificados-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .float-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

/* Ajustes para altura del hero en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 120px 0 80px;
    }
}