:root {
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --text-main: #111827;
    --text-muted: #64748b;
    --primary: #008f9a;
    --accent: #00b2b2;
    --gradient: linear-gradient(135deg, #008f9a 0%, #00b2b2 100%);
    --gradient-text: linear-gradient(90deg, #008f9a, #00b2b2);
    --border: #e2e8f0;
    --radius: 16px;
    --nav-height: 80px;
}

.nav-links li.lang-item {
    margin-left: 15px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    opacity: 0.5;
}

.lang-btn.active {
    background: white;
    color: #020617;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.lang-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

@media (max-width:991px) {
    .nav-links li.lang-item {
        display: none !important;
    }
}

/* Mobile Controls Display */
.mobile-controls {
    display: none !important;
}

@media (max-width: 991px) {
    .mobile-controls {
        display: flex !important;
    }
}

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

html {
    scroll-behavior: smooth;
}

html,
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Custom Cursor CSS - REMOVED BY USER REQUEST */

img {
    max-width: 100%;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.navbar {
    height: var(--nav-height);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    -webkit-transform: translate3d(-50%, 0, 0);
    width: min(92%, 1240px);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 20px 40px rgba(0, 143, 154, 0.08);
    top: 10px;
    width: min(95%, 1280px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 25px;
    width: 100%;
}

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

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    aspect-ratio: auto;
}

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

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(0, 143, 154, 0.06);
}

.nav-links a i {
    font-size: 0.9em;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-links a:hover i {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-links .btn-primary {
    background: var(--gradient) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 143, 154, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 143, 154, 0.4);
    background: var(--gradient) !important;
    color: white !important;
}

.nav-links .btn-primary i {
    color: white !important;
    opacity: 1 !important;
}

.nav-links a:has(.nav-badge) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1px;
    line-height: 1.2;
    padding-top: 8px;
}

.nav-afterads-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: white;
    font-size: 0.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 6px;
    border-radius: 50px;
    line-height: 1;
    margin-top: 2px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 143, 154, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover .nav-badge {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 143, 154, 0.5);
}

@media (max-width:991px) {
    .navbar {
        top: 0;
        width: 100%;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background: rgba(255, 255, 255, 0.95);
        height: 70px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
        /* Hide by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
        /* Show when active class is added */
    }

    .mobile-controls {
        display: flex !important;
        align-items: center;
        gap: 15px;
    }

    .logo img {
        height: 32px !important;
    }
}

.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Modern Premium Mesh Background */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-mesh-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    animation: blobMove 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    opacity: 0.08;
    animation-delay: -10s;
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1) rotate(0);
    }

    33% {
        transform: translate(100px, 100px) scale(1.1) rotate(20deg);
    }

    66% {
        transform: translate(-50px, 150px) scale(0.9) rotate(-10deg);
    }

    100% {
        transform: translate(50px, -50px) scale(1) rotate(0);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.badge-hero {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 143, 154, 0.08);
    border: 1px solid rgba(0, 143, 154, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.badge-novelty {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #DE0F54 0%, #FF6600 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(222, 15, 84, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: badge-shine 3s infinite;
}

.badge-novelty::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine-effect 3s infinite;
}

.badge-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #00b2b2 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: badge-shine 3s infinite;
}

.badge-ai::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine-effect 3s infinite;
}

@keyframes shine-effect {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes badge-shine {

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

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(222, 15, 84, 0.5);
    }
}

@keyframes border-flow {
    0% {
        background-position: 0% 0%, 0% 50%;
    }

    50% {
        background-position: 0% 0%, 100% 50%;
    }

    100% {
        background-position: 0% 0%, 0% 50%;
    }
}

.badge-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    width: fit-content;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.2rem);
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: var(--text-main);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
}

.btn-glow {
    position: relative;
    padding: 18px 38px;
    border-radius: 16px;
    font-weight: 750;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(0, 143, 154, 0.3);
    transition: all 0.4s var(--e-ease);
}

.btn-glow:hover {
    box-shadow: 0 15px 40px rgba(0, 143, 154, 0.5);
    transform: translateY(-4px) scale(1.02);
}

.btn-glass {
    padding: 18px 38px;
    border-radius: 16px;
    font-weight: 750;
    font-size: 1.05rem;
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-main);
    transition: all 0.4s var(--e-ease);
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: 'Space Grotesk';
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-divider {
    width: 1px;
    height: 35px;
    background: rgba(0, 0, 0, 0.08);
}

.hero-visual-container {
    padding-left: 0;
    position: relative;
}

.main-visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    overflow: hidden;
}

.visual-glow {
    position: absolute;
    inset: -60px;
    background: radial-gradient(circle, rgba(0, 143, 154, 0.12) 0%, transparent 70%);
    z-index: -1;
}

.hero-image-frame {
    background: #ffffff;
    border-radius: 48px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 143, 154, 0.05);
    overflow: hidden;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-visual-wrapper:hover .hero-image-frame {
    transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
}

.hero-main-img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
    transition: 0.8s var(--e-ease);
}

.dashboard-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 25px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 25;
}

.dc-1 {
    top: -30px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.dc-2 {
    bottom: 40px;
    left: -40px;
    animation: float 4s ease-in-out infinite 1s;
}

.dc-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 143, 154, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.dc-info {
    display: flex;
    flex-direction: column;
}

.dc-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dc-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
}

.floating-tags {
    position: absolute;
    right: -30px;
    bottom: -10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 21;
}

.tag-item {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-main);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    animation: float 5s ease-in-out infinite;
}

.tag-item i {
    font-size: 1rem;
    color: var(--primary);
}

.t1 {
    animation-delay: 0s;
}

.t2 {
    animation-delay: 1.5s;
}

.t3 {
    animation-delay: 3s;
}

@keyframes float {

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

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes float {

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

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

@media (max-width:1024px) {
    .hero {
        padding-bottom: 120px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero p,
    .hero-metrics {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .main-visual-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width:768px) {
    .hero h1 {
        font-size: 3rem;
    }

    @media (max-width:480px) {
        .hero h1 {
            font-size: 2.2rem;
        }
    }

    .hero-metrics {
        flex-direction: column;
        gap: 20px;
    }

    .metric-divider {
        display: none;
    }

    .hero-visual-container {
        padding-left: 0;
    }

    .dc-1 {
        right: 0;
    }

    .dc-2 {
        left: 0;
    }
}

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

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

.marquee-section {
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    padding: 22px 0;
    border-top: 1px solid rgba(0, 143, 154, 0.08);
    border-bottom: 1px solid rgba(0, 143, 154, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.marquee-track {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.marquee-track span {
    font-family: 'Space Grotesk';
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-main);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.5;
}

.marquee-track span:hover {
    color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

.marquee-track .dot {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.3;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    grid-column: auto;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 45px 35px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

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

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.tech-tag {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card:nth-child(1) .service-icon {
    color: #DE0F54;
}

.service-card:nth-child(2) .service-icon {
    color: #008f9a;
}

.service-card:nth-child(3) .service-icon {
    color: #FF9800;
}

.service-card h3 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    z-index: 2;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    z-index: 2;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    z-index: 2;
    list-style: none;
    padding: 0;
}

.service-list li {
    background: rgba(0, 0, 0, 0.04);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    margin-bottom: 0 !important;
}

.service-card:hover .service-list li {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: none;
    transform: translateY(-2px);
}

.service-list li i {
    font-size: 1.1rem;
    color: #fff !important;
}

.btn-whatsapp {
    width: 100%;
    padding: 16px 30px;
    border-radius: 20px;
    background: var(--text-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s ease;
    z-index: 2;
    margin-top: auto;
}

.service-card:hover .btn-whatsapp {
    background: var(--primary);
    transform: scale(1.02);
}

.btn-whatsapp:hover {
    background: #25D366 !important;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    color: white !important;
}

.advisory-section-premium {
    position: relative;
    padding: 140px 0;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='3' cy='3' r='1.5' fill='rgba(0,0,0,0.09)'/%3E%3C/svg%3E");
    overflow: hidden;
}

.advisory-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.blur-blob {
    position: absolute;
    width: clamp(200px, 60vw, 600px);
    height: clamp(200px, 60vw, 600px);
    border-radius: 50%;
    filter: blur(80px);
    /* Reduced blur for performance and safer clipping */
    opacity: 0.12;
}

.blob-1 {
    top: -100px;
    right: -100px;
    background: var(--primary);
}

.blob-2 {
    bottom: -150px;
    left: -100px;
    background: var(--accent);
}

.relative-z {
    position: relative;
    z-index: 5;
}

.advisory-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.advisory-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.image-frame img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.advisory-visual:hover .image-frame img {
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    background: var(--primary);
    padding: 25px;
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 143, 154, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float-badge 6s ease-in-out infinite;
}

.experience-badge .count {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Space Grotesk';
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.floating-glass-card {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 24px 30px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    animation: float-badge 7s ease-in-out infinite reverse;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 143, 154, 0.2);
}

.card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.card-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.badge-mini {
    display: inline-block;
    background: rgba(0, 143, 154, 0.08);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

.title-premium {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.title-premium span {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Space Grotesk';
    font-style: normal;
    letter-spacing: 0.1em;
}

.description-premium {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 45px;
    max-width: 550px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    transition: all 0.4s;
}

.tag-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.tag-item:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 143, 154, 0.06);
}

.booking-glass-card {
    background: #ffffff;
    border: 1px solid rgba(0, 143, 154, 0.12);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 50px 100px rgba(0, 143, 154, 0.08);
    position: relative;
    overflow: hidden;
}

.features-minimal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.feature-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.feature-small i {
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-small span {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
}

.feature-small.divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    flex: 0 0 auto;
}

.action-footer {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 143, 154, 0.04);
    padding: 15px 25px;
    border-radius: 20px;
}

.info-note i {
    color: var(--primary);
    flex-shrink: 0;
}

.info-note span {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.4;
}

.btn-premium-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--text-main);
    color: white;
    padding: 24px 40px;
    border-radius: 24px;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn-premium-action:hover {
    background: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 143, 154, 0.25);
    color: white;
}

.btn-premium-action i {
    font-size: 1.4rem;
    transition: transform 0.4s;
}

.btn-premium-action:hover i {
    transform: translateX(8px);
}

@keyframes float-badge {

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

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

@media (max-width:1200px) {
    .title-premium {
        font-size: 3.5rem;
    }

    .advisory-wrapper {
        gap: 60px;
    }
}

@media (max-width:992px) {
    .advisory-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }

    .advisory-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .advisory-visual {
        margin-bottom: 60px;
        order: -1;
    }

    .expertise-tags {
        justify-content: center;
    }

    .description-premium {
        margin-left: auto;
        margin-right: auto;
    }

    .booking-glass-card {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width:576px) {
    .title-premium {
        font-size: 2.8rem;
    }

    .features-minimal {
        flex-direction: column;
        gap: 30px;
    }

    .feature-small.divider {
        display: none;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        top: -30px;
        width: max-content;
    }

    .floating-glass-card {
        bottom: -20px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 85%;
        padding: 15px 20px;
        gap: 15px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .card-value {
        font-size: 1rem;
    }
}

/* =============================================
   ECOSISTEMA MAYAR — REDESIGN PREMIUM
   ============================================= */
.ecosistema-section {
    background: #06080F;
    padding: 110px 0 130px;
    position: relative;
    overflow: hidden;
}

/* Subtle dot grid background */
.eco-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.ecosistema-section .container {
    position: relative;
    z-index: 1;
}

/* ── Preview Image ── */
.eco-card-preview {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    flex-shrink: 0;
}

.eco-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.eco-card-v2:hover .eco-card-preview img {
    transform: scale(1.04);
}

/* Gradient fade from image into card bg */
.eco-preview-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom,
            transparent 0%,
            #06080F 100%);
    pointer-events: none;
}



/* ── Header ── */
.eco-header {
    text-align: center;
    margin-bottom: 64px;
}

.eco-eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.eco-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #DE0F54);
    opacity: 0.7;
}

.eco-eyebrow-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary, #DE0F54);
}

.eco-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.eco-headline span {
    background: linear-gradient(90deg, #DE0F54 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eco-subhead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 420px;
    margin: 0 auto;
}

/* ── Grid ── */
.eco-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* ── Card ── */
.eco-card-v2 {
    position: relative;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.22, .61, .36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Shimmer top line */
.eco-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(var(--brand-rgb), 0.5) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Brand-colored top border on hover */
.eco-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--brand-rgb), 0.3);
    box-shadow: 0 24px 60px rgba(var(--brand-rgb), 0.12),
        0 0 0 1px rgba(var(--brand-rgb), 0.1);
}

.eco-card-v2:hover::after {
    opacity: 1;
}

/* Ambient glow blob */
.eco-card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-rgb), 0.18) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    transition: opacity 0.35s ease;
    opacity: 0.6;
}

.eco-card-v2:hover .eco-card-glow {
    opacity: 1;
}

/* Inner content */
.eco-card-inner {
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Top row: icon + status */
.eco-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eco-brand-icon-v2 {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brand);
    flex-shrink: 0;
    border: 1px solid rgba(var(--brand-rgb), 0.2);
}

.eco-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.eco-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: eco-pulse 2s infinite;
}

@keyframes eco-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 4px #22c55e;
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 10px #22c55e;
    }
}

/* Name + URL block */
.eco-name-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eco-name-v2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.03em;
    line-height: 1;
}

.eco-name-v2 strong {
    font-weight: 900;
    color: var(--brand);
}

.eco-url-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s;
}

.eco-url-chip:hover {
    color: var(--brand);
}

/* Category label */
.eco-category-v2 {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand);
    opacity: 0.8;
}

/* Description */
.eco-desc-v2 {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.65;
    margin: 0;
}

/* Feature pills */
.eco-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-grow: 1;
}

.eco-pills li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(var(--brand-rgb), 0.06);
    border: 1px solid rgba(var(--brand-rgb), 0.1);
    border-radius: 7px;
    padding: 6px 10px;
    transition: background 0.2s, color 0.2s;
}

.eco-pills li:hover {
    background: rgba(var(--brand-rgb), 0.13);
    color: rgba(255, 255, 255, 0.85);
}

.eco-pills li i {
    color: var(--brand);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* CTA — full width gradient */
.eco-cta-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg,
            rgba(var(--brand-rgb), 0.9) 0%,
            rgba(var(--brand-rgb), 0.6) 100%);
    border: 1px solid rgba(var(--brand-rgb), 0.3);
    transition: all 0.25s ease;
    margin-top: 4px;
}

.eco-cta-v2:hover {
    background: rgba(var(--brand-rgb), 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--brand-rgb), 0.35);
}

/* ── CTA Button (outlined) ── */
.eco-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--btn-color, #DE0F54);
    background: transparent;
    border: 1px solid var(--btn-color, #DE0F54);
    transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.2s;
    margin-top: auto;
    width: fit-content;
}

.eco-btn:hover {
    background: var(--btn-color, #DE0F54);
    color: white;
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(var(--brand-rgb), 0.3);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .eco-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .eco-grid-v2 {
        grid-template-columns: 1fr;
    }

    .eco-headline {
        font-size: 1.8rem;
    }
}

/* ============================================= */


.web-express-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: #0D1117;
}


.web-express-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0, 143, 154, 0.05) 50px, rgba(0, 143, 154, 0.05) 51px);
    transform: skewX(-20deg);
    animation: speedLines 8s linear infinite;
    pointer-events: none;
}

@keyframes speedLines {
    0% {
        transform: skewX(-20deg) translateX(0);
    }

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

.web-express-section .container {
    position: relative;
    z-index: 2;
}

.web-express-feature-list {
    list-style: none;
    padding: 0;
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.web-express-feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.web-express-feature-list li:hover {
    background: rgba(0, 143, 154, 0.1);
    border-color: rgba(0, 143, 154, 0.4);
    transform: translateX(10px);
}

.web-express-feature-list li i {
    color: var(--primary);
    font-size: 1.3rem;
}

.web-express-visual {
    position: relative;
    border-radius: 30px;
    padding: 20px;
}

.web-express-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 1s ease;
}

.web-express-visual:hover img {
    transform: scale(1.05);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(13, 17, 23, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.floating-stat {
    position: absolute;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(15px);
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.stat-1 {
    top: 15%;
    right: 5%;
    animation: float-stat-1 5s ease-in-out infinite;
}

.stat-2 {
    bottom: 20%;
    left: 5%;
    animation: float-stat-2 6s ease-in-out infinite;
}

@keyframes float-stat-1 {

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

    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes float-stat-2 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes float {

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

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

.floating-stat i {
    color: var(--primary);
    font-size: 1.4rem;
}

.floating-stat span {
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
    display: block;
    line-height: 1.2;
}

.floating-stat p {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
}

.afterads-section {
    position: relative;
    background-color: #050608;
    background-image: radial-gradient(circle at 50% 0%, #111827 0%, #050608 80%);
    padding: 140px 0;
    overflow: hidden;
    color: white;
}

.aa-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.aa-orb-1 {
    width: 600px;
    height: 600px;
    background: #3b82f6;
    top: -20%;
    left: -10%;
    animation: aa-float 15s ease-in-out infinite;
}

.aa-orb-2 {
    width: 500px;
    height: 500px;
    background: #2dd4bf;
    bottom: -10%;
    right: -5%;
    animation: aa-float 20s ease-in-out infinite reverse;
}

.aa-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.2;
}

.aa-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    pointer-events: none;
    z-index: 3;
}

#afterads-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.aa-container-v2 {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.aa-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 20;
}

.aa-top-bar::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.aa-logo-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(17, 24, 39, 0.6);
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.aa-logo-pill:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.aa-lp-icon {
    width: 24px;
    height: 24px;
}

.aa-lp-icon svg {
    width: 100%;
    height: 100%;
}

.aa-lp-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: white;
}

.aa-lp-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

.aa-lp-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.aa-badge-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #3b82f6;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aa-badge-eyebrow::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3b82f6;
}

.aa-hero-text {
    text-align: center;
    margin-bottom: 80px;
}

.aa-title-xl {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.aa-subtitle-gradient {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3b82f6 0%, #2dd4bf 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.aa-two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.aa-image-wrap {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.aa-image-glow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
    z-index: -1;
}

.aa-img {
    display: block;
    width: 100%;
    border-radius: 16px;
    position: relative;
    z-index: 2;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.aa-float-card {
    position: absolute;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: aa-float-card 6s ease-in-out infinite;
}

.aa-float-card i {
    font-size: 1.5rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 10px;
    border-radius: 10px;
}

.aa-float-card strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.aa-float-card small {
    font-size: 1rem;
    color: #2dd4bf;
    font-weight: 700;
    margin-left: 2px;
}

.aa-float-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.aa-fc-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.aa-fc-2 {
    bottom: 25%;
    left: -30px;
    animation-delay: 1.5s;
}

.aa-fc-3 {
    bottom: -15px;
    right: 40px;

    from {
        transform: translateY(0);
    }

    animation-delay:3s;
}

.aa-desc {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    border-left: 3px solid #3b82f6;
    padding-left: 24px;
}

.aa-feat-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.aa-feat-card {
    display: flex;
    gap: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.aa-feat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(10px);
}

.aa-feat-icon {
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #2dd4bf;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.aa-feat-body h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.aa-feat-body p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.aa-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.aa-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: black;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.aa-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.aa-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #2dd4bf;
    font-weight: 600;
}

@keyframes aa-float {

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

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

@keyframes aa-float-card {

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

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

@media (max-width:991px) {
    .aa-two-col {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .aa-hero-text {
        margin-bottom: 60px;
    }

    .aa-title-xl {
        font-size: 3rem;
    }

    .aa-desc {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .aa-feat-card {
        text-align: left;
    }

    .aa-cta-wrap {
        align-items: center;
    }

    .aa-top-bar {
        flex-direction: column;
        gap: 20px;
    }

    .aa-fc-1 {
        top: -20px;
        right: 0;
    }

    .aa-fc-2 {
        bottom: -20px;
        left: 0;
    }

    .aa-fc-3 {
        display: none;
    }
}

.bg-darker {
    background: #f9fafb;
    color: var(--text-main);
}

.bg-darker h2,
.bg-darker p {
    color: var(--text-main);
}

.bg-darker p {
    color: var(--text-muted);
}

/* =============================================
   ABOUT / QUIENES SOMOS — PREMIUM REDESIGN
   ============================================= */
.about-section {
    background: #ffffff;
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Ambient glows */
.about-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.about-glow-l {
    width: 500px;
    height: 500px;
    background: rgba(0, 143, 154, 0.06);
    top: -80px;
    left: -120px;
}

.about-glow-r {
    width: 400px;
    height: 400px;
    background: rgba(0, 143, 154, 0.05);
    bottom: -80px;
    right: -80px;
}

/* 2-col layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Left column ── */
.about-text-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Eyebrow */
.about-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #008f9a;
}

.about-eyebrow-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #008f9a;
}

/* Headline */
.about-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.about-headline span {
    background: linear-gradient(90deg, #008f9a, #00c9b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Body text */
.about-body {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.75;
    margin: 0;
}

.about-body strong {
    color: #1e293b;
    font-weight: 600;
}

/* Presence / flags */
.about-presence {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-presence-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #008f9a;
}

.about-flags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.about-flag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.about-flag-item img {
    height: 14px;
    border-radius: 2px;
}

.about-sep {
    color: #cbd5e1;
    font-weight: 300;
}

/* Feature boxes */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-feat-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-feat-box:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 143, 154, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.about-feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 143, 154, 0.1);
    color: #008f9a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feat-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.about-feat-box p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 561px) {
    .about-feat-box-wide {
        grid-column: span 2;
    }
}

.about-feat-box.ai-boosted {
    background-color: transparent !important;
    background-image: linear-gradient(#ffffff, #ffffff),
        linear-gradient(90deg, #7c3aed, #00b2b2, #ff6600, #7c3aed) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    background-size: 100% 100%, 300% 300% !important;
    border: 1.5px solid transparent !important;
    animation: border-flow 6s linear infinite !important;
}

.about-feat-box.ai-boosted .about-feat-icon {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.about-feat-box.ai-boosted:hover {
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12) !important;
}

/* Hybrid AI Banner Section */
.ai-banner-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(0, 178, 178, 0.04) 100%);
    border-top: 1px solid rgba(0, 143, 154, 0.08);
    border-bottom: 1px solid rgba(0, 143, 154, 0.08);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-banner-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    top: -150px;
    left: 10%;
    pointer-events: none;
}

.ai-banner-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 178, 178, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    bottom: -150px;
    right: 10%;
    pointer-events: none;
}

.ai-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.ai-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.ai-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

.ai-banner-content h2 span {
    background: linear-gradient(90deg, #7c3aed, #00b2b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-banner-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.ai-banner-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(124, 58, 237, 0.22);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.ai-tag:hover {
    transform: translateY(-3px);
    color: #fff !important;
}

.ai-tag[data-brand="mayar-ia"] {
    background: rgba(0, 242, 254, 0.08) !important;
    border-color: rgba(0, 242, 254, 0.45) !important;
    color: #00b2b2 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.ai-tag[data-brand="mayar-ia"]:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #00b2b2 100%) !important;
    border-color: #00f2fe !important;
    color: #fff !important;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4) !important;
}

/* Individual Brand Hover States */
.ai-tag[data-brand="openai"]:hover {
    background: #10a37f;
    border-color: #10a37f;
    box-shadow: 0 8px 20px rgba(16, 163, 127, 0.3);
}

.ai-tag[data-brand="gemini"]:hover {
    background: #4285F4;
    border-color: #4285F4;
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

.ai-tag[data-brand="aistudio"]:hover {
    background: #7c3aed;
    border-color: #7c3aed;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.ai-tag[data-brand="claude"]:hover {
    background: #d97706;
    border-color: #d97706;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

.ai-tag[data-brand="grok"]:hover {
    background: #111827;
    border-color: #111827;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.3);
}

.ai-tag[data-brand="photoshop"]:hover {
    background: #31a8ff;
    border-color: #31a8ff;
    box-shadow: 0 8px 20px rgba(49, 168, 255, 0.3);
}

.ai-tag[data-brand="illustrator"]:hover {
    background: #ff9a00;
    border-color: #ff9a00;
    box-shadow: 0 8px 20px rgba(255, 154, 0, 0.3);
}

.ai-tag[data-brand="figma"]:hover {
    background: #f24e1e;
    border-color: #f24e1e;
    box-shadow: 0 8px 20px rgba(242, 78, 30, 0.3);
}

.ai-tag[data-brand="midjourney"]:hover {
    background: #00b2b2;
    border-color: #00b2b2;
    box-shadow: 0 8px 20px rgba(0, 178, 178, 0.3);
}

@media (max-width: 768px) {
    .ai-banner-tags {
        gap: 10px;
        margin-top: 25px;
    }
    .ai-tag {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .ai-banner-content h2 {
        font-size: 2rem;
    }

    .ai-banner-content p {
        font-size: 1rem;
    }
}

/* Partner logos */
.about-partners {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-partners-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
}

.about-partners-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
    width: fit-content;
}

.partner-logo {
    height: 36px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ── Right column: Image stack ── */
.about-img-col {
    position: relative;
}

.about-img-stack {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 16px;
    padding-bottom: 60px;
}

.about-img-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    display: block;
}

.about-img-secondary {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(80px);
    display: block;
}

/* Floating stat badge */
.about-stat-badge {
    position: absolute;
    bottom: 10px;
    left: -20px;
    z-index: 10;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.about-stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #008f9a;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.about-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-img-secondary {
        transform: translateY(0);
    }

    .about-img-stack {
        padding-bottom: 0;
    }

    .about-stat-badge {
        left: auto;
        right: 10px;
        bottom: -20px;
    }
}

@media (max-width: 560px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-img-main {
        height: 260px;
    }

    .about-img-secondary {
        height: 180px;
    }
}

/* ============================================= */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


.image-box {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: white;
    color: black;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-badge i {
    color: var(--primary);
}

.text-box .subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.text-box h2 {
    font-size: 3rem;
    margin: 15px 0 25px;
    color: var(--text-main);
}

.text-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 143, 154, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.feature-box-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 143, 154, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.image-grid-about {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
    overflow: visible;
    padding-bottom: 80px;
}

.image-grid-about img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.image-grid-about .img-1 {
    height: 400px;
}

.image-grid-about .img-2 {
    height: 300px;
    transform: translateY(90px);
}

.cta-section {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.cta-section p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-options-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    transition: 0.3s;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-card-whatsapp .contact-icon-wrapper {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    transition: 0.3s;
}

.contact-card-whatsapp:hover .contact-icon-wrapper {
    background: #25D366;
    color: white;
}

.contact-card-telegram .contact-icon-wrapper {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
    transition: 0.3s;
}

.contact-card-telegram:hover .contact-icon-wrapper {
    background: #0088cc;
    color: white;
}

.contact-card-email .contact-icon-wrapper {
    background: rgba(234, 67, 53, 0.1);
    color: #EA4335;
    transition: 0.3s;
}

.contact-card-email:hover .contact-icon-wrapper {
    background: #EA4335;
    color: white;
}

footer {
    position: relative;
    padding: 60px 0 0;
    background: #080a0c;
    color: white;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 143, 154, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand img {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transition: 0.5s;
}

.footer-brand img:hover {
    filter: drop-shadow(0 0 25px rgba(0, 143, 154, 0.4));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 20px 0 30px;
    max-width: 390px;
    text-align: left;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 143, 154, 0.3);
}

/* WhatsApp Channel Button */
.wa-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 0px;
    padding: 10px 18px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 100px;
    color: #25D366;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.wa-channel-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.wa-channel-btn:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.wa-channel-btn:hover svg {
    transform: scale(1.1);
}

/* Telegram Channel Button */
.tg-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 18px;
    background: rgba(0, 136, 204, 0.08);
    border: 1px solid rgba(0, 136, 204, 0.25);
    border-radius: 100px;
    color: #0088cc;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.tg-channel-btn i {
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tg-channel-btn:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.35);
}

.tg-channel-btn:hover i {
    transform: scale(1.1);
}

/* Instagram Channel Button */
.ig-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 18px;
    background: rgba(228, 64, 95, 0.08);
    border: 1px solid rgba(228, 64, 95, 0.25);
    border-radius: 100px;
    color: #e4405f;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
}

.ig-channel-btn i {
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ig-channel-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4);
}

.ig-channel-btn:hover i {
    transform: scale(1.1);
}

.footer-links h4,
.footer-contact h4,
.footer-info h4,
.footer-brand h4 {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-info h4::after,
.footer-brand h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

/* Ubicaciones: segundo h4 dentro de la columna Herramientas */
.footer-links h4[data-i18n="footer-locations"] {
    margin-bottom: 20px;
}

.footer-menu-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.footer-menu-icons li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-menu-icons li i,
.footer-menu-icons li a i {
    width: 30px;
    height: 30px;
    background: rgba(0, 143, 154, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.footer-menu-icons li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-menu-icons li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-menu-icons li a:hover i {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 143, 154, 0.5);
}

/* Specific adjustments for duotone icons to ensure premium feel */
.ph-duotone {
    --ph-fill-opacity: 0.2;
}

/* Channel Badges */

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a {
    font-size: 0.8rem;
}

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a .ph-whatsapp-logo {
    color: var(--primary);
}

h4[data-i18n="footer-social-title"]+.footer-menu-icons li a:hover i.ph-facebook-logo {
    background: #1877F2;
    color: white;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.5);
}

h4[data-i18n="footer-social-title"]+.footer-menu-icons li a:hover i.ph-instagram-logo {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}

h4[data-i18n="footer-social-title"]+.footer-menu-icons li a:hover i.ph-linkedin-logo {
    background: #0077b5;
    color: white;
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.5);
}

h4[data-i18n="footer-social-title"]+.footer-menu-icons li a:hover i.ph-tiktok-logo {
    background: #000000;
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a:hover i.ph-whatsapp-logo {
    background: #25D366;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a .ph-telegram-logo {
    color: var(--primary);
}

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a:hover i.ph-telegram-logo {
    background: #0088cc;
    color: white;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.5);
}

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a .ph-instagram-logo {
    color: var(--primary);
}

h4[data-i18n="footer-channels-title"]+.footer-menu-icons li a:hover i.ph-instagram-logo {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.5);
}


.footer-menu-icons {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu-icons li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-menu-icons li a small {
    font-size: 0.5em;
    opacity: 0.5;
    margin-left: 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.footer-contact .footer-menu-icons li a {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}


.footer-contact .footer-menu-icons li a:hover {
    border-color: var(--primary);
    transform: none;
}

.contact-country-label {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.contact-country-label.mex {
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.contact-country-label.usa {
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.contact-info-item i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.legal-grid {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 20px;
}

.legal-grid a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.legal-grid a:hover {
    color: var(--primary);
}

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

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

    .footer-brand {
        text-align: left;
        align-items: flex-start;
    }
}

.footer-menu-icons li a:hover .fa-lightbulb {
    color: #FFD700;
    transform: scale(1.1);
}

.footer-menu-icons .fa-briefcase {
    color: #FFFFFF;
}

.footer-menu-icons li a:hover .fa-briefcase {
    color: #000000;
    transform: scale(1.1);
}

.footer-menu-icons .fa-globe {
    color: #E91E63;
}

.footer-menu-icons li a:hover .fa-globe {
    color: #E91E63;
    transform: scale(1.1);
}

.footer-menu-icons .fa-chart-line {
    color: #00BCD4;
}

.footer-menu-icons li a:hover .fa-chart-line {
    color: #00BCD4;
    transform: scale(1.1);
}

.footer-menu-icons .fa-server {
    color: #FF9800;
}

.footer-menu-icons li a:hover .fa-server {
    color: #FF9800;
    transform: scale(1.1);
}

.footer-links .fa-gamepad {
    color: #9C27B0;
}

.footer-menu-icons li a:hover .fa-gamepad {
    color: #9C27B0;
    transform: scale(1.1);
}

.footer-links .fa-money-bill-trend-up {
    color: #4CAF50;
}

.footer-menu-icons li a:hover .fa-money-bill-trend-up {
    color: #4CAF50;
    transform: scale(1.1);
}

.footer-menu-icons .ph-heart {
    color: #4CAF50;
}

.footer-menu-icons li a:hover .ph-heart {
    color: #2E7D32;
    transform: scale(1.1);
}

.footer-links .fa-calculator,
.footer-links .ph-calculator {
    color: #FF9800;
    border-color: rgba(255, 152, 0, 0.2) !important;
}

.footer-menu-icons li a:hover .ph-calculator {
    color: #F57C00;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: left;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width:992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-grid,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

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

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

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

@media (max-width: 991px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .line {
        width: 30px;
        height: 2px;
        background: #111827;
        transition: all 0.3s ease;
    }
}

@media (max-width: 576px) {
    .mobile-lang-switcher {
        display: flex !important;
        align-items: center;
        background: rgba(0, 0, 0, 0.05);
        padding: 4px;
        border-radius: 50px;
        border: 1px solid var(--border);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .footer-contact {
        border-bottom: none;
        margin-bottom: 0px;
        padding-bottom: 0px;
    }

    .footer-brand p,
    .footer-brand img {
        margin-left: 0;
        margin-right: 0;
    }

    .socials {
        justify-content: flex-start;
    }

    .footer-menu-icons,
    .footer-links ul {
        width: 100%;
    }

    .footer-menu-icons li,
    .footer-links ul li {
        width: 100%;
    }

    .footer-menu-icons li a,
    .footer-links ul li a {
        justify-content: flex-start;
        width: 100%;
    }

    .footer-contact p {
        justify-content: flex-start;
    }

    .footer-menu-icons li a:hover,
    .footer-links ul li a:hover {
        transform: translateX(5px);
    }

    .footer-contact p span {
        display: inline-block;
        margin-bottom: 5px;
    }

    footer {
        padding-left: 6%;
        padding-right: 6%;
    }
}

.bg-light-alt {
    background: #f3f4f6;
}

.feature-light {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.feature-light i {
    color: var(--primary);
}

.image-grid-about {
    position: relative;
    height: 500px;
}

.image-grid-about img {
    border-radius: var(--radius);
    position: absolute;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img-1 {
    width: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-2 {
    width: 55%;
    height: 300px;
    object-fit: cover;
    bottom: -30px;
    right: -20px;
    z-index: 2;
    border: 8px solid white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.slider-wrapper {
    display: flex;
    position: relative;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
    margin: 0;
    padding: 0;
    height: 100%;
}

.project-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    opacity: 0;
}

.project-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.project-slider:not(:has(.project-slide:nth-child(2))) .slider-btn {
    display: none;
}

.project-info {
    padding: 25px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 5;
}

.category {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.project-info h3 {
    margin-top: 5px;
    font-size: 1.3rem;
    color: var(--text-main);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.project-location {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.project-card:hover .project-location {
    border-color: var(--primary);
    background: rgba(0, 143, 154, 0.05);
    color: var(--primary);
}

.project-flag {
    width: 16px;
    height: 16px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.stars {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.client-info strong {
    display: block;
    color: var(--text-main);
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.btn-outline-dark {
    border: 1px solid var(--text-main);
    color: var(--text-main);
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-outline-dark:hover {
    background: var(--text-main);
    color: white;
}

@media (max-width:768px) {
    .image-grid-about {
        height: 400px;
    }

    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0 60px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-loop 40s linear infinite;
}

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

.testimonial-slide {
    width: 400px;
    flex-shrink: 0;
    white-space: normal;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

    100% {
        transform: translateX(calc(-1 * (400px + 30px) * 6));
    }
}

@media (max-width:768px) {
    .testimonial-slide {
        width: 300px;
    }

    @keyframes scroll-loop {
        100% {
            transform: translateX(calc(-1 * (300px + 30px) * 6));
        }
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    text-align: left;
}

.service-card p {
    flex-grow: 1;
}

.service-card:nth-child(1) {
    background-color: #E91E63;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='4' r='2' fill='rgba(255,255,255,0.09)'/%3E%3C/svg%3E");
    border-color: #E91E63;
    color: #fff !important;
}

.service-card:nth-child(1):hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
}

.service-card:nth-child(1) h3,
.service-card:nth-child(1) p,
.service-card:nth-child(1) .service-list li {
    color: #fff !important;
}

.service-card:nth-child(1) .service-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(1) .btn-whatsapp {
    background-color: #fff;
    color: #E91E63 !important;
}

.service-card:nth-child(1) .btn-whatsapp:hover {
    background-color: #f1f1f1;
    color: #C2185B !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* AI Flowing Card Overrides for Service 1 */
.service-card:nth-child(1).ai-flow-card {
    background-color: transparent !important;
    background-image: linear-gradient(135deg, #7c3aed 0%, #00b2b2 100%),
        linear-gradient(90deg, #ff6600, #7c3aed, #00b2b2, #ff6600) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    background-size: 100% 100%, 300% 300% !important;
    border: 2px solid transparent !important;
    animation: border-flow 6s linear infinite !important;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3) !important;
}

.service-card:nth-child(1).ai-flow-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.5) !important;
    background-color: transparent !important;
}

.service-card:nth-child(1).ai-flow-card .btn-whatsapp {
    background-color: #fff !important;
    background-image: none !important;
    color: #7c3aed !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.service-card:nth-child(1).ai-flow-card .btn-whatsapp:hover {
    background-color: #f1f1f1 !important;
    color: #00b2b2 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
}

/* AI List Item highlight */
.ai-list-item {
    font-weight: 700 !important;
    color: #ffffff !important;
}

.ai-list-item i {
    color: #ffca28 !important;
    /* Glowing Gold */
    text-shadow: 0 0 8px rgba(255, 202, 40, 0.6);
}

.card-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 30px !important;
    margin-top: 2px !important;
    margin-bottom: 18px !important;
    align-self: flex-start !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    width: fit-content !important;
}

.card-ai-badge i {
    color: #ffca28 !important;
    /* Glowing Gold Sparkle */
    font-size: 0.8rem !important;
}

/* Card 2 */
.service-card:nth-child(2) {
    background-color: #00BCD4;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-2 18L18 -2M-2 2L2 -2M14 18L18 14' stroke='rgba(255,255,255,0.09)' stroke-width='1.5'/%3E%3C/svg%3E");
    border-color: #00BCD4;
    color: #fff !important;
}

.service-card:nth-child(2):hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
}

.service-card:nth-child(2) h3,
.service-card:nth-child(2) p,
.service-card:nth-child(2) .service-list li {
    color: #fff !important;
}

.service-card:nth-child(2) .service-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(2) .btn-whatsapp {
    background-color: #fff;
    color: #00BCD4 !important;
}

.service-card:nth-child(2) .btn-whatsapp:hover {
    background-color: #f1f1f1;
    color: #0097A7 !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Card 3 */
.service-card:nth-child(3) {
    background-color: #FF9800;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1'/%3E%3C/svg%3E");
    border-color: #FF9800;
    color: #fff !important;
}

.service-card:nth-child(3):hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.4);
}

.service-card:nth-child(3) h3,
.service-card:nth-child(3) p,
.service-card:nth-child(3) .service-list li {
    color: #fff !important;
}

.service-card:nth-child(3) .service-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.service-card:nth-child(3) .btn-whatsapp {
    background-color: #fff;
    color: #FF9800 !important;
}

.service-card:nth-child(3) .btn-whatsapp:hover {
    background-color: #f1f1f1;
    color: #F57C00 !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Service Card Hover Overlays (Darkened Primary Colors) */
.service-card:nth-child(1)::after {
    background: linear-gradient(135deg, transparent, rgba(136, 14, 79, 0.45));
}

.service-card:nth-child(2)::after {
    background: linear-gradient(135deg, transparent, rgba(0, 96, 100, 0.45));
}

.service-card:nth-child(3)::after {
    background: linear-gradient(135deg, transparent, rgba(230, 81, 0, 0.45));
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #333;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    width: fit-content;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
}

.project-img {
    aspect-ratio: 3/4;
    overflow: hidden;
    height: auto !important;
}

.project-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

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

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

.client-slider-section {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.client-slide-track {
    display: flex;
    width: max-content;
    animation: client-scroll-desktop 20s linear infinite;
}

.client-slide-item {
    width: 240px;
    flex-shrink: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-slide-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
    max-height: 100px;
}

.client-slide-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

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

@media (max-width:1200px) {
    .client-slide-item {
        width: 20vw;
    }

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

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

    .client-slide-track {
        animation-name: client-scroll-tablet;
    }
}

@media (max-width:768px) {
    .client-slide-item {
        width: 33.33vw;
        padding: 0 10px;
    }

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

        100% {
            transform: translateX(-166.65vw);
        }
    }

    .client-slide-track {
        animation-name: client-scroll-mobile;
        animation-duration: 15s;
    }
}

.float-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.float-whatsapp {
    right: 30px;
    background-color: #25d366;
}

.float-telegram {
    left: 30px;
    background-color: #0088cc;
}

@media (max-width:768px) {
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }

    .float-whatsapp {
        right: 20px;
    }

    .float-telegram {
        left: 20px;
    }
}

/* =============================================
   METODOLOGÍA MAYAR — PREMIUM REDESIGN
   ============================================= */
#clientes {
    padding-bottom: 20px !important;
}

.methodology-section {
    background: linear-gradient(160deg, #060c14 0%, #0a1628 50%, #071020 100%);
    padding: 120px 0 160px;
    position: relative;
    overflow: hidden;
}

/* Ambient grid */
.mth-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(0, 188, 212, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 0%, rgba(0, 143, 154, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.mth-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 143, 154, 0.12) 0%, transparent 70%);
    top: -250px;
    left: -200px;
    animation: blobMove 30s infinite alternate ease-in-out;
}

.mth-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
    animation: blobMove 25s infinite alternate-reverse ease-in-out;
}

.mth-header {
    text-align: center;
    margin-bottom: 90px;
    position: relative;
    z-index: 10;
}

.mth-eyebrow {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.08);
    padding: 8px 22px;
    border-radius: 100px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    margin-bottom: 28px;
    display: inline-block;
}

.mth-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 28px;
}

.mth-headline span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mth-subhead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.mth-subhead strong {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Steps Grid ── */
.mth-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 10;
}

/* Connector Path Line */
.mth-connector {
    position: absolute;
    top: 60px;
    left: 40px;
    right: 40px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.mth-connector-fill {
    height: 100%;
    width: 0;
    background: var(--gradient);
    transition: width 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.methodology-section.aos-animate .mth-connector-fill {
    width: 100%;
}

/* ── Modern Step Card ── */
.mth-step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px 28px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    backdrop-filter: blur(12px);
    z-index: 2;
}

.mth-step:hover {
    transform: translateY(-12px);
    border-color: rgba(var(--step-rgb, 0, 143, 154), 0.5);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(var(--step-rgb, 0, 143, 154), 0.15);
    background: rgba(var(--step-rgb, 0, 143, 154), 0.08);
}

.mth-step::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, var(--step-color, var(--primary)), transparent 50%, var(--step-color, var(--primary)));
    -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;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mth-step:hover::after {
    opacity: 1;
}

.mth-step-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.mth-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(var(--step-rgb, 0, 143, 154), 0.15);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    transition: all 0.5s ease;
}

.mth-step:hover .mth-num {
    color: rgba(var(--step-rgb, 0, 143, 154), 0.35);
    transform: scale(1.1);
}

.mth-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(var(--step-rgb, 0, 143, 154), 0.12);
    border: 1px solid rgba(var(--step-rgb, 0, 143, 154), 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--step-color, var(--primary));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.mth-step:hover .mth-icon-wrap {
    background: var(--step-color, var(--primary));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(var(--step-rgb, 0, 143, 154), 0.4);
    border-color: transparent;
}

.mth-step.is-focused {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(var(--step-rgb, 0, 143, 154), 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(var(--step-rgb, 0, 143, 154), 0.15);
    background: rgba(var(--step-rgb, 0, 143, 154), 0.08);
}

.mth-step.is-focused .mth-icon-wrap {
    background: var(--step-color, var(--primary));
    color: white;
    box-shadow: 0 15px 30px rgba(var(--step-rgb, 0, 143, 154), 0.4);
    border-color: transparent;
}

.mth-step.is-focused .mth-num {
    color: rgba(var(--step-rgb, 0, 143, 154), 0.35);
}

.mth-step-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.mth-step-body p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 20px;
}

.mth-step-body p strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.mth-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.mth-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.mth-details li i {
    font-size: 1.1rem;
    color: var(--step-color, var(--primary));
    transition: transform 0.3s ease;
}

.mth-step:hover .mth-details li i {
    transform: scale(1.2);
}

@media (max-width: 1200px) {
    .mth-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mth-connector {
        display: none;
    }
}

@media (max-width: 640px) {
    .mth-steps {
        grid-template-columns: 1fr;
    }

    .methodology-section {
        padding: 80px 0;
    }

    .mth-header {
        margin-bottom: 60px;
    }
}

/* ============================================= */



#methodology-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
}

#ai-banner-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.75;
}

.methodology-section .section-header p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.methodology-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 143, 154, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.methodology-path {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
    position: relative;
    padding: 0 20px;
    z-index: 2;
}

.path-line {
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #f1f5f9;
    z-index: 1;
}

.path-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #00d2ff);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.methodology-section.aos-animate .path-line::after {
    transform: scaleX(1);
}

.method-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 10px;
}

.step-header {
    position: relative;
    margin-bottom: 40px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-step:nth-child(2) .step-icon {
    color: #008f9a;
    border-color: rgba(0, 143, 154, 0.3);
    background: rgba(0, 143, 154, 0.08);
}

.method-step:nth-child(2) .step-number {
    background: #008f9a;
}

.method-step:nth-child(3) .step-icon {
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.08);
}

.method-step:nth-child(3) .step-number {
    background: #8b5cf6;
}

.method-step:nth-child(4) .step-icon {
    color: #ec4899;
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(236, 72, 153, 0.08);
}

.method-step:nth-child(4) .step-number {
    background: #ec4899;
}

.method-step:nth-child(5) .step-icon {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
}

.method-step:nth-child(5) .step-number {
    background: #f59e0b;
}

.method-step:hover .step-icon {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.method-step:hover .step-number {
    transform: scale(1.1) rotate(15deg);
}

.method-step:nth-child(2):hover .step-icon {
    background: #008f9a;
    color: white;
    border-color: #008f9a;
}

.method-step:nth-child(3):hover .step-icon {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

.method-step:nth-child(4):hover .step-icon {
    background: #ec4899;
    color: white;
    border-color: #ec4899;
}

.method-step:nth-child(5):hover .step-icon {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

.step-body h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}

.step-body p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

@media (max-width:1024px) {
    .methodology-path {
        flex-direction: column;
        gap: 80px;
        align-items: flex-start;
        padding-left: 80px;
    }

    .path-line {
        top: 0;
        bottom: 0;
        left: 50px;
        width: 2px;
        height: 100%;
        right: auto;
    }

    .path-line::after {
        transform-origin: top;
        transform: scaleY(0);
    }

    .methodology-section.aos-animate .path-line::after {
        transform: scaleY(1);
    }

    .method-step {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 40px;
        padding: 0;
        width: 100%;
    }

    .step-header {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-body p {
        margin: 0;
        max-width: 100%;
    }
}

@media (max-width:768px) {
    .methodology-path {
        padding-left: 45px;
        gap: 60px;
    }

    .path-line {
        left: 20px;
    }

    .method-step {
        gap: 20px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }

    .step-body h3 {
        font-size: 1.4rem;
    }
}

.floating-dock {
    position: fixed;
    bottom: 95px; /* Above scrollTopBtn (30px + 50px + 15px) */
    left: 30px;
    right: auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: rgba(255, 255, 255, 0.4);
    padding: 8px;
    border-radius: 18px;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.2);
    z-index: 999999;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: white;
    font-size: 17px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    background: var(--primary); /* Planos a una tinta al color de mayar */
}

.dock-item:hover {
    transform: scale(1.15) translateX(8px); /* Shifts right on hover since it is on the left edge */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
    filter: brightness(1.1);
}

.dock-item:active {
    transform: scale(0.95) translateX(5px);
}

.dock-label {
    position: absolute;
    left: 60px; /* Place labels to the right of the dock items */
    right: auto;
    top: 50%;
    transform: translateY(-50%) translateX(-20px);
    background: rgba(17, 24, 39, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

.dock-label::after {
    content: '';
    position: absolute;
    left: -6px; /* Arrow pointing left */
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(17, 24, 39, 0.9);
    border-left: none;
}

.dock-item:hover .dock-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes dockEntrance {
    from {
        transform: translateX(-100px); /* Slither in from left edge */
        opacity: 0;
    }

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

.floating-dock {
    animation: dockEntrance 1s 1s backwards cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width:768px) {
    .floating-dock {
        left: 20px;
        right: auto;
        bottom: 80px; /* Above the mobile scrollTopBtn */
        padding: 6px;
        gap: 6px;
        border-radius: 14px;
    }

    .dock-item {
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-radius: 10px;
    }

    .dock-label {
        display: none;
    }
}

.benefit-expr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-expr-card {
    background: white;
    padding: 50px 40px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.benefit-expr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-glow, linear-gradient(135deg, rgba(0, 143, 154, 0.05) 0%, transparent 100%));
    opacity: 0;
    transition: 0.5s ease;
}

.benefit-expr-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light, rgba(0, 143, 154, 0.1));
}

.benefit-expr-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--icon-bg, #f8f9fa);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--icon-color, var(--primary));
    margin-bottom: 30px;
    position: relative;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-expr-card:hover .benefit-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    background: var(--icon-color, var(--primary));
    color: white;
    box-shadow: 0 15px 30px var(--icon-glow, rgba(0, 0, 0, 0.1));
}

.benefit-expr-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-main);
    position: relative;
}

.benefit-expr-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    position: relative;
    margin-bottom: 25px;
}

.benefit-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--icon-color, var(--primary));
    background: var(--icon-bg, #f8f9fa);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-block;
    transition: 0.3s;
}

.benefit-expr-card:hover .benefit-tag {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

    100% {
        transform: translateY(-10px);
    }
}

.benefit-expr-card.animate-float {
    animation: floatBenefit 4s ease-in-out infinite alternate;
}

.benefit-expr-card.animate-float-delayed {
    animation: floatBenefit 4s ease-in-out infinite alternate-reverse;
}

.tech-page-wrapper {
    background: #0f172a;
    position: relative;
    overflow: hidden;
}

.tech-page-wrapper::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 80% 40%, rgba(219, 39, 119, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 15% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.career-section {
    background: transparent;
    position: relative;
    padding: 100px 0;
    z-index: 10;
}

.career-path-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.career-path-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.career-path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--path-accent, var(--primary));
    opacity: 0.2;
    transition: all 0.5s ease;
}

.career-path-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 60px 100px rgba(0, 0, 0, 0.1);
    border-color: var(--path-accent, var(--primary));
    background: #ffffff;
}

.career-path-card:hover::before {
    opacity: 1;
    width: 10px;
}

.path-header {
    margin-bottom: 30px;
}

.path-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--path-bg, rgba(0, 143, 154, 0.05));
    color: var(--path-accent, var(--primary));
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.career-path-card h3 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.1;
}

.path-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 400;
}

.path-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.path-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.career-path-card:hover li {
    background: rgba(var(--path-accent-rgb, 0, 143, 154), 0.05);
}

.path-list li i {
    color: var(--path-accent, var(--primary));
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(var(--path-accent-rgb, 0, 143, 154), 0.3));
}

.path-tags-wrapper {
    margin-bottom: 40px;
    padding-top: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.path-tags-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    opacity: 0.9;
    letter-spacing: -0.01em;
}

.path-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.path-tag {
    background: white;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.career-path-card:hover .path-tag {
    border-color: var(--path-accent, var(--primary));
    color: var(--path-accent, var(--primary));
    background: white;
    transform: scale(1.05);
}

.path-cta {
    margin-top: auto;
}

@media (max-width:992px) {
    .career-path-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .career-path-card {
        padding: 40px 30px;
    }
}

.hero-careers-exp {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: white;
}

.hero-careers-exp::before {
    display: none;
}

.hero-glow-1,
.hero-glow-2 {
    display: none;
}

.hero-main-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-main-content h1 {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 40px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-main-content .gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #db2777 50%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
}

.badge-hero {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px;
    color: #38bdf8;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.careers-floating-tags {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-chip {
    position: absolute;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    z-index: 5;
    transition: all 0.3s ease;
}

.floating-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05) translateY(-5px) !important;
}

.floating-chip i {
    color: #38bdf8;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.chip-1 {
    top: 20%;
    left: 10%;
    animation: floatAnimate 6s ease-in-out infinite alternate;
}

.chip-2 {
    top: 35%;
    right: 8%;
    animation: floatAnimate 7s ease-in-out infinite alternate-reverse;
}

.chip-3 {
    bottom: 25%;
    left: 5%;
    animation: floatAnimate 5s ease-in-out infinite alternate;
}

.chip-4 {
    bottom: 30%;
    right: 15%;
    animation: floatAnimate 8s ease-in-out infinite alternate-reverse;
}

@keyframes floatAnimate {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(15px, -20px) rotate(3deg);
    }
}

.careers-brand-strip {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 25px 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 60px;
}

.brand-strip-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brand-strip-item {
    opacity: 0.5;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-strip-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
    transform: translateY(-8px) scale(1.08);
}

.brand-strip-item span {
    color: white !important;
}

.hero-description {
    max-width: 700px;
    margin: 40px auto 0;
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.hero-description strong {
    color: white;
    font-weight: 700;
}

@media (max-width:768px) {
    .floating-chip {
        display: none;
    }

    .hero-careers-exp {
        padding-top: 140px;
        min-height: 70vh;
    }

    .brand-strip-container {
        gap: 30px;
    }
}

@media (max-width:768px) {
    .benefit-expr-card {
        padding: 40px 30px;
    }
}

.hero-apply-exp {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #ffffff 0%, #f0f4f8 100%);
    text-align: center;
}

.hero-apply-exp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23000" fill-opacity="0.03"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-apply-exp .container {
    position: relative;
    z-index: 5;
}

.hero-apply-exp h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.apply-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 143, 154, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 143, 154, 0.1);
}

.apply-status-tag i {
    font-size: 0.6rem;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

.floating-apply-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.apply-chip {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.apply-chip i {
    color: var(--primary);
}

.apply-chip-1 {
    top: 15%;
    left: 8%;
    animation: floatAnimate 6s ease-in-out infinite alternate;
}

.apply-chip-2 {
    top: 25%;
    right: 10%;
    animation: floatAnimate 7s ease-in-out infinite alternate-reverse;
}

.apply-chip-3 {
    bottom: 20%;
    left: 12%;
    animation: floatAnimate 5s ease-in-out infinite alternate;
}

@media (max-width:768px) {
    .floating-apply-chips {
        display: none;
    }

    .hero-apply-exp {
        padding: 140px 0 80px;
        min-height: 40vh;
    }
}

.hero-brief-exp {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #ffffff 0%, #e6f7f8 100%);
    text-align: center;
}

.hero-brief-exp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23008f9a" fill-opacity="0.03"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-brief-exp .container {
    position: relative;
    z-index: 5;
}

.hero-brief-exp .brief-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.brief-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 143, 154, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 143, 154, 0.1);
}

.brief-status-tag i {
    animation: pulse 2s infinite;
}

.floating-brief-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.brief-chip {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.brief-chip i {
    color: var(--primary);
}

.brief-chip-1 {
    top: 15%;
    left: 8%;
    animation: floatAnimate 6s ease-in-out infinite alternate;
}

.brief-chip-2 {
    top: 25%;
    right: 10%;
    animation: floatAnimate 7s ease-in-out infinite alternate-reverse;
}

.brief-chip-3 {
    bottom: 15%;
    left: 12%;
    animation: floatAnimate 5s ease-in-out infinite alternate;
}

@media (max-width:768px) {
    .floating-brief-chips {
        display: none;
    }

    .hero-brief-exp {
        padding: 140px 0 80px;
        min-height: 40vh;
    }
}

.hero-dollar-exp {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #ffffff 0%, #f0fff4 100%);
    text-align: center;
}

.hero-dollar-exp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%2322c55e" fill-opacity="0.03"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-dollar-exp .container {
    position: relative;
    z-index: 5;
}

.finance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.finance-badge i {
    font-size: 0.5rem;
    animation: statusPulseGreen 2s infinite;
}

@keyframes statusPulseGreen {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

.floating-finance-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.finance-chip {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.finance-chip .sym {
    width: 24px;
    height: 24px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.fin-chip-1 {
    top: 15%;
    left: 10%;
    animation: floatAnimate 6s ease-in-out infinite alternate;
}

.fin-chip-2 {
    top: 25%;
    right: 12%;
    animation: floatAnimate 7s ease-in-out infinite alternate-reverse;
}

.fin-chip-3 {
    bottom: 20%;
    left: 15%;
    animation: floatAnimate 5s ease-in-out infinite alternate;
}

@media (max-width:768px) {
    .floating-finance-chips {
        display: none;
    }

    .hero-dollar-exp {
        padding: 140px 0 60px;
        min-height: 35vh;
    }
}

.hero-tequila-exp {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #ffffff 0%, #fffbf0 100%);
    text-align: center;
}

.hero-tequila-exp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23b8860b" fill-opacity="0.03"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-tequila-exp .container {
    position: relative;
    z-index: 5;
}

.tequila-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(184, 134, 11, 0.08);
    color: #b8860b;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(184, 134, 11, 0.1);
}

.tequila-badge i {
    animation: statusPulseGold 2s infinite;
}

@keyframes statusPulseGold {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

.floating-tequila-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tequila-chip {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(184, 134, 11, 0.03);
}

.tequila-chip i {
    color: #b8860b;
}

.teq-chip-1 {
    top: 15%;
    left: 8%;
    animation: floatAnimate 6s ease-in-out infinite alternate;
}

.teq-chip-2 {
    top: 25%;
    right: 10%;
    animation: floatAnimate 7s ease-in-out infinite alternate-reverse;
}

.teq-chip-3 {
    bottom: 15%;
    left: 12%;
    animation: floatAnimate 5s ease-in-out infinite alternate;
}

@media (max-width:768px) {
    .floating-tequila-chips {
        display: none;
    }

    .hero-tequila-exp {
        padding: 140px 0 80px;
        min-height: 40vh;
    }
}

.hero-reg-exp {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #ffffff 0%, #f0f7ff 100%);
    text-align: center;
}

.hero-reg-exp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23008f9a" fill-opacity="0.03"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.hero-reg-exp .container {
    position: relative;
    z-index: 5;
}

.reg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 143, 154, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 143, 154, 0.1);
}

.reg-badge i {
    animation: statusPulse 2s infinite;
}

.floating-reg-chips {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.reg-chip {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.reg-chip i {
    color: var(--primary);
}

.reg-chip-1 {
    top: 15%;
    left: 10%;
    animation: floatAnimate 6s ease-in-out infinite alternate;
}

.reg-chip-2 {
    top: 25%;
    right: 12%;
    animation: floatAnimate 7s ease-in-out infinite alternate-reverse;
}

.reg-chip-3 {
    bottom: 15%;
    left: 15%;
    animation: floatAnimate 5s ease-in-out infinite alternate;
}

@media (max-width:768px) {
    .floating-reg-chips {
        display: none;
    }

    .hero-reg-exp {
        padding: 140px 0 60px;
        min-height: 35vh;
    }
}

.web-express-visual::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.8s;
    pointer-events: none;
}

.web-express-visual:hover::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.web-express-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(222, 15, 84, 0.5);
    z-index: 3;
    animation: scanning 3s linear infinite;
    box-shadow: 0 0 15px rgba(222, 15, 84, 0.8);
    pointer-events: none;
}

@keyframes scanning {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.brand-pillars {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.pillar-item {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 35px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pillar-item:hover {
    background: var(--primary);
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 143, 154, 0.2);
}

.pillar-item i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: 0.5s;
}

.pillar-item:hover i {
    color: #ffffff;
    transform: scale(1.2) rotate(360deg);
}

.pillar-item h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
    transition: 0.5s;
}

.pillar-item:hover h5 {
    color: #ffffff;
}

.pillar-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    transition: 0.5s;
}

.pillar-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

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

@media (max-width:600px) {
    .brand-pillars {
        grid-template-columns: 1fr;
    }
}

.philosophy-ticker {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.ticker-content {
    display: inline-block;
    animation: tickerLoop 30s linear infinite;
}

.ticker-content span {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    text-transform: uppercase;
    margin-right: 50px;
    opacity: 0.1;
    transition: 0.5s;
    user-select: none;
}

.ticker-content span:hover {
    opacity: 1;
    color: var(--primary);
}

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

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

.manifesto-block {
    margin: 40px 0;
    padding: 30px;
    background: #f8fafc;
    border-left: 5px solid var(--primary);
    border-radius: 0 20px 20px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
}

.manifesto-block::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.1;
    font-style: normal;
}

.typeform-section {
    position: relative;
    padding: 100px 0;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.8s ease;
    background-color: #f8fafc;
    flex-direction: column;
}

.typeform-section .section-header {
    margin-bottom: 60px;
    text-align: center;
}

.typeform-container {
    width: 100%;
    max-width: 800px;
    padding: 20px 20px 60px;
    position: relative;
    z-index: 10;
}

.typeform-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.typeform-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-header-modern {
    margin-bottom: 40px;
}

.step-label-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.step-title-modern {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.step-input-wrapper {
    margin-top: 50px;
    position: relative;
}

.typeform-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    padding: 15px 0;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.3s;
}

.typeform-input:focus {
    border-color: var(--primary);
}

.typeform-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    padding: 15px 0;
    color: var(--text-main);
    outline: none;
    min-height: 150px;
    resize: none;
}

.typeform-textarea:focus {
    border-color: var(--primary);
}

.options-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.option-item-modern {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.option-item-modern:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 143, 154, 0.1);
}

.option-item-modern.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.option-item-modern.selected .option-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.option-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.3s;
}

.option-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.typeform-controls {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-next-step,
.btn-submit-funnel {
    padding: 18px 40px;
    background: var(--text-main);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s;
}

.btn-next-step:hover,
.btn-submit-funnel:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: var(--primary);
}

.press-enter {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.progress-funnel-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 300px;
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-funnel-bar {
    height: 100%;
    background: var(--primary);
    width: 25%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width:768px) {
    .typeform-container {
        padding: 40px 15px 80px;
    }

    .step-title-modern {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .typeform-input {
        font-size: 1.4rem;
    }

    .step-header-modern {
        margin-bottom: 30px;
    }

    .options-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.contact-methods-funnel {
    position: absolute;
    bottom: 40px;
    right: 40px;
    text-align: right;
}

.contact-methods-funnel p {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
}

.methods-grid {
    display: flex;
    gap: 20px;
}

.methods-grid a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.methods-grid a:hover {
    color: var(--primary);
}

@media (max-width:1024px) {
    .contact-methods-funnel {
        position: relative;
        bottom: 0;
        right: 0;
        text-align: center;
        margin-top: 60px;
    }

    .methods-grid {
        justify-content: center;
    }
}

.btn-back-funnel {
    padding: 18px 25px;
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-back-funnel:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 143, 154, 0.05);
}

.step-icon i {
    color: inherit;
}

.dev-disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 18, 12, 0.85);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.dev-disclaimer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dev-disclaimer-card {
    background: rgba(20, 30, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px 40px;
    border-radius: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.dev-disclaimer-overlay.active .dev-disclaimer-card {
    transform: translateY(0) scale(1);
}

.dev-disclaimer-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 30px;
    animation: pulseIconDisclaimer 2s infinite;
}

@keyframes pulseIconDisclaimer {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

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

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

.dev-disclaimer-card h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.dev-disclaimer-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.dev-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
}

.dev-btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 143, 154, 0.4);
}

@media (max-width:600px) {
    .dev-disclaimer-card {
        padding: 40px 20px;
    }

    .dev-disclaimer-card h2 {
        font-size: 1.8rem;
    }
}


/* =============================================
   STATS / RESULTADOS — PREMIUM REDESIGN
   ============================================= */
.stats-section {
    background: #04060C;
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Dot grid */
.stats-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Ambient orbs */
.stats-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.stats-orb-l {
    width: 600px;
    height: 400px;
    background: rgba(222, 15, 84, 0.08);
    top: -60px;
    left: -120px;
}

.stats-orb-r {
    width: 500px;
    height: 400px;
    background: rgba(59, 130, 246, 0.07);
    bottom: -80px;
    right: -100px;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

/* ── Header ── */
.stats-header {
    text-align: center;
    margin-bottom: 64px;
}

.stats-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary, #DE0F54);
    border: 1px solid rgba(222, 15, 84, 0.3);
    background: rgba(222, 15, 84, 0.08);
    padding: 6px 16px;
    border-radius: 40px;
    margin-bottom: 18px;
}

.stats-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.stats-headline span {
    background: linear-gradient(90deg, #DE0F54, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-subhead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 400px;
    margin: 0 auto;
}

/* ── Grid ── */
.stats-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

/* ── Stat Card ── */
.stat-card-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    padding: 36px 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.22, .61, .36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* Top glow blob */
.stat-card-v2::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--sc-rgb), 0.18) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    transition: opacity 0.35s ease;
    opacity: 0.5;
}

/* Shimmer top border */
.stat-card-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--sc-rgb), 0.6), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stat-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--sc-rgb), 0.25);
    box-shadow: 0 20px 50px rgba(var(--sc-rgb), 0.12);
}

.stat-card-v2:hover::before {
    opacity: 1;
}

.stat-card-v2:hover::after {
    opacity: 1;
}

/* Icon */
.sc-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(var(--sc-rgb), 0.12);
    border: 1px solid rgba(var(--sc-rgb), 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--sc);
    margin-bottom: 4px;
    transition: transform 0.35s, box-shadow 0.35s;
}

.stat-card-v2:hover .sc-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(var(--sc-rgb), 0.35);
}

/* Big number */
.sc-number {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
    color: var(--sc);
    letter-spacing: -0.03em;
    font-family: 'Outfit', sans-serif;
}

/* Label */
.sc-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

/* Sub context */
.sc-sub {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.33);
    letter-spacing: 0.3px;
}

/* ── Trust Bar ── */
.stats-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 18px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    width: fit-content;
    margin: 0 auto;
}

.stats-trust-bar i {
    color: var(--primary, #DE0F54);
    font-size: 0.95rem;
    vertical-align: middle;
    margin-right: 4px;
}

.stats-trust-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .stats-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .stats-grid-v2 {
        grid-template-columns: 1fr;
    }

    .stats-trust-bar {
        flex-direction: column;
        gap: 12px;
        border-radius: 20px;
        text-align: center;
    }

    .stats-trust-sep {
        width: 40px;
        height: 1px;
    }
}

/* ============================================= */


.lead-magnet-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.lead-magnet-box {
    background: white;
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid white;
}

.lm-content h3 {
    font-size: 2.5rem;
    margin: 20px 0 15px;
    color: var(--text-main);
    line-height: 1.2;
}

.lm-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.lm-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.lm-form input {
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--border);
    flex: 1;
    min-width: 250px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    background: #f8fafc;
}

.lm-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 143, 154, 0.1);
    background: white;
}

.lm-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.lm-checklist-img {
    max-width: 120%;
    width: 350px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lead-magnet-box:hover .lm-checklist-img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

@media (max-width:900px) {
    .lead-magnet-box {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        text-align: center;
    }

    .lm-content p,
    .lm-content h3 {
        margin-left: auto;
        margin-right: auto;
    }

    .lm-form {
        justify-content: center;
    }

    .lm-visual {
        display: none;
    }
}

.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-accordion {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width:768px) {
    .faq-accordion {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-main);
    user-select: none;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(0, 143, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.3s;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 143, 154, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 30px;
    opacity: 1;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 800;
}

.faq-item.active .faq-icon-wrapper {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
}

.tech-item i {
    font-size: 3.5rem;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.tech-item:hover i {
    color: var(--hover-color);
    transform: translateY(-5px) scale(1.1);
}

.tech-item i[class^="devicon-"] {
    font-family: 'devicon' !important;
}

.tech-item:hover i:not([style*="--hover-color"]) {
    color: var(--primary);
}

.tech-item i {
    color: #334155 !important;
    transition: all 0.3s ease;
}

.tech-item:hover i {
    color: var(--primary) !important;
    transform: translateY(-5px) scale(1.1);
}

.tech-item img {
    width: 4rem;
    height: 4rem;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease;
    object-fit: contain;
}

.tech-item:hover img {
    filter: none;
    transform: translateY(-5px) scale(1.1);
}

.tech-item img[alt="Affinity"] {
    width: 3.5rem;
    height: 3.5rem;
    filter: brightness(0) saturate(100%) invert(32%) sepia(8%) saturate(1035%) hue-rotate(182deg) brightness(97%) contrast(92%);
    transition: all 0.3s ease;
}

.tech-item:hover img[alt="Affinity"] {
    filter: none;
    transform: translateY(-5px) scale(1.1);
}

.tech-item img {
    width: 3.5rem !important;
    height: 3.5rem !important;
    filter: grayscale(100%) brightness(0.4) contrast(1.2) !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.tech-item:hover img {
    filter: none !important;
    opacity: 1;
    transform: translateY(-5px) scale(1.1);
}

.code-window-overlay {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 280px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #cbd5e1;
    transform: rotate(-5deg);
    transition: all 0.5s ease;
    animation: floatCode 6s ease-in-out infinite;
}

.code-window-overlay:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 20;
}

.code-header {
    background: rgba(30, 41, 59, 0.9);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.window-dot.red {
    background: #f87171;
}

.window-dot.yellow {
    background: #fbbf24;
}

.window-dot.green {
    background: #4ade80;
}

.window-title {
    margin-left: auto;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.code-content {
    padding: 15px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.code-line {
    display: block;
}

.c-pink {
    color: #f472b6;
    font-weight: bold;
}

.c-blue {
    color: #60a5fa;
}

.c-yellow {
    color: #fcd34d;
}

.c-green {
    color: #4ade80;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: #4ade80;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes floatCode {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
}

@media (max-width:900px) {
    .code-window-overlay {
        display: block;
        width: auto;
        min-width: 260px;
        bottom: -30px !important;
        left: 10px !important;
        transform: scale(0.85) rotate(-3deg);
    }
}

.web-express-section .image-box {
    overflow: visible !important;
}

.web-express-section .web-express-visual {
    overflow: visible !important;
}

.code-window-overlay {
    bottom: -40px !important;
    left: -40px !important;
    width: 320px !important;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6) !important;
}

.code-window-overlay {
    z-index: 100 !important;
}

@media (max-width:768px) {
    .code-window-overlay {
        display: block !important;
        bottom: -30px !important;
        left: -15px !important;
        transform: rotate(-3deg) scale(0.85) !important;
        width: 85% !important;
        min-width: 250px !important;
        animation: none !important;
    }
}

.stat-2 {
    left: auto !important;
    right: -20px !important;
    bottom: 30% !important;
}


/* Global Contact Selection Modal - Premium Redesign */
.wa-modal {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-modal.active {
    display: flex;
}

.wa-modal-content {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    border-radius: 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 18px 36px -18px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-modal.active .wa-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.wa-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.wa-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg);
}

.wa-header {
    margin-bottom: 40px;
}

.wa-icon-large {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(0, 143, 154, 0.1);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 143, 154, 0.2);
}

.wa-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.wa-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

.wa-options {
    display: grid;
    gap: 16px;
}

/* ---- Row wrapper: card + QR button ---- */
.wa-option-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-option-row .wa-option-card {
    flex: 1;
    min-width: 0;
}

/* Small QR button beside each option card */
.wa-qr-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
}

.wa-qr-btn:hover {
    background: rgba(0, 143, 154, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(0, 143, 154, 0.3);
}

.wa-qr-btn:active {
    transform: scale(0.95);
}

/* ---- QR Code popup modal ---- */
.qr-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qr-modal.active {
    display: flex;
}

.qr-modal-content {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.97) 0%, rgba(15, 23, 42, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 36px 28px 28px;
    max-width: 320px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-align: center;
    animation: qrSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qrSlideUp {
    from {
        transform: translateY(24px) scale(0.97);
        opacity: 0;
    }

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

.qr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    font-size: 15px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.qr-modal-close:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg);
}

.qr-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.qr-modal-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    color: var(--primary);
}

.qr-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px;
}

.qr-modal-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

.qr-canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
}

.qr-canvas-wrapper canvas {
    border-radius: 8px;
    display: block;
}

.qr-contact-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    word-break: break-all;
}


.wa-option-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.wa-option-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.wa-option-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.wa-option-card:hover::before {
    transform: translateX(100%);
}

.wa-opt-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wa-option-card:hover .wa-opt-icon {
    transform: scale(1.1) rotate(5deg);
}

.wa-opt-info {
    flex: 1;
}

.wa-opt-title {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}

.wa-opt-desc {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .wa-modal-content {
        padding: 40px 24px;
        border-radius: 32px;
    }

    .wa-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .mobile-lang-switcher {
        background: rgba(255, 255, 255, 0.1) !important;
        padding: 3px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 100px !important;
    }

    .mobile-lang-switcher .lang-btn {
        padding: 6px 14px !important;
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
    }
}


.benefits-expr-section {
    padding: 120px 0;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.benefit-expr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-expr-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-expr-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.benefit-expr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-glow, linear-gradient(135deg, rgba(0, 143, 154, 0.05) 0%, transparent 100%));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.benefit-expr-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--icon-bg, rgba(0, 143, 154, 0.08));
    color: var(--icon-color, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.benefit-expr-card:hover .benefit-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px var(--icon-glow, rgba(0, 143, 154, 0.2));
}

.benefit-expr-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.benefit-expr-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.benefit-tag {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    z-index: 1;
}

.benefit-expr-card:hover .benefit-tag {
    background: var(--primary-light, rgba(0, 143, 154, 0.1));
    color: var(--icon-color, var(--primary));
}

.animate-float {
    animation: floatingCard 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatingCard 6s ease-in-out infinite 3s;
}

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

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

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

.benefit-expr-card:hover {
    animation: none;
}

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

@media (max-width:768px) {
    .benefits-expr-section {
        padding: 80px 0;
    }

    .benefit-expr-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }

    .benefit-expr-card {
        padding: 30px;
        border-radius: 20px;
    }

    .benefit-tag {
        top: 25px;
        right: 25px;
    }
}

#proyectos .section-header h2 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-main) !important;
}

#proyectos .section-header p {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--text-muted) !important;
}

/* --- Reading Progress Indicator --- */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    background: var(--gradient) !important;
    width: 0%;
    transition: width 0.1s ease-out;

    box-shadow: 0 0 10px rgba(0, 143, 154, 0.5);
}

/* --- Scroll to Top Button --- */
#scrollTopBtn {
    display: flex;
    /* Changed from none to flex for centering */
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999998;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background: var(--gradient);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 143, 154, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
    /* Prevent clicks when hidden */
    transform: translateY(20px) scale(0.8);
}

#scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
    /* Enable clicks when shown */
    transform: translateY(0) scale(1);
}

#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 143, 154, 0.6);
}

#scrollTopBtn i {
    pointer-events: none;
    /* Icon shouldn't capture clicks */
}

@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    border-radius: 20px;
    z-index: 10001;
    /* Above scroll top button */
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-btn {
    background: var(--text-main);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 143, 154, 0.3);
}

@media (max-width: 768px) {
    .cookie-banner {
        width: 95%;
        padding: 15px 20px;
        height: auto;
        bottom: -200px;
        /* Hide further down */
    }

    .cookie-banner.show {
        bottom: 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-btn {
        width: 100%;
        padding: 12px;
    }
}

/* --- Responsive Overflow Fixes --- */
@media (max-width: 1024px) {
    .hero-mesh-blob {
        width: 300px !important;
        height: 300px !important;
    }

    .advisory-visual,
    .advisory-info,
    .about-text-col,
    .about-img-col {
        width: 100% !important;
        max-width: 100% !important;
    }

    .project-slide {
        width: 100vw !important;
        max-width: 100% !important;
    }

    .floating-tags,
    .dashboard-card {
        display: none !important;
        /* Hide floating elements that overflow */
    }
}

@media (max-width: 576px) {

    section,
    header,
    footer,
    body,
    html {
        overflow-x: hidden !important;
        width: 100vw !important;
        position: relative;
    }

    .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Force all elements to stay within screen */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    /* Exceptions for slider tracks which MUST be wider */
    .slider-wrapper,
    .client-slide-track,
    .testimonials-track,
    .tech-ecosystem-grid {
        max-width: none !important;
    }

    .aa-orb-1,
    .aa-orb-2,
    .blur-blob {
        display: none !important;
    }
}

/* =============================================
   ADVANCED SCROLLYTELLING & REVEAL EFFECTS
   ============================================= */

/* 1. Global Reveal Primitives */

/* Blur Reveal - Text appears from blur */
.reveal-blur {
    filter: blur(15px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-blur.active {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
}

/* Character Stagger Effect (for headlines) */
.word-reveal {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.word-reveal span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--index) * 0.05s);
}

.word-reveal.active span {
    transform: translateY(0);
}

/* 2. Specialized Methodology Scrollytelling */

.mth-step {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.3;
    /* Dimmed by default */
    filter: grayscale(0.5);
    transform: scale(0.95);
}

.mth-step.is-focused {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.02);
    border-color: var(--step-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mth-step.is-focused::before {
    opacity: 1;
}

.mth-step.is-focused .mth-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(var(--step-rgb), 0.4);
}

.mth-step.is-focused .mth-num {
    color: rgba(var(--step-rgb), 0.2);
}

/* Dynamic Line Glow */
.mth-connector-fill {
    box-shadow: 0 0 20px rgba(0, 143, 154, 0.3);
    transition: width 0.1s linear;
    /* Fast response for scroll sync */
}

/* Perspective Cards for Portfolio */
.service-card {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-zoom {
    transform: scale(0.8);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.active {
    transform: scale(1);
    opacity: 1;
}

/* ========================================================================= */
/*         FLOATING BRAND TAG NEXUSCODE by MAYAR         */
/* ========================================================================= */

/* --- Animaciones del icono giratorio --- */
@keyframes nexus-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes nexus-spin-rev {
    to {
        transform: rotate(-360deg);
    }
}

/* --- Base del Icono --- */
.nav-nexus-icon {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-nexus-shape {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
}

.nav-nexus-shape-1 {
    border-top-color: #6366f1;
    border-right-color: #6366f1;
    animation: nexus-spin 2s linear infinite;
}

.nav-nexus-shape-2 {
    inset: 4px;
    border-bottom-color: #818cf8;
    border-left-color: #818cf8;
    animation: nexus-spin-rev 1.5s linear infinite;
}

.nav-nexus-shape-3 {
    inset: 9px;
    border-top-color: #a5b4fc;
    animation: nexus-spin 3s linear infinite;
}

.nav-nexus-core {
    position: absolute;
    inset: 13px;
    background: #6366f1;
    border-radius: 50%;
}


/* ==========================================================================
   Volaris-Style Corner Contact Button & macOS Command+Tab Contact Switcher
   ========================================================================== */

/* Corner Contact Button (Volaris-inspired Quarter Circle with AI theme) */
.corner-contact-btn {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00f2fe 0%, #00b2b2 50%, #008f9a 100%);
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
    border: none;
    border-radius: 100% 0 0 0;
    cursor: pointer;
    z-index: 1000000;
    display: none; /* Controlled by .is-home or page visibility rules */
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 22px 22px 0;
    color: white;
    box-shadow: -5px -5px 25px rgba(0, 178, 178, 0.25), 0 0 15px rgba(0, 242, 254, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    overflow: hidden;
}

.corner-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    animation: corner-shimmer 7s infinite;
}

.is-home .corner-contact-btn {
    display: flex;
}

.corner-btn-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.corner-contact-btn .main-icon {
    font-size: 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.corner-contact-btn:hover {
    width: 105px;
    height: 105px;
    box-shadow: -8px -8px 35px rgba(0, 178, 178, 0.45), 0 0 25px rgba(0, 242, 254, 0.35);
    background: linear-gradient(135deg, #00f2fe 0%, #00b2b2 50%, #008f9a 100%);
    background-size: 200% 200%;
}

.corner-contact-btn:hover .main-icon {
    transform: scale(1.18) rotate(15deg);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

.corner-contact-btn:active {
    transform: scale(0.95);
}

/* Floating Sparkle Elements */
.sparkle-element {
    position: absolute;
    font-size: 7px;
    color: rgba(255, 255, 255, 0.95);
    pointer-events: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.8));
}

/* 4 estrellas distribuidas alrededor del ícono central */
.sparkle-element.sp-1 {
    top: -9px;
    right: -2px;
    font-size: 6px;
    animation: sparkle-float-1 2.8s infinite ease-in-out;
}

.sparkle-element.sp-2 {
    top: -4px;
    left: -11px;
    font-size: 8px;
    animation: sparkle-float-2 3.4s infinite ease-in-out;
}

.sparkle-element.sp-3 {
    bottom: -9px;
    left: -4px;
    font-size: 6px;
    animation: sparkle-float-3 3.1s infinite ease-in-out;
    animation-delay: 0.6s;
}

.sparkle-element.sp-4 {
    bottom: -4px;
    right: -10px;
    font-size: 7px;
    animation: sparkle-float-4 2.6s infinite ease-in-out;
    animation-delay: 1.2s;
}

/* Animations for AI Button */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes corner-shimmer {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes sparkle-float-1 {
    0%, 100% { transform: translate(0, 0) scale(0.5); opacity: 0.25; }
    50% { transform: translate(2px, -3px) scale(1.2); opacity: 1; }
}

@keyframes sparkle-float-2 {
    0%, 100% { transform: translate(0, 0) scale(0.5); opacity: 0.25; }
    50% { transform: translate(-2px, -2px) scale(1.3); opacity: 1; }
}

@keyframes sparkle-float-3 {
    0%, 100% { transform: translate(0, 0) scale(0.5); opacity: 0.2; }
    50% { transform: translate(-3px, 2px) scale(1.2); opacity: 0.9; }
}

@keyframes sparkle-float-4 {
    0%, 100% { transform: translate(0, 0) scale(0.5); opacity: 0.2; }
    50% { transform: translate(2px, 2px) scale(1.1); opacity: 0.85; }
}

/* macOS Command+Tab Switcher Dialog Modal */
dialog.mac-switcher-modal {
    border: none;
    background: transparent;
    padding: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    outline: none;
    inset: 0;
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

dialog.mac-switcher-modal[open] {
    display: flex;
}

dialog.mac-switcher-modal::backdrop {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Modal Fade/Scale Animations */
@keyframes macModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes macModalScaleUp {
    from { transform: scale(0.9) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

dialog.mac-switcher-modal[open] {
    animation: macModalFadeIn 0.3s forwards ease;
}

dialog.mac-switcher-modal[open] .mac-switcher-container {
    animation: macModalScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Switcher Container Panel */
.mac-switcher-container {
    background: rgba(22, 22, 23, 0.72);
    backdrop-filter: blur(40px) saturate(210%);
    -webkit-backdrop-filter: blur(40px) saturate(210%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 35px 45px 30px 45px;
    max-width: 580px;
    width: 90%;
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* macOS traffic light window close control (Red dot) */
.mac-switcher-close {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #ff5f56;
    border: 1px solid #e0443e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: transparent;
    transition: all 0.2s ease;
}

.mac-switcher-close:hover {
    color: #4c0002;
    background: #ff5f56;
}

.mac-switcher-close i {
    font-size: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mac-switcher-close:hover i {
    opacity: 1;
}

/* Switcher View States */
.mac-switcher-view {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mac-switcher-view.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Switcher Row */
.mac-switcher-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Switcher Menu Item Buttons & Links */
.mac-switcher-item {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    outline: none;
    width: 110px;
    height: 110px;
    justify-content: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* The Icon Wrapper (iOS/macOS style App Icon Shape) */
.mac-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mac-icon-wrapper i {
    font-size: 32px;
    color: white;
}

/* Active Selected Item Indicator Background (macOS style) */
.mac-switcher-item.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mac-switcher-item.active .mac-icon-wrapper {
    transform: scale(1.08) translateY(-4px);
}

/* Specific Channel Backgrounds (App Branding Gradients) */
.wa-bg {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}
.sms-bg {
    background: linear-gradient(135deg, #26c6da 0%, #0097a7 100%);
}
.mail-bg {
    background: linear-gradient(135deg, #ff7675 0%, #d63031 100%);
}
.tel-bg {
    background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
}
.flag-bg {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mac-flag {
    font-size: 36px;
    line-height: 1;
}

/* Centered active label at the bottom of the switcher */
.mac-switcher-label {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    min-height: 28px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
}

/* Sub-items (México / USA Cards) */
.mac-switcher-item.sub-item {
    width: 180px;
    height: 160px;
    border-radius: 24px;
    padding: 16px;
}

.mac-sub-label {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-top: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.mac-sub-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    max-width: 150px;
}

/* Back Action Button */
.mac-switcher-back {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 10px 20px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
}

.mac-switcher-back:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    transform: translateY(-1px);
}

.mac-switcher-back:active {
    transform: translateY(1px);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .corner-contact-btn {
        width: 80px;
        height: 80px;
        padding: 0 16px 16px 0;
    }
    
    .corner-contact-btn i,
    .corner-contact-btn .main-icon {
        font-size: 24px;
    }
    
    .corner-contact-btn:hover {
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 560px) {
    .mac-switcher-container {
        padding: 25px 20px 20px 20px;
    }
    
    .mac-switcher-row {
        gap: 8px;
    }
    
    .mac-switcher-item {
        width: 75px;
        height: 75px;
        border-radius: 16px;
        padding: 8px;
    }
    
    .mac-icon-wrapper {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }
    
    .mac-icon-wrapper i {
        font-size: 24px;
    }
    
    .mac-switcher-label {
        font-size: 15px;
        margin-top: 18px;
    }
    
    .mac-switcher-item.sub-item {
        width: 130px;
        height: 130px;
        border-radius: 18px;
        padding: 12px;
    }
    
    .mac-flag {
        font-size: 26px;
    }
    
    .mac-sub-label {
        font-size: 13px;
        margin-top: 8px;
    }
    
    .mac-sub-details {
        font-size: 10px;
        max-width: 110px;
    }
}

/* Hide deprecated old modal */
.wa-modal {
    display: none !important;
}

/* ==========================================================================
   macOS Interactive Terminal (CLI) Window dialog
   ========================================================================== */

/* macOS Terminal Window Modal */
dialog.mac-terminal-modal {
    border: none;
    background: transparent;
    padding: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    outline: none;
    inset: 0;
    position: fixed;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 100002;
}

dialog.mac-terminal-modal[open] {
    display: flex;
}

dialog.mac-terminal-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@keyframes terminalScaleUp {
    from { transform: scale(0.92) translateY(15px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

dialog.mac-terminal-modal[open] .mac-terminal-container {
    animation: terminalScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Terminal Container (Window) */
.mac-terminal-container {
    background: rgba(10, 10, 12, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 750px;
    max-width: 90%;
    height: 480px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Matrix Background Canvas */
.terminal-matrix-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.terminal-matrix-canvas.active {
    opacity: 0.18; /* Subtle matrix rain behind the text */
}

/* Header / Title Bar */
.terminal-header {
    background: rgba(30, 30, 32, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    position: relative;
    user-select: none;
    z-index: 5;
}

/* Windows Dots */
.terminal-dots {
    display: flex;
    gap: 8px;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.window-dot.red { background: #ff5f56; border: 1px solid #e0443e; }
.window-dot.yellow { background: #ffbd2e; border: 1px solid #df9e20; }
.window-dot.green { background: #27c93f; border: 1px solid #1a9c2b; }

.window-dot i {
    font-size: 8px;
    color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.terminal-header:hover .window-dot i {
    opacity: 1;
}

/* Window Title */
.terminal-title {
    color: #94a3b8;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Body / Console */
.terminal-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #00ffcc; /* Neon Cyan-Green */
    z-index: 2;
    position: relative;
}

/* Scrollbar styling for terminal */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}
.terminal-body::-webkit-scrollbar-track {
    background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Outputs & Output Blocks */
.terminal-output {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terminal-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.terminal-line.command-entered {
    color: #ffffff;
    font-weight: bold;
}

.terminal-line.error {
    color: #ff4d4d;
}

.terminal-line.info {
    color: #a5b4fc;
}

.terminal-line.success {
    color: #27c93f;
}

/* Prompt Line and Input */
.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.terminal-prompt {
    color: #818cf8; /* Light Indigo prompt */
    white-space: nowrap;
}

.terminal-input-form {
    flex: 1;
    display: flex;
    align-items: center;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    padding: 0;
    caret-color: #00ffcc; /* Blinking glowing caret color */
}

/* ASCII Grid/Table output formatting */
.terminal-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 16px;
    margin: 8px 0;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 2px solid #00ffcc;
}

.terminal-grid-lbl {
    color: #ffffff;
    font-weight: bold;
}

.terminal-grid-val {
    color: #00ffcc;
}

/* ==========================================================================
   Technological Glitch & Hacker Decode Styles
   ========================================================================== */

.text-glitch {
    position: relative;
    display: inline-block;
    transition: text-shadow 0.2s ease;
}

/* Color splitting shadows and shake on hover/active states */
.text-glitch:hover,
.text-glitch.active-glitch {
    animation: glitch-shake 0.25s infinite;
    text-shadow: 2px 0 0 rgba(255, 0, 80, 0.95), -2px 0 0 rgba(0, 255, 255, 0.95);
}

@keyframes glitch-shake {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1.5px, 0.5px); }
    80% { transform: translate(2px, -1px); }
    100% { transform: translate(0); }
}

.hacker-decode {
    font-family: inherit;
    transition: color 0.2s ease;
}

/* AI Highlight Glow effect */
.ai-glow {
    position: relative;
    background: linear-gradient(135deg, #00f5d4, #008f9a, #00ffcc);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 850;
    display: inline-block;
    animation: ai-glow-flow 3s linear infinite, ai-pulse 2.3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 4px rgba(0, 245, 212, 0.4));
}

@keyframes ai-glow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ai-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(0, 245, 212, 0.3));
    }
    100% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.8)) drop-shadow(0 0 15px rgba(0, 143, 154, 0.6));
    }
}

/* ==========================================
   FLOATING AI CHAT WIDGET
   ========================================== */
.ai-chat-widget {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999999;
}

/* Chat Invite Bubble */
.chat-invite-bubble {
    position: absolute;
    bottom: 20px;
    right: 105px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 143, 154, 0.2);
    border-radius: 16px;
    padding: 10px 30px 10px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    z-index: 9998;
    display: flex;
    align-items: center;
    transform: translateX(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-invite-bubble.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-invite-bubble span {
    font-size: 0.82rem;
    color: var(--text-main);
    font-weight: 500;
}

.chat-invite-close {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.chat-invite-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.chat-invite-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.85);
    border-right: 1px solid rgba(0, 143, 154, 0.2);
    border-top: 1px solid rgba(0, 143, 154, 0.2);
}

/* Rotating Energy Border Keyframes */
@keyframes chat-border-spin {
    0%   { --chat-border-angle: 0deg; }
    100% { --chat-border-angle: 360deg; }
}
@property --chat-border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Unified Contact / Chat Window */
.ai-chat-window {
    position: absolute;
    bottom: 105px;
    right: 20px;
    width: 385px; /* Puro chat, sin sidebar */
    height: 520px;
    background: transparent;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 178, 178, 0.18), 0 0 40px rgba(0, 242, 254, 0.12);
    display: flex;
    flex-direction: row;
    overflow: visible; /* Permitir que el borde animado sea visible */
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
    color: var(--text-main);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    /* Borde animado vía gradient */
    padding: 3px;
    animation: chat-border-spin 4s linear infinite;
    background-image: conic-gradient(
        from var(--chat-border-angle),
        #001f3f 0%,
        #005f73 15%,
        #00b2b2 30%,
        #00f2fe 45%,
        #00b2b2 60%,
        #0077b6 75%,
        #001f3f 100%
    );
}

/* Inner wrapper — fondo blanco sólido que cubre el gradiente del borde */
.ai-chat-window-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 21px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    isolation: isolate;
}


.ai-chat-window.hidden {
    opacity: 0;
    transform: scale(0.8) translate3d(0, 40px, 0);
    -webkit-transform: scale(0.8) translate3d(0, 40px, 0);
    pointer-events: none;
}

/* Sidebar Contact Channels */
.chat-window-sidebar {
    width: 75px;
    height: 100%;
    background: #ffffff;
    border-right: 1px solid rgba(0, 200, 210, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 0;
    gap: 30px;
}

.sidebar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
}

.sidebar-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.sidebar-channel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid rgba(0, 178, 178, 0.15);
    text-decoration: none;
}

.sidebar-channel-btn:hover {
    transform: scale(1.1);
}

.sidebar-channel-btn.wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
}

.sidebar-channel-btn.tel:hover {
    background: #00b2b2;
    border-color: #00b2b2;
    color: white;
    box-shadow: 0 0 15px rgba(0, 178, 178, 0.3);
}

.sidebar-channel-btn.mail:hover {
    background: #EA4335;
    border-color: #EA4335;
    color: white;
    box-shadow: 0 0 15px rgba(234, 67, 53, 0.3);
}

.sidebar-channel-btn.sms:hover {
    background: #007b85;
    border-color: #007b85;
    color: white;
    box-shadow: 0 0 15px rgba(0, 123, 133, 0.3);
}

/* Chat Main Area */
.chat-window-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Header */
.chat-window-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 200, 210, 0.2);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe 0%, #00b2b2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-avatar i {
    font-size: 1.1rem;
}

.chat-header-text h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
}

.chat-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s ease;
    padding: 4px;
}

.chat-close-btn:hover {
    color: var(--text-main);
}

/* Messages Area */
.chat-messages-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
}

/* Modern scrollbar for chat messages */
.chat-messages-area::-webkit-scrollbar {
    width: 6px;
}
.chat-messages-area::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages-area::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 178, 178, 0.25) 0%, rgba(0, 242, 254, 0.25) 100%);
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 242, 254, 0.1);
}
.chat-messages-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 143, 154, 0.5) 0%, rgba(0, 178, 178, 0.5) 100%);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
}

.chat-message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message p {
    margin: 0;
    padding: 12px 16px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.chat-message.bot p {
    background: white;
    color: var(--text-main);
    border-radius: 0 16px 16px 16px;
    border: 1px solid rgba(0, 242, 254, 0.15);
    box-shadow: 0 4px 15px rgba(0, 178, 178, 0.03);
}

.chat-message.user p {
    background: #b2f0f0;
    color: #005f6b;
    border-radius: 16px 16px 0 16px;
    box-shadow: 0 4px 15px rgba(0, 178, 178, 0.15);
}

.chat-highlight {
    font-weight: 700;
    color: #008f9a;
}

.chat-link {
    color: #00b2b2;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.chat-link:hover {
    color: #008f9a;
}

.chat-message.user .chat-highlight,
.chat-message.user .chat-link {
    color: #005f6b;
}

.chat-name-highlight {
    color: #00b2b2;
    font-weight: 800;
}

.mavi-logo-badge {
    display: inline;
    background: none;
    border: none;
    color: #00b2b2;
    padding: 0;
    font-weight: 800;
    font-size: inherit;
    letter-spacing: normal;
    box-shadow: none;
    vertical-align: baseline;
}

.chat-message.user .mavi-logo-badge {
    background: none;
    border: none;
    color: #005f6b;
    padding: 0;
    font-weight: 800;
}

.chat-message.user .mavi-logo-badge i {
    color: #005f6b;
}

.chat-message.user .mavi-logo-badge .mavi-accent {
    color: #005f6b;
    background: none;
    -webkit-text-fill-color: initial;
}

.mavi-logo-badge i {
    color: #00b2b2;
}

.mavi-logo-badge .mavi-accent {
    color: #00b2b2;
    background: none;
    -webkit-text-fill-color: initial;
}


.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0 4px;
}

.chat-message.bot .message-time {
    align-self: flex-start;
}

.chat-message.user .message-time {
    align-self: flex-end;
}

/* Suggestions Area */
.chat-suggestions {
    display: flex;
    gap: 8px;
    padding: 10px 20px 15px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    background: transparent;
    transition: all 0.3s ease;
}

.chat-suggestions::-webkit-scrollbar {
    display: none;
}

.chat-suggestions.hidden {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    pointer-events: none;
    overflow: hidden;
}

.suggestion-btn {
    background: white;
    border: 1px solid rgba(0, 178, 178, 0.15);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    flex-shrink: 0; /* Previene que Safari colapse el ancho del botón en flexbox horizontal */
}

.suggestion-btn:hover {
    border-color: #00b2b2;
    color: #008f9a;
    background: rgba(0, 242, 254, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 178, 178, 0.15);
}

.suggestion-btn:active {
    transform: translateY(0);
}

/* Input Area */
.chat-input-area {
    padding: 15px 20px 10px 20px;
    border-top: 1px solid rgba(0, 242, 254, 0.12);
    background: white;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-brand-signature {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 4px auto 12px auto !important;
    padding: 4px 10px !important;
    background: rgba(0, 242, 254, 0.05) !important;
    border: 1px solid rgba(0, 242, 254, 0.18) !important;
    border-radius: 30px !important;
    font-size: 0.58rem !important;
    color: #008f9a !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    width: fit-content !important;
    box-shadow: 0 2px 8px rgba(0, 178, 178, 0.05);
    user-select: none;
    box-sizing: border-box;
}

.chat-brand-signature strong {
    color: #00b2b2 !important;
    font-weight: 800 !important;
}

.chat-brand-signature i {
    color: #00b2b2 !important;
    font-size: 0.65rem !important;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid rgba(0, 178, 178, 0.15);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 0.88rem;
    background: #f0fdfa;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-area input:focus {
    border-color: rgba(0, 242, 254, 0.5);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.18);
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f2fe 0%, #00b2b2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: linear-gradient(135deg, #00b2b2 0%, #008f9a 100%);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.45);
}

.chat-send-btn i {
    font-size: 1.1rem;
}

/* Loading dots animation */
.chat-message.typing-indicator {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 0 16px 16px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.chat-message.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    display: inline-block;
    animation: bounce-typing 1.4s infinite ease-in-out both;
}

.chat-message.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.chat-message.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce-typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* ── Agent Connection System Notice ─────────────────────────────────── */
.chat-system-notice {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted, #8892a4);
    background: rgba(136, 146, 164, 0.08);
    border: 1px solid rgba(136, 146, 164, 0.15);
    border-radius: 20px;
    padding: 6px 14px;
    margin: 8px auto;
    width: fit-content;
    max-width: 80%;
    letter-spacing: 0.01em;
    transition: all 0.4s ease;
}

.chat-system-notice i {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.chat-system-notice.connected {
    color: #1fba74;
    background: rgba(31, 186, 116, 0.08);
    border-color: rgba(31, 186, 116, 0.25);
}

.chat-system-notice.connected i {
    color: #1fba74;
}

@keyframes spin-anim {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.spin-icon {
    display: inline-block;
    animation: spin-anim 0.9s linear infinite;
}

/* ── Lead Capture Form inside Chat ───────────────────────────────────── */
.chat-lead-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0, 212, 226, 0.15);
    border-radius: 16px;
    padding: 24px 20px 20px;
    margin: 10px 4px 6px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.chat-lead-intro {
    font-size: 0.82rem;
    color: var(--text-muted, #8892a4);
    margin: 0 0 16px;
    text-align: center;
    line-height: 1.5;
}

.chat-lead-field {
    margin-bottom: 14px;
}

.chat-lead-field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: var(--text-main, #e0e8f0);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.chat-lead-field input::placeholder {
    color: rgba(180,195,210,0.45);
}

.chat-lead-field input:focus {
    border-color: rgba(0, 212, 226, 0.55);
}

.chat-lead-field input.field-error {
    border-color: rgba(255, 80, 80, 0.6);
    animation: shake-field 0.3s ease;
}

.chat-lead-field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main, #e0e8f0);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(180,195,210,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

.chat-lead-field select:focus {
    border-color: rgba(0, 212, 226, 0.55);
}

.chat-lead-field select.field-error {
    border-color: rgba(255, 80, 80, 0.6);
    animation: shake-field 0.3s ease;
}

.chat-lead-field select option {
    background: #1e293b;
    color: #e0e8f0;
}


@keyframes shake-field {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.chat-lead-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary, #00d4e2), #0099cc);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    transition: opacity 0.2s, transform 0.15s;
}

.chat-lead-submit:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.chat-lead-privacy {
    display: block;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(140, 155, 175, 0.7);
    margin-top: 11px;
    text-decoration: none;
    transition: color 0.2s;
}

.chat-lead-privacy:hover {
    color: rgba(0, 212, 226, 0.8);
}

.chat-lead-privacy i {
    font-size: 0.75rem;
    margin-right: 3px;
}

@media (max-width: 480px) {
    .ai-chat-window {
        width: calc(100vw - 30px);
        height: 500px;
        bottom: 95px;
        right: 15px;
    }

    .chat-invite-bubble {
        right: 15px;
        bottom: 95px;
        padding: 8px 26px 8px 12px;
    }

    .chat-invite-bubble::after {
        top: auto;
        bottom: -6px;
        right: 25px;
        left: auto;
        transform: rotate(135deg);
        border-right: 1px solid rgba(0, 242, 254, 0.2);
        border-top: 1px solid rgba(0, 242, 254, 0.2);
    }
}

/* Contact Country Selector Overlay inside Chat */
.chat-contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    pointer-events: auto;
}

.chat-contact-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
}

.overlay-content {
    width: 85%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.overlay-close-btn {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    padding: 0;
}

.overlay-close-btn:hover {
    color: #008f9a;
}

.overlay-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin: 0 0 5px 0;
}

.overlay-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.overlay-opt-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: white;
    border: 1px solid rgba(0, 178, 178, 0.15);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.overlay-opt-btn:hover {
    transform: translateY(-2px);
    border-color: #00b2b2;
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 8px 20px rgba(0, 178, 178, 0.12);
}

.overlay-flag-wrapper {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opt-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.opt-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.opt-details {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
}

.overlay-opt-btn:hover .opt-label {
    color: #008f9a;
}

/* Custom Global Webkit Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00b2b2 0%, #00f2fe 100%);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #008f9a 0%, #00b2b2 100%);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Firefox compatibility */
* {
    scrollbar-width: thin;
    scrollbar-color: #00b2b2 rgba(0, 0, 0, 0.03);
}

/* Interactive Action Links in Chat Bubble */
.chat-action-link {
    display: inline-block;
    background: white;
    border: 1px solid rgba(0, 178, 178, 0.25);
    color: #008f9a !important;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-decoration: none;
    margin: 4px 2px;
    box-shadow: 0 2px 6px rgba(0, 178, 178, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.chat-action-link:hover {
    background: rgba(0, 242, 254, 0.08);
    border-color: #00b2b2;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 178, 178, 0.12);
}

/* WhatsApp Call to Action Button in Chat */
.chat-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    border: none;
    color: white !important;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 700;
    text-decoration: none;
    margin: 8px 0;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.chat-whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

.chat-whatsapp-btn i {
    font-size: 1.1em;
}

/* Styled List Items in Chat Bubbles */
.chat-list-item {
    display: block;
    position: relative;
    padding-left: 16px;
    margin: 4px 0;
    font-size: 0.92em;
    line-height: 1.4;
    text-align: left;
}

.chat-list-item::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #00b2b2;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 242, 254, 0.5);
}

.chat-message.user .chat-list-item::before {
    background: white;
    box-shadow: none;
}

.bullet-dot {
    display: none;
}

.chat-message p ul {
    margin: 4px 0;
    padding-left: 0;
    list-style-type: none;
}

/* Premium Glassmorphic Chat Tables */
.chat-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 178, 178, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.chat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.chat-table th {
    background: rgba(0, 178, 178, 0.1);
    color: #00b2b2;
    padding: 8px 12px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 178, 178, 0.15);
}

.chat-table td {
    padding: 8px 12px;
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 178, 178, 0.08);
}

.chat-table tr:last-child td {
    border-bottom: none;
}

.chat-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.chat-table tr:hover {
    background: rgba(0, 242, 254, 0.03);
}

/* Unread Messages Scroll Badge */
/* ── Quick Reply Chips ─────────────────────────────────────────── */
.chat-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 12px 12px;
    animation: chipsSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.chat-chip-btn {
    background: #ffffff;
    border: 1.5px solid #00c4c4;
    color: #007a7a;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.chat-chip-btn:hover {
    background: #e0fafa;
    border-color: #009999;
    color: #005f6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 178, 178, 0.18);
}

.chat-chip-btn:active {
    transform: translateY(0);
}
/* ────────────────────────────────────────────────────────────── */

/* Unread Messages Scroll Badge */
.chat-scroll-badge {

    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #00b2b2;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.82em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 178, 178, 0.25);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
}

.chat-scroll-badge.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 15px);
}

.chat-scroll-badge:hover {
    background: #008f9a;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 178, 178, 0.4);
}

.chat-scroll-badge i {
    font-size: 1.1em;
    animation: bounce-arrow-unread 1.5s infinite;
}

@keyframes bounce-arrow-unread {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Seal of MAYAR® ia Technologies inside Service Cards (Insignia Style - Bottom) */
.service-mkt-seal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 15px auto 0 auto !important; /* Centered below the button */
    background: linear-gradient(135deg, #00f2fe 0%, #7c3aed 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 10px rgba(0, 242, 254, 0.2), 0 0 12px rgba(124, 58, 237, 0.15) !important;
    border-radius: 50px !important;
    padding: 4px 10px !important;
    font-size: 0.58rem !important;
    color: white !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    width: fit-content !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 5 !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none;
}

.service-mkt-seal strong {
    color: white !important;
    font-weight: 800 !important;
}

.service-mkt-seal i {
    color: white !important;
    font-size: 0.8rem !important;
    animation: pulse-sparkle-mkt 2s infinite alternate !important;
}

/* Hover effect on card hover */
.service-card:hover .service-mkt-seal {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 22px rgba(0, 242, 254, 0.5), 0 0 20px rgba(124, 58, 237, 0.35) !important;
}

@keyframes pulse-sparkle-mkt {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.5)); }
}

/* ============================================================
   CHAT SIDEBAR RESTUCTURE LAYOUT (22% Sidebar / 78% Main Content)
   ============================================================ */
@media (min-width: 1024px) {
    .site-layout-wrapper {
        display: flex;
        width: 100vw;
        min-height: 100vh;
        position: relative;
    }

    .main-content-layout {
        width: 100vw; /* 100% of viewport width by default */
        flex-shrink: 0;
        box-sizing: border-box;
        overflow-x: hidden;
        transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .chat-sidebar-layout {
        width: 22vw;
        height: 100vh;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 1000;
        background: #ffffff; /* Clean white matching the chat window inner wrapper */
        border-left: 1.5px solid rgba(0, 143, 154, 0.12); /* Subtle teal border */
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        transform: translate3d(100%, 0, 0); /* Offscreen by default */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* COLLAPSIBLE SIDEBAR: When body is .chat-open */
    body.chat-open .main-content-layout {
        width: 78vw; /* Compresses to make space for sidebar */
    }

    body.chat-open .chat-sidebar-layout {
        transform: translate3d(0, 0, 0); /* Slides onscreen */
    }

    /* Re-center fixed navbar inside the 78vw visible content area when chat is open */
    body.chat-open .navbar {
        left: 39vw !important;
        width: min(92vw * 0.78, 1140px) !important;
    }
    body.chat-open .navbar.scrolled {
        left: 39vw !important;
        width: min(95vw * 0.78, 1180px) !important;
    }

    /* Override Chat Widget floating behaviors inside sidebar on desktop */
    .chat-sidebar-layout #aiChatWidget {
        position: relative !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
        z-index: auto !important;
    }

    /* The chat window is permanently visible and covers the sidebar */
    .chat-sidebar-layout #aiChatWindow {
        display: flex !important;
        position: relative !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 !important; /* Remove the conic-gradient border padding */
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .chat-sidebar-layout .ai-chat-window-inner {
        border-radius: 0 !important;
        border: none !important;
        background: transparent !important;
        height: 100% !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .chat-sidebar-layout .chat-window-main {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        width: 100% !important;
    }

    /* Keep contact button and header close button visible, but hide invite bubble */
    #chatInviteBubble {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .site-layout-wrapper {
        display: block;
    }
    .main-content-layout {
        width: 100%;
    }
    .chat-sidebar-layout {
        display: contents; /* Bypasses container wrapper so original floating rules apply to #aiChatWidget */
    }
}