/* Homepage-only typography trial, 2026-10-03.
   Revert by removing the home-labels-trial style block.
   Inspired by the existing AT YOUR PLACE signature. */
body.client-body :is(.vriq-eyebrow, .membership-plan-topline > span:first-child) {
  font-family: 'Rubik', 'Assistant', Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 550 !important;
  line-height: 1.65;
  letter-spacing: 0.04em !important;
  word-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: none;
}

@media (max-width: 560px) {
  body.client-body :is(.vriq-eyebrow, .membership-plan-topline > span:first-child) {
    font-size: 12px !important;
    letter-spacing: 0.03em !important;
  }
}

body.client-body #packages .main-service-plan-card {
  background: #fff;
}
html[data-theme='dark'] body.client-body #packages .main-service-plan-card {
  background: #22272b;
}
body.client-body #bookingAddressBlock {
  margin-bottom: 24px;
}
body.client-body #bookingAddressBlock h4 {
  margin: 0 0 14px;
  font-size: 17px;
}
body.client-body .booking-final-actions .submit-booking-trigger {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  margin-inline-start: auto;
  padding: 10px 16px;
  font-size: 14px;
  gap: 8px;
}
body.client-body .booking-final-actions .submit-booking-trigger svg {
  width: 20px;
  height: 20px;
}
body.client-body #bookingForm #notes {
  resize: none;
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  line-height: 1.5;
  overflow-y: auto;
}

body.client-body #booking .summary-payment-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block: 16px 0;
  padding: 12px;
  border: 1px solid #b9e3f3;
  border-inline-start: 3px solid #00a9e8;
  border-radius: 12px;
  background: #effaff;
  color: #173442;
  text-align: start;
}
body.client-body #booking .summary-payment-note > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-block-start: 1px;
  color: #087da6;
}
body.client-body #booking .summary-payment-note > p {
  min-width: 0;
  margin: 0;
  line-height: 1.6;
}
body.client-body #booking .summary-payment-note strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
body.client-body #booking .summary-payment-note span {
  display: block;
  margin-block-start: 3px;
  color: #536170;
  font-size: 12px;
}
html[data-theme='dark'] body.client-body #booking .summary-payment-note {
  border-color: #285568;
  border-inline-start-color: #00a9e8;
  background: #12303d;
  color: #eff8ff;
}
html[data-theme='dark'] body.client-body #booking .summary-payment-note > svg {
  color: #6ed5f5;
}
html[data-theme='dark'] body.client-body #booking .summary-payment-note span {
  color: #c3d3df;
}

/* Balance the opening content in the space previously occupied by reviews. */
body.client-body > .vriq-header:has(#openingOffer) {
  position: sticky !important;
  top: 0;
  transition: translate 200ms ease;
}
body.client-body:not(.nav-open) > .vriq-header.is-scrolling-down:not(:focus-within) {
  translate: 0 calc(-100% - var(--opening-offer-height, 0px));
}
@media (min-width: 861px) {
  body.client-body > .vriq-header:has(#openingOffer) .site-nav {
    width: min(calc(100% - 16px), calc(var(--site-width) + 80px)) !important;
    max-width: none !important;
  }
}
@media (max-width: 760px) {
  body.client-body:has(> .vriq-header #openingOffer) #top {
    padding-top: 0 !important;
  }
}
.opening-offer:not([hidden]) {
  background: #00a9e8;
  color: #fff;
  border-block: 1px solid rgb(8 32 61 / 0.12);
}
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .opening-offer {
    position: absolute;
    inset: 100% 0 auto;
  }
}
@media (max-width: 860px) {
  body.client-body > .vriq-header:has(#openingOffer:not([hidden])) .main-nav {
    top: calc(var(--home-nav-height, 68px) + var(--opening-offer-height, 23px) + 8px);
    max-height: calc(
      100dvh - var(--home-nav-height, 68px) - var(--opening-offer-height, 23px) - 16px
    );
  }
  body.client-body:not(.nav-open) > .vriq-header.is-scrolling-down:not(:focus-within) {
    translate: 0 -100%;
  }
  body.client-body:has(> .vriq-header #openingOffer:not([hidden]))
    :is(section[id], .customer-card) {
    scroll-margin-top: calc(
      var(--home-nav-height, 64px) + var(--opening-offer-height, 34px) + 16px
    );
  }
}
.opening-offer-window {
  display: flex;
  align-items: center;
  width: min(calc(100% - 32px), var(--site-width));
  min-height: 38px;
  margin-inline: auto;
  overflow: hidden;
  color: inherit;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
}
.opening-offer-window:hover {
  text-decoration: none;
}
.opening-offer-viewport {
  direction: ltr;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.opening-offer-track {
  display: flex;
  width: max-content;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.opening-offer-track > span {
  flex: none;
  min-width: min(calc(100vw - 32px), var(--site-width));
  width: max-content;
  padding: 5px 16px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .opening-offer-track {
    font-size: 0.6875rem;
  }
  .opening-offer-window {
    width: calc(100% - 24px);
    min-height: 24px;
  }
  .opening-offer-track > span {
    min-width: calc(100vw - 24px);
    padding-block: 2px;
  }
}
.opening-offer strong,
.opening-offer bdi {
  font-weight: 700;
}
.opening-offer bdi {
  margin-inline-start: 0.3em;
}
.opening-offer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
@media (prefers-reduced-motion: no-preference) {
  .opening-offer-track {
    animation: opening-offer-scroll 32s linear -8s infinite;
  }
  .opening-offer-window:focus-visible .opening-offer-track {
    animation-play-state: paused;
  }
  @keyframes opening-offer-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .opening-offer-window:hover .opening-offer-track {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.client-body > .vriq-header:has(#openingOffer) {
    transition: none;
  }
  .opening-offer-track {
    display: block;
    width: auto;
  }
  .opening-offer-track > span {
    display: block;
    width: auto;
    white-space: normal;
    min-width: 0;
    padding-inline: 8px;
  }
  .opening-offer-track > span[aria-hidden] {
    display: none;
  }
  .opening-offer-viewport {
    mask-image: none;
  }
}

/* Let the badge overlap the desktop photo edge, as in the original design. */
@media (min-width: 861px) {
  body.client-body #top .vriq-main-photo {
    overflow: visible !important;
  }
  body.client-body #top .vriq-main-photo > img,
  body.client-body #top .vriq-main-photo::after {
    border-radius: inherit;
  }
}
body.client-body #top .vriq-main-photo > .vriq-rating-bubble {
  position: absolute !important;
  inset: 42px auto auto -36px !important;
  display: grid !important;
  direction: rtl;
  margin: 0 !important;
  padding: 14px 15px !important;
  border-radius: 19px !important;
  box-shadow: 0 14px 36px rgba(32, 33, 37, 0.16) !important;
}
body.client-body #top .vriq-main-photo > .vriq-rating-bubble strong {
  font-size: 23px;
}
body.client-body #top .hero-review-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(205px, 18vw, 250px);
  min-height: 0;
  padding: 6px 8px;
  gap: 4px;
}
@media (min-width: 861px) {
  body.client-body #top .hero-review-card {
    min-width: calc(25cqw - var(--review-gap));
  }
}
body.client-body #top .hero-review-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: balance;
}
/* The Google link also covers the review card. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes homepageReviewLoop {
    to {
      transform: translateX(calc(-100% / 3));
    }
  }
}
@media (max-width: 860px) {
  body.client-body #top .vriq-main-photo > .vriq-rating-bubble {
    inset: 10px auto auto 10px !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    grid-template-columns: auto auto !important;
    gap: 3px 6px !important;
    justify-items: center;
  }
  body.client-body #top .vriq-main-photo > .vriq-rating-bubble strong {
    font-size: 18px;
    line-height: 1;
  }
  body.client-body #top .vriq-main-photo > .vriq-rating-bubble small {
    text-align: center;
    line-height: 1.3;
  }
}
@media (max-width: 760px) {
  body.client-body #top .hero-review-card {
    width: min(188px, calc(100vw - 44px));
  }
}

.gallery-slide--c63 img {
  scale: 1.08;
  transform-origin: 95% 55%;
}

body.client-body .site-footer .footer-grid {
  padding-bottom: 19px;
}

body.client-body .site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  align-items: start;
  column-gap: clamp(12px, 3vw, 40px);
  min-block-size: 101px;
  padding-top: 18px;
}

body.client-body .site-footer #service-areas {
  margin: 0;
  color: #bcc7cf;
  line-height: 18px;
  text-align: left;
}

body.client-body .site-footer #service-areas a {
  color: inherit;
  text-decoration: underline;
}

body.client-body .site-footer .footer-copyright {
  margin: 0;
  line-height: 18px;
}

body.client-body .site-footer .footer-copyright a {
  margin-inline-start: 4px;
}

body.client-body .site-footer .footer-meta .vriq-legal-links {
  gap: 2px 12px;
  margin-block: 4px 0;
  font-size: inherit;
}

@media (width < 50rem) {
  body.client-body .site-footer .footer-grid {
    padding-bottom: 3px;
  }

  body.client-body .site-footer .footer-bottom {
    min-block-size: 117px;
    padding-top: 16px;
  }
}

@media (max-width: 760px) {
  body.client-body .site-footer .footer-grid {
    row-gap: 20px;
    padding-bottom: 18px;
  }

  body.client-body .site-footer .footer-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    padding-top: 14px;
  }
}

@media (width < 26rem) {
  body.client-body .site-footer .footer-grid {
    padding-bottom: 2px;
  }

  body.client-body .site-footer .footer-bottom {
    min-block-size: 133px;
  }
}

html[data-site-refinements] body.client-body #top .vriq-promo-card > .vriq-order-box {
  border-radius: 28px !important;
}

@media (min-width: 861px) {
  html[data-site-refinements] body.client-body #top .vriq-promo-card {
    container-type: inline-size;
  }

  html[data-site-refinements] body.client-body #top .vriq-promo-card > h1 {
    font-size: clamp(38px, 11.5cqi, 84px) !important;
  }
}

.vriq-order-city-row {
  display: flex;
  justify-content: flex-end;
  max-inline-size: 610px;
  padding-inline-end: 14px;
}

.vriq-order-cities {
  position: relative;
}

.vriq-order-cities summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 38px;
  color: var(--vriq-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.vriq-order-cities summary::-webkit-details-marker {
  display: none;
}

.vriq-order-cities summary:focus-visible {
  outline: 2px solid var(--vriq-blue);
  border-radius: 6px;
}

.vriq-all-cities {
  color: var(--vriq-ink);
  text-decoration: underline;
  text-decoration-color: var(--vriq-blue);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.vriq-order-cities[open] {
  z-index: 10;
}

.vriq-order-cities ul {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  inline-size: min(268px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  box-sizing: border-box;
  margin: 0;
  padding: 14px;
  list-style: none;
  border: 1px solid var(--vriq-border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--vriq-ink);
  box-shadow: 0 12px 28px rgba(20, 34, 43, 0.16);
  font-size: 14px;
}

.vriq-order-cities:not([open]) ul {
  display: none;
}

body.client-body #booking .vehicle-state-block .selection-groups {
  grid-template-columns: minmax(0, 1fr) !important;
}

html[data-site-refinements] body.client-body #booking #packageChoices {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 761px) {
  body.client-body #packages .membership-card-design-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
    margin-inline: auto;
  }
}

@media (761px <= width <= 860px) {
  body.client-body #top .vriq-visual-stack {
    aspect-ratio: 3 / 2 !important;
  }
}

@media (max-width: 760px) {
  .vriq-order-city-row {
    justify-content: center;
    padding-inline-end: 0;
  }

  .vriq-order-cities summary {
    min-block-size: 44px;
    font-size: 13px;
  }

  .vriq-order-cities ul {
    inset-inline-end: 50%;
    translate: -50% 0;
  }
}

.vriq-home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin-block-start: 20px;
  max-inline-size: 610px;
  text-align: start;
  container-type: inline-size;
}

.vriq-home-benefit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: start;
  gap: 6px 7px;
  box-sizing: border-box;
  min-inline-size: 0;
  padding: 12px;
  border: 1px solid var(--vriq-border, #dfe7eb);
  border-radius: 14px;
  background: var(--surface, #fff);
  color: var(--vriq-ink, #10233a);
}

.vriq-home-benefit-accent {
  border-color: color-mix(in srgb, var(--vriq-border, #dfe7eb) 68%, var(--vriq-blue, #00a9e8));
  background: color-mix(in srgb, var(--surface, #fff) 94%, var(--vriq-blue, #00a9e8));
}

.vriq-home-benefit-icon {
  display: grid;
  place-items: center;
  inline-size: 24px;
  aspect-ratio: 1;
  border-radius: 7px;
  background: rgb(0 169 232 / 12%);
  color: #087499;
}

.vriq-home-benefit-icon svg {
  inline-size: 60%;
  aspect-ratio: 1;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

html[data-theme='dark'] .vriq-home-benefit-icon {
  color: #88dcfa;
}

@container (max-width: 440px) {
  .vriq-home-benefit {
    grid-template-columns: minmax(0, 1fr);
  }
}

#top .vriq-home-benefit :is(h2, p) {
  margin: 0;
  color: inherit;
  text-align: inherit;
}

#top .vriq-home-benefit h2 {
  font-size: clamp(0.81rem, 1.06vw, 0.95rem);
  font-weight: 800;
  line-height: 1.3;
}

#top .vriq-home-benefit p {
  grid-column: 1 / -1;
  color: color-mix(in srgb, var(--vriq-ink, #10233a) 76%, var(--surface, #fff));
  font-size: clamp(0.735rem, 0.96vw, 0.86rem);
  line-height: 1.45;
}

body.client-body {
  --home-whatsapp-width: 300px;
  --home-whatsapp-right: max(clamp(12px, 2vw, 24px), env(safe-area-inset-right, 0px));
}

@media (min-width: 861px) {
  body.client-body #top > .vriq-hero-inner {
    row-gap: clamp(24px, 3vh, 36px);
    min-height: 0 !important;
    padding-block-start: clamp(36px, 5vh, 52px) !important;
  }

  body.client-body #top .vriq-hero-inner > .vriq-promo-card {
    padding-block: clamp(20px, 3vh, 32px) 12px !important;
  }

  body.client-body #top .vriq-hero-inner > .vriq-visual-stack {
    min-height: clamp(465px, 59svh, 610px) !important;
  }
}

@media (min-width: 861px) and (max-height: 820px) {
  body.client-body #top > .vriq-hero-inner {
    padding-block-start: 28px !important;
  }
}

@media (max-width: 860px) {
  .vriq-home-benefits {
    margin-inline: auto;
  }

  body.client-body #top .vriq-hero-inner > .vriq-visual-stack {
    order: 3;
  }
}

.whatsapp-booking-prompt {
  --whatsapp-booking-accent: #08764b;

  position: fixed;
  z-index: 1090;
  right: var(--home-whatsapp-right);
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  inline-size: min(var(--home-whatsapp-width), calc(100% - 76px));
  align-items: center;
  border-radius: 16px;
  outline: 2px solid var(--whatsapp-booking-accent);
  outline-offset: -2px;
  background: var(--surface, #fff);
  color: var(--vriq-ink, #10233a);
  box-shadow: 0 10px 30px rgb(8 32 61 / 18%);
}

html[data-theme='dark'] .whatsapp-booking-prompt {
  --whatsapp-booking-accent: #5edb9c;
}

.whatsapp-booking-prompt:not([hidden]) {
  display: flex;
}

.whatsapp-booking-prompt h2 {
  margin: 0;
  color: inherit;
  font-size: 1.05rem;
  line-height: 1.3;
}

.whatsapp-booking-prompt p {
  margin: 2px 0 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.whatsapp-booking-close {
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  margin-inline-end: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.whatsapp-booking-close svg {
  inline-size: 16px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.whatsapp-booking-link {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-inline-size: 0;
  min-block-size: 44px;
  padding: 13px 14px;
  border-radius: inherit;
  color: inherit;
  text-decoration: none;
}

.whatsapp-booking-icon {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  color: var(--whatsapp-booking-accent);
}

.whatsapp-booking-icon svg {
  inline-size: 26px;
  aspect-ratio: 1;
  fill: currentColor;
  stroke: none;
}

.whatsapp-booking-link:hover p {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 760px) {
  html[data-site-refinements] body.client-body #top .vriq-visual-stack:has(> #supportingHeroCards) {
    grid-template-rows: auto !important;
  }

  html[data-site-refinements] body.client-body #top > .vriq-hero-inner {
    padding-block-start: 34px !important;
  }

  html[data-site-refinements] body.client-body #top .vriq-promo-card > h1 {
    font-size: clamp(2.125rem, 10.85vw, 3.125rem) !important;
  }

  html[data-site-refinements] body.client-body #top .vriq-promo-card > p {
    font-size: clamp(1rem, 4.35vw, 1.125rem) !important;
    line-height: 1.55 !important;
    max-inline-size: 100% !important;
    text-wrap: pretty;
  }

  #top .vriq-promo-card > p br {
    display: none;
  }

  .vriq-home-benefit {
    gap: 6px 4px;
    padding: 10px 8px;
  }

  .vriq-home-benefit-icon {
    align-self: start;
    inline-size: 20px;
    border-radius: 5px;
  }

  #top .vriq-home-benefit p {
    line-height: 1.4;
  }

  body:has(> .mobile-floating-booking:not([hidden])) > .whatsapp-booking-prompt {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 359px) {
  html[data-site-refinements] body.client-body #top > .vriq-hero-inner {
    padding-block-start: 24px !important;
  }

  .vriq-home-benefits {
    margin-block-start: 16px;
    margin-inline: -4px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .vriq-home-benefit {
    padding-inline: 6px;
  }

  .vriq-home-benefit-icon {
    inline-size: 18px;
  }

  #top .vriq-home-benefit h2 {
    font-size: 0.79rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.vriq-reduce-motion) .whatsapp-booking-prompt:not([hidden]) {
    animation: whatsapp-booking-enter 180ms ease-out both;
  }
}

@keyframes whatsapp-booking-enter {
  from {
    opacity: 0;
    translate: 0 8px;
  }

  to {
    opacity: 1;
    translate: 0;
  }
}
