@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    --wsf-navy: #0A1E3D;
    --wsf-navy-light: #142D5C;
    --wsf-navy-dark: #060F1F;
    --wsf-navy-rgb: 10, 30, 61;
    --wsf-green: #4CAF50;
    --wsf-green-dark: #2E7D32;
    --wsf-green-light: #66BB6A;
    --wsf-orange: #E8731A;
    --wsf-orange-light: #F5A623;
    --wsf-orange-hover: #D4630F;
    --wsf-orange-rgb: 232, 115, 26;
    --wsf-white: #FFFFFF;
    --wsf-off-white: #F8FAFC;
    --wsf-gray-100: #F1F5F9;
    --wsf-gray-200: #E2E8F0;
    --wsf-gray-300: #CBD5E1;
    --wsf-gray-500: #64748B;
    --wsf-gray-800: #1E293B;
    --wsf-grad-premium: linear-gradient(135deg, var(--wsf-navy) 0%, var(--wsf-navy-light) 100%);
    --wsf-grad-accent: linear-gradient(135deg, var(--wsf-orange) 0%, #FF9F0A 100%);
    --wsf-grad-eco: linear-gradient(135deg, var(--wsf-green) 0%, var(--wsf-green-dark) 100%);
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.1);
    --transition-premium: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--wsf-gray-800);
    background-color: var(--wsf-navy-dark);
    /* Global fix for white line at bottom */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

main {
    background-color: var(--wsf-white);
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--wsf-navy);
    line-height: 1.1;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-premium);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.text-orange {
    color: var(--wsf-orange);
}

.text-white {
    color: var(--wsf-white);
}

.bg-navy {
    background-color: var(--wsf-navy);
}

.bg-off-white {
    background-color: var(--wsf-off-white);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.5rem;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-premium);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--wsf-grad-accent);
    color: var(--wsf-white);
    box-shadow: 0 10px 20px rgba(232, 115, 26, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(232, 115, 26, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--wsf-white);
}

.btn-outline:hover {
    background: var(--wsf-white);
    color: var(--wsf-navy);
    border-color: var(--wsf-white);
    transform: translateY(-5px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.25rem 0;
    transition: var(--transition-premium);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    padding: 0.15rem 0;
    background: rgba(var(--wsf-navy-rgb), 0.98);
    min-height: 60px;
    /* ORIGINAL HEIGHT */
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition-premium);
    padding-left: 10px;
    filter: invert(1) brightness(0.2);
    opacity: 0.9;
}

.navbar.scrolled .nav-logo img {
    height: 50px;
    /* Image smaller than scrolled navbar (60px) */
    filter: brightness(0) invert(1);
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--wsf-navy);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    color: var(--wsf-orange);
}

.navbar.scrolled .nav-link {
    color: white;
    opacity: 0.9;
}

.navbar.scrolled .nav-link:hover {
    opacity: 1;
    color: var(--wsf-orange);
}

/* Language Switcher Direct Buttons */
.lang-switcher-direct {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-item-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.lang-item-btn:hover {
    background: var(--wsf-orange);
    border-color: var(--wsf-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 110, 64, 0.3);
}

.lang-item-btn.active {
    background: var(--wsf-orange);
    border-color: var(--wsf-orange);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar:not(.scrolled) .lang-item-btn {
    background: rgba(10, 30, 61, 0.05);
    border-color: rgba(10, 30, 61, 0.1);
    color: var(--wsf-navy);
}

.navbar:not(.scrolled) .lang-item-btn:hover,
.navbar:not(.scrolled) .lang-item-btn.active {
    background: var(--wsf-orange);
    border-color: var(--wsf-orange);
    color: white;
}

.lang-item {
    padding: 0.75rem 1.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-premium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-item:hover {
    background: rgba(var(--wsf-orange-rgb), 0.1);
    color: var(--wsf-orange-light);
    padding-left: 2rem;
}

.lang-item.active {
    color: var(--wsf-orange);
}

/* Logistics Rain Background (Tech Aesthetic) */
.logistics-img {
    position: absolute;
    filter: brightness(0) invert(1) opacity(0.3);
    /* White and subtle */
    will-change: transform;
    transition: filter 0.3s ease;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--wsf-navy);
    transition: all 0.3s ease;
}

.navbar.scrolled .mobile-toggle span {
    background: white;
}

.mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--wsf-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: white !important;
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }
}

/* Logistics Flow Animation Container */
.hero-logistics-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.logistics-float-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    color: rgba(10, 30, 61, 0.08);
    animation: floatOrbit 30s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform, opacity;
}

.logistics-float-icon svg {
    width: 100%;
    height: 100%;
    transform: scale(var(--scale, 1));
}

.logistics-float-icon:nth-child(4n) {
    color: rgba(76, 175, 80, 0.12);
}

.logistics-float-icon:nth-child(7n) {
    color: rgba(232, 115, 26, 0.10);
}

@keyframes floatOrbit {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.3;
    }

    50% {
        transform: translate(var(--path-x, 100px), var(--path-y, -100px)) rotate(180deg);
        opacity: 0.4;
    }

    85% {
        opacity: 0.2;
    }
}

.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--wsf-navy);
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
    background: rgba(10, 30, 61, 0.92);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(10, 30, 61, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    color: var(--wsf-white);
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.hero-content:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(10, 30, 61, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* HERO - ANIMACIÓN DEL LOGO */
.hero-logo-top {
    display: block;
    width: 180px;
    margin: 0 auto 1.5rem;
    /* Más cerca del texto */
    opacity: 0;
    transform: translateY(-50px);
    /* Empieza más arriba */
    animation: logoDrop 1.2s ease-out 0.3s forwards;
}

@keyframes logoDrop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustar posición del tag/subtítulo */
.hero-tag {
    font-size: 1.2rem;
    color: white !important;
    /* Forzar blanco */
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ajustar título principal */
.hero-title {
    margin-top: 0.5rem;
    font-size: 2.75rem;
    color: var(--wsf-orange);
    font-weight: 900;
    line-height: 1.2;
}

/* Para pantallas móviles */
@media (max-width: 768px) {
    .hero-logo-top {
        width: 140px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-title span {
    color: var(--wsf-orange);
    display: block;
}

.hero-subtext {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

/* Floating Dashboard (Flexport Style) */
.hero-visual {
    position: relative;
    perspective: 2000px;
}

.glass-dashboard {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: rotateY(-15deg) rotateX(5deg);
    animation: float-dashboard 6s ease-in-out infinite;
}

@keyframes float-dashboard {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-12deg) rotateX(2deg) translateY(-20px);
    }
}

.dashboard-map-wrap {
    background: #000;
    border-radius: 20px;
    height: 280px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 8px solid rgba(30, 30, 30, 0.9);
    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.5),
        inset 0 0 40px rgba(255, 255, 255, 0.03);
}

.dashboard-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.world-map-dots {
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background: radial-gradient(circle at 20% 30%, var(--wsf-orange-light) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, var(--wsf-orange-light) 2px, transparent 2px),
        radial-gradient(circle at 80% 40%, var(--wsf-orange-light) 2px, transparent 2px),
        radial-gradient(circle at 30% 70%, var(--wsf-orange-light) 2px, transparent 2px);
    background-size: 100px 100px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dash-card {
    background: rgba(10, 30, 61, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(10, 30, 61, 0.1);
}

.dash-card h5 {
    color: var(--wsf-gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.dash-card .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wsf-navy);
}

.dash-card .trend {
    font-size: 0.75rem;
    color: var(--wsf-green);
    margin-left: 0.5rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.6);
}

.hero-overlay {
    display: none;
    /* Removed old overlay in favor of new dark bg */
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.75rem);
    color: var(--wsf-gray-300);
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 2rem;
}

/* Stats */
.hero-stats {
    position: absolute;
    bottom: 5%;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition-premium);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-10px);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wsf-orange-light);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wsf-white);
}

/* Mission Vision Values */
.mvv-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.mvv-card {
    background: var(--wsf-white);
    padding: 4rem 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--wsf-gray-100);
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--wsf-orange);
    opacity: 0;
    transition: var(--transition-premium);
}

.mvv-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-medium);
    border-color: var(--wsf-orange-light);
}

.mvv-card:hover::before {
    opacity: 1;
}

.mvv-icon {
    font-size: 3.5rem;
    color: var(--wsf-orange);
    margin-bottom: 2rem;
}

.mvv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.mvv-card p {
    color: var(--wsf-gray-500);
    font-size: 1.125rem;
    margin: 0;
}

.values-list {
    margin-top: 1.5rem;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--wsf-navy);
}

.values-list i {
    color: var(--wsf-orange);
}

/* Service Showcase */
.service-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--wsf-white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    color: var(--wsf-navy);
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--wsf-gray-100);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--wsf-grad-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--wsf-orange-light);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-num {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--wsf-orange);
    margin-bottom: 2rem;
    font-family: var(--font-display);
    opacity: 0.6;
}

.service-item i {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--wsf-navy);
    transition: var(--transition-premium);
}

.service-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--wsf-orange);
}

.service-item h4 {
    color: var(--wsf-navy);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.service-item p {
    color: var(--wsf-gray-600);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    margin-top: auto;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--wsf-orange);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Bento */
.bento-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-big {
    grid-column: span 2;
    grid-row: span 2;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 61, 0.9), transparent);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-card {
    background: var(--wsf-white);
    padding: 2.5rem;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-premium);
}

.bento-card:hover {
    transform: translateY(-10px);
}

/* Marquee / Partners Banner (TRUE FULL WIDTH) */
.marquee-wrap {
    background: var(--wsf-white);
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--wsf-gray-100);
    border-bottom: 5px solid var(--wsf-orange);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 160px;
    /* Big gap for ultrawide look */
    padding-right: 160px;
}

.marquee-content img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.4s ease;
}

.marquee-content img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-5px);
}

.marquee-sep {
    height: 60px !important;
    /* Same height as partners */
    opacity: 0.8 !important;
    filter: invert(1) brightness(0.2) !important;
    /* Make white logo dark/black */
    margin: 0 40px;
    transition: var(--transition-premium);
}

.marquee-sep:hover {
    opacity: 1 !important;
    filter: invert(1) brightness(0) !important;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Classic Contact Section Style (Within Container) */
.contact-classic-wrap {
    background: var(--wsf-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.contact-info-strip {
    background: var(--wsf-grad-premium);
    /* Premium Navy Gradient */
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: white;
}

.info-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.info-strip-item:last-child {
    border-right: none;
}

.info-strip-item i {
    font-size: 2rem;
    color: var(--wsf-orange);
}

.info-strip-text span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 700;
}

.info-strip-text strong {
    font-size: 1.2rem;
    display: block;
}

.contact-classic-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-classic-content {
    padding: 2rem;
    /* Reduced from 3.5rem */
    background: white;
}

.contact-classic-content p {
    font-size: 0.85rem;
    /* Smaller more compact text */
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.contact-classic-map {
    width: 100%;
    height: 100%;
}

.contact-classic-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Form Styles for Classic */
.classic-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.classic-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.classic-input {
    width: 100%;
    padding: 0.8rem 1.25rem;
    border: 1px solid var(--wsf-gray-200);
    background: var(--wsf-white);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--wsf-navy);
    transition: var(--transition-premium);
}

.classic-input:focus {
    border-color: var(--wsf-orange);
    outline: none;
    box-shadow: 0 0 15px rgba(232, 115, 26, 0.1);
}

.classic-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--wsf-gray-200);
    background: var(--wsf-white);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--wsf-navy);
    resize: none;
    transition: var(--transition-premium);
}

.classic-textarea:focus {
    border-color: var(--wsf-orange);
    outline: none;
    box-shadow: 0 0 15px rgba(232, 115, 26, 0.1);
}

.classic-btn {
    background: var(--wsf-grad-accent);
    color: white;
    padding: 1.1rem 3.5rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 800;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-top: 1rem;
    transition: var(--transition-premium);
    box-shadow: 0 10px 20px rgba(232, 115, 26, 0.2);
}

.classic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(232, 115, 26, 0.3);
}

.form-group-premium {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group-premium label {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--wsf-navy);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group-premium input,
.form-group-premium textarea {
    padding: 1.25rem;
    border: 1px solid var(--wsf-gray-200);
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-premium);
    background: var(--wsf-off-white);
}

.form-group-premium input:focus,
.form-group-premium textarea:focus {
    outline: none;
    border-color: var(--wsf-orange);
    background: var(--wsf-white);
    box-shadow: 0 0 0 4px rgba(232, 115, 26, 0.1);
}

.h-captcha-row {
    margin: 2rem 0;
}

/* Premium Social Icons */
.social-links-footer {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icon-box:hover {
    background: var(--wsf-orange);
    color: white !important;
    transform: translateY(-10px) rotate(8deg);
    box-shadow: 0 15px 30px rgba(232, 115, 26, 0.4);
    border-color: var(--wsf-orange);
}

.social-icon-box i {
    transition: transform 0.4s ease;
}

.social-icon-box:hover i {
    transform: scale(1.2);
}

/* FOOTER */
footer {
    background-color: var(--wsf-navy-dark);
    color: var(--wsf-white);
    padding: 100px 0 40px;
    border-top: 5px solid var(--wsf-orange);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--wsf-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--wsf-orange);
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-premium);
}

.footer-links a:hover {
    color: var(--wsf-orange-light);
    transform: translateX(10px);
}

.footer-links i {
    color: var(--wsf-orange);
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--wsf-orange-light);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .contact-container-premium {
        flex-direction: column;
    }

    .contact-map-side {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .nav-links {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-side {
        padding: 3rem 2rem;
    }

    .marquee-content {
        gap: 4rem;
        padding-right: 4rem;
    }
}

/* Floating Elements */
.floating-btns {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1001;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-premium);
}

.float-btn.whatsapp {
    background: var(--wsf-navy-light);
    color: white !important;
    font-size: 1.8rem;
}

.float-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--wsf-orange);
}

/* Service Modal Styles */
.wsf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.wsf-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 30, 61, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-content-wrap {
    position: relative;
    background: white;
    width: 100%;
    max-width: 800px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.wsf-modal.active .modal-content-wrap {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--wsf-off-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--wsf-navy);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-premium);
}

.modal-close:hover {
    background: var(--wsf-orange);
    color: white;
    transform: rotate(90deg);
}

.modal-body-premium {
    padding: 5rem;
}

.modal-icon-header {
    width: 100px;
    height: 100px;
    background: var(--wsf-off-white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--wsf-orange);
    margin-bottom: 2.5rem;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
}

.modal-scroll-area {
    max-height: 400px;
    overflow-y: auto;
    margin: 2rem 0 3rem;
    padding-right: 1.5rem;
}

.modal-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-thumb {
    background: var(--wsf-gray-200);
    border-radius: 10px;
}

.modal-text-detailed {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--wsf-gray-600);
}

.clickable-service {
    cursor: pointer;
    transition: var(--transition-premium);
}

.clickable-service:hover {
    transform: translateY(-10px);
    border-color: var(--wsf-orange);
    box-shadow: 0 20px 40px rgba(10, 30, 61, 0.1);
}

.small-ver-btn {
    background: var(--wsf-grad-accent);
    color: white;
    padding: 0.75rem 3rem;
    border: none;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: var(--transition-premium);
    display: inline-block;
}

.small-ver-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(232, 115, 26, 0.3);
}

/* ==========================================================================
   MASTER MOBILE OVERRIDE (CSS SENIOR FIX)
   This block forces mobile layouts by overriding inline styles with !important.
   DOES NOT ALTER DESKTOP CODE ABOVE LINE 1553.
   ========================================================================== */

@media (max-width: 991px) {

    /* Global Reset for Horizontals */
    html,
    body {
        overflow-x: hidden !important;
        width: 100vw;
        position: relative;
    }

    .container {
        padding: 0 1.5rem !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .section-padding {
        padding: 60px 0 !important;
    }

    /* Navbar Fix (Fixes the overlapping logo/btns) */
    .navbar {
        min-height: 70px !important;
        padding: 0.5rem 0 !important;
    }

    .nav-logo img {
        height: 40px !important;
        padding-left: 0 !important;
    }

    .lang-switcher-direct {
        gap: 5px !important;
        margin-right: 5px !important;
        z-index: 1001 !important;
    }

    .lang-item-btn {
        padding: 5px 8px !important;
        font-size: 11px !important;
        min-width: 45px !important;
    }

    #btnQuote {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: var(--wsf-navy) !important;
        z-index: 10000 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .mobile-toggle {
        display: flex !important;
        z-index: 10001 !important;
        position: relative !important;
        padding: 15px !important;
        margin-right: 5px !important;
    }

    /* Hero Fix (Fixes the Title overflow) */
    .hero {
        height: auto !important;
        min-height: 0 !important;
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }

    .hero .container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .hero-content {
        padding: 2rem 1.5rem !important;
        width: 100% !important;
        transform: none !important;
        text-align: center !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtext {
        margin-bottom: 2rem !important;
        font-size: 0.95rem !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-btns .btn {
        width: 100% !important;
        padding: 1rem !important;
    }

    .hero-visual {
        display: none !important;
    }

    /* Visual dashboard too big for mobile content */

    /* About Section Fixes (Fixes the "100% Badge" and columns) */
    section .container div[style*="grid-template-columns"],
    .about-layout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* The 100% Badge that was over text */
    div[style*="position: absolute; bottom: -30px; right: -30px"] {
        position: relative !important;
        bottom: 0 !important;
        right: 0 !important;
        margin: 20px auto 0 !important;
        padding: 1.5rem !important;
        width: fit-content !important;
    }

    /* Mision/Vision/Valores CARDS (Fixes the "squashed" columns) */
    .mvv-layout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .mvv-card {
        padding: 2.5rem 1.5rem !important;
        width: 100% !important;
    }

    /* Services Grid Fix (Fixes the 3-column squash) */
    .service-showcase {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .service-item {
        min-height: 0 !important;
        padding: 2rem 1.5rem !important;
        width: 100% !important;
    }

    /* Contact Section Fixes */
    .contact-info-strip {
        grid-template-columns: 1fr !important;
    }

    .info-strip-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 1rem !important;
    }

    .contact-classic-body {
        grid-template-columns: 1fr !important;
    }

    .contact-classic-content {
        padding: 2rem 1.25rem !important;
    }

    .classic-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .contact-classic-map {
        height: 250px !important;
        width: 100% !important;
    }

    /* Footer Fix */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        padding-top: 20px !important;
    }

    /* Modal Fix */
    .modal-body-premium {
        padding: 2.5rem 1.25rem !important;
    }

    .modal-icon-header {
        width: 60px !important;
        height: 60px !important;
        font-size: 2rem !important;
    }

    .modal-text-detailed {
        font-size: 0.95rem !important;
    }

    /* Floating WhatsApp Fix */
    .floating-btns {
        bottom: 1rem !important;
        right: 1rem !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .info-strip-text strong {
        font-size: 1rem !important;
    }

    .navbar .container {
        gap: 5px !important;
    }

    .lang-item-btn {
        min-width: 40px !important;
        padding: 4px 6px !important;
        font-size: 10px !important;
    }
}