/* --- VARIABLES DEL SISTEMA VISUAL (PALETA SÓLIDA PREMIUM) --- */
:root {
    --accent: #2563eb;          
    --accent-hover: #1d4ed8;    
    --accent-secondary: #0ea5e9;
    --surface: #0a0a0a;         
    --surface-muted: #171717;   
    --background: #020202;      
    --white: #ffffff;
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-5: rgba(255, 255, 255, 0.05);
}

/* --- RESET DE CAJA GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* --- UTILIDADES DE DISEÑO --- */
.max-w-7xl { max-width: 80rem; margin: 0 auto; }
.max-w-4xl { max-width: 56rem; margin: 0 auto; }
.py-28 { padding-top: 7.5rem; padding-bottom: 7.5rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* --- HEADER / NAVBAR --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.nav-blur {
    background: rgba(2, 2, 2, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
}

.logo-box {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.18);
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.25s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active { color: var(--white); }

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 9999px;
    box-shadow: 0 0 12px var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* --- MENÚ DESPLEGABLE MÓVIL --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #040404;
    z-index: 2000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.mobile-menu.open { display: flex; }
.mobile-menu button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.85rem;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
}
.close-menu { position: absolute; top: 2.5rem; right: 2rem; }

/* --- SECCIÓN HERO --- */
.hero {
    position: relative;
    padding-top: 13.5rem;
    padding-bottom: 7.5rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.gradient-bg-1 {
    position: absolute;
    top: -15%;
    left: 15%;
    width: 550px;
    height: 550px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
}

.text-huge {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.4rem, 7.5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
}

.gradient-text {
    background: linear-gradient(to right, white, #eff6ff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 42rem;
    margin: 0 auto 3.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 6.5rem;
}

/* --- BOTONES --- */
.btn-accent {
    background: var(--accent);
    color: white;
    padding: 1.1rem 2.25rem;
    border-radius: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.25s;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25);
}
.btn-accent:hover { transform: scale(1.02); filter: brightness(1.1); }

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 1.1rem 2.25rem;
    border-radius: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* --- INTERACTIVE ANALYTIC DASHBOARD MOCKUP --- */
.hero-mockup { width: 100%; max-width: 64rem; margin: 0 auto; }
.api-dashboard-grid {
    padding: 1.25rem !important;
    background: #060606 !important;
    border: 1px solid rgba(37, 99, 235, 0.14) !important;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dash-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 0.85rem; }
.dash-title-group { display: flex; align-items: center; gap: 0.75rem; }
.logo-box-mini { width: 1.75rem; height: 1.75rem; background: var(--white-5); border-radius: 0.35rem; padding: 0.2rem; }
.logo-box-mini img { width: 100%; height: 100%; object-fit: contain; }
.dash-title-group h4 { font-size: 0.9rem; font-weight: 700; }
.dash-title-group p { font-size: 0.68rem; color: rgba(255,255,255,0.4); font-family: monospace; }

.dash-status-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-family: monospace;
    background: rgba(0, 255, 102, 0.04);
    color: #00ff66;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 102, 0.18);
}

.pulse-dot { width: 0.45rem; height: 0.45rem; background-color: #00ff66; border-radius: 50%; box-shadow: 0 0 8px #00ff66; }

.dash-metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric-mini-card { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.04); padding: 0.85rem; border-radius: 0.75rem; display: flex; flex-direction: column; }
.m-label { font-size: 0.58rem; font-family: monospace; color: rgba(255,255,255,0.35); }
.m-value { font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 700; }
.m-value small { font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-left: 0.15rem; }

.text-cyan { color: var(--accent-secondary); }
.text-blue { color: #3b82f6; }
.text-green { color: #10b981; }

.dash-body-layout { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 1rem; min-height: 155px; }
.dash-terminal { background: #020202; border: 1px solid rgba(255,255,255,0.04); border-radius: 0.75rem; padding: 0.85rem; display: flex; flex-direction: column; gap: 0.65rem; }
.terminal-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.58rem; font-family: monospace; color: rgba(255,255,255,0.3); }
.terminal-body { font-family: monospace; font-size: 0.68rem; color: rgba(255,255,255,0.7); display: flex; flex-direction: column; gap: 0.35rem; overflow-y: auto; }
.t-stamp { color: var(--accent); margin-right: 0.4rem; }
.animate-log { animation: logEntry 0.15s ease-out; }
@keyframes logEntry { from { opacity: 0; transform: translateX(-3px); } to { opacity: 1; transform: translateX(0); } }

.dash-chart-preview { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.03); border-radius: 0.75rem; padding: 0.85rem; display: flex; flex-direction: column; justify-content: space-between; }
.chart-header { display: flex; justify-content: space-between; font-size: 0.58rem; font-family: monospace; color: rgba(255,255,255,0.25); }
.bars-container { display: flex; align-items: flex-end; justify-content: space-between; height: 85px; gap: 3px; }
.live-bar { flex: 1; background: linear-gradient(to top, rgba(37, 99, 235, 0.1), var(--accent)); border-radius: 1px 1px 0 0; transition: height 0.35s ease; }

/* --- TECH CAROUSEL --- */
.tech-carousel-wrapper { padding: 4.5rem 0; border-top: 1px solid var(--white-5); border-bottom: 1px solid var(--white-5); background: rgba(23, 23, 23, 0.2); overflow: hidden; position: relative; }
.tech-carousel-wrapper::before, .tech-carousel-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10; }
.tech-carousel-wrapper::before { left: 0; background: linear-gradient(to right, var(--background), transparent); }
.tech-carousel-wrapper::after { right: 0; background: linear-gradient(to left, var(--background), transparent); }
.tech-carousel { display: flex; gap: 3rem; white-space: nowrap; animation: infiniteScroll 35s linear infinite; }
@keyframes infiniteScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tech-item { display: flex; align-items: center; gap: 0.65rem; opacity: 0.4; }
.tech-dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background-color: var(--accent); }
.tech-name { font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 500; }

/* --- GRILLAS EXACTAS PARA PC --- */
.grid-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.projects-grid-pro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

/* --- ESTILOS DE TARJETAS --- */
.feature-card { padding: 2.5rem; text-align: left; }
.feature-card:hover { background: rgba(37, 99, 235, 0.04); border-color: rgba(37, 99, 235, 0.2); transform: translateY(-5px); }
.icon-box { width: 3.25rem; height: 3.25rem; background: var(--white-5); border: 1px solid var(--white-10); border-radius: 0.85rem; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; color: var(--accent); }

.services-subtitle, .section-subtitle { max-width: 44rem; color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; font-weight: 300; line-height: 1.6; margin-bottom: 2.5rem; }
.service-card { padding: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.service-card:hover { background: rgba(37, 99, 235, 0.04); border-color: rgba(37, 99, 235, 0.2); transform: translateY(-5px); }

.btn-service-more { background: #e2e8f0; color: #0f172a; border: none; padding: 0.6rem 1.15rem; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 700; cursor: pointer; margin-top: auto; transition: all 0.2s; }
.btn-service-more:hover { background: var(--white); transform: translateY(-1px); }

.project-card-pro { padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 100%); border: 1px solid rgba(255, 255, 255, 0.04); min-height: 390px; }
.project-card-pro:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, 0.25); background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%); }

.project-header-pro { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.project-meta-pro { font-family: monospace; font-size: 0.7rem; color: rgba(255, 255, 255, 0.3); letter-spacing: 0.12rem; }
.project-status-pro { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.65rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 9999px; }
.status-prod { background: rgba(16, 185, 129, 0.05); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.15); }
.status-core { background: rgba(59, 130, 246, 0.05); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.15); }
.status-beta { background: rgba(245, 158, 11, 0.05); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.15); }

.project-title-pro { font-family: 'Manrope', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 1.25rem; }
.project-desc-pro { color: rgba(255, 255, 255, 0.45); font-size: 0.92rem; line-height: 1.55; margin-bottom: 2rem; font-weight: 300; }
.project-tech-wrapper-pro { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 2.5rem; }
.project-tag-pro { font-size: 0.7rem; font-weight: 500; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.6); padding: 0.3rem 0.65rem; border-radius: 0.4rem; }
.project-footer-pro { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.04); padding-top: 1.25rem; }
.project-metric-pro { display: flex; align-items: center; gap: 0.4rem; font-family: monospace; font-size: 0.8rem; }
.metric-icon-pro { width: 13px; height: 13px; color: var(--accent); }
.project-link-pro { font-size: 0.8rem; font-weight: 600; color: rgba(255, 255, 255, 0.4); display: flex; align-items: center; gap: 0.3rem; }

/* --- CONTENEDORES GLASS --- */
.glass-card { 
    background: rgba(255, 255, 255, 0.015); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 1.25rem; 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); 
}

.section-badge { color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.35rem; text-transform: uppercase; display: block; margin-bottom: 1.25rem; }
.text-huge-sm { font-family: 'Manrope', sans-serif; font-size: clamp(2.1rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.text-white-20 { color: var(--white-20); }
.bg-muted { background: rgba(23, 23, 23, 0.08); }
.bg-muted-5 { background: rgba(23, 23, 23, 0.03); }

.about-content { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 2.25rem; color: rgba(255, 255, 255, 0.5); font-size: 1.15rem; font-weight: 300; }

/* --- SECCIÓN CONTACTO --- */
.contact-layout { 
    display: grid; 
    grid-template-columns: 1.05fr 0.95fr; 
    gap: 4rem; 
    align-items: stretch; 
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.contact-text { color: rgba(255, 255, 255, 0.55); font-size: 1.05rem; line-height: 1.6; }

.contact-image-wrapper { 
    width: 100%; 
    height: 100%;
    min-height: 320px; 
    overflow: hidden; 
    border-radius: 1.25rem; 
    padding: 0.2rem; 
    margin-top: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-image-wrapper img { 
    width: 100%; 
    height: 100%; 
    display: block; 
    border-radius: 1rem; 
    opacity: 0.75; 
    object-fit: cover; 
}

.contact-form-side { 
    padding: 3.5rem; 
    width: 100%; 
    height: auto; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.glow-accent {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    width: 100%;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea, .form-select { 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.07); 
    border-radius: 0.75rem; 
    padding: 1.1rem; 
    color: var(--white); 
    outline: none; 
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif; 
    font-size: 0.95rem;
    width: 100%; 
}

.form-group input:focus, .form-group textarea:focus, .form-select:focus { 
    border-color: rgba(37, 99, 235, 0.6); 
    background: rgba(37, 99, 235, 0.02);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-select { 
    appearance: none; 
    cursor: pointer; 
    color: rgba(255, 255, 255, 0.65); 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 1.25rem center; 
    background-size: 1rem; 
}
.form-select option { background: #0b0b0b; color: var(--white); }

.btn-form-submit { 
    width: 100%; 
    padding: 1.1rem; 
    background: var(--white); 
    color: #000000; 
    border-radius: 0.75rem; 
    font-weight: 700; 
    font-size: 0.95rem; 
    border: none; 
    cursor: pointer; 
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}
.btn-form-submit:hover { 
    background: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* --- 💼 ESTRUCTURA BASE DEL FOOTER --- */
.footer { padding: 6rem 1.5rem 4.5rem; border-top: 1px solid var(--white-5); position: relative; }
.footer-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 400px; background: rgba(37, 99, 235, 0.03); filter: blur(100px); pointer-events: none; }

.footer-grid { display: grid; grid-template-columns: 1.2fr 0.7fr 1.1fr; gap: 4rem; margin-bottom: 4.5rem; }

.footer-desc { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.5; text-align: left; }
.footer-nav h4, .footer-support h4 { color: var(--accent); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.25em; margin-bottom: 2rem; }
.footer-nav ul, .footer-support ul { list-style: none; }
.footer-nav li { margin-bottom: 1.1rem; color: rgba(255,255,255,0.35); font-size: 0.85rem; }
.footer-nav button { background: none; border: none; color: inherit; cursor: pointer; transition: color 0.2s; }
.footer-nav button:hover { color: white; }

.support-info-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.support-info-list i { width: 15px; height: 15px; color: var(--accent-secondary); }

.footer-map-container {
    margin-top: 1.5rem;
    width: 100%;
    overflow: hidden;
    border-radius: 0.85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.footer-map-container iframe {
    display: block;
    filter: none; 
    opacity: 1;
    transition: transform 0.3s ease;
}
.footer-map-container:hover iframe { transform: scale(1.01); }

.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--white-5); display: flex; justify-content: space-between; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.2em; color: rgba(255,255,255,0.25); }
.legal-links { display: flex; gap: 2rem; }
.legal-links a { text-decoration: none; color: inherit; }
.legal-links a:hover { color: white; }

/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #25d366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.whatsapp-svg-icon { width: 1.85rem; height: 1.85rem; }
.whatsapp-btn:hover { transform: scale(1.1) translateY(-4px); background-color: #20ba5a; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6); }

/* --- PERFORMANCE ANIMATIONS --- */
.fade-in { opacity: 0; animation: fadeInEffect 0.6s forwards; }
.fade-in-up { opacity: 0; transform: translateY(15px); animation: fadeInUpEffect 0.6s forwards; }
.fade-in-up-delay { opacity: 0; transform: translateY(40px); animation: fadeInUpEffect 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

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


/* ======================================================================== */
/* --- 📱 SECCIÓN RESPONSIVA (MÓVILES Y TABLETS) --- */
/* ======================================================================== */

/* TABLET (Pasan todas a 2 columnas) */
@media (max-width: 1024px) {
    .grid-features,
    .services-grid,
    .projects-grid-pro {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .contact-layout { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .contact-image-wrapper { display: none; } 
    .contact-form-side { 
        padding: 2rem 1.5rem; 
    }
}

/* MÓVIL (Se mantienen en 2 columnas, ajustamos tamaños) */
@media (max-width: 768px) {
    
    /* 1. MENÚ HORIZONTAL TIPO PC EN MÓVIL */
    .desktop-nav { 
        display: flex; 
        gap: 0.75rem; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.2rem;
    }
    .desktop-nav::-webkit-scrollbar { display: none; }
    .nav-link { font-size: 0.75rem; white-space: nowrap; }
    .menu-toggle { display: none !important; }
    
    .nav-container { 
        height: auto; 
        min-height: 5.5rem; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 0.5rem; 
        padding-top: 0.5rem; 
        padding-bottom: 0.5rem;
    }
    #navbar { padding-top: 0.25rem; }
    .logo-text { font-size: 1.15rem; }
    .logo-box { width: 2.4rem; height: 2.4rem; }

    /* 2. HERO COMPACTO */
    .hero { padding-top: 9.5rem; padding-bottom: 4.5rem; }
    .hero-actions { flex-direction: column; width: 100%; max-width: 22rem; gap: 0.85rem; }
    .btn-accent, .btn-outline { justify-content: center; width: 100%; padding: 1rem; }
    
    /* 3. DASHBOARD DE PC EN MÓVIL */
    .api-dashboard-grid {
        padding: 0.75rem !important; 
        gap: 0.75rem;
    }
    .dash-metrics-row { 
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 0.4rem !important; 
    }
    .metric-mini-card { padding: 0.4rem !important; border-radius: 0.5rem; }
    .m-label { font-size: 0.45rem; }
    .m-value { font-size: 0.85rem; }
    .m-value small { font-size: 0.5rem; }

    .dash-body-layout { 
        grid-template-columns: 1.2fr 0.8fr !important; 
        gap: 0.5rem !important;
        min-height: 120px !important;
    }
    .dash-terminal { padding: 0.5rem !important; border-radius: 0.5rem; }
    .terminal-header { font-size: 0.45rem; }
    .terminal-body { font-size: 0.52rem; gap: 0.2rem; }
    
    .dash-chart-preview { 
        display: flex !important; 
        padding: 0.5rem !important; 
        border-radius: 0.5rem;
    }
    .chart-header { font-size: 0.45rem; }
    .bars-container { height: 60px !important; gap: 2px !important; }

    /* 4. TARJETAS (MANTENEMOS LAS 2 COLUMNAS) */
    .py-28 { padding-top: 5rem; padding-bottom: 5rem; }
    .px-6 { padding-left: 1.25rem; padding-right: 1.25rem; }
    
    .grid-features, 
    .services-grid, 
    .projects-grid-pro {
        gap: 0.65rem !important;
    }

    .feature-card, 
    .service-card, 
    .project-card-pro {
        padding: 1rem !important;
        min-height: auto !important;
    }

    .icon-box { width: 2.2rem !important; height: 2.2rem !important; margin-bottom: 0.85rem !important; }
    .icon-box i { width: 1.2rem; height: 1.2rem; }

    .feature-card h3, .service-card h3 { font-size: 0.85rem !important; margin-bottom: 0.4rem !important; line-height: 1.2; }
    .feature-card p, .service-card p { font-size: 0.68rem !important; line-height: 1.35 !important; margin-bottom: 0.85rem !important; }
    .btn-service-more { padding: 0.4rem 0.6rem !important; font-size: 0.6rem !important; width: 100%; text-align: center; }

    .project-header-pro { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem !important; }
    .project-meta-pro { font-size: 0.5rem !important; }
    .project-status-pro { font-size: 0.55rem !important; padding: 0.2rem 0.4rem !important; }
    .project-title-pro { font-size: 0.85rem !important; margin-bottom: 0.5rem !important; line-height: 1.2; }
    .project-desc-pro { font-size: 0.68rem !important; line-height: 1.35 !important; margin-bottom: 0.85rem !important; }
    .project-tech-wrapper-pro { gap: 0.2rem !important; margin-bottom: 0.85rem !important; }
    .project-tag-pro { font-size: 0.55rem !important; padding: 0.2rem 0.4rem !important; }
    .project-footer-pro { padding-top: 0.75rem !important; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .project-metric-pro { font-size: 0.65rem !important; }
    .project-link-pro { font-size: 0.65rem !important; }

    /* 5. FORMULARIO CONTACTO COMPACTO */
    .contact-layout { gap: 1.5rem; }
    .contact-form-side { padding: 1.25rem 1rem; border-radius: 1rem; }
    .contact-form { gap: 1rem; }
    .form-group input, .form-group textarea, .form-select { padding: 0.9rem; font-size: 0.95rem; }
    
    /* 6. FOOTER */
    .footer { padding: 4rem 1rem 3rem; }
    .footer-grid { grid-template-columns: 1.1fr 0.6fr 1.3fr !important; gap: 1.25rem !important; margin-bottom: 3rem; }
    .footer-desc { font-size: 0.72rem; line-height: 1.4; }
    .footer-nav h4, .footer-support h4 { font-size: 0.58rem; margin-bottom: 1.25rem; letter-spacing: 0.15em; }
    .footer-nav li, .support-info-list li { font-size: 0.72rem; margin-bottom: 0.85rem; }
    .support-info-list li { gap: 0.4rem; }
    .footer-map-container { margin-top: 1rem; height: 110px; }
    .footer-map-container iframe { height: 100% !important; }
    
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; font-size: 0.52rem; }
    .legal-links { justify-content: center; gap: 1.5rem; }
    
    .whatsapp-btn { bottom: 1.5rem; right: 1.5rem; width: 3.4rem; height: 3.4rem; }
    .whatsapp-svg-icon { width: 1.6rem; height: 1.6rem; }
}