/* ============================================================================
   EDESSIS SRL — Main Stylesheet
   Versión: 1.0.0 — Corporativo / Sin iconos / Sin emojis
   Tipografía-first design. Minimal. Profesional.
   ============================================================================ */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */

:root {
    --ed-black: #0A0A0A;
    --ed-primary: #0C1A2E;
    --ed-primary-mid: #12253F;
    --ed-primary-light: #1B3558;
    --ed-accent: #00A8CC;
    --ed-accent-hover: #00C2E8;
    --ed-accent-subtle: rgba(0, 168, 204, 0.08);
    --ed-white: #FFFFFF;
    --ed-off-white: #F7F8FA;
    --ed-gray-50: #FAFBFC;
    --ed-gray-100: #F1F3F6;
    --ed-gray-200: #E4E7ED;
    --ed-gray-300: #CDD2DC;
    --ed-gray-400: #9BA3B5;
    --ed-gray-500: #6B7589;
    --ed-gray-600: #4A5264;
    --ed-gray-700: #2E3440;
    --ed-text: #141B2D;
    --ed-text-secondary: #4A5264;
    --ed-text-muted: #8891A4;
    --ed-border: #E4E7ED;
    --ed-border-light: #F1F3F6;

    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --section-py: 120px;
    --section-py-sm: 80px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition: all 0.35s var(--ease-out);
    --transition-fast: all 0.2s var(--ease-out);

    --shadow-xs: 0 1px 2px rgba(10, 10, 10, 0.04);
    --shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
    --shadow-md: 0 4px 24px rgba(10, 10, 10, 0.08);
    --shadow-lg: 0 12px 48px rgba(10, 10, 10, 0.1);
    --shadow-xl: 0 24px 80px rgba(10, 10, 10, 0.14);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--ed-text);
    background: var(--ed-white);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--ed-accent);
    color: var(--ed-white);
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ed-gray-100); }
::-webkit-scrollbar-thumb { background: var(--ed-gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ed-gray-500); }

/* ==========================================================================
   3. TIPOGRAFÍA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ed-text);
}

.display-hero {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.display-section {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.display-subsection {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.015em;
}

.text-body-lg {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ed-text-secondary);
}

.text-body-sm {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ed-text-muted);
}

.text-overline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ed-accent);
    display: block;
    margin-bottom: 16px;
}

.text-overline-light {
    color: rgba(255, 255, 255, 0.5);
}

.text-accent { color: var(--ed-accent); }
.text-white { color: var(--ed-white) !important; }
.text-white-70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

/* ==========================================================================
   4. PRELOADER
   ========================================================================== */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--ed-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ed-white);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 24px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    height: 100%;
    width: 40%;
    background: var(--ed-accent);
    border-radius: 2px;
    animation: preloaderSlide 1.2s var(--ease-in-out) infinite;
}

@keyframes preloaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ==========================================================================
   5. NAVBAR
   ========================================================================== */

#mainNav {
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--ed-border);
    box-shadow: var(--shadow-xs);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ed-white);
    transition: var(--transition-fast);
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
    margin-top: 2px;
}

#mainNav.scrolled .brand-text { color: var(--ed-text); }
#mainNav.scrolled .brand-sub { color: var(--ed-text-muted); }

/* Nav Links */
#mainNav .nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 16px;
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
    position: relative;
}

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

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--ed-accent);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    transform: scaleX(1);
}

#mainNav.scrolled .nav-link {
    color: var(--ed-text-secondary);
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
    color: var(--ed-text);
}

/* Dropdown */
#mainNav .dropdown-menu {
    border: 1px solid var(--ed-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    margin-top: 12px;
    background: var(--ed-white);
    min-width: 280px;
    animation: dropdownFade 0.25s var(--ease-out);
    overflow: visible;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#mainNav .dropdown-item {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    display: block;
    white-space: normal;
}

#mainNav .dropdown-item:hover {
    background: var(--ed-gray-50);
}

.dropdown-item-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ed-text);
    margin-bottom: 2px;
}

.dropdown-item-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--ed-text-muted);
    line-height: 1.4;
}

/* Mega Menu */
.dropdown-menu-lg {
    min-width: 720px;
    max-width: 780px;
    padding: 0;
    overflow: visible;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-menu-lg .row {
    margin: 0;
}

.dropdown-menu-lg .row > [class*="col-"] {
    padding: 0;
}

.dropdown-menu-highlight {
    background: var(--ed-primary);
    padding: 32px 28px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    min-height: 100%;
}

.dropdown-header-block {
    width: 100%;
}

.dropdown-header-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ed-white);
    display: block;
    margin-bottom: 8px;
}

.dropdown-header-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* CTA Button */
.btn-nav-cta {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ed-white);
    background: var(--ed-accent);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    letter-spacing: 0.01em;
}

.btn-nav-cta:hover {
    background: var(--ed-accent-hover);
    color: var(--ed-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 168, 204, 0.3);
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 6px;
    background: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ed-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

#mainNav.scrolled .navbar-toggler-bar {
    background: var(--ed-text);
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ed-primary);
    overflow: hidden;
    padding: 140px 0 var(--section-py);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 168, 204, 0.12);
    top: -200px;
    right: -100px;
}

.hero-gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 168, 204, 0.06);
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ed-accent);
    border: 1px solid rgba(0, 168, 204, 0.25);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    background: rgba(0, 168, 204, 0.06);
}

.hero-title {
    color: var(--ed-white);
    margin-bottom: 28px;
    max-width: 720px;
}

.hero-title .accent-line {
    color: var(--ed-accent);
    display: block;
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats-bar {
    display: flex;
    gap: 48px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ed-white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-number .stat-suffix {
    color: var(--ed-accent);
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

/* Hero right visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-visual-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.hero-visual-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-visual-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-visual-dot-1 { background: #EF4444; }
.hero-visual-dot-2 { background: #F59E0B; }
.hero-visual-dot-3 { background: #10B981; }

.hero-visual-title {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 8px;
}

.hero-module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-module-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-module-item:last-child { border-bottom: none; }

.hero-module-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.hero-module-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(0, 168, 204, 0.12);
    color: var(--ed-accent);
}

.hero-module-tag.tag-active {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

/* ==========================================================================
   7. BOTONES GLOBALES
   ========================================================================== */

.btn-primary-ed {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ed-white);
    background: var(--ed-accent);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.01em;
    text-align: center;
}

.btn-primary-ed:hover {
    background: var(--ed-accent-hover);
    color: var(--ed-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 168, 204, 0.25);
}

.btn-secondary-ed {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ed-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 13px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: 0.01em;
    text-align: center;
}

.btn-secondary-ed:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--ed-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ed-text);
    background: transparent;
    border: 1px solid var(--ed-border);
    padding: 13px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-dark:hover {
    border-color: var(--ed-text);
    color: var(--ed-text);
}

.btn-text-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ed-accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-text-link::after {
    content: '\2192';
    transition: transform 0.3s var(--ease-out);
}

.btn-text-link:hover {
    color: var(--ed-accent-hover);
}

.btn-text-link:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   8. SECCIONES GENÉRICAS
   ========================================================================== */

.section-padding {
    padding: var(--section-py) 0;
}

.section-padding-sm {
    padding: var(--section-py-sm) 0;
}

.section-dark {
    background: var(--ed-primary);
    color: var(--ed-white);
}

.section-light {
    background: var(--ed-off-white);
}

.section-header {
    margin-bottom: 64px;
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 64px;
}

.section-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--ed-text-secondary);
    margin-top: 20px;
}

.section-desc-light {
    color: rgba(255, 255, 255, 0.55);
}

.section-divider {
    width: 48px;
    height: 2px;
    background: var(--ed-accent);
    margin: 24px 0;
}

.section-divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   9. VALUE PROPOSITION
   ========================================================================== */

.value-card {
    padding: 40px 36px;
    border: 1px solid var(--ed-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    background: var(--ed-white);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ed-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.value-card:hover {
    border-color: var(--ed-gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ed-gray-200);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.value-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ed-text);
    margin-bottom: 12px;
}

.value-card-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ed-text-secondary);
}

/* ==========================================================================
   10. SERVICIOS
   ========================================================================== */

.service-card {
    padding: 44px 36px;
    background: var(--ed-white);
    border: 1px solid var(--ed-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--ed-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-card-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ed-accent);
    margin-bottom: 20px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ed-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--ed-text-secondary);
    flex-grow: 1;
    margin-bottom: 24px;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    border-top: 1px solid var(--ed-border-light);
    padding-top: 20px;
}

.service-card-features li {
    font-size: 0.8125rem;
    color: var(--ed-text-secondary);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}

.service-card-features li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--ed-accent);
    font-weight: 600;
}

.service-card-link {
    margin-top: auto;
}

/* ==========================================================================
   11. ESTADÍSTICAS
   ========================================================================== */

.stats-section {
    background: var(--ed-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 168, 204, 0.05), transparent 50%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--ed-white);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-suffix {
    color: var(--ed-accent);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 12px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    align-self: center;
}

/* ==========================================================================
   12. INDUSTRIAS
   ========================================================================== */

.industry-card {
    position: relative;
    padding: 48px 36px;
    background: var(--ed-white);
    border: 1px solid var(--ed-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ed-accent);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.industry-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.industry-card:hover::after {
    transform: scaleX(1);
}

.industry-card-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ed-accent);
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.industry-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.industry-card-desc {
    font-size: 0.875rem;
    color: var(--ed-text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

.industry-card-modules {
    font-size: 0.75rem;
    color: var(--ed-text-muted);
    line-height: 1.8;
    padding-top: 16px;
    border-top: 1px solid var(--ed-border-light);
}

/* ==========================================================================
   13. PROCESO
   ========================================================================== */

.process-step {
    position: relative;
    padding-left: 80px;
    padding-bottom: 48px;
    min-height: 120px;
}

.process-step:last-child { padding-bottom: 0; }

.process-step::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 0;
    width: 1px;
    background: var(--ed-border);
}

.process-step:last-child::before { display: none; }

.process-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ed-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ed-white);
}

.process-step-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 10px;
}

.process-step-desc {
    font-size: 0.875rem;
    color: var(--ed-text-secondary);
    line-height: 1.75;
    max-width: 500px;
}

/* ==========================================================================
   14. TECH STACK
   ========================================================================== */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1px;
    background: var(--ed-border);
    border: 1px solid var(--ed-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tech-item {
    background: var(--ed-white);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.tech-item:hover {
    background: var(--ed-gray-50);
}

.tech-item-name {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ed-text);
    letter-spacing: 0.01em;
}

.tech-item-category {
    font-size: 0.65rem;
    color: var(--ed-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* ==========================================================================
   15. TESTIMONIAL / QUOTE
   ========================================================================== */

.quote-section {
    background: var(--ed-off-white);
    padding: var(--section-py) 0;
}

.quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: var(--ed-text);
    line-height: 1.6;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    position: relative;
}

.quote-text::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--ed-accent);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    opacity: 0.3;
}

.quote-attribution {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ed-text);
}

.quote-role {
    font-size: 0.8125rem;
    color: var(--ed-text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   16. CTA SECTION
   ========================================================================== */

.cta-section {
    background: var(--ed-primary);
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: rgba(0, 168, 204, 0.06);
    filter: blur(120px);
    top: -400px;
    right: -200px;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--ed-white);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact-line {
    margin-top: 40px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

.cta-contact-line a {
    color: var(--ed-accent);
    font-weight: 600;
}

.cta-contact-line a:hover {
    color: var(--ed-accent-hover);
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--ed-black);
    color: rgba(255, 255, 255, 0.6);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--ed-white);
    display: block;
}

.footer-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 24px;
}

.footer-certifications {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cert-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--ed-white);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 16px;
}

.contact-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

a.contact-value:hover {
    color: var(--ed-accent);
}

.footer-cta {
    margin-top: 24px;
}

.btn-footer-cta {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ed-white);
    background: var(--ed-accent);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-footer-cta:hover {
    background: var(--ed-accent-hover);
    color: var(--ed-white);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   18. PAGE HEADERS (internas)
   ========================================================================== */

.page-header {
    background: var(--ed-primary);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header-legal {
    padding: 160px 0 60px;
}

.breadcrumb-ed {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.breadcrumb-ed a {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-ed a:hover {
    color: var(--ed-accent);
}

.breadcrumb-ed .separator {
    margin: 0 8px;
    opacity: 0.3;
}

/* ==========================================================================
   19. LEGAL CONTENT
   ========================================================================== */

.legal-content {
    padding: var(--section-py) 0;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--ed-border);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 28px 0 12px;
}

.legal-content p {
    font-size: 0.9375rem;
    color: var(--ed-text-secondary);
    margin-bottom: 14px;
}

.legal-content ol, .legal-content ul {
    margin: 12px 0 20px 24px;
}

.legal-content li {
    font-size: 0.9375rem;
    color: var(--ed-text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ==========================================================================
   20. ANIMATIONS (AOS overrides + custom)
   ========================================================================== */

[data-aos] {
    transition-timing-function: var(--ease-out) !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */

@media (max-width: 991.98px) {
    :root {
        --section-py: 80px;
    }

    .dropdown-menu-lg {
        min-width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
    }

    .dropdown-menu-highlight {
        display: none;
    }

    .dropdown-menu-lg .row .col-lg-8 {
        width: 100%;
    }

    .dropdown-menu-lg .row .col-lg-8 .row .col-6 {
        width: 100%;
    }

    #mainNav {
        background: var(--ed-primary);
        padding: 16px 0;
    }

    #mainNav.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }

    .navbar-collapse {
        padding: 20px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    #mainNav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        margin-top: 0;
        background: transparent;
    }

    #mainNav .dropdown-item {
        padding: 10px 12px;
    }

    #mainNav .nav-link {
        padding: 10px 0;
    }

    .dropdown-item-title {
        color: rgba(255, 255, 255, 0.85);
    }

    .dropdown-item-desc {
        color: rgba(255, 255, 255, 0.4);
    }

    #mainNav.scrolled .dropdown-item-title {
        color: var(--ed-text);
    }

    #mainNav.scrolled .dropdown-item-desc {
        color: var(--ed-text-muted);
    }

    #mainNav.scrolled .dropdown-menu {
        background: var(--ed-gray-50);
        border-radius: var(--radius-md);
        padding: 8px;
    }

    .hero-stats-bar {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-visual {
        margin-top: 48px;
    }

    .stat-divider { display: none; }

    .hero-stats-bar {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-py: 64px;
    }

    .hero-section {
        padding: 120px 0 64px;
        min-height: auto;
    }

    .hero-stats-bar {
        gap: 32px;
    }

    .hero-stat { text-align: left; }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-legal {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .process-step {
        padding-left: 60px;
    }

    .process-step-number {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .process-step::before {
        left: 19px;
        top: 40px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}