/* At Home Pet Spa — site styles */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/nunito-variable.woff2") format("woff2"),
       url("fonts/nunito-variable.woff") format("woff");
}

:root {
  --blue: #449CE8;
  --blue-fill: #ACD8FC;
  --blue-sky: #AFD9FE;
  --blue-btn: #2C76B5;
  --blue-btn-hover: #24689F;
  --lavender: #D1B8E9;
  --lavender-deep: #BCA3DC;
  --pink: #FCC9C9;
  --gold: #FCD467;
  --ink: #4B3A31;
  --muted: #5C4A44;
  --white: #FFFFFF;
  --bg: #F6F3FB;
  --bg-sky: #F1F9FC;
  --line: rgba(75, 58, 49, 0.14);
  --shadow: 0 10px 28px rgba(68, 156, 232, 0.16);
  --shadow-soft: 0 4px 16px rgba(75, 58, 49, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
  --wrap: 68rem;
  --header-h: 4.25rem;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--blue-btn);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.0625rem;
  min-height: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-btn); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-btn-hover); }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue-btn); outline-offset: 3px; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--blue-btn);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.75rem;
  outline-color: var(--white);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Promo banner */
.promo {
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(75, 58, 49, 0.08);
}
.promo p { margin: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 251, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  min-height: var(--header-h);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
  line-height: 1.15;
}
.brand:hover { color: var(--ink); }
.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(68, 156, 232, 0.22);
  background: var(--white);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  justify-content: center;
  width: 100%;
  order: 3;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(172, 216, 252, 0.5);
  color: var(--ink);
}
.header-call {
  margin-left: auto;
  flex: 0 0 auto;
}

@media (min-width: 880px) {
  .brand { font-size: 1.15rem; }
  .brand img { width: 52px; height: 52px; flex-basis: 52px; }
  .site-nav {
    order: 0;
    width: auto;
    flex: 1;
    justify-content: flex-end;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.2rem;
  border-radius: 16px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--blue-btn);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(44, 118, 181, 0.28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-btn-hover);
  color: var(--white);
  filter: none;
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--blue);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--bg-sky);
  color: var(--ink);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(252, 212, 103, 0.4);
}
.btn-gold:hover,
.btn-gold:focus-visible {
  filter: brightness(1.04);
  color: var(--ink);
}
.btn-header {
  min-height: 44px;
  padding: 0.45rem 1rem;
  font-size: 0.98rem;
  border-radius: 12px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(172, 216, 252, 0.95), transparent 55%),
    radial-gradient(ellipse at 100% 10%, rgba(252, 201, 201, 0.45), transparent 45%),
    radial-gradient(ellipse at 80% 100%, rgba(209, 184, 233, 0.9), transparent 55%),
    linear-gradient(180deg, #E8F4FE 0%, var(--bg) 100%);
  padding: 2.25rem 0 3rem;
  text-align: center;
}
.hero-logo {
  width: 148px;
  height: 148px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(68, 156, 232, 0.22);
  background: var(--white);
}
.hero h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}
.hero .lede {
  margin: 0.65rem auto 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
}
.hero .intro {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.6rem auto 0;
  max-width: 52rem;
}
.hero-actions .btn {
  flex: 1 1 16rem;
  max-width: 22rem;
}

/* Sections */
.section {
  padding: 3rem 0;
  scroll-margin-top: 8rem;
}
@media (min-width: 880px) {
  .section { scroll-margin-top: 5.5rem; }
}
.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 38rem;
}
.section.alt {
  background:
    linear-gradient(180deg, rgba(175, 217, 254, 0.28), rgba(209, 184, 233, 0.18));
}
.section.book {
  background: var(--bg-sky);
}

/* Prices */
.price-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .price-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(209, 184, 233, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  height: 100%;
}
.price-card-head {
  padding: 1.05rem 1.15rem 0.75rem;
}
.price-card-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.price-card-head .includes {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.prices {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.prices caption {
  text-align: left;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 1.15rem 0.4rem;
  caption-side: top;
  color: var(--ink);
}
.prices th,
.prices td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-top: 1px solid var(--line);
}
.prices th {
  font-weight: 800;
  width: 70%;
}
.prices thead th:last-child,
.prices td {
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.prices tbody th {
  font-weight: 700;
}
.addon {
  background: rgba(209, 184, 233, 0.22);
}
.addon th { font-weight: 800; }
.price-note {
  margin: 0;
  padding: 0.75rem 1.15rem 0.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.price-note:last-child {
  padding-bottom: 1.1rem;
}

/* How it works */
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border: 1px solid rgba(209, 184, 233, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.25rem;
}
.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.steps h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: var(--blue-btn);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
}
.steps p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 3rem 0 3.75rem; }
  .hero-logo { width: 180px; height: 180px; }
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid rgba(209, 184, 233, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.15rem 1.4rem;
}
@media (min-width: 700px) {
  .form-card { padding: 1.6rem 1.6rem 1.75rem; }
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.req { color: #9A3B3B; }
.field-hint {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.check-field input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: var(--blue-btn);
}
.check-field .check-copy {
  margin: 0;
}
.check-field .check-copy label {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
input[type="text"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(75, 58, 49, 0.22);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234B3A31' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}
textarea {
  min-height: 6.5rem;
  resize: vertical;
}
input:hover, select:hover, textarea:hover {
  border-color: var(--lavender-deep);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--blue-btn);
  box-shadow: 0 0 0 3px rgba(44, 118, 181, 0.25);
  outline: none;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 0.35rem;
}
.form-actions .btn { min-width: 12rem; }
.form-fallback {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.form-status {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  background: rgba(172, 216, 252, 0.35);
  border: 1px solid rgba(68, 156, 232, 0.35);
  border-radius: var(--radius-sm);
}
.form-status h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.form-status p { margin: 0 0 0.6rem; color: var(--muted); }
.form-status p:last-child { margin-bottom: 0; }
.message-preview {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--white);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}
.form-status .btn { min-height: 44px; font-size: 0.98rem; }
.noscript {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #FFF4C7;
  border-radius: 12px;
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.contact-list a,
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid rgba(209, 184, 233, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
}
.contact-list a:hover {
  border-color: var(--blue);
  color: var(--ink);
}
.icon-bubble {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(172, 216, 252, 0.65);
  color: var(--blue-btn);
}
.icon-bubble svg { width: 1.2rem; height: 1.2rem; display: block; }
.contact-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}
.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}
.service-area {
  background: var(--white);
  border: 1px solid rgba(209, 184, 233, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.3rem;
}
.service-area h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 800;
}
.service-area p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
  background: #EFE6F7;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 800;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
}

/* 404 */
.page-simple {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.page-simple main {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.25rem;
}
.page-simple h1 { margin: 0.8rem 0 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:active { transform: none; }
}

@media print {
  .site-header, .promo, .hero-actions, .form-card, .site-nav, .header-call { display: none !important; }
  body { background: #fff; }
  a { color: inherit; }
}
