:root {
    --primary: #0a192f;
    --secondary: #112240;
    --accent: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.2);
    --stellar: #e63946;
    --text-light: #cbd5e1;
    --text-dark: #1e293b;
    --text-dim: #8892b0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: cubic-bezier(0.645, 0.045, 0.355, 1) 0.3s;
    --navbar-height: 72px;
}

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

html {
    scroll-behavior: auto;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    max-width: 100vw;
    letter-spacing: 0.02em;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 55px 0;
}

/* Anchor scroll offset handled entirely by JS smooth scroll */
section[id],
header[id] {
    scroll-margin-top: 0;
}

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

.bg-light {
    background: #f8fafc;
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent), #00b4d8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

/* ===================== SECTION HEADER ===================== */
.section-header {
    margin-bottom: 45px;
}

.section-header .subtitle {
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header .line-center {
    margin-top: 20px;
    margin-bottom: 24px;
}

.section-header p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 0;
    max-width: 680px;
}

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 0;
    transition: var(--transition);
}

/* Navbar scrolled state */
.navbar.scrolled {
    background: rgba(10, 25, 47, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.brand-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container {
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo {
    height: 28px;
    width: auto;
    display: block;
}

.nav-logo-sm {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    letter-spacing: 1px;
}

.brand-sub {
    font-size: 0.55rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.stellar-brand .brand-name {
    color: var(--white);
}

.stellar-brand .brand-sub {
    color: var(--stellar);
}

.divider-vertical {
    height: 35px;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

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

.nav-link {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.8rem;
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

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

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

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

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Suppress the underline that nav-link::after adds */
.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: var(--accent-glow);
    box-shadow: 0 0 16px rgba(100, 255, 218, 0.25);
    color: var(--accent);
}

/* Language Toggle */
.lang-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1em;
    justify-content: center;
    min-width: 48px;
}

.lang-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--primary);
    background: var(--accent-glow);
}

.lang-btn i,
.lang-btn #lang-flag {
    font-size: 1.1rem;
    margin-right: 4px;
    line-height: 1;
}

/* ===================== NAVBAR DROPDOWN ===================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown>.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1100;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover>.nav-link i {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    border-left: 3px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dropdown-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-left-color: var(--accent);
    color: var(--accent);
    padding-left: 23px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

/* Slideshow de fondo */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Fallback background color in case image fails to load */
    background-color: var(--secondary);
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.5);
    /* Much lighter for visibility */
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(10, 25, 47, 1), transparent);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 130px;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.25);
    color: var(--accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 580px;
    line-height: 1.75;
    opacity: 0.9;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #4db6ac 100%);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.4);
    background: linear-gradient(135deg, #64ffda 0%, #26a69a 100%);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 15px 32px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Stats Bar al fondo del hero */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item>i {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.8;
}

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

.stat-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero fills exactly one viewport height */
@media (min-width: 900px) {
    .hero-container {
        padding-bottom: 130px;
    }
}

/* ===================== ALLIANCE ===================== */
.subtitle {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.title-light {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--white);
}

.line-center {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 40px;
}

.alliance-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 25px;
    align-items: center;
}

.alliance-card {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 400px;
    transition: var(--transition);
    cursor: pointer;
}

.alliance-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -15px rgba(2, 12, 27, 0.7);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: contrast(1.1) saturate(1.2);
}

.alliance-card:hover .card-bg {
    opacity: 0.7;
    transform: scale(1.05);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.95));
}

/* Modal Flotante */
.card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.card-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.card-modal {
    background: var(--secondary);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    overflow: hidden;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

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

.card-modal-image {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.4s ease;
}

.card-modal.full-image {
    max-width: 95vw;
    background: transparent;
    border: none;
    box-shadow: none;
}

.card-modal.full-image .card-modal-image {
    height: 85vh;
    background-size: contain;
}

.card-modal.full-image .card-modal-body {
    display: none;
}

.card-modal-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, var(--secondary));
}

.card-modal-body {
    padding: 25px 30px 30px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.card-modal-body .brand-badge {
    margin-bottom: 15px;
}

.card-modal-body .company-details {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.card-modal-body .company-details li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-modal-body .company-details li i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.card-modal-body .company-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    margin-top: 10px;
}

.card-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.card-modal-close:hover {
    background: var(--accent);
    color: var(--primary);
    transform: rotate(90deg);
}

.feature-list {
    margin-top: 15px;
}

.feature-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.feature-list li i {
    color: var(--accent);
}

.connector-icon {
    width: 55px;
    height: 55px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ===================== SERVICES ===================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.title-dark {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.btn-text {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.btn-text:hover {
    gap: 15px;
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.service-box:hover {
    transform: translateY(-8px);
    border-top-color: var(--accent);
    box-shadow: 0 20px 50px -10px rgba(2, 12, 27, 0.15);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(10, 25, 47, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.service-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.service-box p {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===================== PROCESO DE TRABAJO ===================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

.process-step h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* ===================== CTA IMPACTO ===================== */
.cta-impact {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}

.cta-impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-impact.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.65);
    /* Opacidad reducida de 0.85 a 0.65 */
    z-index: 2;
}

.cta-impact.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.5) 0%, rgba(2, 12, 27, 0) 100%);
    z-index: 2;
}

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

.cta-impact-content h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    line-height: 1.2;
}

.impact-numbers {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.impact-value {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ===================== COBERTURA ===================== */
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.coverage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    text-align: center;
}

.coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.coverage-flag {
    font-size: 3rem;
    margin-bottom: 15px;
}

.coverage-card h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* ===================== SERVICES ===================== */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--stellar);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::after {
    width: 100%;
}

.service-card i {
    font-size: 2rem;
    color: var(--stellar);
    margin-bottom: 25px;
    background: rgba(211, 47, 47, 0.08);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover i {
    background: var(--stellar);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* ===================== INDUSTRIES SERVED ===================== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.industry-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0.8;
    transition: var(--transition);
}

.industry-card:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.industry-card h4 {
    color: var(--text-dark);
    font-size: 1rem;
}

/* ===================== SAFETY SECTION ===================== */
.safety-section {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px 0;
    margin: 20px 0;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.safety-icon {
    font-size: 3.5rem;
    color: var(--accent);
    background: rgba(100, 255, 218, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.safety-text {
    flex: 1;
    min-width: 300px;
}

.safety-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.safety-text p {
    color: var(--text-light);
    opacity: 0.9;
    max-width: 600px;
}

.safety-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-big {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
}



.stat-desc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* ===================== FLEET SECTION ===================== */
.fleet-showcase {
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
}

.fleet-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fleet-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.fleet-image-container:hover .fleet-img {
    transform: scale(1.05);
}

.fleet-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95), transparent);
    padding: 40px 30px 20px;
    transform: translateY(100%);
    /* Hidden initially or partial */
    opacity: 0;
    transition: all 0.4s ease;
}

.fleet-image-container:hover .fleet-overlay {
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 20%, rgba(10, 25, 47, 0.6) 100%);
    transform: translateY(0);
    opacity: 1;
}

/* Make overlay visible on mobile by default or leave it for hover? 
   For "Professional" look, let's make it always visible as a bar at bottom */
.fleet-overlay {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0) 100%);
    padding-top: 60px;
}

.fleet-specs {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.spec-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.spec-item span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===================== ABOUT SECTION ===================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
}

.a-stat h3 {
    font-size: 2.5rem;
    color: var(--stellar);
    line-height: 1;
    margin-bottom: 5px;
}

.a-stat p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #64748b;
}

.about-image {
    position: relative;
    height: 500px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 20px 20px 0 rgba(10, 25, 47, 0.05);
}

.img-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 65%;
    height: 60%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid var(--white);
}

@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }
}

/* ===================== TRUSTED BY SECTION ===================== */
.trusted-section {
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
    margin-top: 40px;
    opacity: 0.6;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.05);
}



.coverage-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

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

.coverage-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.coverage-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.route-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--stellar), transparent);
}

.route-icon {
    width: 50px;
    height: 50px;
    background: var(--stellar);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}


/* ===================== TECH / VALUES ===================== */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rounded-shadow {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-floating {
    position: absolute;
    bottom: 30px;
    right: 0;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.stat-floating i {
    color: var(--stellar);
    font-size: 1.1rem;
}

.features-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature {
    display: flex;
    gap: 12px;
}

.feature i {
    background: rgba(100, 255, 218, 0.1);
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--accent);
}

.feature h5 {
    color: var(--white);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.feature p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===================== CONTACT CTA ===================== */
.contact-section {
    background: linear-gradient(180deg, var(--white) 50%, #f1f5f9 50%);
    padding: 40px 0 60px;
}

.cta-box {
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    padding: 44px 50px;
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 50px;
    align-items: start;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content h2,
.contact-content h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-content p,
.contact-content p {
    color: var(--text-light);
    font-size: 1rem;
}
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Two-column row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
}

/* Each field: label on top, input below */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
    padding-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    appearance: none;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.09);
}

.form-group textarea {
    resize: vertical;
    min-height: 95px;
    cursor: text;
}

.form-group select option {
    background: #0a192f;
    color: #fff;
}

/* Select arrow */
.form-group.has-select {
    position: relative;
}
.form-group.has-select .select-icon {
    position: absolute;
    right: 13px;
    bottom: 13px;
    color: var(--text-light);
    pointer-events: none;
    font-size: 0.75rem;
}

.req-asterisk {
    color: var(--accent);
}

.btn-submit {
    background: var(--stellar);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-top: 4px;
}

.btn-submit:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* ===================== CONTACT DETAILS ===================== */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}

.contact-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contact-row i {
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent);
}

.contact-row strong {
    color: var(--white);
    display: block;
    font-size: 0.9rem;
}

.contact-row p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 0;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    filter: brightness(1.2);
    transition: var(--transition);
}

.footer-logo:hover {
    filter: brightness(1.4);
    transform: translateY(-2px);
}

.footer-logo-divider {
    width: 2px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-title {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-list,
.footer-contact-info,
.footer-coverage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li,
.footer-contact-info li,
.footer-coverage-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links-list a,
.footer-contact-info a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links-list a:hover,
.footer-contact-info a:hover {
    color: var(--accent);
}

.footer-contact-info i,
.footer-coverage-list i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================== CORPORATE BLOCKS ===================== */
.mt-50 {
    margin-top: 50px;
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.brand-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.helix-badge {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.stellar-badge {
    background: rgba(230, 57, 70, 0.1);
    color: var(--stellar);
    border: 1px solid var(--stellar);
}

.company-details {
    margin-bottom: 12px;
}

.company-details li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-details li i {
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.company-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===================== CORPORATE BLOCKS ===================== */
.corporate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: start;
}

.corporate-block {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.corporate-block:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stellar-block {
    border-top: 5px solid var(--stellar);
    border-left: none;
    /* Reset old style */
}

.helix-block {
    border-top: 5px solid var(--accent);
    border-left: none;
    /* Reset old style */
}

.block-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
    padding-bottom: 20px;
}

.block-logo {
    height: 45px;
    /* Slightly larger */
    width: auto;
}

.block-header h3 {
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.4;
    font-weight: 700;
}

.mv-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mv-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.mv-item p {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
}

.text-stellar {
    color: var(--stellar);
}

.text-gray {
    color: #64748b;
}

.text-dark {
    color: var(--text-dark) !important;
}

.divider-horizontal {
    height: 1px;
    background: #ddd;
    margin: 30px 0;
}

/* ===================== ANIMATIONS ===================== */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1.0s cubic-bezier(0.5, 0, 0, 1);
}

.reveal {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

/* Use .is-visible for JS-triggered reveal — keeps .active free for nav/slideshow */
.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ===================== RESPONSIVE ===================== */

/* ---- Mid Desktop: 901px – 1200px ---- */
@media (min-width: 901px) and (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 12px;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .btn-nav {
        padding: 7px 13px;
        font-size: 0.78rem;
    }

    .brand-name {
        font-size: 0.85rem;
    }

    .brand-sub {
        font-size: 0.48rem;
        letter-spacing: 1.5px;
    }

    .brand-item {
        gap: 7px;
    }

    .brand-group {
        gap: 10px;
    }

    .divider-vertical {
        margin: 0 2px;
    }

    .lang-toggle-wrapper {
        margin-left: 4px;
        min-width: unset;
    }

    .lang-btn {
        padding: 3px 8px;
        font-size: 0.8rem;
        gap: 4px;
    }

    .lang-btn i {
        font-size: 0.9rem;
        margin-right: 2px;
    }

    .nav-logo {
        height: 24px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .title-dark,
    .title-light {
        font-size: 2.2rem;
    }

    .cta-impact-content h2 {
        font-size: 2.4rem;
    }
}

/* ---- Large Desktop: 1400px+ ---- */
@media (min-width: 1400px) {
    .container {
        max-width: 1340px;
    }

    .hero-title {
        font-size: 4.8rem;
    }

    .title-dark,
    .title-light {
        font-size: 3.2rem;
    }

    .section-padding {
        padding: 75px 0;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: rgba(5, 16, 33, 0.98);
        padding: 20px;
        gap: 20px;
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 999;
        overflow-y: auto;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-menu>li {
        width: 100%;
        text-align: center;
    }

    .nav-menu .nav-link {
        justify-content: center;
    }

    .nav-menu .dropdown-link {
        text-align: center;
        border-left: none;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    }

    .nav-menu .dropdown-link:hover {
        padding-left: 20px;
        border-left: none;
    }

    .lang-toggle-wrapper {
        justify-content: center;
    }

    .nav-menu.is-open {
        display: flex;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(17, 34, 64, 0.95);
        border: none;
        box-shadow: none;
        min-width: 100%;
        margin: 0;
        border-top: 1px solid rgba(100, 255, 218, 0.2);
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    /* Disable hover on mobile */
    .nav-dropdown:hover .dropdown-menu {
        max-height: 0;
    }

    /* Open via JS class */
    .nav-dropdown.mobile-open .dropdown-menu {
        max-height: 500px;
    }

    /* Rotate chevron when open */
    .nav-dropdown.mobile-open > .nav-link i {
        transform: rotate(180deg);
    }
    .dropdown-link {
        padding: 10px 20px;
        border-left: 3px solid transparent;
    }

    .dropdown-link:hover {
        padding-left: 23px;
    }

    .hamburger {
        display: flex;
    }

    /* Hero mobile: let content flow, stats bar at bottom */
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-stats-bar {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        z-index: 3;
    }

    .hero-container {
        padding-top: 90px;
        padding-bottom: 40px;
        text-align: center;
        align-items: center;
        flex: 1;
    }

    .hero-badge {
        margin: 0 auto 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 10px;
        justify-items: start;
        padding: 0 10px;
    }

    .stat-item {
        gap: 10px;
    }

    .stat-item>i {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-divider {
        display: none;
    }

    .alliance-grid,
    .split-layout,
    .tech-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .connector-icon {
        margin: 15px auto;
        transform: rotate(90deg);
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-social {
        margin-top: 10px;
        justify-content: center;
        display: flex;
        width: 100%;
    }

    .footer-social a {
        margin: 0 10px;
    }

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

    .block-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .section-padding {
        padding: 50px 0;
    }
}

/* ===================== WHATSAPP FLOTANTE ===================== */
/* ===================== WHATSAPP CHAT WIDGET ===================== */
.wa-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* --- Popup card --- */
.wa-popup {
    width: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-popup.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.wa-popup-header {
    background: #075E54;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-popup-avatar {
    width: 40px;
    height: 40px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}
.wa-popup-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.wa-popup-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.wa-popup-status {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.wa-status-dot {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
}
.wa-popup-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}
.wa-popup-close:hover { color: #fff; }

.wa-popup-body {
    background: #e5ddd5;
    padding: 16px;
}
.wa-bubble {
    background: #fff;
    border-radius: 0 10px 10px 10px;
    padding: 12px 14px;
    font-size: 0.875rem;
    color: #333;
    line-height: 1.6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
}
.wa-bubble p { margin: 0 0 6px; }
.wa-bubble p:last-child { margin: 0; }

.wa-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.wa-popup-btn:hover { background: #1ebe57; color: #fff; }

/* --- Float button --- */
.wa-float-btn {
    width: 58px;
    height: 58px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(37,211,102,0.5);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: waPulse 2.5s infinite;
    position: relative;
}
.wa-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 26px rgba(37,211,102,0.65);
}
.wa-icon-close { display: none; font-size: 1.2rem; }
.wa-float-btn.active .wa-icon-wa  { display: none; }
.wa-float-btn.active .wa-icon-close { display: block; }

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0   rgba(37,211,102,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0   rgba(37,211,102,0); }
}

@media (max-width: 560px) {
    .wa-widget {
        bottom: 16px;
        right: 16px;
    }
    .wa-popup {
        width: calc(100vw - 32px);
        max-width: 320px;
    }
    .wa-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ===================== VENTAJAS COMPETITIVAS ===================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantage-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--stellar);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--stellar), #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.25);
}

.advantage-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.advantage-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* ===================== VALORES GRID ===================== */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.value-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(100, 255, 218, 0.08);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.value-tag i {
    color: var(--accent);
    font-size: 0.8rem;
}

.value-tag:hover {
    background: rgba(100, 255, 218, 0.15);
    transform: translateY(-2px);
}

/* ===================== FOOTER LEGAL ===================== */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
}

.footer-legal {
    margin-top: 10px;
    font-size: 0.75rem;
}

.footer-legal a {
    color: var(--text-dim);
    transition: var(--transition);
}

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

/* ===================== RESPONSIVE EXTRAS ===================== */
@media (max-width: 900px) {
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .process-timeline::before {
        display: none;
    }

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

    .coverage-connector {
        flex-direction: row;
        gap: 15px;
    }

    .route-line {
        width: 40px;
        height: 2px;
    }

    .cta-impact-content h2 {
        font-size: 2.2rem;
    }

    .impact-numbers {
        gap: 30px;
    }

    .impact-value {
        font-size: 2.2rem;
    }
}

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

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

    .values-grid {
        justify-content: center;
    }

    .impact-value {
        font-size: 1.8rem;
    }

    .impact-numbers {
        gap: 20px;
    }
}

/* Galería de Camiones */
.truck-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.truck-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(10, 25, 47, 0.10);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.truck-card:hover {
    box-shadow: 0 12px 40px rgba(100, 255, 218, 0.18);
}

.truck-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.truck-caption {
    padding: 18px 10px 14px 10px;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Fleet Gallery Grid Mejorada */
/* Fleet Gallery Grid Interactiva */
.fleet-gallery-grid-interactive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.fleet-card-interactive {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--secondary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/10;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-card-interactive:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(100, 255, 218, 0.15);
    border-color: var(--accent-glow);
}

.fleet-img-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.fleet-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.fleet-card-interactive:hover .fleet-img-main {
    transform: scale(1.1);
}

.fleet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 10%, rgba(10, 25, 47, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.fleet-card-interactive:hover .fleet-overlay {
    opacity: 1;
    transform: translateY(0);
}

.fleet-info h4 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.fleet-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.fleet-specs-mini {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.fleet-specs-mini li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.fleet-specs-mini i {
    font-size: 1rem;
}

.btn-zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-zoom:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px var(--accent-glow);
}

.fleet-caption-simple {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-glow);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.fleet-card-interactive:hover .fleet-caption-simple {
    opacity: 0;
}

@media (max-width: 900px) {
    .fleet-gallery-grid-interactive {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fleet-card-interactive {
        aspect-ratio: 4/3;
        height: auto;
    }

    .fleet-overlay {
        padding: 20px;
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 30%, rgba(10, 25, 47, 0.3) 100%);
    }

    .fleet-info h4 {
        font-size: 1.3rem;
    }
}

/* ===================== MISSING CLASSES — FIXES ===================== */
.title-small {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.cta-impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.65);
    z-index: 1;
    pointer-events: none;
}

/* ===================== FORM STATUS MESSAGES ===================== */
.form-status-msg {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-status-msg.success {
    display: block;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.form-status-msg.error {
    display: block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--stellar);
    border: 1px solid var(--stellar);
}

/* ===================== SUCCESS MODAL ===================== */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--secondary);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

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

.success-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.success-modal h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-modal p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.success-modal .btn-primary {
    cursor: pointer;
    border: none;
    width: 100%;
    justify-content: center;
}

/* ===================== MOBILE NAVBAR FIX ===================== */
@media (max-width: 900px) {

    /* Reduce container padding on mobile */
    .container {
        padding: 0 16px;
    }

    /* Reduce navbar padding */
    .navbar {
        padding: 0.6rem 0;
    }

    /* Make brand group fit on small screens */
    .brand-group {
        gap: 6px;
    }

    .brand-item {
        gap: 5px;
    }

    .logo-container {
        padding: 2px 4px;
    }

    .nav-logo {
        height: 20px;
    }

    .brand-text {
        line-height: 1;
    }

    .brand-name {
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }

    .brand-sub {
        font-size: 0.42rem;
        letter-spacing: 1.2px;
    }

    .divider-vertical {
        height: 20px;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 0.65rem;
    }

    .brand-sub {
        font-size: 0.38rem;
        letter-spacing: 0.8px;
    }

    .nav-logo {
        height: 17px;
    }

    .brand-group {
        gap: 4px;
    }

    .brand-item {
        gap: 4px;
    }

    .divider-vertical {
        height: 20px;
        margin: 0 1px;
    }
}

/* ===================== FOOTER ===================== */
.footer-modern {
    background: var(--primary);
    color: var(--text-light);
    padding: 60px 0 0;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

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

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

/* Brand column */
.footer-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    height: 45px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-slogan {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.25);
}

/* Footer titles */
.footer-title {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Footer links list */
.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

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

/* Footer contact info */
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-contact-info li i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact-info a {
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--accent);
}

/* Footer coverage list */
.footer-coverage-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-coverage-list li i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* Footer bottom bar */
.footer-bottom {
    margin-top: 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-legal a {
    color: var(--text-dim);
    transition: color 0.3s ease;
}

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

/* ===================== FOOTER MOBILE ===================== */
@media (max-width: 900px) {
    .footer-modern {
        padding: 25px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px 15px;
    }

    .col-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        margin-bottom: 5px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-logos {
        justify-content: center;
        margin-bottom: 8px;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-logo-divider {
        height: 22px;
    }

    .footer-slogan {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .footer-social {
        justify-content: center;
        gap: 10px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .footer-col:not(.col-brand) {
        align-items: center;
        text-align: center;
    }

    .footer-title {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .footer-links-list li,
    .footer-contact-info li,
    .footer-coverage-list li {
        font-size: 0.72rem;
        margin-bottom: 5px;
        justify-content: center;
    }

    .footer-contact-info li {
        gap: 5px;
    }

    .footer-contact-info a {
        word-break: break-all;
    }

    .footer-contact-info li i,
    .footer-coverage-list li i {
        font-size: 0.72rem;
    }

    .footer-bottom {
        margin-top: 12px;
        padding: 12px 0;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .footer-modern {
        padding: 20px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px 8px;
    }

    .col-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        padding-bottom: 10px;
        margin-bottom: 2px;
    }

    .footer-col:not(.col-brand) {
        align-items: center;
        text-align: center;
    }

    .footer-contact-info li {
        justify-content: center;
        gap: 3px;
    }

    .footer-coverage-list li {
        justify-content: center;
    }

    .footer-title {
        font-size: 0.68rem;
        margin-bottom: 6px;
        letter-spacing: 1px;
    }

    .footer-links-list li,
    .footer-contact-info li,
    .footer-coverage-list li {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }

    .footer-links-list a {
        font-size: 0.65rem;
    }

    .footer-contact-info a {
        font-size: 0.65rem;
    }

    .footer-contact-info li i,
    .footer-coverage-list li i {
        font-size: 0.65rem;
    }

    .footer-slogan {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        margin-top: 10px;
        padding: 10px 0;
    }
}