:root {
    --primary: #f3bd18;
    --primary-dark: #9a6a00;
    --primary-light: #ffd24d;
    --accent: #f3bd18;
    --text-dark: #0b1731;
    --text: #374151;
    --bg: #ffffff;
    --bg-light: #f5f7fb;
    --bg-blue: #eaf0fa;
    --gray: #657083;
    --gray-light: #a5adba;
    --border: #dce2ea;
    --shadow-sm: 0 2px 8px rgba(11, 23, 49, 0.08);
    --shadow-md: 0 2px 8px rgba(11, 23, 49, 0.1);
    --shadow-lg: 0 2px 8px rgba(11, 23, 49, 0.12);
    --radius: 6px;
    --radius-lg: 10px;
    --transition: 160ms ease;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
h3 { font-size: 1.25rem; }
::selection { background: var(--primary); color: #fff; }

.container {
    margin: 0 auto;
    max-width: 1240px;
    padding: 0 32px;
}

.section { padding: 96px 0; }

.section-header {
    margin: 0 0 44px;
    max-width: 720px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-top: 16px;
}

.section-tag,
.hero-badge { display: none; }

.btn-primary,
.btn-outline,
.btn-white {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 11px 24px;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-primary { background: var(--primary); color: var(--text-dark); }
.btn-primary:hover { background: #dda800; }

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.48);
    color: #fff;
}

.btn-outline:hover { background: #fff; border-color: #fff; color: var(--text-dark); }
.btn-white { background: #fff; border-color: #fff; color: var(--text-dark); }
.btn-white:hover { background: var(--bg-light); border-color: var(--bg-light); }

nav {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    height: 82px;
    justify-content: space-between;
    padding: 0 max(28px, calc((100vw - 1240px) / 2));
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-logo { align-items: center; display: flex; flex: 0 0 auto; gap: 11px; }
.nav-logo img { height: 58px; object-fit: contain; width: 58px; }
.brand-text { color: var(--text-dark); font-size: 0.86rem; font-weight: 800; line-height: 1.1; max-width: 90px; }

.nav-links { align-items: center; display: flex; gap: 30px; }

.nav-links a {
    color: #3c4658;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 28px 0 24px;
    position: relative;
    transition: color var(--transition);
}

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

.nav-links a.active::after {
    background: var(--primary);
    bottom: 0;
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    width: 100%;
}

.nav-phone {
    border: 1px solid var(--text-dark);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 9px 14px;
    transition: background var(--transition), color var(--transition);
}

.nav-phone:hover { background: var(--text-dark); color: #fff; }

.nav-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    height: 40px;
    padding: 8px;
    width: 40px;
}

.nav-toggle span {
    background: var(--text-dark);
    display: block;
    height: 2px;
    margin: 5px 0;
    transition: opacity var(--transition), rotate var(--transition), translate var(--transition);
    width: 24px;
}

.hero {
    align-items: center;
    background: url('../images/hero-freight-truck.jpg') center 44% / cover no-repeat;
    display: flex;
    min-height: 690px;
    padding: 88px max(32px, calc((100vw - 1240px) / 2));
    position: relative;
}

.hero::before {
    background: rgba(5, 18, 45, 0.76);
    content: '';
    inset: 0;
    position: absolute;
}

.hero::after {
    background: var(--primary);
    bottom: 0;
    content: '';
    height: 6px;
    left: 0;
    position: absolute;
    width: 34%;
}

.hero-content { max-width: 820px; position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 790px; }
.hero h1 em { color: var(--primary-light); display: block; font-style: normal; }

.hero-content > p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    margin: 26px 0 34px;
    max-width: 650px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-highlights {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 28px;
    margin-top: 42px;
    padding-top: 22px;
}

.hero-highlights b { color: var(--primary-light); margin-right: 6px; }

.stats-bar {
    background: var(--text-dark);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    padding: 0 max(32px, calc((100vw - 1240px) / 2));
}

.stat {
    border-right: 1px solid #263653;
    color: #fff;
    padding: 28px 34px;
}

.stat:first-child { border-left: 1px solid #263653; }
.stat-number { color: #fff; font-size: 2.25rem; font-weight: 800; line-height: 1; }
.stat-label { color: #a5adba; font-size: 0.78rem; font-weight: 700; margin-top: 8px; }

.about-content {
    align-items: center;
    display: grid;
    gap: 72px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
}

.about-text h2 { margin-bottom: 24px; }
.about-text > p { color: var(--gray); margin-bottom: 16px; }

.about-values {
    border-top: 1px solid var(--border);
    margin-top: 30px;
}

.value-item {
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 18px;
    grid-template-columns: 30px 1fr;
    padding: 18px 0;
}

.value-icon { color: var(--primary); height: 24px; margin-top: 2px; width: 24px; }
.value-item h4 { font-size: 0.98rem; letter-spacing: -0.015em; }
.value-item p { color: var(--gray); font-size: 0.86rem; margin-top: 3px; }

.text-link {
    border-bottom: 1px solid var(--primary);
    color: var(--primary-dark);
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    margin-top: 28px;
    padding-bottom: 2px;
}

.about-visual { min-height: 520px; position: relative; }
.about-truck-photo { height: 520px; object-fit: cover; width: 100%; }
.about-visual svg, .photo-proof, .photo-status { display: none; }

.services-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    min-height: 250px;
    padding: 30px;
    position: relative;
}

.service-card.with-photo { padding-top: 248px; }

.service-photo {
    height: 218px;
    inset: 0 0 auto;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.service-photo-top { object-position: center 36%; }

.service-icon {
    color: var(--primary);
    height: 28px;
    margin-bottom: 18px;
    width: 28px;
}

.service-icon svg,
.value-icon svg,
.icon svg,
.payment-icon svg,
.benefit-icon svg {
    fill: none;
    height: 100%;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 100%;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 0.9rem; }

.steps-grid { display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); }

.step {
    border-top: 3px solid var(--text-dark);
    padding: 26px 48px 0 0;
}

.step + .step { border-left: 1px solid var(--border); padding-left: 30px; }
.step-number { color: var(--primary); font-size: 0.82rem; font-weight: 800; margin-bottom: 46px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray); font-size: 0.9rem; }

.testimonial-grid { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); }

.testimonial-card {
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    padding: 28px 34px;
}

.testimonial-card:nth-child(odd) { border-right: 1px solid var(--border); }
.stars { color: var(--primary); font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card > p { color: var(--text); font-size: 0.96rem; }
.testimonial-author { color: var(--text-dark); font-size: 0.82rem; font-weight: 800; margin-top: 18px; }

.home-cta-wrap { background: var(--bg-light); padding: 80px 32px; }

.cta {
    background: var(--primary);
    color: #fff;
    margin: 0 auto;
    max-width: 1176px;
    padding: 58px 64px;
}

.cta h2 { color: #fff; max-width: 720px; }
.cta p { color: rgba(255, 255, 255, 0.88); margin: 16px 0 28px; max-width: 680px; }
.cta-kicker { display: none; }

.page-hero {
    background: var(--text-dark) url('../images/truck-fleet.jpg') center 42% / cover no-repeat;
    color: #fff;
    min-height: 310px;
    padding: 82px max(32px, calc((100vw - 1176px) / 2));
    position: relative;
}

.page-hero::before { background: rgba(5, 18, 45, 0.82); content: ''; inset: 0; position: absolute; }
.page-hero::after { background: var(--primary); bottom: 0; content: ''; height: 5px; left: max(32px, calc((100vw - 1176px) / 2)); position: absolute; width: 90px; }
.page-hero h1, .page-hero p { max-width: 760px; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, 0.78); font-size: 1rem; margin-top: 18px; }

.form-container {
    background: #fff;
    border: 1px solid var(--border);
    margin: 0 auto;
    max-width: 850px;
    padding: 38px;
}

.role-toggle { border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 34px; }

.role-toggle button {
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 14px 16px;
}

.role-toggle button.active { border-bottom-color: var(--primary); color: var(--text-dark); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-group { margin-bottom: 20px; }

.form-group > label {
    color: var(--text-dark);
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #fff;
    border: 1px solid #cbd3df;
    border-radius: 4px;
    color: var(--text-dark);
    outline: none;
    padding: 12px 13px;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 189, 24, 0.2);
}

.helper-text { color: var(--gray); font-size: 0.75rem; margin-top: 5px; }
.required { color: var(--primary-dark); }

.checkbox-group { display: grid; gap: 8px 18px; grid-template-columns: repeat(2, 1fr); }
.checkbox-group label { align-items: center; color: var(--text); display: flex; font-size: 0.86rem; gap: 8px; }
.checkbox-group input { accent-color: var(--primary); height: 16px; width: 16px; }

.contact-grid { align-items: start; display: grid; gap: 28px; grid-template-columns: 0.75fr 1.35fr; }
.contact-info-cards { border-top: 3px solid var(--text-dark); }

.contact-info-card {
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    display: grid;
    gap: 18px;
    grid-template-columns: 28px 1fr;
    padding: 24px 0;
}

.contact-info-card .icon { color: var(--primary); height: 24px; margin-top: 1px; width: 24px; }
.contact-info-card h4 { font-size: 0.92rem; }
.contact-info-card p { color: var(--gray); font-size: 0.88rem; margin-top: 4px; overflow-wrap: anywhere; }
.contact-info-card a:hover { color: var(--primary); }

.policy-content, .rates-content { margin: 0 auto; max-width: 920px; }
.policy-content > p { color: var(--gray); margin-bottom: 24px; }
.policy-content h2 { border-top: 1px solid var(--border); font-size: 1.45rem; margin-top: 32px; padding-top: 26px; }
.policy-content h2 + p { color: var(--gray); margin-top: 12px; }
.policy-content ul { list-style: square; margin: 14px 0 24px 22px; }
.policy-content li { color: var(--gray); margin: 6px 0; padding-left: 4px; }
.policy-meta { border-bottom: 1px solid var(--border); color: var(--gray); font-size: 0.82rem; margin-bottom: 30px; padding-bottom: 18px; }

.payment-card {
    background: #fff;
    border: 1px solid var(--border);
    margin: 18px 0;
    padding: 28px;
}

.payment-card h3 { align-items: center; display: flex; gap: 12px; margin-bottom: 12px; }
.payment-icon { color: var(--primary); display: inline-block; height: 24px; width: 24px; }
.payment-card p { color: var(--gray); font-size: 0.9rem; }

.rate-highlight {
    background: var(--text-dark);
    border-left: 6px solid var(--primary);
    color: #fff;
    margin-bottom: 70px;
    padding: 46px;
}

.rate-number { color: #fff; font-size: 5rem; font-weight: 800; letter-spacing: -0.07em; line-height: 1; }
.rate-number small { color: var(--primary-light); font-size: 2.2rem; }
.rate-highlight h3 { color: #fff; margin: 12px 0; }
.rate-highlight p { color: #c4ccda; }

.benefits-grid { display: grid; gap: 0; grid-template-columns: 1fr 1fr; }
.benefit-card { border-bottom: 1px solid var(--border); padding: 26px 30px 26px 0; }
.benefit-card:nth-child(even) { border-left: 1px solid var(--border); padding-left: 30px; }
.benefit-card h4 { align-items: center; display: flex; font-size: 1rem; gap: 10px; }
.benefit-card p { color: var(--gray); font-size: 0.88rem; margin-top: 8px; }
.benefit-icon { color: var(--primary); display: inline-block; height: 20px; width: 20px; }

footer { background: #071329; color: #b7c0cf; padding: 62px max(32px, calc((100vw - 1176px) / 2)) 0; }

.footer-grid {
    display: grid;
    gap: 52px;
    grid-template-columns: 1.8fr 1fr 1fr 1.25fr;
    padding-bottom: 50px;
}

.footer-logo { align-items: center; display: inline-flex; gap: 14px; }
.footer-logo img { height: 74px; width: 74px; }
.footer-logo .brand-text { color: #fff; font-size: 1rem; max-width: 120px; }
.footer-slogan { color: #fff; font-size: 0.92rem; font-weight: 800; margin: 20px 0 8px; }
.footer-brand p { font-size: 0.8rem; max-width: 340px; }
footer h4 { color: #fff; font-size: 0.84rem; letter-spacing: 0; margin: 8px 0 16px; }
footer li { font-size: 0.8rem; margin: 8px 0; }
footer a { transition: color var(--transition); }
footer a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid #263653;
    color: #8994a7;
    font-size: 0.74rem;
    padding: 20px 0 24px;
}

.reveal { opacity: 0; transition: opacity 320ms ease; }
.reveal.visible { opacity: 1; }

@media (max-width: 1040px) {
    nav { padding: 0 24px; }
    .nav-links { gap: 18px; }
    .nav-phone { display: none; }
    .hero { padding-left: 32px; padding-right: 32px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
    .footer-grid > div:last-of-type { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
    .section { padding: 72px 0; }
    .container { padding: 0 22px; }
    nav { height: 72px; padding: 0 18px; }
    .nav-logo img { height: 50px; width: 50px; }
    .brand-text { font-size: 0.78rem; max-width: 82px; }
    .nav-toggle { display: block; }
    .nav-toggle.active span:nth-child(1) { rotate: 45deg; translate: 0 7px; }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { rotate: -45deg; translate: 0 -7px; }
    .nav-links {
        align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--border);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 10px 22px 18px;
        position: absolute;
        right: 0;
        top: 71px;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links a { border-bottom: 1px solid var(--border); padding: 13px 0; }
    .nav-links a.active::after { display: none; }
    .hero { min-height: 620px; padding: 74px 22px; }
    .hero::after { width: 45%; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 0; }
    .stat, .stat:first-child { border: 0; border-bottom: 1px solid #263653; border-right: 1px solid #263653; padding: 24px 22px; }
    .about-content { gap: 42px; grid-template-columns: 1fr; }
    .about-visual { min-height: 390px; order: -1; }
    .about-truck-photo { height: 390px; }
    .steps-grid { gap: 32px; grid-template-columns: 1fr; }
    .step, .step + .step { border-left: 0; padding: 22px 0 0; }
    .step-number { margin-bottom: 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 38px; grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-of-type { grid-column: auto; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    h1 { font-size: 2.65rem; }
    h2 { font-size: 2rem; }
    .hero { min-height: 600px; }
    .hero-content > p { font-size: 1rem; }
    .hero-btns { align-items: stretch; flex-direction: column; }
    .hero-highlights { gap: 9px; flex-direction: column; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 1.8rem; }
    .services-grid, .testimonial-grid, .benefits-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; padding: 24px; }
    .service-card.with-photo { padding-top: 242px; }
    .testimonial-card, .testimonial-card:nth-child(odd) { border-right: 0; }
    .benefit-card, .benefit-card:nth-child(even) { border-left: 0; padding: 22px 0; }
    .cta { padding: 42px 26px; }
    .home-cta-wrap { padding: 48px 0; }
    .page-hero { min-height: 260px; padding: 64px 22px; }
    .page-hero::after { left: 22px; }
    .form-container { padding: 24px 18px; }
    .form-row, .checkbox-group, .role-toggle { grid-template-columns: 1fr; }
    .role-toggle button { border-bottom: 1px solid var(--border); text-align: left; }
    .role-toggle button.active { border-bottom: 3px solid var(--primary); }
    .rate-highlight { padding: 34px 26px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:last-of-type { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
