:root {
    --color-primary: #28b998;
    --color-primary-dark: #15866d;
    /* Behind white text: the bright brand green gives only 2.5:1 contrast,
       these give 4.9:1 and 6.2:1 (WCAG AA needs 4.5:1). Chosen 13/10/2026. */
    --color-action: #13806a;
    --color-action-hover: #0f6e59;
    /* Green text on the pale form background (#f4f7f6): 4.9:1. */
    --color-action-text: #117a64;
    --color-ink: #161a1d;
    --color-ink-soft: #4b565c;
    --color-muted: #f4f7f6;
    --color-line: #dbe3e0;
    --color-white: #ffffff;
    --color-warm: #f6c85f;
    --shadow: 0 18px 45px rgba(22, 26, 29, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    background: var(--color-white);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(40, 185, 152, 0.5);
    outline-offset: 3px;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.top-bar {
    background: var(--color-ink);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
}

.top-bar__inner,
.top-bar__links,
.navbar__inner,
.navbar__right,
.navbar__links,
.navbar__contact-icons,
.section-heading--split,
.footer-bottom .container {
    display: flex;
    align-items: center;
}

.top-bar__inner {
    justify-content: flex-start;
    gap: 16px;
    padding: 8px 0;
}

.top-bar__links {
    gap: 18px;
    flex-wrap: wrap;
}

.top-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.top-bar__icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    flex: 0 0 auto;
}

.top-bar a:hover,
.site-footer a:hover {
    color: var(--color-primary);
}

.site-header--home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    color: var(--color-white);
}

.site-header--home .top-bar {
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(4, 9, 10, 0.5);
    backdrop-filter: blur(14px);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 17, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.site-header--home .navbar {
    position: relative;
    background: rgba(5, 16, 17, 0.44);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(18px);
}

.navbar__inner {
    justify-content: space-between;
    min-height: 76px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand--navbar {
    flex: 0 0 auto;
}

@media (min-width: 1280px) {
    .top-bar__links,
    .brand--navbar {
        transform: translateX(min(0px, calc(638px - 50vw)));
    }
}

.brand__logo {
    width: auto;
    height: 44px;
    max-width: 100%;
    object-fit: contain;
}

.brand__logo--header {
    height: 54px;
    max-width: 240px;
}

.brand__logo--footer {
    height: 58px;
    max-width: 230px;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.35rem;
}

.brand__text {
    display: grid;
    line-height: 1.1;
}

.brand__text strong {
    text-transform: uppercase;
    font-size: 1.1rem;
}

.brand__text small {
    color: var(--color-ink-soft);
    font-size: 0.8rem;
}

.brand--footer .brand__text small,
.site-footer .brand__text small {
    color: rgba(255, 255, 255, 0.72);
}

.navbar__right {
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
}

.navbar__links {
    justify-content: flex-end;
    gap: 20px;
    font-weight: 700;
}

.navbar__links a {
    color: rgba(255, 255, 255, 0.82);
}

.site-header--home .navbar__links a {
    color: rgba(255, 255, 255, 0.84);
}

.navbar__links a:hover,
.navbar__links .is-active {
    color: var(--color-primary);
}

.site-header--home .navbar__links a:hover,
.site-header--home .navbar__links .is-active {
    color: var(--color-primary);
}

.navbar__contact-icons {
    gap: 10px;
    flex: 0 0 auto;
}

.navbar__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 36px;
    height: 44px;
    padding: 4px 3px;
    border: 0;
    border-radius: 6px;
    color: var(--color-white);
    background: transparent;
    overflow: visible;
    transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
}

.navbar__contact-icon img {
    display: block;
    width: auto;
    height: 29px;
    max-width: none;
    max-height: 29px;
    object-fit: contain;
    flex: 0 0 auto;
}

.navbar__contact-icon:hover,
.navbar__contact-icon:focus {
    transform: translateY(-1px);
    opacity: 0.9;
    filter: brightness(1.08);
}

.navbar__contact-svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.navbar__contact-icon--whatsapp {
    background: transparent;
}

.navbar__contact-icon--viber {
    background: transparent;
}

.navbar__contact-icon--viber img {
    height: 32px;
    max-height: 32px;
}

.navbar__language {
    position: relative;
    z-index: 22;
    flex: 0 0 auto;
}

.language-menu {
    position: relative;
}

.language-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: var(--color-white);
    /* Dark enough under the white label on any photo (6.6:1). */
    background: rgba(5, 18, 22, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.language-menu__trigger::-webkit-details-marker {
    display: none;
}

.language-menu__trigger:hover,
.language-menu__trigger:focus-visible,
.language-menu[open] .language-menu__trigger {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(5, 18, 22, 0.72);
}

.language-menu__label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.language-menu__flag {
    display: block;
    width: 22px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.language-menu__chevron {
    width: 6px;
    height: 6px;
    margin: -3px 1px 0 2px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease, margin 160ms ease;
}

.language-menu[open] .language-menu__chevron {
    margin-top: 3px;
    transform: rotate(225deg);
}

.language-menu__options {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    z-index: 60;
    display: grid;
    width: min(190px, calc(100vw - 32px));
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(9, 17, 18, 0.99);
    box-shadow: 0 18px 45px rgba(3, 8, 9, 0.32);
}

.language-menu__option {
    display: grid;
    grid-template-columns: 24px 1fr 18px;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    text-decoration: none;
}

.language-menu__option:hover,
.language-menu__option:focus-visible {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.language-menu__option--active {
    color: var(--color-white);
    background: rgba(40, 185, 152, 0.18);
}

.language-menu__check {
    color: var(--color-primary);
    font-weight: 800;
    text-align: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--color-action);
    border-radius: 10px;
    color: var(--color-white);
    background: var(--color-action);
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
    background: var(--color-action-hover);
}

.button--outline {
    width: 100%;
    color: var(--color-primary-dark);
    background: transparent;
}

.button--outline:hover {
    color: var(--color-white);
}

.button--ghost {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.12);
}

.button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-white);
}

.site-header--home .nav-toggle {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.site-header--home .nav-toggle span {
    background: var(--color-white);
}

.hero {
    position: relative;
    color: var(--color-white);
    overflow: hidden;
    background-color: #0a1c20;
}

/* The photo lives on its own layer so we can boost its vibrancy (saturation +
   a touch of brightness/contrast) without washing out the dark scrim that keeps
   the white text readable. The scrim sits on a separate, unfiltered layer. */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    z-index: 0;
    background: url("../img/pages/chania2.webp") 54% center / cover no-repeat;
    filter: saturate(1.3) brightness(1.12) contrast(1.05);
}

.hero::after {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 18, 22, 0.60) 0%, rgba(5, 18, 22, 0.38) 42%, rgba(5, 18, 22, 0.14) 75%, rgba(5, 18, 22, 0.06) 100%),
        radial-gradient(circle at 46% 64%, rgba(244, 159, 82, 0.12), transparent 40%),
        linear-gradient(180deg, rgba(2, 6, 7, 0.04), rgba(2, 6, 7, 0.12));
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: 56px;
    align-items: center;
    min-height: 740px;
    padding: 154px 0 84px;
}

.hero__content {
    width: 100%;
    max-width: 700px;
    min-width: 0;
    container-type: inline-size;
}

.hero h1,
.page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.55rem, 5.4vw, 4rem);
    line-height: 1.08;
    overflow-wrap: break-word;
}

.hero .eyebrow--light {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.07em;
}

/* Brand line: text + logo on one row, reading as one continuous sentence.
   The logo's "Prime" letters sit on the same baseline as the text and are
   ~1.6× its cap height, so the brand reads as the emphasised word (the
   wordmark letters span 86/105 of the image height, with the baseline 3px
   above the image bottom). The font-size in cqw is the single scale knob —
   everything inside is em-based, so the whole row grows with the content
   column until it spans it: up to the booking form on desktop, near the
   screen edges on mobile. Tuned per language (text length differs). */
.hero .hero-brand-line {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.35em;
    width: 100%;
    margin-bottom: 12px;
    white-space: nowrap;
    font-size: clamp(1rem, 5vw, 2.25rem); /* fallback without container queries */
    font-size: 5.1cqw;
}

html[lang="el"] .hero .hero-brand-line {
    font-size: clamp(1rem, 5.5vw, 2.45rem);
    font-size: 5.7cqw;
}

.hero-brand-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 1.46em;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(3, 10, 12, 0.58));
    transform: translateY(calc(0.042em + 2px)); /* baseline compensation (3/105 of image height) plus a 2px optical nudge */
    animation: hero-logo-fade-in 0.9s ease 0.1s both;
}

@keyframes hero-logo-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* With the lighter image overlay, the heading and eyebrow carry a soft shadow
   so the white text stays crisp over the bright photo. */
.hero h1,
.hero .eyebrow--light {
    text-shadow: 0 1px 14px rgba(3, 10, 12, 0.55);
}

.h1-main {
    display: block;
    font-weight: 800;
}

.h1-sub {
    display: block;
    font-size: 0.58em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 6px;
    letter-spacing: 0.01em;
}

.hero__lead {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    overflow-wrap: break-word;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-size: 0.88rem;
    animation: hero-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero entrance: eyebrow appears immediately; booking panel slides in after a
   short pause so it feels deliberate. The <h1> is left un-animated to stay the
   immediate LCP paint (no Lighthouse regression). */
.hero .eyebrow--light {
    animation: hero-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__booking {
    animation: hero-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* Feature pills reveal one at a time after the booking panel finishes. */
.hero-points li:nth-child(1) {
    animation-delay: 1.0s;
}

.hero-points li:nth-child(2) {
    animation-delay: 1.2s;
}

.hero-points li:nth-child(3) {
    animation-delay: 1.4s;
}

.hero-points li:nth-child(4) {
    animation-delay: 1.6s;
}

.hero-points li:nth-child(5) {
    animation-delay: 1.8s;
}

.hero-points li:nth-child(6) {
    animation-delay: 2.0s;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .eyebrow--light,
    .hero-brand-logo,
    .hero__booking,
    .hero-points li {
        animation: none;
    }
}

.hero-points li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28b998;
    flex-shrink: 0;
}

.hero-points-mobile {
    display: none;
}

.hero__booking,
.booking-sidebar,
.contact-form,
.detail-panel,
.insurance-card,
.faq-list details,
.quote-grid figure,
.guide-grid article,
.guide-card,
.included-item,
.benefit,
.car-card,
.empty-state,
.search-summary-panel,
.booking-summary-card,
.booking-request-form,
.quote-card,
.success-card {
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(22, 26, 29, 0.08);
}

.hero__booking {
    width: 100%;
    min-width: 0;
    color: var(--color-ink);
    padding: 28px;
    border-radius: 20px;
    border-color: rgba(255, 255, 255, 0.86);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 252, 250, 0.97) 100%);
    box-shadow: 0 24px 64px rgba(3, 8, 9, 0.22);
    backdrop-filter: blur(12px);
}

.hero__booking-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hero__booking-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.12);
}

.hero__booking-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero__booking .muted {
    margin: 0 0 20px;
    color: var(--color-ink-soft);
    font-size: 0.98rem;
}

.hero__trust-note {
    margin: 16px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(40, 185, 152, 0.08);
    border: 1px solid rgba(40, 185, 152, 0.24);
    border-radius: 999px;
    padding: 6px 13px;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
}

.hero__trust-note::before {
    content: "\2713";
    font-size: 0.82rem;
    color: var(--color-primary);
}

.hero__booking h2,
.booking-sidebar h2 {
    margin: 0 0 16px;
}

.hero__booking-title h2 {
    margin: 0;
}

.booking-panel__header {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(219, 227, 224, 0.72);
}

.booking-panel__eyebrow {
    width: fit-content;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid rgba(40, 185, 152, 0.22);
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.09);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.booking-panel__header h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.booking-panel__title {
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #28b998;
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
}

.booking-panel__header p:not(.booking-panel__eyebrow) {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 0.94rem;
    line-height: 1.45;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-field label {
    color: var(--color-ink-soft);
    font-size: 0.86rem;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea,
.booking-request-form input:not([type="checkbox"]):not([type="radio"]),
.booking-request-form select,
.booking-request-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--color-ink);
    background: var(--color-white);
    font: inherit;
}

.form-field textarea {
    resize: vertical;
}

input[type="date"],
input[type="datetime-local"] {
    cursor: pointer;
}

.form-field input[aria-invalid="true"] {
    border-color: #d65f5f;
    background: #fff8f8;
}

.field-error {
    margin: 0;
    color: #8a1f1f;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

[data-eu-date-visible] {
    letter-spacing: 0.01em;
}

.date-input-wrap {
    position: relative;
}

.date-input-wrap [data-eu-date-visible] {
    padding-right: 40px;
    cursor: pointer;
}

.date-input-wrap::before,
.date-input-wrap::after {
    position: absolute;
    right: 14px;
    pointer-events: none;
    content: "";
}

.date-input-wrap::before {
    top: calc(50% - 9px);
    width: 15px;
    height: 15px;
    border: 2px solid rgba(21, 134, 109, 0.45);
    border-radius: 4px;
}

.date-input-wrap::after {
    top: calc(50% - 5px);
    width: 15px;
    border-top: 2px solid rgba(21, 134, 109, 0.45);
}

.form-field .eu-date-picker {
    position: absolute;
    right: 10px;
    bottom: 8px;
    z-index: -1;
    width: 1px;
    min-height: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

/* On touch devices the native date input becomes the real tap target as an
   invisible overlay: showPicker()/focus() cannot open the picker on iOS
   (WebKit bug 261703), and focusing the visible text field triggers the iOS
   AutoFill bar. The 16px font-size stops iOS from zooming in on focus. */
@media (hover: none) and (pointer: coarse) {
    .form-field .eu-date-picker {
        inset: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        min-height: 100%;
        opacity: 0;
        pointer-events: auto;
        font-size: 16px;
        -webkit-appearance: none;
        appearance: none;
    }

    .form-field .eu-date-picker.eu-date-picker--ios-fallback {
        pointer-events: none;
    }
}

body.ios-return-calendar-open {
    overflow: hidden;
}

.ios-return-calendar {
    position: fixed;
    z-index: 1400;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(9, 15, 17, 0.34);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.ios-return-calendar__dialog {
    width: min(100%, 420px);
    max-height: calc(100dvh - 36px);
    margin: auto;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    color: #111214;
    background: rgba(247, 249, 249, 0.94);
    box-shadow:
        0 24px 60px rgba(3, 8, 9, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
    overflow-y: auto;
}

.ios-return-calendar__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Text for screen readers and browsing agents only, such as the rest of a
   link's name when the visible words alone ("Read more") say too little. */
.sr-only,
.ios-return-calendar__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ios-return-calendar__navigation {
    min-height: 76px;
    padding: 16px 20px 8px;
}

.ios-return-calendar__navigation strong {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.08rem;
    font-weight: 700;
    text-transform: capitalize;
}

.ios-return-calendar__month-disclosure {
    color: #007aff;
    font-size: 1.65rem;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

.ios-return-calendar__navigation-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ios-return-calendar__navigation button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: #007aff;
    background: transparent;
    font: inherit;
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.ios-return-calendar__navigation button:hover,
.ios-return-calendar__navigation button:focus-visible {
    background: rgba(0, 122, 255, 0.1);
}

.ios-return-calendar__navigation button:disabled {
    cursor: default;
    opacity: 0.2;
}

.ios-return-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px 2px;
    padding: 0 16px 18px;
}

.ios-return-calendar__weekday {
    padding: 7px 0 10px;
    color: #7f8185;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.ios-return-calendar__blank,
.ios-return-calendar__day {
    aspect-ratio: 1;
}

.ios-return-calendar__day {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #111214;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.ios-return-calendar__day:hover,
.ios-return-calendar__day:focus-visible {
    color: #007aff;
    background: rgba(0, 122, 255, 0.12);
}

.ios-return-calendar__day--selected {
    color: #007aff;
    background: rgba(0, 122, 255, 0.13);
    font-weight: 700;
}

.ios-return-calendar__day--today:not(.ios-return-calendar__day--selected) {
    color: #007aff;
}

.ios-return-calendar__day--unavailable,
.ios-return-calendar__day--unavailable:hover {
    color: rgba(17, 18, 20, 0.22);
    background: transparent;
    cursor: not-allowed;
}

.ios-return-calendar__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 6px 18px;
    border-top: 1px solid rgba(60, 60, 67, 0.18);
    background: rgba(247, 249, 249, 0.7);
}

.ios-return-calendar__actions button {
    min-width: 70px;
    padding: 9px 2px;
    border: 0;
    border-radius: 8px;
    color: #007aff;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.ios-return-calendar__actions button:hover,
.ios-return-calendar__actions button:focus-visible {
    background: rgba(0, 122, 255, 0.1);
}

.ios-return-calendar__actions [data-ios-calendar-done] {
    font-weight: 700;
}

.booking-trust-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.booking-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px 5px 7px;
    border-radius: 50px;
    background: rgba(40, 185, 152, 0.08);
    border: 1px solid rgba(40, 185, 152, 0.18);
    color: var(--color-ink);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.booking-trust-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #28b998;
    flex-shrink: 0;
    position: relative;
}

.booking-trust-dot::after {
    content: "\2713";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1;
}

.booking-form__button,
.form-note {
    grid-column: 1 / -1;
}

.hero__booking .booking-form__button {
    min-height: 52px;
    margin-top: 2px;
    border-color: transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    box-shadow: 0 12px 22px rgba(21, 134, 109, 0.22);
    font-size: 0.94rem;
    letter-spacing: 0.01em;
}

.hero__booking .booking-form__button:hover {
    background: linear-gradient(135deg, #116d5a, #24aa8c);
    box-shadow: 0 14px 26px rgba(21, 134, 109, 0.28);
}

.form-note {
    display: none;
    margin: 0;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-note.is-visible {
    display: block;
}

.messages {
    padding-top: 18px;
}

.message {
    margin: 0 0 10px;
    padding: 12px 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-muted);
    font-weight: 700;
}

.message--error {
    color: #8a1f1f;
    border-color: #f0b7b7;
    background: #fff1f1;
}

.section {
    padding: 86px 0;
}

.section--muted,
.section--search {
    background: var(--color-muted);
}

.section--search {
    padding: 34px 0;
}

.section--search .booking-form {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    padding: 20px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: 0 8px 22px rgba(22, 26, 29, 0.06);
}

.section--search .booking-form__button {
    grid-column: 1 / -1;
}

.section--search .form-note {
    grid-column: 1 / -1;
}

.mobile-search-panel__summary {
    display: none;
}

.search-summary-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px 18px;
    margin-bottom: 28px;
    padding: 20px 22px;
}

.search-summary-panel p {
    margin: 0;
}

.search-summary-panel__copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.search-summary-panel__range {
    color: var(--color-ink);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.25;
}

.search-summary-panel__days {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid rgba(40, 185, 152, 0.22);
    border-radius: 50px;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.09);
    font-size: 0.84rem;
    font-weight: 900;
    line-height: 1.2;
}

.search-summary-panel__locations {
    color: var(--color-ink-soft);
    font-weight: 800;
}

.search-summary-panel__change {
    display: none;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(40, 185, 152, 0.34);
    border-radius: 8px;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.09);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.search-summary-panel__change:hover {
    border-color: var(--color-primary);
    background: rgba(40, 185, 152, 0.15);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading--compact {
    margin-bottom: 10px;
}

.section-heading--split {
    justify-content: space-between;
    max-width: none;
    gap: 24px;
}

.section-heading h2,
.about-grid h2,
.insurance-card h2,
.detail-panel h2,
.contact-grid h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
}

.section-heading h2.fleet-heading__title {
    color: var(--color-primary-dark);
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--color-warm);
}

.benefit-grid,
.car-grid,
.quote-grid,
.guide-grid,
.insurance-grid,
.contact-grid,
.about-grid,
.detail-grid {
    display: grid;
    gap: 24px;
}

.benefit-grid {
    grid-template-columns: repeat(3, 1fr);
}

.benefit {
    padding: 26px;
}

.benefit span {
    color: var(--color-primary);
    font-weight: 900;
}

.benefit h3,
.guide-grid h3 {
    margin: 10px 0 8px;
}

.benefits-section {
    padding: 72px 0 78px;
    background:
        radial-gradient(circle at 18% 10%, rgba(40, 185, 152, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
    overflow-x: hidden;
}

.benefits-section .container {
    width: calc(100vw - 32px);
    max-width: 1120px;
}

.benefits-section__heading {
    min-width: 0;
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.benefits-section__eyebrow {
    margin: 0 0 10px;
    color: var(--color-primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.benefits-section__title {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.12;
    color: var(--color-primary-dark);
}

.benefits-section__title--eyebrow {
    color: var(--color-primary-dark);
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    min-width: 0;
}

.benefit-card {
    --benefit-card-lift: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
    padding: 26px;
    box-shadow: 0 14px 30px rgba(22, 26, 29, 0.07);
    animation: benefitCardIn 560ms ease both;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.benefit-card::before {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(40, 185, 152, 0.055);
    pointer-events: none;
}

.benefit-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}

.benefit-card:hover,
.benefit-card:focus-within {
    --benefit-card-lift: -4px;
    border-color: rgba(21, 134, 109, 0.3);
    box-shadow: 0 18px 38px rgba(22, 26, 29, 0.11);
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-card--highlight {
    border-color: rgba(21, 134, 109, 0.32);
    background: linear-gradient(180deg, #ffffff 0%, #f3fbf8 100%);
    box-shadow: 0 16px 34px rgba(21, 134, 109, 0.1);
}

.benefit-card:nth-child(1) {
    animation-delay: 50ms;
}

.benefit-card:nth-child(2) {
    animation-delay: 160ms;
}

.benefit-card:nth-child(3) {
    animation-delay: 270ms;
}

.benefit-card__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.benefit-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(40, 185, 152, 0.22);
    border-radius: 50%;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.11);
}

.benefit-card__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-card--highlight .benefit-card__icon {
    color: var(--color-white);
    border-color: rgba(21, 134, 109, 0.2);
    background: linear-gradient(135deg, #137962, var(--color-primary));
}

.benefit-card__title {
    margin: 0 0 12px;
    font-size: 1.28rem;
    line-height: 1.24;
    overflow-wrap: break-word;
}

.benefit-card__text {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 0.96rem;
    overflow-wrap: break-word;
}

.benefit-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding-top: 22px;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.benefit-card__cta::after {
    content: "\2192";
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 160ms ease;
}

.benefit-card__cta:hover,
.benefit-card__cta:focus {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.benefit-card__cta:hover::after,
.benefit-card__cta:focus::after {
    transform: translate(4px, -1px);
}

@keyframes benefitCardIn {
    from {
        opacity: 0;
        transform: translateX(-24px) translateY(var(--benefit-card-lift));
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(var(--benefit-card-lift));
    }
}

@media (prefers-reduced-motion: reduce) {
    .benefit-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.testimonials-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.testimonials-section__heading {
    max-width: 860px;
    margin: 0 auto 36px;
    text-align: center;
}

.testimonials-section__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
}

.testimonials-section__intro {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(22, 26, 29, 0.76);
    font-size: clamp(1.12rem, 1.9vw, 1.35rem);
    font-style: italic;
    line-height: 1.55;
}

.testimonials-summary {
    margin: 0 auto 22px;
}

.testimonials-summary__badge {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card__stars {
    color: #f6b73c;
    letter-spacing: 0.08em;
    line-height: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: 0 12px 28px rgba(22, 26, 29, 0.07);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    border-color: rgba(40, 185, 152, 0.32);
    box-shadow: 0 18px 36px rgba(22, 26, 29, 0.1);
}

.testimonial-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.testimonial-card__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-white);
    background: #4285F4;
    font-weight: 900;
}

.testimonial-card:nth-child(2) .testimonial-card__avatar { background: #EA4335; }
.testimonial-card:nth-child(3) .testimonial-card__avatar { background: #34A853; }
.testimonial-card:nth-child(4) .testimonial-card__avatar { background: #9C27B0; }
.testimonial-card:nth-child(5) .testimonial-card__avatar { background: #FF9800; }
.testimonial-card:nth-child(6) .testimonial-card__avatar { background: #E91E63; }

.testimonial-card__name,
.testimonial-card__meta,
.testimonial-card__text,
.testimonial-card__source {
    margin: 0;
}

.testimonial-card__name {
    color: var(--color-ink);
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.testimonial-card__meta {
    color: var(--color-ink-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.testimonial-card__stars {
    margin-top: 16px;
    font-size: 1rem;
}

.testimonial-card__text {
    flex: 1;
    margin-top: 14px;
    color: var(--color-ink-soft);
    font-size: 0.95rem;
    line-height: 1.58;
    overflow-wrap: anywhere;
}

.testimonial-card__source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 18px;
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.testimonial-card__source span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(40, 185, 152, 0.24);
    border-radius: 50%;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.08);
    font-size: 0.82rem;
}

.testimonials-section__actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.car-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.car-card {
    overflow: hidden;
}

.car-card__image {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
    background: linear-gradient(135deg, #e9f6f3, #ffffff);
}

.car-card__similar {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--color-action);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.car-card__features {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(22, 26, 29, 0.7);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.car-card__image img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 18px;
}

.car-card__body {
    padding: 22px;
}

.card-actions {
    display: grid;
    gap: 12px;
}

.card-actions .button--block {
    width: 100%;
}

.button--gradient {
    border-color: transparent;
    background: linear-gradient(135deg, #199578, var(--color-primary));
    box-shadow: 0 8px 18px rgba(21, 134, 109, 0.2);
}

.button--gradient:hover {
    background: linear-gradient(135deg, #15866d, #24aa8c);
    box-shadow: 0 10px 24px rgba(21, 134, 109, 0.28);
}

.card-actions .text-link {
    justify-self: center;
}

.car-card__heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.car-card h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
}

.price {
    min-width: 96px;
    margin: 0;
    color: var(--color-ink-soft);
    text-align: right;
    line-height: 1.2;
}

.price strong,
.price span {
    display: block;
}

.price strong {
    color: var(--color-primary-dark);
}

.price--total {
    min-width: 132px;
}

.car-specs,
.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.car-specs div,
.detail-specs div {
    padding: 12px;
    border-radius: 8px;
    background: var(--color-muted);
}

dt {
    color: var(--color-ink-soft);
    font-size: 0.78rem;
    font-weight: 800;
}

dd {
    margin: 0;
    font-weight: 900;
}

.about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
}

.about-section__brand-highlight {
    color: var(--color-primary-dark);
}

.about-media {
    min-height: 360px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e9f6f3, #ffffff);
    border: 1px solid rgba(40, 185, 152, 0.25);
    box-shadow:
        0 18px 42px rgba(21, 134, 109, 0.15),
        0 6px 14px rgba(13, 38, 31, 0.08);
    overflow: hidden;
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.compact-list {
    margin: 14px 0 20px;
    font-size: 0.95rem;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--color-primary-dark);
    content: "+";
    font-weight: 900;
}

.quote-grid,
.guide-grid,
.included-grid {
    grid-template-columns: repeat(3, 1fr);
}

.quote-grid {
    grid-template-columns: repeat(2, 1fr);
}

.quote-grid figure,
.guide-grid article,
.guide-card,
.included-item {
    margin: 0;
    padding: 26px;
}

.quote-grid blockquote {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.quote-grid figcaption,
.muted {
    color: var(--color-ink-soft);
}

.guide-grid p {
    margin: 0;
    color: var(--color-primary-dark);
    font-weight: 900;
}

.included-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.included-item h3,
.guide-card h3 {
    margin: 8px 0;
    line-height: 1.25;
}

.included-item p,
.guide-card span {
    color: var(--color-ink-soft);
}

.included-item p,
.guide-card span {
    display: block;
    margin: 0;
}

.guide-card {
    display: block;
    transition: transform 160ms ease, border-color 160ms ease;
}

.guide-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.empty-state {
    padding: 28px;
    color: var(--color-ink-soft);
    text-align: center;
}

.empty-state h3 {
    margin: 0 0 8px;
    color: var(--color-ink);
}

.empty-state p {
    margin: 0;
}

/* Phone, email and WhatsApp buttons for rentals longer than the online limit. */
.long-rental-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    text-align: center;
}

.long-rental-contact__link {
    /* Wide enough for the email address on one line; narrower columns wrap. */
    flex: 1 1 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 10px;
    border: 1px solid var(--color-primary);
    border-radius: 10px;
    color: var(--color-primary-dark);
    background: var(--color-white);
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.long-rental-contact__link:hover,
.long-rental-contact__link:focus-visible {
    transform: translateY(-1px);
    color: var(--color-white);
    background: var(--color-action);
}

.long-rental-contact__link small {
    font-size: 0.8rem;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.long-rental-contact__icon {
    display: block;
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-hero {
    padding: 86px 0;
    color: var(--color-white);
    background:
        linear-gradient(90deg, rgba(22, 26, 29, 0.92), rgba(22, 26, 29, 0.68)),
        url("../img/pages/prime-rent-a-car-chania2-1536x1023.jpg") center / cover;
}

@media (min-width: 981px) {
    .page-hero--fleet,
    .page-hero--faqs,
    .page-hero--contact,
    .page-hero--insurance {
        background:
            linear-gradient(
                90deg,
                rgba(18, 23, 27, 0.8) 0%,
                rgba(18, 23, 27, 0.42) 48%,
                rgba(18, 23, 27, 0.16) 100%
            ),
            url("../img/pages/chania.webp") center 32% / cover no-repeat;
    }
}

.page-hero--compact {
    padding: 64px 0;
}

.page-hero p {
    max-width: 720px;
    font-size: 1.12rem;
}

.detail-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 24px;
}

.detail-image {
    display: grid;
    place-items: center;
    min-height: 430px;
    border-radius: 8px;
    background: linear-gradient(135deg, #edf7f4, #ffffff);
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    padding: 28px;
}

.detail-panel,
.booking-sidebar,
.insurance-card,
.contact-form {
    padding: 26px;
}

.contact-form__trap,
.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 260px;
    gap: 8px;
}

.contact-success__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(40, 185, 152, 0.12);
    color: var(--color-primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 8px;
}

.contact-success h3 {
    margin: 0;
    font-size: 1.3rem;
}

.contact-success p {
    margin: 0;
    color: var(--color-ink-soft);
}

.form-error {
    margin: 4px 0 0;
    color: #8a1f1f;
    font-size: 0.85rem;
    font-weight: 600;
}

.booking-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-link {
    display: inline-block;
    margin-top: 14px;
}

.booking-sidebar .booking-form,
.contact-form {
    grid-template-columns: 1fr;
}

.booking-sidebar .booking-form__button,
.booking-sidebar .form-note {
    grid-column: auto;
}

.insurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insurance-card--dark {
    color: var(--color-white);
    border-color: var(--color-ink);
    background: var(--color-ink);
}

.insurance-card--dark .eyebrow,
.insurance-card--dark .check-list li::before {
    color: var(--color-warm);
}

.insurance-page {
    overflow-x: hidden;
    background: var(--color-white);
}

.insurance-options {
    padding: 52px 0 78px;
    border-bottom: 1px solid rgba(219, 227, 224, 0.8);
    background:
        linear-gradient(135deg, rgba(40, 185, 152, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.insurance-options__inner {
    max-width: 900px;
}

.insurance-options__plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.insurance-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 236px;
    padding: 24px;
    border: 1px solid rgba(21, 134, 109, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 38px rgba(22, 26, 29, 0.07);
}

.insurance-plan-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 8px 0 0 8px;
    background: var(--color-primary);
}

.insurance-plan-card--featured {
    border-color: rgba(22, 26, 29, 0.18);
    background:
        linear-gradient(135deg, rgba(40, 185, 152, 0.08), rgba(255, 255, 255, 0.92)),
        #ffffff;
}

.insurance-plan-card__label {
    width: fit-content;
    margin: 0 0 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.1);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.insurance-plan-card h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.15;
}

.insurance-plan-card p:not(.insurance-plan-card__label) {
    margin: 12px 0 0;
    color: var(--color-ink-soft);
    line-height: 1.55;
}

.insurance-plan-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 18px 0 0;
    color: var(--color-ink);
    list-style: none;
    font-weight: 800;
}

.insurance-plan-card li {
    position: relative;
    padding-left: 24px;
}

.insurance-plan-card li::before {
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--color-primary-dark);
    content: "+";
    font-weight: 900;
}

.insurance-options__exclusion {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 6px 6px 0;
    color: var(--color-ink-soft);
    background: rgba(40, 185, 152, 0.08);
    line-height: 1.55;
}

.insurance-options__exclusion strong {
    color: var(--color-ink);
}

.insurance-feature {
    padding: 96px 0;
}

.insurance-feature--dark {
    color: var(--color-white);
    background:
        radial-gradient(circle at 95% 8%, rgba(40, 185, 152, 0.14), transparent 28%),
        #050707;
}

.insurance-feature--standard {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.insurance-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 58px;
    align-items: start;
}

.insurance-feature__grid--standard {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.insurance-feature__media {
    margin: 0;
    min-height: 560px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(8, 15, 16, 0.14);
}

.insurance-feature__media img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.insurance-feature__content {
    min-width: 0;
}

.insurance-feature__content h2,
.insurance-section-heading h2,
.insurance-cta h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.1;
}

.insurance-feature__content h3 {
    margin: 0 0 12px;
    font-size: 1.02rem;
    line-height: 1.35;
}

.insurance-feature__content p {
    margin: 16px 0 0;
    color: inherit;
}

.insurance-feature--dark .eyebrow,
.insurance-comparison .eyebrow {
    color: var(--color-warm);
}

.insurance-divider {
    height: 1px;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.14);
}

.insurance-divider--dark {
    background: rgba(22, 26, 29, 0.16);
}

.insurance-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insurance-list li {
    position: relative;
    padding-left: 26px;
}

.insurance-list li::before {
    position: absolute;
    top: 0.04em;
    left: 0;
    color: var(--color-warm);
    content: "+";
    font-weight: 900;
}

.insurance-list--dark li::before {
    color: var(--color-primary-dark);
}

.insurance-price-note {
    margin-top: 24px !important;
    padding: 15px 16px;
    border: 1px solid rgba(246, 200, 95, 0.34);
    border-radius: 8px;
    color: var(--color-warm) !important;
    background: rgba(246, 200, 95, 0.08);
    font-weight: 800;
}

.insurance-comparison {
    padding: 100px 0;
    color: var(--color-white);
    background:
        radial-gradient(circle at 8% 12%, rgba(40, 185, 152, 0.12), transparent 30%),
        #050707;
}

.insurance-section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.insurance-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.insurance-table {
    min-width: 760px;
}

.insurance-table th,
.insurance-table td {
    border-color: rgba(255, 255, 255, 0.14);
}

.insurance-table th {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.insurance-table td {
    color: rgba(255, 255, 255, 0.9);
}

.insurance-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.insurance-note-block {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.insurance-note-block h2 {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-size: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.insurance-note-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

.insurance-note-block p + p {
    margin-top: 12px;
}

.insurance-cta {
    color: var(--color-white);
    background:
        linear-gradient(90deg, rgba(5, 7, 7, 0.94), rgba(5, 7, 7, 0.56)),
        url("../img/bg22.jpg") center / cover no-repeat;
    overflow: hidden;
}

.insurance-cta__inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 34px;
    align-items: center;
    min-height: 360px;
    padding: 76px 0;
}

.insurance-cta__copy {
    align-self: center;
}

.insurance-cta__copy p {
    max-width: 650px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.86);
}

.insurance-cta__copy a:not(.button) {
    color: var(--color-warm);
    font-weight: 900;
}

.insurance-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
}

table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

th,
td {
    padding: 16px;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
}

th {
    color: var(--color-primary-dark);
    background: #eef8f5;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 900px;
}

.faq-list details {
    padding: 20px 24px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.booking-flow-grid,
.quote-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.booking-summary-card,
.booking-request-form,
.quote-card,
.success-card {
    padding: 26px;
}

.booking-summary-card img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    background: var(--color-muted);
}

.booking-summary-card {
    position: sticky;
    top: 100px;
}

.booking-summary-card h2 {
    margin: 0 0 16px;
    line-height: 1.15;
}

.booking-summary-total {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-muted);
}

.booking-summary-total span,
.booking-summary-total small,
.booking-summary-selection {
    color: var(--color-ink-soft);
}

.booking-summary-total span {
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.booking-summary-total strong {
    color: var(--color-primary-dark);
    font-size: 1.45rem;
    line-height: 1.16;
}

.booking-summary-total small {
    font-weight: 700;
}

.booking-summary-selection {
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 800;
}

.booking-summary-selection p {
    margin: 0;
}

.booking-summary-days {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(40, 185, 152, 0.1);
    border: 1px solid rgba(40, 185, 152, 0.22);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.booking-summary-days__icon {
    flex-shrink: 0;
}

.booking-summary-specs {
    margin-bottom: 0;
}

.booking-request-form {
    display: grid;
    gap: 26px;
}

.booking-request-form h2,
.quote-card h2,
.success-card h2 {
    margin: 0;
}

.form-section-heading {
    display: grid;
    gap: 4px;
}

.form-section-heading p {
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.rental-detail-grid {
    display: grid;
    gap: 18px;
}

.rental-detail-group {
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
}

.rental-detail-group h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.locked-rental-details {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-muted);
}

.locked-rental-details h2,
.locked-rental-details p {
    margin: 0;
}

.locked-rental-details h2 {
    color: var(--color-ink);
    font-size: 1.3rem;
}

.locked-rental-details__locations {
    margin-top: 6px !important;
    color: var(--color-ink-soft);
    font-weight: 800;
}

.locked-rental-details .text-link {
    flex: 0 0 auto;
}

.field-help {
    margin: 0;
    color: var(--color-ink-soft);
    font-size: 0.9rem;
}

.step-list {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding-left: 22px;
    color: var(--color-ink-soft);
    font-weight: 800;
}

.extras-list,
.extras-field ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.extra-option,
.terms-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.extra-option {
    min-height: 76px;
    padding: 14px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
}

.extra-option input,
.terms-field input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--color-primary-dark);
}

.extra-option__body {
    display: grid;
    gap: 3px;
}

.extra-option__name {
    color: var(--color-ink);
    font-weight: 900;
    line-height: 1.25;
}

.extra-option__note {
    color: var(--color-ink-soft);
    font-size: 0.88rem;
}

.terms-field {
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-muted);
    font-weight: 700;
}

.terms-field__control {
    display: inline-flex;
}

.terms-field__text {
    display: block;
}

.terms-field__label {
    cursor: pointer;
}

.terms-field__link {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--color-action-text);
    background: transparent;
    font: inherit;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    cursor: pointer;
}

.terms-field__link:hover,
.terms-field__link:focus {
    color: var(--color-action-hover);
}

.rental-policy-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}

.rental-policy-modal[hidden] {
    display: none;
}

.rental-policy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 9, 0.68);
    backdrop-filter: blur(3px);
}

.rental-policy-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(760px, calc(100vh - 40px));
    overflow: auto;
    padding: 30px;
    border: 1px solid rgba(219, 227, 224, 0.9);
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: 0 24px 70px rgba(3, 8, 9, 0.28);
}

.rental-policy-modal__dialog h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.12;
}

.rental-policy-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    color: var(--color-ink);
    background: var(--color-white);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.rental-policy-modal__close:hover {
    color: var(--color-primary-dark);
    border-color: rgba(40, 185, 152, 0.36);
}

.rental-policy-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding-left: 22px;
    color: var(--color-ink-soft);
    font-weight: 700;
    line-height: 1.45;
}

.rental-policy-list li::marker {
    color: var(--color-primary-dark);
}

.rental-policy-modal__button {
    margin-top: 24px;
}

body.rental-policy-modal-open {
    overflow: hidden;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.form-submit-row p {
    margin: 0;
}

.errorlist {
    margin: 6px 0 0;
    padding: 0;
    color: #8a1f1f;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-errors {
    padding: 12px 16px;
    border: 1px solid #f0b7b7;
    border-radius: 8px;
    color: #8a1f1f;
    background: #fff1f1;
}

.quote-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.quote-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
}

.quote-list dd {
    text-align: right;
}

.quote-list__total {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
}

.quote-list__discount dt,
.quote-list__discount dd {
    color: var(--color-primary-dark);
    font-weight: 800;
}

.booking-summary-discount {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.quote-expiry,
.confirmation-note p {
    color: var(--color-ink-soft);
}

.quote-expiry {
    margin: 8px 0 0;
    font-weight: 800;
}

.confirmation-note {
    margin: 22px 0 18px;
    padding: 16px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-muted);
}

.confirmation-note h3,
.confirmation-note p {
    margin: 0;
}

.confirmation-note p {
    margin-top: 6px;
}

/* Cloudflare Turnstile box above the Confirm Booking button; the height is
   kept so the button does not jump when the box appears. */
.turnstile-box {
    min-height: 65px;
    margin: 0 0 12px;
}

.turnstile-wait {
    margin: 0 0 12px;
}

.success-card {
    max-width: 860px;
}

.success-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.success-actions .button,
.success-actions .button--outline {
    width: auto;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.contact-list p {
    margin: 0;
}

.support-topics {
    margin-top: 28px;
}

.support-topics h3 {
    margin-bottom: 8px;
}

.info-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.info-strip h2,
.info-strip p {
    margin: 0;
}

.text-link {
    color: var(--color-primary-dark);
    font-weight: 900;
}

.site-footer {
    color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(135deg, rgba(3, 6, 7, 0.98), rgba(9, 17, 18, 0.96)),
        #050707;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(210px, 1.35fr) 0.78fr 1.05fr 1.05fr 1fr;
    gap: 30px;
    padding: 64px 0;
}

.site-footer h2 {
    margin: 0 0 16px;
    color: var(--color-white);
    font-size: 1rem;
}

.site-footer p {
    margin: 14px 0 0;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
}

.footer-brand p,
.footer-trust p {
    max-width: 280px;
}

.footer-google-reviews {
    display: block;
    width: min(100%, 190px);
    height: auto;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .navbar__links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        background: rgba(9, 17, 18, 0.98);
        box-shadow: 0 18px 45px rgba(3, 8, 9, 0.22);
    }

    .navbar__links.is-open {
        display: flex;
    }

    .hero__inner,
    .about-grid,
    .detail-grid,
    .contact-grid,
    .booking-flow-grid,
    .quote-layout,
    .info-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-media {
        order: 2;
    }

    .brand__logo--footer {
        height: 50px;
    }

    .brand__logo--header {
        height: 48px;
        max-width: 210px;
    }

    .site-header--home .navbar__links {
        border-color: rgba(255, 255, 255, 0.16);
        background: rgba(5, 16, 17, 0.96);
        box-shadow: 0 18px 45px rgba(3, 8, 9, 0.22);
    }

    /* Mobile straddle: the photo becomes a fixed-height band at the top of the
       hero; everything below it is a soft mint that matches the top of the
       benefits section, so the booking card sits half on the photo and half on
       the same tint as "Why Book with Prime". --hero-band is the single knob. */
    .hero {
        --hero-band: 582px;
        overflow: visible;
        background-color: #e9f7f4;
    }

    .hero::before,
    .hero::after {
        bottom: auto;
        height: var(--hero-band);
    }

    .hero::before {
        background-position: 40% center;
    }

    .hero__inner {
        gap: 56px;
        min-height: auto;
        padding: 142px 0 40px;
    }

    /* Start the benefits section from the same mint as the hero's lower area so
       the booking card sits on one continuous tint with no white seam. */
    .benefits-section {
        background:
            radial-gradient(circle at 18% 10%, rgba(40, 185, 152, 0.08), transparent 28%),
            linear-gradient(180deg, #e9f7f4 0%, #f8fbfa 100%);
    }

    .benefit-card {
        min-height: 0;
    }

    .booking-sidebar,
    .booking-summary-card {
        position: static;
    }

    .benefit-grid,
    .benefits-grid,
    .car-grid,
    .testimonials-grid,
    .guide-grid,
    .included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section--search .booking-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section--search .booking-form__button {
        grid-column: 1 / -1;
    }

    .insurance-options {
        padding: 46px 0 66px;
    }

    .insurance-feature {
        padding: 74px 0;
    }

    .insurance-feature__grid,
    .insurance-feature__grid--standard,
    .insurance-notes-grid,
    .insurance-cta__inner {
        grid-template-columns: 1fr;
    }

    .insurance-feature__grid {
        gap: 34px;
    }

    .insurance-feature__media,
    .insurance-feature__media img {
        min-height: 420px;
    }

    .insurance-cta__inner {
        min-height: auto;
        padding-top: 64px;
    }
}

@media (max-width: 680px) {
    .locked-rental-details {
        flex-direction: column;
    }

    .top-bar__inner,
    .top-bar__links,
    .section-heading--split,
    .footer-bottom .container,
    .car-card__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-bar__links {
        gap: 6px;
    }

    .brand {
        min-width: 0;
    }

    .brand__logo--header {
        height: 38px;
        max-width: min(178px, 43vw);
    }

    .navbar__language {
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
    }

    .navbar__language .language-menu__trigger {
        min-height: 34px;
        border-color: rgba(255, 255, 255, 0.3);
        /* Here the pill sits on the brightest part of the photo: 0.65 keeps the
           white label above 4.5:1. */
        background: rgba(5, 16, 17, 0.65);
        backdrop-filter: blur(5px);
    }

    .navbar__links {
        top: calc(100% + 52px);
    }

    .navbar__inner {
        gap: 10px;
    }

    .navbar__right {
        gap: 8px;
    }

    .navbar__contact-icons {
        gap: 6px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    .navbar__contact-icon {
        min-width: 34px;
        height: 40px;
        padding: 4px 2px;
    }

    .navbar__contact-icon img {
        width: auto;
        height: 26px;
        max-width: none;
        max-height: 26px;
    }

    .navbar__contact-icon--viber img {
        height: 29px;
        max-height: 29px;
    }

    .brand__text strong {
        font-size: 1rem;
    }

    .hero {
        --hero-band: 654px;
    }

    .hero__inner {
        padding: 214px 0 40px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    .insurance-options__plans {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .insurance-options__plans ul {
        display: grid;
    }

    .hero__lead {
        font-size: 1rem;
    }

    .h1-sub {
        color: rgba(255, 255, 255, 0.88);
        text-shadow: 0 1px 14px rgba(3, 10, 12, 0.65);
    }

    .hero__booking {
        padding: 14px;
    }

    .hero-points {
        display: none;
    }

    .hero-points-mobile {
        display: block;
        position: relative;
        height: 44px;
        margin-top: 18px;
    }

    .hero-points-mobile span {
        position: static;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px 10px 14px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 50px;
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(10px);
        font-size: 1rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 1;
    }

    .hero-points-mobile span::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #28b998;
        flex-shrink: 0;
    }

    .hero__booking-icon {
        width: 38px;
        height: 38px;
    }

    .benefits-section {
        padding: 56px 0;
        overflow-x: hidden;
    }

    .benefits-section .container {
        width: calc(100vw - 32px);
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefits-section__heading {
        width: 100%;
        max-width: 100%;
        margin-bottom: 26px;
    }

    .benefits-section__title {
        font-size: 1.85rem;
        overflow-wrap: anywhere;
    }

    .benefit-card {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        padding: 24px;
        justify-self: center;
    }

    .benefit-card__top {
        margin-bottom: 18px;
    }

    .benefit-card__icon {
        width: 46px;
        height: 46px;
    }

    .benefit-card__title,
    .benefit-card__text {
        overflow-wrap: anywhere;
    }

    .testimonials-section__heading {
        margin-bottom: 28px;
    }

    .testimonials-summary {
        margin-bottom: 18px;
    }

    .testimonials-section__intro {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .testimonial-card {
        padding: 20px;
    }

    .section--search .booking-form,
    .benefit-grid,
    .benefits-grid,
    .testimonials-grid,
    .car-grid,
    .quote-grid,
    .guide-grid,
    .included-grid,
    .insurance-grid,
    .form-grid,
    .form-grid--compact,
    .extras-list,
    .extras-field ul,
    .car-specs,
    .detail-specs {
        grid-template-columns: 1fr;
    }

    .section--search {
        padding: 18px 0;
    }

    .section--search-has-results:not(.is-mobile-search-open) {
        display: none;
    }

    .section--search-has-results .mobile-search-panel__summary {
        display: none;
    }

    .section--search-has-results .mobile-search-panel__content {
        margin-top: 0;
    }

    .section--fleet-results {
        padding-top: 28px;
    }

    .mobile-search-panel__summary {
        position: relative;
        display: grid;
        gap: 4px;
        min-height: 76px;
        padding: 16px 52px 16px 18px;
        border: 1px solid rgba(40, 185, 152, 0.22);
        border-radius: 8px;
        background: var(--color-white);
        box-shadow: 0 8px 22px rgba(22, 26, 29, 0.06);
        cursor: pointer;
        list-style: none;
    }

    .mobile-search-panel__summary::-webkit-details-marker {
        display: none;
    }

    .mobile-search-panel__summary::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--color-primary-dark);
        border-bottom: 2px solid var(--color-primary-dark);
        transform: translateY(-62%) rotate(45deg);
        transition: transform 160ms ease;
    }

    .mobile-search-panel[open] .mobile-search-panel__summary::after {
        transform: translateY(-38%) rotate(225deg);
    }

    .mobile-search-panel__label {
        color: var(--color-primary-dark);
        font-size: 0.78rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .mobile-search-panel__details {
        color: var(--color-ink);
        font-size: 1.02rem;
        font-weight: 900;
        line-height: 1.35;
    }

    .mobile-search-panel__content {
        margin-top: 12px;
    }

    .search-summary-panel {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
        margin-bottom: 22px;
        padding: 18px;
    }

    .search-summary-panel__range {
        font-size: 1.22rem;
    }

    .search-summary-panel__locations {
        font-size: 0.96rem;
        line-height: 1.35;
    }

    .search-summary-panel__change {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: start;
    }

    .benefits-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .section {
        padding: 60px 0;
    }

    .insurance-feature,
    .insurance-comparison {
        padding: 60px 0;
    }

    .insurance-feature__media,
    .insurance-feature__media img {
        min-height: 280px;
    }

    .insurance-feature__content h2,
    .insurance-section-heading h2,
    .insurance-cta h2 {
        font-size: 2rem;
    }

    .insurance-table {
        min-width: 680px;
    }

    .insurance-note-block {
        padding: 22px;
    }

    .insurance-cta__inner {
        padding-top: 56px;
    }

    .insurance-cta__actions .button {
        width: 100%;
    }

    .price {
        text-align: left;
    }

    .quote-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .quote-list dd {
        text-align: left;
    }

    .success-actions .button,
    .success-actions .button--outline,
    .form-submit-row .button {
        width: 100%;
    }

    .rental-policy-modal {
        padding: 12px;
    }

    .rental-policy-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 24px 18px;
    }

    .rental-policy-modal__dialog h2 {
        padding-right: 44px;
        font-size: 1.65rem;
    }

    .rental-policy-list {
        gap: 12px;
        padding-left: 20px;
        font-size: 0.94rem;
    }

    .rental-policy-modal__button {
        width: 100%;
    }
}

/* Keep the homepage hero H1 slightly smaller without affecting other page heroes. */
.hero h1 {
    font-size: clamp(2.15rem, 4.5vw, 3.2rem);
}


/* Blog: article list, article page and tag pages. */
@media (min-width: 981px) {
    .page-hero--blog {
        background:
            linear-gradient(
                90deg,
                rgba(18, 23, 27, 0.8) 0%,
                rgba(18, 23, 27, 0.42) 48%,
                rgba(18, 23, 27, 0.16) 100%
            ),
            url("../img/pages/chania.webp") center 32% / cover no-repeat;
    }
}

.page-hero--blog .eyebrow a {
    color: inherit;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(22, 26, 29, 0.08);
}

.blog-card__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.blog-card__body time,
.blog-layout time {
    color: var(--color-ink-soft);
    font-size: 0.9rem;
}

.blog-card__body h2 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.blog-card__body h2 a:hover,
.blog-card__body h2 a:focus-visible {
    color: var(--color-primary-dark);
}

.blog-card__body p {
    margin: 0;
    color: var(--color-ink-soft);
}

.blog-card__more {
    margin-top: auto;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.blog-back {
    margin: 0 0 22px;
}

.blog-back a,
.blog-more__all {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.blog-article__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    margin-bottom: 22px;
    border-radius: 8px;
    object-fit: cover;
}

.blog-article__body p {
    margin: 0 0 18px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.blog-tags a {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: rgba(40, 185, 152, 0.12);
    font-size: 0.88rem;
    font-weight: 600;
}

.blog-aside {
    display: grid;
    gap: 24px;
}

.blog-cta h2,
.blog-more h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.blog-cta p {
    margin: 0 0 18px;
    color: var(--color-ink-soft);
}

.blog-more {
    display: grid;
    gap: 12px;
}

.blog-more a:not(.blog-more__all):hover,
.blog-more a:not(.blog-more__all):focus-visible {
    color: var(--color-primary-dark);
}

@media (max-width: 980px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}
