/* ═══════════════════════════════════════════════════════════════════
   Mille Miglia: a Revus-style car rental theme in the brand colours
   Self-hosted fonts and icons only (the CSP allows no third parties).

   Contents
   1. Fonts            7. Hero and booking search     13. Steps
   2. Tokens and base  8. Welcome                     14. About sections
   3. Buttons          9. Vehicle cards and carousel  15. Contact
   4. Header          10. Rental services             16. Error pages
   5. Footer          11. Offer band and figures      17. Motion
   6. Sections        12. Reviews and CTA strip       18. Responsive
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. Fonts ───────────────────────────────────────────────────────
   Montserrat and Lato have no Greek letters, so each family pairs a Latin
   font with a matching Greek one through unicode-range (Manrope for
   headings, Noto Sans for text, Noto Serif for quotes). OFL licences are
   in assets/fonts/licenses/. */

@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/manrope-greek-500-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-greek-600-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
/* Manrope runs lighter than Montserrat, so Greek bold uses its ExtraBold cut */
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-greek-800-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "MM Heading"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-greek-800-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

@font-face { font-family: "MM Body"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Body"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/lato-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Body"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Body"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-greek-400-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "MM Body"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-greek-700-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

@font-face { font-family: "MM Quote"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/merriweather-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Quote"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/noto-serif-greek-400-italic.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* Brand type, after the logo: Geom (a geometric heavy sans, like the logo's
   Futura-style name) and GFS Neohellenic (a Gill-like humanist sans for the
   letter-spaced lines). Both cover Greek. */
@font-face { font-family: "MM Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/geom-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/geom-greek-900-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "MM Brand"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/gfs-neohellenic-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "MM Brand"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/gfs-neohellenic-greek-700-normal.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }

/* Icon fonts from the Revus theme: Font Awesome 4.7 and the theme's own set */
@font-face { font-family: "FontAwesome"; font-style: normal; font-weight: normal; font-display: block; src: url("../fonts/icons/fontawesome-webfont.woff2") format("woff2"); }
@font-face { font-family: "fl-custom-icon-font"; font-style: normal; font-weight: normal; font-display: block; src: url("../fonts/icons/fl-custom-icon-font.woff2") format("woff2"); }

.fa,
[class^="fl-custom-icon-"],
[class*=" fl-custom-icon-"] {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fa { font-family: "FontAwesome"; }
[class^="fl-custom-icon-"]::before,
[class*=" fl-custom-icon-"]::before { font-family: "fl-custom-icon-font"; }

.fa-angle-left::before { content: "\f104"; }
.fa-angle-right::before { content: "\f105"; }
.fa-calendar-check-o::before { content: "\f274"; }
.fa-camera::before { content: "\f030"; }
.fa-check::before { content: "\f00c"; }
.fa-check-circle-o::before { content: "\f05d"; }
.fa-child::before { content: "\f1ae"; }
.fa-clock-o::before { content: "\f017"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-envelope-o::before { content: "\f003"; }
.fa-external-link::before { content: "\f08e"; }
.fa-facebook::before { content: "\f09a"; }
.fa-instagram::before { content: "\f16d"; }
.fa-link::before { content: "\f0c1"; }
.fa-location-arrow::before { content: "\f124"; }
.fa-long-arrow-right::before { content: "\f178"; }
.fa-map-marker::before { content: "\f041"; }
.fa-map-o::before { content: "\f278"; }
.fa-mobile::before { content: "\f10b"; }
.fa-phone::before { content: "\f095"; }
.fa-quote-left::before { content: "\f10d"; }
.fa-share::before { content: "\f064"; }
.fa-shield::before { content: "\f132"; }
.fa-ship::before { content: "\f21a"; }
.fa-sun-o::before { content: "\f185"; }
.fa-tachometer::before { content: "\f0e4"; }
.fa-tags::before { content: "\f02c"; }
.fa-thumbs-o-up::before { content: "\f087"; }
.fa-tripadvisor::before { content: "\f262"; }
.fa-user-o::before { content: "\f2c0"; }

.fl-custom-icon-015-car-1::before { content: "\e803"; }
.fl-custom-icon-019-fuel-station-pump::before { content: "\e864"; }
.fl-custom-icon-021-gearshift::before { content: "\e866"; }
.fl-custom-icon-023-car-2::before { content: "\e868"; }
.fl-custom-icon-025-calendar::before { content: "\e86a"; }
.fl-custom-icon-026-phone-call::before { content: "\e86b"; }
.fl-custom-icon-029-wrench::before { content: "\e86e"; }

/* ─── 2. Tokens and base ─────────────────────────────────────────── */

:root {
    /* Brand colours from the logo */
    --color-brand-red: #be452d;
    --color-brand-green: #457544;
    --color-brand-tan: #a29176;
    --color-brand-sand: #cbbca1;

    --color-primary: var(--color-brand-red);
    --color-primary-dark: #9c3622;
    --color-navy: #253241;
    --color-navy-soft: #3a4756;
    --color-ink: #222222;
    --color-heading: #253241;
    --color-text: #666666;
    --color-text-dark: #333333;
    --color-light: #f1f5fa;
    --color-border: #e3e8ef;
    --color-footer: #1c2128;
    --color-white: #ffffff;

    --font-heading: "MM Heading", "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "MM Body", "Lato", "Segoe UI", Roboto, Arial, sans-serif;
    --font-quote: "MM Quote", "Merriweather", Georgia, serif;
    --font-display: "MM Display", "Futura", "Century Gothic", sans-serif;
    --font-brand: "MM Brand", "Gill Sans", "Gill Sans MT", sans-serif;

    --container: 1170px;
    --gutter: 15px;
    --topbar-height: 45px;
    --mainbar-height: 84px;
    --section-space: 100px;
    --shadow-card: 0 12px 35px rgba(37, 50, 65, 0.08);
    --shadow-lift: 0 20px 45px rgba(37, 50, 65, 0.16);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.73;
    color: var(--color-text-dark);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-heading);
}

p {
    color: var(--color-text);
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

/* Keyboard focus: visible on every interactive element */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.topbar :focus-visible,
.section--dark :focus-visible,
.offer-band :focus-visible,
.cta-band :focus-visible,
.testimonials :focus-visible,
.page-banner :focus-visible,
.map-card :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--color-white);
}

/* Skip link: hidden until focused with the keyboard */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: 0.6rem 1.1rem;
    color: var(--color-white);
    background: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* <main> takes focus from the skip link; it is not interactive itself */
main.main:focus {
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.text-center {
    text-align: center;
}

[hidden] {
    display: none !important;
}

/* ─── 3. Buttons ─────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-white);
    background: var(--color-primary);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: var(--color-primary-dark);
}

.btn--dark {
    background: var(--color-navy);
}

.btn--dark:hover {
    background: var(--color-primary);
}

.btn--sm {
    min-height: 40px;
    padding: 10px 22px;
}

.btn--block {
    display: flex;
    width: 100%;
}

/* ─── 4. Header ──────────────────────────────────────────────────── */

/* The top bar scrolls away; the main bar sticks to the top */
.site-header {
    position: sticky;
    top: calc(var(--topbar-height) * -1);
    z-index: 1000;
    background: var(--color-white);
}

.topbar {
    background: var(--color-white);
    font-size: 14px;
    color: var(--color-white);
}

.topbar__inner {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    height: var(--topbar-height);
}

/* Navy band with the slanted left edge */
.topbar__inner::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 230px;
    right: var(--gutter);
    background: var(--color-navy);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 46px 100%);
}

.topbar__inner > * {
    position: relative;
}

.topbar__info {
    display: flex;
    align-items: center;
    margin-right: auto;
    padding-left: 300px;
    white-space: nowrap;
}

.topbar__info li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.topbar__info li + li::before {
    content: "";
    width: 1px;
    height: 15px;
    margin: 0 16px 0 9px;
    background: rgba(255, 255, 255, 0.35);
}

.topbar__info .fa {
    color: rgba(255, 255, 255, 0.6);
}

.topbar__info a:hover {
    color: #ffd2d2;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
}

.lang-switch__item {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 50%;
}

.lang-switch__item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch a.lang-switch__item img {
    opacity: 0.6;
}

.lang-switch a.lang-switch__item:hover img {
    opacity: 1;
}

.lang-switch__item.is-active img {
    box-shadow: 0 0 0 2px var(--color-white);
}

.topbar .lang-switch__code {
    display: none;
}

.topbar__cta {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 0 30px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
}

.topbar__cta:hover {
    background: var(--color-primary-dark);
}

.mainbar {
    position: relative;
    background: var(--color-white);
    transition: box-shadow 0.25s ease;
}

.site-header.is-stuck .mainbar {
    box-shadow: 0 8px 25px rgba(37, 50, 65, 0.1);
}

.mainbar__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: var(--mainbar-height);
}

.brand {
    flex-shrink: 0;
}

.brand img {
    width: 170px;
    height: auto;
    transition: transform 0.3s ease;
}

/* Desktop: the logo reaches up into the white part of the top bar */
@media (min-width: 992px) {
    .brand img {
        transform: translateY(-20px);
    }

    .site-header.is-stuck .brand img {
        transform: translateY(0) scale(0.86);
    }
}

.nav-toggle {
    display: none;
}

.nav-menu {
    flex: 1;
}

.nav-menu__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    display: block;
    padding: 30px 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--color-ink);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 22px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-menu__mobile-extra {
    display: none;
}

.header-phone {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.header-phone__icon {
    display: flex;
    align-items: center;
    padding-right: 16px;
    margin-right: 16px;
    border-right: 1px solid #d9dde2;
    font-size: 32px;
    color: var(--color-primary);
}

.header-phone__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.header-phone__text small {
    font-size: 12px;
    color: var(--color-text-dark);
}

.header-phone__text strong {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
}

.header-phone:hover strong {
    color: var(--color-primary);
}

/* ─── 5. Footer ──────────────────────────────────────────────────── */

.site-footer {
    padding-top: 60px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    background: var(--color-footer);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 55px;
}

.site-footer__brand img {
    width: 120px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 13px;
    color: var(--color-white);
    background: #2c343e;
}

.social-links a:hover {
    background: var(--color-primary);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
}

.footer-col__title {
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--color-white);
}

.footer-col p + * {
    margin-top: 22px;
}

.footer-contact li,
.footer-hours li {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-contact .fa,
.footer-hours .fa {
    width: 14px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-contact strong {
    color: var(--color-white);
}

.footer-hours {
    margin-bottom: 14px;
}

.footer-links-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a::before {
    content: "\f105";
    margin-right: 9px;
    font-family: "FontAwesome";
    color: rgba(255, 255, 255, 0.45);
}

.footer-links a:hover {
    color: var(--color-white);
}

.site-footer__bottom {
    padding: 26px 0;
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Copyright left, website credit right; stacked and centred on small screens */
.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.site-footer__credit a {
    font-weight: 600;
    color: var(--color-brand-sand);
    transition: color 0.2s ease;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
    color: var(--color-white);
}

@media (max-width: 767px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        justify-content: center;
    }
}

/* ─── 6. Sections ────────────────────────────────────────────────── */

.section {
    padding: var(--section-space) 0;
}

.section--light {
    background: var(--color-light);
}

.section--dark {
    background: var(--color-navy);
}

.section--flush-top {
    padding-top: 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading__subtitle {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: #2d3542;
}

.section-heading__title {
    font-size: 40px;
    line-height: 1.2;
    color: var(--color-heading);
}

.section-heading__title span {
    color: var(--color-primary);
}

.section-heading--center {
    text-align: center;
}

.section-heading--light .section-heading__subtitle,
.section-heading--light .section-heading__title {
    color: var(--color-white);
}

.section-heading--sm {
    margin-bottom: 30px;
}

.section-heading--sm .section-heading__title {
    font-size: 28px;
}

.section-intro {
    max-width: 640px;
    margin: -25px auto 45px;
    text-align: center;
}

/* ─── 7. Hero and booking search ─────────────────────────────────── */

.hero {
    position: relative;
    min-height: 780px;
    padding-top: 80px;
    text-align: center;
    /* Warehouses (Apothikes) beach, Tinos, next to Kolymbithra: drone photo
       by Nikos Kavvadas on Unsplash
       (Unsplash License), unsplash.com/photos/nylrSYzN_5c.
       The gradient keeps the brand lines readable over bright parts of the photo. */
    --hero-photo: url("../img/hero/hero-apothikes.jpg");
    background:
        linear-gradient(180deg, rgba(19, 26, 34, 0.6) 0%, rgba(19, 26, 34, 0.5) 50%, rgba(19, 26, 34, 0) 78%),
        #1d3a4f var(--hero-photo) center 35% / cover no-repeat;
}

/* The hero heading follows the light logo: name in heavy geometric caps
   (first word brand red, second white), tan letter-spaced lines above and
   below. Letter-spaced lines get a matching left padding so they centre. */
.hero__since {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(10px, 1.6vw, 18px);
    margin-bottom: clamp(6px, 1vw, 12px);
    font-family: var(--font-brand);
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3em;
    color: var(--color-brand-sand);
}

.hero__since span {
    padding-left: 0.3em;
}

.hero__since img {
    width: clamp(150px, 20vw, 260px);
    height: auto;
}

.hero__title {
    max-width: 1000px;
    margin: 0 auto;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: 0 4px 30px rgba(20, 30, 40, 0.45);
}

.hero__name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(50px, 10.5vw, 132px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.01em;
    word-spacing: -0.12em;
}

.hero__name-first {
    color: var(--color-brand-red);
}

.hero__sub {
    display: block;
    margin-top: clamp(10px, 1.6vw, 18px);
    padding-left: 0.4em;
    font-family: var(--font-brand);
    font-size: clamp(14px, 2.2vw, 27px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.4em;
    color: var(--color-brand-sand);
}

.hero__tagline {
    margin-top: clamp(14px, 2vw, 24px);
    text-wrap: balance;
    font-family: var(--font-heading);
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 14px rgba(20, 30, 40, 0.5);
}

/* Photo caption: where the hero photo was taken, linking to directions in
   Google Maps. Kept small and quiet in the bottom-right corner, just above
   the booking bar, so it reads as a photo credit rather than our address.
   --hero-overlap matches the booking bar's negative top margin. */
.hero {
    --hero-overlap: 90px;
}

.hero__place {
    position: absolute;
    right: 20px;
    bottom: calc(var(--hero-overlap) + 14px);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 11px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(19, 26, 34, 0.4);
    border: 1px solid var(--color-brand-red);
    border-radius: 999px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero__place .fa-camera {
    font-size: 11px;
    color: var(--color-white);
}

.hero__place-go {
    font-size: 9px;
    color: var(--color-brand-sand);
    transition: transform 0.2s ease;
}

.hero__place:hover,
.hero__place:focus-visible {
    color: var(--color-white);
    background: rgba(19, 26, 34, 0.6);
    border-color: #d4583e;
}

.hero__place:hover .hero__place-go,
.hero__place:focus-visible .hero__place-go {
    transform: translate(1px, -1px);
}

@media (prefers-reduced-motion: reduce) {
    .hero__place-go {
        transition: none;
    }
}

.booking-search {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 4px;
    margin-top: -90px;
    padding: 38px 40px 44px;
    background: var(--color-white);
    border-bottom: 3px solid var(--color-navy);
    box-shadow: 0 25px 60px rgba(37, 50, 65, 0.12);
}

.booking-search__field label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-ink);
}

.booking-search__field label span {
    margin-right: 3px;
    font-weight: 500;
    color: #a3a9b1;
}

.booking-search select,
.booking-search input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 14px;
    color: #555555;
    background-color: var(--color-light);
    border: 1px solid transparent;
    border-radius: 0;
    color-scheme: light;
    transition: border-color 0.2s ease;
}

.booking-search select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='none' stroke='%23253241' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.booking-search select:focus,
.booking-search input:focus {
    border-color: var(--color-navy);
    outline: none;
}

.booking-search__submit {
    height: 50px;
    min-width: 150px;
    margin-left: 4px;
}

/* ─── 8. Welcome (home) ──────────────────────────────────────────── */

.welcome {
    padding-top: var(--section-space);
}

.welcome__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 60px;
}

.welcome__content {
    padding-bottom: 70px;
}

.welcome__text {
    max-width: 520px;
    margin-top: -20px;
}

.welcome__media img {
    margin: 0 auto;
}

.icon-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.icon-features li .fa {
    display: block;
    margin-bottom: 14px;
    font-size: 40px;
    color: var(--color-navy);
}

.icon-features li span {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-navy);
}

/* ─── 9. Vehicle cards and carousel ──────────────────────────────── */

.car-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--color-white);
    background: var(--color-navy);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.car-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 520 / 440;
}

.car-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.car-card:hover .car-card__media img {
    transform: scale(1.06);
}

.car-card__category {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 10px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    background: rgba(37, 50, 65, 0.85);
}

.car-card__units {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-brand-green);
}

.car-card__body {
    flex: 1;
    padding: 20px 16px 16px;
    text-align: center;
}

.car-card__title {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-white);
}

.car-card__trim {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
}

.car-card--light .car-card__trim {
    color: var(--color-text);
}

.badge {
    position: relative;
    top: -2px;
    display: inline-block;
    margin-right: 6px;
    padding: 5px 8px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
    color: var(--color-white);
    background: var(--color-primary);
}

.badge--new {
    background: var(--color-brand-green);
}

.badge--popular {
    background: #7b3fd4;
}

.car-card__specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}

.car-card__specs li {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
}

.car-card__specs li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.car-card__specs i {
    font-size: 13px;
    opacity: 0.8;
}

.car-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.car-card__price {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.car-card__price strong {
    font-family: var(--font-heading);
    font-size: 19px;
    color: var(--color-white);
}

.car-card__book {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-primary);
}

.car-card__book:hover {
    background: var(--color-primary-dark);
}

/* White card variant (on dark backgrounds) */
.car-card--light {
    color: var(--color-text-dark);
    background: var(--color-white);
}

.car-card--light .car-card__title,
.car-card--light .car-card__price strong {
    color: var(--color-navy);
}

.car-card--light .car-card__specs,
.car-card--light .car-card__price {
    color: var(--color-text);
}

.car-card--light .car-card__specs li + li {
    border-left-color: var(--color-border);
}

.car-card--light .car-card__footer {
    border-top-color: var(--color-border);
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.car-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 0;
}

/* Two models: larger cards, centred */
.car-grid--2 {
    max-width: 960px;
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fleet .car-grid--2 {
    margin-bottom: 0;
}

.featured__note {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.75);
}

.featured {
    overflow: hidden;
}

.featured__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.featured__head .section-heading {
    margin-bottom: 0;
}

.carousel-nav {
    display: flex;
    gap: 8px;
}

.carousel-nav__btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 22px;
    color: var(--color-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.carousel-nav__btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.carousel-nav__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.carousel-nav__btn:disabled:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Cards start at the container edge and run off the right of the screen */
.carousel {
    --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
    display: flex;
    gap: 20px;
    margin-bottom: 45px;
    padding: 10px var(--edge) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel__item {
    flex: 0 0 290px;
    scroll-snap-align: start;
}

/* ─── 10. Rental services ────────────────────────────────────────── */

.rentals__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.service-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.service-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 160px;
    padding: 22px 24px;
    text-align: right;
    background: var(--color-white);
    border: 0;
    border-right: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.service-tile:nth-child(2n) {
    border-right: 0;
}

.service-tile__num {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #aab2bc;
}

.service-tile__icon {
    position: absolute;
    top: 26px;
    right: 24px;
    font-size: 44px;
    line-height: 1;
    color: #8b95a1;
}

.service-tile__label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #4a4f55;
}

.service-tile:hover {
    background: #fbe9e9;
}

.service-tile.is-active {
    background: var(--color-primary);
}

.service-tile.is-active .service-tile__num,
.service-tile.is-active .service-tile__icon,
.service-tile.is-active .service-tile__label {
    color: var(--color-white);
}

.rentals__content .section-heading {
    margin-bottom: 25px;
}

.rentals__image {
    width: 100%;
    margin-bottom: 28px;
}

.rentals__panel h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* ─── 11. Offer band and figures ─────────────────────────────────── */

.offer-band {
    padding: 70px 0 140px;
    color: var(--color-white);
    background: var(--color-navy);
}

.offer-band__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.offer-band__text {
    flex: 1;
}

.offer-band__title {
    margin-bottom: 10px;
    font-size: 34px;
    color: var(--color-white);
}

.offer-band__text p {
    color: rgba(255, 255, 255, 0.75);
}

.offer-band__call {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: var(--color-white);
}

.offer-band__call small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.offer-band__call strong {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-heading);
    font-size: 17px;
}

.offer-band__call i {
    color: var(--color-primary);
}

.offer-band__call:hover strong {
    color: #ffd2d2;
}

/* The navy band continues behind the figures, so it always covers them
   however many rows they wrap to. */
.stats-wrap {
    position: relative;
    z-index: 1;
    margin-top: -80px;
    padding-bottom: 70px;
    background: var(--color-navy);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat {
    position: relative;
    padding: 34px 20px 32px;
    text-align: center;
    background: var(--color-light);
    box-shadow: 0 10px 30px rgba(37, 50, 65, 0.06);
}

/* Small corner triangle, a Revus signature */
.stat::after,
.feature-box::after,
.service-card::after,
.info-box::after {
    content: "";
    position: absolute;
    left: 6px;
    bottom: 6px;
    border-top: 9px solid transparent;
    border-left: 9px solid var(--color-navy);
}

.stat__label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-ink);
}

.stat__value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-ink);
    font-variant-numeric: tabular-nums;
}

/* ─── 12. Reviews and CTA strip ──────────────────────────────────── */

.testimonials {
    position: relative;
    isolation: isolate;
    background: var(--color-navy) url("../img/demo/testimonials-bg.jpg") center / cover no-repeat;
}

.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(24, 33, 44, 0.72);
}

.quote-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: -15px 0 45px;
    font-size: 22px;
    color: var(--color-white);
}

.quote-divider::before,
.quote-divider::after {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
}

.testimonials__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.testimonial__bubble {
    position: relative;
    margin-bottom: 30px;
    padding: 34px 28px;
    background: rgba(58, 71, 86, 0.88);
}

.testimonial__bubble::after {
    content: "";
    position: absolute;
    right: 60px;
    bottom: -16px;
    border-top: 16px solid rgba(58, 71, 86, 0.88);
    border-left: 16px solid transparent;
}

.testimonial__bubble p {
    font-family: var(--font-quote);
    font-size: 14px;
    font-style: italic;
    line-height: 1.95;
    color: var(--color-white);
}

.testimonial.is-featured .testimonial__bubble {
    background: var(--color-white);
}

.testimonial.is-featured .testimonial__bubble::after {
    border-top-color: var(--color-white);
}

.testimonial.is-featured .testimonial__bubble p {
    color: #555555;
}

.testimonial__author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding-right: 36px;
    text-align: right;
}

.testimonial__author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

.testimonial__author small {
    font-family: var(--font-heading);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial__author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.cta-band {
    padding: 90px 0;
    text-align: center;
    background: var(--color-navy);
}

.cta-band__title {
    margin-bottom: 16px;
    font-size: 34px;
    font-weight: 600;
    color: var(--color-white);
}

.cta-band p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.75);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: var(--color-footer);
}

.gallery-strip a {
    display: block;
    overflow: hidden;
}

.gallery-strip img {
    width: 100%;
    height: 100%;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-strip a:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

/* ─── 13. Steps ──────────────────────────────────────────────────── */

.steps {
    position: relative;
    isolation: isolate;
    background: #f6f8fb url("../img/demo/how-it-works-bg.jpg") center / cover no-repeat;
}

.steps::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.86);
}

.steps__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    position: relative;
}

/* Dotted line from one number to the next */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    left: calc(50% + 62px);
    width: calc(100% + 30px - 124px);
    border-top: 2px dotted #9aa3ae;
}

.step__num {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 68px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--color-navy);
}

/* Red dot in the middle of the zero */
.step__num::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0.3em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
}

.step__title {
    margin-bottom: 12px;
    font-size: 16px;
}

.step p {
    max-width: 250px;
    margin: 0 auto;
    font-size: 14px;
}

/* ─── 14. About sections ─────────────────────────────────────────── */

.page-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0;
    text-align: center;
    background: #1d2630 url("../img/demo/page-heading.jpg") center / cover no-repeat;
}

/* Dark slanted panel behind the title */
.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: min(560px, 90%);
    background: rgba(24, 33, 44, 0.72);
    transform: translateX(-50%) skewX(-14deg);
}

.page-banner__title {
    margin-bottom: 12px;
    font-size: 40px;
    color: var(--color-white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-white);
}

.breadcrumb li + li::before {
    content: "\f178";
    margin-right: 10px;
    font-family: "FontAwesome";
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-box {
    position: relative;
    padding: 50px 34px 46px;
    text-align: center;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

.feature-box::after {
    border-left-color: var(--color-primary);
}

.feature-box__icon {
    display: block;
    margin-bottom: 24px;
    font-size: 46px;
    line-height: 1;
    color: var(--color-navy);
}

.feature-box__title {
    margin-bottom: 14px;
    font-size: 18px;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.8;
}

.feature-box--dark {
    background: var(--color-navy);
}

.feature-box--dark .feature-box__icon,
.feature-box--dark .feature-box__title,
.feature-box--dark p {
    color: var(--color-white);
}

.about-welcome {
    overflow: hidden;
}

.about-welcome__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.about-welcome__content .section-heading {
    margin-bottom: 30px;
}

.about-welcome__content p + p {
    margin-top: 14px;
}

/* The car runs off the right edge of the screen */
.about-welcome__media {
    align-self: stretch;
    min-height: 380px;
    margin-right: calc(max(var(--gutter), (100vw - var(--container)) / 2) * -1);
    background: url("../img/demo/about-car.png") left center / contain no-repeat;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.highlights li > i {
    display: block;
    margin-bottom: 14px;
    font-size: 40px;
    line-height: 1;
    color: var(--color-navy);
}

.highlights li span {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--color-navy);
}

.advantages__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.accordion {
    border-top: 1px solid var(--color-border);
}

.accordion__item {
    border-bottom: 1px solid var(--color-border);
}

.accordion__item summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-navy);
    list-style: none;
    cursor: pointer;
}

.accordion__item summary::-webkit-details-marker {
    display: none;
}

.accordion__item summary i {
    transform: scaleX(-1);
    transition: color 0.2s ease, transform 0.2s ease;
}

.accordion__item[open] summary i {
    color: var(--color-primary);
    transform: none;
}

.accordion__item summary:hover {
    color: var(--color-primary);
}

.accordion__item p {
    padding: 0 0 22px 28px;
    font-size: 14px;
}

.review-card blockquote {
    position: relative;
    margin-bottom: 30px;
    padding: 34px 30px;
    background: var(--color-light);
}

.review-card blockquote::after {
    content: "";
    position: absolute;
    left: 50px;
    bottom: -16px;
    border-top: 16px solid var(--color-light);
    border-right: 16px solid transparent;
}

.review-card blockquote p {
    font-family: var(--font-quote);
    font-size: 14px;
    font-style: italic;
    line-height: 1.95;
    color: var(--color-text-dark);
}

.review-card figcaption {
    padding-left: 36px;
}

.review-card figcaption strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--color-navy);
}

.review-card figcaption small {
    font-family: var(--font-heading);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Fleet & Services page */
.fleet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: -15px 0 40px;
}

.fleet-filter__btn {
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-navy);
    background: var(--color-white);
    border: 1px solid #dde3ea;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fleet-filter__btn:hover,
.fleet-filter__btn.is-active {
    color: var(--color-white);
    background: var(--color-navy);
    border-color: var(--color-navy);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 30px 36px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::after {
    border-left-color: var(--color-primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.service-card__num {
    position: absolute;
    top: 22px;
    right: 26px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #c3cad3;
}

.service-card__icon {
    display: inline-grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
    font-size: 30px;
    color: var(--color-primary);
    background: var(--color-light);
}

.service-card__title {
    margin-bottom: 12px;
    font-size: 18px;
}

.service-card p {
    font-size: 14px;
}

/* ─── 15. Contact ────────────────────────────────────────────────── */

.info-boxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* the icon sits inside the top of the box */
.info-box {
    position: relative;
    padding: 112px 20px 32px;
    text-align: center;
    background: var(--color-light);
}

.info-box__icon {
    position: absolute;
    top: 26px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    font-size: 24px;
    color: var(--color-white);
    background: var(--color-navy);
    transform: translateX(-50%);
}

.info-box--accent .info-box__icon {
    background: var(--color-primary);
}

.info-box__title {
    margin-bottom: 10px;
    font-size: 16px;
}

.info-box p {
    font-size: 14px;
    line-height: 1.7;
}

.info-box a:hover {
    color: var(--color-primary);
}

.contact-main__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 40px;
}

.map-card {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 480px;
    background: var(--color-navy) url("../img/demo/page-heading.jpg") 30% center / cover no-repeat;
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(37, 50, 65, 0.3) 0%, rgba(37, 50, 65, 0.95) 70%);
}

.map-card__content {
    padding: 40px;
}

.map-card__pin {
    display: block;
    margin-bottom: 16px;
    font-size: 42px;
    color: var(--color-primary);
}

.map-card__title {
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--color-white);
}

.map-card p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-wrap__intro {
    margin: -10px 0 26px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-navy);
}

.form-group label span {
    color: var(--color-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background: var(--color-white);
    border: 1px solid #dbe1e8;
    border-radius: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(208, 24, 24, 0.12);
    outline: none;
}

/* Honeypot: hidden from people, filled in by bots */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    margin-bottom: 22px;
    padding: 14px 18px;
    font-size: 14px;
    border-left: 4px solid;
}

.alert--success {
    color: #1e4620;
    background: #edf7ed;
    border-color: #2e7d32;
}

.alert--error {
    color: #611a15;
    background: #fdecea;
    border-color: var(--color-primary);
}

/* ─── 16. Error pages ────────────────────────────────────────────── */

.error-page__inner {
    max-width: 760px;
    text-align: center;
}

.error-page__code {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -5px;
    color: var(--color-navy);
}

.error-page__title {
    margin-bottom: 16px;
    font-size: 28px;
}

.error-page__lead {
    margin-bottom: 30px;
    font-size: 16px;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.error-page__subtitle {
    margin-bottom: 18px;
    font-size: 18px;
}

.error-page__list {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.error-page__list li {
    display: flex;
    align-items: baseline;
}

.error-page__list .fa {
    margin-right: 10px;
    color: var(--color-primary);
}

.error-page__list a:hover {
    color: var(--color-primary);
}

.error-page__hint {
    font-size: 14px;
}

/* ─── 17. Motion ─────────────────────────────────────────────────── */

/* main.js marks sections below the fold and reveals them on scroll */
.reveal-pending {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .reveal-pending {
        opacity: 1;
        transform: none;
    }
}

/* ─── 18. Responsive ─────────────────────────────────────────────── */

@media (max-width: 1199px) {
    :root {
        --container: 930px;
    }

    .topbar__address {
        display: none !important;
    }

    .topbar__info {
        padding-left: 280px;
    }

    .mainbar__inner {
        gap: 20px;
    }

    .brand img {
        width: 150px;
    }

    .nav-link {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 12px;
    }

    .nav-link::after {
        left: 9px;
        right: 9px;
    }

    .header-phone__icon {
        padding-right: 12px;
        margin-right: 12px;
        font-size: 28px;
    }

    .car-grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .welcome__inner {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    :root {
        --container: 720px;
        --mainbar-height: 70px;
        --section-space: 75px;
    }

    /* Header: compact bar with a dropdown menu */
    .topbar {
        display: none;
    }

    .site-header {
        top: 0;
    }

    .brand {
        flex: 1;
    }

    .brand img {
        width: 132px;
    }

    .header-phone {
        order: 2;
        margin-left: 0;
    }

    .header-phone__icon {
        padding-right: 0;
        margin-right: 0;
        border-right: 0;
    }

    .header-phone__text {
        display: none;
    }

    .nav-toggle {
        order: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 0 11px;
        background: var(--color-navy);
        border: 0;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        height: 2px;
        background: var(--color-white);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100vh - var(--mainbar-height));
        overflow-y: auto;
        background: var(--color-white);
        border-top: 1px solid var(--color-border);
        box-shadow: 0 20px 30px rgba(37, 50, 65, 0.15);
    }

    .nav-menu.open {
        display: block;
    }

    .nav-menu__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        padding: 15px 24px;
        font-size: 13px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        box-shadow: inset 3px 0 0 var(--color-primary);
    }

    .nav-menu__mobile-extra {
        display: grid;
        gap: 18px;
        padding: 22px 24px 26px;
    }

    .lang-switch--mobile {
        justify-content: center;
        gap: 22px;
        padding: 0;
        font-family: var(--font-heading);
        font-size: 13px;
        font-weight: 600;
        color: var(--color-navy);
    }

    .lang-switch--mobile .lang-switch__item {
        border-radius: 0;
    }

    .lang-switch--mobile .lang-switch__item.is-active {
        color: var(--color-primary);
    }

    .lang-switch--mobile img {
        box-shadow: 0 0 0 1px var(--color-border);
    }

    /* Content */
    .section-heading__title {
        font-size: 32px;
    }

    .hero {
        --hero-photo: url("../img/hero/hero-apothikes-960.jpg");
        --hero-overlap: 70px;
        min-height: 560px;
        padding-top: 80px;
    }

    .booking-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
        margin-top: -70px;
        padding: 30px;
    }

    .booking-search__submit {
        margin-left: 0;
    }

    .welcome__inner,
    .rentals__inner,
    .about-welcome__inner,
    .advantages__inner,
    .contact-main__inner {
        grid-template-columns: 1fr;
    }

    .welcome__content {
        padding-bottom: 0;
    }

    .welcome__media img {
        max-width: 320px;
    }

    .rentals__inner {
        gap: 40px;
    }

    .rentals__content {
        order: -1;
    }

    .offer-band {
        padding: 60px 0 130px;
    }

    .offer-band__inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .offer-band__call {
        align-items: center;
        text-align: center;
    }

    .offer-band__title,
    .cta-band__title {
        font-size: 28px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-wrap {
        margin-top: -100px;
    }

    .car-grid,
    .car-grid--4,
    .service-cards,
    .info-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials__track {
        display: flex;
        gap: 18px;
        margin: 0 calc(var(--gutter) * -1);
        padding: 0 var(--gutter) 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .testimonials__track::-webkit-scrollbar {
        display: none;
    }

    .testimonial {
        flex: 0 0 min(82%, 420px);
        scroll-snap-align: start;
    }

    .gallery-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__grid .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .feature-boxes {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .about-welcome__media {
        min-height: 260px;
        margin-right: 0;
        background-position: center;
    }

    .steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 50px;
    }

    .step::after {
        display: none;
    }

    .map-card {
        min-height: 340px;
    }
}

@media (max-width: 575px) {
    :root {
        --section-space: 60px;
    }

    /* the long Greek line splits at the dot instead of wrapping around it */
    :lang(el) .hero__dot {
        display: block;
        height: 0;
        overflow: hidden;
    }

    body {
        font-size: 14px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading__title,
    .page-banner__title {
        font-size: 27px;
    }

    .hero {
        min-height: 440px;
        padding-top: 60px;
        background-position: 55% 70%;
        --hero-overlap: 50px;
    }

    .booking-search {
        grid-template-columns: 1fr;
        margin-top: -50px;
        padding: 24px 20px;
    }

    .icon-features,
    .highlights {
        gap: 12px;
    }

    .icon-features li .fa,
    .highlights li > i {
        font-size: 32px;
    }

    .icon-features li span,
    .highlights li span {
        font-size: 12px;
    }

    .featured__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel__item {
        flex-basis: 80%;
    }

    .service-tile {
        min-height: 130px;
        padding: 18px;
    }

    .service-tile__icon {
        top: 18px;
        right: 18px;
        font-size: 34px;
    }

    .service-tile__num {
        top: 16px;
        left: 18px;
    }

    .service-tile__label {
        font-size: 13px;
    }

    .stat {
        padding: 24px 12px;
    }

    .stat__value {
        font-size: 26px;
    }

    .car-grid,
    .car-grid--4,
    .service-cards,
    .info-boxes,
    .form-row,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .steps__list {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 55px 0;
    }

    .map-card__content {
        padding: 28px;
    }

    .error-page__code {
        font-size: 100px;
    }
}
