/* Give Me Paw - public site styles.
   Palette + type captured from the original Wix theme:
   Syne for display/headings, Questrial for body, lavender/purple accents. */

:root {
  --ink: #170c34;
  --purple-deep: #2d1768;
  --purple: #66578e;
  --purple-mid: #9285b3;
  --lavender: #baafd9;
  --lavender-soft: #eeeaf7;
  --paper: #ffffff;
  --muted: #757575;
  --danger: #b3423a;
  --font-display: "Syne", sans-serif;
  --font-body: "Questrial", sans-serif;
  --shadow: 0 10px 30px rgba(23, 12, 52, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

a { color: var(--purple-deep); }

.center { text-align: center; }
.muted { color: var(--muted); }

[x-cloak] { display: none !important; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 2px solid var(--purple-deep);
  padding: 12px 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  background: transparent;
  color: var(--purple-deep);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--purple-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--purple); border-color: var(--purple); }

.btn-outline:hover { background: var(--lavender-soft); }

.btn-danger {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.btn-hero {
  background: var(--purple);
  border: none;
  color: #fff;
  font-size: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 11px 26px;
}
.btn-hero:hover { background: var(--purple-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--purple); /* #66578e, sampled from the original Wix header */
}

.header-inner {
  /* Full-width header: logo and BOOK NOW sit near the screen edges */
  max-width: none;
  padding: 10px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* The logo artwork is white, exactly as the original purple header expects */
.brand-logo { height: 52px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #1e1633; /* inactive items are dark, like the original */
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.login-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  opacity: 0.95;
}

.login-link:hover { opacity: 1; color: var(--lavender-soft); }

.socials { display: flex; gap: 12px; align-items: center; }
.socials a { color: #fff; display: inline-flex; }
.socials a:hover { color: var(--lavender); }

.btn-book {
  padding: 9px 22px;
  font-size: 12px;
  /* Compact bold face, like the original button */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #fff;
  border: none;
  color: var(--ink);
}
.btn-book:hover {
  background: #fd8cec; /* Wix theme pink */
  color: #fff;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
}

.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* bias the crop so the dog sits right of center, like the original */
  object-position: 30% 20%;
}

.hero-content {
  position: relative;
  margin-left: 7%;
  max-width: 720px;
  padding: 40px 20px;
  text-align: left;
}

.hero-title {
  /* Sized so the heading spans ~27% of the viewport width, like the original */
  font-size: clamp(38px, 4.6vw, 68px);
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1e0a3b; /* sampled from the original heading */
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(15px, 1.4vw, 19px);
  margin: 0 0 34px;
  font-family: var(--font-body);
  color: var(--purple-deep); /* readable over the light hero background */
}

/* ---------- Sections ---------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 20px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 44px);
  text-align: center;
  margin-bottom: 40px;
}

/* Services */

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-bottom: 44px;
}

.service-card {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}

.service-card-img {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card h3 { font-size: 22px; margin-bottom: 4px; }
.service-card p { margin: 0; color: var(--muted); font-size: 16px; }

/* About */

.about-section { background: var(--lavender-soft); max-width: none; }

.about-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
}

.about-photo { position: relative; }

.about-photo img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-caption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
}

.about-text .section-title { text-align: left; margin-bottom: 18px; }
.about-text p { font-size: 18px; }

/* Happy clients */

.follow-us { text-align: center; margin: -22px 0 34px; font-size: 17px; }
.follow-us a { text-decoration: none; font-weight: bold; }

.clients-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.clients-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

/* Reviews */

.reviews-section { background: var(--purple-deep); color: #fff; max-width: none; }
.reviews-section .section-title { color: #fff; }

.reviews-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.review { margin: 0; text-align: center; }

.review blockquote {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.65;
}

.review figcaption {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--lavender);
}

/* Hours */

.hours-section { text-align: center; }

.hours-list p { margin: 6px 0; font-size: 20px; }
.hours-days { font-family: var(--font-display); margin-right: 10px; }

/* Contact */

.contact-section { position: relative; max-width: none; padding: 0; }

.contact-bg { position: absolute; inset: 0; overflow: hidden; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(23, 12, 52, 0.45);
}

.contact-card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 90px 20px;
  color: #fff;
  text-align: center;
}

.contact-card .section-title { color: #fff; margin-bottom: 14px; }
.contact-lead { margin-bottom: 26px; }

.contact-card address { font-style: normal; margin-bottom: 34px; }
.contact-card address p { margin: 4px 0; }
.contact-card a { color: #fff; }

.contact-form {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 14px;
  padding: 30px 28px;
  text-align: left;
  box-shadow: var(--shadow);
}

.contact-form label,
.book-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea,
.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 12px;
  margin-top: 4px;
  border: 1px solid var(--lavender);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: 2px solid var(--purple);
  border-color: var(--purple);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.contact-success { text-align: center; font-size: 20px; }

/* ---------- Inner pages ---------- */

.page-section { min-height: 55vh; }

.page-lead {
  text-align: center;
  color: var(--muted);
  margin: -20px auto 46px;
  max-width: 640px;
}

/* Portfolio: collections index */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.collection-card {
  text-decoration: none;
  color: var(--ink);
}

.collection-cover {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  background: var(--lavender-soft);
}

.collection-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collection-card:hover .collection-cover img { transform: scale(1.05); }

.collection-count {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(23, 12, 52, 0.65);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.collection-name { font-size: 22px; margin: 0 0 4px; }

.collection-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Portfolio: collection gallery */

.gallery-back { margin: -10px 0 8px; }
.gallery-back a { text-decoration: none; font-size: 14px; }

.gallery-masonry {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery-item {
  margin: 0 0 16px;
  break-inside: avoid;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img { transform: scale(1.03); filter: brightness(1.05); }

.gallery-item figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 4px;
}

/* Prev/next collection navigation */

.collection-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--lavender-soft);
}

.collection-nav-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  padding: 12px 18px;
  border: 1px solid var(--lavender-soft);
  border-radius: 12px;
  transition: background 0.15s ease, border-color 0.15s ease;
  max-width: 46%;
}

.collection-nav-link:hover { background: var(--lavender-soft); border-color: var(--lavender); }

.collection-nav-link.next { text-align: right; margin-left: auto; }

.collection-nav-hint { font-size: 13px; color: var(--muted); }

.collection-nav-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--purple-deep);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 8, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-figure {
  margin: 0;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-figure img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lb-figure figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding-top: 10px;
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }

.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.lb-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

/* Services list (vertical cards, optional thumbnails) */

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.svc-row {
  display: flex;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--lavender-soft);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 6px 20px rgba(23, 12, 52, 0.06);
}

.svc-thumb {
  flex: 0 0 108px;
}

.svc-thumb img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 12px;
}

.svc-body { flex: 1; min-width: 0; }

.svc-title { font-size: 22px; margin: 0 0 4px; }

.svc-desc {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 14px;
}

.svc-variants { list-style: none; margin: 0; padding: 0; }

.svc-variant {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--lavender-soft);
}

.svc-variant:first-child { border-top: 0; }

.svc-variant-label { flex: 1; font-size: 16px; }

.svc-variant-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  white-space: nowrap;
}

.svc-duration { color: var(--muted); font-size: 14px; }

.svc-price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--purple-deep);
  min-width: 74px;
  text-align: right;
}

.btn-bookit {
  font-size: 12px;
  padding: 8px 20px;
}

/* ---------- Booking flow ---------- */

.book-flow { margin-top: 48px; scroll-margin-top: 90px; }

.book-step {
  background: var(--lavender-soft);
  border-radius: 16px;
  padding: 34px 28px;
}

.book-step-head { text-align: center; margin-bottom: 22px; }
.book-step-head h2 { margin-bottom: 2px; }
.book-step-service { color: var(--purple); margin: 0; }

.book-calendar { max-width: 460px; margin: 0 auto; }

.cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cal-month { font-family: var(--font-display); font-size: 19px; }

.cal-arrow {
  background: #fff;
  border: 1px solid var(--lavender);
  border-radius: 8px;
  width: 40px; height: 40px;
  font-size: 17px;
  cursor: pointer;
}
.cal-arrow:disabled { opacity: 0.35; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
}

.cal-cell.empty { visibility: hidden; }

.cal-cell.available {
  background: #fff;
  border: 1px solid var(--lavender);
  color: var(--purple-deep);
  cursor: pointer;
  font-weight: bold;
}

.cal-cell.available:hover { background: var(--purple-deep); color: #fff; }

.cal-cell.unavailable { color: #b9b3c9; }

#book-slots-panel { scroll-margin-top: 90px; }

.book-slots { margin-top: 30px; text-align: center; }
.book-slots h3 { font-size: 19px; }

.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.slot {
  background: #fff;
  border: 1px solid var(--lavender);
  color: var(--purple-deep);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  cursor: pointer;
}

.slot:hover { background: var(--purple-deep); color: #fff; }

.book-details { max-width: 560px; margin: 26px auto 0; }
.book-details h3 { text-align: center; }

.book-summary {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 22px;
}

.book-confirmed {
  text-align: center;
  background: var(--lavender-soft);
  border-radius: 16px;
  padding: 56px 28px;
}

.book-confirmed-icon { color: #3f9e58; margin-bottom: 8px; display: flex; justify-content: center; }

.book-error {
  text-align: center;
  background: #fdf0ef;
  border: 1px solid #eac6c3;
  color: var(--danger);
  border-radius: 12px;
  padding: 26px;
  margin-top: 20px;
}

.center-col { text-align: center; max-width: 660px; }
.center-col form { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--lavender-soft);
  padding: 44px 20px;
  text-align: center;
}

.site-footer .socials { justify-content: center; margin-bottom: 12px; }

.copyright { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Glass variant (Services page over the grooming-tools photo) ---------- */

body.glass-page {
  background:
    linear-gradient(rgba(23, 12, 52, 0.72), rgba(23, 12, 52, 0.80)),
    url("/images/contact-bg.jpg") center / cover no-repeat fixed;
}

.glass-page .section-title { color: #fff; }
.glass-page .page-lead { color: rgba(255, 255, 255, 0.72); }

.glass-page .svc-row {
  /* Diagonal sheen instead of a flat fill: reads as light hitting the glass */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(255, 255, 255, 0.11) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(8px) saturate(1.15);
  -webkit-backdrop-filter: blur(8px) saturate(1.15);
  /* Light source top-left: bright rim on top+left, faint on bottom-right */
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.30),
    inset 1px 1px 0 rgba(255, 255, 255, 0.50),
    inset -1px -1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 26px rgba(255, 255, 255, 0.07);
}

.glass-page .svc-title { color: #fff; }
.glass-page .svc-desc { color: rgba(255, 255, 255, 0.72); }
.glass-page .svc-variant { border-top-color: rgba(255, 255, 255, 0.16); }
.glass-page .svc-variant-label { color: #fff; }
.glass-page .svc-duration { color: rgba(255, 255, 255, 0.62); }
.glass-page .svc-price { color: var(--lavender); }

.glass-page .svc-thumb img { border: 1px solid rgba(255, 255, 255, 0.25); }

.glass-page .btn-bookit {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.glass-page .btn-bookit:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.glass-page .site-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.glass-page .site-footer .socials a { color: rgba(255, 255, 255, 0.85); }
.glass-page .copyright { color: rgba(255, 255, 255, 0.55); }

/* ---------- Animations (Wix-style entrance + scroll reveals) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-title, .hero-subtitle, .btn-hero {
    opacity: 0;
    animation: rise-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .hero-subtitle { animation-delay: 0.25s; }
  .btn-hero { animation-delay: 0.5s; }

  .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Manage appointment ---------- */

.manage-link { font-size: 15px; }

.manage-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--lavender-soft);
  border-radius: 16px;
  padding: 30px 28px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(23, 12, 52, 0.06);
}

.manage-card h2 { margin-bottom: 4px; }

.manage-card.is-cancelled { opacity: 0.8; }

.manage-when {
  font-size: 19px;
  color: var(--purple-deep);
  margin: 0 0 10px;
}

.manage-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.manage-cancel-btn { border-color: var(--danger); color: var(--danger); }
.manage-cancel-btn:hover { background: #fdf0ef; }

.manage-banner {
  max-width: 520px;
  margin: -20px auto 26px;
  text-align: center;
  background: var(--lavender-soft);
  border-radius: 10px;
  padding: 12px 18px;
}

.manage-banner.ok { background: #eef5ee; color: #2c6e3f; }
.manage-banner.warn { background: #fdf0ef; color: var(--danger); }

.manage-lookup {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--lavender-soft);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 6px 20px rgba(23, 12, 52, 0.06);
}

.manage-lookup label { display: block; font-size: 14px; margin-bottom: 14px; }

.manage-lookup input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 10px 12px;
  margin-top: 4px;
  border: 1px solid var(--lavender);
  border-radius: 8px;
}

.manage-lookup input:focus { outline: 2px solid var(--purple); border-color: var(--purple); }

.manage-lookup .btn { width: 100%; }

.manage-lookup-sent { text-align: center; }

/* ---------- Floating chat widget ---------- */

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(23, 12, 52, 0.35);
  transition: transform 0.15s ease, background 0.2s ease;
}

.chat-toggle:hover { background: var(--purple-deep); transform: scale(1.06); }

.chat-panel {
  width: min(340px, calc(100vw - 44px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(23, 12, 52, 0.30);
  border: 1px solid var(--lavender-soft);
}

.chat-head {
  background: var(--purple); /* matches the site header */
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close {
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.chat-body { padding: 16px; }

.chat-note { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

.chat-body label { display: block; font-size: 13px; margin-bottom: 10px; }

.chat-body input,
.chat-body textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 8px 10px;
  margin-top: 3px;
  border: 1px solid var(--lavender);
  border-radius: 8px;
}

.chat-body input:focus,
.chat-body textarea:focus { outline: 2px solid var(--purple); border-color: var(--purple); }

.chat-submit {
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
  background: var(--purple);
  border-color: var(--purple);
}
.chat-submit:hover { background: var(--purple-deep); border-color: var(--purple-deep); }

.chat-body .contact-success { padding: 18px 4px; box-shadow: none; }

.chat-enter { transition: opacity 0.2s ease, transform 0.2s ease; }
.chat-enter-start { opacity: 0; transform: translateY(14px) scale(0.97); }
.chat-enter-end { opacity: 1; transform: none; }

@media (max-width: 680px) {
  .chat-widget { right: 14px; bottom: 14px; }
}

/* ---------- HTMX ---------- */

.htmx-request { opacity: 0.6; pointer-events: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-text .section-title { text-align: center; }
  .clients-strip { grid-template-columns: repeat(3, 1fr); }
  .clients-strip img:nth-child(n+4) { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--purple);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .socials { display: none; }
  .site-footer .socials { display: flex; }
  .login-link { display: none; }

  /* Mobile menu: white items on purple */
  .main-nav a { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
  .main-nav a:hover, .main-nav a.active { color: #fff; }

  .brand-logo { height: 42px; }

  .hero { min-height: 68vh; }
  .hero-content { margin-left: 0; padding: 40px 24px; }

  .section { padding: 56px 18px; }

  .service-cards { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; max-width: 420px; }

  /* Service rows stack on phones */
  .svc-row { flex-direction: column; gap: 14px; padding: 20px 16px; }
  .svc-thumb img { width: 100%; height: 150px; }
  .svc-variant { flex-wrap: wrap; gap: 8px; }
  .svc-variant-label { flex: 1 1 100%; }
  .svc-variant-meta { flex: 1; justify-content: flex-start; }
  .svc-price { text-align: left; min-width: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .book-step { padding: 24px 14px; }
}
