@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #ffffff;
    --secondary: #10b981;
    --accent: #0f172a;
    --accent-light: #ecfdf5;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --bg-dark: #0f172a;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --border-light: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --nav-height: 110px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER - MODERNO Y LIMPIO
   ======================================== */
header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    margin-right: 20px;
}

.menu-toggle {
    display: none;
}

.logo img {
    display: block;
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-item > a {
    padding: 8px 0;
    display: block;
}

.nav-item > a:hover {
    color: var(--secondary);
}

/* Megamenu Moderno */
.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 580px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.megamenu-item {
    padding: 16px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.megamenu-item:hover {
    background: var(--accent-light);
    border-color: rgba(0, 71, 171, 0.1);
}

.megamenu-item h4 {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.megamenu-item p {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.lang-switch {
    display: flex;
    gap: 4px;
    margin-left: 24px;
    background: var(--gray-light);
    padding: 4px;
    border-radius: 8px;
}

.lang-switch a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: var(--transition);
}

.lang-switch a.active {
    background: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   HERO PRINCIPAL - IMPACTANTE
   ======================================== */
.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4ff 50%, #f0f9ff 100%);
    position: relative;
    padding-top: calc(var(--nav-height) + 80px);
    overflow: hidden;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(100px);
}

.hero-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, white, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-main h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-main h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main p {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    text-align: left;
}

.stat-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.stat-item label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ========================================
   HERO INNER PAGES
   ======================================== */
.hero-inner {
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
    margin-top: var(--nav-height);
}

.hero-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.15;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-inner .container {
    position: relative;
    z-index: 2;
}

.hero-inner h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 16px;
}

.hero-inner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.hero-inner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-dim);
}

.bg-light {
    background-color: var(--gray-light);
}

.bg-dark {
    background: var(--gradient-dark);
}

.bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: white;
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.75);
}

/* ========================================
   CARDS DE SERVICIO - MODERNAS
   ======================================== */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card-service {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 40px 32px;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.card-service:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-service:hover::before {
    transform: scaleX(1);
}

.card-service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.card-service h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-service p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-service .card-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-service:hover .card-link {
    gap: 10px;
}

/* ========================================
   CARDS CASOS DE ÉXITO
   ======================================== */
.grid-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.card-case {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
}

.card-case:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-case-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.card-case h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.card-case p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ========================================
   METODOLOGÍA
   ======================================== */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.methodology-step {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.methodology-step::after {
    content: '';
    position: absolute;
    top: 45px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--border-light);
}

.methodology-step:last-child::after {
    display: none;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 71, 171, 0.3);
}

.methodology-step h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.methodology-step p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* ========================================
   SECTORES
   ======================================== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.sector-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.sector-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.sector-icon {
    font-size: 1.5rem;
}

/* ========================================
   SUBSERVICIOS
   ======================================== */
.subservices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.subservice-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--gray-light);
    border-radius: 12px;
    transition: var(--transition);
}

.subservice-item:hover {
    background: var(--accent-light);
}

.subservice-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.subservice-item h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.subservice-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-section h2 {
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ========================================
   BOTONES
   ======================================== */
.btn-primary {
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0, 71, 171, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 71, 171, 0.4);
}

.btn-outline {
    padding: 16px 32px;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    background: transparent;
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--white);
}

.btn-white {
    padding: 16px 32px;
    background: white;
    color: var(--secondary);
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn {
    padding: 14px 28px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: #003a8c;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========================================
   FORMULARIO DE CONTACTO
   ======================================== */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    padding: 80px 0 40px;
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.75);
}

footer h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1rem;
}

footer a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

footer a:hover {
    color: var(--white);
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 12px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    opacity: 0.9;
}

.footer-desc {
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-sector-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-sector-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-stats {
        gap: 32px;
    }

    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .methodology-step::after {
        display: none;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-xl);
        gap: 0;
        border-top: 1px solid var(--border-light);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-item > a {
        padding: 16px 0;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--secondary);
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 3px;
    }

    .hero-main h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .grid-services,
    .grid-cases {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Contact page responsive */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-info {
        margin-top: 40px;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

@media (max-width: 768px) {
    .megamenu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        padding: 10px 0 10px 20px;
        grid-template-columns: 1fr;
        background: transparent;
    }

    .megamenu.active {
        display: grid;
    }

    .megamenu-item {
        padding: 10px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .has-megamenu > a::after {
        content: " +";
        font-weight: bold;
    }
    
    .has-megamenu.active > a::after {
        content: " -";
    }
}


/* ========================================
   SERVICE DETAIL PAGES - RESPONSIVE
   ======================================== */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ========================================
   VIDEO BACKGROUND
   ======================================== */
.hero-main {
    background: transparent !important; /* Override gradient */
}

.hero-main::before {
    opacity: 0.8 !important; /* Make decorative blob stronger or adjust */
    z-index: 1;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Light overlay to keep text readable */
    z-index: 0;
}


/* Video Overlay Adjustments */
.video-overlay {
    background: rgba(255, 255, 255, 0.4) !important;
}

.hero-main h1, 
.hero-main p,
.hero-stats label {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255,255,255, 0.5);
    font-weight: 600;
}

.hero-main p {
    color: var(--text-main) !important;
    font-weight: 500;
}

.stat-item label {
    color: var(--text-main) !important;
    font-weight: 600 !important;
}

/* Fix Hero Spacing */
.hero-stats {
    margin-top: 32px !important;
    padding-top: 32px !important;
    border-top-color: rgba(0,0,0,0.1) !important;
}

.hero-main p {
    margin-bottom: 24px !important;
}


/* Video Overlay Adjustments */
.video-overlay {
    background: rgba(255, 255, 255, 0.45) !important;
}

.hero-main h1 {
    text-shadow: 0 0 10px rgba(255,255,255,0.8) !important;
}

.hero-main h1 .highlight {
    text-shadow: none !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 5px; /* Evita cortes por anti-aliasing */
}

.hero-main p, 
.hero-stats label {
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    font-weight: 500;
}


/* ========================================
   Adjustments based on user feedback
   ======================================== */

/* 1. Invert and soften the blue blob (layer) */
.hero-main::before {
    left: -20% !important;
    right: auto !important;
    opacity: 0.15 !important; /* Much lighter so video is visible */
    background: var(--gradient-primary); /* Ensure it keeps the gradient */
}

/* 2. Increase spacing at the bottom of Hero */
.hero-content {
    padding-bottom: 100px; /* Add breathing room at the bottom */
}

/* 3. Ensure stats text isn too close to edge */
.hero-stats {
    margin-bottom: 20px;
}


.hero-main::before {
    opacity: 0.35 !important; /* Increased from 0.15 to 0.35 */
}

