/* ==========================================================================
   WP Car Rental — promotional site
   Single stylesheet, no preprocessor, no build step.
   Tokens mirror rentoking.com so the two sites read as one family.
   ========================================================================== */

:root {
    --orange:   #FF6E0B;
    --orange-d: #e35f05;
    --ink:      #14161a;
    --ink-2:    #3d434d;
    --mute:     #6b7280;
    --line:     #e5e7eb;
    --line-2:   #f0f2f5;
    --bg:       #ffffff;
    --bg-2:     #f7f8fa;
    --bg-3:     #101318;
    --success:  #14875a;

    --wrap:     1180px;
    --radius:   14px;
    --shadow:   0 8px 40px rgba(16, 20, 28, .06);

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--orange); }

h1, h2, h3 { line-height: 1.18; letter-spacing: -.021em; margin: 0 0 .5em; }

.display { font-weight: 750; letter-spacing: -.032em; }

em { font-style: normal; color: var(--orange); }

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------------ Layout */

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 28px;
}

.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding: 92px 0; }
.section-alt { background: var(--bg-2); }

.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: .45em; }

.section-lede {
    font-size: 19px;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 0 44px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------- Nav */

nav.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(1.6) blur(12px);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* The lockup stacks WP / CAR / RENTAL on three lines, so it needs real height
   to stay legible — anything under ~40px turns the wordmark to mush. */
.brand img { display: block; width: auto; height: 44px; }

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

.nav-links a {
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    font-weight: 550;
}

.nav-links a:hover { color: var(--ink); }

/* .nav-links a (0,1,1) outranks .btn-primary (0,1,0), so the nav CTA would
   inherit the dark link colour instead of white. Restore it, hover included. */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

.nav-links a.lang {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--mute);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 4px 9px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* ----------------------------------------------------------------- Buttons */

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 650;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: filter .15s ease, background .15s ease;
}

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { background: var(--line-2); }

.btn-lg { font-size: 16.5px; padding: 15px 30px; }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 0;
}
.cta-row.center-row { justify-content: center; }

/* -------------------------------------------------------------------- Hero */

.hero {
    padding: 96px 0 84px;
    background:
        radial-gradient(1100px 460px at 12% -10%, rgba(255, 110, 11, .10), transparent 60%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}

.hero-sm { padding: 70px 0 56px; }

/* .hero-inner also carries .wrap, so it must NOT narrow the container itself —
   that would re-centre the block and break alignment with the nav. Constrain
   the text children instead. */
.hero h1 {
    font-size: clamp(36px, 6.2vw, 62px);
    margin-bottom: .35em;
    max-width: 820px;
}

.lede {
    font-size: 19.5px;
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 620px;
    margin: 0;
}

.micro {
    font-size: 14px;
    color: var(--mute);
    margin: 18px 0 0;
}

/* ------------------------------------------------------------- Notice bar */

.notice-bar {
    background: var(--bg-3);
    color: #e9ecf1;
    font-size: 15px;
    padding: 15px 0;
}
.notice-bar strong { color: #fff; }
.notice-bar a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.notice-bar a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- Cards */

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

.card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 28px;
}

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

.card-num {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--mute);
}

.card h3 { font-size: 21px; margin: 12px 0 2px; }

.card-role {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 14px;
}

.card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

.card-accent { border-color: rgba(255, 110, 11, .38); box-shadow: var(--shadow); }

.card-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Features */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 26px;
}

.feature h3 { font-size: 17px; margin: 0 0 5px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Pro badge. Used inline in feature headings and in the note under the grid,
   so keep it vertically aligned rather than block-level. */
.tag-pro {
    display: inline-block;
    vertical-align: 2px;
    margin-left: 5px;
    padding: 1px 7px;
    border: 1px solid var(--orange);
    border-radius: 999px;
    background: rgba(255, 110, 11, .08);
    color: var(--orange);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.5;
}

.pro-note {
    margin: 40px 0 0;
    font-size: 15.5px;
    color: var(--mute);
}
.pro-note .tag-pro { margin-left: 0; }

/* --------------------------------------------------------------------- FAQ */

details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

summary {
    cursor: pointer;
    font-weight: 650;
    font-size: 17px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+";
    color: var(--orange);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}
details[open] summary::after { content: "\2013"; }

details p { color: var(--ink-2); margin: 12px 0 2px; font-size: 16px; }

/* ------------------------------------------------------------------- Steps */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 34px 0 0; }

.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 26px 52px;
    border-left: 2px solid var(--line);
    margin-left: 14px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps li::before {
    content: counter(step);
    position: absolute;
    left: -15px;
    top: -2px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.steps h3 { font-size: 18px; margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }

.callout {
    margin-top: 34px;
    background: var(--bg-2);
    border-left: 3px solid var(--orange);
    border-radius: 0 10px 10px 0;
    padding: 18px 22px;
    font-size: 16px;
    color: var(--ink-2);
}

/* ---------------------------------------------------------------- CTA band */

.cta-band {
    background: var(--bg-3);
    color: #fff;
    text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.cta-band .lede { color: #b9c0cc; margin: 0 auto 30px; }

/* -------------------------------------------------------------- Status page */

.status-page { padding: 110px 0; }
.status-page .cta-row { justify-content: center; }

/* ------------------------------------------------------------------- Legal */

.legal h2 { font-size: 22px; margin-top: 38px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16.5px; }
.legal ul { padding-left: 20px; }
.legal .updated { font-size: 14px; color: var(--mute); }

/* ------------------------------------------------------------------ Footer */

.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 60px 0 30px;
}

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

.footer-grid h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--mute);
    margin-bottom: 14px;
}

.footer-grid a {
    display: block;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    margin-bottom: 9px;
}
.footer-grid a:hover { color: var(--orange); }
/* .footer-grid a sets display:block and outranks .brand — restore inline-flex. */
.footer-grid .brand { display: inline-flex; margin-bottom: 14px; }
.footer-grid .brand img { height: 52px; }
.footer-grid .brand:hover { color: var(--ink); }

.foot-note { color: var(--mute); font-size: 15px; max-width: 340px; margin: 0; }

.foot-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.foot-bottom p { margin: 0; font-size: 14px; color: var(--mute); }
.foot-bottom a { color: var(--mute); }
.disclaimer { max-width: 560px; text-align: right; }

/* ------------------------------------------------------------- Breakpoints */

@media (max-width: 960px) {
    .cards { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .disclaimer { text-align: left; }
}

@media (max-width: 780px) {
    .section { padding: 68px 0; }
    .hero { padding: 66px 0 58px; }

    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 10px 28px 20px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 11px 0; font-size: 16px; }
    .nav-links a.lang { align-self: flex-start; margin: 6px 0; }
    .nav-links .btn { text-align: center; margin-top: 8px; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .wrap { padding: 0 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .btn-lg { width: 100%; text-align: center; }
    .lede { font-size: 18px; }
}
