/* Cute Cat Veterinary Clinic — concept by Beans Digital
   Palette: warm cream, cat-tongue coral, deep plum, apricot.
   Type: Fraunces (soft display serif) + Nunito Sans (round humanist body). */

@view-transition { navigation: auto; }

:root {
  --cream: #fbf3e7;
  --cream-deep: #f5e7d2;
  --ink: #3a2335;
  --plum: #5c2e55;
  --coral: #e96d4f;
  --coral-deep: #d4572f;
  --apricot: #f5b97f;
  --white: #fffefb;
  --shadow: 0 14px 40px rgba(58, 35, 53, .12);
  --radius: 26px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--plum);
  letter-spacing: -.01em;
}

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--plum);
  color: #f9e9dd;
  text-align: center;
  font-size: .82rem;
  padding: .55rem 1rem;
  letter-spacing: .02em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 243, 231, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(92, 46, 85, .12);
  view-transition-name: site-header;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--plum);
  view-transition-name: logo;
}

.logo svg { width: 44px; height: 44px; }

.logo-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.logo-word small {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-top: .25rem;
}

.main-nav ul {
  display: flex;
  gap: .3rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  transition: background .25s, color .25s;
}

.main-nav a:hover { background: var(--cream-deep); }

.main-nav a[aria-current="page"] {
  background: var(--plum);
  color: var(--cream);
}

.main-nav a.nav-cta {
  background: var(--coral);
  color: #fff;
}

.main-nav a.nav-cta:hover { background: var(--coral-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--plum);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--plum);
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1rem 3.5rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--apricot);
  color: var(--coral-deep);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}

.hero-kicker .pulse-dot {
  width: 9px; height: 9px;
  background: var(--coral);
  border-radius: 50%;
  animation: softPulse 2s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .55; }
}

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

.hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(233, 109, 79, .35);
}

.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}

.btn-ghost:hover { background: var(--plum); color: var(--cream); transform: translateY(-2px); }

.hero-art { position: relative; }

.hero-art .blob {
  position: absolute;
  inset: -8% -6%;
  z-index: -1;
}

.cat-illustration { width: 100%; height: auto; }

.cat-illustration .tail {
  transform-origin: 18% 82%;
  animation: tailWag 4s ease-in-out infinite;
}

@keyframes tailWag {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-6deg); }
}

.hero-rating {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--white);
  border-radius: 18px;
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: .95rem;
}

.hero-rating .stars { color: var(--coral); letter-spacing: .1em; }

/* ---------- curved divider ---------- */
.curve { display: block; width: 100%; height: 70px; }

/* ---------- emergency strip ---------- */
.emergency-strip { background: var(--plum); color: var(--cream); }

.emergency-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.4rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.emergency-inner h2 { color: var(--cream); font-size: 1.6rem; }

.emergency-inner p { max-width: 36rem; color: #e8d3e0; }

.emergency-inner .btn-primary { box-shadow: none; }

/* ---------- sections ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.section-head { max-width: 42rem; margin-bottom: 2.4rem; }

.section-head .eyebrow {
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: .6rem;
}

.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .7rem; }

.section.alt-bg {
  max-width: none;
  background: var(--cream-deep);
}

.section.alt-bg > .section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .3s;
}

.card:hover { transform: translateY(-5px); }

.card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--coral-deep);
}

.card h3 { font-size: 1.25rem; margin-bottom: .55rem; }

.card p { font-size: .97rem; }

.card .card-link {
  display: inline-block;
  margin-top: .9rem;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem 1rem;
  box-shadow: var(--shadow);
}

.stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.stat .label {
  margin-top: .5rem;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--plum);
}

.stat .note { font-size: .78rem; color: #7b5a73; margin-top: .3rem; }

/* ---------- testimonials ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}

.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.6rem;
  color: var(--apricot);
  line-height: 1;
  display: block;
  margin-bottom: .2rem;
}

.quote p { font-size: .98rem; font-style: italic; }

.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 800;
  font-size: .85rem;
  color: var(--coral-deep);
}

/* ---------- paw divider ---------- */
.paw-row {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  padding: .5rem 0 0;
  color: var(--apricot);
}

/* ---------- info split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hours-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--plum);
  padding: 1.1rem 1.4rem .4rem;
  background: var(--white);
}

.hours-table th, .hours-table td {
  padding: .68rem 1.4rem;
  text-align: left;
  font-size: .95rem;
  border-top: 1px solid var(--cream-deep);
}

.hours-table td { font-weight: 800; color: var(--coral-deep); text-align: right; }

.map-frame {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-lines { list-style: none; margin: 1.3rem 0; }

.contact-lines li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .45rem 0;
  font-size: 1rem;
}

.contact-lines svg { flex: none; margin-top: .22rem; color: var(--coral-deep); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--coral);
  color: #fff;
  border-radius: var(--radius);
  max-width: 1120px;
  margin: 0 auto 4rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .7rem; }

.cta-band p { max-width: 36rem; margin: 0 auto 1.6rem; }

.cta-band .btn-ghost { border-color: #fff; color: #fff; }

.cta-band .btn-ghost:hover { background: #fff; color: var(--coral-deep); }

.cta-band .btn-primary { background: var(--plum); box-shadow: none; }

.cta-band .btn-primary:hover { background: var(--ink); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.6rem 1rem 1rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-bottom: .9rem; }

.page-hero p { max-width: 40rem; margin: 0 auto; font-size: 1.1rem; }

/* ---------- service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
}

.service-row .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--coral-deep);
}

.service-row h3 { font-size: 1.35rem; margin-bottom: .4rem; }

.service-row ul { margin: .6rem 0 0 1.1rem; font-size: .95rem; }

/* ---------- steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.3rem;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--apricot);
  display: block;
  margin-bottom: .6rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: .45rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 46rem; }

.faq-list details {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: .9rem;
  padding: 1.1rem 1.4rem;
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--plum);
  font-size: 1.02rem;
}

.faq-list details p { margin-top: .7rem; font-size: .97rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e8d3e0;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-inner h4 { color: var(--cream); margin-bottom: .8rem; font-size: 1.05rem; }

.footer-inner ul { list-style: none; }

.footer-inner li { margin-bottom: .45rem; font-size: .93rem; }

.footer-inner a { color: #f0c9b2; text-decoration: none; }

.footer-inner a:hover { text-decoration: underline; }

.footer-note {
  border-top: 1px solid rgba(232, 211, 224, .2);
  text-align: center;
  padding: 1.1rem;
  font-size: .85rem;
  color: #c8a9bd;
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: transform .25s;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- reveal animations (JS-gated) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }

  .nav-toggle { display: grid; place-items: center; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(92, 46, 85, .15);
    box-shadow: var(--shadow);
    padding: .8rem 1rem 1.2rem;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: .4rem; }

  .main-nav a { display: block; text-align: center; padding: .8rem; }
}

/* no-JS fallback: keep menu reachable */
html:not(.js) .nav-toggle { display: none; }

@media (max-width: 860px) {
  html:not(.js) .main-nav { display: block; position: static; box-shadow: none; }
}
