/* ---------- Colors and sizing (change the brand here) ---------- */
:root {
  color-scheme: light;
  --blue: #1e90ff;             /* original MTA blue */
  --blue-dark: #1269b3;
  --blue-soft: #eaf4ff;
  --sun: #1e90ff;
  --sun-soft: #eaf4ff;
  --ink: #162438;
  --muted: #526275;
  --cream: #ffffff;
  --card: #ffffff;
  --line: #e1e8f0;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 36, 56, 0.09);
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);   /* keeps section headings out from under the navbar */
}

body {
  margin: 0;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

h1, h2 {
  font-family: Nunito, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.1rem;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--blue);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--sun-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
}

/* Small label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 105, 224, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;            /* sticks to the top while scrolling */
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(22, 36, 56, 0.07);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  background: var(--blue-soft);
}

.nav-links a.active {
  color: var(--blue);           /* highlights the current section's link */
  background: var(--blue-soft);
}

.nav-links .nav-cta {
  background: var(--blue);
  color: #fff;
  margin-left: 0.5rem;
}

.nav-links .nav-cta:hover {
  background: var(--blue-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(8, 124, 112, 0.11), transparent 42%),
    radial-gradient(circle at 5% 90%, rgba(23, 105, 224, 0.1), transparent 42%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  margin-bottom: 1.2rem;
}

.underline {
  background: linear-gradient(transparent 62%, rgba(8, 124, 112, 0.2) 62%);
}

.pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(8, 124, 112, 0.18);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 0.9rem;
}

.hero-art {
  position: relative;
  padding-bottom: 2.5rem;
}

.valley {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.steps-card {
  position: absolute;
  left: -1.5rem;
  bottom: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: 0 16px 40px rgba(22, 36, 56, 0.14);
  min-width: 250px;
}

.steps-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.steps-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps-card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.steps-card li span {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sun-soft);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.8rem;
}

/* Trust strip under the hero */
.trust-strip {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-strip li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.trust-strip h3 {
  margin-bottom: 0.2rem;
}

.trust-strip p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.trust-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
}

.trust-icon svg,
.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Services ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head p:last-child {
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-soft);
  margin-bottom: 1.1rem;
  transition: background-color 0.25s ease;
}

.service-card:hover .service-icon {
  background: var(--sun-soft);
}

.service-card:hover .service-icon svg {
  stroke: var(--sun);
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text p {
  color: var(--muted);
}

.team {
  display: grid;
  gap: 1rem;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
}

.team-card h3 {
  margin: 0;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sun));
}

/* ---------- Contact ---------- */
.contact-intro { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0 0; }
.contact-info > div { padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.contact-info dt { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-info dd { margin: .25rem 0 0; font-weight: 800; overflow-wrap: anywhere; }
.contact-info a { color: var(--blue-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: #fff;
}

/* ---------- Reviews and booking ---------- */
.review-invite { max-width: 650px; margin: 0 auto; padding: 2.5rem; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.review-invite p { max-width: 34rem; margin: 0 auto 1.25rem; color: var(--muted); }
.review-form { max-width: 430px; margin: 1.5rem auto 0; text-align: left; }
.rating-fieldset { margin: 0 0 1.25rem; padding: 0; border: 0; }
.rating-fieldset legend, .review-comment-label { margin-bottom: .5rem; font-weight: 800; }
.rating-fieldset legend span, .review-comment-label span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.rating-options { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .4rem; margin-top: .4rem; width: max-content; }
.rating-options label { display: grid; place-items: center; cursor: pointer; }
.rating-options input { position: absolute; opacity: 0; }
.rating-options label > span:first-of-type { padding: .3rem; color: #bdc5d1; font-size: 2rem; line-height: 1; transition: color .15s ease; }
.rating-options label:hover > span:first-of-type, .rating-options label:hover ~ label > span:first-of-type, .rating-options label:has(input:checked) > span:first-of-type, .rating-options label:has(input:checked) ~ label > span:first-of-type { color: var(--sun); }
.rating-options label:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.review-comment-label { display: block; }
.review-form textarea { display: block; width: 100%; margin: .35rem 0 1rem; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: 600 1rem Nunito, sans-serif; resize: none; overflow: hidden; }   /* size is set by the text, not by dragging */
.review-form input[type="text"] { display: block; width: 100%; height: 2.9rem; margin: .35rem 0 1rem; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: 600 1rem Nunito, sans-serif; }
.review-form input[type="text"]:focus, .review-form textarea:focus { outline: 3px solid rgba(23, 105, 224, .2); border-color: var(--blue); }
.review-form .btn { border: 0; font-family: Nunito, sans-serif; cursor: pointer; }
.review-form .btn:disabled { opacity: .6; cursor: wait; }
.review-note { margin: .75rem 0 0 !important; font-size: .85rem; }
.reviews-list-wrap { max-width: 900px; margin: 3rem auto 0; }
.reviews-list-wrap > h3 { margin-bottom: 1rem; text-align: center; }
/* Reviews carousel: a swipeable row that snaps to each card */
.reviews-carousel { position: relative; }
.reviews-list { display: flex; justify-content: safe center; gap: 1rem; padding: .25rem .25rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews-list::-webkit-scrollbar { display: none; }   /* hides the scroll line; swipe, arrows and auto-scroll still work */
.reviews-carousel.is-scrollable .reviews-list { cursor: grab; }
.reviews-list { overscroll-behavior-x: contain; }
.reviews-list.is-free { scroll-snap-type: none; }                       /* while the wheel turns or the mouse drags, cards glide freely */
.reviews-list.is-dragging { cursor: grabbing; user-select: none; }
.reviews-list:focus-visible { outline: 3px solid rgba(23, 105, 224, .25); outline-offset: 2px; border-radius: 14px; }
.reviews-list > .review-card { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; }
@media (max-width: 820px) { .reviews-list > .review-card { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 560px) { .reviews-list > .review-card { flex-basis: 85%; } }
.review-card { display: flex; flex-direction: column; padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.review-card-stars { margin: 0 0 .5rem; color: var(--sun); font-size: 1.2rem; letter-spacing: .08em; }
.review-card-comment { margin: 0 0 .75rem; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.review-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-top: auto; }
.review-card-name { min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-size: .92rem; font-weight: 800; }
.review-card-date { color: var(--muted); white-space: nowrap; color: var(--muted); font-size: .82rem; }
.reviews-empty { flex: 1 0 100%; grid-column: 1 / -1; margin: 0; padding: 1rem; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: 14px; }
.booking-card { margin-top: 1.5rem; padding: 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.booking-card > p { color: var(--muted); }
.booking-form { margin-top: 1.25rem; }
.booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.booking-fields label { display: grid; gap: .35rem; font-weight: 800; font-size: .92rem; }
.booking-fields input, .booking-fields select, .booking-fields textarea { width: 100%; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: 600 1rem Nunito, sans-serif; }
.booking-fields textarea { resize: none; overflow: hidden; }   /* size is set by the text, not by dragging */
.field-hint { font-size: .8rem; font-weight: 600; opacity: .85; }
.field-hint:empty { display: none; }
.booking-fields input:focus, .booking-fields select:focus, .booking-fields textarea:focus { outline: 3px solid rgba(23, 105, 224, .2); border-color: var(--blue); }
.booking-full { grid-column: 1 / -1; }
.booking-card .btn-primary { border: 0; font-family: Nunito, sans-serif; font-weight: 800; cursor: pointer; }
.booking-card .btn-primary:disabled { opacity: .65; cursor: wait; transform: none; }   /* while the request is being sent */
.booking-note { margin: .75rem 0 0; color: var(--muted); font-size: .88rem; }
.booking-note.is-pending { color: var(--blue-dark); font-size: 1rem; font-weight: 700; }
.booking-note.is-success, .booking-note.is-error { display: flex; align-items: center; gap: .85rem; margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 12px; font-size: 1.25rem; font-weight: 800; line-height: 1.35; }
.booking-note.is-success::before, .booking-note.is-error::before { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; color: #fff; border-radius: 50%; font-size: 1.15rem; line-height: 1; }
.booking-note.is-success { color: #075b4e; background: #e5f8f5; border: 2px solid #0f9b7a; }
.booking-note.is-success::before { content: '✓'; background: #0f9b7a; }
.booking-note.is-error { color: #8a1f1f; background: #fff0f0; border: 2px solid #c62828; }
.booking-note.is-error::before { content: '!'; background: #c62828; }

/* ---------- FAQ chat assistant ---------- */
.faq-chat { position: fixed; right: 1.25rem; bottom: calc(1.25rem + var(--chat-lift, 0px)); z-index: 1100; display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.faq-chat-toggle { display: inline-flex; align-items: center; gap: 0.55rem; border: 0; border-radius: 999px; padding: 0.9rem 1.2rem; color: #fff; background: var(--blue); box-shadow: 0 8px 24px rgba(11, 61, 134, 0.22); font: 800 1rem Nunito, sans-serif; cursor: pointer; }
.faq-chat-toggle:hover { background: var(--blue-dark); }
.faq-chat-toggle > span:first-child { font-size: 1.15rem; }
.faq-chat-panel { width: min(360px, calc(100vw - 2rem)); height: min(480px, calc(100dvh - 6rem)); min-height: 340px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: 0 18px 50px rgba(22, 36, 56, 0.2); }
.faq-chat-panel[hidden] { display: none; }
.faq-chat-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.faq-chat-header div { display: grid; }
.faq-chat-header span { color: rgba(255,255,255,.82); font-size: .82rem; }
.faq-chat-close { border: 0; background: transparent; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.faq-chat-messages { flex: 1; overflow-y: auto; padding: 1rem; }
.chat-message { width: fit-content; max-width: 90%; margin: 0 0 .75rem; padding: .7rem .85rem; border-radius: 14px; font-size: .94rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-bot { background: var(--blue-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-user { margin-left: auto; color: #fff; background: var(--blue); border-bottom-right-radius: 4px; }
.faq-chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.faq-chat-form input { min-width: 0; flex: 1; padding: .7rem .8rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.faq-chat-form button { padding: .6rem .9rem; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font: 800 .9rem Nunito, sans-serif; cursor: pointer; }
.faq-chat-note { margin: 0; padding: 0 .9rem .75rem; color: var(--muted); font-size: .8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Scroll reveal (only runs when JavaScript is on) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .steps-card {
    left: 1rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 4rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 36, 56, 0.08);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 1rem;
  }

  .nav-links .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .contact-info { grid-template-columns: 1fr; gap: .75rem; }

  .booking-fields { grid-template-columns: 1fr; }
  .booking-full { grid-column: auto; }
  .booking-card, .review-invite { padding: 1.5rem; }

  .footer-inner {
    flex-direction: column;
  }

  .faq-chat { right: .75rem; bottom: calc(.75rem + var(--chat-lift, 0px)); }

  .footer { padding-bottom: 5rem; }   /* keeps the floating chat button off the footer text */
}

/* ---------- Chat typing indicator ---------- */
.chat-typing { display: flex; align-items: center; gap: .3rem; padding: .85rem 1rem; }
.typing-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--muted); animation: typing-bounce 1.2s infinite ease-in-out; }
.typing-dot:nth-child(3) { animation-delay: .15s; }
.typing-dot:nth-child(4) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .typing-dot { animation: none; opacity: .7; }
}

/* ---------- Weekday-only date picker (booking form) ---------- */
.date-field { display: grid; gap: .35rem; align-content: start; }
.date-field > label { font-weight: 800; font-size: .92rem; }
.date-picker { position: relative; }
.date-display { cursor: pointer; caret-color: transparent; }
.date-panel { position: absolute; top: calc(100% + .35rem); left: 0; z-index: 30; width: min(320px, calc(100vw - 3rem)); padding: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(22, 36, 56, .18); }
.date-panel[hidden] { display: none; }
.date-head { display: grid; grid-template-columns: 2.4rem 1fr 2.4rem; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.date-month { text-align: center; font-weight: 800; }
.date-nav { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; padding: 0 0 .15rem; color: var(--blue-dark); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: 700 1.5rem/1 Nunito, sans-serif; cursor: pointer; }
.date-nav:hover:not(:disabled), .date-nav:focus-visible { border-color: var(--blue); background: var(--blue-soft); }
.date-nav:disabled { opacity: .35; cursor: default; }
.date-weekdays, .date-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.date-weekdays span { padding: .25rem 0; text-align: center; color: var(--muted); font-size: .74rem; font-weight: 800; }
.date-weekdays .weekend { opacity: .45; }
.date-day { aspect-ratio: 1; display: grid; place-items: center; padding: 0; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 10px; font: 700 .92rem Nunito, sans-serif; cursor: pointer; }
.date-day:hover:not(:disabled), .date-day:focus-visible { border-color: var(--blue); background: var(--blue-soft); outline: none; }
.date-day.today:not(.selected) { border-color: var(--blue); }
.date-day.selected { color: #fff; background: var(--blue); }
.date-day:disabled { color: #b4bdc8; background: #f3f5f8; cursor: not-allowed; }


/* ---------- Logo placements ---------- */
.brand-logo { display: block; height: 40px; width: auto; }
/* Hero eyebrow carries the tagline the old hero logo showed; wraps between phrases, pin stays on the first line */
.hero .eyebrow { align-items: baseline; }
.hero .eyebrow .pin { flex: none; align-self: flex-start; margin-top: .3em; }
.nowrap { white-space: nowrap; }

.footer-inner { align-items: center; }
.footer-logo { width: 200px; height: auto; flex: none; }
.footer-text { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; align-self: center; text-align: right; }   /* one line, centered in the footer's height */
.footer-copy::before { content: '· '; }
.footer { padding: 1rem 0; }

@media (max-width: 760px) {
  .brand-logo { height: 34px; }
  .footer-logo { width: 170px; }
  .footer { padding: 1.25rem 0; }
  .footer-inner { align-items: center; text-align: center; }
  .footer-text { display: grid; gap: .35rem; justify-content: center; align-self: auto; text-align: center; }
  .footer-copy::before { content: none; }
}

/* ---------- Spam trap (hidden from people, visible to bots) ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Even booking form: every box the same height, rows lined up at the top ---------- */
.booking-fields { align-items: start; }
.booking-fields label { align-content: start; }
.booking-fields input:not([type="hidden"]), .booking-fields select { height: 2.9rem; }

/* ---------- Service area button and ZIP code pop-up ---------- */
.service-area-item { position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-area-item:hover { transform: translateY(-3px); border-color: var(--blue) !important; box-shadow: var(--shadow); }
.service-area-item:has(.service-area-button:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
.service-area-button { display: block; padding: 0; color: inherit; background: none; border: 0; font: inherit; font-weight: 800; text-align: center; width: 100%; cursor: pointer; }
.service-area-button::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }   /* makes the whole box clickable */
.service-area-button:focus-visible { outline: none; }
.service-area-button span { display: block; margin-top: .15rem; color: var(--blue-dark); font-size: .82rem; font-weight: 800; }

.zip-dialog { width: min(600px, calc(100vw - 2rem)); max-height: min(80vh, 680px); padding: 0; color: var(--ink); background: var(--card); border: 0; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(22, 36, 56, .35); overflow: hidden; }
.zip-dialog[open] { display: flex; flex-direction: column; }
.zip-dialog::backdrop { background: rgba(22, 36, 56, .55); }
body:has(.zip-dialog[open]) { overflow: hidden; }
.zip-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.zip-dialog-head h2 { margin: 0; font-size: 1.4rem; }
.zip-close { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; padding: 0 0 .15rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; font: 700 1.5rem/1 Nunito, sans-serif; cursor: pointer; }
.zip-close:hover, .zip-close:focus-visible { border-color: var(--blue); background: var(--blue-soft); }
.zip-dialog-body { padding: 1.25rem 1.4rem 1.4rem; overflow-y: auto; }
.zip-dialog-body > p { margin: 0 0 1rem; color: var(--muted); }
.zip-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.zip-list li { padding: .75rem .9rem; background: var(--blue-soft); border-radius: 12px; }
.zip-list strong { display: block; margin-bottom: .3rem; }
.zip-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.zip-chips span { padding: .15rem .55rem; color: var(--blue-dark); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 800; }
.zip-dialog-body > .zip-note { margin: 0; font-size: .9rem; }

/* ---------- Customer Reviews heading stays on one line ---------- */
.reviews-head { max-width: 900px; }
.reviews-head h2 { white-space: nowrap; font-size: min(2.5rem, calc((100vw - 2.5rem) / 17.5)); }   /* shrinks a little on narrow screens so it never wraps */

/* ---------- Preferred time: branded drop-down list ---------- */
.time-field { position: relative; }
.booking-fields select.time-native { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }   /* real field stays for the form, but is not shown */
.time-picker { position: relative; }
.time-button { width: 100%; height: 2.9rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; font: 600 1rem Nunito, sans-serif; text-align: left; cursor: pointer; }
.time-button.is-placeholder { color: var(--muted); }
.time-button::after { content: ''; flex: none; width: .5rem; height: .5rem; border-right: 2px solid var(--blue-dark); border-bottom: 2px solid var(--blue-dark); transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.time-button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.time-button:focus-visible, .time-button[aria-expanded="true"] { outline: 3px solid rgba(23, 105, 224, .2); border-color: var(--blue); }
.time-panel { position: absolute; top: calc(100% + .35rem); left: 0; right: 0; z-index: 30; max-height: 15rem; overflow-y: auto; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(22, 36, 56, .18); }
.time-panel[hidden] { display: none; }
.time-option { display: block; width: 100%; padding: .6rem .8rem; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 10px; font: 700 .95rem Nunito, sans-serif; text-align: left; cursor: pointer; }
.time-option:hover, .time-option:focus-visible { border-color: var(--blue); background: var(--blue-soft); outline: none; }
.time-option[aria-selected="true"] { color: #fff; background: var(--blue); }
.time-empty { margin: 0; padding: .75rem; color: var(--muted); font-size: .9rem; }

/* ---------- Pricing pop-up ---------- */
.price-dialog { width: min(520px, calc(100vw - 2rem)); }
.price-list { display: grid; gap: .5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.price-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .95rem; background: var(--blue-soft); border-radius: 12px; font-weight: 700; }
.price-list strong { color: var(--blue-dark); font-size: 1.15rem; white-space: nowrap; }
.price-dialog .zip-dialog-body > p strong { color: var(--ink); }
.warranty-note { margin: 0 0 1rem; padding: .8rem .95rem; color: var(--ink); background: #fff; border: 2px solid var(--blue); border-radius: 12px; font-size: .95rem; }
.price-dialog .zip-dialog-body > .warranty-note strong { color: var(--blue-dark); }

/* ---------- Business hours & contact pop-up ---------- */
.hours-heading { margin: 0 0 .5rem; font-size: 1rem; }
.hours-line { margin: 0 0 1.25rem; padding: .8rem .95rem; color: var(--ink); background: var(--blue-soft); border-radius: 12px; }
.contact-list { margin-bottom: 1.1rem; }
.contact-list a { color: var(--blue-dark); font-weight: 800; overflow-wrap: anywhere; text-align: right; text-decoration: none; }
.contact-list a:hover, .contact-list a:focus-visible { text-decoration: underline; }
@media (max-width: 420px) { .contact-list li { flex-direction: column; align-items: flex-start; gap: .1rem; } .contact-list a { text-align: left; } }
