/* ==========================================================
   VinTrail – Main Stylesheet
   Theme: Navy Blue + Orange
   Change the colours below to re-theme the whole site.
   ========================================================== */

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('../fonts/SourceSans3-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

:root {
    /* Brand colours */
    --navy-900: #0b1f3a;
    --navy-800: #0f2748;
    --navy-700: #1e3a6e;
    --navy-100: #e8eef8;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-100: #ffedd5;

    /* Neutrals */
    --white: #ffffff;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #5b6678;
    --border: #dfe5ee;

    /* Typography */
    --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Roboto, Arial, sans-serif;

    --fs-sm: 0.9rem;
    --fs-base: 1.05rem;
    --fs-md: 1.2rem;
    --fs-lg: clamp(1.35rem, 1rem + 1vw, 1.6rem);
    --fs-xl: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
    --fs-xxl: clamp(2.2rem, 1.4rem + 3vw, 3.8rem);

    --radius: 16px;
    --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.18);
    --container: 1200px;
    --nav-h: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-head);
    font-weight: 500;
    line-height: 1.2;
    color: var(--navy-900);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.section--alt {
    background: var(--white);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: var(--fs-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange-600);
    background: var(--orange-100);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: var(--fs-xxl);
}

.section-head p {
    color: var(--muted);
    margin-top: 12px;
    font-size: var(--fs-md);
}

.icon {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    letter-spacing: .5px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn-primary {
    background: var(--orange-500);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(249, 115, 22, .35);
}

.btn-primary:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.btn-outline:hover {
    background: var(--navy-900);
    color: var(--white);
}

/* ---------- Loader ---------- */
#loader {
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity .4s, visibility .4s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, .2);
    border-top-color: var(--orange-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 44px;
    width: auto;
}

.logo span {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--navy-900);
}

.logo span b {
    color: var(--orange-500);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: var(--fs-md);
    color: var(--muted);
    transition: color .2s, background .2s;
}

.nav-menu a:hover {
    color: var(--navy-900);
    background: var(--navy-100);
}

.nav-menu a.active {
    color: var(--orange-600);
}

.nav-menu .nav-cta {
    background: var(--navy-900);
    color: var(--white);
    margin-left: 8px;
}

.nav-menu .nav-cta:hover {
    background: var(--orange-500);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--navy-900);
    cursor: pointer;
    padding: 6px;
}

.nav-toggle .icon {
    width: 30px;
    height: 30px;
}

.nav-toggle .icon-close {
    display: none;
}

.navbar.open .nav-toggle .icon-open {
    display: none;
}

.navbar.open .nav-toggle .icon-close {
    display: block;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 80px 0 160px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center / cover no-repeat;
    animation: zoom 18s ease-in-out infinite;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 31, 58, .95) 0%, rgba(11, 31, 58, .8) 45%, rgba(11, 31, 58, .35) 100%);
    z-index: -1;
}

@keyframes zoom {
    50% {
        transform: scale(1.08);
    }
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 1.5rem + 3.5vw, 4.4rem);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--orange-500);
}

.hero p {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, .85);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, .7);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--navy-900);
}

/* Page banner (inner pages) */
.page-banner {
    background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.page-banner h1 {
    color: var(--white);
    font-size: var(--fs-xxl);
}

.page-banner p {
    color: rgba(255, 255, 255, .8);
    margin-top: 10px;
    font-size: var(--fs-md);
}

.breadcrumb {
    margin-top: 14px;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .7);
}

.breadcrumb a {
    color: var(--orange-500);
}

/* ---------- VIN form card ---------- */
.vin-wrap {
    position: relative;
    margin-top: -110px;
    z-index: 5;
}

.vin-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.vin-card-side {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    color: var(--white);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.vin-card-side h3 {
    color: var(--white);
    font-size: var(--fs-lg);
}

.vin-card-side ul {
    list-style: none;
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, .85);
}

.vin-card-side li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vin-card-side li .icon {
    color: var(--orange-500);
}

.vin-card-side .mail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: var(--fs-sm);
    word-break: break-all;
}

.vin-card-form {
    padding: 40px;
}

.vin-card-form .form-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.vin-card-form h3 {
    font-size: var(--fs-lg);
}

.pay-badges {
    display: flex;
    gap: 6px;
}

.pay-badges span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--muted);
    background: var(--bg);
}

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

.vin-form .full {
    grid-column: 1 / -1;
}

/* ---------- Form fields (shared) ---------- */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: var(--fs-base);
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .15);
}

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

/* ---------- Order / form extras ---------- */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-msg {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: var(--fs-base);
}

.form-msg.error {
    background: #fdecec;
    color: #9b1c1c;
    border: 1px solid #f5c2c2;
}

.form-msg.info {
    background: var(--navy-100);
    color: var(--navy-900);
    border: 1px solid #c9d6ec;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

.agree {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-base);
    color: var(--muted);
    cursor: pointer;
}

.agree input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange-500);
}

.agree a,
.prose a,
.result-card a:not(.btn) {
    color: var(--orange-600);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.secure-note {
    margin-top: 10px;
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--muted);
}

.price-tag {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.price-tag strong {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 3.4rem;
    line-height: 1.1;
    color: var(--orange-500);
}

.price-tag small {
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8rem;
}

/* ---------- Legal pages / result pages ---------- */
.prose {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 44px;
}

.prose h2 {
    font-size: var(--fs-lg);
    margin: 28px 0 8px;
}

.prose h2:first-of-type {
    margin-top: 0;
}

.prose p {
    color: var(--muted);
}

.result-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    text-align: center;
}

.result-card h1 {
    font-size: var(--fs-xl);
    margin-bottom: 12px;
}

.result-card p {
    color: var(--muted);
    margin-bottom: 20px;
}

.result-card .small {
    font-size: var(--fs-sm);
}

.result-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 2.2rem;
}

.result-icon .icon {
    width: 38px;
    height: 38px;
    stroke-width: 3;
}

.result-icon.ok {
    background: #16a34a;
}

.result-icon.warn {
    background: var(--orange-500);
}

.order-summary {
    display: grid;
    gap: 10px;
    text-align: left;
    background: var(--bg);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 20px;
}

.order-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.order-summary dt {
    color: var(--muted);
}

.order-summary dd {
    font-weight: 700;
    color: var(--navy-900);
    word-break: break-all;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-pics {
    position: relative;
    min-height: 440px;
}

.about-pics img {
    position: absolute;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-pics .p1 {
    width: 62%;
    height: 100%;
    top: 0;
    left: 0;
}

.about-pics .p2 {
    width: 34%;
    height: 44%;
    top: 0;
    right: 0;
}

.about-pics .p3 {
    width: 40%;
    height: 46%;
    bottom: -20px;
    right: 8%;
    border: 6px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: var(--fs-xl);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 14px;
}

.about-text .btn {
    margin-top: 10px;
}

/* ---------- Feature cards ---------- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--navy-100);
    color: var(--navy-900);
    margin-bottom: 18px;
    transition: background .25s, color .25s;
}

.feature-card:hover .feature-icon {
    background: var(--orange-500);
    color: var(--white);
}

.feature-icon .icon {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
}

/* ---------- Marquee (flags / vehicles) ---------- */
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 60s linear infinite;
}

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

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.flag {
    width: 180px;
    flex-shrink: 0;
    text-align: center;
}

.flag img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: var(--navy-100);
}

.flag span {
    display: block;
    margin-top: 8px;
    font-size: var(--fs-sm);
    color: var(--muted);
}

/* ---------- Stats ---------- */
.stats {
    position: relative;
    background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: var(--white);
    overflow: hidden;
}

.stats::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 420px;
    height: 300px;
    background: url('../images/logo.svg') center / contain no-repeat;
    opacity: .06;
    pointer-events: none;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat h3 {
    font-size: clamp(2.8rem, 2rem + 3vw, 4.5rem);
    color: var(--orange-500);
}

.stat p {
    color: rgba(255, 255, 255, .8);
}

.stats-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.stat h4 {
    color: var(--white);
    font-size: var(--fs-lg);
    margin-bottom: 6px;
}

/* ---------- Vehicle types ---------- */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.vehicle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}

.vehicle:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vehicle img {
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
}

.vehicle h4 {
    font-size: var(--fs-md);
}

/* ---------- Blog ---------- */
.blog-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card .pic {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.blog-card:hover .pic img {
    transform: scale(1.06);
}

.blog-card .tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: var(--orange-500);
    color: var(--white);
    font-size: .8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}

.blog-card .content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-card h3 {
    font-size: var(--fs-md);
    letter-spacing: .3px;
}

.blog-card p {
    color: var(--muted);
    flex: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange-600);
    font-weight: 600;
}

.link-arrow:hover {
    gap: 10px;
}

/* ---------- Reviews ---------- */
.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: var(--orange-500);
    margin-top: 10px;
}

.stars .icon {
    fill: currentColor;
    stroke: none;
    width: 24px;
    height: 24px;
}

.reviews {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--orange-500) transparent;
}

.review {
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 300px;
}

.review .quote {
    color: var(--orange-500);
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: .6;
}

.review p {
    color: var(--muted);
    flex: 1;
}

.review .who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy-900);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1.1rem;
}

.review h4 {
    font-size: var(--fs-md);
}

/* ---------- How to order ---------- */
.steps {
    display: grid;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.intro-box {
    background: var(--navy-100);
    border-left: 5px solid var(--orange-500);
    border-radius: var(--radius);
    padding: 28px;
}

.intro-box h2 {
    font-size: var(--fs-lg);
    margin-bottom: 10px;
}

.step {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.step-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange-500);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1.8rem;
}

.step h3 {
    font-size: var(--fs-lg);
    margin-bottom: 8px;
}

.step p,
.step li {
    color: var(--muted);
    margin-bottom: 6px;
}

.step ol {
    padding-left: 22px;
    margin: 6px 0 10px;
}

.step .note {
    margin-top: 10px;
    padding: 12px 16px;
    background: var(--orange-100);
    border-radius: 10px;
    color: var(--navy-900);
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.faq details[open] {
    box-shadow: var(--shadow);
    border-color: var(--orange-500);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 60px 20px 24px;
    font-family: var(--font-head);
    font-size: var(--fs-md);
    color: var(--navy-900);
    position: relative;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy-100);
    color: var(--navy-900);
    font-size: 1.3rem;
    transition: transform .2s, background .2s;
}

.faq details[open] summary::after {
    content: "\2212";
    background: var(--orange-500);
    color: var(--white);
}

.faq details p {
    padding: 0 24px 22px;
    color: var(--muted);
}

.faq details p + p {
    margin-top: -10px;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.contact-form {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
}

.contact-form h3,
.contact-info h3 {
    font-size: var(--fs-lg);
    margin-bottom: 20px;
}

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

.contact-form .full {
    grid-column: 1 / -1;
}

.contact-info {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    color: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 0;
}

.contact-info > p {
    color: rgba(255, 255, 255, .8);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    word-break: break-all;
}

.info-item .ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(249, 115, 22, .15);
    color: var(--orange-500);
    flex-shrink: 0;
}

.info-item small {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--orange-500);
    color: var(--white);
    padding: 50px 0;
}

.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-band h2 {
    color: var(--white);
    font-size: var(--fs-xl);
}

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

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

/* ---------- Footer ---------- */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .75);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer .logo span {
    color: var(--white);
}

.footer p {
    margin-top: 14px;
    max-width: 380px;
}

.footer h4 {
    color: var(--white);
    font-size: var(--fs-md);
    margin-bottom: 14px;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer ul a:hover {
    color: var(--orange-500);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
    text-align: center;
    font-size: var(--fs-sm);
}

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--orange-500);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 90;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        padding: 10px 20px 20px;
        display: none;
    }

    .navbar.open .nav-menu {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 10px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }

    .nav-menu .nav-cta {
        margin: 14px 0 0;
        border-radius: 10px;
        text-align: center;
        border: 0;
    }

    .vin-card,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-pics {
        min-height: 360px;
        margin-bottom: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 60px 0 140px;
    }

    .vin-card-form,
    .vin-card-side,
    .contact-form,
    .contact-info {
        padding: 26px 20px;
    }

    .vin-form,
    .contact-form form {
        grid-template-columns: 1fr;
    }

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid,
    .stats-grid.three {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .prose,
    .result-card {
        padding: 30px 20px;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .step-num {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .logo img {
        height: 36px;
    }

    .about-pics {
        min-height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .flag,
    .flag img {
        width: 140px;
    }

    .flag img {
        height: 94px;
    }
}
