/* ============================================================
   Carpoint Soest - Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
    /* Accentkleur afgestemd op het blauw uit het logo */
    --green:        #1663c9;
    --green-dark:   #10488f;
    --green-light:  #4a8fe0;
    --green-muted:  rgba(22,99,201,0.08);
    --dark:         #111111;
    --dark-2:       #161616;
    --dark-3:       #1e1e1e;
    --dark-4:       #2a2a2a;
    --gray-1:       #f7f7f7;
    --gray-2:       #eeeeee;
    --gray-3:       #dddddd;
    --gray-4:       #aaaaaa;
    --gray-5:       #666666;
    --text:         #1a1a1a;
    --text-muted:   #555555;
    --white:        #ffffff;
    --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);
    --radius-sm:    6px;
    --radius-md:    10px;
    --radius-lg:    16px;
    --transition:   0.22s ease;
    --header-h:     72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* voorkomt horizontaal schuiven door off-canvas menu op mobiel */
    width: 100%;
    max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--gray-2);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text);
}

.logo-sub {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gray-5);
}

.logo-light .logo-name { color: var(--white); }
.logo-light .logo-sub  { color: rgba(255,255,255,0.55); }

/* Logo afbeelding (PNG) */
.logo-img { height: 46px; width: auto; display: block; }
.logo-img-footer { height: 52px; }
@media (max-width: 600px) { .logo-img { height: 38px; } }

/* Nav */
.main-nav { margin-left: auto; }

.nav-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav-link:hover { color: var(--text); }

.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

/* Phone button */
.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--green);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.btn-phone:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.nav-overlay.visible { display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
    line-height: 1;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--green);
    color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 4px 16px rgba(22,99,201,0.35); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--gray-3);
}
.btn-outline-dark:hover { border-color: var(--text); background: var(--gray-1); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    margin-top: var(--header-h);
    overflow: hidden;
    background: var(--dark-2);
}

.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(10,10,10,0.88) 40%, rgba(10,10,10,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    max-width: 560px;
}

.hero-content .section-label { color: var(--green-light); }

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    line-height: 1.65;
}

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

/* Hero page variant (smaller - for inner pages) */
.hero-page {
    min-height: 340px;
}

.hero-page .hero-title {
    font-size: clamp(28px, 4vw, 44px);
}

/* ============================================================
   BENEFITS BAR
   ============================================================ */
.benefits-bar {
    background: var(--dark-3);
    padding: 28px 0;
}

.benefits-list {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-light);
}

.benefit-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.benefit-text span {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--dark-2); }
.section-gray { background: var(--gray-1); }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}

.section-header h2 { font-size: clamp(22px, 3vw, 32px); }

.section-title-center { text-align: center; margin-bottom: 40px; }
.section-title-center h2 { font-size: clamp(24px, 3.5vw, 36px); }
.section-title-center p { font-size: 16px; color: var(--text-muted); margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    white-space: nowrap;
    transition: gap var(--transition);
}
.link-arrow:hover { gap: 10px; }

/* ============================================================
   CAR CARDS
   ============================================================ */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(256px, 1fr));
    gap: 24px;
}

.car-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

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

.car-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.car-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.car-card:hover .car-card-img-wrap img { transform: scale(1.04); }

.car-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--green);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.car-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.car-card-sub {
    font-size: 13px;
    color: var(--gray-5);
    margin-bottom: 12px;
}

.car-card-specs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gray-5);
    margin-bottom: 14px;
}

.car-card-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.car-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--gray-2);
}

.car-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.car-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
}

.car-card:hover .car-card-arrow {
    background: var(--green);
    color: var(--white);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.why-feature {
    text-align: center;
}

.why-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--green);
}

.why-feature h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.why-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Stats bar */
.stats-bar {
    background: var(--gray-1);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    color: var(--green);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   FILTERS
   ============================================================ */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0; /* voorkomt overflow in grid op smalle schermen */
}

.filter-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-field select,
.filter-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
    transition: border-color var(--transition);
}

.filter-field select:focus,
.filter-field input:focus {
    outline: none;
    border-color: var(--green);
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition);
    white-space: nowrap;
}
.btn-filter:hover { background: var(--green-dark); }

.results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.link-reset {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--green);
    transition: opacity var(--transition);
}
.link-reset:hover { opacity: 0.75; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--gray-3);
    color: var(--text-muted);
    background: var(--white);
    transition: all var(--transition);
}
.page-btn:hover { border-color: var(--green); color: var(--green); }
.page-btn.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* ============================================================
   CAR DETAIL PAGE
   ============================================================ */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 48px 0;
}

.gallery-main {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-main:hover img { transform: scale(1.02); }

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.gallery-thumb {
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    height: fit-content;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.detail-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.btn-block { width: 100%; justify-content: center; }

.detail-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.spec-item { display: flex; flex-direction: column; gap: 2px; }
.spec-label { font-size: 11px; font-weight: 600; color: var(--gray-4); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-value { font-size: 14px; font-weight: 600; color: var(--text); }

.options-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.option-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story img {
    border-radius: var(--radius-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-story-text h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 20px; }

.about-story-text p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.value-card {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--green);
}

.value-card h3 { font-size: 16px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.team-card {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.team-info { flex: 1; }
.team-role { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; display: block; }
.team-info h3 { font-size: 26px; margin-bottom: 16px; }
.team-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.signature { font-family: Georgia, serif; font-size: 22px; font-style: italic; color: var(--text); margin-top: 8px; display: block; }
.team-contact-list { display: flex; flex-direction: column; gap: 12px; }
.team-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 10px 16px;
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
    white-space: nowrap;
}
.team-contact-item:hover { border-color: var(--green); background: var(--green-muted); }
.team-contact-item svg { color: var(--green); flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    margin: 48px 0;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 32px;
    height: fit-content;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-2);
}

.contact-info-item:last-of-type { border-bottom: none; }

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

.contact-info-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-content span,
.contact-info-content a,
.contact-info-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-hours table { width: 100%; }
.contact-hours td { font-size: 13px; color: var(--text-muted); padding: 3px 0; }
.contact-hours td:last-child { text-align: right; font-weight: 500; color: var(--text); }

.form-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-card h2 { font-size: 24px; margin-bottom: 28px; }

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-4); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(22,99,201,0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
    cursor: pointer;
    grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--green);
    cursor: pointer;
    padding: 0;
    border: none;
}

.form-checkbox span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.form-checkbox a { color: var(--green); text-decoration: underline; }

.map-section { background: var(--gray-1); }

.map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2);
}

.map-card {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
}

.map-card h3 { font-size: 18px; margin-bottom: 8px; }
.map-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
}

.quick-action {
    text-align: center;
    padding: 24px 16px;
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--green);
}

.quick-action h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.quick-action p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--dark-2);
    color: var(--white);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px 140px 200px 220px;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { }

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 16px 0 20px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--green); color: var(--white); }

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-hours {
    width: 100%;
    border-collapse: collapse;
}

.footer-hours td {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    padding: 4px 0;
    vertical-align: top;
}

.footer-hours td:last-child {
    text-align: right;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    padding-left: 16px;
}

.footer-note {
    font-size: 12px;
    color: var(--green-light);
    margin-top: 10px;
    line-height: 1.55;
}

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--green-light); }

.footer-contact-list a {
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-contact-list a:hover { color: var(--white); }

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a {
    color: rgba(255,255,255,0.35);
    transition: color var(--transition);
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.5s ease both;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

/* ============================================================
   ALERTS / NOTICES
   ============================================================ */
.alert-success {
    padding: 14px 20px;
    background: rgba(22,99,201,0.08);
    border: 1px solid rgba(22,99,201,0.25);
    border-radius: var(--radius-sm);
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .why-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; }
    .about-story { grid-template-columns: 1fr; gap: 40px; }
    .contact-layout { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 160px 1fr; }
    .team-contact-list { display: none; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .quick-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--white);
        z-index: 1001;
        padding: 80px 24px 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open { transform: translateX(0); }

    .nav-list { flex-direction: column; gap: 4px; }

    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav-link.active::after {
        display: none;
    }

    .btn-phone { display: none; }

    .hamburger { display: flex; }

    .header-inner { gap: 0; }

    .hero-content { max-width: 100%; padding: 60px 0; }

    .hero-title { font-size: 32px; }

    .benefits-list { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 20px; }

    .section { padding: 56px 0; }

    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

    .why-features { grid-template-columns: 1fr 1fr; }

    .stats-bar { padding: 24px; gap: 16px; }

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

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

    .detail-specs-grid { grid-template-columns: 1fr 1fr; }

    .options-list { grid-template-columns: 1fr; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: 1; }

    .map-card { position: static; margin-top: 16px; border-radius: var(--radius-md); }

    .map-wrap { height: 300px; border-radius: var(--radius-md) var(--radius-md) 0 0; }

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

    .team-card { grid-template-columns: 1fr; }

    .team-card img { aspect-ratio: 3/2; max-width: 280px; }
}

@media (max-width: 540px) {
    .cars-grid { grid-template-columns: 1fr; }

    .filter-grid { grid-template-columns: 1fr; }
    .filter-actions { margin-top: 4px; }
    .btn-filter { width: 100%; justify-content: center; }

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

    .stats-bar { grid-template-columns: 1fr 1fr; }

    .quick-actions { grid-template-columns: 1fr 1fr; }

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

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

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