/* ==========================================================================
   Soluciones Takana — Estilos Modernos v2 (css/index-v2.css)
   Aesthetic: Ultra-modern Dark Tech / SaaS / Linear / Raycast Style
   ========================================================================== */

:root {
    --font-tech: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.font-tech {
    font-family: var(--font-tech);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Reserva el espacio del icono antes de cargar su fuente. */
.ph, .ph-bold, .ph-fill, .ph-regular {
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
    flex-shrink: 0;
}

/* ---------- 1. SPOTLIGHT CARD EFFECT (MOUSE TRACKING GLOW) ---------- */
.spotlight-card {
    position: relative;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(
        450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(34, 211, 238, 0.65),
        rgba(139, 92, 246, 0.35) 40%,
        rgba(255, 255, 255, 0.05) 80%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(6, 182, 212, 0.08),
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.spotlight-card:hover::before,
.spotlight-card:hover::after {
    opacity: 1;
}

.spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.2);
}

/* ---------- 2. INFINITE LOGO MARQUEE ---------- */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 3rem;
    animation: marquee-scroll 32s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    white-space: nowrap;
    color: #cbd5e1;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.marquee-pill:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    transform: scale(1.04);
}

.marquee-pill-hostinger {
    padding: 0.35rem 0.75rem;
    background: rgba(103, 61, 230, 0.15);
    border-color: rgba(103, 61, 230, 0.4);
}

.marquee-pill-hostinger:hover {
    border-color: rgba(147, 102, 255, 0.8);
    background: rgba(103, 61, 230, 0.3);
    box-shadow: 0 0 20px rgba(103, 61, 230, 0.4);
}

.marquee-pill-hostinger img {
    height: 26px;
    width: auto;
    display: block;
    border-radius: 6px;
}

/* ---------- 3. HERO LIVE SANDBOX SIMULATOR ---------- */
.hero-sandbox-frame {
    background: #090d16;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 1.5rem;
    box-shadow: 0 25px 60px -15px rgba(6, 182, 212, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 560px;
}

.sandbox-tab-btn {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.25s ease;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.sandbox-tab-btn.active {
    color: #fff;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* WhatsApp Live Chat Simulator Styles */
.wa-chat-container {
    background-color: #0b141a;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wa-bubble-bot {
    align-self: flex-start;
    max-width: 88%;
    background: #202c33;
    color: #e9edef;
    border-radius: 0.875rem 0.875rem 0.875rem 0.25rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: wa-bubble-appear 0.25s ease-out;
}

.wa-bubble-user {
    align-self: flex-end;
    max-width: 85%;
    background: #005c4b;
    color: #e9edef;
    border-radius: 0.875rem 0.875rem 0.25rem 0.875rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: wa-bubble-appear 0.25s ease-out;
}

@keyframes wa-bubble-appear {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: #202c33;
    border-radius: 12px;
    width: fit-content;
}

.wa-typing-dot {
    width: 6px;
    height: 6px;
    background: #8696a0;
    border-radius: 50%;
    animation: wa-typing 1.4s infinite ease-in-out;
}

.wa-typing-dot:nth-child(1) { animation-delay: 0s; }
.wa-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes wa-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* NOC Console Styles */
.noc-terminal {
    background: #05080f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    color: #38bdf8;
    font-size: 0.75rem;
    line-height: 1.5;
}

.noc-metric-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

/* ---------- 4. ROI CALCULATOR COMPACT ELEGANCE ---------- */
.roi-calculator-card {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px rgba(139, 92, 246, 0.15);
    border-radius: 1.75rem;
}

.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 9999px;
    outline: none;
    transition: all 0.2s ease;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
    border: 2px solid #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 18px rgba(6, 182, 212, 1);
}

.roi-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #06b6d4;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
    border: 2px solid #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* ---------- 5. BENTO GRID & PILL FILTER ---------- */
.filter-pill-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.filter-pill-btn:hover {
    color: #fff;
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.filter-pill-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(139, 92, 246, 0.25));
    border-color: #22d3ee;
    box-shadow: 0 0 20px -5px rgba(6, 182, 212, 0.5);
}

.service-card-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card-item.filtered-out {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

/* ---------- 6. HERO RESILIENT LAYOUT & VIDEO SHOWCASE ---------- */
.hero-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    #hero {
        padding-top: 7rem;
    }

    .hero-layout-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 3.5rem;
        align-items: start;
    }

    .hero-showcase-column {
        padding-top: 3.375rem;
    }
}

/* Hero CTA Pill Buttons (Exact proportions and styling from user screenshot) */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 44px;
    padding: 0 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #9333ea 100%);
    color: #ffffff;
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 22px rgba(6, 182, 212, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.65), 0 4px 14px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #22d3ee 0%, #60a5fa 50%, #a855f7 100%);
}

.hero-btn-primary i {
    font-size: 1.15rem;
    color: #e0f2fe;
    transition: transform 0.25s ease;
}

.hero-btn-primary:hover i {
    transform: rotate(12deg);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 44px;
    padding: 0 1.35rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.875rem; /* 14px */
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn-secondary:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(34, 211, 238, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), 0 0 16px rgba(6, 182, 212, 0.25);
}

.hero-btn-secondary i {
    font-size: 1.1rem;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.hero-btn-secondary:hover i {
    color: #38bdf8;
}

@media (max-width: 640px) {
    .hero-btn-primary, .hero-btn-secondary {
        height: 42px;
        padding: 0 1.2rem;
        font-size: 0.8125rem;
    }
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(51, 65, 85, 0.6);
    max-width: 32rem;
}

@media (max-width: 640px) {
    .hero-stats-grid {
        gap: 0.5rem;
    }
}

/* ==========================================================================
   HERO COMMAND DECK (MODERN SAAS HERO SHOWCASE - TALL ORIGINAL SIZE)
   ========================================================================== */
.hero-command-deck {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 1.75rem;
    padding: 2px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.5) 0%, rgba(139, 92, 246, 0.35) 50%, rgba(6, 182, 212, 0.15) 100%);
    box-shadow: 0 25px 65px -15px rgba(6, 182, 212, 0.3), 0 0 50px -10px rgba(139, 92, 246, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-command-deck:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 75px -15px rgba(6, 182, 212, 0.4), 0 0 60px -10px rgba(139, 92, 246, 0.32);
}

@media (max-width: 640px) {
    .hero-command-deck {
        height: auto;
        max-width: 100%;
    }
}

.hero-window-card {
    background: #030712;
    border-radius: calc(1.75rem - 2px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.hero-window-header {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
}

@media (max-width: 1023px) {
    .hero-window-header {
        height: 76px;
        flex-shrink: 0;
        gap: 0.75rem;
    }

    #hero-header-link {
        flex: 1;
        min-width: 0;
    }

    #hero-header-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    #hero-header-badge {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    .hero-window-header {
        height: 58px;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    #hero-header-link {
        flex: 1;
        min-width: 0;
    }

    #hero-header-title {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #hero-header-badge {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

.hero-video-viewport {
    position: relative;
    width: 100%;
    flex: none;
    aspect-ratio: 1 / 1;
    background: #020617;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screen-video {
    /* La resolución del video no debe cambiar el tamaño de la cuadrícula. */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) brightness(0.92);
    transition: opacity 0.35s ease;
}

.hero-video-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.35) 45%, rgba(3, 7, 18, 0.15) 100%);
    pointer-events: none;
}

.hero-screen-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.hero-screen-image[hidden],
.hero-screen-video[hidden] {
    display: none;
}

/* Nav arrows floating on sides matching Image 2 */
.hero-nav-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 25;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-nav-arrow:hover {
    background: rgba(6, 182, 212, 0.35);
    border-color: #22d3ee;
    color: #fff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.45);
}

.hero-nav-arrow-prev {
    left: 0.85rem;
}

.hero-nav-arrow-next {
    right: 0.85rem;
}

/* Floating Info Card at bottom of video matching Image 2 */
.hero-slide-info-card {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    z-index: 20;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.12);
    border-radius: 1.15rem;
    padding: 0.85rem 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dots bar at the very bottom matching Image 2 */
.hero-dots-container {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.hero-nav-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 9999px;
    transition: transform 0.2s ease;
}

.hero-nav-dot:hover {
    transform: scale(1.1);
}

.hero-nav-dot .hero-dot-pill {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.45);
    transition: all 0.25s ease;
    pointer-events: none;
}

.hero-nav-dot:hover .hero-dot-pill {
    background: rgba(148, 163, 184, 0.85);
}

.hero-nav-dot.active .hero-dot-pill {
    background: #fff;
    width: 22px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(34, 211, 238, 0.5);
}

.hero-float-badge {
    position: absolute;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: hero-badge-float 4s ease-in-out infinite alternate;
}

.hero-float-badge-topleft {
    top: 0.85rem;
    left: 0.85rem;
}

.hero-float-badge-topright {
    top: 0.85rem;
    right: 0.85rem;
    animation-delay: 1.5s;
}

@keyframes hero-badge-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.hero-ai-live-card {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    z-index: 15;
    background: rgba(10, 15, 30, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(6, 182, 212, 0.15);
    border-radius: 1rem;
    padding: 0.75rem 0.85rem;
}

.hero-tech-selector {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hero-tech-tab {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-tech-tab:hover {
    color: #fff;
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(30, 41, 59, 0.9);
}

.hero-tech-tab.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(139, 92, 246, 0.35));
    border-color: #22d3ee;
    box-shadow: 0 0 16px -2px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   VENTAJAS BENTO GRID (INSPIRADO EN STRIPE & SUPABASE)
   ========================================================================== */
.bento-card {
    position: relative;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

.bento-card-purple:hover {
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 20px 45px -10px rgba(168, 85, 247, 0.2);
}

.bento-card-cyan:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 20px 45px -10px rgba(6, 182, 212, 0.2);
}

.bento-card-emerald:hover {
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.2);
}

.bento-card-amber:hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 20px 45px -10px rgba(245, 158, 11, 0.2);
}

.bento-micro-widget {
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1rem;
    margin-top: 1.25rem;
}

.bento-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-tech);
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.bento-tag-pill:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(34, 211, 238, 0.3);
    color: #fff;
}

/* ==========================================================================
   TESTIMONIOS: MICRO-CASOS DE ÉXITO CON MÉTRICAS DE IMPACTO (OPCIÓN 1)
   ========================================================================== */
.testimonial-card {
    position: relative;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

.testimonial-card-cyan:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 20px 45px -10px rgba(6, 182, 212, 0.2);
}

.testimonial-card-emerald:hover {
    border-color: rgba(52, 211, 153, 0.45);
    box-shadow: 0 20px 45px -10px rgba(16, 185, 129, 0.2);
}

.testimonial-card-blue:hover {
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 20px 45px -10px rgba(59, 130, 246, 0.2);
}

.testimonial-card-purple:hover {
    border-color: rgba(192, 132, 252, 0.45);
    box-shadow: 0 20px 45px -10px rgba(168, 85, 247, 0.2);
}

.testimonial-card-amber:hover {
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 20px 45px -10px rgba(245, 158, 11, 0.2);
}

.border-amber-400\/60,
.testimonial-avatar-amber {
    border-color: rgba(251, 191, 36, 0.6) !important;
}

.shadow-amber-500\/10 {
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.15), 0 4px 6px -4px rgba(245, 158, 11, 0.1) !important;
}

.testimonial-quote-watermark {
    position: absolute;
    top: 0.5rem;
    right: 1.25rem;
    font-size: 5.5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    user-select: none;
}

.testimonial-kpi-badge {
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.125rem;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.trust-scoreboard {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
    .trust-scoreboard {
        border-radius: 1.25rem;
        padding: 1rem;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   FAQ HUB: SPLIT LAYOUT & ACORDEONES HIGH-TECH (OPCIÓN 1)
   ========================================================================== */
.faq-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-tech);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.faq-filter-btn:hover {
    background: rgba(30, 41, 59, 0.85);
    color: #fff;
    border-color: rgba(34, 211, 238, 0.3);
}

.faq-filter-btn.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(139, 92, 246, 0.25));
    border-color: #22d3ee;
    color: #fff;
    box-shadow: 0 0 14px -2px rgba(6, 182, 212, 0.4);
}

.faq-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.faq-card[open] {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.15);
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon-wrap {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-card[open] .faq-icon-wrap {
    transform: rotate(180deg);
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(34, 211, 238, 0.4);
    color: #22d3ee;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1rem;
}

.faq-help-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(10, 15, 30, 0.95));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.faq-help-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: radial-gradient(circle at top right, rgba(34, 211, 238, 0.12), transparent 70%);
    pointer-events: none;
}

/* ==========================================================================
   ANIMACIONES SUAVES DE APERTURA Y CIERRE (GLOBALES)
   ========================================================================== */

/* 1. Menú Móvil Desplegable */
#mobile-menu:not(.hidden) {
    animation: mobileMenuSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobileMenuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Modal de Diagnóstico de Automatización */
#automation-questionnaire-modal.flex {
    animation: modalBackdropFadeIn 0.25s ease-out forwards;
}

#automation-questionnaire-modal.flex > div {
    animation: modalBoxScaleUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalBackdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalBoxScaleUp {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================================================
   NAVBAR MODERNO (HIGH-TECH DESKTOP & MOBILE SPACING)
   ========================================================================== */
.main-nav-menu {
    display: none;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .main-nav-menu {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    .nav-item {
        font-size: 0.775rem;
        padding: 0.32rem 0.5rem;
    }
}

@media (min-width: 1200px) {
    .main-nav-menu {
        gap: 0.35rem;
    }

    .nav-item {
        font-size: 0.8125rem;
        padding: 0.35rem 0.58rem;
    }
}

@media (min-width: 1360px) {
    .main-nav-menu {
        gap: 0.45rem;
    }

    .nav-item {
        font-size: 0.825rem;
        padding: 0.38rem 0.65rem;
    }
}

@media (min-width: 1536px) {
    .main-nav-menu {
        gap: 0.55rem;
    }

    .nav-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.7rem;
    }
}

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: var(--font-tech);
    color: #cbd5e1;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.nav-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-item-cyan {
    color: #67e8f9;
}

.nav-item-cyan:hover {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(34, 211, 238, 0.25);
    box-shadow: 0 0 14px -3px rgba(6, 182, 212, 0.3);
}

.nav-item-purple {
    color: #c084fc;
}

.nav-item-purple:hover {
    color: #e879f9;
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(192, 132, 252, 0.25);
    box-shadow: 0 0 14px -3px rgba(168, 85, 247, 0.3);
}

.nav-item-robot {
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    cursor: pointer;
}

.nav-item-robot:hover {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.18);
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 16px -2px rgba(6, 182, 212, 0.4);
    transform: translateY(-1px);
}

.nav-btn-cotiza {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 1.4rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 800;
    font-family: var(--font-tech);
    color: #ffffff;
    background: linear-gradient(135deg, #0891b2, #2563eb);
    border: 1px solid rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 20px -3px rgba(6, 182, 212, 0.45);
    white-space: nowrap;
    cursor: pointer;
    margin-left: 0.4rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn-cotiza:hover {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 0 25px 0px rgba(6, 182, 212, 0.7);
    transform: translateY(-2px) scale(1.03);
}

/* ==========================================================================
   CONTACTO: SPLIT COMMAND CENTER & HIGH-TECH FORM STYLES
   ========================================================================== */
.contact-input,
.contact-textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(51, 65, 85, 0.7);
    border-radius: 0.75rem;
    color: #f8fafc;
    font-size: 0.875rem;
    font-family: var(--font-sans);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-input {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
}

.contact-textarea {
    padding: 0.75rem 1rem;
    min-height: 95px;
    resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #64748b;
    font-size: 0.8125rem;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    background: rgba(15, 23, 42, 0.95);
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), 0 0 20px -3px rgba(6, 182, 212, 0.3);
}

.service-chip,
.zone-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-tech);
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(51, 65, 85, 0.65);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.service-chip:hover,
.zone-chip:hover {
    color: #ffffff;
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.1);
    transform: translateY(-1px);
}

.service-chip.active,
.zone-chip.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(59, 130, 246, 0.2));
    border-color: #22d3ee;
    box-shadow: 0 0 16px -2px rgba(34, 211, 238, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER MODERNO (ENTERPRISE TECH HUB)
   ========================================================================== */
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
    color: #22d3ee;
    transform: translateX(3px);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.7);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    color: #ffffff;
    border-color: #22d3ee;
    background: rgba(6, 182, 212, 0.15);
    box-shadow: 0 0 14px -2px rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
}

.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.75rem;
    font-weight: 600;
    color: #6ee7b7;
    font-family: var(--font-tech);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (CYBER-TECH VIBRANT GREEN FAB WITH GLOW & TOOLTIP)
   ========================================================================== */
.whatsapp-fab-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 22px rgba(37, 211, 102, 0.5), 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-fab-btn:hover {
    transform: translateY(-2px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.8), 0 0 55px rgba(37, 211, 102, 0.4), 0 12px 28px rgba(0, 0, 0, 0.6);
}

.whatsapp-fab-icon {
    color: #ffffff;
    font-size: 2.15rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-fab-btn:hover .whatsapp-fab-icon {
    transform: rotate(14deg) scale(1.08);
}

/* Tooltip flotante a la izquierda visible solo en hover */
.whatsapp-fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(37, 211, 102, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.42rem 0.9rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-tech);
    color: #f1f5f9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(37, 211, 102, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-fab-btn:hover .whatsapp-fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Triángulo puntero del tooltip hacia la derecha */
.whatsapp-fab-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(37, 211, 102, 0.45);
    border-right: 1px solid rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   DIAGNOSTIC FLOATING BUTTON (FAB IN MOBILE, EXPANDED PILL IN DESKTOP)
   ========================================================================== */
.diagnostic-fab-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.92);
    border: 1.5px solid rgba(6, 182, 212, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35), 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.diagnostic-fab-btn:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: #22d3ee;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.65), 0 0 50px rgba(6, 182, 212, 0.25), 0 12px 28px rgba(0, 0, 0, 0.6);
}

.diagnostic-icon {
    color: #22d3ee;
    font-size: 1.6rem;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.diagnostic-fab-btn:hover .diagnostic-icon {
    transform: rotate(12deg) scale(1.08);
}

.diagnostic-text {
    display: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: #f1f5f9;
    white-space: nowrap;
    font-family: var(--font-tech);
}

/* Beacon en móvil: indicador de estado tipo badge */
.diagnostic-beacon {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    width: 10px;
    height: 10px;
}

.diagnostic-ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: #22d3ee;
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.diagnostic-dot {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 10px;
    width: 10px;
    background-color: #06b6d4;
}

/* En tablets y escritorios (>= 640px): se expande a la píldora completa */
@media (min-width: 640px) {
    .diagnostic-fab-btn {
        width: auto;
        height: auto;
        padding: 0.75rem 1.15rem;
        gap: 0.65rem;
        justify-content: flex-start;
    }

    .diagnostic-beacon {
        position: relative;
        top: auto;
        right: auto;
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    .diagnostic-ping, .diagnostic-dot {
        width: 12px;
        height: 12px;
    }

    .diagnostic-icon {
        font-size: 1.25rem;
    }

    .diagnostic-text {
        display: inline;
    }
}

/* ==========================================================================
   MODERN FOOTER (OPTION 2: PRE-FOOTER CTA + SPLIT DOCK CON GOOGLE MAPS)
   ========================================================================== */
.v2-footer-section {
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.v2-prefooter-card {
    background: radial-gradient(circle at top, rgba(6, 182, 212, 0.15) 0%, rgba(15, 23, 42, 0.95) 75%);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 1.5rem;
    padding: 2.75rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.12), 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.v2-prefooter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: var(--font-tech);
}

.v2-prefooter-title {
    font-family: var(--font-tech);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .v2-prefooter-title {
        font-size: 2.2rem;
    }
}

.v2-prefooter-desc {
    font-size: 0.925rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

.v2-prefooter-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.v2-btn-cta-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.6rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.45);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.v2-btn-cta-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.65);
    border-color: rgba(255, 255, 255, 0.5);
}

.v2-btn-cta-secondary {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #34d399;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.6rem;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.v2-btn-cta-secondary:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #34d399;
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
}

/* Split Dock Container */
.v2-footer-split {
    display: grid;
    grid-template-columns: 1.55fr 1.25fr;
    gap: 2rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem 2.25rem;
    align-items: stretch;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 900px) {
    .v2-footer-split {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.v2-footer-info-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.v2-footer-brand-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.v2-footer-badges {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.v2-footer-badge {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: #cbd5e1;
    font-family: var(--font-tech);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.v2-footer-badge-hostinger {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.v2-footer-badge-hostinger img {
    height: 27px;
    width: auto;
    display: block;
    border-radius: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.v2-footer-badge-hostinger:hover img {
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(103, 61, 230, 0.5);
}

.v2-footer-links-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.15rem;
}

.v2-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.v2-footer-links-row a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.v2-footer-links-row a:hover {
    color: #22d3ee;
}

.v2-footer-copyright {
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: var(--font-tech, monospace);
    letter-spacing: 0.02em;
    padding-top: 0.15rem;
}

/* Social Buttons Cyber-Glass */
.v2-social-buttons-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v2-social-btn-glass {
    width: 34px;
    height: 34px;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.v2-social-btn-glass.linkedin:hover {
    color: #38bdf8;
    border-color: #38bdf8;
    background: rgba(6, 182, 212, 0.15);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px) scale(1.08);
}

.v2-social-btn-glass.facebook:hover {
    color: #60a5fa;
    border-color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 16px rgba(96, 165, 250, 0.5);
    transform: translateY(-2px) scale(1.08);
}

.v2-social-btn-glass.instagram:hover {
    color: #f472b6;
    border-color: #f472b6;
    background: rgba(236, 72, 153, 0.15);
    box-shadow: 0 0 16px rgba(244, 114, 182, 0.5);
    transform: translateY(-2px) scale(1.08);
}

/* Map Card on Right - Vertically Maximized */
.v2-footer-map-card {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 250px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.08);
}

.v2-map-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #e2e8f0;
}

.v2-map-wrapper {
    flex: 1;
    width: 100%;
    min-height: 180px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0.65rem;
    position: relative;
    background: #0b1329;
}

.v2-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.v2-map-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* ==========================================================================
   BLOG COMPACT CARDS (#blog)
   ========================================================================== */
.blog-compact-grid {
    --blog-columns: 1;
    --blog-gap: 1.5rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--blog-columns) - 1) * var(--blog-gap)) / var(--blog-columns));
    grid-template-rows: minmax(4rem, auto) repeat(4, auto);
    column-gap: var(--blog-gap);
    row-gap: 0;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .25rem;
    overscroll-behavior-x: contain;
    scrollbar-color: #22d3ee #0f172a;
    scrollbar-width: thin;
    padding: .35rem .25rem 1rem;
}

.blog-compact-grid:empty { grid-template-rows: none; }

@media (min-width: 768px) {
    .blog-compact-grid {
        --blog-columns: 2;
        --blog-gap: 1.75rem;
    }

}

@media (min-width: 1024px) {
    .blog-compact-grid {
        --blog-gap: 2rem;
    }

    .blog-compact-grid:has(> :nth-child(3)) {
        --blog-columns: 3;
    }
}

.blog-compact-card {
    position: relative;
    scroll-snap-align: start;
    display: grid;
    grid-row: 1 / span 5;
    grid-template-rows: subgrid;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(51, 65, 85, 0.75);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 14px 32px -12px rgba(2, 6, 23, 0.7);
    min-width: 0;
}

.blog-compact-card--featured {
    border-color: rgba(34, 211, 238, .65);
}

.blog-card-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .7rem;
    border: 1px solid rgba(250, 204, 21, .55);
    border-radius: 9999px;
    background: rgba(15, 23, 42, .92);
    color: #facc15;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.3;
    pointer-events: none;
}

.blog-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.blog-carousel-controls[hidden], .blog-card-featured[hidden] { display: none; }

.blog-carousel-button {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #475569;
    background: #0f172a;
    color: #67e8f9;
}

.blog-carousel-button:hover:not(:disabled) { background: #164e63; border-color: #22d3ee; }
.blog-carousel-button:active:not(:disabled) { transform: scale(.95); }
.blog-carousel-button:disabled { opacity: .35; cursor: default; }
.blog-carousel-button:focus-visible, .blog-compact-grid:focus-visible, #blog a:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 3px;
}

.home-anchor { display: block; scroll-margin-top: 6rem; }

@media (prefers-reduced-motion: reduce) {
    .blog-compact-card, .blog-card-thumb img { transition: none; }
}

.blog-compact-card:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.2), 0 0 24px -8px rgba(139, 92, 246, 0.2);
}

.blog-compact-card--purple:hover {
    border-color: rgba(192, 132, 252, 0.5);
}

.blog-card-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #020617;
    border-bottom: 1px solid rgba(30, 41, 59, 0.85);
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-compact-card:hover .blog-card-thumb img {
    transform: scale(1.04);
}

.blog-card-body {
    display: grid;
    grid-row: 2 / span 4;
    grid-template-rows: subgrid;
    padding: 1.25rem 1.35rem 1.35rem;
}

.blog-card-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    font-family: var(--font-tech);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.blog-card-cat--cyan {
    color: #67e8f9;
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.35);
}

.blog-card-cat--purple {
    color: #d8b4fe;
    background: rgba(168, 85, 247, 0.14);
    border: 1px solid rgba(192, 132, 252, 0.35);
}

.blog-card-title {
    font-family: var(--font-tech);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.32;
    color: #f8fafc;
    margin-bottom: 0.55rem;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-compact-card:hover .blog-card-title a {
    color: #67e8f9;
}

.blog-compact-card--purple:hover .blog-card-title a {
    color: #d8b4fe;
}

.blog-card-excerpt {
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(30, 41, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-tech);
    font-size: 0.84rem;
    font-weight: 700;
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-compact-card--purple .blog-card-readmore {
    color: #c084fc;
}

.blog-card-readmore:hover {
    color: #ffffff;
}

.blog-card-readmore i {
    transition: transform 0.2s ease;
}

.blog-compact-card:hover .blog-card-readmore i {
    transform: translateX(3px);
}
