/* ============================================
   PIXORA — Design System
   Hero section replaced with premium version.
   All other styles are original and untouched.
============================================ */

:root {
    --bg: #0A0A0A;
    --surface: #121212;
    --border: #333333;
    --primary: #1B4332;
    --primary-hover: #2D6A4F;
    --accent: #D4AF37;
    --text: #EDEDED;
    --text-muted: #A1A1A1;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --radius: 12px;

    /* Hero-specific tokens */
    --surface-2: #1a1a1a;
    --border-soft: #1e1e1e;
    --primary-glow: rgba(27, 67, 50, 0.15);
    --text-soft: #A1A1A1;
    --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* ============================================
   UTILITIES
============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-primary {
    color: var(--primary-hover);
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.justify-center {
    justify-content: center;
}

/* ============================================
   GRAIN OVERLAY
============================================ */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVBAR — refined from original
============================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
    padding: 24px 0;
    transition: padding 0.4s var(--ease-expo), background 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: var(--border-soft);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-wrapper img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-150%);
    transition: 0.4s ease;
    z-index: 199;
}

.mobile-menu.active {
    transform: translateY(0);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.35);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(27, 67, 50, 0.1);
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: scale(0.98);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* ============================================
   HERO — PREMIUM ELEVATED
============================================ */
.hero {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Atmospheric background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -15%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(ellipse at center,
            rgba(27, 67, 50, 0.12) 0%,
            rgba(27, 67, 50, 0.04) 40%,
            transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(ellipse at center,
            rgba(212, 175, 55, 0.06) 0%,
            transparent 65%);
    border-radius: 50%;
}

/* Thin horizontal rule at nav height */
.hero-nav-rule {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-soft) 30%, var(--border-soft) 70%, transparent);
    z-index: 1;
    pointer-events: none;
}

/* ---- Hero Content (left column) ---- */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 60px 60px max(60px, calc((100vw - 1200px) / 2 + 24px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 67, 50, 0.12);
    border: 1px solid rgba(45, 106, 79, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 6px 14px 6px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
    color: rgba(212, 175, 55, 0.9);
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.7s var(--ease-expo) 0.1s forwards;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
    animation: heroPulseDot 2.4s ease-in-out 0.8s infinite;
    flex-shrink: 0;
}

@keyframes heroPulseDot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 2px rgba(212, 175, 55, 0.2);
    }
}

/* Headline */
.headline {
    font-size: clamp(2.8rem, 4.5vw, 5.2rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp 0.8s var(--ease-expo) 0.22s forwards;
}

/* Subtitle */
.subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 52ch;
    margin-bottom: 44px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(14px);
    animation: heroFadeUp 0.8s var(--ease-expo) 0.36s forwards;
}

/* CTA group */
.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(12px);
    animation: heroFadeUp 0.8s var(--ease-expo) 0.5s forwards;
}

/* Trust strip */
.trust-strip {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeUp 0.8s var(--ease-expo) 0.68s forwards;
}

.trust-divider {
    width: 1px;
    height: 28px;
    background: var(--border);
    flex-shrink: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.trust-item svg,
.trust-item i[data-lucide] {
    width: 14px;
    height: 14px;
    color: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
}

/* ---- Hero Visual (right column) ---- */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 60px 20px;
    height: 100%;
}

.laptop-scene {
    width: 100%;
    max-width: 560px;
    position: relative;
    perspective: 1400px;
    perspective-origin: 50% 45%;
}

.laptop-wrapper {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.laptop-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 48px 80px rgba(0, 0, 0, 0.7)) drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
}

.laptop-glow {
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(27, 67, 50, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
    opacity: 0;
    animation: heroFadeIn 1.2s ease 1.2s forwards;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: max(60px, calc((100vw - 1200px) / 2 + 24px));
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    opacity: 0;
    animation: heroFadeIn 1s ease 1.4s forwards;
    text-transform: uppercase;
    z-index: 3;
}

.scroll-line {
    width: 28px;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-hover);
    transform: translateX(-100%);
    animation: heroScrollSweep 2.4s var(--ease-expo) 1.6s infinite;
}

@keyframes heroScrollSweep {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Bottom fade */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 3;
}

/* Hero keyframes */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {

    .badge,
    .headline,
    .subtitle,
    .cta-group,
    .trust-strip,
    .hero-scroll-indicator,
    .laptop-glow {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .dot {
        animation: none;
    }

    .scroll-line::after {
        animation: none;
    }
}

/* ============================================
   SECTIONS GENERAL
============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.overline {
    color: var(--primary-hover);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(27, 67, 50, 0.1);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-icon.accent {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--primary-hover);
}

.link-arrow.accent {
    color: var(--accent);
}

/* ============================================
   MARKETING / SOLUTIONS
============================================ */
.text-accent {
    color: var(--accent);
}

.items-center {
    align-items: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
    padding: 10px;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.feature-list strong {
    color: var(--text);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.feature-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Marketing visual */
.marketing-visual {
    position: relative;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.ad-card-preview {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: rotate(-3deg);
    transition: 0.5s ease;
}

.marketing-visual:hover .ad-card-preview {
    transform: rotate(0deg) scale(1.02);
    border-color: var(--accent);
}

.ad-header {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.skeleton-avatar {
    width: 32px;
    height: 32px;
    background: #333;
    border-radius: 50%;
}

.skeleton-text .line {
    height: 8px;
    background: #333;
    border-radius: 4px;
    margin-bottom: 4px;
}

.w-24 {
    width: 96px;
}

.w-16 {
    width: 64px;
}

.w-full {
    width: 100%;
}

.ad-image {
    background: linear-gradient(45deg, var(--primary), #000);
    height: 200px;
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.ad-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.ad-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-fake {
    background: #252525;
    color: var(--text-muted);
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Float icons / stats */
.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.icon-fb {
    top: 20%;
    right: 10%;
    color: #1877F2;
    animation-delay: 0s;
}

.icon-ig {
    bottom: 20%;
    left: 10%;
    color: #E4405F;
    animation-delay: 2s;
}

.float-stat {
    position: absolute;
    bottom: 30%;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--accent);
    padding: 10px 20px;
    border-radius: 12px;
    text-align: center;
    animation: float 5s ease-in-out infinite 1s;
}

.float-stat span {
    display: block;
    color: var(--accent);
    font-weight: 800;
    font-size: 1.2rem;
}

.float-stat small {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Solutions tabs */
.solutions-section {
    position: relative;
    overflow: hidden;
}

.solutions-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 6px;
}

.sol-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.sol-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.15), rgba(212, 175, 55, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 12px;
}

.sol-tab:hover {
    color: var(--text);
}

.sol-tab:hover::before {
    opacity: 1;
}

.sol-tab.active {
    color: var(--text);
    background: rgba(27, 67, 50, 0.2);
    border: 1px solid rgba(45, 106, 79, 0.3);
    box-shadow: 0 0 20px rgba(27, 67, 50, 0.15);
}

.sol-tab.active::before {
    opacity: 1;
}

.sol-tab svg,
.sol-tab i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.solutions-panels {
    position: relative;
    min-height: 500px;
}

.sol-panel {
    display: none;
    animation: panelFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.sol-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sol-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sol-panel-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.sol-panel-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.sol-panel-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

/* Web visual */
.web-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.browser-mockup {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: perspective(800px) rotateY(-3deg);
    transition: transform 0.6s ease;
}

.web-visual:hover .browser-mockup {
    transform: perspective(800px) rotateY(0deg) scale(1.02);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #FF5F57;
}

.browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.browser-dots span:nth-child(3) {
    background: #28C840;
}

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.browser-body {
    padding: 12px;
}

.web-hero-mock {
    height: 80px;
    background: linear-gradient(135deg, var(--primary), rgba(212, 175, 55, 0.3));
    border-radius: 8px;
    margin-bottom: 12px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.web-content-mock {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.web-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.web-line.w-60 {
    width: 60%;
}

.web-line.w-80 {
    width: 80%;
}

.web-line.w-40 {
    width: 40%;
}

.web-cards-mock {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.web-card-mock {
    flex: 1;
    height: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.icon-code {
    top: 15%;
    left: 5%;
    color: var(--primary-hover);
    animation-delay: 1s;
}

.stat-speed {
    bottom: 15%;
    right: 5%;
    border-color: var(--primary-hover);
}

.stat-speed span {
    color: var(--primary-hover) !important;
}

/* Phone mockup */
.app-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.phone-mockup {
    width: 200px;
    height: 380px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform 0.6s ease;
}

.app-visual:hover .phone-mockup {
    transform: rotate(0deg) scale(1.03);
}

.phone-notch {
    width: 80px;
    height: 20px;
    background: var(--bg);
    border-radius: 0 0 14px 14px;
    margin: 0 auto 10px;
}

.phone-screen {
    height: calc(100% - 30px);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.app-header-mock {
    height: 30px;
    background: linear-gradient(90deg, var(--primary), rgba(212, 175, 55, 0.5));
    border-radius: 8px;
    margin-bottom: 12px;
    animation: shimmer 3s ease-in-out infinite;
}

.app-list-mock {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-item-mock {
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.app-nav-mock {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-nav-mock span {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.icon-app-gear {
    top: 10%;
    right: 8%;
    color: var(--accent);
    animation-delay: 0.5s;
}

.stat-users {
    bottom: 15%;
    left: 8%;
    border-color: var(--primary-hover);
}

.stat-users span {
    color: var(--primary-hover) !important;
}

/* n8n workflow */
.n8n-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 350px;
}

.workflow-mockup {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
}

.wf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    min-width: 90px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.wf-node:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15);
}

.wf-node i,
.wf-node svg {
    width: 24px;
    height: 24px;
}

.wf-node span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wf-trigger {
    border-color: rgba(45, 106, 79, 0.5);
}

.wf-trigger i,
.wf-trigger svg {
    color: var(--primary-hover);
}

.wf-process {
    border-color: rgba(212, 175, 55, 0.3);
}

.wf-process i,
.wf-process svg {
    color: var(--accent);
}

.wf-action {
    border-color: rgba(45, 106, 79, 0.5);
}

.wf-action i,
.wf-action svg {
    color: var(--primary-hover);
}

.wf-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    position: relative;
}

.wf-connector::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    right: -3px;
    top: -2px;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.wf-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.wf-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 6s ease-in-out infinite;
}

.wf-particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.wf-particle:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 2s;
}

.wf-particle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    25% {
        transform: translate(10px, -15px);
        opacity: 0.6;
    }

    50% {
        transform: translate(-5px, -25px);
        opacity: 0.3;
    }

    75% {
        transform: translate(15px, -10px);
        opacity: 0.5;
    }
}

.stat-auto {
    bottom: 10%;
    right: 10%;
    border-color: var(--accent);
}

/* ============================================
   BRANDING SECTION
============================================ */
.branding-section {
    background: var(--bg);
    position: relative;
    padding-top: 20px;
}

.branding-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.divider-icon {
    color: var(--accent);
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

.divider-icon svg,
.divider-icon i {
    width: 20px;
    height: 20px;
}

.branding-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.bento-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(27, 67, 50, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.bento-item:hover .bento-glow {
    opacity: 1;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 40px;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 50px;
    height: 50px;
    background: rgba(27, 67, 50, 0.15);
    color: var(--primary-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.bento-icon.accent {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
}

.bento-item:hover .bento-icon {
    transform: scale(1.1);
}

.bento-item h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.bento-tags span {
    padding: 5px 14px;
    background: rgba(27, 67, 50, 0.15);
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-hover);
    font-weight: 500;
}

.branding-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   TESTIMONIOS
============================================ */
.rating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 2px;
    color: white;
}

.fill-white {
    fill: white;
    width: 16px;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    background: #0F0F0F;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: 400px;
    }
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    min-height: 80px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.carousel-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    border-color: var(--primary);
}

/* ============================================
   TRABAJOS — infinite marquee
============================================ */
.trabajos-section {
    background: #080808;
    overflow: hidden;
}

.trabajos-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.trabajos-carousel::before,
.trabajos-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}

.trabajos-carousel::before {
    left: 0;
    background: linear-gradient(to right, #080808, transparent);
}

.trabajos-carousel::after {
    right: 0;
    background: linear-gradient(to left, #080808, transparent);
}

.trabajos-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 10px 0 30px;
    animation: trabajos-scroll var(--scroll-duration, 30s) linear infinite;
    will-change: transform;
}

.trabajos-carousel:hover .trabajos-track {
    animation-play-state: paused;
}

@keyframes trabajos-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--set-width, 50%)));
    }
}

.trabajo-card {
    flex: 0 0 var(--trabajo-card-width, 420px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.trabajo-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(27, 67, 50, 0.1);
}

.trabajo-info {
    padding: 28px 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trabajo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.trabajo-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.trabajo-link {
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 10px 22px;
}

.trabajo-link i,
.trabajo-link svg {
    width: 16px;
    height: 16px;
}

.trabajo-preview {
    flex: 1;
    margin: 0 16px 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.trabajo-card:hover .trabajo-preview {
    border-color: rgba(45, 106, 79, 0.3);
}

.trabajo-browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.trabajo-browser-dots {
    display: flex;
    gap: 5px;
}

.trabajo-browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.trabajo-browser-dots span:nth-child(1) {
    background: #FF5F57;
}

.trabajo-browser-dots span:nth-child(2) {
    background: #FFBD2E;
}

.trabajo-browser-dots span:nth-child(3) {
    background: #28C840;
}

.trabajo-browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trabajo-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: var(--bg);
}

.trabajo-iframe-wrapper iframe {
    width: 200%;
    height: 200%;
    border: none;
    transform: scale(0.5);
    transform-origin: top left;
    pointer-events: none;
}

.trabajo-card:hover .trabajo-iframe-wrapper iframe {
    pointer-events: auto;
}

.trabajo-iframe-wrapper.pdf-preview iframe {
    width: 100%;
    height: 100%;
    transform: none;
}

/* ============================================
   CONTACTO
============================================ */
.contact-info {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info .label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.headline-md {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* ============================================
   FOOTER
============================================ */
.footer-content {
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-sm {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   SCROLL ANIMATE
============================================ */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MODAL
============================================ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #111;
    color: #fff;
    padding: 2rem;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: modalIn .3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.9) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.modal-images img {
    width: 100%;
    border-radius: 12px;
}

/* ============================================
   ABOUT US
============================================ */
.about-us {
    background: #080808;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 2px solid var(--primary);
    transition: 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: var(--accent);
    transform: scale(1.05);
}

.team-role {
    display: block;
    color: var(--primary-hover);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.team-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FAB
============================================ */
.fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.fab-main {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    background: rgba(255, 255, 255, 0.06);
    z-index: 10;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 0 0 rgba(0, 255, 150, 0), 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    outline: none;
    overflow: hidden;
}

.fab-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), transparent 60%);
    pointer-events: none;
}

.fab-main img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.fab-main .cross {
    position: absolute;
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: rotate(-45deg) scale(0.5);
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.fab-main .cross::before,
.fab-main .cross::after {
    content: '';
    position: absolute;
    background: rgba(0, 255, 150, 0.9);
    border-radius: 2px;
}

.fab-main .cross::before {
    width: 2px;
    height: 18px;
    left: 8px;
    top: 0;
}

.fab-main .cross::after {
    width: 18px;
    height: 2px;
    left: 0;
    top: 8px;
}

.fab-main .pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 255, 150, 0.35);
    opacity: 0;
    animation: pulse-idle 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-idle {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }

    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

.fab-main:hover {
    border-color: rgba(0, 255, 150, 0.35);
    background: rgba(255, 255, 255, 0.09);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 150, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.fab-main:active {
    transform: scale(0.95);
}

.fab.active .fab-main {
    border-color: rgba(0, 255, 150, 0.5);
    background: rgba(0, 255, 150, 0.07);
    box-shadow: 0 0 0 8px rgba(0, 255, 150, 0.05), 0 0 30px rgba(0, 255, 150, 0.15), 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fab.active .fab-main img {
    opacity: 0;
    transform: rotate(30deg) scale(0.6);
}

.fab.active .fab-main .cross {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.fab.active .fab-main .pulse-ring {
    display: none;
}

.fab-icon {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 150, 0.2);
    opacity: 0;
    transform: scale(0.4) translateY(8px);
    pointer-events: none;
    transition: opacity 0.0s, transform 0.0s, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.fab-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.1), transparent 55%);
    pointer-events: none;
}

.fab-icon svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
    stroke-width: 1.75;
}

.fab-icon::after {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 10px);
    background: rgba(15, 20, 25, 0.9);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateX(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.fab-icon:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.fab-icon:hover {
    border-color: rgba(0, 255, 150, 0.5);
    background: rgba(0, 255, 150, 0.08);
    box-shadow: 0 0 16px rgba(0, 255, 150, 0.18), 0 6px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fab-icon:hover svg {
    color: rgba(0, 255, 150, 0.95);
    transform: scale(1.1);
}

.fab.active .fab-icon {
    opacity: 1;
    pointer-events: all;
}

.fab.active .whatsapp {
    transform: translate(-76px, -4px) scale(1);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.04s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.04s, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.fab.active .instagram {
    transform: translate(-54px, -66px) scale(1);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.11s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.11s, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.fab.active .mail {
    transform: translate(-4px, -86px) scale(1);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.18s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.18s, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.fab.active .whatsapp:hover {
    transform: translate(-76px, -4px) scale(1.1) !important;
}

.fab.active .instagram:hover {
    transform: translate(-54px, -66px) scale(1.1) !important;
}

.fab.active .mail:hover {
    transform: translate(-4px, -86px) scale(1.1) !important;
}

.fab-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.fab-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   RESPONSIVE
============================================ */

/* Hero responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        align-items: start;
        padding-top: 90px;
    }

    .hero-content {
        padding: 48px 24px 24px;
        align-items: center;
        text-align: center;
    }

    .headline {
        font-size: clamp(2.4rem, 7vw, 4rem);
    }

    .subtitle {
        text-align: center;
        max-width: 60ch;
    }

    .cta-group {
        justify-content: center;
    }

    .trust-strip {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        padding: 16px 24px 48px;
        justify-content: center;
    }

    .laptop-scene {
        max-width: 400px;
    }

    .hero-scroll-indicator {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Solutions */
    .solutions-tabs {
        flex-direction: column;
    }

    .sol-tab {
        justify-content: flex-start;
        padding: 12px 18px;
    }

    .sol-panel-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sol-panel-visual {
        min-height: 300px;
    }

    /* Branding bento */
    .branding-bento {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* n8n workflow */
    .workflow-mockup {
        flex-direction: column;
        gap: 0;
    }

    .wf-connector {
        width: 2px;
        height: 30px;
    }

    .wf-connector::after {
        right: -2px;
        top: auto;
        bottom: -3px;
    }

    /* Trabajos */
    .trabajo-iframe-wrapper {
        height: 260px;
    }

    .trabajo-info {
        padding: 20px 20px 16px;
    }

    .trabajo-title {
        font-size: 1.2rem;
    }

    .trabajos-carousel::before,
    .trabajos-carousel::after {
        width: 30px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .trabajo-iframe-wrapper {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .laptop-scene {
        max-width: 320px;
    }

    .trust-strip {
        gap: 12px;
    }

    .trust-divider {
        display: none;
    }
}