:root {
    --primary-orange: #FFB600;
    --dark-orange: #E5A400;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #222222;
    --text-gray: #777777;
    --border-color: #EAEAEA;
}

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

/* =========================================
   1. TIPOGRAFÍA GLOBAL (INTER)
========================================== */
body,
html {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
    /* Regular para textos */
    color: #666666;
    background-color: var(--white);
}

/* Pesos ligeros (Light) para textos secundarios o subtítulos si se requiere */
p,
.service-desc,
.tab-pane p {
    font-weight: 300;
}

/* Títulos Globales (Bold / ExtraBold) */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title-center,
.split-title,
.nav-link,
.btn-solid,
.btn-green,
.btn-purple {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    /* Bold */
    color: #333333;
}

/* Destacar títulos súper grandes (ExtraBold) */
h1,
.hero-title,
.section-title-center {
    font-weight: 800;
    /* ExtraBold */
    letter-spacing: -0.5px;
    /* Las fuentes bold se ven más premium un poco más juntas */
}

.text-orange {
    color: var(--primary-orange);
}

.text-white {
    color: var(--white);
}

/* Top Bar */
.top-bar-wrapper {
    background: linear-gradient(to right, var(--light-gray) 65%, var(--white) 35%);
    border-bottom: 1px solid var(--border-color);
}

.top-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 48px;
    padding: 0 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--light-gray);
    padding-right: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.contact-info-item i {
    color: var(--text-dark);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    padding-left: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--text-dark);
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-item:hover .nav-link {
    color: var(--primary-orange);
    background: transparent;
}

.nav-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mega-menu-col h4 {
    color: #333333;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-col ul li {
    margin-bottom: 12px;
}

.mega-menu-col ul li a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.mega-menu-col ul li a:hover {
    color: var(--primary-orange);
}

.mega-menu-col ul li a i {
    color: #999999;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Estrategias Mega Menu */
.estrategias-title {
    color: #333333;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
}

.estrategias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
    width: 60%;
}

.estrategias-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.estrategias-link {
    color: #666666;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.estrategias-link:hover {
    color: var(--primary-orange);
}

.estrategias-link i {
    color: #999999;
    font-size: 15px;
    width: 18px;
    text-align: center;
}

/* Plataforma Mega Menu */
.plataforma-col {
    display: flex;
    flex-direction: column;
}

.plataforma-title {
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.plataforma-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plataforma-list li a {
    color: #666666;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.plataforma-list li a:hover {
    color: var(--primary-orange);
}

.plataforma-list li a i {
    color: #999999;
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.nav-contact-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.contact-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-top: 2px;
}

/* HERO CAROUSEL */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #111;
}

.carousel-inner {
    width: 100%;
    height: 100vh;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.carousel-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 650px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-description {
    font-size: 17px;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-btn-primary {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-dark);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.hero-btn-primary:hover {
    background-color: var(--dark-orange);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: var(--primary-orange);
    color: #fff;
    border-color: var(--primary-orange);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* Feature Cards (Hero Cards superpuestas) */
.features-section {
    position: relative;
    z-index: 5;
    margin-top: -80px;
    padding: 0 20px;
    margin-bottom: 60px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.feature-card {
    position: relative;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    border-right: 1px solid var(--border-color);
}

.feature-card:last-child {
    border-right: none;
}

.feature-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #333333;
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

/* SECCIONES BASE */
.bg-light {
    background-color: var(--light-gray);
}

.bg-dark-section {
    background-color: #2A2A2A;
    color: var(--white);
}

.section-padding {
    padding: 80px 20px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.bg-dark-section .section-title {
    color: var(--white);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-dark);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: var(--dark-orange);
}

.contact-small {
    display: inline-block;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
    text-decoration: none;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.split-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.split-image-badge i {
    color: var(--primary-orange);
    font-size: 24px;
}

.split-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.split-desc {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Checklists */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.checklist-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checklist-icon {
    color: var(--primary-orange);
    font-size: 20px;
    margin-top: 3px;
}

.checklist-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.checklist-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

.checklist-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

/* Carrusel de Servicios */
.services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.services-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 20px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

.service-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    text-decoration: none;
}

.service-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s;
    z-index: 1;
}

.service-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    transition: background 0.3s;
}

.service-item:hover .service-item-bg {
    transform: scale(1.05);
}

.service-item:hover .service-item-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.service-item h3 {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 3;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    color: var(--text-dark);
    font-size: 18px;
}

.carousel-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.carousel-btn.btn-prev {
    left: -10px;
}

.carousel-btn.btn-next {
    right: -10px;
}

/* Cifras */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stats-icon {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.stats-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.stats-label {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Soluciones Tabs */
.solutions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.solutions-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary-orange);
    color: var(--text-dark);
    border-color: var(--primary-orange);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
    width: 100%;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tab-pane-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tab-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.tab-card i {
    color: var(--primary-orange);
    font-size: 30px;
}

.tab-card h4 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Testimonios */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #333333;
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--primary-orange);
    font-size: 30px;
    opacity: 0.5;
}

.stars {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 14px;
}

.testimonial-text {
    color: var(--white);
    font-size: 16px;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 3px;
}

.author-info span {
    color: #999999;
    font-size: 13px;
}

/* Contact Form Section */
.contact-section {
    background-color: #333333;
    color: var(--white);
    padding: 80px 20px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: #2A2A2A;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-container h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--white);
    text-align: center;
}

.contact-container p {
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-control {
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #1A1A1A;
    color: var(--white);
    font-size: 16px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--primary-orange);
    color: var(--text-dark);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--dark-orange);
}

/* Footer */
.footer-main {
    background-color: #2A2A2A;
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.footer-col h4 {
    font-size: 18px;
    color: var(--primary-orange);
    margin-bottom: 25px;
}

.footer-col p {
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333333;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.footer-socials a:hover {
    background-color: var(--primary-orange);
    color: var(--text-dark);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--primary-orange);
    margin-top: 4px;
}

.footer-contact-item span {
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.5;
}

.footer-bottom {
    background-color: var(--primary-orange);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Responsive Media Queries Generales */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero-title {
        font-size: 46px;
    }

    .split-layout {
        flex-direction: column;
    }

    .split-reverse {
        flex-direction: column;
    }

    .service-item {
        flex: 0 0 calc(33.333% - 15px);
    }

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

@media (max-width: 900px) {
    .features-container {
        grid-template-columns: 1fr;
    }

    .features-section {
        margin-top: -50px;
    }

    .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

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

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

    .service-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 850px) {
    .top-bar-wrapper {
        background: var(--light-gray);
    }

    .top-bar-container {
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
        gap: 15px;
        align-items: center;
    }

    .top-bar-right {
        background-color: transparent;
        padding: 0;
    }

    .navbar-container {
        flex-wrap: wrap;
        height: auto;
        padding: 20px;
        gap: 20px;
        justify-content: center;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .carousel-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding-bottom: 50px;
    }

    .hero-content {
        align-items: center;
    }
}

@media (max-width: 600px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

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

    .service-item {
        flex: 0 0 100%;
    }

    .tab-pane-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   13. HERO CARDS
========================================== */
.hero-cards-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 0 20px;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.hero-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* =========================================
   14. SPLIT SECTIONS (SEGURIDAD)
========================================== */
.section-padding {
    padding: 100px 20px;
}

.container-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.split-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.split-content {
    flex: 1;
    max-width: 600px;
}

.split-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.split-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #333;
}

.split-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.check-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.check-item h4 i {
    color: var(--primary-orange);
}

.check-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-solid {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-solid:hover {
    background-color: var(--dark-orange);
}

.contact-inline {
    display: flex;
    flex-direction: column;
}

.contact-inline small {
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

.contact-inline span {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-orange);
}

.floating-badge {
    position: absolute;
    bottom: -30px;
    left: -70px;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

@media (max-width: 950px) {
    .hero-cards-grid {
        grid-template-columns: 1fr;
    }

    .split-section {
        flex-direction: column;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
    }
}

/* =========================================
   15. SECCIÓN SERVICIOS (SIN SCROLLBAR + BOTONES)
========================================== */
.bg-light {
    background-color: var(--light-gray);
}

.section-title-center {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle-center {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.services-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ocultar barra de desplazamiento nativa */
.services-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 0 20px rgba(255, 182, 0, 0.5);
    border-color: rgba(255, 182, 0, 0.5);
}

/* Botones de control del Carrusel de Servicios */
.services-control {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(34, 34, 34, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.services-control:hover {
    background-color: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

.services-control.prev {
    left: -5px;
}

.services-control.next {
    right: -5px;
}

@media (max-width: 1280px) {
    .services-control.prev {
        left: 15px;
    }

    .services-control.next {
        right: 15px;
    }
}

@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 650px) {
    .service-card {
        flex: 0 0 100%;
    }

    .services-control {
        display: none;
    }

    /* En móviles se usa touch normal */
}

/* Imagen base con transición de Blur */
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
    filter: blur(0px);
}

/* Overlay dinámico: se oscurece al hacer hover para que el texto sea legible */
.service-overlay {
    position: absolute;
    inset: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.6s ease;
}

/* La magia del Hover en la tarjeta */
.service-card:hover img { 
    transform: scale(1.1); 
    /* Reducimos el blur de 6px a 2px y aumentamos la opacidad de la foto */
    filter: blur(2px); 
    opacity: 0.85; 
}

.service-card:hover .service-overlay { 
    /* Mantenemos oscuro abajo (95%) para el texto, pero aclaramos drásticamente el medio (40%) y arriba (10%) */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%); 
}

.service-overlay .num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 5px;
    line-height: 1;
    transition: transform 0.4s ease;
}

.service-overlay h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    transition: transform 0.4s ease;
}

/* Descripción oculta que aparece desde abajo */
.service-desc {
    font-size: 14px;
    color: #EAEAEA;
    line-height: 1.5;
    margin-top: 15px;
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.service-card:hover .service-desc {
    max-height: 150px;
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover .num {
    transform: translateY(-5px);
}

.service-card:hover h3 {
    transform: translateY(-5px);
}

/* =========================================
   16. SPLIT SECTION 2 & 3 (REVERSE & VERTICAL LIST)
========================================== */
.split-reverse {
    flex-direction: row-reverse;
}

.list-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.list-vertical .check-item h4 {
    margin-bottom: 5px;
}

@media (max-width: 1024px) {
    .service-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 650px) {
    .service-card {
        flex: 0 0 100%;
    }

    .split-reverse {
        flex-direction: column;
    }
}

/* =========================================
   17. LOGROS EN CIFRAS
========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--white);
    padding: 50px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 45px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-card p {
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

/* =========================================
   18. SOLUCIONES (SISTEMA DE TABS)
========================================== */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #EAEAEA;
    color: #555;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: var(--primary-orange);
    color: var(--white);
}

.tab-content-wrapper {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-pane.active {
    display: flex;
    opacity: 1;
    gap: 30px;
}

.solutions-sidebar {
    flex: 0 0 320px;
    /* Cambiamos el gris sólido por un gris muy oscuro semitransparente */
    background-color: rgba(34, 34, 34, 0.7);
    /* Efecto de mezcla para oscurecer la imagen de fondo */
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 30px;
    border-radius: 8px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.solutions-sidebar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%; /* Cubre la zona del texto */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* La máscara hace que el desenfoque se desvanezca suavemente y no tenga un corte brusco */
    -webkit-mask-image: linear-gradient(to top, black 40%, transparent 100%);
    mask-image: linear-gradient(to top, black 40%, transparent 100%);
    z-index: 1;
}

.solutions-sidebar h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fab329;
    position: relative;
    z-index: 2;
}

.solutions-sidebar p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.solutions-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.solution-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 35px 30px;
    background: var(--white);
    transition: all 0.3s ease;
}

.solution-card:hover {
    box-shadow: 0 0 20px rgba(255, 182, 0, 0.4);
    border-color: var(--primary-orange);
}

.solution-card i {
    font-size: 28px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.solution-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.solution-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-pane.active {
        flex-direction: column;
    }

    .solutions-sidebar {
        min-height: auto;
        flex: none;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 650px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .tabs-header {
        flex-direction: column;
    }
}

/* =========================================
   12. ANIMACIONES GLOBALES (REEMPLAZO ELEMENTOR)
========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* =========================================
   13. HERO CAROUSEL (5 SLIDES)
========================================== */
/* Ajuste de altura del Carrusel Principal */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background-color: #111;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.carousel-item.active .carousel-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.carousel-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.carousel-control:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

/* =========================================
   19. TESTIMONIOS REALES
========================================== */
.bg-dark-section {
    background-color: #222222;
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: #2A2A2A;
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
}

.stars {
    color: var(--primary-orange);
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #DDD;
    margin-bottom: 30px;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 12px;
    color: #999;
}

.quote-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 60px;
    color: var(--primary-orange);
    opacity: 0.2;
    font-family: Georgia, serif;
    font-style: italic;
    line-height: 1;
}

/* =========================================
   20. CONTACTO / SOLICITA UN DEMO (PARALLAX)
========================================== */
.contact-section {
    position: relative;
    padding: 120px 20px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.70);
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #EAEAEA;
    line-height: 1.6;
}

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #DDD;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background-color: #FAFAFA;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    background-color: var(--white);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--dark-orange);
}

/* =========================================
   21. FOOTER
========================================== */
.footer-main {
    background-color: #333333;
    color: var(--white);
    padding: 70px 20px;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: #AAA;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 90%;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    transition: 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-orange);
    color: #333;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #AAA;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--primary-orange);
    margin-top: 3px;
}

.footer-bottom {
    background-color: var(--primary-orange);
    padding: 15px 20px;
    text-align: center;
}

.footer-bottom p {
    max-width: 1300px;
    margin: 0 auto;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 950px) {

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

    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 650px) {

    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   22. HEADER & NAVBAR FIJO (STICKY)
========================================== */
.top-bar-wrapper {
    background: linear-gradient(to right, var(--light-gray) 65%, var(--white) 35%);
    border-bottom: 1px solid var(--border-color);
}

.top-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 48px;
    padding: 0 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--light-gray);
    padding-right: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.contact-info-item i {
    color: var(--text-dark);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--white);
    padding-left: 20px;
}

/* Navbar con posición Sticky */
.navbar {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 38px;
    height: 38px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-top: 3px;
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover,
.nav-item:hover .nav-link {
    color: var(--primary-orange);
}

/* Mega Menús Desplegables perfeccionados */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 900px;
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-col h4 {
    color: #333333;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 5px;
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-col ul li {
    margin-bottom: 10px;
}

.mega-menu-col ul li a {
    color: #666666;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.mega-menu-col ul li a:hover {
    color: var(--primary-orange);
}

.mega-menu-col ul li a i {
    color: #999999;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

/* Ancho específico para menús más pequeños (Estrategias y Plataforma) */
.mega-menu.strategies-menu {
    width: 550px;
    grid-template-columns: repeat(2, 1fr);
}

.mega-menu.platform-menu {
    width: 320px;
    grid-template-columns: 1fr;
}

.nav-contact-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.contact-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-top: 2px;
}

/* =========================================
   13. FIX DEFINITIVO DE CAPAS: HERO CARDS
========================================== */
.carousel-content-wrapper {
    padding-bottom: 120px !important;
}

.hero-cards-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 0 20px;
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* El contenedor debe ser transparente para no tapar a sus hijos */
.hero-card {
    position: relative;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-height: 320px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background-color: transparent;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 182, 0, 0.3);
}

/* =========================================
   FIX DEFINITIVO: FONDO Y ANIMACIÓN FLUIDA EN TARJETAS
========================================== */

/* Nivel 1: Imagen real de fondo (Forzada a cubrir todo) */
.hero-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Nivel 2: Filtro oscuro sobre la foto */
.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Nivel 3: Tapa blanca sólida (La que se desliza) */
.hero-card-cover {
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animaciones al hacer Hover */
.hero-card:hover .hero-card-bg {
    opacity: 1;
    transform: scale(1);
}

.hero-card:hover .hero-card-overlay {
    opacity: 1;
}

/* Direcciones de deslizamiento personalizadas */
.hero-card:hover .slide-down {
    transform: translateY(100%);
}

.hero-card:hover .slide-up {
    transform: translateY(-100%);
}

/* Nivel 4: Contenido frontal y animaciones fluidas de texto */
.hero-card-content {
    position: relative;
    z-index: 4;
    width: 100%;
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Animación elástica para el icono */
.hero-card-content img {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0) scale(1);
}

/* Fluidez en los textos */
.hero-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #333333;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.hero-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    transition: all 0.4s ease;
    transform: translateY(0);
}

/* Efectos al hacer HOVER (Flotación y color) */
.hero-card:hover .hero-card-content img {
    filter: brightness(0) invert(1);
    transform: translateY(-8px) scale(1.1);
}

.hero-card:hover .hero-card-title {
    color: #FFFFFF;
    transform: translateY(-4px);
}

.hero-card:hover .hero-card-text {
    color: #EAEAEA;
    transform: translateY(-4px);
}

@media (max-width: 950px) {
    .hero-cards-section {
        margin-top: -40px;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   23. ANIMACIONES PREMIUM Y EFECTOS HOVER
========================================== */
/* Clases base para el observador de Scroll */
.reveal-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Direcciones de entrada */
.fade-up {
    transform: translateY(40px);
}

.fade-in {
    transform: scale(0.95);
}

.slide-right {
    transform: translateX(-40px);
}

.slide-left {
    transform: translateX(40px);
}

/* Retrasos escalonados para listas y grids */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Efecto de Resplandor Corporativo (Glow) */
.hover-glow {
    transition: all 0.4s ease;
}

.hover-glow:hover {
    box-shadow: 0 15px 35px rgba(255, 182, 0, 0.15) !important;
    transform: translateY(-5px);
    border-color: var(--primary-orange) !important;
}

/* Efecto de Destello de Luz (Shine) sobre imágenes */
.image-shine {
    position: relative;
    overflow: hidden;
}

.image-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 5;
    transition: none;
}

.image-shine:hover::after {
    left: 150%;
    transition: all 0.7s ease-in-out;
}

/* Asegurar que las tarjetas de servicio tengan el shine */
.service-card,
.split-image-wrapper img {
    position: relative;
    overflow: hidden;
}

.service-card::after,
.split-image-wrapper img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 5;
    transition: none;
    pointer-events: none;
}

.service-card:hover::after,
.split-image-wrapper:hover img::after {
    left: 150%;
    transition: all 0.7s ease-in-out;
}


/* =========================================
   25. SECCIÓN VIDEO IA
========================================== */
.video-ia-section {
    padding: 100px 20px;
    background-color: #FFFFFF;
}

.video-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    padding-bottom: 42.18%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.features-4-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 60px auto 0;
    text-align: center;
}

.feature-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-orange);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
}

.feature-circle-item:hover .icon-circle {
    transform: translateY(-10px) scale(1.1);
    background: var(--primary-orange);
    color: #fff;
    box-shadow: 0 15px 25px rgba(255, 182, 0, 0.3);
}

.feature-circle-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 950px) {
    .features-4-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }
}

@media (max-width: 600px) {
    .features-4-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   26. MOTOR DE ANIMACIONES FLUIDAS
========================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-fade-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-slide-left {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-slide-right {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.is-animated {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Delays para efecto cascada (Stagger) */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* =========================================
   27. BRILLO PROFESIONAL (SHINE HOVER)
========================================== */
.premium-shine {
    position: relative;
    overflow: hidden;
}

.premium-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 20;
    pointer-events: none;
    transition: none;
}

.premium-shine:hover::before {
    left: 150%;
    transition: all 0.8s ease-in-out;
}

/* =========================================
   FIX GLOBAL DE MÁRGENES (EVITA DESBORDAMIENTOS)
========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =========================================
   28. OPTIMIZACIÓN RESPONSIVA Y MENÚ MÓVIL (HASTA 950PX)
========================================== */
@media (max-width: 950px) {

    /* Navbar y Menú Hamburguesa */
    .navbar-container {
        padding: 0 15px !important;
        height: 70px !important;
        position: relative;
    }

    .nav-contact-block {
        display: none !important;
    }

    /* Esconder teléfono grande para ahorrar espacio */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--primary-orange);
        cursor: pointer;
        margin-left: auto;
    }

    /* =========================================
       FIX DEFINITIVO: MENÚ MÓVIL Y FONDO BLANCO
    ========================================== */
    /* Sobrescribir el comportamiento horizontal de PC */
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        display: flex !important;
        flex-direction: column !important;
        /* Fuerza uno debajo del otro */
        height: auto !important;
        /* Permite que el fondo blanco crezca hacia abajo */
        max-height: calc(100vh - 70px);
        /* Evita que el menú sea más grande que la pantalla */
        overflow-y: auto;
        /* Agrega scroll interno si hay muchos submenús abiertos */
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 0 20px 20px 20px !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        z-index: 99;
        transition: all 0.4s ease;
        border-top: 1px solid #eee;
    }

    .nav-menu.is-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Ajustar los items para que ocupen todo el ancho y no se aprieten */
    .nav-item {
        width: 100% !important;
        height: auto !important;
        border-bottom: 1px solid #f5f5f5;
        padding: 0 !important;
        display: block !important;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    /* Enlaces del menú principal (texto a la izquierda, flecha a la derecha) */
    .nav-link {
        width: 100%;
        padding: 15px 0 !important;
        display: flex;
        justify-content: space-between !important;
        align-items: center;
    }

    /* Submenús en Móvil (Acordeón perfecto) */
    .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        padding: 0 0 15px 15px !important;
        gap: 15px !important;
    }

    .nav-item.open-mobile .mega-menu {
        display: flex !important;
        flex-direction: column;
    }

    /* Fix visual para la barra gris de arriba (Dirección y correo) */
    .top-bar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 5px 0;
    }

    .top-bar-container {
        height: auto;
        min-height: 48px;
        padding: 5px 20px;
    }

    /* Ajuste de Secciones Globales */
    .section-padding {
        padding: 60px 15px !important;
        width: 100% !important;
    }

    .container-inner {
        padding: 0 !important;
        width: 100% !important;
    }

    .section-title-center,
    .split-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    /* Hero Carousel */
    .hero-carousel {
        height: 85vh !important;
        min-height: 500px !important;
    }

    .hero-title {
        font-size: 32px !important;
    }

    /* Hero Cards (Forzar centrado perfecto) */
    .hero-cards-section {
        margin-top: -50px !important;
        padding: 0 15px !important;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100%;
        max-width: 450px !important;
    }

    .hero-card {
        width: 100% !important;
        min-height: 280px !important;
        padding: 35px 25px !important;
        margin: 0 auto !important;
    }

    /* Splits, Tabs y Footer */
    .split-section {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .split-reverse {
        flex-direction: column !important;
    }

    .split-content,
    .split-image-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }

    .check-list {
        grid-template-columns: 1fr !important;
        text-align: left;
    }

    .action-group {
        justify-content: center;
    }

    .tab-btn {
        flex: 1 1 calc(50% - 10px) !important;
        font-size: 13px !important;
        padding: 12px 10px !important;
        text-align: center;
    }

    .tab-pane.active {
        flex-direction: column !important;
    }

    .solutions-sidebar {
        width: 100% !important;
        padding: 30px 20px !important;
        text-align: center;
    }

    .solutions-grid {
        grid-template-columns: 1fr !important;
    }

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

    .features-4-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-container {
        flex-direction: column !important;
        text-align: center;
    }

    .contact-form-wrapper {
        width: 100% !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .stats-grid,
    .features-4-grid {
        grid-template-columns: 1fr !important;
    }

    .tab-btn {
        flex: 1 1 100% !important;
    }
}

/* =========================================
   29. PÁGINA: VIDEO IA (ESTILO SAAS PREMIUM)
========================================== */
.text-purple {
    color: #6a4cff !important;
}

.btn-purple {
    background-color: #6a4cff;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-purple:hover {
    background-color: #5538e6;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(106, 76, 255, 0.3);
    color: #fff;
}

/* Hero Section Video IA */
.video-ia-hero {
    padding: 120px 20px 60px;
    background-color: #ffffff;
    text-align: center;
}

.video-ia-hero h1 {
    font-size: 46px;
    font-weight: 800;
    color: #222;
    max-width: 1000px;
    margin: 0 auto 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.video-ia-hero p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* =========================================
   FIX: TAMAÑOS REDUCIDOS PARA EVITAR BORROSIDAD
========================================== */
/* Mockup Principal (Hero) */
.mockup-main {
    max-width: 650px;
    /* Reducido de 900px a 650px para igualar el original */
    margin: 0 auto 40px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: transparent;
    /* Sombras y bordes quitados del contenedor para que la imagen dicte el alto real */
}

.mockup-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
    /* Si la imagen PNG tiene espacio extra, drop-shadow se ajusta a la forma real */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.mockup-main:hover img {
    transform: scale(1.02);
}

/* Checkmarks Inline */
.check-inline-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.check-inline-item {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-inline-item i {
    color: #222;
}

/* Sección Marcas */
.brands-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #fafafa;
}

.brands-section p {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.7;
}

.brands-grid img {
    max-height: 35px;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    cursor: pointer;
}

.brands-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    opacity: 1;
}

/* Bloques Zig-Zag (Features) */
.feature-block {
    padding: 80px 20px;
    background-color: #fff;
}

.feature-header {
    text-align: center;
    margin-bottom: 60px;
}

.feature-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: #222;
    margin-bottom: 20px;
}

.feature-header .check-inline-list {
    border-top: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    padding-top: 0;
}

/* Feature Sliders (Tarjetas laterales) */
.feature-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-text {
    flex: 1;
    /* Toma la mitad del espacio */
}

.feature-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.feature-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #6a4cff;
    border-radius: 2px;
}

.feature-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    margin-top: 25px;
}

.feature-img-wrapper {
    flex: 1.2;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.feature-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.feature-img-wrapper:hover img {
    transform: scale(1.03);
}

/* Galería (Vista previa) */
.gallery-section {
    padding: 80px 20px;
    background-color: #fafafa;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 950px) {
    .video-ia-hero h1 {
        font-size: 34px;
    }

    .feature-split {
        flex-direction: column;
        text-align: center;
    }

    .feature-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .feature-img-wrapper {
        width: 100%;
    }

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

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .check-inline-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* =========================================
   30. MINI-SLIDERS PARA FEATURES (VIDEO IA)
========================================== */
.custom-slider-container {
    flex: 1.8;
    max-width: 435px;
    /* Reducido 25% */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: transparent;
    aspect-ratio: 3/4;
    /* Formato vertical para abrazar la foto sin dejar márgenes enormes */
}

.custom-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
    align-items: center;
}

.custom-slider-slide {
    width: 100%;
    height: 100%;
    display: block;
    flex-shrink: 0;
    object-fit: cover;
    /* Llena el contenedor por completo, aunque recorte un poco */
    padding: 0;
}

@media (max-width: 950px) {
    .custom-slider-container {
        max-width: 100%;
        width: 100%;
    }
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #6a4cff;
    transform: scale(1.2);
}

/* =========================================
   31. BENTO GRID GALLERY (FIX ESCALADO PROPORCIONAL)
========================================== */
.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.bento-item {
    border-radius: 12px;
    overflow: hidden;
    /* Fondo sutil para enmarcar las capturas de diferentes tamaños */
    background: #f8f9fa;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Flexbox para centrar la imagen perfectamente en el espacio disponible */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.bento-item img {
    width: 100%;
    height: 100%;
    /* Mágia aquí: ajusta la imagen completa sin recortar ni deformar */
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
}

.bento-item:hover img {
    transform: scale(1.05);
}

/* Tamaños específicos y alturas mínimas para mantener la estructura */
.bento-item.tall-left {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 400px;
}

.bento-item.large-center {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 400px;
}

.bento-item.tall-right {
    grid-column: span 1;
    grid-row: span 2;
    min-height: 400px;
}

.bento-item.small-box {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
}

@media (max-width: 950px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.tall-left,
    .bento-item.large-center,
    .bento-item.tall-right,
    .bento-item.small-box {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
    }

    .bento-item.large-center {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .bento-gallery {
        grid-template-columns: 1fr;
    }

    .bento-item.large-center {
        grid-column: span 1;
    }
}

/* =========================================
   NUEVO BOTÓN VERDE (CARRUSEL)
========================================== */
.btn-green {
    background-color: #28a745 !important;
    /* Verde corporativo de acción */
    color: #ffffff !important;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-green:hover {
    background-color: #218838 !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(40, 167, 69, 0.3);
}

/* =========================================
   32. TEMA MORADO DINÁMICO (LOGO VIDEO IA)
========================================== */
.logo-purple-theme {
    /* Filtro matricial para convertir los pixeles al morado #6a4cff corporativo */
    filter: brightness(0) saturate(100%) invert(35%) sepia(85%) saturate(2300%) hue-rotate(240deg) brightness(95%) contrast(105%) !important;
}

.text-purple-theme {
    color: #6a4cff !important;
    transition: color 0.4s ease;
}

/* Custom animation down */
.anim-fade-down {
    opacity: 0;
    transform: translateY(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-fade-down.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   33. SMART VIEW COLLAGE (DENTRO DE SPLIT)
========================================== */
.sv-collage-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Fondo alargado verticalmente como pediste */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.sv-collage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sv-c-bg-black {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 12px;
}

.sv-c-spider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0.8; /* Más visible en el negro mate */
}

.sv-c-cam-wrapper {
    position: absolute;
    top: 10px;
    left: 4.5px;
    width: 558.49px;
    aspect-ratio: 4 / 3;
    z-index: 3;
}

.sv-c-title {
    position: absolute;
    top: -232.5px;
    left: 28.5px;
    width: 40%;
    z-index: 4;
}

.sv-c-lap2-wrapper {
    position: absolute;
    top: 411.062px;
    left: 167px;
    width: 396.997px;
    aspect-ratio: 4 / 3;
    z-index: 5;
}

/* LOGO EN TEXTO PURO (NUEVO) */
.sv-text-logo {
    position: absolute;
    top: 410px;
    left: -70px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 10;
    text-align: center;
    font-family: 'Oswald', 'Inter', sans-serif;
    line-height: 1;
    cursor: default;
    user-select: none;
}
.sv-text-logo-top {
    font-size: 55px;
    font-weight: 900;
    letter-spacing: -1px;
}
.sv-text-smart {
    color: #222222;
}
.sv-text-view {
    color: var(--primary-orange);
}
.sv-text-logo-bottom {
    font-size: 26px;
    font-weight: 700;
    color: #555555;
    letter-spacing: 1px;
    margin-top: -2px;
}

.sv-c-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Efectos de luces detrás de los videos para más diseño tecnológico */
.sv-c-cam-wrapper::before,
.sv-c-lap1-wrapper::before,
.sv-c-lap2-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,182,0,0.2) 0%, rgba(255,182,0,0) 60%);
    z-index: -1;
    filter: blur(15px);
    pointer-events: none;
}

@media (max-width: 991px) {
    .sv-collage-wrapper {
        aspect-ratio: 4 / 5;
        margin-top: 20px;
    }
    
    /* Restaurar proporciones en móvil para que no se rompan las coordenadas hardcodeadas */
    .sv-c-cam-wrapper {
        top: 0%; left: -10%; width: 120%;
    }
    .sv-c-lap2-wrapper {
        top: 50%; left: 0%; width: 100%;
    }
    .sv-c-title {
        top: -15%; left: 10%; width: 50%;
    }
}


/* --- CUSTOM OVERRIDES --- */
.carousel-item { transition: opacity 0.4s ease-in-out !important; }
.carousel-item .hero-content { opacity: 0; transition: opacity 0.1s !important; }
.carousel-item.active .hero-content { opacity: 1; transition: opacity 0.4s ease-in-out 0.2s !important; }

.carousel-bg { transform: scale(1.6) !important; }

.testimonial-card > div {
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
}
.testimonial-card p.testimonial-text { color: #f5f5f5 !important; }
.testimonial-card .author-info h4 { color: #ffffff !important; }
.testimonial-card .author-info p { color: #cccccc !important; }

.video-ia-hero .mockup-main {
    transform: scale(2.2) !important;
    transform-origin: top center !important;
    margin-bottom: 350px !important;
}

.bento-gallery {
    transform: scale(1.0) !important;
    transform-origin: top center !important;
    margin-bottom: 40px !important;
}

.contact-overlay { background: rgba(0,0,0,0.7) !important; }
.premium-contact-glass > div { background-color: rgba(0, 0, 0, 0.75) !important; backdrop-filter: blur(15px) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.premium-contact-info h2 { color: #ffffff !important; text-shadow: 0 4px 20px rgba(0,0,0,0.9) !important; }
.premium-contact-info p { color: #f5f5f5 !important; font-size: 1.3rem !important; font-weight: 500 !important; }

