/* ==========================================================================
   NORYX.solutions - Official Design System & Stylesheet
   Cyber Luxury Dark / Fiery Red & Neon Orange Accents / Glassmorphism
   ========================================================================== */

:root {
    --bg-primary: #06070a;
    --bg-secondary: #0b0d14;
    --bg-card: rgba(16, 18, 27, 0.78);
    --bg-card-hover: rgba(22, 26, 38, 0.92);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-strong: rgba(255, 255, 255, 0.06);

    /* Brand Accents */
    --accent-red: #ff2a14;
    --accent-orange: #ff6e16;
    --accent-amber: #ffa633;
    --accent-glow: rgba(255, 42, 20, 0.45);
    --accent-glow-soft: rgba(255, 110, 22, 0.16);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff2a14 0%, #ff6e16 55%, #ffa633 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 42, 20, 0.35) 0%, rgba(255, 110, 22, 0.15) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
    --gradient-border: linear-gradient(135deg, rgba(255, 42, 20, 0.4), rgba(255, 255, 255, 0.06));

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-accent: rgba(255, 66, 26, 0.4);

    /* Typography Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a6bc;
    --text-muted: #646a80;
    --text-light: #e4e7f2;

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing & Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 8px 30px -4px rgba(255, 50, 20, 0.45);
    --shadow-glow-orange: 0 8px 30px -4px rgba(255, 110, 22, 0.35);
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

/* ==========================================================================
   Ambient Background & Cybernetic Glow Effects
   ========================================================================== */
#ambient-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: 0.8;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.orb-hero {
    top: -120px;
    right: 5%;
    width: 650px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 42, 20, 0.22) 0%, rgba(255, 110, 22, 0.08) 50%, transparent 75%);
    animation: orbPulse 9s ease-in-out infinite alternate;
}

.orb-mid {
    top: 45%;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 110, 22, 0.15) 0%, rgba(255, 42, 20, 0.05) 55%, transparent 75%);
    animation: orbPulse 11s ease-in-out infinite alternate-reverse;
}

.orb-bottom {
    bottom: -150px;
    right: -100px;
    width: 700px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 42, 20, 0.18) 0%, rgba(255, 166, 51, 0.06) 60%, transparent 80%);
}

.grid-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 85%);
    z-index: 0;
    pointer-events: none;
}

@keyframes orbPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.15) translate(30px, 20px); opacity: 0.75; }
    100% { transform: scale(0.95) translate(-20px, -15px); opacity: 0.55; }
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0.85rem;
}

.section-tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red), 0 0 20px var(--accent-orange);
    animation: dotPulse 2s infinite ease-in-out;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 680px;
}

/* Common Section Padding */
.section {
    position: relative;
    z-index: 2;
    padding: 6.5rem 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -2px rgba(255, 50, 20, 0.65);
    filter: brightness(1.08);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 110, 22, 0.15);
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.btn-circle:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
    transform: scale(1.08);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-smooth);
    padding: 1.25rem 0;
}

.site-header.scrolled {
    padding: 0.85rem 0;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 12px rgba(255, 42, 20, 0.7));
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
    white-space: nowrap;
}

.brand-ext {
    color: var(--accent-orange);
    font-weight: 500;
}

/* Desktop Nav Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 110, 22, 0.14);
    border: 1px solid rgba(255, 110, 22, 0.35);
}

.badge-live {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 42, 20, 0.18);
    border: 1px solid var(--accent-red);
    color: var(--accent-orange);
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 102;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: all var(--transition-smooth);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 5rem;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.4vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.35rem;
}

.hero-description {
    font-size: clamp(1.05rem, 1.25vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.25rem;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
}

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

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
}

.trust-badge-item svg {
    color: var(--accent-orange);
    flex-shrink: 0;
}

/* Hero Visual 3D Logo */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-card-3d {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1.08;
    background: radial-gradient(circle at 50% 50%, rgba(25, 28, 42, 0.75) 0%, rgba(10, 12, 18, 0.95) 85%);
    border: 1px solid rgba(255, 60, 20, 0.3);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 42, 20, 0.18);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    overflow: hidden;
}

.hero-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 60, 20, 0.25) 0%, transparent 65%);
    pointer-events: none;
}

.hero-logo-img {
    width: 78%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(255, 50, 20, 0.65));
    transition: transform var(--transition-bounce);
}

.hero-card-3d:hover .hero-logo-img {
    transform: scale(1.04) translateY(-4px);
}

.hero-bottom-tagline {
    margin-top: 1.5rem;
    font-size: 0.78125rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent-orange);
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 110, 22, 0.6);
}

/* ==========================================================================
   Core Services Pillars (4 Cards)
   ========================================================================== */
.pillars-section {
    position: relative;
    z-index: 2;
    padding: 2rem 0 5rem;
}

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

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.85rem 1.6rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 75, 24, 0.15);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(255, 42, 20, 0.1);
    border: 1px solid rgba(255, 42, 20, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    margin-bottom: 1.25rem;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.pillar-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.pillar-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.pillar-card:hover .pillar-link {
    color: #ffffff;
    gap: 10px;
}

/* ==========================================================================
   "NUESTROS SISTEMAS" - Demos Hub
   ========================================================================== */
.systems-section {
    position: relative;
    z-index: 2;
    padding: 5rem 0 6.5rem;
}

.systems-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.systems-filters {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.85rem;
    margin-bottom: 2.5rem;
    scrollbar-width: none;
}

.systems-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: var(--border-medium);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* System Demo Card */
.system-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all var(--transition-smooth);
    position: relative;
}

.system-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 75, 24, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 42, 20, 0.2);
}

.system-card-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0d0f18;
    overflow: hidden;
}

.system-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.system-card:hover .system-card-preview img {
    transform: scale(1.06);
}

.demo-status-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(12, 14, 22, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.demo-status-pill .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #00e676;
    box-shadow: 0 0 8px #00e676;
    animation: dotPulse 1.8s infinite;
}

.category-tag-float {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    background: rgba(255, 42, 20, 0.85);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.system-card-body {
    padding: 1.75rem 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.system-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.system-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 60, 20, 0.12);
    border: 1px solid rgba(255, 60, 20, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.system-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.system-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.system-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    border: 1px solid var(--border-subtle);
}

.system-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border-subtle);
}

.btn-demo-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.btn-demo-trigger:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ==========================================================================
   "SOBRE NORYX" Section
   ========================================================================== */
.about-section {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.35;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   "NUESTRO PROCESO" Section
   ========================================================================== */
.process-section {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0;
}

.process-header {
    text-align: left;
    margin-bottom: 3.5rem;
}

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

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
    position: relative;
}

.process-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 75, 24, 0.15);
}

.process-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.process-step-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-orange);
    opacity: 0.9;
}

.process-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 42, 20, 0.1);
    border: 1px solid rgba(255, 42, 20, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.25rem;
}

.process-card:hover .process-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.process-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

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

/* ==========================================================================
   "TESTIMONIOS" Section
   ========================================================================== */
.testimonials-section {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all var(--transition-smooth);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 110, 22, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #ffb300;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: var(--accent-orange);
    opacity: 0.4;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

.client-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.client-info p {
    font-size: 0.8125rem;
    color: var(--accent-orange);
}

/* ==========================================================================
   Pre-Footer CTA Banner ("¿Listo para comenzar?")
   ========================================================================== */
.cta-banner-section {
    position: relative;
    z-index: 2;
    padding: 3rem 0 6rem;
}

.cta-banner-card {
    background: radial-gradient(circle at 75% 50%, rgba(255, 50, 20, 0.22) 0%, rgba(18, 20, 30, 0.95) 70%);
    border: 1px solid rgba(255, 60, 20, 0.45);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(255, 42, 20, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    display: flex;
    flex-direction: column;
}

.cta-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.15rem;
}

.cta-banner-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.cta-banner-visual img {
    width: 100%;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8));
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative;
    z-index: 2;
    background: #040508;
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 1.25rem 0 1.75rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-orange);
    transform: translateX(4px);
    display: inline-block;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.contact-info-item svg {
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-tagline {
    color: var(--accent-orange);
    font-weight: 600;
    letter-spacing: 1px;
}

/* ==========================================================================
   Interactive Modals (Demos & Cotización)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: #0f121c;
    border: 1px solid rgba(255, 60, 20, 0.35);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 620px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.25rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 42, 20, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform var(--transition-smooth);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-orange) #141724;
}

.modal-dialog::-webkit-scrollbar {
    width: 6px;
}

.modal-dialog::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 4px;
}

.modal-overlay.active .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--accent-red);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 42, 20, 0.15);
    border: 1px solid var(--accent-red);
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.modal-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* Demo Credentials Box */
.demo-creds-box {
    background: #151826;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.demo-creds-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cred-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0d0f19;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    margin-bottom: 0.65rem;
    font-size: 0.875rem;
}

.cred-label {
    color: var(--text-muted);
    font-weight: 600;
}

.cred-val {
    color: #ffffff;
    font-family: monospace;
    font-weight: 700;
}

.btn-copy-cred {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-copy-cred:hover {
    background: var(--accent-orange);
    color: #ffffff;
}

.modal-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.modal-feature-item svg {
    color: #00e676;
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Modal Form Controls */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: #141724;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 110, 22, 0.25);
    background: #171b2b;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: #141724;
    border: 1px solid var(--accent-red);
    border-radius: var(--radius-md);
    padding: 1rem 1.4rem;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), var(--shadow-glow);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    transition: all var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

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

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

    .trust-badges {
        justify-content: center;
    }

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

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

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

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

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

    .cta-banner-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.5rem 1.75rem;
    }

    .cta-banner-content {
        align-items: center;
    }

    .cta-banner-desc {
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 340px;
        height: 100vh;
        background: rgba(10, 12, 18, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 3rem;
        gap: 1.5rem;
        border-left: 1px solid var(--border-subtle);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85);
        transition: right var(--transition-smooth);
        z-index: 101;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-actions .btn {
        display: none;
    }

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

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .floating-whatsapp {
        bottom: 1.25rem;
        left: 1.25rem;
        width: 48px;
        height: 48px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}
