/* ============ Tokens ============ */
:root {
  --cream: #fff7ee;
  --cream-2: #fdeede;
  --ink: #2c2235;
  --ink-soft: #5b5266;
  --plum: #6b3fa0;
  --plum-deep: #4b2a73;
  --peach: #ff9e6d;
  --peach-deep: #f97a3d;
  --pink: #ff7eb6;
  --green: #3fb27f;
  --shadow: 0 18px 40px -18px rgba(75, 42, 115, .35);
  --radius: 22px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__name {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -.02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ Buttons ============ */
.btn {
  --bg: var(--peach-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--bg);
  color: #fff;
  font-weight: 800;
  font-family: "Nunito", sans-serif;
  border: none;
  border-radius: 100px;
  padding: .7rem 1.3rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  box-shadow: 0 10px 22px -12px rgba(249, 122, 61, .9);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(249, 122, 61, .9); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--plum-deep);
  box-shadow: inset 0 0 0 2px rgba(107, 63, 160, .35);
}
.btn--ghost:hover { background: rgba(107, 63, 160, .08); box-shadow: inset 0 0 0 2px var(--plum); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 238, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 63, 160, .1);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; }
.brand__paw { font-size: 1.5rem; }
.brand__name { font-size: 1.4rem; font-weight: 700; color: var(--plum-deep); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { font-weight: 700; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--plum); }
.nav__links .btn { color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--plum-deep); border-radius: 3px; transition: .3s; }

/* ============ Hero ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: .8rem;
  color: var(--peach-deep);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--peach); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
.hero .hl { color: var(--plum); }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  margin: 1.5rem 0 2rem;
  max-width: 36ch;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: "Fraunces", serif; font-size: 2rem; color: var(--plum-deep); }
.hero__stats span { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

.hero__cat {
  position: absolute;
  right: 2%;
  bottom: 10%;
  font-size: clamp(8rem, 22vw, 18rem);
  z-index: 1;
  filter: drop-shadow(0 20px 30px rgba(75, 42, 115, .25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-18px) rotate(3deg); } }

.hero__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 0; }
.hero__blob--1 { width: 380px; height: 380px; background: radial-gradient(circle, var(--peach), transparent 70%); top: -80px; right: 8%; }
.hero__blob--2 { width: 320px; height: 320px; background: radial-gradient(circle, var(--pink), transparent 70%); bottom: -120px; left: -60px; }

/* ============ Marquee ============ */
.marquee {
  background: var(--plum-deep);
  color: var(--cream);
  overflow: hidden;
  padding: .9rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  animation: scroll 26s linear infinite;
}
.marquee__track span { opacity: .92; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}
.section--cream { max-width: none; background: var(--cream-2); }
.section--cream > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-top: .4rem; }
.section__sub { color: var(--ink-soft); margin-top: 1rem; font-size: 1.08rem; }

/* ============ Experience cards ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 63, 160, .08);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-6px); }
.card__icon { font-size: 2.5rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card__tag {
  display: inline-block;
  font-weight: 800;
  font-size: .82rem;
  color: var(--plum-deep);
  background: rgba(107, 63, 160, .1);
  padding: .35rem .8rem;
  border-radius: 100px;
}

/* ============ Menu ============ */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}
.menu__col h3 {
  font-size: 1.5rem;
  color: var(--peach-deep);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px dashed rgba(249, 122, 61, .4);
}
.menu__list { list-style: none; }
.menu__list li { display: flex; align-items: baseline; gap: .5rem; padding: .5rem 0; font-weight: 700; }
.menu__list .dots { flex: 1; border-bottom: 2px dotted rgba(91, 82, 102, .35); }
.menu__list em { font-style: normal; color: var(--plum-deep); font-weight: 800; }
.menu__note { text-align: center; margin-top: 2.5rem; color: var(--ink-soft); font-weight: 700; }

/* ============ Cats ============ */
.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.catcard {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.catcard:hover { transform: translateY(-6px) rotate(-1deg); }
.catcard__photo {
  height: 170px;
  display: grid;
  place-items: center;
  font-size: 4.5rem;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.catcard__body { padding: 1.2rem 1.3rem 1.5rem; }
.catcard__body h3 { font-size: 1.3rem; }
.catcard__body p { color: var(--ink-soft); font-size: .95rem; margin: .4rem 0 .8rem; }
.chip {
  font-size: .78rem;
  font-weight: 800;
  background: rgba(63, 178, 127, .15);
  color: #2c7a57;
  padding: .3rem .7rem;
  border-radius: 100px;
}

.adopt-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--plum), var(--plum-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.adopt-banner h3 { font-size: 1.7rem; }
.adopt-banner p { opacity: .9; margin-top: .4rem; max-width: 44ch; }
.adopt-banner .btn { background: #fff; color: var(--plum-deep); box-shadow: none; }

/* ============ Visit ============ */
.section--dark { max-width: none; background: var(--ink); color: var(--cream); }
.visit {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.visit h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .4rem 0 1.2rem; }
.visit__addr { font-size: 1.3rem; font-family: "Fraunces", serif; margin-bottom: 1.5rem; }
.visit__details { list-style: none; margin-bottom: 2rem; }
.visit__details li { display: flex; gap: .7rem; padding: .4rem 0; color: rgba(255, 247, 238, .85); font-weight: 600; }
.visit__hours {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 2rem;
}
.visit__hours h3 { font-size: 1.5rem; color: var(--peach); margin-bottom: 1rem; }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hours li:last-child { border-bottom: none; }
.hours span { font-weight: 700; }
.hours em { font-style: normal; color: rgba(255, 247, 238, .8); }
.hours small { opacity: .7; }

/* ============ Reserve form ============ */
.reserve {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.reserve__row { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.reserve label { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: .4rem; font-weight: 800; font-size: .9rem; color: var(--ink-soft); }
.reserve__notes { display: flex; flex-direction: column; margin-bottom: 1.5rem; }
.reserve input, .reserve select, .reserve textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .75rem .9rem;
  border: 2px solid rgba(107, 63, 160, .18);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .2s;
}
.reserve input:focus, .reserve select:focus, .reserve textarea:focus { outline: none; border-color: var(--plum); }
.reserve textarea { resize: vertical; }
.reserve__success {
  margin-top: 1.2rem;
  text-align: center;
  font-weight: 800;
  color: #2c7a57;
  background: rgba(63, 178, 127, .12);
  padding: .9rem;
  border-radius: 12px;
}

/* ============ Footer ============ */
.footer { background: var(--plum-deep); color: var(--cream); padding: 3.5rem 1.25rem 2rem; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__brand { max-width: 260px; }
.footer__brand .brand__name { color: var(--cream); font-size: 1.5rem; }
.footer__brand p { opacity: .8; margin-top: .5rem; }
.footer__nav { display: flex; flex-direction: column; gap: .6rem; font-weight: 700; }
.footer__nav a { opacity: .85; }
.footer__nav a:hover { opacity: 1; color: var(--peach); }
.footer__social { display: flex; gap: 1rem; font-size: 1.5rem; }
.footer__legal { text-align: center; margin-top: 2.5rem; opacity: .7; font-size: .85rem; }

/* ============ Responsive ============ */
@media (max-width: 760px) {
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(107, 63, 160, .15);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: .8rem 0; width: 100%; }
  .nav__links .btn { width: 100%; margin-top: .5rem; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero__cat { opacity: .25; }
  .visit { grid-template-columns: 1fr; }
}
