/* Anker Vehicle Hire: standalone site styles */

:root {
    --blue: #253571;
    --red: #b92025;
    --red-bright: #cc1e24;
    --link-blue: #5472d2;
    --text: #626262;
    --text-mid: #686868;
    --text-dark: #383838;
    --heading-dark: #474747;
    --grey-bg: #f4f4f4;
    --grey-panel: #e8e8e8;
    --page-bg: #fcfcfc;
    --footer-link: #cfe0f1;
    --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: var(--text);
    background: var(--page-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 400; margin: 0 0 15px; line-height: 1.5; }
p { margin: 0 0 15px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 900px; }
.section { padding: 50px 0; }
.section--tight { padding: 20px 0; }

.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 15px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 0;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
    font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn--white { background: #fff; color: #666; }
.btn--white:hover { background: var(--blue); color: #fff; }
.btn--red { background: var(--red); color: #fff; text-transform: none; }
.btn--red:hover { background: #9c1a1f; }
.btn--blue { background: var(--blue); color: #fff; text-transform: none; }
.btn--blue:hover { background: #1b2757; }
.btn--outline { background: transparent; color: var(--link-blue); border: 2px solid var(--link-blue); padding: 13px 19px; }
.btn--outline:hover { background: var(--link-blue); color: #fff; }
.btn--block { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; }
.btn .icon { font-size: 18px; }

/* WhatsApp bookings: shared links work without JavaScript. */
.btn--whatsapp, .whatsapp-float {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: #087f5b; color: #fff; font-weight: 700; text-transform: none;
    min-height: 48px;
}
.btn--whatsapp:hover, .whatsapp-float:hover { background: #066344; color: #fff; text-decoration: none; }
.btn--whatsapp:focus-visible, .whatsapp-float:focus-visible { outline: 3px solid #f5b800; outline-offset: 4px; }
.btn--whatsapp .icon, .whatsapp-float .icon { flex-shrink: 0; width: 24px; height: 24px; }
.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px;
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 60; padding: 14px 20px; border-radius: 999px;
    box-shadow: 0 4px 18px rgba(0,0,0,.2); font-size: 15px; line-height: 24px;
    max-width: calc(100vw - 48px);
}

.whatsapp-float.is-hidden { visibility: hidden; pointer-events: none; }

/* ---------- Top bar + header ---------- */
.action-bar { background: var(--blue); height: 45px; }
.action-bar__inner { display: flex; justify-content: flex-end; align-items: center; height: 45px; }
.social { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.social a { color: #fff; font-size: 16px; opacity: .85; }
.social a:hover { opacity: 1; }

.site-header { background: #fff; position: relative; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.site-header__inner { display: flex; flex-direction: column; align-items: center; padding-top: 20px; }
.logo { display: block; }
.logo__main { width: 624px; max-width: 100%; height: auto; }
.logo__mobile { display: none; }
.menu-toggle { display: none; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a,
.main-nav .menu__label {
    display: block;
    padding: 0 18px;
    line-height: 60px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    cursor: pointer;
    position: relative;
}
.main-nav .menu > li > a::after,
.main-nav .menu__label::after {
    content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 2px;
    background: var(--red); transform: scaleX(0); transition: transform .2s;
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > li:hover > .menu__label::after,
.main-nav .menu > li.is-active > a::after,
.main-nav .menu > li.is-active > .menu__label::after { transform: scaleX(1); }
.main-nav .menu > li.is-active > a,
.main-nav .menu > li.is-active > .menu__label { color: #727272; }
.main-nav .menu > li > a:hover { text-decoration: none; }
.sub-toggle { display: none; }

.sub-menu {
    list-style: none; margin: 0; padding: 0;
    position: absolute; top: 100%; left: 0; min-width: 210px;
    background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08); border-top: 3px solid var(--red);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 20px; color: var(--text); font-size: 14px; border-bottom: 1px solid #f0f0f0; text-transform: uppercase; letter-spacing: 1px; }
.sub-menu a:hover { color: var(--red); background: #fafafa; text-decoration: none; }

/* ---------- Home: branch selector ---------- */
.is-bare { background: #fff; }
.branch-select { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; min-height: calc(100vh - 150px); }
.branch-select__panel {
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: center; padding: 50px 20px; min-height: 430px;
}
.branch-select__box { background: rgba(255,255,255,.9); padding: 40px 30px 30px; width: 100%; max-width: 560px; text-align: center; }
.eyebrow { color: #b92124; font-size: 16px; letter-spacing: 2px; font-weight: 500; margin-bottom: 10px; }
.branch-select__box h2 { font-size: 30px; line-height: 35px; color: var(--blue); font-weight: 700; margin-bottom: 25px; }

/* ---------- Page banner ---------- */
.page-banner { background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; }
.page-banner--large { padding: 80px 0 110px; }
.page-banner--small { padding: 20px 0; }
.page-banner__content { max-width: 610px; margin: 0 auto; text-align: center; }
.page-banner--left .page-banner__content { margin: 0; max-width: 66%; text-align: left; }
.page-banner__title { font-size: 30px; line-height: 45px; color: #fff; margin: 0; }
.page-banner--large .page-banner__title { margin-bottom: 15px; }
.page-banner__text { font-size: 18px; line-height: 27px; margin: 0; }

/* ---------- Branch page hero ---------- */
.hero { background-size: cover; background-position: center; padding: 100px 0; min-height: 600px; display: flex; align-items: center; }
.hero__inner { text-align: center; padding: 30px 60px; }
.hero__eyebrow { color: #fff; font-size: 20px; line-height: 30px; letter-spacing: 2px; margin: 0; }
.hero__title { font-size: 60px; line-height: 72px; color: #dbdbdb; margin: 0 0 5px; }
.hero__ticks { list-style: none; padding: 0; margin: 0 40px 20px; color: #fff; font-size: 18px; line-height: 1.6; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

.intro-row { background: #fff; padding-top: 30px; }
.intro-row__inner { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 30px; padding-bottom: 60px; }
.intro-row__text { padding: 20px 30px 0; }
.intro-row__text h2 { color: var(--blue); font-size: 30px; line-height: 1.5; margin-bottom: 15px; }
.intro-row__text p { font-size: 22px; line-height: 1.5; color: #777; }
.intro-row__action { text-align: center; padding: 0 20px 20px; }

.map-row iframe { display: block; width: 100%; height: 570px; border: 0; }
.map-row--grey { background: var(--grey-panel); }

.info-boxes { margin-top: -120px; margin-bottom: 50px; position: relative; z-index: 2; }
.info-boxes__inner { display: grid; grid-template-columns: 1fr 1fr; }
.info-box { padding: 30px 40px; color: #fff; text-align: center; font-size: 16px; line-height: 1.6; }
.info-box p { margin: 0 0 10px; }
.info-box--blue { background: var(--blue); }
.info-box--red { background: var(--red); }
.info-box__title { font-size: 16px; font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; color: #fff; }
.info-box__phones { font-weight: 700; font-size: 15px; }
.info-box a { color: #fff; text-decoration: underline; }

/* ---------- Europe banner ---------- */
.europe-banner { background: var(--grey-bg); padding: 30px 0 20px; margin-bottom: 70px; }
.europe-banner__inner { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 30px; }
.europe-banner__text { padding: 20px; }
.europe-banner h2 { font-size: 24px; line-height: 36px; color: var(--text-mid); }
.europe-banner p { font-size: 16px; line-height: 24px; color: var(--text-mid); margin: 0; }
.europe-banner__action { text-align: center; }

/* ---------- About / split panels ---------- */
.split { display: grid; }
.split--4-8 { grid-template-columns: 1fr 2fr; }
.split--6-6 { grid-template-columns: 1fr 1fr; }
.split__panel { padding: 40px; }
.split__panel--red { background: var(--red); color: #fff; padding: 40px 50px; }
.split__panel--red h2 { font-size: 22px; line-height: 33px; color: #fff; }
.split__panel--red p { font-size: 18px; line-height: 27px; }
.split__panel--red .lead { font-size: 18px; }
.split__panel--red a { color: #fff; }
.split__panel--grey { background: var(--grey-panel); }
.split__panel--grey p { font-size: 16px; line-height: 24px; color: var(--text-mid); }
.split__panel--white { background: #fff; padding: 20px 30px 30px; }
.split__subhead { margin-top: 25px; }
.split--overlap { margin-top: -110px; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.form-split-section { padding-top: 0; }
.contact-lines { font-size: 15px !important; line-height: 1.8 !important; }

.feature-boxes { padding-top: 20px; }
.feature-box { border: 1px dashed #e0e0e0; padding: 20px; }
.feature-box h3 { color: var(--red); font-size: 22px; line-height: 33px; }
.feature-box p { font-size: 16px; line-height: 24px; color: var(--text-mid); margin: 0; }
.feature-box__icon { margin-bottom: 10px; width: 88px; }

/* ---------- Testimonials ---------- */
.reviews { background: var(--grey-panel); padding: 50px 0; }
.reviews__title { text-align: center; color: var(--blue); font-size: 30px; margin-bottom: 30px; }
.review { margin: 0; background: #fff; padding: 25px 30px; }
.review__icon { width: 88px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--text-mid); font-style: italic; }
.review figcaption { font-weight: 700; color: var(--blue); }

/* ---------- Vehicle listing ---------- */
.listing-intro { text-align: center; padding-bottom: 20px; }
.listing-intro h2 { color: var(--blue); font-size: 22px; line-height: 1.5; }
.listing-intro p { font-size: 16px; line-height: 1.6; color: var(--text-mid); }
.vehicle-grid { align-items: stretch; }
.vehicle-card { background: #fff; padding: 20px; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.vehicle-card__img { display: block; margin-bottom: 15px; }
.vehicle-card__img img { width: 100%; aspect-ratio: 2000 / 1660; object-fit: cover; border: 1px solid #ebebeb; }
.vehicle-card__title { font-size: 18px; font-weight: 700; color: var(--red); margin: 0; line-height: 1.5; }
.vehicle-card__eg { font-size: 16px; font-weight: 700; color: var(--heading-dark); margin: 0 0 12px; line-height: 1.5; }
.vehicle-card__eg b { font-weight: 900; }
.vehicle-card__notes { list-style: none; padding: 0; margin: 12px 0; font-size: 14px; line-height: 1.6; color: var(--text-dark); }
.vehicle-card__notes li::before { content: "- "; }
.vehicle-card__note { font-size: 14px; line-height: 1.6; color: var(--text-dark); margin: 12px 0; }
.vehicle-card__buttons { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 10px; }
.vehicle-card__buttons .btn { flex: 1 1 auto; }
.vehicle-card__buttons .btn--whatsapp { flex-basis: 100%; }
.small-print { font-size: 14px; line-height: 1.6; color: var(--text-dark); text-align: center; }

.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table th { background: var(--red-bright); color: #fff; font-weight: 700; font-size: 13px; text-align: left; padding: 10px 6px; border: 1px solid #a5181d; white-space: nowrap; }
.price-table td { padding: 10px 6px; border: 1px solid #d6d6d6; color: var(--text); background: #fff; white-space: nowrap; }

/* ---------- Vehicle detail ---------- */
.vehicle-detail__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 30px; align-items: start; }
.vehicle-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vehicle-detail__media img { width: 100%; border: 1px solid #ebebeb; background: #fff; }
.vehicle-detail__media .small-print { text-align: left; margin-top: 10px; }
.vehicle-detail__type { font-size: 26px; font-weight: 700; color: var(--red); line-height: 1.5; margin: 0; }
.vehicle-detail__eg { font-size: 18px; font-weight: 700; color: var(--heading-dark); margin-bottom: 20px; }
.red-heading { font-size: 18px; font-weight: 700; color: var(--red); line-height: 1.5; margin: 25px 0 10px; }
.vehicle-detail__info .red-heading:first-of-type { margin-top: 0; }
.spec-list { list-style: none; padding: 0; margin: 0 0 25px; font-size: 16px; line-height: 1.9; color: var(--text-dark); }
.spec-list span { font-weight: 500; }
.tick-list { list-style: none; padding: 0; margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-dark); }
.tick-list li { padding-left: 22px; position: relative; margin-bottom: 4px; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.vehicle-detail .small-print { text-align: left; }
.enquiry-section { padding-top: 0; }
.enquiry-box { background: var(--grey-bg); padding: 25px 30px 30px; }
.enquiry-box .red-heading { margin-top: 0; }

/* ---------- Vehicles page ---------- */
.callout-overlap { margin-top: -70px; position: relative; z-index: 2; }
.callout-box { background: var(--red); color: #fff; padding: 30px 40px; text-align: center; max-width: 610px; margin: 0 auto; }
.callout-box h2 { font-size: 22px; color: #fff; }
.callout-box p { font-size: 17px; line-height: 1.5; margin: 0; }
.category-tiles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.category-tile { background-size: cover; background-position: center; padding: 150px 20px; text-align: center; color: #fff; position: relative; }
.category-tile::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); transition: background .2s; }
.category-tile:hover::before { background: rgba(37,53,113,.35); }
.category-tile > * { position: relative; }
.category-tile h2 { font-size: 30px; color: #fff; margin-bottom: 20px; }
.category-tile:hover { text-decoration: none; }

/* ---------- Legal ---------- */
.legal__content { font-size: 16px; line-height: 1.7; color: var(--text-mid); }
.legal__content h2 { color: var(--blue); font-size: 22px; margin-top: 25px; }
.placeholder-note { text-align: center; }

/* ---------- Forms ---------- */
.site-form .form-row { margin-bottom: 14px; }
.site-form input[type=text], .site-form input[type=email], .site-form input[type=tel], .site-form input[type=date],
.site-form select, .site-form textarea {
    width: 100%; font: inherit; font-size: 14px; color: #555; background: #fff;
    border: 1px solid #d9d9d9; border-radius: 0; padding: 11px 12px; transition: border-color .2s;
}
.site-form textarea { resize: vertical; min-height: 130px; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: none; border-color: var(--blue); }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row--split label { display: block; font-size: 14px; color: var(--text-dark); }
.form-row--split .field-error { grid-column: 1 / -1; }
.form-consent { font-size: 12px; line-height: 1.6; color: #777; }
.btn--submit { min-width: 180px; }
.field-error { display: block; color: var(--red); font-size: 13px; margin-top: 4px; }
.form-message { padding: 12px 15px; margin-bottom: 15px; font-size: 14px; }
.form-message--ok { background: #e8f5e9; border-left: 4px solid #2e7d32; color: #1b5e20; }
.form-message--error { background: #fdecea; border-left: 4px solid var(--red); color: #8a1c1f; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; }
.footer-widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 60px; padding-bottom: 40px; }
.site-footer h4 { font-size: 21px; font-weight: 500; line-height: 25px; color: #fff; margin-bottom: 15px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--footer-link); }
.footer-branch + .footer-branch { margin-top: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 20px 0 25px; }
.is-bare .footer-copy { border-top: 0; }
.footer-copy p { font-size: 14px; margin: 8px 0; }
.back-to-top { color: #fff !important; font-size: 26px; display: inline-block; }
.social--footer { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .main-nav .menu > li > a, .main-nav .menu__label { padding: 0 12px; font-size: 14px; }
}

@media (max-width: 960px) {
    .grid--3, .category-tiles { grid-template-columns: 1fr 1fr; }
    .footer-widgets { grid-template-columns: 1fr 1fr; }
    .hero__title { font-size: 46px; line-height: 56px; }
    .hero__inner { padding: 20px; }
    .hero__ticks { margin: 0 0 20px; }

    /* Mobile header */
    .site-header__inner { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 20px; flex-wrap: wrap; }
    .logo__main { display: none; }
    .logo__mobile { display: block; width: 160px; }
    .menu-toggle { display: inline-flex; background: none; border: 0; font-size: 30px; color: var(--blue); cursor: pointer; padding: 6px; }
    .menu-toggle__close { display: none; }
    .menu-toggle[aria-expanded=true] .menu-toggle__open { display: none; }
    .menu-toggle[aria-expanded=true] .menu-toggle__close { display: inline; }
    .main-nav { flex-basis: 100%; display: none; }
    .main-nav.is-open { display: block; }
    .main-nav .menu { flex-direction: column; padding: 10px 0; }
    .main-nav .menu > li { border-top: 1px solid #f0f0f0; display: flex; flex-wrap: wrap; align-items: center; }
    .main-nav .menu > li > a, .main-nav .menu__label { line-height: 48px; padding: 0 5px; flex: 1; }
    .main-nav .menu > li > a::after, .main-nav .menu__label::after { display: none; }
    .sub-toggle { display: inline-flex; background: none; border: 0; color: var(--red); font-size: 18px; padding: 12px; cursor: pointer; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; display: none; flex-basis: 100%; }
    .has-sub.is-open > .sub-menu { display: block; }
    .has-sub.is-open > .sub-toggle { transform: rotate(180deg); }
    .has-sub:hover > .sub-menu { display: none; }
    .has-sub.is-open:hover > .sub-menu { display: block; }
    .sub-menu a { padding-left: 25px; }
}

@media (max-width: 767px) {
    body { font-size: 14px; }
    .whatsapp-float {
        right: calc(12px + env(safe-area-inset-right, 0px));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 12px 16px; font-size: 14px; max-width: calc(100vw - 24px);
    }
    .footer-copy { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
    .vehicle-detail__actions .btn { flex: 1 1 100%; }
    .grid--2, .grid--3, .category-tiles { grid-template-columns: 1fr; }
    .branch-select { grid-template-columns: 1fr; min-height: 0; }
    .branch-select__panel--west-bromwich { background-image: url('../images/Rectangle-2-Copy.png') !important; }
    .branch-select__box h2 { font-size: 26px; line-height: 32px; }
    .page-banner--large { padding: 60px 0 90px; }
    .page-banner--left .page-banner__content { max-width: 100%; }
    .page-banner__title { font-size: 26px; line-height: 36px; }
    .page-banner__text { font-size: 16px; line-height: 25px; }
    .hero { min-height: 0; padding: 60px 0; }
    .hero__title { font-size: 36px; line-height: 44px; }
    .hero__eyebrow { font-size: 16px; }
    .hero__ticks { font-size: 16px; flex-direction: column; }
    .hero__buttons .btn { width: 100%; }
    .intro-row__inner, .europe-banner__inner, .split--4-8, .split--6-6, .vehicle-detail__top, .info-boxes__inner { grid-template-columns: 1fr; }
    .intro-row__text { padding: 0; }
    .intro-row__text h2 { font-size: 24px; }
    .intro-row__text p { font-size: 18px; }
    .map-row iframe { height: 380px; }
    .info-boxes { margin-top: 0; }
    .info-boxes .container { padding: 0; }
    .split__panel, .split__panel--red { padding: 30px 20px; }
    .split--overlap { margin-top: -60px; }
    .footer-widgets { grid-template-columns: 1fr; }
    .category-tile { padding: 90px 20px; }
    .callout-box { padding: 25px 20px; }
    .form-row--split { grid-template-columns: 1fr; }
    .enquiry-box { padding: 20px; }
    .price-table th, .price-table td { padding: 8px 5px; font-size: 13px; }
}
