/* ==========================================================================
   AXION CREATIVE® COMPLETE DESIGN SYSTEM & STYLESHEET
   Brand Palette:
   - Deep Navy: #011142
   - Royal Blue: #01258F
   - Cyan Vibrant: #03D4E8
   - Orange Radiant: #E2681D
   - Gold Accent: #D1A810
   Typography:
   - Headings: 'Outfit', sans-serif (Refinado y estilizado)
   - Body & UI: 'Manrope', -apple-system, sans-serif
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-cyan: #03D4E8;
    --color-navy: #011142;
    --color-royal-blue: #01258F;
    --color-gold: #D1A810;
    --color-orange: #E2681D;

    /* Theme: Dark Mode (Default) */
    --bg-base: #010A26;
    --bg-surface: #011142;
    --bg-card: rgba(1, 20, 68, 0.75);
    --bg-card-hover: rgba(1, 37, 143, 0.3);
    --bg-glass: rgba(1, 10, 38, 0.88);
    --bg-input: rgba(1, 17, 66, 0.85);

    --border-subtle: rgba(3, 212, 232, 0.16);
    --border-card: rgba(1, 37, 143, 0.45);
    --border-hover: rgba(3, 212, 232, 0.5);

    --text-main: #FFFFFF;
    --text-sub: #CBD5E1;
    --text-muted: #94A3B8;

    --badge-bg: rgba(3, 212, 232, 0.12);
    --badge-text: #03D4E8;
    --badge-border: rgba(3, 212, 232, 0.25);

    /* Method Graphic Window (Dark Mode) */
    --browser-header-bg: rgba(1, 10, 38, 0.95);
    --browser-header-border: rgba(3, 212, 232, 0.2);
    --browser-title-color: #94A3B8;
    --step-card-bg: rgba(1, 17, 66, 0.8);
    --step-card-border: rgba(3, 212, 232, 0.15);
    --step-title-color: #FFFFFF;
    --step-desc-color: #94A3B8;

    --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(3, 212, 232, 0.2);

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

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme: Light Mode */
[data-theme="light"] {
    --bg-base: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --bg-input: #FFFFFF;

    --border-subtle: rgba(1, 37, 143, 0.12);
    --border-card: rgba(1, 37, 143, 0.15);
    --border-hover: rgba(226, 104, 29, 0.45);

    --text-main: #011142;
    --text-sub: #334155;
    --text-muted: #64748B;

    --badge-bg: rgba(1, 37, 143, 0.08);
    --badge-text: #01258F;
    --badge-border: rgba(1, 37, 143, 0.2);

    /* Method Graphic Window (Light Mode) */
    --browser-header-bg: #E2E8F0;
    --browser-header-border: #CBD5E1;
    --browser-title-color: #011142;
    --step-card-bg: #FFFFFF;
    --step-card-border: rgba(1, 37, 143, 0.15);
    --step-title-color: #011142;
    --step-desc-color: #334155;

    --shadow-card: 0 12px 32px rgba(1, 17, 66, 0.06);
    --shadow-glow: 0 0 30px rgba(1, 37, 143, 0.08);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

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

/* Glow Backdrops */
.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(3, 212, 232, 0.16) 0%, rgba(1, 37, 143, 0.1) 70%, transparent 100%);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(226, 104, 29, 0.12) 0%, rgba(209, 168, 16, 0.08) 70%, transparent 100%);
    top: 650px;
    left: -150px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #38BDF8 50%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, var(--color-royal-blue) 0%, var(--color-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange) 0%, #F97316 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(226, 104, 29, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(226, 104, 29, 0.5);
    filter: brightness(1.05);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-cyan);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    color: var(--badge-text);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    height: 48px;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

[data-theme="dark"] .logo-img-dark { display: block; }
[data-theme="dark"] .logo-img-light { display: none; }

[data-theme="light"] .logo-img-dark { display: none; }
[data-theme="light"] .logo-img-light { display: block; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-sub);
    position: relative;
    padding: 6px 0;
}

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

[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active {
    color: var(--color-royal-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-cyan);
    transition: var(--transition-smooth);
}

[data-theme="light"] .nav-link::after {
    background: var(--color-royal-blue);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    border-color: var(--color-cyan);
    transform: rotate(15deg);
}

[data-theme="dark"] .theme-icon.sun { display: block; color: var(--color-gold); }
[data-theme="dark"] .theme-icon.moon { display: none; }

[data-theme="light"] .theme-icon.sun { display: none; }
[data-theme="light"] .theme-icon.moon { display: block; color: var(--color-royal-blue); }

.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s ease;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.drawer-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.3rem;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 60px 0 60px 0;
    z-index: 1;
    scroll-margin-top: 120px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-tag-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    color: var(--badge-text);
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.3vw, 3.3rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 36px;
    max-width: 580px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Metrics Bar con Movimiento Continuo */
.hero-metrics {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 18px 28px;
    border-radius: 24px;
    backdrop-filter: blur(16px);
    width: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: continuousMetricsFloat 4s ease-in-out infinite alternate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-metrics:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(3, 212, 232, 0.25);
}

@keyframes continuousMetricsFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 10px 25px rgba(1, 37, 143, 0.15);
        border-color: rgba(3, 212, 232, 0.2);
    }
    50% {
        transform: translateY(-6px) rotate(0.3deg);
        box-shadow: 0 16px 35px rgba(3, 212, 232, 0.22);
        border-color: rgba(226, 104, 29, 0.35);
    }
    100% {
        transform: translateY(3px) rotate(-0.3deg);
        box-shadow: 0 12px 28px rgba(1, 17, 66, 0.2);
        border-color: rgba(3, 212, 232, 0.3);
    }
}

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

.metric-number {
    font-family: var(--font-heading);
    font-variant-numeric: tabular-nums;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-cyan);
    line-height: 1.1;
    display: inline-block;
}

[data-theme="light"] .metric-number {
    color: var(--color-royal-blue);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

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

/* ==========================================================================
   HERO PHOTO SHOWCASE (SIN RECUADROS Y CON DESVANECIDO INFERIOR)
   ========================================================================== */
.hero-fade-photo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}

.hero-fade-photo-container {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0) 100%);
}

.hero-fade-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s ease;
}

[data-theme="light"] .hero-fade-img {
    filter: drop-shadow(0 15px 30px rgba(1, 17, 66, 0.2));
}

.hero-fade-photo-wrapper:hover .hero-fade-img {
    transform: scale(1.03);
}

.hero-status-pill {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 8px #22C55E;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   BRAND STRIP
   ========================================================================== */
.brand-strip {
    padding: 24px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.strip-lead {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.strip-items {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-sub);
}

.strip-item i {
    color: var(--color-cyan);
}

[data-theme="light"] .strip-item i {
    color: var(--color-orange);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-sub);
    font-weight: 400;
}

/* ==========================================================================
   SOLUCIONES / SERVICIOS (GRID MODERNO 4 COLUMNAS - ALTO CONTRASTE)
   ========================================================================== */
.section-tag-upper {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

[data-theme="light"] .section-tag-upper {
    color: var(--color-royal-blue);
}

.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-modern-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
}

.service-modern-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-cyan);
    box-shadow: 0 0 25px rgba(3, 212, 232, 0.22);
}

[data-theme="light"] .service-modern-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 10px 30px rgba(3, 212, 232, 0.25);
}

.service-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

/* Iconos de Alto Contraste en Modo Oscuro */
.service-icon-wrap.blue { 
    background: rgba(1, 37, 143, 0.35); 
    color: #38BDF8; 
    border: 1px solid rgba(56, 189, 248, 0.35); 
}

.service-icon-wrap.cyan { 
    background: rgba(3, 212, 232, 0.2); 
    color: #03D4E8; 
    border: 1px solid rgba(3, 212, 232, 0.4); 
}

.service-icon-wrap.orange { 
    background: rgba(226, 104, 29, 0.2); 
    color: #E2681D; 
    border: 1px solid rgba(226, 104, 29, 0.4); 
}

.service-icon-wrap.gold { 
    background: rgba(209, 168, 16, 0.2); 
    color: #F59E0B; 
    border: 1px solid rgba(209, 168, 16, 0.4); 
}

/* Iconos de Alto Contraste Nítido en Modo Claro */
[data-theme="light"] .service-icon-wrap.blue { 
    background: #EFF6FF; 
    color: #01258F; 
    border: 1.5px solid #93C5FD; 
}

[data-theme="light"] .service-icon-wrap.cyan { 
    background: #ECFEFF; 
    color: #0891B2; 
    border: 1.5px solid #67E8F9; 
}

[data-theme="light"] .service-icon-wrap.orange { 
    background: #FFF7ED; 
    color: #C2410C; 
    border: 1.5px solid #FDBA74; 
}

[data-theme="light"] .service-icon-wrap.gold { 
    background: #FEFCE8; 
    color: #B45309; 
    border: 1.5px solid #FDE047; 
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.35;
}

.service-card-desc {
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.55;
    font-weight: 400;
}

/* ==========================================================================
   METODO / POR QUÉ AXION
   ========================================================================== */
.method-section {
    background: var(--bg-surface);
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.method-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.method-text {
    font-size: 1.08rem;
    color: var(--text-sub);
    margin-bottom: 32px;
}

.method-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.point-item {
    display: flex;
    gap: 18px;
}

.point-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

[data-theme="light"] .point-icon {
    color: var(--color-royal-blue);
}

.point-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.point-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.graphic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.graphic-header {
    background: var(--browser-header-bg);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--browser-header-border);
}

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

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }

.browser-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--browser-title-color);
    letter-spacing: 0.2px;
}

.graphic-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--step-card-bg);
    border: 1px solid var(--step-card-border);
    padding: 16px 20px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.process-step:hover, .process-step.active-step {
    border-color: var(--color-cyan);
    transform: translateX(4px);
}

[data-theme="light"] .process-step.active-step {
    border-color: var(--color-cyan);
    box-shadow: 0 4px 15px rgba(3, 212, 232, 0.15);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-orange);
    width: 32px;
}

.step-data h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--step-title-color);
    margin-bottom: 2px;
}

.step-data p {
    font-size: 0.84rem;
    color: var(--step-desc-color);
}

.check-icon {
    margin-left: auto;
    color: #10B981;
    font-size: 1.1rem;
}

/* ==========================================================================
   PORTAFOLIO / PROYECTOS
   ========================================================================== */
.portfolio-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 22px;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-sub);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tab:hover, .filter-tab.active {
    background: var(--color-royal-blue);
    color: #FFFFFF;
    border-color: var(--color-cyan);
    box-shadow: 0 4px 15px rgba(1, 37, 143, 0.4);
}

[data-theme="light"] .filter-tab.active {
    background: var(--color-royal-blue);
    border-color: var(--color-royal-blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-cyan);
}

.project-image-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 17, 66, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-project-action {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-cyan);
    color: #011142;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.project-card:hover .btn-project-action {
    transform: scale(1);
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.p-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-cyan);
}

[data-theme="light"] .project-link {
    color: var(--color-royal-blue);
}

.project-link:hover {
    color: var(--color-orange);
    gap: 12px;
}

.portfolio-cta-banner {
    background: linear-gradient(135deg, var(--color-navy), var(--color-royal-blue));
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.cta-subtitle {
    color: #CBD5E1;
    font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIOS & COMENTARIOS
   ========================================================================== */
.testimonials-section {
    background: var(--bg-surface);
}

.rating-summary-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 24px 36px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-main-stat {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-orange);
    line-height: 1;
}

.rating-stars-visual {
    color: var(--color-gold);
    font-size: 1.3rem;
    display: flex;
    gap: 4px;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.rating-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.r-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sub);
}

.r-badge i {
    color: #22C55E;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--color-cyan);
    transform: translateY(-4px);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-cyan);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.star-rating {
    color: var(--color-gold);
    font-size: 0.95rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-cyan);
    font-weight: 600;
}

[data-theme="light"] .service-tag {
    color: var(--color-royal-blue);
}

.review-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.review-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(3, 212, 232, 0.15);
}

.star-rating-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.star-btn.active {
    color: var(--color-gold);
}

.rating-label {
    margin-left: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-sub);
}

.form-alert {
    padding: 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    text-align: center;
    margin-top: 10px;
}

.form-alert.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ADE80;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion-wrapper {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--color-cyan);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--color-cyan);
    transition: transform 0.3s ease;
}

[data-theme="light"] .faq-icon {
    color: var(--color-royal-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 28px 24px 28px;
    display: none;
    color: var(--text-sub);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-card-main {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 32px;
    padding: 50px;
    box-shadow: var(--shadow-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

.contact-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-subtext {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.direct-channels {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.channel-card:hover {
    border-color: var(--color-cyan);
    transform: translateX(4px);
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFFFFF;
}

.whatsapp-bg { background: #25D366; }
.location-bg { background: var(--color-royal-blue); }

.channel-details {
    display: flex;
    flex-direction: column;
}

.channel-name {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.channel-val {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.open-link {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.socials-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sub);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    border-color: var(--color-cyan);
    color: var(--text-main);
    transform: translateY(-2px);
}

.social-btn.instagram i { color: #E1306C; }
.social-btn.facebook i { color: #1877F2; }
.social-btn.tiktok i { color: #25F4EE; }
.social-btn.linkedin i { color: #0A66C2; }

.form-container-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
}

.box-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.box-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-slogan {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin: 16px 0;
    max-width: 320px;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-sub);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--color-cyan);
    transform: translateX(4px);
}

[data-theme="light"] .footer-links a:hover {
    color: var(--color-royal-blue);
}

.footer-contact-item {
    font-size: 0.92rem;
    color: var(--text-sub);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.theme-footer-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.footer-theme-btn:hover {
    border-color: var(--color-cyan);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.float-tooltip {
    position: absolute;
    right: 70px;
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .float-tooltip {
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TODOS LOS DISPOSITIVOS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-tag-pills {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 36px auto;
    }

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

    .hero-metrics {
        margin: 0 auto;
    }

    .hero-fade-photo-wrapper {
        max-width: 440px;
        margin: 0 auto;
    }

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

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

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

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

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

@media (max-width: 768px) {
    .nav-menu, .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-metrics {
        flex-direction: column;
        width: 100%;
    }

    .metric-divider {
        width: 100%;
        height: 1px;
    }

    .services-modern-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-main {
        padding: 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}