@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --ink: #1e2d2a;
  --ink-soft: #3f544e;
  --muted: #6d8079;
  --sage: #5b8a7a;
  --sage-deep: #446b5d;
  --sage-soft: #dfe9e3;
  --mist: #f3f7f5;
  --white: #ffffff;
  --line: rgba(30, 45, 42, 0.12);
  --clay: #d98a5f;
  --hero-shade: linear-gradient(
    100deg,
    rgba(30, 45, 42, 0.55) 0%,
    rgba(30, 45, 42, 0.22) 55%,
    rgba(30, 45, 42, 0.08) 100%
  );
  /* Anuphan = Thai UI/headings · Fraunces = Latin brand KIND PAWS only */
  --font: 'Anuphan', 'Helvetica Neue', sans-serif;
  --heading: 'Anuphan', 'Helvetica Neue', sans-serif;
  --brand: 'Fraunces', 'Anuphan', Georgia, serif;
  --radius: 20px;
  --max: 1140px;
  --nav-h: 76px;
  --demo-h: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Demo bar */
.demo-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
}

.demo-bar strong {
  font-family: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #bcd6cb;
}

.demo-bar__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.demo-bar a {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  transition: background 0.2s var(--ease), border-color 0.2s;
}

.demo-bar a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.demo-bar a.is-primary {
  background: var(--sage);
  border-color: var(--sage);
}

.demo-bar a.is-primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--nav-h);
}

.site-header.is-solid {
  position: fixed;
  top: var(--demo-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  animation: drop 0.35s var(--ease);
}

.site-header.is-solid .brand,
.site-header.is-solid .nav a {
  color: var(--ink);
}

.site-header.is-solid .menu-toggle {
  border-color: var(--line);
  color: var(--ink);
}

@keyframes drop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  font-family: var(--brand);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.brand span {
  color: var(--sage-soft);
  font-style: italic;
}

.site-header.is-solid .brand span {
  color: var(--sage);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--sage-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn--sage:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.btn--ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn--ink:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

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

/* Hero — full bleed with floating panel */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: kenburns 20s var(--ease) forwards;
}

@keyframes kenburns {
  to {
    transform: scale(1);
  }
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-shade);
}

.hero__panel {
  position: relative;
  z-index: 1;
  width: min(90% - 1rem, 30rem);
  margin-left: clamp(1.5rem, 6vw, 6.5rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 30px 60px -20px rgba(30, 45, 42, 0.35);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sage-soft);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.brand-mark {
  font-family: var(--brand);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

/* Trust strip */
.trust-strip {
  background: var(--ink);
  color: var(--white);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.25rem 0;
  gap: 1.5rem;
}

.trust-strip__inner div {
  text-align: center;
}

.trust-strip strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sage-soft);
}

.trust-strip span {
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section__head {
  margin-bottom: 2.75rem;
  max-width: 38rem;
}

.section__head .eyebrow,
.eyebrow {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.section__head h2 {
  font-family: var(--heading);
  font-size: clamp(1.9rem, 3.6vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section__head p {
  color: var(--ink-soft);
  font-size: 1.03rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(30, 45, 42, 0.25);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Why us */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.why-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-copy > p {
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  max-width: 40ch;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.98rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--sage);
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 0.42rem;
  top: 0.52rem;
  width: 0.5rem;
  height: 0.3rem;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

/* Care strip */
.care-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: var(--sage-soft);
  align-items: stretch;
}

.care-strip__media {
  overflow: hidden;
  min-height: 380px;
}

.care-strip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-strip__copy {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.care-strip__copy h2 {
  font-family: var(--heading);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.care-strip__copy p {
  color: var(--ink-soft);
  max-width: 34ch;
}

/* Vets */
.vets-section {
  background: var(--mist);
}

.vets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vet {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.25rem 1.75rem;
  border: 1px solid var(--line);
}

.vet__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--sage-soft);
}

.vet__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vet h3 {
  font-family: var(--heading);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.vet p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Appointment */
.appoint-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto 5rem;
  width: min(100% - 2.5rem, var(--max));
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.appoint-info {
  padding: 3.5rem;
  background: linear-gradient(160deg, var(--sage-soft), var(--white) 65%);
}

.appoint-info h2 {
  font-family: var(--heading);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.appoint-info > p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 34ch;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.info-list li {
  display: grid;
  gap: 0.15rem;
}

.info-list span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.info-list strong {
  font-weight: 600;
  font-size: 1rem;
}

.appoint-form {
  padding: 3.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--mist);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage);
  background: var(--white);
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

/* Voice strip — soft quotes */
.voice-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.voice-strip__item {
  margin: 0;
  padding: 1.55rem 1.4rem 1.45rem 1.5rem;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--sage);
  background: transparent;
}
.voice-strip__item:nth-child(even) {
  border-left-color: color-mix(in srgb, var(--accent, var(--gold, var(--blush, var(--line)))) 55%, transparent);
}
.voice-strip__item p {
  font-family: var(--heading, var(--brand, var(--display, inherit)));
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.45;
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-weight: 500;
}
.voice-strip__item cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .voice-strip { grid-template-columns: 1fr; }
  .voice-strip__item { padding-inline: 0 0.25rem; border-left-width: 2px; padding-left: 1.1rem; }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__grid .brand {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer__grid h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fbcb0;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer__grid a {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer__grid a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}





/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid,
  .care-strip,
  .vets,
  .appoint-section,
  .footer__grid,
  
  .trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .care-strip__media {
    min-height: 260px;
  }

  .care-strip__copy,
  .appoint-info,
  .appoint-form {
    padding: 2.5rem;
  }

  .why-visual {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .demo-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero__panel {
    margin: 0 auto;
    width: min(92% - 1rem, 30rem);
  }

  .appoint-section {
    width: min(100% - 1.5rem, var(--max));
  }

  .appoint-info,
  .appoint-form {
    padding: 2rem 1.5rem;
  }
}
