/* ============ Lucia's Pet Grooming Salon — styles ============
   Warm boutique: cream, soft rose, warm gold. Serif elegance for a
   salon grooming Fort Myers pets since the 1980s.
   Type: Cormorant Garamond (display) + Montserrat (body).
   All SiteKit lessons baked in: overflow clipped, vertical-only mobile
   reveals, explicit display rules on link-cards, scroll margins. */

:root {
  --cream: #FBF7F1;
  --cream-2: #F4EBDE;
  --card: #FFFFFF;
  --rose: #E8B4B8;
  --rose-soft: #F6E3E4;
  --rose-deep: #B76E75;
  --gold: #C29237;
  --gold-deep: #A87C2B;
  --ink: #2E2723;
  --muted: #6E6259;
  --line: #E9DECD;
  --r-lg: 20px;
  --r-md: 13px;
  --shadow-sm: 0 10px 26px -14px rgba(84, 62, 44, 0.25);
  --shadow-md: 0 24px 50px -22px rgba(84, 62, 44, 0.35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 88% -6%, rgba(232, 180, 184, 0.28), transparent 60%),
    radial-gradient(800px 560px at -10% 32%, rgba(194, 146, 55, 0.10), transparent 55%),
    radial-gradient(900px 640px at 105% 72%, rgba(232, 180, 184, 0.16), transparent 60%),
    var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; max-width: 100%;
}
/* height:auto is mandatory — width/height attributes are presentational hints that
   otherwise force the intrinsic height and vertically stretch the image */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; color: var(--ink); }
h1 { font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: 0.005em; }
h3 { font-size: 24px; font-weight: 700; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px;
}
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 60px); }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

/* Anchored sections never hide under the fixed nav */
#services, #about, #reviews, #visit { scroll-margin-top: 92px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 2px; }
.btn svg { width: 17px; height: 17px; }
.btn-gold {
  background: linear-gradient(120deg, var(--gold), #D3A44C); color: #fff;
  box-shadow: 0 12px 26px -12px rgba(194, 146, 55, 0.65);
}
.btn-gold:hover { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); }
.btn-outline { border-color: rgba(46, 39, 35, 0.35); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-rose { background: var(--rose-soft); color: var(--rose-deep); }
.btn-rose:hover { background: var(--rose); color: #fff; }
.btn-wide { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 24px;
  padding: 15px clamp(18px, 4vw, 44px);
  color: var(--ink);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav.scrolled {
  background: rgba(251, 247, 241, 0.95);
  box-shadow: 0 1px 0 var(--line), 0 12px 28px -20px rgba(84, 62, 44, 0.4);
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1;
  color: var(--ink);
}
.brand-name i { font-style: italic; color: var(--rose-deep); }
.brand-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 13.5px; letter-spacing: 0.02em; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-links .nav-cta {
  background: linear-gradient(120deg, var(--gold), #D3A44C); color: #fff;
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
}
.nav-links .nav-cta:hover { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: #fff; }
.nav-phone { font-weight: 600; font-size: 14px; text-decoration: none; font-variant-numeric: tabular-nums; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 132px 0 76px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(34px, 5vw, 76px); align-items: center;
}
.hero h1 { font-size: clamp(40px, 5vw, 66px); margin-bottom: 18px; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero-sub { font-size: clamp(15.5px, 1.6vw, 17px); color: var(--muted); max-width: 46ch; margin-bottom: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  background: var(--card); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600;
}
.hero-badge .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; }

/* Photo: squarer crop, capped height so the whole hero fits one screen */
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.hero-photo img {
  /* height:auto is required — the img's height attribute is a presentational
     hint that otherwise wins over aspect-ratio */
  width: 100%; height: auto; aspect-ratio: 1 / 1.06;
  object-fit: cover; object-position: center 42%;
  border-radius: 26px; box-shadow: var(--shadow-md); border: 7px solid #fff;
}
/* rose outline sits behind, offset down-right, fully inside the column */
.hero-photo::after {
  content: ""; position: absolute; inset: 20px -16px -16px 20px;
  border: 2px solid var(--rose); border-radius: 26px; z-index: -1;
}
.hero-note {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 12px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.hero-note span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- Trust strip ---------- */
.trust { padding: 26px 0 10px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px;
}
.trust-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.trust-card b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
/* Only the LABEL is small. The count-up <span> lives inside <b> and must inherit
   the big type — a bare `.trust-card span` rule shrinks it (this bit us before). */
.trust-card > span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.03em; }
.trust-card b span { font: inherit; color: inherit; letter-spacing: inherit; }

/* ---------- Services ---------- */
.services { padding: 86px 0 30px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 42px; }
a.card, .card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: inherit; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--rose); }
.card-img { aspect-ratio: 16 / 10.4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-body h3 { font-size: 25px; }
.card-body p { color: var(--muted); font-size: 14px; flex: 1; }
.card-link { font-weight: 600; font-size: 13.5px; color: var(--gold-deep); letter-spacing: 0.02em; }
.card:hover .card-link { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- About / heritage ---------- */
.about { padding: 86px 0; }
.about-grid {
  display: grid; grid-template-columns: minmax(270px, 400px) 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.about-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover;
  border-radius: 24px; border: 6px solid #fff;
  box-shadow: var(--shadow-md);
}
.about-copy blockquote {
  border-left: 3px solid var(--rose); padding-left: 18px; margin: 20px 0;
  font-family: var(--font-display); font-size: 21px; font-weight: 600; font-style: italic;
  color: var(--ink);
}
.about-copy cite { display: block; font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.about-copy > p { color: var(--muted); margin-bottom: 16px; font-size: 15px; }
.about-points { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.about-points li { padding-left: 30px; position: relative; font-size: 14.5px; }
.about-points li svg {
  position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  stroke: var(--rose-deep); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Reviews ---------- */
.reviews { padding: 60px 0 86px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 40px 0 30px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--gold); letter-spacing: 2.5px; font-size: 14px; }
.review blockquote { font-family: var(--font-display); font-size: 18.5px; font-style: italic; line-height: 1.45; flex: 1; }
.review figcaption { font-weight: 600; font-size: 13px; }
.review figcaption span { font-weight: 400; color: var(--muted); }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--rose) 0%, #D9989E 55%, var(--gold) 130%);
  padding: 78px 0; text-align: center; color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); }
.cta-band p { margin: 12px auto 28px; max-width: 46ch; font-size: 15.5px; opacity: 0.96; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.cta-band .btn-white { background: #fff; color: var(--rose-deep); }
.cta-band .btn-white:hover { background: var(--cream); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.65); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.footer { background: #2A211C; color: #F5EDE3; padding: 58px clamp(20px, 5vw, 60px) 88px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; max-width: 1080px; margin: 0 auto 38px; align-items: start; }
.foot-brand { font-family: var(--font-display); font-weight: 700; font-size: 30px; margin-bottom: 8px; color: #fff; }
.foot-brand i { font-style: italic; color: var(--rose); }
.foot-tag { opacity: 0.75; font-size: 13.5px; }
.foot-head { font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--rose); margin-bottom: 12px; }
.footer a { color: #F5EDE3; text-decoration: none; line-height: 2.1; font-size: 14px; display: inline-block; }
.footer a:hover { color: var(--rose); }
.footer p { opacity: 0.9; font-size: 14px; line-height: 1.9; }
.foot-legal { text-align: center; font-size: 12px; opacity: 0.5; }

/* ---------- Persistent CTAs ---------- */
.side-cta {
  position: fixed; right: 0; top: 50%; z-index: 55;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  background: linear-gradient(180deg, var(--gold), #D3A44C); color: #fff;
  font-weight: 600; font-size: 13px; letter-spacing: 0.06em;
  padding: 18px 11px; border-radius: 0 11px 11px 0; text-decoration: none;
  box-shadow: -6px 0 18px -8px rgba(84, 62, 44, 0.45);
  transition: filter 0.18s var(--ease), padding 0.18s var(--ease);
}
.side-cta:hover { filter: brightness(1.08); padding-right: 16px; }
.mobile-cta { display: none; }

/* ---------- Reveal (gentle, vertical only) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal="scale"] { transform: translateY(14px) scale(0.97); }
[data-reveal].in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .hero-photo { max-width: 430px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
  .nav-burger span { width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: -1;
    background: var(--cream); justify-content: center; align-items: center;
    gap: 30px; font-size: 20px;
  }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .side-cta { display: none; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: 1fr 1.5fr;
    background: rgba(42, 33, 28, 0.98);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-cta a {
    text-align: center; padding: 14px 6px; border-radius: 999px; text-decoration: none;
    color: #fff; font-weight: 600; font-size: 14.5px;
    border: 1.5px solid rgba(255,255,255,0.4);
  }
  .mobile-cta a.gold { background: linear-gradient(120deg, var(--gold), #D3A44C); border-color: transparent; }
  body { padding-bottom: 70px; }
  .hero h1 { font-size: clamp(36px, 9vw, 46px); }
  .hero-note { left: 6px; bottom: 12px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trust-card { padding: 16px 12px; }
  .trust-card b { font-size: 26px; }
  /* vertical-only entrances on phones (page-wobble lesson) */
  [data-reveal], [data-reveal="scale"] { transform: translateY(18px) !important; }
  [data-reveal].in { transform: none !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none !important; transition: none; }
  .btn, .card, .review, .card-img img { transition: none; }
}
