/* Base Styles & Custom Properties */
:root {
    --bg-color: #050505;
    --text-primary: #f5f5f5;
    --text-secondary: #999999;
    --green-accent: #11B981;
    --nav-bg: rgba(10, 10, 10, 0.8);
    /* Menos transparente */
    --border-subtle: rgba(255, 255, 255, 0.12);
    --btn-glass: rgba(255, 255, 255, 0.03);
    --pill-bg: #e6e6e6;
}

/* Custom utility classes for responsive line breaks */
.mobile-break {
    display: none !important;
}

.desktop-break {
    display: block !important;
}

.mobile-hidden {
    display: inline !important;
}

.desktop-hidden {
    display: none !important;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #151515;
    border-radius: 5px;
    border: 2px solid #050505;
}

::-webkit-scrollbar-thumb:hover {
    background: #222;
}

/* Lenis Smooth Scroll Essential CSS (Computadoras) */
@media (min-width: 969px) {
    html.lenis,
    html.lenis body {
        height: auto;
    }

    .lenis.lenis-smooth {
        scroll-behavior: auto !important;
    }

    .lenis.lenis-smooth [data-lenis-prevent] {
        overscroll-behavior: contain;
    }

    .lenis.lenis-stopped {
        overflow: hidden;
    }

    .lenis.lenis-scrolling iframe {
        pointer-events: none;
    }
}

html {
    scroll-behavior: smooth;
}

/* Offset nativo para que las secciones no queden tapadas por la navbar fija */
section, #proyectos, #precios, #ia, #testimonios, #contacto, #servicios {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    section, #proyectos, #precios, #ia, #testimonios, #contacto, #servicios {
        scroll-margin-top: 80px;
    }
}

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

body {
    font-family: 'Satoshi', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    zoom: 1.1;
    /* Simula el zoom del 110% que tenías antes */
}

/* ==========================================================================
   ANIMATIONS (KEYFRAMES)
   ========================================================================== */
@keyframes moveAurora1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.2;
    }

    25% {
        transform: translate(40vw, -20vh) scale(1.8) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translate(10vw, 30vh) scale(0.9) rotate(180deg);
        opacity: 0.3;
    }

    75% {
        transform: translate(-30vw, -10vh) scale(2) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes moveAurora2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1.2) rotate(0deg);
        opacity: 0.4;
    }

    25% {
        transform: translate(-30vw, -30vh) scale(0.6) rotate(-90deg);
        opacity: 0.2;
    }

    50% {
        transform: translate(30vw, 20vh) scale(2.2) rotate(-180deg);
        opacity: 0.6;
    }

    75% {
        transform: translate(-10vw, -20vh) scale(1.5) rotate(-270deg);
        opacity: 0.3;
    }
}

@keyframes moveAurora3 {

    0%,
    100% {
        transform: translate(0, 0) scale(0.9) rotate(0deg);
        opacity: 0.3;
    }

    33% {
        transform: translate(-40vw, -30vh) scale(2.5) rotate(120deg);
        opacity: 0.7;
    }

    66% {
        transform: translate(20vw, 20vh) scale(0.5) rotate(240deg);
        opacity: 0.2;
    }
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }

    /* Size of the grid cell */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate(-100%, -50%);
    }

    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

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

@keyframes sparkleSpin {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
        filter: drop-shadow(0 0 2px #fff);
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
        filter: drop-shadow(0 0 8px #fff);
    }

    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.8;
        filter: drop-shadow(0 0 2px #fff);
    }
}

/* Entry Animations Classes */
.fade-in-down {
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide-in-left {
    opacity: 0;
    /* Start hidden */
    animation: slideInLeft 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}

.slide-in-right {
    opacity: 0;
    /* Start hidden */
    animation: slideInRight 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
}

.fade-up-1 {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.fade-up-2 {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.fade-up-3 {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

/* ==========================================================================
   AMBIENT BACKGROUND (AURORA PLATEADA EXTREMA + GRID ANIMADO)
   ========================================================================== */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: #000000;
    overflow: hidden;
}

/* Grid movido al .hero-grid-bg según los nuevos requerimientos */

.ambient-background::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Oscuridad profunda hacia el centro, matando muchísimo la luz externa */
    background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(0, 0, 0, 0.95) 90%);
    z-index: 2;
}

.aurora {
    position: absolute;
    /* Difuminar más grandes las manchas para que pesen en la oscuridad */
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
}

.aurora-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vh;
    background: #1e1e1e;
    /* Gris muy oscuro mate */
    animation: moveAurora1 10s infinite alternate ease-in-out;
}

.aurora-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vh;
    background: #111111;
    /* Casi negro/sombra */
    animation: moveAurora2 12s infinite alternate ease-in-out;
}

.aurora-3 {
    top: 30%;
    right: 10%;
    width: 40vw;
    height: 40vh;
    background: #252525;
    /* El pico más "iluminado" pero aún oscuro */
    animation: moveAurora3 9s infinite alternate ease-in-out;
}

.aurora-4 {
    bottom: 20%;
    left: 20%;
    width: 40vw;
    height: 40vh;
    background: #161616;
    /* Asfalto mojado oscuro */
    animation: moveAurora1 15s infinite alternate ease-in-out reverse;
}

/* ELIMINÉ EL NOISE-OVERLAY (EFECTO PIXELADO) POR TU PEDIDO */

/* ==========================================================================
   TOP NAVIGATION
   ========================================================================== */
.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.top-header {
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Estado por defecto: Negro Sólido */
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    /* Más marcado en reposo */
    border-radius: 12px;
    padding: 0.8rem 1.2rem 0.8rem 2rem;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado durante el scroll: Traslúcido */
.top-header.nav-scrolling {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border-subtle);
}

.top-header:hover {
    background: #0a0a0a;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    /* Aumentado de 32px a 40px */
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.nav-link-ia {
    color: #11B981 !important;
    /* Resalte verde IA */
    background: rgba(17, 185, 129, 0.05);
    padding: 0.4rem 1rem !important;
    border-radius: 100px;
    border: 1px solid rgba(17, 185, 129, 0.1);
    transition: all 0.3s ease;
    animation: pulseIA 2s infinite alternate;
}

@keyframes pulseIA {
    from {
        box-shadow: 0 0 5px rgba(17, 185, 129, 0.05);
    }

    to {
        box-shadow: 0 0 15px rgba(17, 185, 129, 0.2);
    }
}

.nav-link-ia:hover {
    background: rgba(17, 185, 129, 0.1);
    box-shadow: 0 0 20px rgba(17, 185, 129, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-quote {
    background: var(--btn-glass);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-quote:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.lang-container {
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lang-container:hover {
    transform: scale(1.1);
}

.lang-container img {
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   LEFT WIDGET
   ========================================================================== */
.left-widget {
    position: fixed;
    left: 0;
    top: 50%;
    background: var(--pill-bg);
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    gap: 1.5rem;
    color: #000;
    z-index: 90;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
    transition: width 0.3s ease;
}

.widget-btn {
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.widget-btn:hover {
    color: #000;
    transform: scale(1.2);
}

.nominee-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.w-logo {
    background: #000;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    width: 38px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.nominee-badge:hover .w-logo {
    transform: translateY(-5px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.nominee-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111;
}

/* ==========================================================================
   RIGHT WIDGET
   ========================================================================== */
.right-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1002; /* Above mobile menu */
}

.circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(30, 30, 30, 0.8);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
}

.circle-btn:hover {
    transform: scale(1.15) translateY(-5px);
    background: rgba(60, 60, 60, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #20b858;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   MAIN HERO CONTENT
   ========================================================================== */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: calc(23vh + 10px) 1rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 10;
}

/* Nuevo grid para el hero extraído de la solicitud */
.hero-grid-bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 40%, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 85% at 50% 40%, black 0%, transparent 70%);
    z-index: -1;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 3rem;
    text-transform: none;
    color: #fff;
    /* Aseguramos que se lea perfectamente cuando la nube blanca pase por detrás */
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

/* Animación de idle eliminada por pedido del usuario */

.highlight-wrapper {
    position: relative;
    display: inline-block;
}

.green-underline {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    z-index: -1;
    overflow: visible;
    /* Efecto Neón Suave y Estable */
    filter: drop-shadow(0 0 10px rgba(17, 185, 129, 0.5));
}

#draw-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    /* Animación de trazo única sin parpadeo */
    animation: drawPath 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.7s forwards;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Premium Glow Button Container */
.hero-cta-wrapper {
    position: relative;
    padding: 4px;
    border-radius: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Background pulse for the button */
.cta-glow-effect {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: radial-gradient(ellipse at center, rgba(17, 185, 129, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    filter: blur(20px);
}

.hero-cta-wrapper:hover .cta-glow-effect {
    opacity: 1;
}

.mockup-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(17, 185, 129, 0.12);
    /* TINTE VERDE MÁS FUERTE */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #fff;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.1rem 2.8rem;
    border: 1px solid rgba(17, 185, 129, 0.4);
    /* BORDE VERDE MÁS FUERTE */
    border-radius: 100px;
    cursor: pointer;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
}

/* Efecto de "Shimmer" */
.mockup-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.8s ease;
}

.mockup-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(17, 185, 129, 0.25);
    /* MÁS VERDE AL HOVER */
    border-color: rgba(17, 185, 129, 0.7);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(17, 185, 129, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.mockup-btn:hover::after {
    left: 150%;
}

.mockup-btn .boceto-icon {
    transform-origin: center;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(17, 185, 129, 0.5));
    color: #11B981;
}

.mockup-btn:hover .boceto-icon {
    transform: rotate(-10deg) scale(1.1);
    color: #fff;
}



.mockup-btn:hover .star-sparkle {
    animation: sparkleSpin 1.5s infinite linear;
    fill: #fff;
}

/* ==========================================================================
   HERO STATS BAR (Based on image reference)
   ========================================================================== */
.hero-stats-row {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem 2rem;
    background: transparent;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
}

.stat-label {
    font-size: 0.85rem;
    line-height: 1.1;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: -0.2px;
}

.cyan-txt {
    color: #11B981;
    /* Verde esmeralda premium */
    text-shadow: 0 0 15px rgba(17, 185, 129, 0.3);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }
}

/* ==========================================================================
   CLIENTS SECTION (Nuestros Clientes)
   ========================================================================== */
.clients-section {
    width: 100%;
    background-color: #050505;
    /* Un negro casi puro para empezar el degradado de secciones */
    padding: 2.5rem 1rem 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    position: relative;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    /* REESTABLECIDA LA LÍNEA */
}

.section-tag {
    font-size: 0.7rem;
    color: #888888;
    /* Gris equilibrado y sofisticado */
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    margin-top: 3px;
    /* Bajamos los logos 3px */
    /* Soft fade on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
    padding-right: 4rem; /* Utilizamos padding-right como puente perfecto para el gap */
    min-width: max-content; /* Fuerza a que calcule su propio contenido para que translateX(-100%) sea preciso */
    animation: marqueeScroll 20s linear infinite;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

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

.client-logo img {
    height: 48px;
    /* RESTAURADO EL TAMAÑO DE LOS LOGOS */
    width: auto;
    filter: grayscale(100%) brightness(0.7);
    /* Mantenemos B&N */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.6;
}

.client-logo img.img-belen {
    height: 60px;
    /* RESTAURADO EL TAMAÑO ESPECIAL */
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(100%) brightness(1.2);
    /* Sigue en B&N pero más brillante */
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .marquee-content {
        gap: 4rem;
        padding-left: 0;
        padding-right: 4rem;
    }

    .client-logo img {
        height: 32px;
    }
}

/* ==========================================================================
   GLOBAL SECTION COMPONENTS
   ========================================================================== */
.section-tag-center {
    font-size: 0.75rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    color: #fff;
    text-align: center;
    margin-bottom: 4.5rem;
    /* Efecto Glassmorphism más sólido y traslúcido */
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 6rem 0 4rem;
    /* UN POCO MÁS DE ESPACIO ABAJO */
    background: #0a0a0a;
}

.services-box {
    max-width: 1600px;
    margin: 0 4%;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2.2rem 3rem;
    background: #0d0d0d;
    /* Negro Mate Lindo */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 255, 255, 0.02);
}

.services-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 CUADROS POR LÍNEA */
    gap: 2rem;
}

.service-item {
    background: #111111;
    border-radius: 8px;
    padding: 2rem;
    border: 1.5px solid rgba(255, 255, 255, 0.04);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

/* Efecto de brillo barriendo al hover */
.service-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.03) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

.service-item:hover {
    border-color: rgba(17, 185, 129, 0.6);
    transform: translateY(-12px) rotateX(4deg);
    background: #131313;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(17, 185, 129, 0.15);
}

.service-item:hover::after {
    left: 140%;
    /* El brillo barre toda la tarjeta */
}

/* Animación de entrada escalonada */
.services-grid .service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.services-grid .service-item:nth-child(5) {
    animation-delay: 0.5s;
}

.services-grid .service-item:nth-child(6) {
    animation-delay: 0.6s;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.service-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.4s ease;
}

.service-item:hover .service-number {
    transform: scale(1.2) translateY(-5px);
    color: rgba(17, 185, 129, 0.1);
}

.service-tag-pill {
    background: rgba(255, 255, 255, 0.05);
    /* GRIS POR DEFECTO */
    color: #888;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
    transition: all 0.4s ease;
}

/* SISTEMA DE COLORES INDIVIDUALES AL HOVER */

/* 01 BLUE (Webs) */
.color-blue:hover {
    border-color: rgba(59, 130, 246, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(59, 130, 246, 0.1);
    background: #10141b !important;
    /* TINTE AZUL */
}

/* h3 NO cambia de color por pedido del usuario */
.color-blue:hover .service-price {
    color: #3b82f6 !important;
}

/* PRECIO AZUL AL HOVER */
.color-blue:hover .service-tag-pill {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.color-blue:hover .service-number {
    color: rgba(59, 130, 246, 0.1) !important;
}

/* 02 WHATSAPP (Green) */
.color-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(37, 211, 102, 0.1);
    background: #101813 !important;
    /* TINTE VERDE */
}

/* h3 NO cambia de color por pedido del usuario */
.color-whatsapp:hover .service-link-btn {
    color: #25D366 !important;
}

/* RECUPERADO COLOR VERDE POR PEDIDO */
.color-whatsapp:hover .service-tag-pill {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.2);
}

.color-whatsapp:hover .service-number {
    color: rgba(37, 211, 102, 0.1) !important;
}

/* 03 PURPLE (Shop) */
.color-purple:hover {
    border-color: rgba(168, 85, 247, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(168, 85, 247, 0.1);
    background: #14101b !important;
    /* TINTE PÚRPURA */
}

.color-purple:hover h3,
.color-purple:hover .service-link-btn {
    color: #a855f7 !important;
}

.color-purple:hover .service-price {
    color: #a855f7 !important;
}

/* PRECIO PÚRPURA AL HOVER */
.color-purple:hover .service-tag-pill {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.2);
}

.color-purple:hover .service-number {
    color: rgba(168, 85, 247, 0.1) !important;
}

/* 04 RED (Automation) */
.red-card:hover {
    border-color: rgba(239, 68, 68, 0.7) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(239, 68, 68, 0.25) !important;
    background: #181010 !important;
    /* TINTE ROJO */
}

.red-card:hover h3,
.red-card:hover .service-link-btn {
    color: #ef4444 !important;
}

.red-card:hover .service-tag-pill {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.red-card:hover .service-number {
    color: rgba(239, 68, 68, 0.15) !important;
}

/* 05 TEAL (Systems) */
.color-teal:hover {
    border-color: rgba(20, 184, 166, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(20, 184, 166, 0.1);
    background: #101818 !important;
    /* TINTE TEAL */
}

.color-teal:hover h3,
.color-teal:hover .service-link-btn {
    color: #14b8a6 !important;
}

.color-teal:hover .service-tag-pill {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    border-color: rgba(20, 184, 166, 0.2);
}

.color-teal:hover .service-number {
    color: rgba(20, 184, 166, 0.1) !important;
}


/* 06 GOLD (Idea) */
.color-gold:hover {
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(251, 191, 36, 0.1);
    background: #181610 !important;
    /* TINTE DORADO */
}

.color-gold:hover h3 {
    color: #fbbf24 !important;
}

.color-gold:hover .service-link-btn.highlight {
    color: #000 !important;
}

/* BOTÓN NEGRO AL HOVER */
.color-gold:hover .service-tag-pill {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

.color-gold:hover .service-icon-idea {
    color: #fbbf24;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.4));
    transform: scale(1.35);
}


.service-category {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Más espaciado para look premium */
    font-weight: 700;
    margin-bottom: 0.6rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-item:hover .service-category {
    color: #888;
}

.service-item h3 {
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    transition: all 0.4s ease;
    z-index: 2;
}

.service-item:hover h3 {
    transform: translateX(4px);
}

.service-item p {
    color: #8a8a8a;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
    flex-grow: 1;
    z-index: 2;
    transition: color 0.4s ease;
}

.service-item:hover p {
    color: #bbb;
}

.service-footer {
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    z-index: 2;
}

.service-price {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    /* MÁS CHICO */
    letter-spacing: -0.3px;
    transition: transform 0.3s ease;
}

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

.service-link-btn {
    text-decoration: none;
    color: #fff;
    /* BLANCO POR DEFECTO */
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-link-btn:hover {
    gap: 8px;
    /* SE QUEDA QUIETO EL GAP POR PEDIDO */
    filter: brightness(1.2);
}

.service-link-btn:hover i {
    transform: none;
    /* SE QUEDA QUIETA LA FLECHA POR PEDIDO */
}

.service-item:hover .service-link-btn {
    transform: translateY(-2px);
}

.service-link-btn.highlight {
    /* Color manejado individualmente por clase arriba */
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.color-gold:hover .service-link-btn.highlight {
    background: #fbbf24;
    color: #000;
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
    gap: 8px !important;
    /* NO SE MUEVE EL GAP POR PEDIDO */
}

.color-gold:hover .service-link-btn.highlight i {
    transform: none !important;
    /* NO SE MUEVE LA FLECHA POR PEDIDO */
}

.service-icon-idea {
    font-size: 2rem;
    color: #555;
    /* GRIS POR DEFECTO */
    filter: none;
    transition: all 0.4s ease;
}

@keyframes floatIdea {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.idea-card {
    background: linear-gradient(145deg, #111111 0%, #171717 100%);
    /* BORDES VERDES ELIMINADOS PARA QUE SEA IGUAL A LOS OTROS POR DEFECTO */
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
    padding: 4rem 0 4rem;
    /* REDUCIDO DE 10rem PARA SUBIR PRECIOS */
    background: #0a0a0a;
    border-bottom: none;
    /* LINEA ELIMINADA POR PEDIDO */
}

.projects-box {
    max-width: 1600px;
    margin: -1rem 4% 0;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.2rem 2rem;
    background: #0d0d0d;
    /* Negro Mate Lindo */
    /* Sombras pedidas */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 255, 255, 0.02);
}

.projects-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    /* IGUAL A LA DE AFUERA */
}

.ref-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -1.5px;
    position: relative;
    padding-right: 2.5rem;
    /* Espacio para el separador */
}

.ref-title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1.5px;
    /* IGUAL A LA DE AFUERA */
    background: rgba(255, 255, 255, 0.08);
    /* IGUAL A LA DE AFUERA */
}

.ref-subtitle {
    font-size: 0.85rem;
    color: #888;
    max-width: 500px;
    margin: 0;
    /* Centrado automático por el flexbox */
    line-height: 1.6;
    padding-top: 0.5rem;
    /* Ajuste óptico para la línea base */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding-top: 1rem;
}

.project-card {
    background: #111111;
    border-radius: 8px;
    /* ACORDE AL CUADRO */
    padding: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.04);
}

.project-card:hover {
    transform: translateY(-12px);
    background: #161616;
    border-color: rgba(255, 255, 255, 0.08);
}

.project-img-wrapper {
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
    background: #000;
    line-height: 0;
}

.project-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .project-img-wrapper img {
    opacity: 1;
    transform: scale(1.02);
}

.project-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 65px;
    height: 65px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover .project-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ELIMINADA LA ETIQUETA POR PEDIDO */

.project-content {
    padding: 1rem 1.5rem 1.5rem;
    /* MÁS AJUSTADO */
}

.project-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    /* BLANCO POR DEFECTO */
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.project-card:hover .project-content h3 {
    color: #11B981;
    /* VERDE AL PASAR EL MOUSE */
}

.project-content p {
    font-size: 0.78rem;
    /* MÁS CHICO */
    color: #999;
    line-height: 1.6;
    font-weight: 400;
    max-width: 100%;
}

/* ==========================================================================
   STANDARD PRICING SECTION (GRID)
   ========================================================================== */
.standard-pricing-section {
    padding: 4rem 0 4rem;
    background-color: #0a0a0a;
}

.pricing-boxed-container {
    padding: 3rem 2.5rem !important;
    background: #0d0d0d;
}

.pricing-header-boxed {
    text-align: center;
    margin-bottom: calc(3rem + 4px);
    /* Aumento de 4px por pedido del usuario */
}

.pricing-title-v2 {
    font-size: 4.5rem;
    /* IGUAL A TRABAJOS */
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -1.5px;
    font-family: 'Satoshi', sans-serif;
}

.pricing-subtitle-v2 {
    font-size: 0.85rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-family: 'Satoshi', sans-serif;
}

.pricing-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    /* UN POCO MÁS ANCHO PARA EL BOX */
    margin: 0 auto;
}

.pricing-card-final {
    background: #0d0d0d;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1.8rem 1.5rem;
    /* REDUCIDO VERTICALMENTE */
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    font-family: 'Satoshi', sans-serif;
}

.card-content-final {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card-final:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   CONTACT SECTION (Premium 2-Column)
   ========================================================================== */
.contact-section {
    padding: 0 0 4rem;
    /* No top padding to join testimonials */
    background: #0a0a0a;
}

.contact-main-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 5%;
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    padding: 3.5rem 0 3rem;
    align-items: center;
}

.contact-main-title {
    font-family: 'Satoshi', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.contact-main-subtitle {
    font-family: 'Satoshi', sans-serif;
    color: #888;
    font-size: 0.85rem;
    max-width: 450px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.social-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.social-link-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    width: 100%;
}

.social-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-text span {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.social-text strong {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Satoshi', sans-serif;
}

/* Right Side: CTA Green Square */
.contact-right-cta {
    position: relative;
    display: flex;
    justify-content: center;
}

.cta-green-square {
    background: radial-gradient(circle at top right, rgba(17, 185, 129, 0.15), transparent 60%),
        radial-gradient(circle at bottom left, rgba(17, 185, 129, 0.1), transparent 60%),
        #050505;
    border: 1px solid rgba(17, 185, 129, 0.3);
    padding: 3.5rem 2.5rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin-top: 3.5rem;
    text-align: center;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(17, 185, 129, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-green-square:hover {
    transform: translateY(-8px) scale(1.005);
    border-color: rgba(17, 185, 129, 0.6);
    box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(17, 185, 129, 0.2);
}

.cta-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 185, 129, 0.1);
    border: 1px solid rgba(17, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    color: #11b981;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    font-family: 'Satoshi', sans-serif;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #11b981;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.cta-square-title {
    font-family: 'Satoshi', sans-serif;
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.cta-square-desc {
    color: #88bd9e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.cta-wsp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #11b981;
    color: #000;
    /* Texto negro para mayor contraste "pro" */
    padding: 1.4rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(17, 185, 129, 0.3);
    width: 100%;
    position: relative;
    z-index: 2;
}

.cta-wsp-button:hover {
    background: #0d8a5f;
    color: #000;
    transform: scale(1.02);
}

/* Decoradores de fondo */
.cta-mesh-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(17, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-mesh-circle-1 {
    top: -150px;
    right: -150px;
}

.cta-mesh-circle-2 {
    bottom: -150px;
    left: -150px;
}

.wsp-dot-pulse {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    animation: wspPulse 2s infinite;
}

@keyframes wspPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@media (max-width: 968px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 0;
    }

    .contact-main-title {
        font-size: 3rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    padding: 1.5rem 0;
    background: #0a0a0a;
    border-top: 1.5px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.main-footer p {
    color: #555;
    font-size: 0.85rem;
    font-family: 'Satoshi', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.featured-final {
    transform: scale(1.03);
    /* REDUCIDO DE 1.05 */
    background: #111;
    border-color: rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.featured-final:hover {
    transform: scale(1.03) translateY(-10px);
}

.badge-tag-final {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.65rem;
    /* REDUCIDO */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.plan-title-final {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    /* REDUCIDO */
    text-align: center;
}

.price-box-final {
    text-align: center;
    margin-bottom: 1.2rem;
    /* REDUCIDO */
    padding-bottom: 0.8rem;
    /* REDUCIDO */
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.price-val-final {
    font-size: 2.2rem;
    font-weight: 800;
    display: block;
    color: #fff;
}

.price-type-final {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-meta-final {
    margin-bottom: 1rem;
    /* REDUCIDO */
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #aaa;
}

.plan-meta-final p {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.plan-meta-final strong {
    color: #fff;
}

.delivery-info-final {
    margin-bottom: 1.2rem;
    /* REDUCIDO */
    font-size: 0.75rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: 4px;
}

.plan-features-final {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    /* REDUCIDO */
    flex-grow: 1;
}

.plan-features-final li {
    padding-left: 1.4rem;
    position: relative;
    margin-bottom: 0.7rem;
    /* REDUCIDO */
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.3;
}

.plan-features-final li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
}

.btn-cta-final {
    display: block;
    text-align: center;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    /* COMO EL HERO */
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);

    /* EFECTO VIDRIO DEL HERO */
    font-family: 'Satoshi', sans-serif;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

/* Efecto de Shimmer (Brillo) del Hero */
.btn-cta-final::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: all 0.8s ease;
}

.btn-cta-final:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-cta-final:hover::after {
    left: 150%;
}

/* Featured card button - vidrio MUCHO más blanco e intenso */
.featured-final .btn-cta-final {
    background: rgba(255, 255, 255, 0.35);
    /* MUCHO MÁS BLANCO */
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.featured-final .btn-cta-final:hover {
    background: rgba(255, 255, 255, 0.5);
    /* SÚPER BLANCO AL HOVER */
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 768px) {
    .pricing-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .featured-final {
        transform: none;
    }

    .featured-final:hover {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   IA STRATEGY SECTION
   ========================================================================== */
.ia-section {
    max-width: 1200px;
    margin: 10rem auto;
    padding: 6rem;
    text-align: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    /* Más notoria */
}

.ia-content {
    max-width: 800px;
    margin: 0 auto;
}

.ia-content p {
    color: var(--text-secondary);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 0 2rem 3rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 2rem;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-form {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
}

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

    .section-title {
        font-size: 2.2rem;
    }
}


/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 20px;
    z-index: 1001; /* so the flag stays above menu if needed, or menu-toggle has it */
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px 0;
}

/* Hamburger animations */
.hamburger {
    width: 26px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.menu-toggle.is-active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

@media (max-width: 968px) {
    .menu-toggle {
        display: block;
        padding: 5px;
    }

    .top-header.nav-scrolling {
        background: #000 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }

    .mobile-controls {
        display: flex;
    }

    .mobile-lang {
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    body.menu-open .mobile-lang {
        opacity: 0;
        visibility: hidden;
    }

    .desktop-lang {
        display: none;
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 10vh;
        z-index: 1000;
        gap: 2.2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.7rem;
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        display: block;
        border-bottom: none;
    }


    .header-actions {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: -1.5px;
    }

    .hero-content {
        margin-top: 15vh;
        padding: 0 1.5rem;
    }

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

@media (max-width: 768px) {
    .mobile-break {
        display: block !important;
    }

    .desktop-break {
        display: none !important;
    }

    .mobile-hidden {
        display: none !important;
    }

    .desktop-hidden {
        display: inline !important;
    }

    .hero-title {
        font-size: 3.8rem !important;
        line-height: 1.05 !important;
        padding: 0 0.5rem;
        letter-spacing: -2px;
    }

    .hero-content {
        min-height: auto !important;
        padding-bottom: 2rem !important;
    }

    .mockup-btn {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.95rem !important;
        gap: 0.8rem !important;
    }

    .hero-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
        padding: 3rem 1.5rem;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .stat-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        transform: none !important;
        margin: 0 auto !important;
        width: fit-content;
        gap: 0.8rem;
    }

    .stat-item:last-child {
        grid-column: 1 / span 2;
    }

    .stat-value {
        font-size: 1.6rem !important;
        margin-bottom: 0.1rem;
    }

    .stat-label {
        font-size: 0.75rem !important;
        line-height: 1.2;
    }

    .stat-divider {
        display: none !important;
    }

    .services-grid,
    .projects-grid,
    .pricing-grid-wrapper {
        grid-template-columns: 1fr !important;
    }

    .projects-header,
    .services-header,
    .pricing-header-boxed,
    .testim-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .ref-title,
    .pricing-title-v2,
    .testim-header-title {
        font-size: 2.5rem !important;
        padding-right: 0 !important;
    }

    .ref-title::after,
    .testim-header-divider {
        display: none;
    }

    .contact-info h3 {
        font-size: 2.5rem;
    }

    .right-widget {
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {

    .cta-status-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }

    .status-dot {
        flex-shrink: 0;
        min-width: 8px;
        min-height: 8px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .cta-square-title {
        font-size: 2rem;
    }

    .nav-link {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Estrategia IA - Green Animated Rectangle
   ========================================================================== */
.ai-strategy-section {
    padding: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.ai-rectangle {
    width: 100%;
    max-width: 100%;
    background: #021f14;
    border-top: 1px solid rgba(17, 185, 129, 0.3);
    border-bottom: 1px solid rgba(17, 185, 129, 0.3);
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 100px -20px rgba(17, 185, 129, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ai-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ai-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(17, 185, 129, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(40px);
}



.section-divider-final {
    width: 100%;
    height: 1.5px;
    margin: 0;
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   TESTIMONIALS SECTION (Boxed)
   ========================================================================== */
.testimonials-section {
    padding: 4rem 0 2rem;
    background: #0a0a0a;
}

.testim-box {
    max-width: 1600px;
    margin: 0 4% 0;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2rem 2.5rem 2.5rem;
    background: #0d0d0d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 255, 255, 0.02);
}

.testim-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.testim-header-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -1.5px;
    position: relative;
    padding-right: 2.5rem;
}

.testim-header-divider {
    height: 60px;
    width: 1.5px;
    background: rgba(255, 255, 255, 0.08);
}

.testim-header-subtitle {
    font-size: 0.85rem;
    color: #888;
    max-width: 500px;
    margin: 0;
    line-height: 1.6;
}

.testim-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0 1rem;
}

.testim-slider-viewport {
    width: 100%;
    padding: 2rem 0;
}

.testim-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.2rem;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-premium:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(17, 185, 129, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(17, 185, 129, 0.1);
}

.testim-stars-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.stars-gold {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testim-date {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 600;
    text-transform: uppercase;
}

.testim-text-new {
    color: #eee;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 2rem;
    font-family: 'Satoshi', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.user-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-meta-data {
    display: flex;
    flex-direction: column;
}

.user-full-name {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.user-company {
    color: #aaa;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
}



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

@media (max-width: 768px) {
    .testim-track {
        grid-template-columns: 1fr;
    }

    .card-premium {
        min-height: auto;
    }
}

@media (max-width: 900px) {
    .testim-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .testim-header-divider {
        display: none;
    }

    .testim-header-title {
        font-size: 3rem;
        padding-right: 0;
    }
}

.ai-glow-1 {
    top: -200px;
    left: -200px;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.ai-glow-2 {
    bottom: -200px;
    right: -200px;
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

.ai-floating-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: linear-gradient(rgba(17, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(600px) rotateX(60deg);
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% {
        transform: perspective(600px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(600px) rotateX(60deg) translateY(40px);
    }
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 100px);
    }
}

.ai-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(17, 185, 129, 0.1);
    color: #11b981;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(17, 185, 129, 0.3);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.ai-badge svg {
    animation: pulseIcon 2s infinite alternate;
}

@keyframes pulseIcon {
    from {
        opacity: 0.5;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.ai-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.ai-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ai-interface {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.ai-output {
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    font-family: inherit;
    color: #e0e0e0;
    line-height: 1.6;
    padding: 1.5rem;
    background: rgba(17, 185, 129, 0.03);
    border-radius: 12px;
    text-align: left;
}

.ai-output-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    animation: pulseText 2s infinite alternate;
}

@keyframes pulseText {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

.ai-input-box {
    display: flex;
    align-items: center;
    position: relative; /* Indispensable para botón absoluto */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0 60px 0 24px; /* Espacio para el botón absoluto a la derecha */
    width: 100%;
    min-height: 56px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.ai-input-box:focus-within {
    border-color: #11b981;
    box-shadow: 0 0 15px rgba(17, 185, 129, 0.3);
}

#ai-business-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0;
    font-size: 1.05rem;
    outline: none;
    font-family: inherit;
    font-weight: 500;
}

#ai-business-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ai-submit-btn {
    background: #11b981;
    color: #000;
    border: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 12px rgba(17, 185, 129, 0.3);
}

.ai-submit-btn:hover {
    transform: scale(1.05);
    background: #10d494;
    box-shadow: 0 0 15px rgba(17, 185, 129, 0.5);
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 20px;
    background-color: #11b981;
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .ai-rectangle {
        padding: 3rem 1.5rem;
    }

    .ai-title {
        font-size: 2.2rem;
    }

    .ai-output {
        min-height: 150px;
    }

    /* Rediseño robusto para móvil: usamos flex en lugar de absolute */
    .ai-input-box {
        display: flex;
        align-items: center;
        padding: 6px 6px 6px 20px;
        min-height: 60px;
        gap: 10px;
        border-radius: 100px;
    }

    #ai-business-input {
        flex: 1;
        font-size: 1rem;
        padding-right: 0;
    }

    .ai-submit-btn {
        position: static;
        transform: none;
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(17, 185, 129, 0.3);
    }
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.9;
}