/* ==========================================================================
   ZambraCloud — Editorial Premium · Dark
   Paleta corporativa: Cyan #00E5FF · Azul #147CFF
   ========================================================================== */
:root {
    /* Fondo y superficies */
    --bg-dark: #000000;
    --bg-elev: #0A0D14;
    --bg-card: rgba(13, 18, 35, 0.5);
    --bg-card-hover: rgba(18, 26, 50, 0.75);

    /* Acentos corporativos */
    --accent-1: #00E5FF;
    --accent-2: #147CFF;
    --accent-glow: rgba(0, 229, 255, 0.35);
    --accent-soft: rgba(20, 124, 255, 0.10);

    /* Texto */
    --text-primary: #F5F7FB;
    --text-secondary: #9AA4BE;
    --text-muted: #5C6680;

    /* Bordes y líneas */
    --border-hairline: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(0, 229, 255, 0.22);

    /* Tipografía */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Instrument Serif', 'Times New Roman', serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Movimiento */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-smooth: 0.5s var(--ease-out);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fondo global: negro puro con grano sutil para textura premium */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.4;
    mix-blend-mode: overlay;
    pointer-events: none;
}

h1, h2, h3, h4 {
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.025em;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

p { color: var(--text-secondary); }

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Utilidades
   ========================================================================== */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-1) 50%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Eyebrow pill minimalista (estilo referencia) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0;
    text-transform: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Numeración de sección estilo editorial */
.section-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

/* Panel premium (reemplaza glass) */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-hairline);
    border-radius: 18px;
    transition: border-color var(--transition-smooth), background var(--transition-smooth), transform var(--transition-smooth);
}

/* Horizonte cinematográfico — solo en el bottom del hero */
.aurora { display: none; }

/* 1. Línea brillante del horizonte — más intensa y prominente */
.horizon {
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 95%;
    height: 280px;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 100% at 50% 100%,
        rgba(230, 252, 255, 1) 0%,
        rgba(0, 229, 255, 0.95) 8%,
        rgba(0, 229, 255, 0.72) 18%,
        rgba(20, 124, 255, 0.45) 35%,
        rgba(20, 124, 255, 0.20) 55%,
        transparent 78%);
    filter: blur(6px);
}

/* 2. Glow ambiental envolvente — más grande y saturado */
.horizon-glow {
    position: absolute;
    left: 50%;
    bottom: -160px;
    transform: translateX(-50%);
    width: 2000px;
    max-width: 160%;
    height: 700px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 55% 90% at 50% 100%,
        rgba(0, 229, 255, 0.55) 0%,
        rgba(20, 124, 255, 0.35) 25%,
        rgba(20, 124, 255, 0.15) 50%,
        transparent 75%);
    filter: blur(70px);
}

/* 3. Atmósfera vertical — rayos más intensos */
.horizon-rays {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 229, 255, 0.05) 40%,
        rgba(0, 229, 255, 0.16) 75%,
        rgba(20, 124, 255, 0.25) 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

/* 4. Efecto de humo eliminado para mantener el hero limpio y ligero. */


/* Horizonte superior — espejo exacto del horizonte inferior, visible como techo del hero */
.hero-ceiling-horizon {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 58%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Las capas superiores usan las mismas dimensiones, intensidades y blur que el horizonte inferior,
   pero con el punto de luz invertido hacia arriba para que se lea como techo. */
.hero-ceiling-horizon .horizon {
    top: -50px;
    bottom: auto;
    z-index: 1;
    background: radial-gradient(ellipse 55% 100% at 50% 0%,
        rgba(230, 252, 255, 1) 0%,
        rgba(0, 229, 255, 0.95) 8%,
        rgba(0, 229, 255, 0.72) 18%,
        rgba(20, 124, 255, 0.45) 35%,
        rgba(20, 124, 255, 0.20) 55%,
        transparent 78%);
}

.hero-ceiling-horizon .horizon-glow {
    top: -160px;
    bottom: auto;
    z-index: 0;
    background: radial-gradient(ellipse 55% 90% at 50% 0%,
        rgba(0, 229, 255, 0.55) 0%,
        rgba(20, 124, 255, 0.35) 25%,
        rgba(20, 124, 255, 0.15) 50%,
        transparent 75%);
}

.hero-ceiling-horizon .horizon-rays {
    top: 0;
    bottom: auto;
    z-index: 0;
    background: linear-gradient(180deg,
        rgba(20, 124, 255, 0.25) 0%,
        rgba(0, 229, 255, 0.16) 25%,
        rgba(0, 229, 255, 0.05) 60%,
        transparent 100%);
}

/* Compatibilidad blobs (los neutralizamos) */
.blob { display: none; }

/* ==========================================================================
   Navegación
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 7, 15, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid var(--border-hairline);
    padding: 12px 0;
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.nav-content .logo { justify-self: start; }
.nav-content .nav-links { justify-self: center; }
.nav-content .hamburger { justify-self: end; }
.nav-content .nav-cta { justify-self: end; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.35));
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(20, 124, 255, 0.6));
}

.logo-text { color: var(--text-primary); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 450;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--accent-1);
    transition: width var(--transition-fast);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

/* Botones pill — estilo referencia */
.btn-primary {
    background: linear-gradient(180deg, #00E5FF 0%, #147CFF 100%);
    color: #02121F !important;
    padding: 14px 30px;
    border-radius: 100px;
    font-weight: 600 !important;
    font-size: 0.95rem;
    border: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 10px 30px -10px rgba(0, 229, 255, 0.55),
        0 0 40px -10px rgba(20, 124, 255, 0.45);
    transition: var(--transition-fast) !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 14px 36px -10px rgba(0, 229, 255, 0.7),
        0 0 60px -10px rgba(20, 124, 255, 0.6);
}

.btn-primary::after {
    content: "→";
    transition: transform var(--transition-fast);
    font-weight: 500;
}

.btn-primary:hover::after { transform: translateX(3px); }

/* Botón secundario: pill blanco outline */
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--text-primary);
    padding: 14px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.40);
    transform: translateY(-1px);
}

/* Botón del nav: blanco compacto estilo referencia */
.btn-nav {
    background: #FFFFFF;
    color: #02121F !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600 !important;
    font-size: 0.88rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 18px -6px rgba(0, 229, 255, 0.4);
    transition: var(--transition-fast) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-nav:hover {
    transform: translateY(-1px);
    background: #F0F8FF;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 24px -6px rgba(0, 229, 255, 0.6);
}

/* El nav button no lleva subrayado animado */
.nav-links a.btn-nav::after { display: none !important; }

/* Hamburguesa */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero — editorial premium
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 0 0;
    text-align: center;
    overflow: hidden;
    background: #000000;
}

.hero > .container { width: 92%; position: relative; z-index: 3; }
.hero-content { position: relative; z-index: 3; }

.hero-content {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero .eyebrow {
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 28px;
    color: #FFFFFF;
}

.hero-title .gradient-text {
    background: none;
    -webkit-text-fill-color: #FFFFFF;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    padding-bottom: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    font-weight: 400;
}


/* Subtítulo del hero: aparece solo cuando termina la escritura del título */
.js-enabled .hero-subtitle-after-title {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
    transition:
        opacity 0.9s var(--ease-out),
        transform 0.9s var(--ease-out),
        filter 0.9s var(--ease-out);
    will-change: opacity, transform, filter;
}

.js-enabled .hero-subtitle-after-title.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Typewriter oculto en la nueva estética minimalista */
.minimal-typewriter { display: none; }

/* Stats bar — separado del hero para no interferir con el horizonte */
.stats-bar {
    position: relative;
    z-index: 5;
    background: #000000;
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
    padding: 36px 0;
    margin-top: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border-hairline);
    padding: 8px 0;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin-bottom: 6px;
}

.stat-number .gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* ==========================================================================
   Secciones — Encabezado editorial
   ========================================================================== */
.services,
.about,
.process,
.contact-section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: left;
    margin-bottom: 64px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: end;
}

.section-header-text { max-width: 540px; }

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    margin-bottom: 0;
    letter-spacing: -0.035em;
    font-weight: 600;
    line-height: 1.05;
}

.section-title .serif-italic {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 700;
    color: var(--accent-1);
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    padding-bottom: 0.05em;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px;
}

/* ==========================================================================
   Servicios — Layout 2 columnas: iPhone showcase + lista de servicios
   ========================================================================== */
.services-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 72px;
    align-items: start;
}

.services-showcase {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card {
    padding: 26px 28px;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: 18px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 22px;
    align-items: start;
}

.service-card:hover {
    transform: translateX(4px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(20, 124, 255, 0.10) 0%, rgba(0, 229, 255, 0.04) 50%, transparent 100%), var(--bg-card);
    border-color: var(--border-accent);
}

.service-card .service-icon {
    margin-bottom: 0;
    width: 56px;
    height: 56px;
}

.service-card .service-title { font-size: 1.15rem; margin-bottom: 8px; }
.service-card .service-desc { font-size: 0.92rem; line-height: 1.6; }
.service-card .service-features { margin-top: 12px; }
.service-card .service-tag { margin-bottom: 10px; }

/* ==========================================================================
   iPhone showcase (mockup integrado en la sección)
   ========================================================================== */
.showcase-phone {
    width: 290px;
    height: 600px;
    background: #1a1a1c;
    border-radius: 50px;
    padding: 6px;
    position: relative;
    border: 1px solid #2c2c2e;
    box-sizing: border-box;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.9),
        0 0 100px -20px rgba(0, 229, 255, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.showcase-phone::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 108px;
    width: 2px;
    height: 36px;
    background: #3a3a3c;
    border-radius: 2px 0 0 2px;
}

.showcase-phone::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 170px;
    width: 2px;
    height: 58px;
    background: #3a3a3c;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 86px 0 #3a3a3c;
}

.showcase-side-btn {
    position: absolute;
    right: -2px;
    top: 155px;
    width: 2px;
    height: 78px;
    background: #3a3a3c;
    border-radius: 0 2px 2px 0;
}

.showcase-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 44px;
    overflow: hidden;
    position: relative;
}

.showcase-island {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 26px;
    background: #000;
    border-radius: 14px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.showcase-island::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a2530;
    box-shadow: inset 0 0 0 1px #0a1218;
}

.showcase-status {
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 26px;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    z-index: 99;
    font-family: var(--font-sans);
}

/* === Sistema de 3 fases: Google → Landing → Formulario === */
.ph-google,
.ph-landing,
.ph-contact {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* --- Fase 1: Google search --- */
.ph-google {
    background: #fff;
    z-index: 30;
    padding-top: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: phGoogleShow 32s infinite;
}
@keyframes phGoogleShow {
    0%, 18% { opacity: 1; }
    22%, 97% { opacity: 0; }
    99%, 100% { opacity: 1; }
}

.g-logo {
    font-family: arial, sans-serif;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: -1px;
    line-height: 1;
}
.g-logo span:nth-child(1) { color: #4285F4; }
.g-logo span:nth-child(2) { color: #DB4437; }
.g-logo span:nth-child(3) { color: #F4B400; }
.g-logo span:nth-child(4) { color: #4285F4; }
.g-logo span:nth-child(5) { color: #0F9D58; }
.g-logo span:nth-child(6) { color: #DB4437; }

.g-search {
    width: 240px;
    background: #fff;
    border: 1px solid #DFE1E5;
    border-radius: 24px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 4px rgba(32,33,36,0.18);
    margin-bottom: 22px;
}

.g-search-icon { color: #9aa0a6; width: 14px; height: 14px; flex-shrink: 0; }

.g-search-text {
    flex: 1;
    overflow: hidden;
    font-family: arial, sans-serif;
    font-size: 13px;
    color: #202124;
    height: 18px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.g-typed {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: gType 32s infinite;
}
@keyframes gType {
    0%, 4% { width: 0; }
    16% { width: 105px; }
    22% { width: 105px; }
    23%, 100% { width: 0; }
}

.g-cursor {
    display: inline-block;
    width: 1.5px;
    height: 14px;
    background: #202124;
    margin-left: 1px;
    animation: gBlink 0.7s step-end infinite, gCursorHide 32s infinite;
}
@keyframes gBlink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}
@keyframes gCursorHide {
    0%, 18% { visibility: visible; }
    19%, 100% { visibility: hidden; }
}

.g-button {
    background: #F8F9FA;
    color: #3C4043;
    border: 1px solid #F8F9FA;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-family: arial, sans-serif;
    cursor: default;
    animation: gButton 32s infinite;
}
@keyframes gButton {
    0%, 16% { background: #F8F9FA; border-color: #F8F9FA; transform: scale(1); }
    17.5% { background: #F1F3F4; border-color: #DADCE0; transform: scale(1.05); }
    19% { background: #E8EAED; border-color: #DADCE0; transform: scale(0.95); }
    20%, 100% { background: #F8F9FA; border-color: #F8F9FA; transform: scale(1); }
}

/* --- Fase 2: Landing scrolling --- */
.ph-landing {
    background: #000;
    z-index: 20;
    animation: phLandingShow 32s infinite;
}
@keyframes phLandingShow {
    0%, 19% { opacity: 0; }
    23%, 49% { opacity: 1; }
    52%, 100% { opacity: 0; }
}

.ph-landing-scroll {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    will-change: transform;
    animation: phLandScroll 32s cubic-bezier(.5, .05, .5, .95) infinite;
}
@keyframes phLandScroll {
    0%, 23% { transform: translateY(0); }
    33% { transform: translateY(-420px); }
    42% { transform: translateY(-900px); }
    49% { transform: translateY(-1300px); }
    100% { transform: translateY(-1300px); }
}

/* --- Fase 3: Formulario de contacto --- */
.ph-contact {
    background: #000;
    z-index: 25;
    padding: 56px 18px 18px;
    animation: phContactShow 32s infinite;
}
@keyframes phContactShow {
    0%, 49% { opacity: 0; }
    53%, 97% { opacity: 1; }
    99%, 100% { opacity: 0; }
}

.cf-title { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 3px; letter-spacing: -0.02em; }
.cf-subtitle { color: #5c6680; font-size: 10px; margin: 0 0 16px; }

.cf-field { margin-bottom: 11px; }
.cf-label {
    color: #9aa4be;
    font-size: 8.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    display: block;
}

.cf-input {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 9px 12px;
    color: #fff;
    font-size: 11px;
    min-height: 17px;
    line-height: 1.4;
    display: block;
}
.cf-textarea { min-height: 46px; }

.cf-field-1 .cf-input { animation: cfActive1 32s infinite; }
@keyframes cfActive1 {
    0%, 52% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
    53%, 62% { border-color: #00E5FF; box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }
    63%, 100% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
}
.cf-field-2 .cf-input { animation: cfActive2 32s infinite; }
@keyframes cfActive2 {
    0%, 62% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
    63%, 72% { border-color: #00E5FF; box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }
    73%, 100% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
}
.cf-field-3 .cf-input { animation: cfActive3 32s infinite; }
@keyframes cfActive3 {
    0%, 72% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
    73%, 87% { border-color: #00E5FF; box-shadow: 0 0 0 3px rgba(0,229,255,0.15); }
    88%, 100% { border-color: rgba(255,255,255,0.06); box-shadow: none; }
}

.cf-field-1 .cf-typed,
.cf-field-2 .cf-typed {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    vertical-align: bottom;
}
.cf-field-1 .cf-typed { animation: cfType1 32s infinite; }
@keyframes cfType1 {
    0%, 53% { width: 0; }
    61%, 99% { width: 130px; }
    100% { width: 0; }
}
.cf-field-2 .cf-typed { animation: cfType2 32s infinite; }
@keyframes cfType2 {
    0%, 63% { width: 0; }
    71%, 99% { width: 145px; }
    100% { width: 0; }
}

.cf-field-3 .cf-typed {
    display: block;
    clip-path: inset(0 100% 0 0);
    line-height: 1.45;
    animation: cfType3 32s infinite;
}
@keyframes cfType3 {
    0%, 73% { clip-path: inset(0 100% 0 0); }
    86%, 99% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 100% 0 0); }
}

.cf-cursor-1, .cf-cursor-2, .cf-cursor-3 {
    display: inline-block;
    width: 1.5px;
    height: 12px;
    background: #00E5FF;
    margin-left: 2px;
    vertical-align: middle;
}
.cf-cursor-1 { animation: cfBlink 0.7s step-end infinite, cVisible1 32s infinite; }
.cf-cursor-2 { animation: cfBlink 0.7s step-end infinite, cVisible2 32s infinite; }
.cf-cursor-3 { animation: cfBlink 0.7s step-end infinite, cVisible3 32s infinite; }

@keyframes cfBlink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}
@keyframes cVisible1 {
    0%, 52% { visibility: hidden; }
    53%, 61% { visibility: visible; }
    62%, 100% { visibility: hidden; }
}
@keyframes cVisible2 {
    0%, 62% { visibility: hidden; }
    63%, 71% { visibility: visible; }
    72%, 100% { visibility: hidden; }
}
@keyframes cVisible3 {
    0%, 72% { visibility: hidden; }
    73%, 86% { visibility: visible; }
    87%, 100% { visibility: hidden; }
}

.cf-button {
    background: linear-gradient(180deg, #00E5FF, #147CFF);
    color: #02121f;
    padding: 11px 24px;
    border-radius: 100px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    animation: cfButton 32s infinite;
}
@keyframes cfButton {
    0%, 86% {
        background: linear-gradient(180deg, #00E5FF, #147CFF);
        transform: scale(1);
        box-shadow: 0 8px 22px -8px rgba(0,229,255,0.55);
    }
    88% {
        background: linear-gradient(180deg, #00B8D9, #1057CC);
        transform: scale(0.96);
        box-shadow: 0 3px 10px -8px rgba(0,229,255,0.3);
    }
    91% {
        background: linear-gradient(180deg, #2EE3A0, #18B27A);
        transform: scale(1.02);
        box-shadow: 0 10px 26px -8px rgba(46,227,160,0.6);
    }
    93%, 100% {
        background: linear-gradient(180deg, #2EE3A0, #18B27A);
        transform: scale(1);
        box-shadow: 0 8px 22px -8px rgba(46,227,160,0.55);
    }
}

.cf-btn-default,
.cf-btn-success {
    display: inline-block;
    transition: none;
}
.cf-btn-default { animation: cfBtnDefault 32s infinite; }
@keyframes cfBtnDefault {
    0%, 87% { opacity: 1; }
    89%, 100% { opacity: 0; }
}
.cf-btn-success {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: cfBtnSuccess 32s infinite;
}
@keyframes cfBtnSuccess {
    0%, 89% { opacity: 0; }
    92%, 100% { opacity: 1; }
}

.cf-status {
    color: #2EE3A0;
    font-size: 10px;
    text-align: center;
    margin-top: 12px;
    opacity: 0;
    animation: cfStatus 32s infinite;
}
@keyframes cfStatus {
    0%, 91% { opacity: 0; }
    94%, 100% { opacity: 1; }
}

.showcase-page {
    background: #000;
    color: #fff;
    font-family: var(--font-sans);
    padding-top: 44px;
}

.sp-nav { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 14px; }
.sp-logo { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: -0.02em; }
.sp-logo-mark { width: 18px; height: 18px; border-radius: 5px; background: #147CFF; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
.sp-logo-cloud { color: #00E5FF; }
.sp-nav-cta { background: #fff; color: #02121f; padding: 4px 11px; border-radius: 100px; font-size: 10px; font-weight: 600; }

.sp-hero { position: relative; padding: 28px 20px 0; text-align: center; height: 480px; overflow: hidden; }
.sp-eyebrow { display: inline-block; padding: 4px 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; font-size: 9px; color: #fff; margin-bottom: 14px; font-weight: 500; }
.sp-hero-title { font-size: 26px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: #fff; margin: 0 0 12px; }
.sp-hero-sub { font-size: 10.5px; color: #9aa4be; line-height: 1.55; margin: 0 4px 18px; font-weight: 400; }
.sp-cta-col { display: flex; flex-direction: column; gap: 8px; align-items: center; position: relative; z-index: 5; }
.sp-btn-1 { background: linear-gradient(180deg, #00E5FF, #147CFF); color: #02121f; padding: 9px 20px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.sp-btn-2 { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 9px 20px; border-radius: 100px; font-size: 11px; font-weight: 600; }

.sp-horizon { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 260px; height: 110px; background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(180,245,255,.95) 0%, rgba(0,229,255,.7) 12%, rgba(0,229,255,.35) 30%, rgba(20,124,255,.15) 55%, transparent 78%); filter: blur(5px); z-index: 1; pointer-events: none; }
.sp-horizon-glow { position: absolute; left: 50%; bottom: -50px; transform: translateX(-50%); width: 340px; height: 220px; background: radial-gradient(ellipse 55% 90% at 50% 100%, rgba(0,229,255,.3) 0%, rgba(20,124,255,.18) 30%, transparent 70%); filter: blur(28px); z-index: 0; pointer-events: none; }

.sp-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 0; margin: 0 12px; }
.sp-stat { text-align: center; border-right: 1px solid rgba(255,255,255,.06); padding: 0 4px; }
.sp-stat:last-child { border-right: none; }
.sp-stat-num { display: block; font-size: 13px; font-weight: 500; color: #fff; letter-spacing: -0.02em; margin-bottom: 3px; }
.sp-stat-num-grad { background: linear-gradient(135deg, #00E5FF, #147CFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sp-stat-label { font-size: 7px; color: #5c6680; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }

.sp-section { padding: 28px 20px 24px; }
.sp-eyebrow-2 { font-family: var(--font-mono); font-size: 8px; color: #5c6680; letter-spacing: 0.08em; margin-bottom: 8px; display: block; }
.sp-title-2 { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.sp-title-grad { background: linear-gradient(135deg, #00E5FF, #147CFF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sp-desc { font-size: 10px; color: #9aa4be; line-height: 1.55; margin-bottom: 16px; }
.sp-cards { display: flex; flex-direction: column; gap: 9px; }
.sp-card { background: rgba(13,18,35,.55); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 14px; }
.sp-card-featured { background: linear-gradient(150deg, rgba(20,124,255,.1) 0%, rgba(0,229,255,.04) 50%, transparent 100%), rgba(13,18,35,.55); border-color: rgba(0,229,255,.22); }
.sp-card-tag { display: inline-block; padding: 2px 7px; background: rgba(0,229,255,.08); border: 1px solid rgba(0,229,255,.18); border-radius: 4px; font-family: var(--font-mono); font-size: 7px; color: #00E5FF; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.sp-card-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0,229,255,.1), rgba(20,124,255,.04)); border: 1px solid rgba(0,229,255,.18); border-radius: 8px; margin-bottom: 10px; color: #00E5FF; }
.sp-card-icon svg { width: 16px; height: 16px; }
.sp-card-title { font-size: 12px; font-weight: 600; color: #fff; margin: 0 0 5px; letter-spacing: -0.02em; }
.sp-card-desc { font-size: 9.5px; color: #9aa4be; line-height: 1.5; margin: 0; }

.sp-process { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.sp-step { display: flex; gap: 10px; align-items: flex-start; }
.sp-step-num { width: 28px; height: 28px; border-radius: 50%; background: #000; border: 1px solid rgba(0,229,255,.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10px; color: #00E5FF; flex-shrink: 0; font-weight: 500; }
.sp-step-title { font-size: 11px; font-weight: 600; color: #fff; margin: 0 0 3px; }
.sp-step-desc { font-size: 9px; color: #9aa4be; line-height: 1.5; margin: 0; }

.sp-contact { padding: 16px 0 40px; }
.sp-contact-card { background: linear-gradient(135deg, rgba(20,124,255,.06), transparent 60%), rgba(13,18,35,.55); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 20px 16px; text-align: center; margin: 0 12px; }
.sp-contact-title { font-size: 17px; font-weight: 700; color: #fff; margin: 8px 0 6px; letter-spacing: -0.025em; line-height: 1.1; }
.sp-contact-desc { font-size: 9.5px; color: #9aa4be; line-height: 1.55; margin: 0 0 12px; }

.showcase-caption {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.showcase-caption::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 8px var(--accent-1);
    animation: showcasePulse 2s ease-in-out infinite;
}

@keyframes showcasePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    width: fit-content;
}

.service-icon {
    margin-bottom: 28px;
    color: var(--accent-1);
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.10), rgba(20, 124, 255, 0.04));
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 12px;
}

.service-icon svg {
    filter: drop-shadow(0 0 8px var(--accent-glow));
    width: 26px;
    height: 26px;
}

.service-card.featured .service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

.service-card.featured .service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    flex: 1;
}

.service-features {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 6px var(--accent-1);
    flex-shrink: 0;
}

/* ===========================================================================
   Proceso — Timeline horizontal controlado por JS
   ========================================================================== */
.process { padding: 100px 0; }

.process-grid {
    --process-line-progress: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-grid::before,
.process-grid::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 4%;
    right: 4%;
    border-radius: 999px;
    pointer-events: none;
}

.process-grid::before {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
    z-index: 0;
}

/* Línea progresiva: queda detrás de los números y se controla con --process-line-progress. */
.process-grid::after {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
    z-index: 1;
    transform-origin: left center;
    transform: scaleX(var(--process-line-progress));
    transition: transform 0.08s linear;
}

.process-step {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}

.process-step-number {
    --step-progress: 0;
    --step-mask-alpha: 1;
    --step-scale: 0.92;
    --step-glow-size: 0px;
    --step-glow-alpha: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-1);
    font-weight: 500;
    transform: scale(var(--step-scale));
    transition: color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
    box-shadow:
        0 0 0 12px var(--bg-dark),
        inset 0 0 0 999px rgba(0, 0, 0, var(--step-mask-alpha)),
        0 0 var(--step-glow-size) rgba(0, 229, 255, var(--step-glow-alpha));
    isolation: isolate;
    overflow: hidden;
}

.process-step-number.is-active {
    border-color: var(--accent-1);
    color: #02121F;
}

.process-step-number.is-in-progress {
    border-color: rgba(0, 229, 255, 0.78);
    color: #FFFFFF;
}

.process-step-title,
.process-step-desc {
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.js-enabled .process-step:not(.visible) .process-step-title,
.js-enabled .process-step:not(.visible) .process-step-desc {
    opacity: 0.35;
    transform: translateY(12px);
}

.process-step.is-active .process-step-title {
    color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
    .process-grid::after {
        transform: scaleX(1);
        transition: none;
    }

    .process-step-number {
        --step-progress: 1 !important;
        --step-mask-alpha: 0 !important;
        --step-scale: 1 !important;
        --step-glow-size: 18px !important;
        --step-glow-alpha: 0.35 !important;
        color: #02121F;
        transform: none;
        transition: none;
    }
}

.process-step-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.process-step-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================================
   Nosotros — tarjetas originales con movimiento 3D controlado por scroll
   ========================================================================== */
.about {
    position: relative;
    z-index: 8;
    overflow: visible;
}

.about-content {
    padding: 80px 64px;
    max-width: 100%;
    margin: 0;
    border: 1px solid var(--border-hairline);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(20, 124, 255, 0.06), transparent 60%), var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    perspective: 1700px;
    transform-style: preserve-3d;
}

.about-content .section-title { text-align: left; margin-bottom: 24px; }
.about-content .section-desc { text-align: left; max-width: none; font-size: 1.08rem; line-height: 1.75; }

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    perspective: 1700px;
    transform-style: preserve-3d;
}

.about-pillar {
    --card-x: 0px;
    --card-y: 0px;
    --card-z: 0px;
    --card-rx: 0deg;
    --card-ry: 0deg;
    --card-rz: 0deg;
    --card-scale: 1;
    --card-opacity: 1;
    --card-blur: 0px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-hairline);
    border-radius: 12px;
    opacity: var(--card-opacity);
    filter: blur(var(--card-blur));
    transform:
        translate3d(var(--card-x), var(--card-y), var(--card-z))
        rotateX(var(--card-rx))
        rotateY(var(--card-ry))
        rotateZ(var(--card-rz))
        scale(var(--card-scale));
    transform-style: preserve-3d;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        filter 0.18s linear;
}

.about-pillar:hover {
    border-color: var(--border-accent);
    background: rgba(0, 229, 255, 0.03);
}

.about-pillar-icon {
    color: var(--accent-1);
    margin-bottom: 14px;
}

.about-pillar h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-weight: 600;
}

.about-pillar p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .about-content,
    .about-pillars,
    .about-pillar {
        transform-style: flat;
    }

    .about-pillar {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-section {
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-text { padding-top: 12px; }
.contact-text .section-title { text-align: left; margin-bottom: 20px; }
.contact-text .section-desc { text-align: left; margin-bottom: 36px; font-size: 1.05rem; }

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border-hairline);
}

.contact-info-blocks .info-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 1rem;
    transition: var(--transition-fast);
    padding: 6px 0;
}

.contact-link svg {
    color: var(--accent-1);
    transition: var(--transition-fast);
    width: 18px;
    height: 18px;
}

.contact-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.contact-link:hover svg {
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.contact-form-container {
    padding: 40px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-hairline);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.form-title {
    margin-bottom: 4px;
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
    position: relative;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 28px;
    position: relative;
}

.form-group { margin-bottom: 18px; position: relative; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group textarea,
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.form-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-hairline);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    appearance: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.form-group select option { background: var(--bg-elev); }

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.w-100 { width: 100%; margin-top: 8px; justify-content: center; }

.form-status {
    min-height: 22px;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.form-status.success { color: #22D3A5; }
.form-status.error { color: #FF6B7A; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-hairline);
    padding: 80px 0 32px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
    position: relative;
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 48px;
}

.footer-simple .logo {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.footer-simple .logo-img {
    width: 56px;
    height: 56px;
}

.footer-simple .footer-desc {
    color: var(--text-secondary);
    margin-top: 0;
    max-width: 440px;
    font-size: 1rem;
    line-height: 1.65;
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--border-hairline);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   Animaciones reveal
   ========================================================================== */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    will-change: opacity, transform;
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js-enabled .fade-in {
    opacity: 0;
    transform: translateY(24px);
}

.js-enabled .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.mt-4 { margin-top: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        justify-items: center;
    }
    .services-showcase {
        position: relative;
        top: 0;
    }
    .services-list { width: 100%; }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-card.featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 320px;
    }
    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .process-grid::before,
    .process-grid::after { display: none; }
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 40px;
    }
    .about-pillars {
        max-width: 680px;
        width: 100%;
    }
    .section-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stat-item:nth-child(2) { border-right: none; }
}

/* Visibilidad mobile-only / desktop-only del nav */
.mobile-only { display: none; }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    .mobile-only { display: block; }

    .nav-content {
        display: flex;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s var(--ease-out);
        backdrop-filter: blur(24px);
        gap: 28px;
    }

    .nav-links.active { right: 0; }

    .nav-links a { font-size: 1.1rem; }

    .services,
    .about,
    .process,
    .contact-section { padding: 80px 0; }

    .hero { padding-top: 120px; min-height: auto; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
    .hero-buttons a { width: 100%; justify-content: center; }

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

    .service-card.featured,
    .service-card {
        grid-column: span 1;
        grid-row: span 1;
        min-height: auto;
    }

    .service-card.featured .service-title { font-size: 1.5rem; }

    .showcase-phone { transform: scale(0.92); transform-origin: top center; }

    .process-grid { grid-template-columns: 1fr; gap: 32px; }

    .contact-form-container { padding: 28px 24px; }

    .about-content {
        padding: 40px 24px;
        border-radius: 22px;
    }

    .about-pillars {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-pillar {
        min-height: auto;
        padding: 22px;
    }

    .footer-simple .logo-img { width: 48px; height: 48px; }

    .stats-bar { padding: 24px 0; margin-top: 56px; }
    .stat-number { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; gap: 16px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-hairline); padding-bottom: 16px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}



@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width: 768px) {
    .hero-ceiling-horizon {
        height: 55%;
    }

    .about-content {
        padding: 40px 24px;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Intro Splash — Bienvenida al iniciar sesión (se activa con .active)
   ========================================================================== */
.intro-splash {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-splash.active {
    display: flex;
    animation: introOut 0.7s cubic-bezier(.7,0,.3,1) 2.5s forwards;
}

.intro-splash::before {
    content: '';
    position: absolute;
    width: 90vmin;
    height: 90vmin;
    background: radial-gradient(circle at center,
        rgba(0, 229, 255, 0.22) 0%,
        rgba(20, 124, 255, 0.12) 30%,
        transparent 60%);
    filter: blur(40px);
    opacity: 0;
    pointer-events: none;
}

.intro-splash.active::before {
    animation: introGlowIn 1.2s ease-out 0.2s forwards;
}

.intro-splash::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
    opacity: 0;
    pointer-events: none;
}

.intro-splash.active::after {
    animation: introGlowIn 1.5s ease-out 0.3s forwards;
}

.intro-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.intro-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.7) translateY(24px);
}

.intro-splash.active .intro-logo {
    animation: introLogoIn 1s cubic-bezier(.16, 1, .3, 1) 0.15s forwards;
}

.intro-name {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 6.5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    color: #fff;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(18px);
    line-height: 1;
}

.intro-splash.active .intro-name {
    animation: introUp 0.9s cubic-bezier(.16, 1, .3, 1) 0.6s forwards;
}

.intro-name .grad {
    background: linear-gradient(135deg, #00E5FF, #147CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-line {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.75), transparent);
    margin: 26px auto 16px;
}

.intro-splash.active .intro-line {
    animation: introLineIn 0.8s cubic-bezier(.16, 1, .3, 1) 1.05s forwards;
}

.intro-tagline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0;
    font-weight: 500;
}

.intro-splash.active .intro-tagline {
    animation: introUp 0.8s ease-out 1.35s forwards;
}

@keyframes introLogoIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.6));
    }
}

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

@keyframes introLineIn {
    to { width: 200px; }
}

@keyframes introGlowIn {
    to { opacity: 1; }
}

@keyframes introOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .intro-splash.active { animation-duration: 0.1s !important; animation-delay: 0s !important; }
    .intro-splash.active .intro-logo,
    .intro-splash.active .intro-name,
    .intro-splash.active .intro-line,
    .intro-splash.active .intro-tagline { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Section Reveal — Stagger animation cuando una sección entra al viewport
   ========================================================================== */
.js-enabled .section-header.fade-in .section-number,
.js-enabled .section-header.fade-in .section-title,
.js-enabled .section-header.fade-in .section-desc {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js-enabled .section-header.fade-in.visible .section-number {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.js-enabled .section-header.fade-in.visible .section-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.js-enabled .section-header.fade-in.visible .section-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

/* Línea cian que se dibuja al lado del número de sección */
.section-number {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.section-number::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-1), transparent);
    transition: width 1.1s var(--ease-out) 0.55s;
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.6);
}

.js-enabled .section-header.fade-in.visible .section-number::after {
    width: 70px;
}

/* Glow cian temporal cuando la sección aparece */
.section-header.fade-in {
    position: relative;
}

.section-header.fade-in::before {
    content: '';
    position: absolute;
    left: 0;
    top: -20px;
    width: 280px;
    height: 200px;
    background: radial-gradient(ellipse at left top,
        rgba(0, 229, 255, 0.18),
        transparent 65%);
    filter: blur(40px);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.6s var(--ease-out);
}

.js-enabled .section-header.fade-in.visible::before {
    opacity: 1;
    transition-delay: 0.1s;
}

/* Para títulos sin .section-header (hero, contacto) — fade-in mejorado */
.js-enabled .hero .eyebrow.fade-in,
.js-enabled .contact-text .fade-in {
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
    .js-enabled .section-header.fade-in .section-number,
    .js-enabled .section-header.fade-in .section-title,
    .js-enabled .section-header.fade-in .section-desc {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .section-number::after { width: 70px !important; }
}

/* ==========================================================================
   Service Focus Cards — enfoque tecnológico sobrio para Servicios
   Mantiene el estilo original y solo agrega interacción de foco.
   ========================================================================== */
.services-list {
    --service-focus-dim-opacity: 0.48;
}

.service-card {
    isolation: isolate;
    transform-style: preserve-3d;
    --focus-x: 50%;
    --focus-y: 50%;
    --energy-scale: 0;
    --energy-opacity: 0;
    will-change: transform, opacity, filter;
}

.service-card::before,
.service-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.service-card::before {
    inset: -1px;
    border-radius: inherit;
    background:
        radial-gradient(220px circle at var(--focus-x) var(--focus-y), rgba(0, 229, 255, 0.18), rgba(20, 124, 255, 0.08) 34%, transparent 64%),
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent 42%, rgba(0,229,255,0.08));
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 0.45s var(--ease-out);
}

.service-card::after {
    left: 22px;
    right: 22px;
    top: 0;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.82), rgba(0,229,255,0.88), rgba(20,124,255,0.65), transparent);
    opacity: var(--energy-opacity);
    transform: scaleX(var(--energy-scale));
    transform-origin: left center;
    transition:
        opacity 0.36s var(--ease-out),
        transform 0.72s var(--ease-out);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.28);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.services-list.service-focus-active .service-card {
    opacity: var(--service-focus-dim-opacity);
    filter: saturate(0.78) brightness(0.82);
    transform: translateX(0) scale(0.985);
}

.services-list.service-focus-active .service-card.is-focused,
.service-card:focus-within {
    opacity: 1;
    filter: saturate(1.08) brightness(1.06);
    transform: translateX(8px) translateY(-4px) scale(1.015);
    border-color: rgba(0, 229, 255, 0.34);
    background: var(--bg-card-hover);
    box-shadow:
        0 28px 70px -42px rgba(0, 229, 255, 0.50),
        0 18px 44px -32px rgba(20, 124, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services-list.service-focus-active .service-card.is-focused::before,
.service-card:focus-within::before {
    opacity: 1;
}

.services-list.service-focus-active .service-card.is-focused::after,
.service-card:focus-within::after {
    --energy-scale: 1;
    --energy-opacity: 1;
}

.service-card .service-icon,
.service-card .service-icon svg {
    transition:
        transform 0.45s var(--ease-out),
        color 0.45s var(--ease-out),
        filter 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out),
        border-color 0.45s var(--ease-out),
        background 0.45s var(--ease-out);
}

.services-list.service-focus-active .service-card.is-focused .service-icon,
.service-card:focus-within .service-icon {
    transform: translateZ(18px) scale(1.04);
    border-color: rgba(0, 229, 255, 0.42);
    background: rgba(0, 229, 255, 0.08);
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.10),
        0 14px 34px -20px rgba(0, 229, 255, 0.85);
}

.services-list.service-focus-active .service-card.is-focused .service-icon svg,
.service-card:focus-within .service-icon svg {
    color: var(--accent-1);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.48));
}

@media (hover: none) {
    .services-list.service-focus-active .service-card,
    .services-list.service-focus-active .service-card.is-focused {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .service-card::before,
    .service-card::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card::before,
    .service-card::after,
    .service-card .service-icon,
    .service-card .service-icon svg {
        transition: none !important;
    }
}



/* ============================================================================
   Cinta de herramientas — logos en movimiento continuo
   ============================================================================ */
.tools-ribbon {
    position: relative;
    z-index: 6;
    overflow: hidden;
    padding: 18px 0;
    background:
        radial-gradient(circle at 18% 50%, rgba(0, 229, 255, 0.08), transparent 30%),
        radial-gradient(circle at 82% 50%, rgba(20, 124, 255, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.026));
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.tools-ribbon::before,
.tools-ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(18vw, 220px);
    z-index: 4;
    pointer-events: none;
}

.tools-ribbon::before {
    left: 0;
    background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.9) 26%, transparent 100%);
}

.tools-ribbon::after {
    right: 0;
    background: linear-gradient(270deg, #000 0%, rgba(0,0,0,0.9) 26%, transparent 100%);
}

.tools-ribbon-shell {
    width: 100%;
    display: block;
}

.tools-ribbon-mask {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.tools-ribbon-track {
    display: flex;
    width: max-content;
    gap: 28px;
    will-change: transform;
    animation: toolsMarquee 34s linear infinite;
}

.tools-ribbon-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
}

@keyframes toolsMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 28px)); }
}

.tool-chip {
    --chip-glow: rgba(0, 229, 255, 0.26);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 6px 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: rgba(245, 247, 251, 0.82);
    font-size: 0.88rem;
    font-weight: 560;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

.tool-chip::after {
    content: "";
    position: absolute;
    right: -17px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.28);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.28);
}

.tool-logo {
    width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 27px;
    color: var(--accent-1);
    filter: drop-shadow(0 0 9px var(--chip-glow));
    opacity: 0.95;
}

.tool-logo svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-logo svg ellipse,
.tool-logo svg circle {
    fill: none;
}

.tool-logo svg circle {
    fill: currentColor;
}

.tool-logo-text {
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.18);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
}

.tool-vscode { --chip-glow: rgba(0, 122, 204, 0.42); }
.tool-vscode .tool-logo { color: #23A8F2; }

.tool-python { --chip-glow: rgba(255, 212, 59, 0.32); }
.tool-python .tool-logo { color: #FFD43B; }

.tool-react { --chip-glow: rgba(97, 218, 251, 0.38); }
.tool-react .tool-logo { color: #61DAFB; }

.tool-java { --chip-glow: rgba(244, 112, 36, 0.34); }
.tool-java .tool-logo { color: #F47024; }

.tool-neon { --chip-glow: rgba(0, 229, 170, 0.42); }
.tool-neon .tool-logo { color: #00E5AA; }

.tool-supabase { --chip-glow: rgba(62, 207, 142, 0.38); }
.tool-supabase .tool-logo { color: #3ECF8E; }

.tool-cloudflare { --chip-glow: rgba(246, 139, 31, 0.38); }
.tool-cloudflare .tool-logo { color: #F68B1F; }

.tool-css { --chip-glow: rgba(20, 124, 255, 0.38); }
.tool-css .tool-logo { color: #147CFF; }

@media (max-width: 768px) {
    .tools-ribbon {
        padding: 16px 0;
    }

    .tools-ribbon-track {
        gap: 22px;
        animation-duration: 26s;
    }

    .tools-ribbon-group {
        gap: 22px;
        padding-right: 22px;
    }

    .tool-chip {
        min-height: 40px;
        font-size: 0.82rem;
    }

    .tool-chip::after {
        right: -13px;
    }

    .tool-logo {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tools-ribbon-track {
        animation: none !important;
    }

    .tools-ribbon-mask {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tools-ribbon-mask::-webkit-scrollbar {
        display: none;
    }
}
