/* Shared navigation, brand, contact section, and footer. */
:root {
  --surface: #fff;
  --footer-bg: #15394a;
  --footer-text: #dce8ed;
  --footer-line: #ffffff26;
  --space-section: 64px;
  --header-height: 80px;
}
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: var(--header-height); gap: 24px; }
.site-header .brand { display: flex; align-items: center; width: 128px; height: 72px; }
.site-header .brand img { width: 128px; height: 64px; transform: none; object-fit: contain; }
.site-header .brand.custom img { width: 128px; height: 64px; transform: none; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.site-menu,.sub-menu,.footer-menu,.footer-contact { padding: 0; margin: 0; list-style: none; }
.site-menu { display: flex; align-items: center; gap: 8px; }
.site-menu > li { position: relative; display: flex; align-items: center; }
.site-menu a { display: block; padding: 12px 10px; color: var(--ink); font-size: 14px; font-weight: 500; border-radius: 5px; }
.site-menu a:hover,.site-menu .current-menu-item > a,.site-menu .current-menu-ancestor > a { color: var(--blue); background: var(--soft); text-decoration: none; }
.primary-nav > .button { white-space: nowrap; }
.submenu-toggle { padding: 0; min-height: 44px; width: 30px; background: transparent; color: var(--ink); border: 0; }
.submenu-toggle:hover { color: var(--blue); background: var(--soft); }
.submenu-toggle svg { transition: transform .15s; }
.submenu-toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px #15394a18; }
.sub-menu a { padding: 11px 14px; }
.menu-item.is-open > .sub-menu { display: block; }
.menu-toggle { display: none; align-items: center; gap: 8px; }
.contact-cta { background: var(--soft); border-top: 1px solid var(--line); padding: 46px 0; margin-top: 40px; }
.contact-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact-cta .eyebrow { margin-bottom: 12px; }
.contact-cta h2 { font-size: 30px; margin-bottom: 14px; }
.contact-cta p { margin-bottom: 0; max-width: 640px; color: var(--muted); }
.contact-cta .actions { flex-shrink: 0; gap: 12px; }
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: 48px; padding-block: var(--space-section); }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: white; }
.site-footer .brand { display: flex; align-items: center; width: 180px; height: 90px; margin-bottom: 20px; }
.site-footer .brand img { width: 180px; height: 90px; object-fit: contain; transform: none; }
.site-footer .brand:not(.custom) img { filter: brightness(0) invert(1); }
.footer-company p { font-size: 14px; line-height: 1.8; max-width: 285px; color: var(--footer-text); }
.footer-company .footer-tagline { color: #fff; margin-bottom: 14px; }
.footer-column h2 { color: white; font-size: 18px; margin-bottom: 22px; }
.footer-menu a { display: inline-block; padding: 6px 0; font-size: 14px; }
.footer-contact { font-size: 14px; overflow-wrap: anywhere; }
.footer-contact li { margin-bottom: 20px; }
.footer-contact span { display: block; color: #aec5d0; font-size: 12px; margin-bottom: 5px; }
.footer-legal { border-top: 1px solid var(--footer-line); display: flex; justify-content: space-between; gap: 30px; padding-block: 22px; font-size: 12px; }
.footer-legal p { margin: 0; }
.footer-legal > div { display: flex; gap: 22px; }
.booking-panel { top: calc(var(--header-height) + 24px); }
.card-vehicle > img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #eee9e2; }
.detail-image.vehicle-image { object-fit: contain; height: clamp(260px, 40vw, 540px); background: #eee9e2; }
@media (max-width: 1100px) {
  .primary-nav { gap: 12px; }
  .site-menu { gap: 1px; }
  .site-menu a { padding-inline: 7px; font-size: 13px; }
  .header-inner { gap: 16px; }
  .footer-grid { gap: 30px; }
  .contact-cta-inner { align-items: flex-start; }
  .contact-cta .actions { flex-direction: column; }
}
@media (max-width: 1024px) {
  :root { --header-height: 72px; }
  .site-header .brand { width: 112px; height: 64px; }
  .site-header .brand img { width: 112px; height: 56px; transform: none; }
  .site-header .brand.custom img { width: 112px; height: 56px; transform: none; }
  .menu-toggle { display: inline-flex; background: var(--soft); color: var(--blue); min-height: 44px; padding: 10px 14px; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 24px 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px #15394a14; max-height: calc(100dvh - var(--header-height) - 46px); overflow-y: auto; }
  .primary-nav.open { display: block; }
  .site-menu { display: block; margin-bottom: 18px; }
  .site-menu > li { display: flex; flex-wrap: wrap; }
  .site-menu > li > a { flex: 1; font-size: 15px; padding: 13px 12px; }
  .submenu-toggle { width: 48px; min-height: 48px; }
  .sub-menu { position: static; flex-basis: 100%; width: 100%; box-shadow: none; margin: 4px 0 10px; padding: 4px 10px; border: 0; border-left: 2px solid var(--line); border-radius: 0; }
  .sub-menu a { font-size: 14px; }
  .primary-nav > .button { width: 100%; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 720px) {
  .contact-cta { padding-block: 32px; margin-top: 24px; }
  .contact-cta-inner { flex-direction: column; gap: 25px; }
  .contact-cta h2 { font-size: 28px; }
  .contact-cta .actions { width: 100%; }
  .contact-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 40px; }
  .footer-company { grid-column: 1 / -1; }
  .footer-company p { max-width: 430px; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-column h2 { font-size: 18px; margin-bottom: 14px; }
  .footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .footer-contact li { margin: 0; }
  .footer-legal { flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 380px) { .footer-contact { grid-template-columns: 1fr; } }
