
/* ─── Generated subpages (build.js) ────────────────────────────────────
   Appended to the homepage's own CSS, so tokens and chrome match exactly.
   Only rules for elements that exist solely on generated pages live here. */
body.subpage { background: var(--cream); color: var(--black); }
body.subpage .nav-links a { color: var(--cream); }

.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 24px 8% 0; font-size: 13px; color: var(--gray);
}
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .crumb-sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--green); font-weight: 600; }

/* Section padding and heading scale come from base.css (the bare section
   element rule, .section-title, .section-desc) so both halves share a rhythm.
   Only the colour needs restating: base.css sizes .section-title but the
   generated pages sit on cream rather than the homepage's dark bands. */
body.subpage .section-title { color: var(--green); }
body.subpage .hub-head { padding-bottom: 0; }
/* Must outrank .section-title, which base.css caps at 64px. */
body.subpage h1 {
    font-family: var(--font-display); font-weight: 900;
    font-size: clamp(40px, 5.4vw, 68px); line-height: 1.12;
    letter-spacing: -0.02em; color: var(--green); margin-bottom: 16px;
}
.section .note { margin-top: 14px; font-size: 14px; color: var(--gray); max-width: 68ch; }

.vehicle-hero {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
    align-items: center; padding: 32px 8% 8px;
}
.vehicle-media img {
    width: 100%; height: auto; border-radius: 14px; display: block;
    box-shadow: 0 20px 40px rgba(17, 11, 17, 0.14);
}
.vehicle-intro .section-desc { color: #43514b; margin-bottom: 22px; }

.spec-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.spec-list li {
    font-family: var(--font-label); font-size: 13px; letter-spacing: 1px;
    padding: 7px 13px; border-radius: var(--radius-pill);
    background: rgba(29, 54, 45, 0.07); color: var(--green);
}

.price-from { font-size: 15px; color: var(--gray); margin-bottom: 22px; }
.price-eur { font-size: 14px; color: var(--gray); margin-left: 8px; }
.price-from strong {
    font-family: var(--font-display); font-size: 30px;
    color: var(--green); margin: 0 2px 0 6px;
}
.per-day { font-size: 14px; color: var(--gray); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row .cta-secondary { border-color: var(--green); color: var(--green); }

.table-scroll { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; min-width: 340px; background: #fff; border-radius: 12px; overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(29, 54, 45, 0.1); }
.price-table th {
    font-family: var(--font-label); letter-spacing: 1.5px; font-size: 13px;
    background: var(--green); color: var(--cream);
}
.price-table tr:last-child td { border-bottom: none; }
.price-cell { font-weight: 700; color: var(--green); white-space: nowrap; }

.conditions { background: var(--green); color: var(--cream); }
body.subpage .conditions > h2, body.subpage .cta-band > h2 { color: var(--cream); }
.cond-grid {
    list-style: none; display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.cond-item {
    background: var(--green-light); border-radius: 12px; padding: 20px;
    border: 1px solid rgba(220, 190, 127, 0.2);
}
.cond-item strong { display: block; color: var(--gold); margin-bottom: 7px; font-size: 15px; }
.cond-item span { font-size: 14px; color: rgba(242, 240, 234, 0.82); line-height: 1.55; }

.alt-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.alt-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 14px;
    overflow: hidden; text-decoration: none; color: inherit;
    box-shadow: 0 8px 24px rgba(17, 11, 17, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.alt-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(17, 11, 17, 0.12); }
.alt-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.alt-name { font-weight: 700; color: var(--green); padding: 16px 18px 0; }
.alt-meta { font-size: 12.5px; color: var(--gray); padding: 6px 18px 0; }
.alt-price { font-size: 14px; color: var(--gray); padding: 8px 18px 18px; }

.text-link { display: inline-block; margin-top: 22px; color: var(--green); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--gold-dark); }

.step-list { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 8px 24px rgba(17, 11, 17, 0.06); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--gold); color: var(--black);
    font-family: var(--font-label); font-size: 15px; margin-bottom: 12px;
}
.step strong { display: block; color: var(--green); margin-bottom: 7px; }
.step span { font-size: 14px; color: #55625c; line-height: 1.55; }

.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-item { background: #fff; border-radius: 12px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(17, 11, 17, 0.05); }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--green); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--gold-dark); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; font-size: 14.5px; color: #55625c; line-height: 1.6; }

.cta-band { background: var(--black); color: var(--cream); text-align: center; }
.cta-band h2 { color: var(--cream); font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 12px; }
.cta-band p { max-width: 60ch; margin: 0 auto 26px; color: rgba(242, 240, 234, 0.75); }
.cta-band .cta-row { justify-content: center; }
.cta-band .cta-secondary { border-color: var(--gold); color: var(--gold); }

.area-list { list-style: none; display: grid; gap: 10px; max-width: 640px; }
.area-list li {
    position: relative; padding-left: 22px; color: #55625c; font-size: 15px;
}
.area-list li::before {
    content: ""; position: absolute; left: 0; top: 0.6em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* Lead form. Static site — submitting composes a WhatsApp message. */
.lead-form {
    display: grid; gap: 16px; max-width: 720px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: end;
}
.lead-form label { display: flex; flex-direction: column; gap: 6px; }
.lead-form label span {
    font-family: var(--font-label); font-size: 12px; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--green);
}
.lead-form input, .lead-form select {
    font: inherit; font-size: 15px; padding: 12px 14px;
    border: 1px solid rgba(29, 54, 45, 0.22); border-radius: 10px;
    background: #fff; color: var(--black); width: 100%;
}
.lead-form input:focus, .lead-form select:focus {
    outline: 2px solid var(--gold-dark); outline-offset: 1px; border-color: transparent;
}
.lead-form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; }

/* ─── Legal pages ───────────────────────────────────────────────────
   Content rules only. Tokens, reset, nav and footer now come from
   base.css, which these three pages used to duplicate inline. */
body.subpage .legal { padding: 56px 8% 88px; max-width: 920px; margin: 0 auto; }
.legal-eyebrow {
    font-family: var(--font-label); font-size: 13px; letter-spacing: 3px;
    color: var(--gold-dark); text-transform: uppercase; display: block; margin-bottom: 12px;
}
body.subpage .legal h1 {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15;
    letter-spacing: -0.5px; margin-bottom: 16px;
}
.legal-updated { color: rgba(17, 11, 17, 0.55); font-size: 13px; font-style: italic; margin-bottom: 40px; }
.legal .intro {
    font-size: 17px; line-height: 1.75; color: rgba(17, 11, 17, 0.78);
    margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(29, 54, 45, 0.12);
}
.legal section { margin-bottom: 36px; padding: 0; }
.legal h2 { font-size: 22px; font-weight: 700; color: var(--green); margin-bottom: 14px; line-height: 1.3; }
.legal h3 { font-size: 17px; font-weight: 600; color: var(--green-light); margin-top: 18px; margin-bottom: 8px; }
.legal p { color: rgba(17, 11, 17, 0.78); margin-bottom: 14px; font-size: 15px; line-height: 1.75; }
.legal ul { list-style: none; padding-left: 0; margin-bottom: 14px; }
.legal ul li {
    position: relative; padding-left: 24px; margin-bottom: 10px;
    color: rgba(17, 11, 17, 0.78); font-size: 15px; line-height: 1.65;
}
.legal ul li::before {
    content: ""; position: absolute; left: 0; top: 0.65em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.legal ul li strong { color: var(--green); font-weight: 700; margin-right: 4px; }
.legal a.inline {
    color: var(--green); font-weight: 600; border-bottom: 1px solid rgba(29, 54, 45, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.legal a.inline:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.legal strong { color: var(--green); font-weight: 700; }

@media (max-width: 900px) {
    .vehicle-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; }
}
@media (max-width: 768px) {
    .breadcrumb { padding: 18px 6% 0; }
    .vehicle-hero { padding: 20px 6% 0; }
    body.subpage .legal { padding: 40px 6% 64px; }
    .legal h2 { font-size: 19px; }
}
