/* ==========================================================================
   LUSAN CSS DESIGN SYSTEM & LAYOUT
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    /* Color Palette */
    --primary: hsl(203, 73%, 16%);        /* Deep Navy/Petróleo (#0B3047) */
    --primary-light: HSL(203, 73%, 25%);
    --primary-dark: HSL(203, 73%, 10%);
    --accent: hsl(22, 100%, 50%);         /* Naranja de Seguridad (#FF5E00) */
    --accent-hover: HSL(22, 100%, 43%);
    --bg-light: hsl(210, 20%, 97%);       /* Fondo gris claro (#F7F9FA) */
    --bg-white: #ffffff;
    --text-dark: hsl(203, 40%, 15%);
    --text-muted: hsl(203, 15%, 45%);
    --text-light: #ffffff;
    --border-color: hsl(210, 14%, 88%);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Layout Constants */
    --header-height: 96px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(11, 48, 71, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 48, 71, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

/* 2. Utility Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.badge {
    background-color: rgba(255, 94, 0, 0.15);
    color: var(--accent);
    font-family: var(--font-primary);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.section-title-wrapper {
    margin-bottom: 60px;
}

.section-title-wrapper .subtitle {
    font-family: var(--font-primary);
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.section-title-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-divider {
    border: 0;
    height: 1px;
    background: radial-gradient(circle, var(--border-color) 0%, transparent 100%);
    margin: 80px 0;
}

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

/* 3. Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    height: 78px;
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-white);
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    height: 74px;
    width: auto;
    transition: var(--transition);
}

.main-header.scrolled .header-logo {
    height: 58px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
}

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

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

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* 4. Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-light);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 94, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-area h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-text-area h1 .highlight {
    color: var(--accent);
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-feature-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
    border-color: rgba(255, 94, 0, 0.3);
}

.hero-feature-card h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.hero-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.card-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin-bottom: 30px;
}

.card-footer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent);
}

/* 5. Ecosistema Operativo */
.ecosistema-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

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

.eco-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.eco-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: rgba(11, 48, 71, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition);
}

.eco-svg-icon {
    width: 32px;
    height: 32px;
}

.eco-card:hover .eco-icon-wrapper {
    background-color: var(--accent);
    color: var(--text-light);
}

.eco-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.eco-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.learn-more-link {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eco-card:hover .learn-more-link {
    color: var(--accent);
}

.eco-card:hover .learn-more-link i {
    transform: translateX(4px);
    transition: var(--transition);
}

/* 6. Pilares Detallados */
.pilares-section {
    padding: 100px 0;
}

.pilar-detail {
    padding: 40px 0;
}

.pilar-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.pilar-content-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.pilar-content-grid.reverse .pilar-text {
    grid-column: 2;
}

.pilar-content-grid.reverse .pilar-visual {
    grid-column: 1;
    grid-row: 1;
}

.pilar-badge {
    color: var(--accent);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.pilar-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Pilar 1 Interactive Toggle */
.pilar-toggle-container {
    margin-bottom: 30px;
}

.toggle-bg {
    background-color: var(--bg-light);
    border-radius: 30px;
    display: inline-flex;
    position: relative;
    padding: 4px;
    border: 1px solid var(--border-color);
}

.toggle-btn {
    background: transparent;
    border: none;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 2;
    position: relative;
    border-radius: 30px;
    transition: var(--transition);
}

.toggle-btn.active {
    color: var(--text-light);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: 196px; /* Dynamically set via JS depending on button size or static for this shape */
    background-color: var(--accent);
    border-radius: 30px;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modalidad-desc-wrapper {
    position: relative;
    min-height: 120px;
}

.modalidad-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.modalidad-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.icon-accent-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.icon-accent-box i {
    font-size: 2rem;
    color: var(--accent);
}

.icon-accent-box h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.icon-accent-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Dial Interactive Visual for Pilar 1 */
.pilar-interactive-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.dial-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dial-label {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: var(--transition);
}

.dial-label.active {
    color: var(--accent);
}

.dial-knob-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.dial-track {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid var(--border-color);
    background-color: var(--bg-white);
}

.dial-knob {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-light) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    top: 20px;
    left: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dial-pointer {
    width: 8px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: calc(50% - 4px);
    transform-origin: bottom center;
}

/* Pilar 2 Spec list */
.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.features-list li {
    display: flex;
    gap: 20px;
}

.feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(255, 94, 0, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.features-list li strong {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.features-list li p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.van-card {
    background-color: var(--primary);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.van-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 94, 0, 0.1);
    border-radius: 50%;
}

.van-icon-large {
    font-size: 6rem;
    color: var(--accent);
    margin-bottom: 30px;
    animation: pulse 4s infinite ease-in-out;
}

.van-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.spec-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Pilar 3 Vertical Timeline */
.vertical-timeline {
    position: relative;
    padding-left: 32px;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 12px;
    width: 2px;
    height: calc(100% - 24px);
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-num {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 26px;
    height: 26px;
    background-color: var(--bg-white);
    border: 2px solid var(--accent);
    color: var(--primary);
    font-family: var(--font-primary);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 2;
}

.timeline-body h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.timeline-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.soporte-graphic {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 60px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.gear-spinner {
    font-size: 5.5rem;
    color: var(--primary);
    animation: spin 20s linear infinite;
}

.field-badge {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.05em;
}

/* 7. Flota Section */
.flota-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.flota-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.equip-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.equip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.equip-card.special {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    border: none;
}

.equip-card.special h3 {
    color: var(--text-light);
}

.equip-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.equip-card.special .equip-icon {
    color: var(--accent);
}

.equip-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.category-badge {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.category-badge.izaje { background-color: rgba(11, 48, 71, 0.08); color: var(--primary); }
.category-badge.altura { background-color: rgba(255, 94, 0, 0.1); color: var(--accent); }
.category-badge.excavacion { background-color: rgba(0, 150, 136, 0.1); color: #009688; }
.category-badge.neumatica { background-color: rgba(33, 150, 243, 0.1); color: #2196F3; }
.category-badge.energia { background-color: rgba(255, 193, 7, 0.15); color: #B78103; }
.category-badge.movimiento { background-color: rgba(156, 39, 176, 0.1); color: #9C27B0; }
.category-badge.transporte { background-color: rgba(76, 175, 80, 0.1); color: #4CAF50; }
.category-badge.ondemand { background-color: rgba(255,255,255, 0.15); color: var(--text-light); }

.equip-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.equip-card.special .equip-content p {
    color: rgba(255, 255, 255, 0.75);
}

/* 8. Matriz Section */
.matriz-section {
    padding: 100px 0;
}

.matriz-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.matriz-tab {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.matriz-tab:hover {
    background-color: var(--border-color);
}

.matriz-tab.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.sector-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sector-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

.matriz-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.matriz-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mcard-hdr {
    padding: 14px 24px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.mcard-hdr.rental { background-color: var(--primary); }
.mcard-hdr.transporte { background-color: var(--accent); }
.mcard-hdr.soporte { background-color: var(--text-muted); }

.mcard-body {
    padding: 30px 24px;
    flex-grow: 1;
}

.mcard-body h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.mcard-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 9. Propuesta de Valor */
.propuesta-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

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

.prop-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.prop-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.prop-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.prop-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* 10. Cobertura Section */
.cobertura-section {
    padding: 100px 0;
}

.cobertura-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.cobertura-text-area h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.cobertura-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cobertura-list li {
    display: flex;
    gap: 16px;
}

.cobertura-list li i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-top: 4px;
}

.cobertura-list li strong {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.cobertura-list li p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cobertura-visual {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.map-container {
    height: 350px;
    background-color: var(--primary);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-radar {
    position: relative;
    width: 200px;
    height: 200px;
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: radar-grow 4s infinite linear;
}

.r1 { animation-delay: 0s; }
.r2 { animation-delay: 1.3s; }
.r3 { animation-delay: 2.6s; }

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 4;
}

.map-marker i {
    font-size: 2.5rem;
    color: var(--accent);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: bounce 2s infinite ease-in-out;
}

.marker-lbl {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-light);
    background-color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 16px 20px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.map-overlay-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.map-overlay-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 11. Integración sin Fricciones */
.integracion-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

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

.step-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-num {
    position: absolute;
    top: -24px;
    left: 40px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.3);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-top: 10px;
    margin-bottom: 4px;
}

.step-subtitle {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 12. Contacto Section */
.contacto-section {
    padding: 100px 0;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: flex-start;
}

.contacto-info h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.contacto-info .leads {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contacto-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
}

a.c-item:hover {
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

a.c-item:hover .c-icon {
    background-color: var(--accent);
}

.c-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.c-item strong {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    color: var(--primary);
}

.contacto-form-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.contacto-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

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

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

.form-group label {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}

/* 13. Footer Section */
.main-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 58px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.footer-bottom-text {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 14. Keyframe Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes radar-grow {
    0% { width: 10px; height: 10px; opacity: 0.8; }
    100% { width: 220px; height: 220px; opacity: 0; }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

@media (max-width: 1024px) {
    .ecosistema-grid,
    .flota-grid,
    .matriz-grid,
    .propuesta-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flota-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-feature-card {
        transform: none !important;
        max-width: 500px;
        margin: 0 auto;
    }

    .pilar-content-grid,
    .pilar-content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pilar-content-grid.reverse .pilar-text {
        grid-column: 1;
    }
    
    .pilar-content-grid.reverse .pilar-visual {
        grid-row: 2;
    }

    .cobertura-grid,
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        box-shadow: -10px 10px 30px rgba(11,48,71, 0.15);
        transition: var(--transition);
        padding: 40px 24px;
        border-left: 1px solid var(--border-color);
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav-item {
        font-size: 1.1rem;
    }
    
    .btn-nav {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

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

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

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

    /* Hero adjustments */
    .hero-text-area h1 {
        font-size: 2.6rem;
    }

    /* Section margins */
    .ecosistema-section,
    .pilares-section,
    .flota-section,
    .matriz-section,
    .propuesta-section,
    .cobertura-section,
    .integracion-section,
    .contacto-section {
        padding: 70px 0;
    }

    .section-title-wrapper h2 {
        font-size: 2rem;
    }

    .ecosistema-grid,
    .matriz-grid,
    .propuesta-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .flota-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .flota-grid {
        grid-template-columns: 1fr;
    }

    .hero-text-area h1 {
        font-size: 2.2rem;
    }
}
