:root {
           
    --iqnos-primary: #090909;
--iqnos-secondary: #e74c3c;
--iqnos-accent: #3498db;
--iqnos-dark: #0F1030;
--iqnos-light: #FFFFFF;
--iqnos-gray: #F5F5F7;
--iqnos-text: #333333;
--iqnos-text-white: #FFFFFF;
--iqnos-card-bg: #1a1a1a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* SPLASH SCREEN - TU DISEÑO ORIGINAL */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--iqnos-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.splash-logo {
    font-size: 5rem;
    font-weight: 800;
    color: white;
    animation: splashAnim 1.5s ease-in-out;
}

.splash-logo span {
    color: var(--iqnos-secondary);
}

@keyframes splashAnim {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* NAVBAR - COMPORTAMIENTO EXACTO ADSPACE */

.navbar-adspace {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
padding: 20px 0;
transition: all 0.3s ease;
}

.navbar-container {
max-width: 1400px;
margin: 0 auto;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

/* Logo */
.navbar-logo {
font-size: 24px;
font-weight: 800;
color: white;
text-decoration: none;
white-space: nowrap;
flex-shrink: 0;
}

/* Menu Central Ovalado - EXACTO */

.navbar-menu-oval {
background: rgba(0, 0, 0, 0.4); /* NEGRO con transparencia */
backdrop-filter: blur(10px);
border-radius: 50px;
padding: 10px 30px;
display: flex;
align-items: center;
gap: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-menu-oval a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-size: 15px;
font-weight: 500;
padding: 8px 16px;
border-radius: 20px;
transition: all 0.5s ease;
white-space: nowrap;
position: relative;
overflow: hidden;
display: inline-block;
}

.navbar-menu-oval a span {
position: relative;
display: inline-block;
transition: transform 0.5s ease;
}

.navbar-menu-oval a::before {
content: attr(data-text);
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: #7C3AED;
transition: top 0.5s ease;
}

.navbar-menu-oval a:hover {
/*background: rgba(255, 255, 255, 0.1);*/
background: rgba(255, 255, 255, 0.8)
}

.navbar-menu-oval a:hover span {
transform: translateY(-150%); /* Aumenta a -150% para que salga completamente */
}

.navbar-menu-oval a:hover::before {
top: 0;
}

/* Botón Contacto - Color que quieras */
.navbar-btn-contact {
background: #7C3AED;
color: white;
padding: 12px 28px;
border-radius: 30px;
text-decoration: none;
font-size: 15px;
font-weight: 600;
white-space: nowrap;
transition: all 0.3s ease;
flex-shrink: 0;
position: relative;
overflow: hidden;
display: inline-block;
}


.navbar-btn-contact span {
display: inline-block;
transition: transform 0.3s ease;
}

.navbar-btn-contact::before {
content: attr(data-text);
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: top 0.3s ease;
}

.navbar-btn-contact:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.navbar-btn-contact:hover span {
transform: translateY(-150%);
}

.navbar-btn-contact:hover::before {
top: 0;
}

/* Navbar con scroll */
.navbar-adspace.scrolled {
background: rgba(0, 0, 0, 0.95);
padding: 12px 0;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Mobile Toggle */
.navbar-mobile-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 8px;
}
.navbar-mobile-toggle span {
width: 25px;
height: 2px;
background: white;
transition: all 0.5s ease;
transform-origin: center;
}


/* RESPONSIVE */
@media (max-width: 1100px) {
.navbar-menu-oval {
gap: 4px;
padding: 8px 20px;
}

.navbar-menu-oval a {
padding: 8px 12px;
font-size: 14px;
}
}

@media (max-width: 900px) {
.navbar-mobile-toggle {
display: flex;
}

.navbar-menu-oval,
.navbar-btn-contact {
display: none;
}

.navbar-container.mobile-active .navbar-menu-oval {
display: flex;
position: absolute;
top: 70px;
left: 20px;
right: 20px;
flex-direction: column;
background: rgba(0, 0, 0, 0.98);
backdrop-filter: blur(20px);
padding: 25px;
border-radius: 20px;
gap: 0;
border: 1px solid rgba(255, 255, 255, 0.1);
z-index: 1001;
}


.navbar-container.mobile-active .navbar-menu-oval a {
width: 100%;
padding: 15px 20px;
border-radius: 10px;
text-align: center;
}
.navbar-container.mobile-active .navbar-btn-contact {
display: block;
position: absolute;
top: calc(70px + 320px);
left: 20px;
right: 20px;
text-align: center;
z-index: 1001;
}

/* Desactivar el efecto hover en móvil */
.navbar-container.mobile-active .navbar-menu-oval a::before {
display: none;
}

.navbar-container.mobile-active .navbar-menu-oval a:hover span {
transform: none;
}
}
.btn-contact {
    background: var(--iqnos-secondary);
    color: #fff !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 25px;
    margin-left: 0.5rem;
    transition: all 0.3s;
}

.btn-contact:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* HERO */
.video-hero {
position: relative;
height: 100vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}

.fullscreen__media-block video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
position: relative;
z-index: 2;
color: white;
text-align: center;
width: 100%;
max-width: 1200px;
padding: 0 40px;
margin: 0 auto;
}

.hero-content .row {
justify-content: center;
}

.hero-content .col-lg-8 {
text-align: center !important;
}

.hero-title {
font-size: clamp(2.5rem, 5vw, 4.5rem);
font-weight: 800;
line-height: 1.15;
margin-bottom: 2rem;
text-align: center;
letter-spacing: -0.5px;
}

.hero-subtitle {
font-size: clamp(1rem, 2vw, 1.3rem);
opacity: 0.95;
margin-bottom: 3rem;
max-width: 900px;
margin-left: auto;
margin-right: auto;
text-align: center;
line-height: 1.6;
}


/* Botones centrados */
.hero-content .d-flex {
justify-content: center !important;
align-items: center;
}

.btn-iqnos,
.btn-iqnos-outline {
padding: 16px 38px;
font-size: 16px;
font-weight: 600;
border-radius: 35px;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
text-align: center;
}

.btn-iqnos {
background: #e74c3c;
color: white;
padding: 16px 38px;
font-size: 16px;
font-weight: 600;
border-radius: 35px;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
text-align: center;
border: 2px solid #e74c3c;
position: relative;
overflow: hidden;
}

.btn-iqnos span {
display: inline-block;
transition: transform 0.3s ease;
}

.btn-iqnos::before {
content: attr(data-text);
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: white;
background: rgba(0, 0, 0, 0.3); /* SOMBRA NEGRA TENUE */
transition: top 0.3s ease;
border-radius: 35px;
}

.btn-iqnos:hover {
background: #c0392b;
border-color: #c0392b;
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.btn-iqnos:hover span {
transform: translateY(-150%);
}

.btn-iqnos:hover::before {
top: 0;
}

@media (max-width: 768px) {
.hero-title {
font-size: 2rem;
margin-bottom: 1.5rem;
}

.hero-subtitle {
font-size: 1rem;
margin-bottom: 2rem;
}

.btn-iqnos,
.btn-iqnos-outline {
width: 100%;
max-width: 300px;
}
}

.btn-iqnos:hover {
background: #c0392b;
border-color: #c0392b;
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
color: white;
}

.btn-iqnos-outline {
background: transparent;
color: white;
padding: 16px 38px;
font-size: 16px;
font-weight: 600;
border-radius: 35px;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
text-align: center;
border: 2px solid white;
position: relative;
overflow: hidden;
}


.btn-iqnos-outline span {
display: inline-block;
transition: transform 0.3s ease;
}

.btn-iqnos-outline::before {
content: attr(data-text);
position: absolute;
top: 100%;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: white;
background: rgba(0, 0, 0, 0.3);
transition: top 0.3s ease;
border-radius: 35px;
}

.btn-iqnos-outline:hover {
background: white;
color: #000;
}

.btn-iqnos-outline:hover span {
transform: translateY(-150%);
}

.btn-iqnos-outline:hover::before {
top: 0;
}

/* SECTIONS */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #999;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* SERVICE CARDS */
.service-card {
background: #111;
border-radius: 12px;
overflow: hidden;
transition: all 0.5s ease;
height: 100%;
position: relative;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.service-img-container {
height: 200px;
overflow: hidden;
position: relative;
}

.service-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.8s ease;
transform-origin: center center;
}

.service-card:hover .service-img {
transform: scale(1.15); /* Zoom más suave */
}


.service-body {
    padding: 2rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 0.625rem 0;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li i {
    color: var(--iqnos-secondary);
    margin-right: 0.5rem;
}

/* PROCESS */
.process-step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #111;
    border-radius: 12px;
    transition: transform 0.3s;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-8px);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--iqnos-secondary);
    margin-bottom: 1.25rem;
}

/* INDUSTRIES */
.industries-container {
    overflow: hidden;
    padding: 2.5rem 0;
}

.industries-scroll {
    display: flex;
    animation: scroll 20s linear infinite;
}

.industry-item {
    flex: 0 0 auto;
    text-align: center;
    margin: 0 2rem;
    min-width: 200px;
}

.industry-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--iqnos-accent) 0%, #2a80b9 100%);
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* TESTIMONIALS */
.testimonial-card {
    background: #111;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--iqnos-secondary);
    height: 100%;
}

/* WIDGET */
.iqnos-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.iqnos-widget {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--iqnos-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    transition: all 0.4s;
    overflow: hidden;
    border: 3px solid #fff;
}

.iqnos-widget:hover {
    transform: scale(1.1);
}

.iqnos-widget.active {
    width: 320px;
    height: 200px;
    border-radius: 12px;
}

.widget-initial img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.widget-content {
    padding: 15px;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.iqnos-widget.active .widget-content {
    opacity: 1;
    display: block;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    z-index: 10;
}

.iqnos-widget.active .close-btn {
    opacity: 1;
}

.widget-video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* FOOTER */
footer {
    background: #000;
    padding: 5rem 0 2rem;
}

.footer-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--iqnos-secondary);
    transform: translateY(-3px);
}

.bg-dark {
    background: #111 !important;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        padding: 1.25rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .iqnos-widget.active {
        width: 280px;
        height: 180px;
    }
}

/* EFECTO SCROLL SUAVE - AGREGAR ESTO */
/*.fade-in-scroll {
opacity: 0;
transform: translateY(50px);
transition: all 1.5s ease;
}

.fade-in-scroll.visible {
opacity: 1;
transform: translateY(0);
}
*/

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px); /* Reducido de 50px a 30px */
    transition: all 1.5s ease; /* Reducido de 1.5s a 0.6s */
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Fondo parallax para la sección productos */
/* ===== PARALLAX DEL FONDO - VERSIÓN CORREGIDA ===== */

#productos {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../images/fondo_rojo.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}


/* ELIMINA completamente el ::before o hazlo más transparente */
/*
#productos::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 1;
}
*/

#productos .container {
position: relative;
z-index: 1;
}



/* SECCIÓN DE PLATAFORMAS (Partnersr) */
  /* SECCIÓN DE PLATAFORMAS */
  #plataformas {
    padding: 6rem 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

#plataformas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateX(-50%) scale(1.2); }
}

.platforms-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
    line-height: 1.3;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.platform-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    min-height: 150px;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.2);
    background: linear-gradient(135deg, #252525 0%, #1a1a1a 100%);
}

/* Animación escalonada */
.platform-card:nth-child(1) { animation-delay: 0.1s; }
.platform-card:nth-child(2) { animation-delay: 0.2s; }
.platform-card:nth-child(3) { animation-delay: 0.3s; }
.platform-card:nth-child(4) { animation-delay: 0.4s; }
.platform-card:nth-child(5) { animation-delay: 0.5s; }
.platform-card:nth-child(6) { animation-delay: 0.6s; }
.platform-card:nth-child(7) { animation-delay: 0.7s; }
.platform-card:nth-child(8) { animation-delay: 0.8s; }
.platform-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LOGOS */
.platform-logo {
    max-width: 180px;
    height: auto;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.platform-card:hover .platform-logo {
    transform: scale(1.1);
}

/* Logos de texto */
.platform-text-logo {
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    text-align: center;
    letter-spacing: -0.5px;
}

.platform-card:hover .platform-text-logo {
    transform: scale(1.1);
}

/* Salesforce */
.platform-card[data-platform="salesforce"] .platform-text-logo {
    color: #00A1E0;
    font-size: 2.2rem;
}

.platform-card[data-platform="salesforce"]:hover .platform-text-logo {
    color: #00C8FF;
}

/* LinkedIn */
.platform-card[data-platform="linkedin"] .platform-text-logo {
    color: #0077B5;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.linkedin-icon {
    width: 50px;
    height: 50px;
    background: #0077B5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 2rem;
}

.platform-card[data-platform="linkedin"]:hover .platform-text-logo {
    color: #0095E8;
}

.platform-card[data-platform="linkedin"]:hover .linkedin-icon {
    background: #0095E8;
}

/* Snap Inc */
.platform-card[data-platform="snap"] .platform-text-logo {
    color: #FFFC00;
    font-size: 2rem;
    font-weight: 700;
}

.snap-ghost {
    display: inline-block;
    font-size: 3rem;
    margin-right: 10px;
}

.platform-card[data-platform="snap"]:hover .platform-text-logo {
    color: #FFF44F;
}

/* Bloomreach */
.platform-card[data-platform="bloomreach"] .bloomreach-b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #FFD933;
    color: #000;
    border-radius: 50%;
    margin-right: 8px;
    font-weight: 900;
}

.platform-card[data-platform="bloomreach"] .platform-text-logo {
    color: #FFD933;
}

.platform-card[data-platform="bloomreach"]:hover .platform-text-logo {
    color: #FFED4E;
}

.platform-card[data-platform="bloomreach"]:hover .bloomreach-b {
    background: #FFED4E;
}

/* LiveRamp */
.platform-card[data-platform="liveramp"] .platform-text-logo {
    color: #00FF88;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card[data-platform="liveramp"] .slash {
    font-weight: 300;
    font-size: 2.5rem;
    margin: 0 -2px;
}

.platform-card[data-platform="liveramp"]:hover .platform-text-logo {
    color: #00FFAA;
}

/* Efecto de brillo */
.platform-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.platform-card:hover::after {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% { opacity: 1; }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .platforms-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .platform-card {
        padding: 2rem 1.5rem;
        min-height: 120px;
    }

    .platform-logo {
        max-width: 140px;
    }

    .platform-text-logo {
        font-size: 1.5rem;
    }

    .platform-card[data-platform="salesforce"] .platform-text-logo {
        font-size: 1.6rem;
    }

    .platform-card[data-platform="linkedin"] .linkedin-icon {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .snap-ghost {
        font-size: 2rem;
    }

    .platform-card[data-platform="bloomreach"] .bloomreach-b {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .platform-card[data-platform="liveramp"] .slash {
        font-size: 2rem;
    }

    .platforms-title {
        font-size: 1.75rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
}

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

/* Responsive logo image inside navbar */

/* Navbar logo (2x size) */
.navbar-logo img {
  height: 80px;  /* was 40px */
  width: auto;
  display: block;
}
@media (max-width: 1200px) {
  .navbar-logo img { height: 72px; }
}
@media (max-width: 992px) {
  .navbar-logo img { height: 64px; }
}
@media (max-width: 768px) {
  .navbar-logo img { height: 56px; }
}
@media (max-width: 480px) {
  .navbar-logo img { height: 48px; }
}


/* Adjust logo size on smaller screens */
@media (max-width: 992px) {
  .navbar-logo img {
    height: 34px;
  }
}
@media (max-width: 768px) {
  .navbar-logo img {
    height: 30px;
  }
}


/* Ensure navbar accommodates larger logo */
.navbar-adspace {
  padding: 12px 0; /* a bit tighter to avoid too much vertical space */
}
.navbar-container {
  min-height: 96px; /* fits 80px logo comfortably */
}


/* Splash image uses same brand logo */
#splash-screen .splash-logo-img {
  width: 360px;    /* base desktop size */
  max-width: 60vw; /* responsive cap */
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  animation: splashAnim 1.6s ease forwards;
}
@media (max-width: 768px) {
  #splash-screen .splash-logo-img { width: 260px; }
}
@media (max-width: 480px) {
  #splash-screen .splash-logo-img { width: 220px; }
}


/* Layout horizontal para los 5 puntos en desktop */
@media (min-width: 992px) {
  #funcionamiento .row,
  #funcionamiento .steps,
  #funcionamiento .contenedor-pasos,
  #funcionamiento .funciona-items {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
  }
  #funcionamiento .col,
  #funcionamiento .step,
  #funcionamiento .item {
    flex: 1 1 20%;
    max-width: 20%;
  }
}


/* ===== Servicios (inspirado en Adspace) ===== */
.section-servicios {
  position: relative;
  padding: 80px 0;
  color: #fff;
  background: #0b0f14 url("../images/servicios_bg.png") center/cover no-repeat fixed;
  isolation: isolate;
}
.section-servicios .servicios-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(8,10,14,.65), rgba(8,10,14,.6));
  z-index:0;
}
.section-servicios .container{ position:relative; z-index:1; }

.servicios-grid{
  display: grid;
  grid-template-columns: repeat(1, minmax(0,1fr));
  gap: 20px;
}
.svc-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(6px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.svc-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
}
.svc-card h3{
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 20px;
}
.svc-card p{ margin:0; opacity:.9; }

@media (min-width: 576px){ .servicios-grid{ grid-template-columns: repeat(2,1fr);} }
@media (min-width: 992px){ .servicios-grid{ grid-template-columns: repeat(3,1fr);} }
@media (min-width: 1300px){ .servicios-grid{ grid-template-columns: repeat(4,1fr);} }


/* ===== Servicios: estilo original similar al de referencia, sin copiar su código ===== */
.services-section{
  position: relative;
  padding: 96px 0;
  color: #e9edf3;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(70,80,255,.20), rgba(0,0,0,0)) no-repeat,
              radial-gradient(900px 500px at 10% 120%, rgba(231,76,60,.18), rgba(0,0,0,0)) no-repeat,
              #0b0f14;
}
.services-bg{
  position:absolute; inset:-10% -10% -10% -10%; z-index:0;
  background-image: url("../images/servicios_bg.png");
  background-size: cover; background-position:center; opacity:.35;
  filter: saturate(110%) contrast(105%) brightness(110%) blur(1px);
}
.services-hero{ position:relative; z-index:1; text-align:center; margin-bottom: 40px;}
.services-eyebrow{ display:inline-block; font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:.85rem; color:#ffb4a8; background:rgba(231,76,60,.12); border:1px solid rgba(231,76,60,.28); padding:6px 10px; border-radius:999px; }
.services-title{ margin:14px 0 6px; font-weight:800; line-height:1.1; font-size: clamp(28px, 5vw, 44px); color:#fff; }
.services-subtitle{ margin:0 auto; max-width:820px; color:#cfd6e4; }

.services-grid{
  position:relative; z-index:1;
  display:grid; gap:18px;
  grid-template-columns: repeat(1,minmax(0,1fr));
}
@media (min-width: 576px){ .services-grid{ grid-template-columns: repeat(2,1fr);} }
@media (min-width: 992px){ .services-grid{ grid-template-columns: repeat(3,1fr);} }
@media (min-width: 1400px){ .services-grid{ grid-template-columns: repeat(4,1fr);} }

.svc{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 22px;
  min-height: 190px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  position: relative;
}
.svc:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.svc i{ font-size: 28px; display:inline-block; margin-bottom: 10px; color:#a9b7ff; }
.svc h3{ font-size: 18px; font-weight:800; margin: 4px 0 8px; color:#fff; }
.svc p{ margin:0 0 14px; color:#d7deea; }
.svc-cta{ font-weight:700; font-size:.95rem; color:#e6f0ff; text-decoration:none; border-bottom:2px solid rgba(166,184,255,.3); padding-bottom:2px; }
.svc-cta:hover{ border-color: rgba(231,76,60,.5); color:#fff; }


/* ===== Servicios: afinado visual + animaciones ===== */

/* Animated tech-y background (reemplaza imagen por gradientes animados + grid sutil) */
.services-bg{
  position:absolute; inset:-10% -10% -10% -10%; z-index:0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(70,80,255,.18), rgba(0,0,0,0)) no-repeat,
    radial-gradient(900px 500px at 10% 120%, rgba(231,76,60,.15), rgba(0,0,0,0)) no-repeat,
    linear-gradient(180deg, #0b0f14 0%, #0a0d12 60%, #0c0f15 100%);
  overflow:hidden;
}
.services-bg::before{
  content:"";
  position:absolute; inset:-20%;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(130,150,255,.10), transparent 60%) no-repeat,
    radial-gradient(700px 400px at 70% 70%, rgba(255,110,110,.08), transparent 60%) no-repeat;
  animation: floatBg 18s ease-in-out infinite alternate;
  filter: blur(6px) saturate(120%);
  opacity:.8;
}
.services-bg::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(transparent 31px, rgba(255,255,255,.04) 32px),
    linear-gradient(90deg, transparent 31px, rgba(255,255,255,.04) 32px);
  background-size: 32px 32px, 32px 32px; /* subtle grid */
  opacity:.25;
  animation: gridDrift 30s linear infinite;
}

@keyframes floatBg{
  0%{ transform: translate3d(-2%, -2%, 0) scale(1); }
  100%{ transform: translate3d(2%, 2%, 0) scale(1.05); }
}
@keyframes gridDrift{
  0%{ background-position: 0 0, 0 0; }
  100%{ background-position: 64px 64px, 64px 64px; }
}

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view{ opacity:1; transform: translateY(0); }
.services-hero.reveal{ transition-delay: .05s; }
.svc.reveal:nth-child(1){ transition-delay: .05s; }
.svc.reveal:nth-child(2){ transition-delay: .10s; }
.svc.reveal:nth-child(3){ transition-delay: .15s; }
.svc.reveal:nth-child(4){ transition-delay: .20s; }
.svc.reveal:nth-child(5){ transition-delay: .25s; }
.svc.reveal:nth-child(6){ transition-delay: .30s; }
.svc.reveal:nth-child(7){ transition-delay: .35s; }

/* Hover micro-interactions */
.svc{ position:relative; }
.svc-cta{
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(166,184,255,.3);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.svc-cta::after{
  content:"";
  position:absolute; left:0; bottom:-2px; height:2px;
  width:0%; background: linear-gradient(90deg, #a9b7ff, #ff7e6c);
  transition: width .25s ease;
}
.svc:hover .svc-cta::after{ width:100%; }
.svc:hover .svc-cta{ color:#fff; border-color: rgba(231,76,60,.5); }

/* Typography + spacing tweaks */
.services-title{ letter-spacing:-.02em; }
.services-subtitle{ font-size: clamp(15px, 2.2vw, 18px); }
.svc h3{ letter-spacing:.2px; }


/* ===== Cómo Funciona: 5 pasos en una sola línea en desktop ===== */
@media (min-width: 1200px) {
  #funcionamiento .container { max-width: 1400px; }
  #funcionamiento .col-lg-10 { max-width: 100%; flex: 0 0 100%; }
  #funcionamiento .col-lg-10 > .row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
  #funcionamiento .col-md-4 { width: auto; flex: 0 0 auto; } /* neutraliza bootsrap 33% */
  #funcionamiento .process-step { padding: 16px; min-height: 100%; }
  #funcionamiento .process-step h4 { font-size: clamp(16px, 1.2vw, 18px); margin-bottom: 6px; line-height: 1.25; }
  #funcionamiento .process-step p { font-size: clamp(13px, 1vw, 14px); margin-bottom: 0; }
  #funcionamiento .step-number { font-size: clamp(18px, 2vw, 22px); }
  #funcionamiento.section { padding-top: 56px; padding-bottom: 56px; } /* compacta la altura total */
}
