/* ==========================================================================
   GAMMA LOGISTICS - PREMIUM B2B DESIGN SYSTEM
   ========================================================================== */

/* Import Outfit and Inter fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Exact Match to Logo (#304838) */
    --color-primary: #304838;       /* Exact Logo Green */
    --color-primary-dark: #1E3125;  /* Deep shadow of logo color for backgrounds */
    --color-primary-light: #4A6E56; /* Lighter logo color for hovers/cards */
    --color-secondary: #5CB870;     /* Fresh, vibrant green for accents */
    --color-accent: #E8913A;        /* Premium Amber/Gold for highlights */
    --color-text-dark: #1A2E22;     /* Dark Pine for text */
    --color-text-light: #F5F8F6;    /* Warm Off-white */
    --color-text-muted: #637A6B;    /* Warm Sage Gray */
    --color-bg-light: #F8FAF9;      /* Very soft, clean background */
    --color-bg-dark: #1E3125;       /* Dark Mode BG */
    --color-card-bg: #FFFFFF;
    --color-border: #D8E2DB;

    /* Fonts */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(20, 36, 26, 0.05);
    --shadow-md: 0 10px 20px rgba(20, 36, 26, 0.08);
    --shadow-lg: 0 20px 40px rgba(20, 36, 26, 0.12);
    --shadow-glow: 0 0 25px rgba(61, 139, 83, 0.35);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Max Widths */
    --container-width: 1280px;
}

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

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

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

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

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

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

/* ==========================================================================
   LAYOUT UTILITIES & WRAPPER
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.section-dark h2, .section-dark h3 {
    color: var(--color-text-light);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.section-dark .section-header p {
    color: #8FA89A;
}

.section-dark .section-header h2,
.diff-section .section-header h2 {
    color: var(--color-text-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

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

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(61, 139, 83, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

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

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

.btn-white {
    background-color: var(--color-text-light);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-highlight) 0%, #E65100 100%);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(255, 145, 0, 0.25);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 145, 0, 0.4);
    background: linear-gradient(135deg, #FFA726 0%, #EF6C00 100%);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(27, 58, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: rgba(27, 58, 42, 0.98);
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-normal);
}

.header.scrolled .nav-container {
    padding: 10px 0;
}

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

.logo-img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-text-light);
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-top: -2px;
}

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

.nav-link {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-cta {
    margin-left: 15px;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-light);
    margin-bottom: 5px;
    transition: var(--transition-fast);
    border-radius: var(--radius-full);
}

.mobile-toggle span:last-child {
    margin-bottom: 0;
}

/* Open mobile menu styles */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(10, 25, 47, 0.65) 0%, rgba(6, 17, 34, 0.95) 70%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../camion_verde_hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(92, 184, 112, 0.1);
    border: 1px solid rgba(92, 184, 112, 0.25);
    color: var(--color-accent);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-title span {
    color: var(--color-accent);
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease-out;
}

/* ==========================================================================
   KPI BANNER & STATS
   ========================================================================== */
.kpi-banner {
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, #15241A 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.kpi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kpi-num {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 5px;
}

.kpi-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   PROBLEM & SOLUTION CARD GRID
   ========================================================================== */
.pain-solution {
    background-color: #EDF2EE;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.pain-card, .solution-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background-color: var(--color-card-bg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pain-card {
    border-top: 4px solid var(--color-highlight);
}

.solution-card {
    border-top: 4px solid var(--color-secondary);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-text-light);
}

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

.card-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-title svg {
    width: 32px;
    height: 32px;
}

.pain-card svg {
    color: var(--color-highlight);
}

.solution-card svg {
    color: var(--color-accent);
}

.card-list {
    list-style: none;
}

.card-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
}

.solution-card .card-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-list li:last-child {
    border-bottom: none;
}

.pain-card .card-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--color-highlight);
    font-weight: bold;
}

.solution-card .card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* ==========================================================================
   SERVICES SECTION (HOME & COMPONENT)
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-light);
}

.service-card {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(61, 139, 83, 0.2);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(61, 139, 83, 0.05);
    color: var(--color-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(61, 139, 83, 0.3);
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

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

.service-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--color-secondary);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   DIFFERENTIATORS (DISEÑO PREMIUM)
   ========================================================================== */
.diff-section {
    background: linear-gradient(180deg, var(--color-primary-dark) 0%, #15241A 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

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

.diff-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-normal);
    text-align: center;
}

.diff-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.diff-icon {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(92, 184, 112, 0.12) 0%, transparent 70%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--color-accent);
}

.diff-icon svg {
    width: 36px;
    height: 36px;
}

.diff-card h3 {
    color: var(--color-text-light);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.diff-card p {
    color: #8FA89A;
    font-size: 0.95rem;
}

/* ==========================================================================
   SECURITY AND TRUST BANNER
   ========================================================================== */
.security-banner {
    background-color: var(--color-card-bg);
}

.security-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.security-image {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.security-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.security-badge-overlay {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background-color: rgba(27, 58, 42, 0.92);
    border: 1px solid rgba(92, 184, 112, 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 20px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 320px;
}

.security-badge-overlay svg {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.security-badge-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.security-badge-desc {
    font-size: 0.8rem;
    color: #8FA89A;
}

.security-content {
    flex: 1.2;
}

.security-tag {
    color: var(--color-secondary);
    font-family: var(--font-headings);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.security-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.security-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.security-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.security-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.security-point svg {
    width: 20px;
    height: 20px;
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.security-point h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.security-point p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   CALL TO ACTION BANNER (CTA)
   ========================================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-light);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(92, 184, 112, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(232, 145, 58, 0.12) 0%, transparent 50%);
    z-index: 1;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: var(--color-text-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

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

/* ==========================================================================
   INTERACTIVE FLEET DISPLAY (SERVICES PAGE)
   ========================================================================== */
.fleet-section {
    background-color: #EDF2EE;
}

.fleet-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-border);
    background-color: var(--color-card-bg);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.tab-btn.active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(61, 139, 83, 0.2);
}

.fleet-content-wrapper {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.fleet-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.fleet-pane.active {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.fleet-img-col {
    position: relative;
}

.fleet-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.fleet-info-col {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fleet-category {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.fleet-name {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.fleet-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.fleet-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.fleet-spec-item {
    border-left: 3px solid var(--color-secondary);
    padding-left: 15px;
}

.fleet-spec-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fleet-spec-val {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* ==========================================================================
   COVERAGE MAP & ROUTE LISTING (COBERTURA PAGE)
   ========================================================================== */
.map-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

.map-container {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    position: relative;
}

.map-svg-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* Aspect Ratio for Map */
    height: 0;
    overflow: hidden;
}

.map-svg-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-info-col {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.map-info-col h3 {
    color: var(--color-text-light);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.route-list {
    list-style: none;
    margin-top: 25px;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

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

.route-item:hover {
    transform: translateX(5px);
}

.route-badge {
    background-color: rgba(92, 184, 112, 0.08);
    color: var(--color-accent);
    border: 1px solid rgba(92, 184, 112, 0.15);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.route-details {
    flex-grow: 1;
}

.route-name {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
}

.route-meta {
    font-size: 0.8rem;
    color: #8FA89A;
}

.route-frequency {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
}

/* Map specific interactive dots styling */
.map-node {
    fill: var(--color-secondary);
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 2;
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-node:hover {
    fill: var(--color-accent);
    r: 10px;
    filter: drop-shadow(0 0 10px var(--color-accent));
}

.map-node-hub {
    fill: var(--color-highlight);
    r: 9;
}

.map-route-line {
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 2;
    stroke-dasharray: 6 4;
    opacity: 0.6;
    animation: dash 30s linear infinite;
}

.map-route-line-critical {
    stroke: var(--color-accent);
    stroke-width: 3;
    opacity: 0.9;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* ==========================================================================
   B2B FORM & CONTACT SECTION (CONTACTO PAGE)
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-card h3 svg {
    color: var(--color-secondary);
    width: 24px;
    height: 24px;
}

.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: rgba(61, 139, 83, 0.05);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-text h4 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.contact-item-text p {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-primary);
}

/* Strategic Form Styling */
.form-container {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

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

.form-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

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

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group-full {
    grid-column: span 2;
}

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

.form-label {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
}

.form-label span.req {
    color: var(--color-highlight);
}

.form-input {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background-color: #F4F7F5;
    transition: var(--transition-fast);
    outline: none;
    color: var(--color-text-dark);
}

.form-input:focus {
    background-color: #FFFFFF;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(61, 139, 83, 0.1);
}

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-submit-btn {
    width: 100%;
}

.form-privacy-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}

/* Alert Boxes for Success/Error */
.form-alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-alert-success {
    background-color: #DEF7EC;
    color: #03543F;
    border: 1px solid #BCF0DA;
}

.form-alert-error {
    background-color: #FDE8E8;
    color: #9B1C1C;
    border: 1px solid #F8B4B4;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #050C16;
    color: var(--color-text-light);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-col-about h3 {
    margin-bottom: 20px;
}

.footer-desc {
    color: #8FA89A;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-link:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-text-light);
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #8FA89A;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-item p {
    color: #8FA89A;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #5F7365;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.footer-legal-links a {
    color: #5F7365;
    font-size: 0.85rem;
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   PAGE HERO BLOCK (INTERNAL PAGES)
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #09140D 100%);
    color: var(--color-text-light);
    padding: 160px 0 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(92, 184, 112, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.page-hero-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hero h1 {
    color: var(--color-text-light);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero h1 span {
    color: var(--color-accent);
}

.page-hero p {
    font-size: 1.1rem;
    color: #8FA89A;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scroll Animations placeholders (for JS intersection observer) */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Laptop / Desktop medium size */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section {
        padding: 80px 0;
    }
    .page-hero {
        padding: 140px 0 60px 0;
    }
}

/* Tablet Landscape / IPad Pro */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-bg-image {
        opacity: 0.2;
    }
    .hero-overlay {
        background: radial-gradient(circle at center, rgba(10, 25, 47, 0.8) 0%, rgba(6, 17, 34, 0.98) 100%);
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .security-wrapper {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .security-image img {
        height: 350px;
    }
    .fleet-pane.active {
        grid-template-columns: 1fr;
    }
    .fleet-img-col img {
        height: 300px;
        min-height: auto;
    }
    .map-layout {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile & Tablet Portrait */
@media (max-width: 768px) {
    /* Mobile navigation toggle */
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-normal);
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-cta {
        margin-left: 0;
        width: 80%;
        text-align: center;
    }
    .nav-cta .btn {
        width: 100%;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .diff-grid {
        grid-template-columns: 1fr;
    }
    .security-points {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
    .fleet-info-col {
        padding: 30px 20px;
    }
    .fleet-name {
        font-size: 1.8rem;
    }
    .form-container {
        padding: 25px 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
