:root {
  --bg: #f4f9fc;
  --card: #ffffff;
  --text: #1b2b3a;
  --muted: #5f7388;
  --accent: #0877a9;
  --accent-dark: #055f88;
  --ink: #0d2538;
  --line: #d9e9f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.hero {
  min-height: 42vh;
  display: grid;
  align-items: center;
  padding: 2.5rem 1rem 2rem;
  color: var(--text);
  background: linear-gradient(135deg, #13b8d1 0%, #0896b7 48%, #087ea1 100%);
  animation: reveal 0.7s ease;
}

.hero-content {
  width: min(980px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9fbff;
  font-size: 0.82rem;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

.store-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(2.5rem, 10vw, 4rem);
  line-height: 0.9;
  max-width: 100%;
  color: #101820;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(0, 0, 0, 0.12), 0 16px 24px rgba(0, 0, 0, 0.28);
  overflow-wrap: anywhere;
}

.logo-em {
  font-family: 'Yellowtail', cursive;
  font-size: 1.45em;
  text-transform: none;
  letter-spacing: 0;
}

.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  min-width: 0;
}

.service-ribbon {
  width: min(920px, 100%);
  display: grid;
  align-items: center;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1.2rem 0 1.35rem;
  padding: 0.72rem 1rem;
  background: #fff;
  color: #0c1720;
  border-top: 3px solid rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid rgba(5, 95, 136, 0.22);
  box-shadow: 0 12px 26px rgba(7, 63, 82, 0.22);
  transform: skewY(-2.4deg);
  overflow: hidden;
}

.service-ribbon span {
  display: block;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 2.5vw, 1rem);
  transform: skewY(2.4deg);
  white-space: nowrap;
}

#rotating-service {
  color: var(--accent-dark);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#rotating-service.is-changing {
  opacity: 0;
  transform: translateY(6px) skewY(2.4deg);
}

.subtitle {
  color: #eefcff;
  margin-bottom: 1.5rem;
  max-width: 620px;
  line-height: 1.55;
  font-size: 1rem;
}

.cta {
  border: none;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  text-align: center;
  min-width: 0;
  font: inherit;
}

.cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-actions,
.booking-actions {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), max-content));
}

.hero-address {
  margin-top: 1rem;
  color: #ddf7ff;
  font-weight: 600;
}

.business-strip {
  width: min(980px, calc(100% - 2.5rem));
  margin: -1.6rem auto 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 18px 36px rgba(13, 37, 56, 0.12);
}

.business-strip div {
  display: grid;
  gap: 0.2rem;
  background: #fff;
  padding: 1rem;
}

.business-strip strong {
  color: var(--ink);
}

.business-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.2rem 1.25rem;
}

.section-copy {
  color: var(--muted);
  margin-top: -0.35rem;
}

.review-carousel {
  max-width: 760px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
  box-shadow: 0 12px 28px rgba(59, 26, 38, 0.06);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.review-card.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

.review-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.review-stars {
  margin: 0;
  letter-spacing: 0.08em;
  color: #bf8d23;
  font-weight: 700;
}

.review-source,
.review-name {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.review-text {
  margin: 1rem 0;
  line-height: 1.45;
  font-size: 1.05rem;
}

.review-name {
  color: var(--ink);
  font-weight: 800;
}

.review-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.review-dots button {
  width: 0.68rem;
  height: 0.68rem;
  border: 0;
  border-radius: 999px;
  background: #b8d5e3;
  cursor: pointer;
}

.review-dots button.active {
  background: var(--accent);
}

.packages-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
  margin-bottom: 1.1rem;
}

.package-card,
.service-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(59, 26, 38, 0.06);
}

.package-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.package-card p {
  color: var(--muted);
  line-height: 1.45;
}

.package-card ul,
.service-group ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.package-book {
  width: 100%;
  margin-top: 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #e8f6fb;
  color: var(--accent-dark);
  padding: 0.72rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.service-group {
  padding: 0;
  overflow: hidden;
}

.service-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  font-weight: 800;
}

.service-group summary::-webkit-details-marker {
  display: none;
}

.service-group summary::after {
  content: '+';
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #e8f6fb;
  color: var(--accent-dark);
}

.service-group[open] summary::after {
  content: '-';
}

.service-group small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.service-group ul {
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem 2rem;
}

.booking-actions {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(59, 26, 38, 0.06);
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}

.secondary-cta {
  background: #173a5e;
}

.secondary-cta:hover {
  background: #102b46;
}

.booking-note {
  color: var(--muted);
  line-height: 1.45;
}

.contact {
  padding-bottom: 3.5rem;
}

.contact a {
  color: var(--accent-dark);
  font-weight: 600;
}

.directions-link {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.hours {
  margin-top: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.hours h3 {
  margin: 0 0 0.5rem;
}

.hours p {
  margin: 0.22rem 0;
}

.sticky-book {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 14px 30px rgba(8, 119, 169, 0.32);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 25, 38, 0.58);
}

.booking-modal[aria-hidden='false'] {
  display: flex;
}

.booking-modal-panel {
  width: min(560px, 100%);
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.booking-modal-panel h2 {
  margin: 0.25rem 0 0.5rem;
}

.modal-eyebrow {
  color: var(--accent-dark);
  margin: 0;
}

.modal-actions {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #e8f6fb;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 2rem 0.9rem 1.6rem;
  }

  .store-logo {
    display: grid;
    gap: 0.1rem;
    font-size: clamp(2.25rem, 16vw, 3.2rem);
  }

  .service-ribbon {
    grid-template-columns: repeat(2, 1fr);
    transform: none;
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .service-ribbon span:last-child {
    grid-column: 1 / -1;
  }

  .service-ribbon span,
  #rotating-service.is-changing {
    transform: none;
  }

  .business-strip {
    width: min(100% - 1.5rem, 980px);
    grid-template-columns: 1fr;
    margin-top: -1rem;
  }

  .section {
    padding: 1.8rem 0.9rem;
  }

  .hero-actions,
  .booking-actions,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
  }

  .sticky-book {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    width: auto;
  }

  .contact {
    padding-bottom: 5.5rem;
  }

  .booking-modal {
    padding: 0;
  }

  .booking-modal-panel {
    border-radius: 14px 14px 0 0;
    padding: 1.2rem 1rem 1.4rem;
  }

  .review-text {
    font-size: 1rem;
  }

  .review-dots {
    justify-content: center;
  }
}
