:root {
    --navy: #172d48;
    --red: #bd3028;
    --orange: #f2a44b;
    --cream: #f7f1e7;
    --sand: #ead8c2;
    --soft: #f0e6d9;
    --text: #415066;
    --muted: #69737d;
    --line: #d9d0c4;
}

/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--navy);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    font-size: 17px;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* =========================================
   TOP BAR
========================================= */

.topbar {
    background: var(--navy);
    color: #f7d6ab;
    text-align: center;
    padding: 9px 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

/* =========================================
   HEADER
========================================= */

.header {
    border-bottom: 1px solid var(--line);
    background: rgba(247, 241, 231, 0.96);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}

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

/* =========================================
   HEMA TRANSPORTS BRAND
========================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
}

.brand-mark {
    width: 46px;
    height: 46px;
    background: var(--red);
    color: white;
    display: grid;
    place-items: center;
    font-family: Georgia, serif;
    font-size: 28px;
    font-style: italic;
    position: relative;
    flex-shrink: 0;
}

.brand-mark i {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background: var(--orange);
}

.brand-name {
    font-size: 17px;
    letter-spacing: 0.08em;
    line-height: 1;
}

.brand > span:last-child b {
    display: block;
    font-size: 25px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--navy);
}

.brand-sub {
    display: block;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.26em;
    margin-top: 5px;
}

/* =========================================
   NAVIGATION
========================================= */

.links {
    display: flex;
    gap: 38px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.links a:hover,
.links a.active {
    color: var(--red);
}

/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 21px;
    border: 0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    background: #8f251f;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--navy);
    color: white;
}

.btn-outline {
    border: 1px solid var(--line);
    background: transparent;
}

/* =========================================
   MOBILE MENU
========================================= */

.menu {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    font-size: 22px;
}

.mobile-nav {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--line);
}

.mobile-nav.open {
    display: grid;
    gap: 18px;
}

/* =========================================
   EYEBROW
========================================= */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow:before {
    content: "";
    width: 25px;
    height: 2px;
    background: currentColor;
}

/* =========================================
   DISPLAY TEXT
========================================= */

.display {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 0.94;
}

.red {
    color: var(--red);
}

/* =========================================
   HERO
========================================= */

.hero {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0 96px;
}

.hero h1 {
    font-size: clamp(38px, 4.5vw, 58px);
    line-height: 0.95;
    margin: 20px 0;
}

.lead {
    color: var(--text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    max-width: 700px;
}

.actions {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.rating {
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 18px;
    font-size: 13px;
    font-weight: 700;
}

.stars {
    color: #d8872d;
    letter-spacing: 2px;
}

/* =========================================
   IMAGE
========================================= */

.visual {
    position: relative;
    overflow: hidden;
}

.visual img,
.visual video {
    width: 100%;
    display: block;
    aspect-ratio: 1.18;
    object-fit: cover;
    transition: 0.7s;
}

.visual:hover img,
.visual:hover video {
    transform: scale(1.03);
}

.visual-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--navy);
    color: white;
    padding: 16px 24px;
}

.visual-badge small {
    color: var(--orange);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.visual-badge strong {
    display: block;
    font: 22px Georgia, serif;
    margin-top: 3px;
}

.caption {
    display: flex;
    justify-content: space-between;
    color: #77818b;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-top: 8px;
}

/* =========================================
   TRUST
========================================= */

.trust {
    border-block: 1px solid var(--line);
    background: var(--sand);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 28px 0;
}

.trust-item {
    display: flex;
    gap: 14px;
}

.icon {
    font-size: 25px;
    color: var(--red);
}

.trust-item b {
    display: block;
    font-size: 16px;
}

.trust-item span {
    font-size: 15px;
    color: var(--muted);
}

/* =========================================
   SECTIONS
========================================= */

section.block {
    padding: 80px 0;
}

h2 {
    font: 48px/1.03 Georgia, serif;
    letter-spacing: -0.04em;
    margin: 18px 0;
    color: var(--navy);
}

.two-col {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service-link {
    border-top: 1px solid #cfc4b5;
    padding-top: 20px;
    transform-origin: center;
    animation: card-bounce-loop 4.8s ease-in-out infinite;
}

.services-grid .service-link:nth-child(1) { animation-delay: 0s; }
.services-grid .service-link:nth-child(2) { animation-delay: 1.2s; }
.services-grid .service-link:nth-child(3) { animation-delay: 2.4s; }
.services-grid .service-link:nth-child(4) { animation-delay: 3.6s; }

@keyframes card-bounce-loop {
    0%, 100% { transform: scale(1) translateY(0); }
    4%       { transform: scale(1.1) translateY(-10px); }
    9%       { transform: scale(0.96) translateY(3px); }
    14%      { transform: scale(1.03) translateY(-2px); }
    20%      { transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .service-link {
        animation: none;
    }
}

.service-link h3 {
    margin: 15px 0 5px;
    font-size: 20px;
}

.service-link p,
.copy {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.75;
}

.soft-section {
    background: var(--soft);
}

/* =========================================
   FOUR STEPS
========================================= */

.four-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 55px;
}

.step {
    border-top: 1px solid #cfc4b5;
    padding: 24px 20px 0 0;
    position: relative;
}

.step:before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--red);
}

.step .num {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.step h3 {
    font: 25px Georgia, serif;
    margin: 12px 0;
}

.step .copy {
    font-size: 15px;
}

/* =========================================
   CTA
========================================= */

.cta {
    background: var(--red);
    color: white;
    padding: 55px 60px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    color: white;
    max-width: 650px;
}

.cta .eyebrow {
    color: #f7d09f;
}

.cta .btn {
    background: white;
    color: var(--navy);
}

/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    padding: 80px 0 70px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: end;
}

.page-hero h1 {
    font-size: clamp(45px, 5vw, 72px);
    line-height: 0.98;
    margin: 20px 0;
}

.wide-image img {
    width: 100%;
    aspect-ratio: 2.3;
    object-fit: cover;
    display: block;
}

/* =========================================
   BELIEFS
========================================= */

.beliefs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 80px 0;
}

.belief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.belief {
    border-top: 1px solid #cfc4b5;
    padding-top: 18px;
}

.belief p {
    font-size: 15px;
    font-weight: 500;
}

/* =========================================
   DARK SECTION
========================================= */

.dark-section {
    background: var(--navy);
    color: white;
    padding: 80px 0;
}

.dark-section h2 {
    color: white;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    border-top: 1px solid #41536a;
    padding-top: 16px;
}

.stat strong {
    font: 50px Georgia, serif;
}

.stat span {
    display: block;
    color: #b7c2cc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* =========================================
   QUOTE
========================================= */

.quote {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    padding: 80px 0;
}

.quote img {
    width: 100%;
    aspect-ratio: 1.15;
    object-fit: cover;
}

.quote-text {
    font: 32px/1.2 Georgia, serif;
}

/* =========================================
   SERVICE CARDS
========================================= */

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    border: 1px solid var(--line);
    background: var(--cream);
    padding: 12px;
    transition: 0.25s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}

.service-body {
    padding: 22px;
}

.service-body h2 {
    font-size: 32px;
    margin: 12px 0;
}

.service-body ul {
    padding: 18px 0 0;
    margin: 20px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
    list-style: none;
    color: var(--text);
    font-size: 15px;
}

.service-body li {
    line-height: 1.6;
}

.service-body li:before {
    content: "✓";
    color: var(--red);
    font-weight: 900;
    margin-right: 8px;
}

/* =========================================
   CONTACT
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 28px;
    padding: 0 0 90px;
}

.contact-info {
    background: var(--navy);
    color: white;
    padding: 40px;
}

.contact-info h2 {
    color: white;
}

.contact-info p {
    color: #d9e0e7;
    font-size: 15px;
    line-height: 1.8;
}

.form-card {
    background: var(--sand);
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

input,
textarea,
select {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #b6a78f;
    background: transparent;
    padding: 12px 0;
    color: var(--navy);
    outline: 0;
    font-size: 15px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--red);
}

textarea {
    resize: vertical;
}

.success {
    background: var(--cream);
    border: 1px solid #b6a78f;
    padding: 30px;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--navy);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 50px;
    padding: 64px 0;
}

.footer p,
.footer a {
    color: #d9e0e7;
    font-size: 15px;
}

.footer .brand-sub {
    color: #f4c58d;
}

.footer-bottom {
    border-top: 1px solid #41536a;
    padding: 18px 0;
    color: #9fabb7;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.hidden {
    display: none;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .links,
    .header > .nav > .btn {
        display: none;
    }

    .menu {
        display: block;
    }

    .nav {
        height: 76px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 26px;
    }

    .brand > span:last-child b {
        font-size: 23px;
    }

    .brand-sub {
        font-size: 8px;
        letter-spacing: 0.20em;
        margin-top: 4px;
    }

    .hero,
    .page-hero,
    .two-col,
    .beliefs,
    .quote,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero {
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: 68px;
    }

    .lead {
        font-size: 16px;
    }

    .copy,
    .service-link p {
        font-size: 15px;
    }

    .eyebrow {
        font-size: 12px;
    }

    .trust-grid,
    .four-steps,
    .stats {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .service-cards,
    .belief-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 40px 28px;
        display: block;
    }

    .cta .btn {
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin-top: 8px;
    }

    .wide-image img {
        aspect-ratio: 1.4;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    h2 {
        font-size: 40px;
    }

    .btn {
        font-size: 11px;
    }


    

}

/* =========================================
   WHATSAPP FLOAT
========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    display: block;
}

@media (max-width: 800px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =========================================
   PAGE LOADER — TRUCK ON THE ROAD
========================================= */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(180deg, #f7f1e7 0%, #f7f1e7 58%, #ead8c2 58%, #ead8c2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .6s cubic-bezier(.65,0,.35,1), opacity .5s ease;
}

.page-loader.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.loader-scene {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 130px;
    overflow: hidden;
}

.road {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    height: 4px;
    background: #b6a78f;
}

.road-line {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, var(--red) 0 26px, transparent 26px 52px);
    background-repeat: repeat-x;
    animation: road-scroll .5s linear infinite;
}

@keyframes road-scroll {
    from { background-position: 0 0; }
    to { background-position: -52px 0; }
}

.truck {
    position: absolute;
    bottom: 26px;
    left: -220px;
    width: 168px;
    height: 88px;
    animation: truck-drive 2.2s cubic-bezier(.45,0,.55,1) infinite;
}

@keyframes truck-drive {
    0%   { left: -220px; }
    45%  { left: calc(50% - 84px); }
    55%  { left: calc(50% - 84px); }
    100% { left: 110%; }
}

.truck-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.truck-svg .wheel-back,
.truck-svg .wheel-front {
    transform-box: fill-box;
    transform-origin: center;
    animation: wheel-spin .5s linear infinite;
}

.exhaust {
    position: absolute;
    bottom: 68px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: #d9d0c4;
    border-radius: 50%;
    opacity: 0;
    animation: puff 1.3s ease-out infinite;
}
.exhaust.e2 { animation-delay: .43s; }
.exhaust.e3 { animation-delay: .86s; }

@keyframes puff {
    0%   { opacity: 0; transform: translate(0,0) scale(0.4); }
    20%  { opacity: .55; }
    100% { opacity: 0; transform: translate(-24px,-26px) scale(1.6); }
}

.loader-text {
    margin-top: 28px;
    text-align: center;
}

.loader-brand {
    display: block;
    font-weight: 900;
    letter-spacing: .22em;
    font-size: 13px;
    color: var(--navy);
}

.loader-status {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
}

.loader-dots span {
    display: inline-block;
    opacity: 0;
    animation: dot-blink 1.2s infinite;
}
.loader-dots span:nth-child(2) { animation-delay: .2s; }
.loader-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes dot-blink {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 600px) {
    .loader-scene { height: 100px; }
    .truck { transform: scale(0.8); left: -180px; }
    @keyframes truck-drive {
        0%   { left: -180px; }
        45%  { left: calc(50% - 67px); }
        55%  { left: calc(50% - 67px); }
        100% { left: 110%; }
    }
}

/* =========================================
   TRUST CAROUSEL
========================================= */

.trust-carousel {
    position: relative;
    display: flex;
    align-items: center;
    padding: 28px 0;
}

.trust-viewport {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.trust-track {
    display: flex;
    width: max-content;
    animation: trust-scroll 22s linear infinite;
}

.trust-track:hover {
    animation-play-state: paused;
}

.trust-carousel .trust-item {
    flex: 0 0 auto;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
    white-space: nowrap;
    padding: 4px 48px;
}

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

@media (max-width: 600px) {
    .trust-track { animation-duration: 14s; }
    .trust-carousel .trust-item { padding: 4px 28px; }
}