/* ============================================
   DIGITAL SOLUTION — PREMIUM STYLESHEET
   Tipografía: Space Grotesk (display) + Inter (body)
   Paleta: #060A15 bg · #0D1424 alt · #00C8FF accent · #1A3AFF secondary · #F0F4FF light
   Firma única: cursor personalizado + canvas de partículas
============================================ */

/* --- RESET Y VARIABLES --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg:       #060A15;
    --bg-alt:   #0D1424;
    --accent:   #00C8FF;
    --accent2:  #1A3AFF;
    --light:    #F0F4FF;
    --muted:    #8896AA;
    --border:   rgba(255,255,255,0.07);
    --card-bg:  rgba(255,255,255,0.03);
    --shadow:   0 20px 60px rgba(0,0,0,0.5);
    --radius:   14px;
    --font-d:   'Space Grotesk', sans-serif;
    --font-b:   'Inter', sans-serif;
    --nav-h:    72px;
}
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--light);
    font-family: var(--font-b);
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================
   CURSOR PERSONALIZADO NATIVO
============================ */
/* Cursor principal: Flecha futurista */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="%2300C8FF" stroke="white" stroke-width="1.5"><path d="M4 2 L22 12 L14 15 L17 25 L12 26 L9 16 L2 20 Z"/></svg>'), auto !important;
}

/* Cursor para enlaces y botones: Mano clickeable estilizada */
a, button, input, select, textarea, .work-item, .faq-q, .wf-btn, .tc-dot {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="%231A3AFF" stroke="white" stroke-width="1.5"><path d="M12 2C12 0.9 12.9 0 14 0C15.1 0 16 0.9 16 2V10H17.5C19.4 10 21 11.6 21 13.5V17.5L16 26H9L5 18V10L8 10V5C8 3.9 8.9 3 10 3C11.1 3 12 3.9 12 5V2Z"/></svg>'), pointer !important;
}

/* ============================
   PRELOADER
============================ */
#preloader {
    position: fixed; inset: 0;
    background: #030610;
    z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
.pre-inner { text-align: center; }
.pre-logo-svg { width: 120px; height: 50px; margin: 0 auto 24px; }
.pre-logo-text {
    font-family: var(--font-d);
    font-size: 32px;
    font-weight: 700;
    fill: white;
    letter-spacing: 4px;
}
.pre-bar-wrap {
    width: 260px; height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px; overflow: hidden;
    margin: 0 auto 12px;
}
.pre-bar {
    width: 0%; height: 100%;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    border-radius: 99px;
    box-shadow: 0 0 10px var(--accent);
    animation: preLoad 2.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
.pre-pct {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 2px;
    font-family: var(--font-d);
}
@keyframes preLoad {
    0%   { width: 0%; }
    60%  { width: 75%; }
    85%  { width: 92%; }
    100% { width: 100%; }
}
#preloader.hidden { transform: translateY(-100%); }

/* ============================
   NAVBAR
============================ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(6,10,21,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
}
.nav-logo {
    font-family: var(--font-d);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links {
    display: flex; gap: 36px; align-items: center;
}
.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.25s;
    letter-spacing: 0.3px;
}
.nav-links a:hover { color: white; }
.nav-links .nav-cta {
    color: var(--accent);
    border: 1px solid rgba(0,200,255,0.3);
    padding: 8px 18px;
    border-radius: 99px;
    transition: all 0.3s;
}
.nav-links .nav-cta:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.8rem; color: var(--muted);
    font-family: var(--font-d);
    font-weight: 600;
}
.lang-btn {
    background: none; border: none; cursor: pointer;
    font-size: 0.8rem; font-weight: 700;
    font-family: var(--font-d);
    color: var(--muted);
    padding: 4px 6px; border-radius: 4px;
    transition: all 0.25s;
}
.lang-btn.active, .lang-btn:hover {
    color: var(--accent);
    background: rgba(0,200,255,0.1);
}
.hamburger {
    display: none; flex-direction: column;
    gap: 5px; background: none; border: none;
    cursor: pointer; padding: 4px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--light); border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,10,21,0.98);
    backdrop-filter: blur(20px);
    padding: 24px; z-index: 999;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.mobile-menu a { font-size: 1.1rem; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.mobile-menu a:hover { color: white; }
.mobile-lang { display: flex; align-items: center; gap: 8px; }

/* ============================
   WHATSAPP BTN
============================ */
.whatsapp-btn {
    position: fixed; bottom: 28px; right: 28px;
    z-index: 1000;
    width: 58px; height: 58px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4);
    animation: floatWA 4s ease-in-out infinite;
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-btn:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 12px 30px rgba(37,211,102,0.6);
}
@keyframes floatWA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================
   HERO
============================ */
#inicio {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 60px) 24px 100px;
}
#hero-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero-noise {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,58,255,0.2) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,200,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,200,255,0.08);
    border: 1px solid rgba(0,200,255,0.25);
    padding: 6px 16px; border-radius: 99px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--accent); margin-bottom: 28px;
    font-family: var(--font-d);
    letter-spacing: 0.5px;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.hero-title {
    font-family: var(--font-d);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}
.hero-title .line { display: block; }
.hero-title .accent {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--muted);
    max-width: 580px; margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-btns {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-bottom: 52px;
}
.hero-stats {
    display: flex; gap: 0; justify-content: center; align-items: center;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    padding: 14px 32px;
    display: inline-flex;
}
.hstat { text-align: center; padding: 0 24px; }
.hstat strong { display: block; font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1; }
.hstat span { font-size: 0.75rem; color: var(--muted); font-weight: 500; margin-top: 4px; display: block; }
.hstat-div { width: 1px; height: 40px; background: var(--border); }
.hero-scroll-hint {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2;
    font-size: 0.72rem; letter-spacing: 2px; color: var(--muted);
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%,100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.4); opacity: 0.4; }
}

/* ============================
   BOTONES
============================ */
.btn-primary {
    display: inline-block;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    color: white;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 99px;
    transition: all 0.3s;
    border: none; cursor: pointer;
    font-family: var(--font-b);
    letter-spacing: 0.3px;
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,200,255,0.35); }
.btn-primary:hover::after { opacity: 0.08; }
.btn-ghost {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--light);
    font-weight: 600; font-size: 0.92rem;
    border-radius: 99px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    font-family: var(--font-b);
}
.btn-ghost:hover { background: var(--card-bg); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; text-align: center; }
.mt-btn { margin-top: 32px; }

/* ============================
   LAYOUT GLOBAL
============================ */
.seccion { padding: 110px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.bg-alt { background: var(--bg-alt); }
.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    font-family: var(--font-d);
}
.section-header { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.section-header h2 {
    font-family: var(--font-d);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: white;
}

/* ============================
   ANIMACIONES DE SCROLL
============================ */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25,1,0.5,1);
    will-change: opacity, transform;
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

[data-delay="0"] { transition-delay: 0s; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Hero reveals — inmediatos */
.reveal-up[data-delay="0"].hero-badge { transition-delay: 0.3s; }
.reveal-up[data-delay="1"].hero-title { transition-delay: 0.5s; }
.reveal-up[data-delay="2"].hero-sub   { transition-delay: 0.7s; }
.reveal-up[data-delay="3"].hero-btns  { transition-delay: 0.9s; }
.reveal-up[data-delay="4"].hero-stats { transition-delay: 1.1s; }

/* ============================
   QUIENES SOMOS
============================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-text h2 {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: white; margin-bottom: 20px;
}
.about-text p {
    color: var(--muted); line-height: 1.75;
    margin-bottom: 14px; font-size: 0.97rem;
}
.about-visual {
    position: relative;
    height: 460px;
}
.av-img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.6) saturate(0.8);
}
.av-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,200,255,0.15), transparent);
    border-radius: 30px; z-index: 0; pointer-events: none;
}
.av-card {
    position: absolute; z-index: 2;
    background: rgba(13,20,36,0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow);
}
.av-card i { font-size: 1.4rem; color: var(--accent); }
.av-card strong { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.av-card span { font-size: 1.15rem; font-weight: 700; font-family: var(--font-d); color: white; }
.av-card-1 { top: 24px; right: -20px; animation: floatCard 6s ease-in-out infinite; }
.av-card-2 { bottom: 80px; right: -20px; animation: floatCard 6s ease-in-out infinite 2s; }
.av-card-3 { bottom: 24px; left: -20px; animation: floatCard 6s ease-in-out infinite 4s; }
@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================
   SERVICIOS
============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 30px;
    transition: all 0.4s cubic-bezier(0.25,1,0.5,1);
    position: relative; overflow: hidden;
    cursor: default;
}
.service-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,200,255,0.06), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { border-color: rgba(0,200,255,0.3); transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.sc-icon {
    width: 52px; height: 52px;
    background: rgba(0,200,255,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent);
    margin-bottom: 22px;
    transition: background 0.3s;
}
.service-card:hover .sc-icon { background: rgba(0,200,255,0.18); }
.service-card h3 {
    font-family: var(--font-d);
    font-size: 1.2rem; font-weight: 600;
    color: white; margin-bottom: 12px;
}
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.sc-tags {
    display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px;
}
.sc-tags li {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 99px;
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 10px; color: var(--muted);
    font-family: var(--font-d);
}
.sc-arrow {
    position: absolute; bottom: 24px; right: 24px;
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: var(--muted);
    transition: all 0.3s;
    opacity: 0; transform: translateX(-10px);
}
.service-card:hover .sc-arrow { opacity: 1; transform: translateX(0); color: var(--accent); border-color: var(--accent); }
.service-cta {
    background: linear-gradient(135deg, rgba(26,58,255,0.12), rgba(0,200,255,0.06));
    border-color: rgba(0,200,255,0.2);
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start; gap: 12px;
}
.service-cta h3 { font-size: 1.3rem; }

/* ============================
   PROCESO
============================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px; margin-top: 64px;
}
.process-step {
    display: flex; gap: 28px; align-items: flex-start;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.3s, transform 0.3s;
}
.process-step:hover { border-color: rgba(0,200,255,0.25); transform: translateY(-4px); }
.ps-num {
    font-family: var(--font-d);
    font-size: 2.6rem; font-weight: 700;
    color: rgba(0,200,255,0.2); flex-shrink: 0;
    line-height: 1; letter-spacing: -1px;
    transition: color 0.3s;
}
.process-step:hover .ps-num { color: rgba(0,200,255,0.45); }
.ps-content h3 {
    font-family: var(--font-d);
    font-size: 1.15rem; font-weight: 600;
    color: white; margin-bottom: 10px;
}
.ps-content p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ============================
   TRABAJOS
============================ */
.works-filter {
    display: flex; gap: 10px; justify-content: center; margin-bottom: 40px;
    flex-wrap: wrap;
}
.wf-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 99px;
    color: var(--muted); font-size: 0.85rem;
    font-weight: 600; cursor: pointer;
    font-family: var(--font-b);
    transition: all 0.3s;
}
.wf-btn.active, .wf-btn:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.work-item {
    position: relative; border-radius: var(--radius);
    overflow: hidden; cursor: pointer;
    aspect-ratio: 4/3;
}
.work-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25,1,0.5,1), filter 0.5s;
    filter: brightness(0.75) saturate(0.9);
}
.work-item:hover img { transform: scale(1.07); filter: brightness(0.5) saturate(0.7); }
.wi-overlay {
    position: absolute; inset: 0; z-index: 2;
    padding: 28px;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(to top, rgba(6,10,21,0.9) 0%, transparent 60%);
    transition: background 0.4s;
}
.work-item:hover .wi-overlay {
    background: linear-gradient(to top, rgba(6,10,21,0.97) 0%, rgba(26,58,255,0.15) 100%);
}
.wi-cat {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--accent);
    background: rgba(0,200,255,0.12);
    border: 1px solid rgba(0,200,255,0.25);
    padding: 3px 10px; border-radius: 99px;
    margin-bottom: 10px; align-self: flex-start;
    opacity: 0; transform: translateY(10px);
    transition: all 0.4s 0.1s;
}
.wi-overlay h3 {
    font-family: var(--font-d);
    font-size: 1.3rem; color: white; font-weight: 600;
    transform: translateY(10px); opacity: 0.8;
    transition: transform 0.4s;
}
.wi-overlay p {
    font-size: 0.82rem; color: var(--muted);
    transform: translateY(10px); opacity: 0;
    transition: all 0.4s 0.05s; margin-top: 4px;
}
.work-item:hover .wi-cat { opacity: 1; transform: translateY(0); }
.work-item:hover .wi-overlay h3 { transform: translateY(0); opacity: 1; }
.work-item:hover .wi-overlay p { opacity: 1; transform: translateY(0); }
.work-item.hidden { display: none; }

/* ============================
   ESTADÍSTICAS
============================ */
.stats-section {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #060D22, #0A1330);
}
.stats-bg-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-d); font-size: clamp(8rem, 20vw, 18rem);
    font-weight: 900; color: rgba(255,255,255,0.02);
    pointer-events: none; white-space: nowrap; letter-spacing: -10px;
    user-select: none;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px; position: relative; z-index: 1;
    text-align: center;
}
.stat-item h3 {
    font-family: var(--font-d);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700; color: white; line-height: 1;
}
.stat-item h3 .counter, .stat-item h3 { color: transparent;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-item p { color: var(--muted); margin-top: 10px; font-size: 0.9rem; font-weight: 500; }

/* ============================
   TESTIMONIOS
============================ */
.testimonials-carousel { position: relative; overflow: hidden; }
.tc-track {
    display: flex; gap: 24px;
    transition: transform 0.6s cubic-bezier(0.25,1,0.5,1);
}
.tc-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: border-color 0.3s, transform 0.3s;
}
.tc-card:hover { border-color: rgba(0,200,255,0.25); transform: translateY(-4px); }
.tc-stars { color: #F5A623; font-size: 1rem; margin-bottom: 18px; letter-spacing: 2px; }
.tc-card > p {
    color: var(--muted); font-size: 0.95rem;
    line-height: 1.75; margin-bottom: 24px;
    font-style: italic;
}
.tc-author { display: flex; align-items: center; gap: 14px; }
.tc-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent2), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700;
    font-family: var(--font-d); color: white;
    flex-shrink: 0;
}
.tc-author strong { display: block; color: white; font-size: 0.9rem; }
.tc-author span { color: var(--muted); font-size: 0.8rem; margin-top: 2px; display: block; }
.tc-dots {
    display: flex; gap: 8px; justify-content: center; margin-top: 32px;
}
.tc-dot {
    width: 8px; height: 8px; border-radius: 99px;
    background: var(--border); cursor: pointer;
    transition: all 0.3s;
}
.tc-dot.active { background: var(--accent); width: 24px; }

/* ============================
   FAQ
============================ */
.faq-container .section-header { max-width: 600px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(0,200,255,0.2); }
.faq-q {
    width: 100%; background: none; border: none;
    padding: 22px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    color: white; font-size: 0.97rem; font-weight: 600;
    cursor: pointer; text-align: left;
    font-family: var(--font-b);
    transition: color 0.3s;
}
.faq-q i {
    flex-shrink: 0; font-size: 0.8rem;
    color: var(--muted); transition: transform 0.4s, color 0.3s;
}
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25,1,0.5,1), padding 0.4s;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 28px 22px; color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

/* ============================
   CTA BAND
============================ */
.cta-band {
    padding: 80px 24px;
    background: linear-gradient(135deg, rgba(26,58,255,0.15), rgba(0,200,255,0.08));
    border-top: 1px solid rgba(0,200,255,0.15);
    border-bottom: 1px solid rgba(0,200,255,0.15);
}
.cta-inner {
    display: flex; align-items: center;
    justify-content: space-between; gap: 40px;
    flex-wrap: wrap;
}
.cta-text h2 {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; color: white;
    letter-spacing: -0.5px; margin-bottom: 10px;
}
.cta-text p { color: var(--muted); font-size: 1rem; }

/* ============================
   CONTACTO
============================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px; align-items: flex-start;
}
.contact-info h2 {
    font-family: var(--font-d);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700; color: white;
    line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px;
}
.contact-info > p { color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.ci-items { display: flex; flex-direction: column; gap: 16px; }
.ci-item {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.9rem; color: var(--muted);
}
.ci-item i { color: var(--accent); font-size: 1rem; width: 20px; text-align: center; }

/* FORMULARIO */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group {
    position: relative;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 16px 8px;
    color: white; font-size: 0.92rem;
    font-family: var(--font-b);
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); background: rgba(0,200,255,0.04); }

.form-group label {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--muted); font-size: 0.88rem;
    pointer-events: none; transition: all 0.25s;
    background: transparent;
}
.form-group textarea ~ label { top: 18px; transform: none; }

/* Efecto de label flotante perfectamente alineado para TODOS los campos */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select ~ label {
    top: 8px; transform: none;
    font-size: 0.72rem; color: var(--accent); letter-spacing: 0.5px;
}

/* Ajuste de espaciado interno para que el texto ingresado no pise el label */
.form-group input, .form-group textarea, .form-group select { 
    padding-top: 22px; padding-bottom: 6px; 
}
.form-group select { cursor: pointer; }

.form-group input::placeholder, .form-group textarea::placeholder { color: transparent; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: -8px; }
.form-select-group select option { background: var(--bg-alt); color: white; }

/* Submit feedback */
.form-success {
    text-align: center; padding: 40px;
    background: rgba(0,200,255,0.06); border: 1px solid rgba(0,200,255,0.2);
    border-radius: var(--radius);
    display: none;
}
.form-success i { font-size: 2.5rem; color: var(--accent); margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-d); color: white; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.9rem; }
/* ============================
   FOOTER
============================ */
footer {
    background: #03060E;
    border-top: 1px solid var(--border);
    padding: 72px 24px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 60px;
}
.footer-brand .nav-logo { font-size: 1.4rem; margin-bottom: 16px; display: block; }
.footer-brand > p {
    color: var(--muted); font-size: 0.88rem;
    line-height: 1.7; margin-bottom: 24px; max-width: 300px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 0.95rem;
    transition: all 0.3s;
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); background: rgba(0,200,255,0.08); }
.footer-col h4 {
    font-family: var(--font-d);
    font-size: 0.85rem; font-weight: 700;
    color: white; margin-bottom: 20px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 0.88rem; transition: color 0.25s; }
.footer-col a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--muted); font-size: 0.82rem; transition: color 0.25s; }
.footer-bottom-links a:hover { color: white; }

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 1100px) {
    .about-grid { gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { height: 340px; order: -1; }
    .av-card-1 { right: 12px; }
    .av-card-2 { right: 12px; }
    .av-card-3 { left: 12px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .process-timeline { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}
@media (max-width: 768px) {
    .seccion { padding: 80px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: 1fr; }
    .tc-card { flex: 0 0 calc(100% - 8px); }
    .hero-stats { padding: 12px 16px; }
    .hstat { padding: 0 14px; }
    .hstat strong { font-size: 1.3rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-btns { gap: 12px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { display: none; }
    .works-filter { gap: 8px; }
}