/* ROOT VARIABLES & RESET */
:root {
  --color-primary:     #1B2A4A;   /* Azul marino oscuro */
  --color-accent:      #00B4D8;   /* Teal Vibrante / Industrial Blue */
  --color-accent-hover:#0096B4;   /* Teal darker for hover */
  --color-accent-light:#CAF0F8;   /* Teal claro */
  --color-bg:          #FFFFFF;   /* Fondo principal */
  --color-bg-alt:      #F4F6F9;   /* Fondo alternativo */
  --color-text:        #2D3748;   /* Texto principal */
  --color-text-light:  #718096;   /* Texto secundario */
  --color-border:      #E2E8F0;   /* Bordes suaves */

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Leave space for sticky navbar */
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary);
}

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

/* UTILITY CLASSES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--color-text-light); }
.text-white { color: #fff !important; }
.text-white-80 { color: rgba(255,255,255,0.8); }
.bg-light { background-color: var(--color-bg-alt); }
.bg-primary { background-color: var(--color-primary); }

.section { padding: 5rem 0; }
.py-3 { padding: 3rem 0; }
.pb-0 { padding-bottom: 0; }
.pb-2 { padding-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-gutter { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 800px; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}
.section-header p {
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
}
.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(58, 175, 169, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 175, 169, 0.4);
}

.btn-cta {
    background-color: var(--color-accent);
    color: var(--color-bg);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
    border: 2px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}
.btn-cta:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

/* Shimmer (Shine) Animation */
.btn-primary::after, .btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}
.btn-primary:hover::after, .btn-cta:hover::after {
    animation: btn-shine 0.85s ease-in-out;
}
@keyframes btn-shine {
    100% {
        left: 150%;
    }
}

.btn-accent {
    background-color: #fff;
    color: var(--color-primary);
}
.btn-accent:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background-color: #1DA851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn i { margin-left: 0.5rem; }

/* TOP BAR */
/* TOP BAR */
.top-bar {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(to right, #00B4D8, var(--color-primary), #00B4D8) 1;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left {
    display: flex;
    align-items: center;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.top-bar-badge {
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-bar-badge i {
    color: #00B4D8;
    margin-right: 0.25rem;
}
.top-bar-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.top-bar-link:hover {
    color: #00B4D8;
}
.top-bar-link i {
    color: #00B4D8;
    margin-right: 0.25rem;
    transition: transform 0.3s ease;
}
.top-bar-link:hover i {
    animation: top-bar-wiggle 0.5s ease-in-out;
}

/* WhatsApp Pill */
.top-bar-wsp-pill {
    background-color: #25D366;
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.top-bar-wsp-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
}
.top-bar-wsp-pill:hover::after {
    animation: btn-shine 0.85s ease-in-out;
}
.top-bar-wsp-pill:hover {
    background-color: #1ed760;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.45);
    color: #fff;
}
.top-bar-wsp-pill i {
    font-size: 0.9rem;
    margin: 0;
    color: #fff !important;
}

@keyframes top-bar-wiggle {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-3px); }
    75% { transform: translateY(1px); }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    .top-bar-left {
        justify-content: center;
    }
    .top-bar-right {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
}

/* NAVBAR */
.navbar {
    background-color: var(--color-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}
.navbar.hidden {
    transform: translateY(-100%);
}
.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo img {
    height: 55px;
    object-fit: contain;
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}
.logo-subtitle {
    font-size: 12px;
    color: var(--color-text-light);
    font-family: var(--font-body);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-family: var(--font-heading);
    position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--color-accent);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 2px;
}
.nav-links .btn {
    color: #fff;
}

/* Dropsown Menu */
.dropdown {
    position: relative;
    padding: 10px 0; /* Ensures hover area covers the gap */
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    list-style: none;
    z-index: 100;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 400; /* reset from nav-links */
}
.dropdown-menu li a:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

.d-mobile-only { display: none; }

/* HERO */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background-image: url('../img/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(27,42,74,0.95) 0%, rgba(27,42,74,0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}
.hero h1 {
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

/* DIFERENCIADORES */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.feature-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(58, 175, 169, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
}
.feature-card h3 { margin-bottom: 1rem; }
.feature-card p { color: var(--color-text-light); font-size: 0.95rem; }

/* PROPUESTA DE VALOR */
.narrative-box {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: auto;
    position: relative;
}
.narrative-box::before {
    content: "\f10d"; /* quote-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 2.5rem;
    color: var(--color-accent-light);
    background: #fff;
    padding: 0 10px;
}
.lead-text {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.8;
}

/* EQUIPO */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}
.team-member {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
}
.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.team-member:hover img { transform: scale(1.05); }

/* SERVICIOS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-img {
    height: 220px;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}
.service-card:hover .service-img img {
    transform: scale(1.05);
}
.service-content {
    padding: 1.5rem;
}
.service-content h3 { margin-bottom: 0.75rem; }
.service-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* SERVICIOS DESTACADOS */
#servicios-destacados {
    background-color: var(--color-primary);
    padding: 5rem 0;
}
.sd-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.sd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.sd-card {
    padding: 2.5rem 2rem;
    border-right: 0.5px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.sd-card:last-child {
    border-right: none;
}
.sd-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    stroke: #ffffff;
    stroke-width: 2px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sd-title {
    color: #4da6ff; /* Lighter blue for better contrast against #1B2A4A */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    min-height: 40px;
    text-transform: uppercase;
    line-height: 1.4;
}
.sd-desc {
    color: #b0bec5;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}
.sd-desc-strong {
    color: #ffffff;
    font-weight: 600;
}
.sd-btn {
    border: 1px solid #4da6ff;
    color: #4da6ff;
    background: transparent;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-radius: 4px;
}
.sd-btn:hover {
    background-color: #4da6ff;
    color: #ffffff;
}

/* CLIENTES & CARRUSEL (ESTILO MARQUEE INFINITO) */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    user-select: none;
    -webkit-user-select: none;
}
.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
}
.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 6rem;
    padding-right: 6rem; /* Ensures seamless gap spacing */
    min-width: 100%;
    animation: marquee-scroll 32s linear infinite;
}
@keyframes marquee-scroll {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}
.marquee-track:hover .marquee-group {
    animation-play-state: paused;
}
.marquee-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: transform var(--transition-fast);
}
.marquee-logo-link:hover {
    transform: scale(1.05);
}
.brand-logo {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.85); /* Cleaner and more visible default state */
    transition: filter var(--transition-normal), transform var(--transition-normal);
}
.marquee-logo-link:hover .brand-logo {
    filter: grayscale(0%) opacity(1);
}
.brand-logo.logo-improvar {
    height: 75px;
}
.brand-logo.logo-sangines {
    height: 85px;
}
.brand-logo.logo-jetsmart {
    height: 60px;
}




/* CONTACTO */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}
.contact-info { flex: 1; min-width: 300px; }
.contact-form-wrapper { flex: 1.5; min-width: 320px; }
.contact-list { list-style: none; }
.contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}
.contact-list i { color: var(--color-accent); font-size: 1.25rem; }

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}
input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(58, 175, 169, 0.2);
}

/* FOOTER */
.footer {
    background: var(--color-primary);
    color: #fff;
    padding: 4rem 0 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* makes logo white */
}
.footer-brand p { color: rgba(255,255,255,0.7); }
.footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--color-accent); }
.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.footer-contact i { color: var(--color-accent); margin-top: 0.25rem; }
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .top-bar-content { justify-content: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .sd-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sd-card:nth-child(2) {
        border-right: none;
    }
    .sd-card:nth-child(1), .sd-card:nth-child(2) {
        border-bottom: 0.5px solid #222;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
    .section {
        padding: 3rem 0;
    }
    .logo-subtitle { display: none; }
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 70px; /* navbar height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease-in-out;
    }
    .nav-links.active { left: 0; }
    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        background: var(--color-bg-alt);
        margin-top: 1rem;
    }
    .d-mobile-only { display: block; margin-top: 1rem;}
    .d-desktop-only { display: none; }
    
    .grid-2, .team-grid { grid-template-columns: 1fr; }
    .flex-row { gap: 2rem; }
    .contact-form { padding: 1.5rem; }
    
    .marquee-container {
        padding: 0.75rem 0;
    }
    .marquee-group {
        gap: 3rem;
        padding-right: 3rem;
    }
    .marquee-logo-link {
        height: 85px;
    }
    .brand-logo.logo-improvar {
        height: 60px;
    }
    .brand-logo.logo-sangines {
        height: 75px;
    }
    .brand-logo.logo-jetsmart {
        height: 50px;
    }



    
    .sd-grid {
        grid-template-columns: 1fr;
    }
    .sd-card {
        border-right: none;
        border-bottom: 0.5px solid #222;
    }
    .sd-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .hero { height: auto; padding: 7rem 0 4rem 0; }
    .hero h1 { font-size: 2rem; }
    .narrative-box { padding: 2rem 1.5rem; }
    .narrative-box::before { left: 10px; font-size: 2rem; }
}

/* FAB MOBILE */
.fab-mobile {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-accent);
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.fab-mobile:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
}
@media (min-width: 768px) {
    .fab-mobile {
        display: none;
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 20px;
    right: 20px;
    background: rgba(27, 42, 74, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    opacity: 0;
    max-width: 500px;
}
@media (min-width: 768px) {
    .cookie-banner {
        right: auto;
        left: 30px;
        bottom: -200px;
    }
    .cookie-banner.show {
        bottom: 30px;
        opacity: 1;
    }
}
@media (max-width: 767px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: -250px;
        padding: 1.25rem;
    }
    .cookie-banner.show {
        bottom: 15px;
        opacity: 1;
    }
}
.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cookie-banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}
.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.btn-cookie-accept {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    min-height: 38px !important;
}
.btn-cookie-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    min-height: 38px;
    transition: all var(--transition-fast);
}
.btn-cookie-decline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================
   NUEVAS MEJORAS VISUALES Y FUNCIONALES 2026
   ========================================== */

/* METRICS COUNTER SECTION */
.metrics-grid {
    align-items: center;
    gap: 3rem;
}
.metric-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.metric-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 0.75rem;
    text-align: center;
}
.metric-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: var(--font-heading);
    line-height: 1.3;
}
.metric-subtext {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* BENTO GRID TESTIMONIALS */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.bento-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.bento-large {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    border-left: 5px solid var(--color-accent);
}
.bento-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}
.bento-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: none; /* Keep original color */
}
.logo-jetsmart-bento { height: 35px; }
.logo-improvar-bento { height: 45px; }
.logo-sangines-bento { height: 45px; }
.bento-user {
    flex-grow: 1;
}
.bento-user h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
}
.bento-user span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.verified-badge {
    background: rgba(0, 180, 216, 0.1);
    color: var(--color-accent);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.stars {
    color: #ffb100;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
}
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-large {
        grid-column: span 1;
    }
    .bento-card {
        padding: 1.75rem;
    }
}

/* FLOATING WHATSAPP WIDGET */
.wsp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}
.wsp-widget * {
    pointer-events: auto;
}
.wsp-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    text-decoration: none;
}
.wsp-button:hover {
    transform: scale(1.1);
    background-color: #1ed760;
    color: #fff;
}
.wsp-bubble {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    width: 250px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    position: relative;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    visibility: hidden;
}
.wsp-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}
.wsp-bubble p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    color: var(--color-text);
}
.wsp-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-light);
}
.wsp-close:hover {
    color: var(--color-primary);
}
@media (max-width: 768px) {
    .wsp-widget {
        bottom: 20px;
        right: 20px;
    }
    .wsp-button {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    .wsp-bubble {
        width: 220px;
        padding: 0.75rem;
    }
}

/* CALCULATOR LAYOUT */
.calculator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.calc-sidebar {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
    position: sticky;
    top: 110px;
}
.calc-sidebar h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--color-accent-light);
    padding-bottom: 0.5rem;
}
.calc-intro {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.calc-results-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-light);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    background: var(--color-bg-alt);
}
.calc-results-placeholder i {
    font-size: 2.5rem;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
}
.calc-results {
    animation: calcFadeIn 0.4s ease-out;
}
@keyframes calcFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.calc-item {
    margin-bottom: 1.25rem;
    background: var(--color-bg-alt);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}
.calc-item-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 4px;
}
.calc-item-label i {
    color: var(--color-accent);
    margin-right: 4px;
}
.calc-item-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}
.calc-note {
    margin-top: 1.5rem;
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.5;
    background: rgba(27, 42, 74, 0.03);
    padding: 12px;
    border-radius: 6px;
}
.calc-note i {
    color: var(--color-primary);
    margin-top: 2px;
}
@media (max-width: 991px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }
    .calc-sidebar {
        position: static;
        padding: 30px;
    }
}

/* HERO EXPRESS CONTACT WITH VIDEO BACKGROUND */
#hero-express-contact {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(27, 42, 74, 0.65) 100%);
    z-index: 2;
    pointer-events: none;
}

/* RESPONSIVE DOUBLE-LAYOUT (Desktop vs Mobile) */

/* 1. Desktop version (min-width: 992px) */
@media (min-width: 992px) {
    .express-contact-container {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
        align-items: center;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 3;
    }
    .express-video-mockup {
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 3;
    }
    .phone-frame {
        width: 280px;
        height: 560px;
        background: #0f172a;
        border: 12px solid #334155;
        border-radius: 38px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    }
    .phone-frame::before {
        /* Speaker notch */
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: #1e293b;
        border-radius: 10px;
        z-index: 4;
    }
    .phone-frame video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        pointer-events: none !important;
        user-select: none;
        -webkit-user-drag: none;
    }
    .express-form-card {
        z-index: 3;
        width: 100%;
        max-width: 500px;
    }
}

/* 2. Mobile version (max-width: 991px) */
@media (max-width: 991px) {
    .express-contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 3;
        padding: 0 15px;
    }
    .express-video-mockup {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        pointer-events: none;
    }
    .phone-frame {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        position: absolute;
        top: 0;
        left: 0;
    }
    .phone-frame video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translate(-50%, -50%);
        object-fit: cover;
        z-index: 1;
        pointer-events: none !important;
        user-select: none;
        -webkit-user-drag: none;
    }
    .express-form-card {
        z-index: 3;
        width: 100%;
        max-width: 500px;
    }
}
.express-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}
.express-form-card h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
}
.express-form-card .subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.express-form .form-group {
    margin-bottom: 1.5rem;
}
.express-form label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}
.express-form input,
.express-form textarea {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    width: 100%;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}
.express-form input:focus,
.express-form textarea:focus {
    outline: none;
    border-color: #00B4D8;
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.4);
    background: #fff;
}
.btn-cyan {
    width: 100%;
    background-color: #00B4D8;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}
.btn-cyan:hover {
    background-color: #0096B4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.55);
    color: #fff;
}
.btn-cyan i {
    font-size: 0.95rem;
    transition: transform var(--transition-fast);
}
.btn-cyan:hover i {
    transform: translate(3px, -3px);
}
.btn-cyan::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}
.btn-cyan:hover::after {
    animation: btn-shine 0.85s ease-in-out;
}

@media (max-width: 576px) {
    #hero-express-contact {
        padding: 4rem 0;
    }
    .express-form-card {
        padding: 1.75rem;
    }
    .express-form-card h2 {
        font-size: 1.75rem;
    }
}

