:root {
  color-scheme: light;
  --ink: #251d18;
  --muted: #635b54;
  --milk: #fff7ed;
  --linen: #eadccb;
  --moss: #607c65;
  --moss-dark: #3f5d49;
  --brick: #9b5644;
  --blue: #b9d5d9;
  --white: #ffffff;
  --section-light: #fffdf9;
  --line: rgba(37, 29, 24, 0.16);
  --shadow: 0 24px 64px rgba(37, 29, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(37, 29, 24, 0.76), rgba(37, 29, 24, 0.18)),
    url("https://images.unsplash.com/photo-1586671267731-da2cf3ceeb80?auto=format&fit=crop&w=1800&q=84") 58% 25% / cover;
  color: white;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 24px clamp(18px, 5vw, 70px);
}

.nav a {
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.nav div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.hero-inner {
  max-width: 920px;
  margin-top: auto;
  padding: clamp(80px, 12vw, 150px) clamp(18px, 5vw, 70px) clamp(42px, 7vw, 84px);
}

.kicker {
  margin: 0 0 14px;
  color: var(--brick);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.9;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-inner > p:not(.kicker) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.light {
  background: white;
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: white;
}

.button.dark {
  background: var(--moss-dark);
  color: white;
}

.intro,
.home-section,
.visit-section,
.rates-section,
.contact-section,
.closing {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 70px);
}

.intro {
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  align-items: center;
}

.intro-copy {
  max-width: 900px;
}

.intro h2 {
  max-width: 760px;
}

.intro-text,
.visit-flow p,
.price-panel p,
.price-panel li {
  color: var(--muted);
}

.intro-text {
  max-width: 700px;
  font-size: 1.06rem;
}

.intro-photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  margin: 0;
  align-self: center;
}

.intro-photo img {
  width: 100%;
  aspect-ratio: 4 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.care-transition {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 3.6vw, 38px) clamp(18px, 5vw, 70px);
  background: var(--ink);
  color: white;
}

.care-transition p {
  text-align: center;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.25vw, 2.15rem);
  line-height: 1.14;
  font-weight: 100;
  font-style: italic;
}

.care-transition ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-transition li {
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero .kicker,
.care-transition .kicker {
  color: rgba(255, 255, 255, 0.82);
}

.visit-flow article.wide span {
  color: rgba(255, 255, 255, 0.86);
}

.home-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.home-copy {
  max-width: 780px;
}

.home-copy p {
  font-size: 1.06rem;
}

.home-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--moss);
  background: rgba(185, 213, 217, 0.28);
}

.home-note a {
  display: inline-block;
  margin-top: 10px;
  color: var(--moss-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 20px);
  margin: 0;
  max-width: 760px;
  justify-self: end;
}

.home-photos img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  background: var(--section-light);
}

.visit-photo {
  min-height: 620px;
  margin: 0;
}

.visit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visit-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 4vw, 60px) clamp(24px, 4vw, 58px);
}

.visit-heading {
  max-width: 820px;
}

.visit-heading .kicker {
  color: var(--brick);
}

.visit-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
}

.visit-heading p:not(.kicker) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.visit-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.visit-flow article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  min-height: 142px;
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--line);
}

.visit-flow article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.visit-flow article:nth-child(even) {
  padding-left: 20px;
}

.visit-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(155, 86, 68, 0.12);
  color: var(--brick);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 900;
}

.visit-flow h3,
.visit-report h3 {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.3;
}

.visit-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.visit-report {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(234, 220, 203, 0.55);
}

.report-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(37, 29, 24, 0.2);
  border-radius: 50%;
  color: var(--moss-dark);
  font-size: 1.25rem;
  font-weight: 900;
}

.visit-report p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.visit-report a {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--moss-dark);
  border-radius: 999px;
  color: var(--moss-dark);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.visit-report a:hover {
  background: var(--moss-dark);
  color: white;
}

.visit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.visit-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.visit-footer strong {
  color: var(--ink);
}

.rates-section {
  background: var(--milk);
}

.rates-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.rates-heading > div {
  max-width: 930px;
}

.rates-heading h2 {
  margin-bottom: 0;
}

.dogtips-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(63, 93, 73, 0.24);
  border-radius: 999px;
  background: white;
  box-shadow: 0 14px 36px rgba(37, 29, 24, 0.08);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 850;
  cursor: pointer;
}

.dogtips-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--linen);
  transition: background 180ms ease;
}

.toggle-track::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 3px 10px rgba(37, 29, 24, 0.22);
  content: "";
  transition: transform 180ms ease;
}

.dogtips-toggle input:checked + .toggle-track {
  background: var(--moss-dark);
}

.dogtips-toggle input:checked + .toggle-track::after {
  transform: translateX(20px);
}

.rates-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.price-panel {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(96, 124, 101, 0.22);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 54px rgba(37, 29, 24, 0.08);
}

.price-panel.warm {
  background: #f8efe5;
}

.price-panel dl {
  margin: 22px 0;
}

.price-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.price-panel dt {
  color: #4d4640;
}

.price-panel dd {
  min-width: 98px;
  margin: 0;
  color: var(--moss-dark);
  font-weight: 900;
  text-align: right;
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.price-panel dd.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

.old-price {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: line-through;
}

.new-price {
  color: var(--moss-dark);
  font-weight: 950;
}

.price-panel ul {
  margin: 0;
  padding-left: 18px;
}

.fine {
  margin-bottom: 0;
}

.rates-contract-note {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.closing {
  padding-top: clamp(30px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 48px);
  background: var(--ink);
  color: white;
}

.closing p {
  max-width: 900px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.12;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: var(--section-light);
}

.phone-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1;
  text-decoration: none;
}

.email-link {
  display: block;
  width: fit-content;
  margin-top: 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(37, 29, 24, 0.14);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #403a35;
  font-weight: 750;
}

.contact-form label[hidden] {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(37, 29, 24, 0.22);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fffdf9;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 70px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .nav,
  .intro,
  .home-section,
  .care-transition,
  .visit-section,
  .visit-flow,
  .rates-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
  }

  .visit-heading {
    position: static;
  }

  .visit-photo {
    min-height: 400px;
    max-height: 500px;
  }

  .visit-flow article,
  .visit-flow article:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }

  .visit-report {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .visit-report a {
    grid-column: 2;
  }

  .rates-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-photos img {
    height: 320px;
  }
}

@media (max-width: 660px) {
  .hero {
    min-height: 92vh;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .home-photos img {
    height: 260px;
  }

  .visit-photo {
    min-height: 300px;
    max-height: 360px;
  }

  .visit-content {
    padding: 42px 20px;
  }

  .visit-report {
    grid-template-columns: 1fr;
  }

  .visit-report a {
    grid-column: auto;
  }

  .visit-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }
}
