:root {
    --brand-blue: #133AF1;
    --brand-dark: #0C2CC0;
    --brand-deep: #081A80;
    --brand-light: #F4F4F4;
    --text-main: #FFFFFF;
    --text-light: #D9D9D9;
    --accent: #25D366;
    --accent-dark: #128C7E;
    --card-bg: rgba(244, 244, 244, 0.07);
    --card-border: rgba(255, 255, 255, 0.16);
    --shadow: 0 20px 45px rgba(0, 0, 0, 0.26);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--brand-blue); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 55px 0; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; font-size: 1rem; color: var(--text-light); font-weight: 600; margin-bottom: 45px; text-transform: uppercase; letter-spacing: 1px; }
.section-kicker { display: inline-block; color: var(--text-light); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-weight: 700; border-radius: 10px; cursor: pointer; transition: var(--transition); text-decoration: none; border: none; font-size: .95rem; }
.btn-large { padding: 16px 30px; font-size: 1rem; }
.btn-primary { background: #fff; color: var(--brand-blue); box-shadow: 0 8px 25px rgba(0,0,0,.2); }
.btn-primary:hover { background: #e8e8e8; transform: translateY(-2px); }
.btn-whatsapp { background: var(--accent); color: #fff; box-shadow: 0 8px 25px rgba(37,211,102,.24); }
.btn-whatsapp:hover { background: var(--accent-dark); transform: translateY(-2px); }
.full-width { width: 100%; }

header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(19,58,241,.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,.18); z-index: 1000; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.1; }
.logo-sub { font-size: .72rem; color: var(--text-light); }
.nav-menu { display: flex; list-style: none; gap: 16px; align-items: center; }
.nav-link { text-decoration: none; color: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--text-light); }
.nav-dropdown { position: relative; }
.nav-dropdown .fa-chevron-down { font-size: .7rem; margin-left: 4px; }
.dropdown-menu { position: absolute; top: 34px; left: 0; min-width: 260px; list-style: none; background: rgba(8,26,128,.98); border: 1px solid var(--card-border); border-radius: 14px; padding: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); box-shadow: var(--shadow); }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; text-decoration: none; color: #fff; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
.dropdown-menu a:hover { background: rgba(255,255,255,.09); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: transparent; color: #fff; border: none; font-size: 1.5rem; cursor: pointer; }

.hero { min-height: 92vh; background-image: linear-gradient(rgba(0,0,0,.56), rgba(19,58,241,.45)), url('../images/yiwu-hero.webp'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; padding: 130px 24px 80px; }
.hero-content { max-width: 980px; }
.hero-eyebrow { display: inline-block; color: #fff; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; font-size: .85rem; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 5rem); text-transform: uppercase; line-height: 1.05; font-weight: 800; text-shadow: 2px 4px 18px rgba(0,0,0,.65); margin-bottom: 22px; }
.hero p { color: #f5f5f5; font-size: clamp(1rem, 2vw, 1.22rem); max-width: 850px; margin: 0 auto 32px; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

.advantages { background: var(--brand-blue); }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.advantage-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 28px; text-align: center; box-shadow: 0 14px 32px rgba(0,0,0,.16); }
.advantage-card i { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 1.45rem; margin-bottom: 16px; }
.advantage-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.advantage-card p { color: var(--text-light); font-size: .95rem; }

.about-section { background: var(--brand-blue); padding-top: 70px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-image-wrapper { background: rgba(255,255,255,.08); border: 1px solid var(--card-border); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.about-img { display: block; border-radius: 16px; object-fit: cover; width: 100%; max-height: 540px; }
.about-text-wrapper h2, .warehouse-grid h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.about-text-wrapper p, .warehouse-grid p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 16px; }

.personal-section { background: var(--brand-blue); padding: 40px 0 65px; }
.personal-container { text-align: center; }
.personal-section h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.personal-description { max-width: 760px; margin: 0 auto 30px; color: var(--text-light); }
.personal-image-card { max-width: 680px; margin: 0 auto; padding: 12px; background: rgba(255,255,255,.08); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--card-border); }
.personal-img { width: 100%; height: auto; object-fit: contain; border-radius: 16px; display: block; }

.services, .workflow, .futian, .ruta-section, .scheduler-section { background: var(--brand-dark); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detailed-services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service-card { background: var(--card-bg); border-radius: 16px; padding: 32px 28px; border: 1px solid var(--card-border); transition: var(--transition); box-shadow: 0 10px 25px rgba(0,0,0,.14); }
.service-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.11); }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.35rem; }
.service-number { display: block; font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,.35); line-height: 1; margin-bottom: 12px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.service-card p { color: var(--text-light); font-size: .96rem; }

.cta-strip { background: var(--brand-blue); padding: 44px 0; }
.cta-strip-dark { background: var(--brand-deep); }
.cta-strip-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.cta-strip p { color: var(--text-light); max-width: 430px; }

.stepper-container { position: relative; max-width: 920px; margin: 0 auto; padding: 30px 0; }
.stepper-line, .stepper-progress { position: absolute; left: 30px; top: 0; width: 4px; }
.stepper-line { height: 100%; background: rgba(255,255,255,.2); z-index: 1; }
.stepper-progress { height: 0%; background: #fff; z-index: 2; transition: height .5s ease; }
.step-item { position: relative; display: flex; gap: 34px; margin-bottom: 38px; z-index: 3; }
.step-item:last-child { margin-bottom: 0; }
.step-node { width: 64px; height: 64px; background: var(--brand-blue); border: 4px solid rgba(255,255,255,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; font-weight: 800; flex-shrink: 0; color: rgba(255,255,255,.75); }
.step-item.active .step-node { background: #fff; color: var(--brand-blue); border-color: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.16); }
.step-content { background: var(--card-bg); padding: 26px; border-radius: 14px; border: 1px solid var(--card-border); width: 100%; }
.step-content h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-content p { color: var(--text-light); }

/* ALMACÉN Y CONTROL DE CALIDAD */
.warehouse-section {
    background: var(--brand-blue);
}

.warehouse-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.warehouse-content h2 {
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 24px;
    max-width: 640px;
}

.warehouse-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 26px;
}

.check-list {
    list-style: none;
    margin-top: 24px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin-bottom: 14px;
    font-weight: 600;
}

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

.warehouse-gallery {
    width: 100%;
}

.warehouse-gallery-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.warehouse-photo {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.warehouse-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.warehouse-photo:hover img {
    transform: scale(1.04);
}

.futian-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.futian h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; }
.futian-desc { color: var(--text-light); margin-bottom: 16px; font-size: 1.04rem; }
.futian-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-box { background: var(--card-bg); border: 1px solid var(--card-border); padding: 26px; border-radius: 16px; text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.stat-number { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; display: block; line-height: 1; margin-bottom: 10px; }
.stat-label { color: var(--text-light); font-size: .88rem; text-transform: uppercase; font-weight: 700; }

.aliados-section { padding: 65px 0 35px; background: var(--brand-blue); overflow: hidden; }
.socios-carousel { width: 100%; overflow: hidden; margin-bottom: 42px; }
.socios-track { display: flex; gap: 42px; width: max-content; animation: moverSocios 26s linear infinite; }
.socios-track:hover { animation-play-state: paused; }
.socio-card { min-width: 380px; height: 250px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid var(--card-border); box-shadow: 0 14px 35px rgba(0,0,0,.22); }
.socio-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes moverSocios { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 24px; box-shadow: 0 12px 28px rgba(0,0,0,.17); }
.testimonial-card p { color: var(--text-light); margin-bottom: 14px; }

.agent-full-section { background: var(--brand-blue); padding: 40px 20px 85px; text-align: center; }
.agent-header { max-width: 760px; margin: 0 auto 34px; }
.agent-header h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 12px; }
.agent-header .subtitle { font-size: 1.22rem; font-weight: 700; margin-bottom: 14px; color: #fff; }
.agent-header .description { color: var(--text-light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto 34px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 18px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; }
.feature-card i { color: var(--accent); }

footer { background: var(--brand-deep); color: var(--text-light); padding: 70px 0 28px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 44px; margin-bottom: 45px; }
footer h3, footer h4 { color: #fff; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #fff; text-decoration: none; opacity: .9; }
footer a:hover { opacity: 1; text-decoration: underline; }
.contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-item i { color: #fff; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-domain { color: #fff; font-weight: 800; }
.compact-footer { border-top: none; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { font-size: .88rem; }

.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 1.1rem; transition: background .2s, transform .2s; }
.social-links a:hover { background: var(--accent); transform: translateY(-2px); text-decoration: none; }

.legal-content { max-width: 820px; margin: 0 auto; color: var(--text-light); }
.legal-content h2 { color: #fff; font-size: 1.35rem; margin: 38px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-updated { font-size: .88rem; color: var(--text-light); opacity: .75; margin-bottom: 30px; }
.legal-box { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 22px 26px; margin-bottom: 26px; }
.legal-box p { margin-bottom: 6px; }
.legal-box p:last-child { margin-bottom: 0; }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 1200; background: var(--accent); color: #fff; text-decoration: none; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; box-shadow: 0 15px 35px rgba(0,0,0,.3); font-weight: 800; }
.floating-whatsapp i { font-size: 1.35rem; }
.floating-whatsapp:hover { background: var(--accent-dark); transform: translateY(-2px); }

.page-hero { padding: 150px 0 70px; background: linear-gradient(135deg, var(--brand-blue), var(--brand-dark)); text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase; margin-bottom: 16px; }
.page-hero p { color: var(--text-light); max-width: 720px; margin: 0 auto; font-size: 1.1rem; }
.contact-page, .faq-section { background: var(--brand-blue); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
.contact-info-card, .contact-form-card, .faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 14px; margin-top: 20px; color: var(--text-light); }
.contact-row i { color: #fff; margin-top: 5px; }
.contact-form-card label { display: block; font-weight: 700; margin: 16px 0 7px; }
.contact-form-card input, .contact-form-card textarea { width: 100%; background: rgba(255,255,255,.1); border: 1px solid var(--card-border); border-radius: 10px; padding: 13px; color: #fff; outline: none; }
.form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.contact-form-card input::placeholder, .contact-form-card textarea::placeholder { color: rgba(255,255,255,.55); }
.faq-list { max-width: 900px; }
.faq-item { margin-bottom: 18px; }
.faq-item h2 { font-size: 1.18rem; margin-bottom: 10px; }
.faq-item p { color: var(--text-light); }

@media (max-width: 1100px) {
    .header-whatsapp { display: none; }
    .nav-menu { gap: 12px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-menu { position: absolute; top: 80px; left: 0; width: 100%; background: rgba(19,58,241,.99); backdrop-filter: blur(10px); flex-direction: column; align-items: center; gap: 20px; padding: 28px 20px; display: none; border-bottom: 1px solid rgba(255,255,255,.15); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
    .nav-menu.active { display: flex; }
    .nav-dropdown { width: 100%; text-align: center; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; margin-top: 10px; min-width: auto; width: 100%; background: rgba(8,26,128,.45); box-shadow: none; }
    .nav-dropdown.open .dropdown-menu { display: block; }

    .advantages-grid,
    .about-grid,
    .warehouse-grid,
    .futian-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-strip-content {
        flex-direction: column;
        text-align: center;
    }

    .warehouse-grid {
        gap: 36px;
    }

    .warehouse-gallery-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .warehouse-photo {
        height: 360px;
        border-radius: 18px;
    }

    .futian-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 68px 0; }
    .hero { min-height: 78vh; padding: 120px 18px 60px; }
    .hero-actions, .intro-ctas { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; min-height: 48px; }
    .personal-section { padding: 35px 0 52px; }
    .personal-image-card { max-width: 94%; border-radius: 16px; padding: 10px; }
    .personal-img { border-radius: 12px; }
    .step-item { gap: 18px; }
    .step-node { width: 54px; height: 54px; font-size: 1.2rem; }
    .stepper-line, .stepper-progress { left: 25px; }
    .socio-card { min-width: 290px; height: 210px; }
    .features-grid, .futian-stats { grid-template-columns: 1fr; }
    .floating-whatsapp { right: 14px; bottom: 14px; padding: 13px 15px; }
    .floating-whatsapp span { display: none; }

    .warehouse-content h2 {
        font-size: 2.15rem;
    }

    .warehouse-gallery-two {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .warehouse-photo {
        height: 320px;
        border-radius: 18px;
    }
}

/* AJUSTES SOLICITADOS: servicios, recorridos, ruta y carrusel */
.services .container {
    max-width: 1400px;
}

.services-grid.detailed-services {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.services-grid.detailed-services .service-card {
    padding: 30px 22px;
}

.services-grid.detailed-services .service-card h3 {
    font-size: 1.12rem;
}

.services-grid.detailed-services .service-card p {
    font-size: .92rem;
}

.locales-section {
    background: var(--brand-blue);
    overflow: hidden;
}

.locales-container {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: 460px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, .08);
}

.locales-bg {
    position: absolute;
    inset: 0;
    width: 300%;
    height: 100%;
    display: flex;
    animation: moverLocales 28s linear infinite;
}

.tienda {
    width: 420px;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-right: 4px solid rgba(255,255,255,.08);
}

.tienda1 { background-image: url('https://images.unsplash.com/photo-1528698827591-e19ccd7bc23d?q=80&w=1400&auto=format&fit=crop'); }
.tienda2 { background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?q=80&w=1400&auto=format&fit=crop'); }
.tienda3 { background-image: url('https://images.unsplash.com/photo-1521334884684-d80222895322?q=80&w=1400&auto=format&fit=crop'); }
.tienda4 { background-image: url('https://images.unsplash.com/photo-1481437156560-3205f6a55735?q=80&w=1400&auto=format&fit=crop'); }
.tienda5 { background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?q=80&w=1400&auto=format&fit=crop'); }

.locales-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19,58,241,.82), rgba(19,58,241,.22));
    z-index: 2;
}

.mujer {
    position: absolute;
    bottom: 18px;
    left: 50%;
    height: 320px;
    width: auto;
    z-index: 5;
    transform: translateX(-50%) scale(1.2);
    transform-origin: bottom center;
    animation: caminar 1s infinite alternate;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4));
}

@keyframes moverLocales {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes caminar {
    from {
        transform: translateX(-50%) scale(1.05) translateY(0px);
    }

    to {
        transform: translateX(-50%) scale(1.05) translateY(-6px);
    }
}

.ruta-section {
    background: var(--brand-dark);
    overflow: hidden;
}

.mapa-container {
    position: relative;
    width: 100%;
    max-width: 1120px;
    height: 520px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-dark));
}

.mapa {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
    filter: saturate(1.2) contrast(1.1);
}

.mapa-container svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.ruta {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-dasharray: 15;
    animation: lineaRuta 10s linear infinite;
}

.ruta-secundaria {
    opacity: .72;
    stroke-width: 3;
}

@keyframes lineaRuta {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -120; }
}

.pin {
    position: absolute;
    width: 26px;
    height: 26px;
    background: #ff4d6d;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 20px rgba(255,77,109,.85);
    animation: pulsePin 2s infinite;
    transform: translate(-50%, -50%);
}

.pin::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    top: 8px;
    left: 8px;
}

/* Pines en porcentajes para que funcionen en PC y celular */
.pin-china {
    top: 25%;
    left: 86%;
}

.pin-africa {
    top: 60%;
    left: 55%;
}

.pin-latam {
    top: 80%;
    left: 34%;
}

.pin-pacifico {
    top: 88%;
    left: 16%;
}

@keyframes pulsePin {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.22);
        opacity: .75;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Barco responsivo: ya no usa offset-path en pixeles */
.barco {
    position: absolute;
    width: clamp(75px, 10vw, 130px);
    height: auto;
    z-index: 8;
    left: 82%;
    top: 33%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
    animation: moverBarcoRuta 12s linear infinite;
}

@keyframes moverBarcoRuta {
    0% {
        left: 82%;
        top: 33%;
    }

    35% {
        left: 58%;
        top: 51%;
    }

    70% {
        left: 36%;
        top: 70%;
    }

    100% {
        left: 18%;
        top: 82%;
    }
}

.aliados-section {
    padding: 72px 0 42px;
}

.socios-carousel {
    margin-bottom: 0;
}

.socios-track:hover {
    animation-play-state: running;
}

@media (max-width: 1280px) {
    .services-grid.detailed-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .services-grid.detailed-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .locales-container,
    .mapa-container {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .services-grid.detailed-services {
        grid-template-columns: 1fr;
    }

    .locales-container,
    .mapa-container {
        height: 330px;
        border-radius: 18px;
    }

    .mujer {
        height: 210px;
        width: auto;
        max-width: none;
        transform: translateX(-50%) scale(1.05);
    }

    .barco {
        width: 82px;
    }

    .pin {
        width: 18px;
        height: 18px;
    }

    .pin::after {
        width: 7px;
        height: 7px;
        top: 5.5px;
        left: 5.5px;
    }
}