/* ==========================================================================
   SumaDev — Estilos Principales
   Paleta: Dark Slate (#0a0f1d), Esmeralda (#10b981), Cian (#06b6d4)
   Tipografía: Outfit (Titulares) & Inter (Cuerpo)
   ========================================================================== */

:root {
    --bg-dark: #070c18;
    --bg-surface: #0e172a;
    --bg-card: rgba(18, 28, 48, 0.75);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(16, 185, 129, 0.3);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --emerald-primary: #10b981;
    --emerald-light: #34d399;
    --emerald-glow: rgba(16, 185, 129, 0.35);
    
    --cyan-accent: #06b6d4;
    --amber-accent: #f59e0b;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

header, section, footer, main, .container {
    max-width: 100%;
}

img, svg {
    max-width: 100%;
}

/* Contenedor */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Luces ambientales (Glow) protegidas */
.glow-bg {
    position: absolute;
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    max-width: 100vw;
    overflow: hidden;
}

.glow-1 {
    top: -50px;
    left: 0;
    background: radial-gradient(circle, var(--emerald-primary), transparent 70%);
}

.glow-2 {
    top: 500px;
    right: 0;
    background: radial-gradient(circle, var(--cyan-accent), transparent 70%);
}

/* Gradientes y textos destacados */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, var(--emerald-light) 60%, var(--cyan-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 12, 24, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    height: 72px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

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

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--text-main);
}

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

.btn-subtle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--emerald-light);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-subtle:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--emerald-primary);
    transform: translateY(-1px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--emerald-primary);
    color: #042417;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px var(--emerald-glow);
}

.btn-primary:hover {
    background: var(--emerald-light);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu.open {
    display: flex;
}

.mobile-item {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-item.highlight {
    color: var(--emerald-light);
    font-weight: 700;
    border-top: 1px solid var(--border-subtle);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 5rem 0 4rem;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--emerald-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald-primary);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 2.2rem;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--emerald-primary), #059669);
    color: #042417;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 8px 24px var(--emerald-glow);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 1.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

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

.metric-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* Mockup Visual Interactivo */
.hero-visual {
    position: relative;
}

.glass-frame {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-frame:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
}

.frame-header {
    background: rgba(14, 23, 42, 0.85);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.frame-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.frame-url {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.frame-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--emerald-light);
    background: rgba(16, 185, 129, 0.15);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
}

.frame-body {
    padding: 1.25rem;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    background: rgba(10, 16, 29, 0.7);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid var(--border-subtle);
    padding-right: 0.75rem;
}

.side-logo {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--emerald-light);
    margin-bottom: 0.5rem;
}

.side-link {
    font-size: 0.74rem;
    color: var(--text-dim);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

.side-link.active {
    color: #ffffff;
    background: rgba(16, 185, 129, 0.15);
    font-weight: 600;
}

.preview-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.preview-top-bar {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
}

.preview-stat {
    display: flex;
    flex-direction: column;
}

.preview-stat .lbl {
    font-size: 0.65rem;
    color: var(--text-dim);
}

.preview-stat .val {
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.text-emerald { color: var(--emerald-light); }
.text-amber { color: var(--amber-accent); }
.text-cyan { color: var(--cyan-accent); }

.preview-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    transition: var(--transition);
}

.mini-card.active {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.06);
}

.card-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    display: block;
}

.card-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--emerald-light);
    margin: 0.15rem 0;
}

.card-price .sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
}

.card-stock {
    font-size: 0.62rem;
    color: var(--text-dim);
}

.preview-bottom-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

.glow-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-primary);
    box-shadow: 0 0 8px var(--emerald-primary);
}

/* ==========================================================================
   SECCIONES COMUNES
   ========================================================================== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--emerald-light);
    margin-bottom: 0.5rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subheading {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin-bottom: 3rem;
}

/* ==========================================================================
   SHOWCASE DE PRODUCTO (SUMA)
   ========================================================================== */
.section-showcase {
    padding: 6rem 0;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.showcase-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.04), rgba(6, 182, 212, 0.03));
    border: 1px solid var(--border-highlight);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.showcase-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.showcase-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

.feature-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-checklist strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.15rem;
}

.chk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.2);
    color: var(--emerald-light);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.showcase-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-showcase-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--emerald-primary);
    color: #042417;
    font-weight: 700;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: 0 4px 16px var(--emerald-glow);
    transition: var(--transition);
}

.btn-showcase-primary:hover {
    background: var(--emerald-light);
    transform: translateY(-2px);
}

.btn-showcase-secondary {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    font-weight: 600;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-showcase-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.showcase-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.highlight-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.highlight-tile:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.tile-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.highlight-tile h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.highlight-tile p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SERVICIOS A MEDIDA
   ========================================================================== */
.section-services {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-subtle);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.srv-bullets {
    list-style: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.srv-bullets li {
    font-size: 0.78rem;
    color: var(--text-dim);
    position: relative;
    padding-left: 1rem;
}

.srv-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--emerald-primary);
    font-size: 1rem;
    line-height: 1;
}

/* ==========================================================================
   BENEFICIOS / POR QUÉ SUMADEV
   ========================================================================== */
.section-benefits {
    padding: 6rem 0;
}

.benefits-box {
    background: linear-gradient(135deg, rgba(14, 23, 42, 0.9), rgba(7, 12, 24, 0.9));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

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

.benefit-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(16, 185, 129, 0.4);
    margin-bottom: 0.5rem;
}

.benefit-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   SECCIÓN DE CONTACTO
   ========================================================================== */
.section-contact {
    padding: 6rem 0 8rem;
    border-top: 1px solid var(--border-subtle);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.channel-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.channel-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--border-highlight);
    transform: translateX(4px);
}

.ch-icon {
    font-size: 1.4rem;
}

.ch-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.ch-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--emerald-light);
}

.static-ch {
    pointer-events: none;
}
.static-ch .ch-val {
    color: var(--text-muted);
}

.contact-form-box {
    background: rgba(10, 16, 29, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

.form-group select option {
    background: var(--bg-surface);
    color: var(--text-main);
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--emerald-primary), #059669);
    color: #042417;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--emerald-glow);
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-dark);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--emerald-light);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   RESPONSIVIDAD (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

    .showcase-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ocultar resplandores fijos que desbordan el ancho de pantalla en móviles */
    .glow-bg {
        display: none !important;
    }

    .container {
        padding: 0 1.1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .nav-links, .nav-actions .btn-subtle, .nav-actions .btn-primary {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero Section */
    .hero-section {
        padding: 5.5rem 0 3rem;
        overflow-x: hidden;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 6.5vw, 2.3rem);
        line-height: 1.2;
        word-break: break-word;
    }

    .hero-description {
        font-size: 0.98rem;
        padding: 0;
        margin-bottom: 1.8rem;
    }

    .badge-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
        white-space: normal;
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    /* Métricas del Hero */
    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 1.25rem 0.25rem 0;
        width: 100%;
        border-top: 1px solid var(--border-subtle);
    }

    .metric-divider {
        display: none;
    }

    .metric-item {
        align-items: center;
        text-align: center;
    }

    .metric-num {
        font-size: 1.15rem;
    }

    .metric-label {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    /* Mockup Visual Interactivo en Móviles */
    .hero-visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .glass-frame {
        max-width: 100%;
        border-radius: var(--radius-md);
    }

    .frame-header {
        padding: 0.5rem 0.75rem;
    }

    .frame-url {
        font-size: 0.68rem;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .frame-badge {
        font-size: 0.62rem;
    }

    .frame-body {
        padding: 0.6rem;
    }

    .dashboard-preview {
        grid-template-columns: 1fr;
        padding: 0.65rem;
        gap: 0.65rem;
        max-width: 100%;
        overflow: hidden;
    }

    .preview-sidebar {
        display: none; /* Se oculta la barra lateral en móvil para dar 100% espacio a las tarjetas */
    }

    .preview-top-bar {
        padding: 0.4rem 0.5rem;
        gap: 0.4rem;
    }

    .preview-stat .lbl {
        font-size: 0.6rem;
    }

    .preview-stat .val {
        font-size: 0.75rem;
    }

    .preview-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .mini-card {
        padding: 0.5rem 0.4rem;
    }

    .card-title {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .card-price {
        font-size: 0.75rem;
    }

    .card-stock {
        font-size: 0.62rem;
    }

    /* Sección Showcase POS */
    .section-showcase {
        padding: 3.5rem 0;
    }

    .section-heading {
        font-size: 1.65rem;
        line-height: 1.25;
    }

    .section-subheading {
        font-size: 0.95rem;
    }

    .showcase-card {
        padding: 1.5rem 1rem;
        gap: 2rem;
        border-radius: var(--radius-md);
    }

    .showcase-title {
        font-size: 1.45rem;
    }

    .showcase-desc {
        font-size: 0.92rem;
    }

    .showcase-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn-showcase-primary, .btn-showcase-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.85rem 1rem;
        box-sizing: border-box;
    }

    .showcase-highlights {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .highlight-tile {
        padding: 1.1rem;
    }

    /* Servicios */
    .section-services {
        padding: 3.5rem 0;
    }

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

    .service-card {
        padding: 1.5rem 1.1rem;
    }

    /* Beneficios */
    .section-benefits {
        padding: 3.5rem 0;
    }

    .benefits-box {
        padding: 1.75rem 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-item {
        padding: 1.2rem 1rem;
    }

    /* Contacto */
    .section-contact {
        padding: 3.5rem 0;
    }

    .contact-card {
        padding: 1.5rem 0.9rem;
        gap: 2rem;
    }

    .contact-form-box {
        padding: 1.25rem 0.9rem;
    }

    .channel-link {
        padding: 0.75rem 0.85rem;
    }

    .ch-val {
        font-size: 0.82rem;
        word-break: break-all;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .floating-whatsapp {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 50px;
        height: 50px;
    }
}

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

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .preview-cards-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 1.5rem;
    }
}
