:root {
  --sport-navy: #002d5b;
  --sport-blue: #006fcb;
  --sport-cyan: #16a7ed;
  --sport-ink: #071f38;
  --sport-line: #b9d6ec;
}

body {
  color: var(--sport-ink);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f8fbfe 0, #fff 620px);
}

h1, h2, h3, .price strong, .button, .eyebrow, nav a, .benefits b,
.carindex, .variant, .calendar-month h3, .selected-range, .estimate strong {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-style: italic;
  font-weight: 900;
}

h2, h3 { color: var(--sport-navy); }
h2 { text-transform: uppercase; letter-spacing: -.035em; }
.eyebrow { color: var(--sport-blue); letter-spacing: .13em; }

.topline {
  background: linear-gradient(90deg, #001d3b, #004d8e 58%, #007ac9);
  border-bottom: 2px solid #23b7ff;
  text-transform: uppercase;
  font-weight: 800;
}

.header {
  border-radius: 0 0 14px 14px;
  border-top: 0;
  box-shadow: 0 15px 36px rgba(0, 45, 91, .13);
}
.header nav a { color: #073a68; font-size: 13px; letter-spacing: .045em; text-transform: uppercase; }
.phone { border: 1px solid #9edaff; background: linear-gradient(135deg, #e9f7ff, #cfeeff); font-weight: 900; }

.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.hero-poster {
  display: block;
  max-width: 1320px;
  padding-top: 30px;
  padding-bottom: 38px;
}
.hero-poster:before { display: none; }
.hero-poster-image {
  overflow: hidden;
  border: 1px solid #a9cce7;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 45, 91, .22);
}
.hero-poster-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hero-poster-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px;
  color: #dcefff;
  border-top: 2px solid #29b8ff;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(105deg, #001d3b, #00477e 60%, #0068ad);
  box-shadow: 0 18px 38px rgba(0, 45, 91, .18);
  text-transform: uppercase;
  font-style: italic;
  font-weight: 900;
  letter-spacing: .025em;
}
.hero-poster-actions > div { display: flex; gap: 10px; }
.hero-poster-actions .button { min-width: 190px; text-align: center; border-radius: 4px; transform: skew(-7deg); }
.hero-poster-actions .button { background: linear-gradient(135deg, #008be4, #00539a); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 22px rgba(0,0,0,.18); }
.hero-poster-actions .hero-calendar { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.hero-poster-actions .button:hover { transform: skew(-7deg) translateY(-2px); }

.benefitbar { border-top: 1px solid #21aeef; border-bottom: 1px solid #001b36; background: linear-gradient(105deg, #001c39, #004d88 58%, #0069ad); }
.benefits > div { border-radius: 4px; transform: skew(-4deg); }
.benefits > div > * { transform: skew(4deg); }

.section { position: relative; }
.sectionhead h2, .bookingsection h2, #berles > h2, .faq h2 { text-shadow: 0 2px 0 #fff; }
.carcard { border-radius: 8px; border-color: #bdd7e9; box-shadow: 0 16px 38px rgba(0, 48, 88, .1); }
.carcard:nth-child(1), .carcard:nth-child(2), .carcard:nth-child(3) { border-top-color: var(--sport-blue); }
.carphoto > span, .gallery-open { border-radius: 3px; font-style: italic; font-weight: 900; text-transform: uppercase; }
.specs span { border-radius: 3px; border-color: #c2dcec; background: #edf7fd; color: #084779; font-weight: 800; }
.price { border-radius: 5px; }
.carcard:nth-child(1) .price, .carcard:nth-child(2) .price, .carcard:nth-child(3) .price { background: linear-gradient(120deg, #002e5b, #0077c8); }
.button { border-radius: 4px; letter-spacing: .025em; text-transform: uppercase; }
.button.primary { background: linear-gradient(135deg, #008ce4, #00549c); box-shadow: 0 10px 24px rgba(0, 94, 164, .24); }

.bookingsection { border-top: 4px solid #0779c4; background: linear-gradient(135deg, rgba(235,247,255,.96), rgba(207,232,249,.92))!important; }
.bookingbox, .rental-calendar, .steps > div, .faq details, .local-seo { border-radius: 7px; border-color: var(--sport-line); }
.calendar-day { border-radius: 3px; }
.calendar-day.is-edge { background: linear-gradient(135deg, #008ce4, #00549c); }
.selected-range { border-left-width: 5px; background: #deeffc; }
.contact { border-radius: 8px; border-top: 4px solid #1db5f4; background: linear-gradient(125deg, #001b38, #004d86 60%, #0073ba)!important; }

@media (max-width: 850px) {
  .hero-poster { margin-top: 12px; padding: 18px 14px 28px; background: transparent; border: 0; box-shadow: none; }
  .hero-poster-actions { align-items: stretch; flex-direction: column; padding: 16px; }
  .hero-poster-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-poster-actions .button { min-width: 0; padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 560px) {
  .hero-poster-image { border-radius: 10px 10px 0 0; }
  .hero-poster-actions { border-radius: 0 0 10px 10px; font-size: 13px; }
  .hero-poster-actions > div { grid-template-columns: 1fr; }
  .hero-poster-actions .button { transform: none; }
  .hero-poster-actions .button:hover { transform: translateY(-2px); }
  h2 { font-size: 32px; }
}

/* Integrated masthead and legibility pass */
.topline { display: none; }
.header {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  height: 68px;
  margin-top: 22px;
  padding-left: 30px;
  padding-right: 24px;
  color: #fff;
  border: 1px solid #0b80cc;
  border-bottom: 2px solid #21b4f4;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(105deg, #001a35, #003e72 58%, #0068aa);
  box-shadow: 0 14px 35px rgba(0, 35, 70, .2);
  backdrop-filter: none;
}
.header .brand { display: none; }
.header nav { margin-right: auto; }
.header nav a {
  color: #fff;
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: .045em;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.header nav a:after { background: #31c3ff; }
.header .phone {
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.hero-poster {
  margin-top: 0;
  padding-top: 0;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 42px;
}
.hero-poster-image {
  border-top: 0;
  border-radius: 0;
  box-shadow: 0 28px 65px rgba(0, 45, 91, .2);
}
.benefitbar { display: none; }

p { color: #405466; }
.sectionhead > p, .bookingsection > .wrap > p, .local-seo p { color: #344b5e; }
.details span, .price small, .calendar-legend, .faq details p { color: #405466; }
.carbody .variant { color: #075f9e; font-style: normal; font-weight: 800; }
.specs span { color: #064675; }
.eyebrow { color: #0067ad; }
.bookingbox label { color: #132f47; }

@media (max-width: 850px) {
  .header {
    height: 72px;
    margin: 10px 14px 0;
    padding: 10px 16px;
    border-radius: 12px 12px 0 0;
  }
  .header .brand { display: flex; }
  .header .original-logo { width: 165px; filter: brightness(0) invert(1); }
  .hero-poster { margin-top: 0; padding-top: 0; }
}

@media (max-width: 700px) {
  .header { background: linear-gradient(105deg, #001a35, #00588f); }
  .hero-poster { padding-left: 14px; padding-right: 14px; }
  .hero-poster-image img { aspect-ratio: auto; }
}

/* Edge-to-edge cover: no card, inset frame or duplicated logo. */
body { font-family: Arial, Helvetica, sans-serif; font-size: 16px; }
.header {
  width: 100%; max-width: none; height: auto; min-height: 72px;
  margin: 0; padding: 16px max(20px, calc((100% - 1240px) / 2));
  border: 0; border-radius: 0; box-shadow: none;
  gap: 20px; flex-wrap: wrap;
}
.header .brand { display: none; }
.header nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.header nav a { font-family: Arial, sans-serif; font-style: normal; font-size: 14px; }
.header .phone { white-space: nowrap; font-size: 16px; }
.hero.hero-poster {
  display: block; width: 100%; max-width: none; min-height: 0;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: #002647; box-shadow: none; backdrop-filter: none;
}
.hero-poster-image {
  width: 100%; aspect-ratio: 3 / 1;
  height: auto;
  border: 0; border-radius: 0; box-shadow: none;
  background-color: #e6ecf2;
  background-image: url("brand/maros-hero.webp");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
@media (max-width: 700px) {
  .hero-poster-image {
    aspect-ratio: 3 / 2;
    background-image: url("brand/maros-hero-mobile.webp");
  }
}
.hero-poster-actions {
  padding: 22px max(20px, calc((100% - 1240px) / 2));
  margin: 0; border: 0; border-radius: 0; box-shadow: none;
  background: #002647; color: #fff; gap: 20px;
}
.hero-poster-actions > span { font: 600 16px/1.5 Arial, sans-serif; text-transform: none; }
.hero-poster-actions .button { transform: none; min-height: 48px; font-size: 14px; }
.hero-poster-actions .button:hover { transform: translateY(-2px); }
.details span { font-size: 14px; }
.price small, .carcard .price small { color: #fff; font-size: 14px; line-height: 1.5; }
.carcard .price > span { color: #e0f1ff; }
.calendar-legend { font-size: 14px; }
.phpbooking label, .selected-range { font-style: normal; }
.calendar-grid .weekday { font-size: 14px; }

/* Constrain the modal grid and filmstrip to the actual phone viewport. */
.gallery-modal {
  z-index: 10000; width: 100%; height: 100vh; height: 100dvh;
  padding: max(64px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  overflow: auto; overscroll-behavior: contain;
}
.gallery-modal[hidden] { display: none; }
.gallery-modal figure {
  width: min(1050px, 100%); min-width: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column;
}
.gallery-stage { min-width: 0; min-height: 0; flex: 1 1 auto; touch-action: pan-y pinch-zoom; }
.gallery-stage > img {
  min-width: 0; width: 100%!important;
  max-height: calc(100dvh - 235px)!important;
  object-fit: contain; border-radius: 4px; user-select: none;
}
.gallery-modal figcaption { flex: 0 0 auto; flex-wrap: wrap; font-size: 16px; line-height: 1.5; }
.gallery-modal figcaption small { font-size: 14px; color: #dceaff; }
.gallery-thumbs { flex: 0 0 auto; min-width: 0; max-width: 100%; touch-action: pan-x; }
.gallery-close {
  position: absolute; z-index: 5; top: max(10px, env(safe-area-inset-top)); right: 14px;
  width: 48px; height: 48px; background: #123e60;
}
.gallery-stage > button { width: 48px; height: 48px; background: #123e60; touch-action: manipulation; }
@media (max-width: 850px) {
  .header { justify-content: center; padding: 14px 16px; }
  .header nav { width: 100%; justify-content: center; margin: 0; gap: 10px 20px; }
  .hero-poster-actions { flex-direction: column; text-align: center; padding: 20px; }
  .hero-poster-actions > div { width: 100%; max-width: 620px; margin: auto; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .gallery-modal { padding-top: 56px; padding-bottom: 8px; }
  .gallery-stage > img { max-height: calc(100dvh - 125px)!important; }
  .gallery-thumbs { display: none; }
  .gallery-modal figcaption { padding-top: 4px; }
}
