/* ===== Rove – Car Rental (independent design) ===== */
:root {
    --ink: #1c1917;
    --forest: #166534;
    --forest-dark: #14532d;
    --terracotta: #c2410c;
    --sand: #faf7f2;
    --cream: #f5f0e8;
    --white: #ffffff;
    --muted: #78716c;
    --line: #e7e5e4;
    --radius: 20px;
    --shadow: 0 12px 40px rgba(28, 25, 23, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--ink);
    background: var(--sand);
    line-height: 1.65;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Top bar */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: 0.25s;
}
.topbar.stuck { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,0.04); }

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.4px;
}
.brand em {
    font-style: normal;
    color: var(--forest);
}

.menu {
    display: flex;
    gap: 28px;
}
.menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}
.menu a:hover, .menu a.on { color: var(--ink); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}
.btn-green {
    background: var(--forest);
    color: white;
}
.btn-green:hover {
    background: var(--forest-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(22, 101, 52, 0.3);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger i {
    width: 22px;
    height: 2px;
    background: var(--ink);
    display: block;
}

/* Hero – light & lifestyle */
.splash {
    padding: 130px 0 70px;
    background: linear-gradient(165deg, var(--cream) 0%, var(--sand) 55%, #e8f0e9 100%);
}
.splash-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.splash h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 18px;
}
.splash h1 span { color: var(--forest); }
.splash .lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 440px;
    margin-bottom: 28px;
}
.splash-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.splash-photo {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}
.splash-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.rate-chip {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: white;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-weight: 600;
}
.rate-chip small {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
}

/* Sections */
.block { padding: 80px 0; }
.block-title {
    text-align: center;
    margin-bottom: 48px;
}
.block-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.block-title p {
    color: var(--muted);
    font-size: 1.05rem;
}

/* Vehicle cards – different style */
.vehicle-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.vehicle {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: 0.3s;
}
.vehicle:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.vehicle-pic {
    height: 180px;
    overflow: hidden;
    background: var(--cream);
    position: relative;
}
.vehicle-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s;
}
.vehicle:hover .vehicle-pic img { transform: scale(1.05); }
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: white;
}
.badge.eco { background: #15803d; }
.badge.mid { background: #b45309; }
.badge.suv { background: #1d4ed8; }
.badge.lux { background: #7c3aed; }

.vehicle-info { padding: 18px 20px 22px; }
.vehicle-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.vehicle-info .meta {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 12px;
}
.specs {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 16px;
}
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.price-row .amt {
    font-size: 1.35rem;
    font-weight: 700;
}
.price-row .amt small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.pillar {
    background: white;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--line);
    text-align: center;
}
.pillar .ico {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: #dcfce7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.pillar h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pillar p { font-size: 0.92rem; color: var(--muted); }

/* Banner */
.banner {
    background: var(--forest);
    color: white;
    text-align: center;
    padding: 64px 0;
}
.banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 10px;
}
.banner p { opacity: 0.85; margin-bottom: 22px; }
.banner .btn-green {
    background: white;
    color: var(--forest);
}
.banner .btn-green:hover {
    background: var(--cream);
    box-shadow: none;
}

/* Footer */
.foot {
    background: var(--ink);
    color: #a8a29e;
    padding-top: 52px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
}
.foot .brand { color: white; margin-bottom: 12px; display: inline-block; }
.foot p { font-size: 0.92rem; max-width: 260px; line-height: 1.6; }
.foot h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.foot a {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.foot a:hover { color: #86efac; }
.foot-base {
    border-top: 1px solid #292524;
    padding: 16px 0;
    text-align: center;
    font-size: 0.82rem;
}

/* Inner pages */
.inner-hero {
    background: var(--cream);
    padding: 120px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.inner-hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 10px;
}
.inner-hero p { color: var(--muted); font-size: 1.08rem; }

/* Responsive */
@media (max-width: 900px) {
    .splash-grid { grid-template-columns: 1fr; text-align: center; }
    .splash .lead { margin-left: auto; margin-right: auto; }
    .splash-actions { justify-content: center; }
    .splash-photo img { height: 260px; }
    .pillars { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .menu {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: var(--sand);
        flex-direction: column;
        padding: 20px;
        gap: 14px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.08);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }
    .menu.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .burger { display: flex; }
    .topbar-inner .btn { display: none; }
}
