/* assets/css/style.css — Solutionez 2026 – v2.0 */

/* ===== VARIABLES ===== */
:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.5);
    --bg: #030712;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --card-bg: rgba(17, 24, 39, 0.7);
    --surface-border: rgba(255, 255, 255, 0.1);
    --nav-h: 70px;
    /* Floating Levels Constants */
    --f-bottom: 2rem;
    --f-gap: 12px;
    --f-size: 54px;
    --f-level-1: calc(var(--f-bottom) + var(--f-size) + var(--f-gap));
}

[data-theme="light"] {
    --bg: #f8fafc;
    --text: #0f172a;
    --text-muted: #475569;
    --card-bg: #ffffff;
    --surface-border: rgba(0, 0, 0, 0.1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* ===== INTRO OVERLAY ===== */
body.locked-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000 !important;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s;
    overflow: hidden;
    touch-action: none;
}

#intro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.intro-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.intro-logo {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    animation: scaleInBounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
}

.ez-anim {
    display: inline-block;
    color: transparent;
    opacity: 0;
    transform: translateX(-30px);
    animation:
        revealEZ 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1s,
        glowEZ 3s infinite alternate 1.6s;
}

@keyframes revealEZ {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.8) rotate(-10deg);
        color: transparent;
        text-shadow: none;
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(0deg);
        color: #ffffff;
        text-shadow: 0 0 20px var(--secondary), 0 0 40px var(--primary);
    }
}

@keyframes glowEZ {

    0%,
    100% {
        color: #ffffff;
        text-shadow: 0 0 20px var(--secondary), 0 0 40px var(--primary);
        transform: scale(1);
    }

    50% {
        color: var(--secondary);
        text-shadow: 0 0 10px var(--primary), 0 0 20px var(--secondary), 0 0 60px var(--secondary);
        transform: scale(1.03);
    }
}

.intro-tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--primary);
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: slideTwirlIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards 1.8s;
    text-transform: uppercase;
}

.skip-btn {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
    z-index: 20;
}

.skip-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px white;
}

@keyframes scaleInBounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

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

@keyframes slideTwirlIn {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-90deg) scale(0.8);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(3, 7, 18, 0.75);
    border-bottom: 1px solid var(--surface-border);
    transition: background 0.3s;
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.03em;
}

[data-theme="light"] .nav-brand {
    color: #0f172a;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.logo-light {
    display: none;
}
.logo-dark {
    display: block;
}

[data-theme="light"] .logo-light {
    display: block;
}
[data-theme="light"] .logo-dark {
    display: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: white;
}

[data-theme="light"] .nav-links a {
    color: #334155;
}

[data-theme="light"] .nav-links a:hover {
    color: #0f172a;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    z-index: 201;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #030712;
    z-index: 199;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

[data-theme="light"] .mobile-nav-drawer {
    background: #f8fafc;
}

.mobile-nav-drawer.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: 0.3s;
    letter-spacing: -0.03em;
}

.mobile-nav-drawer a:hover {
    color: var(--primary);
}

.mobile-nav-drawer .btn-cta {
    font-size: 1rem;
}

/* Cart badge */
.nav-cart-btn {
    position: relative;
    background: transparent;
    border: 1px solid var(--surface-border);
    color: inherit;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-cart-btn:hover {
    background: var(--surface-border);
    color: white;
}

[data-theme="light"] .nav-cart-btn {
    color: #334155;
    border-color: rgba(0, 0, 0, 0.15);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* CTA Buttons */
.btn-cta {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: 0.3s;
    display: inline-block;
}

.btn-cta:hover {
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    box-shadow: none !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: white !important;
    transform: translateY(-2px);
}

[data-theme="light"] .btn-outline {
    color: #0f172a !important;
    border: 2px solid #334155 !important;
    background: transparent !important;
}

[data-theme="light"] .btn-outline:hover {
    background: #0f172a !important;
    color: white !important;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: 0.3s;
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--surface-border);
}

[data-theme="light"] .theme-toggle {
    color: #334155;
    border-color: rgba(0, 0, 0, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--nav-h) + 2rem);
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.2;
    top: -100px;
    left: -100px;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    bottom: -100px;
    right: -100px;
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

[data-theme="light"] .hero-content h1 {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

[data-theme="light"] .hero-content p {
    color: #475569;
}

/* Hero background variants */
.hero.bg-image {
    background-size: cover;
    background-position: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.3;
}

/* ===== SERVICES SECTION ===== */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-heading {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-heading {
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.section-subheading {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    font-family: inherit;
}

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

[data-theme="light"] .filter-btn {
    color: #475569;
}

[data-theme="light"] .filter-btn:hover,
[data-theme="light"] .filter-btn.active {
    color: white;
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: var(--card-bg);
    border: 2px solid var(--surface-border);
    border-radius: 1rem;
    padding: 0;
    width: 340px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 1rem;
}

.service-card.hidden {
    display: none;
}

.service-card.animating {
    animation: fadeScale 0.4s ease forwards;
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.35);
    z-index: 5;
}

[data-theme="light"] .service-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* In-cart service card */
.service-card.in-cart {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3) !important;
}

.service-card.in-cart::after {
    content: '✓ En tu cotización';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 0.35rem 0.5rem;
    letter-spacing: 1px;
    z-index: 10;
    text-transform: uppercase;
}

/* Service image area */
.service-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.service-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--card-bg), transparent);
}

.service-img-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
}

.service-img-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--card-bg), transparent);
}

.service-img-placeholder i {
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.6;
    position: relative;
    z-index: 2;
}

[data-theme="light"] .service-img-placeholder {
    background: linear-gradient(135deg, #e0f2fe, #ede9fe);
}

[data-theme="light"] .service-img-placeholder i {
    color: #3b82f6;
}

[data-cat="web"] .service-img-placeholder {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.05));
}

[data-cat="web"] .service-img-placeholder i {
    color: #3b82f6;
}

[data-cat="sistemas"] .service-img-placeholder {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0.05));
}

[data-cat="sistemas"] .service-img-placeholder i {
    color: #8b5cf6;
}

[data-cat="soporte"] .service-img-placeholder {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.05));
}

[data-cat="soporte"] .service-img-placeholder i {
    color: #10b981;
}

[data-cat="web"] .service-category {
    color: #3b82f6;
}

[data-cat="sistemas"] .service-category {
    color: #8b5cf6;
}

[data-cat="soporte"] .service-category {
    color: #10b981;
}

.service-card[data-cat="web"]:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.service-card[data-cat="sistemas"]:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

.service-card[data-cat="soporte"]:hover {
    border-color: #10b981;
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.service-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

[data-theme="light"] .service-title {
    color: #1e293b;
}

.service-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

[data-theme="light"] .service-price {
    color: #0284c7;
}

/* Action row */
.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 0.5rem;
}

.btn-add {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-add:hover {
    transform: rotate(90deg) scale(1.15);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-add.in-cart {
    background: #10b981;
    color: white;
    transform: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-add.in-cart:hover {
    background: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-view-detail {
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    font-weight: 600;
    border-radius: 999px;
    font-family: inherit;
    transition: 0.3s;
    padding: 0.3rem 0.8rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: auto;
    margin-top: auto;
}

.btn-view-detail:hover {
    background: var(--primary);
    color: white;
    transform: translateX(3px);
}

/* ===== SERVICE MODAL ===== */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal {
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: 0.3s;
}

[data-theme="light"] .service-modal {
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-modal-overlay.active .service-modal {
    transform: scale(1) translateY(0);
}

.service-modal-header {
    position: relative;
}

.service-modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1.5rem 1.5rem 0 0;
    display: block;
}

.service-modal-img-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 1.5rem 1.5rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

.service-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.service-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.service-modal-body {
    padding: 2rem;
}

.service-modal-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-modal-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-modal-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-modal-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-modal-features {
    margin-bottom: 1.5rem;
}

.service-modal-features h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.service-modal-features ul {
    list-style: none;
}

.service-modal-features ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.9rem;
}

.service-modal-features ul li::before {
    content: '✓';
    color: #10b981;
    font-weight: 700;
}

.service-modal-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--surface-border);
}

.modal-qty-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--surface-border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

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

.modal-qty-val {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.modal-add-btn {
    flex: 1;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s;
    font-size: 1rem;
}

.modal-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.modal-wa-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.modal-wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

/* ===== CLIENTS SECTION – CAROUSEL ===== */
.clients-section h3 {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

/* Infinite scroll carousel */
.clients-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    /* smooth fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
}

.clients-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.clients-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.clients-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: carousel-scroll 60s linear infinite;
}

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

@keyframes carousel-scroll {
    from {
        transform: translateX(0);
    }

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

.client-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.75rem;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.client-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.client-logo-graphic {
    height: 70px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-graphic img:not(.client-svg-placeholder img) {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.client-svg-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-svg-placeholder img {
    height: 28px !important; /* Smaller, fixed height for placeholder */
    width: auto !important;
    object-fit: contain;
    opacity: 0.2; /* Subtle and doesn't distract */
    filter: grayscale(1);
}

.client-logo-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.4s ease;
    margin-top: 5px;
}

.client-logo-item:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-5px);
}

.client-logo-item:hover .client-logo-name {
    opacity: 1;
    color: var(--primary);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 4rem 2rem;
    background: #000;
    color: var(--text-muted);
    text-align: center;
}

[data-theme="light"] footer {
    background: #f1f5f9;
    color: #475569;
    border-top-color: #e2e8f0;
}

.footer-social-wa,
.footer-social-email {
    color: white;
    font-size: 2rem;
    margin: 0 1rem;
    transition: 0.3s;
    display: inline-block;
}

[data-theme="light"] .footer-social-wa {
    color: #25d366 !important;
}

[data-theme="light"] .footer-social-email {
    color: #ea4335 !important;
}

.footer-social-wa:hover {
    color: #25d366 !important;
    transform: scale(1.15);
}

.footer-social-email:hover {
    color: #ea4335 !important;
    transform: scale(1.15);
}

.footer-access-btn {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.footer-access-btn:hover {
    border-color: var(--text-muted);
}

/* ===== FLOATING BUTTONS ===== */
.floating-container {
    position: fixed;
    bottom: var(--f-bottom) !important;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: var(--f-gap);
    z-index: 90;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
}

/* Yeby Chatbot Level Synchronization */
.yeby-bubble {
    bottom: var(--f-bottom) !important;
    left: 2rem !important;
}

@media (max-width: 600px) {
    .yeby-bubble {
        left: 1.25rem !important;
    }
}

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

.btn-whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px #25d366;
}

.btn-top {
    position: fixed;
    bottom: var(--f-level-1) !important;
    left: 2rem;
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 100;
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-top:hover {
    background: #2563eb;
}

/* Help widget */
.help-widget {
    position: fixed;
    bottom: var(--f-level-1) !important;
    right: 2rem;
    z-index: 90;
}

.help-toggle-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-toggle-btn:hover {
    transform: scale(1.1);
}

.help-panel {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 280px;
    background: var(--card-bg);
    border: 1px solid var(--surface-border);
    border-radius: 1rem;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .help-panel {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.help-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.help-panel h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.help-panel a,
.help-panel button.help-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--surface-border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.help-panel a:hover,
.help-panel button.help-link:hover {
    color: var(--primary);
}

.help-panel a i,
.help-panel button.help-link i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* ===== TOUR OVERLAY (Driver.js overrides) ===== */
.driver-popover {
    font-family: 'Outfit', sans-serif !important;
    border-radius: 1rem !important;
}

.driver-popover-title {
    font-weight: 700 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        padding: 6px;
        margin-left: 0.25rem;
    }

    .services-grid {
        gap: 1.25rem;
    }

    .service-card {
        width: calc(50% - 0.65rem);
        min-width: 280px;
    }
}

@media (max-width: 600px) {
    :root {
        --f-bottom: 1.25rem;
        --f-gap: 10px;
    }
    .navbar {
        padding: 0 1.25rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .service-card {
        width: 100%;
        min-width: unset;
    }

    .floating-container {
        bottom: var(--f-bottom);
        right: 1.25rem;
    }
    
    .help-widget {
        bottom: var(--f-level-1);
        right: 1.25rem;
        left: auto;
    }

    .btn-top {
        bottom: var(--f-level-1);
        left: 1.25rem;
    }

    .skip-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1.2rem;
    }

    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}


/* Redundant carousel styles removed here */

/* Cleaned up redundant styles */

/* Cleaned up redundant styles */









.client-logo-graphic img,
.client-svg-placeholder img,
.client-svg-placeholder svg {
    height: 100%;
    max-width: 120px;
    object-fit: contain;
}

.client-logo-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    text-align: center;
}