:root {
    --brand: #e31e24;
    --brand-dark: #c4181e;
    --ink: #111111;
    --muted: #6b6b6b;
    --line: #ececec;
    --surface: #ffffff;
    --footer: #0d0d0d;
    --footer-bottom: #080808;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 10px;
    --font: "Montserrat", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}



body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Brand mark */
.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    background:
            linear-gradient(var(--brand), var(--brand)) left top / 18px 8px no-repeat,
            linear-gradient(var(--brand), var(--brand)) left top / 8px 18px no-repeat,
            linear-gradient(#111, #111) right bottom / 18px 8px no-repeat,
            linear-gradient(#111, #111) right bottom / 8px 18px no-repeat;
    border: 1px solid #ddd;
}

.brand-mark-light {
    border-color: rgba(255, 255, 255, 0.2);
    background:
            linear-gradient(var(--brand), var(--brand)) left top / 18px 8px no-repeat,
            linear-gradient(var(--brand), var(--brand)) left top / 8px 18px no-repeat,
            linear-gradient(#fff, #fff) right bottom / 18px 8px no-repeat,
            linear-gradient(#fff, #fff) right bottom / 8px 18px no-repeat;
}

.brand-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--ink);
}


/* Buttons */
.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--brand-dark);
    --bs-btn-active-border-color: var(--brand-dark);
    font-weight: 600;
    border-radius: 6px;
}

.btn-whatsapp {
    background: #fff;
    border: 1.5px solid #222;
    color: #111;
    font-weight: 600;
    border-radius: 6px;
}

.btn-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.btn-lang {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.4rem;
    color: var(--ink);
}

.btn-lang::after {
    margin-left: 0.3rem;
}

/* Navbar */
.site-navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    z-index: 1030;
}

.site-navbar .nav-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #333 !important;
    padding: 0.55rem 0.85rem !important;
    position: relative;
}

.site-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand) !important;
}

.site-navbar .nav-link.active::after,
.site-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: 1px solid #ddd;
    padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero */
.hero {
    position: relative;
    min-height: clamp(540px, 78vh, 740px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    width: min(62%, 920px);
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.96) 12%,
            rgba(255, 255, 255, 0.78) 28%,
            rgba(255, 255, 255, 0.35) 48%,
            rgba(255, 255, 255, 0.08) 68%,
            rgba(255, 255, 255, 0) 82%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-copy {
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(1.85rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
    animation: fadeUp 0.8s ease both;
}

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

.hero-text {
    max-width: 34rem;
    color: #333;
    font-size: 1rem;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.8s ease 0.12s both;
}

.hero-actions {
    animation: fadeUp 0.8s ease 0.22s both;
}

/* Sections */
.section-heading h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.heading-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--brand);
    margin: 0 auto;
    border-radius: 2px;
}

.heading-line-left {
    margin-left: 0;
}

.section-services {
    background: #f7f7f7;
    padding-top: 4rem !important;
    padding-bottom: 4.5rem !important;
}

/* Service cards */
.service-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 120px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.service-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-body {
    padding: 0 0.75rem 1.35rem;
    text-align: center;
    position: relative;
}

.service-icon {
    width: 42px;
    height: 42px;
    margin: -21px auto 0.85rem;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.12);
}

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

.service-card h3 {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    min-height: 2.5em;
    color: #111;
}

.service-card p {
    font-size: 0.7rem;
    color: #777;
    margin: 0;
    line-height: 1.45;
}

/* Routes */
.section-routes {
    background: #fff;
}

.routes-board {
    background: #fff;
    border-radius: 16px;
    padding: 0.25rem 0;
}

.route-list {
    display: grid;
    gap: 0.7rem;
}

.route-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.35rem;
    border: none;
    border-bottom: 1px solid #efefef;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.route-item:hover,
.route-item.is-active {
    background: rgba(227, 30, 36, 0.04);
    transform: translateX(3px);
    box-shadow: none;
    border-color: transparent;
    border-bottom-color: #efefef;
}

.flag-img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.text-uppercase{
    text-transform: uppercase;
}

.route-path {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}

.route-path .bi {
    color: var(--brand);
    font-size: 0.75rem;
    margin: 0 0.2rem;
}

.fs-13{
    font-size: 13px;
}

.messenger-button {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e31e24;
    border-radius: 50%;

    z-index: 99999;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .2);

    transition: all .3s ease;
}

.messenger-button:hover {
    transform: scale(1.1);
}

.messenger-button svg {
    display: block;
}

@media (max-width: 768px) {
    .messenger-button {
        width: 56px;
        height: 56px;
        right: 18px;
        bottom: 18px;
    }

    .messenger-button svg {
        width: 28px;
        height: 28px;
    }
}


.logo-size{
    width: 50%
}

@media (min-width: 500px) {
    .logo-size{
        width: 15%
    }
    
}

.logo-size {
    cursor: pointer;
}

@media (max-width: 390px) {
    .d-center {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .logo {
        flex: 0 0 auto !important;
    }


    nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

}


.routes-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 320px;
    border-radius: 14px;
    overflow: hidden;
    background: #f6f6f6;
}

.map-basemap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 38%;
    filter: grayscale(1) contrast(0.85) brightness(1.18);
    opacity: 0.55;
    transform: scale(1.35);
    pointer-events: none;
    user-select: none;
}

.map-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
            radial-gradient(ellipse at 55% 45%, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.72) 78%, #fff 100%),
            linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.55) 12%, transparent 28%),
            linear-gradient(180deg, #fff 0%, transparent 18%, transparent 82%, #fff 100%);
}

.map-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.map-overlay text {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    fill: #222;
}

.map-overlay .hub-label {
    font-size: 18px;
    font-weight: 800;
    fill: var(--brand);
}

.route-lines path {
    opacity: 0.7;
    transition: opacity 0.25s ease, stroke-width 0.25s ease;
    animation: dashMove 18s linear infinite;
}

.route-lines path.is-active,
.routes-map.is-hovering .route-lines path.is-active {
    opacity: 1;
    stroke-width: 2.8;
}

.routes-map.is-hovering .route-lines path:not(.is-active) {
    opacity: 0.12;
}

.city-marker {
    transition: opacity 0.25s ease;
}

.city-marker.is-active circle {
    filter: drop-shadow(0 0 4px rgba(227, 30, 36, 0.55));
}

.routes-map.is-hovering .city-marker:not(.is-active):not(.city-hub) {
    opacity: 0.25;
}

.hub-ring-outer {
    transform-box: fill-box;
    transform-origin: center;
    animation: hubPulse 2.4s ease-out infinite;
}

@keyframes hubPulse {
    0% {
        transform: scale(0.7);
        opacity: 0.55;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Why */
.section-why {
    background: #fafafa;
}

.why-item {
    padding: 0.5rem 0.4rem;
    height: 100%;
}

.why-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.why-item:hover .why-icon {
    background: var(--brand);
    color: #fff;
}

.why-item h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.why-item p {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
}

/* Dual section */
.section-dual {
    overflow: hidden;
}

.dual-panel {
    min-height: 560px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.dual-warehouse {
    background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.35)),
            url("https://images.unsplash.com/photo-1553413077-190dd305871c?auto=format&fit=crop&w=1400&q=80");
}

.dual-quote {
    background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
            url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=1400&q=80");
}

.dual-panel-inner {
    height: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.warehouse-card,
.quote-card {
    width: min(100%, 460px);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.warehouse-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(227, 30, 36, 0.1);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.warehouse-card h2,
.quote-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 0.9rem;
}

.warehouse-card p {
    color: #555;
    font-size: 0.92rem;
    margin-bottom: 1.4rem;
}

.quote-form .form-control,
.quote-form .form-select {
    border: 1px solid #ddd;
    border-radius: 6px;
    min-height: 48px;
    font-size: 0.9rem;
    padding: 0.7rem 0.9rem;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.12);
}

.form-feedback {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.form-feedback.success {
    background: #e8f8ef;
    color: #137a3a;
}

.form-feedback.error {
    background: #fdecec;
    color: #b42318;
}

/* Footer */
.site-footer {
    background: var(--footer);
    color: #ddd;
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-desc {
    font-size: 0.88rem;
    color: #aaa;
    max-width: 260px;
}

.footer-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.footer-links a {
    color: #bbb;
    font-size: 0.88rem;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.contact-list i {
    color: var(--brand);
    font-size: 1rem;
}

.contact-list a {
    color: #ddd;
}

.contact-list a:hover {
    color: #fff;
}

.footer-bottom {
    background: var(--footer-bottom);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0;
    text-align: center;
    color: #888;
    font-size: 0.82rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -120;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        background: #fff;
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 10px;
    }

    .nav-actions {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--line);
    }

    .hero {
        min-height: auto;
        background: #fff;
        display: flex;
        flex-direction: column;
    }

    .hero-media {
        position: relative;
        width: 100%;
        height: 280px;
        order: 2;
    }

    .hero-content {
        order: 1;
        padding-top: 2.5rem;
        padding-bottom: 1.5rem;
    }

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

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-gradient {
        background: linear-gradient(
                180deg,
                #ffffff 0%,
                rgba(255, 255, 255, 0.75) 18%,
                rgba(255, 255, 255, 0.2) 45%,
                rgba(255, 255, 255, 0) 70%
        );
    }

    .heading-line-left {
        margin-left: auto;
        margin-right: auto;
    }

    .section-routes .section-heading {
        text-align: center;
    }

    .routes-map {
        min-height: 260px;
        aspect-ratio: 4 / 3;
    }

    .map-basemap {
        object-position: 60% 40%;
        transform: scale(1.55);
    }

    .map-overlay text {
        font-size: 11px;
    }

    .map-overlay .hub-label {
        font-size: 15px;
    }

    .dual-panel,
    .dual-panel-inner {
        min-height: 480px;
    }
}

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

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

    .service-image {
        height: 95px;
    }

    .service-card h3 {
        font-size: 0.76rem;
        min-height: auto;
    }

    .service-card p {
        font-size: 0.68rem;
    }

    .route-path {
        font-size: 0.78rem;
    }

    .warehouse-card,
    .quote-card {
        padding: 1.5rem 1.15rem;
    }

    .world-map-svg text {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .route-lines path,
    .reveal,
    .hero-image {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

