:root {
  --butter: #ffe66d;
  --butter-deep: #ffd54a;
  --foam: #fffdf8;
  --mist: #fff4c4;
  --mist-mid: #f5a623;
  --sky: #fffdf8;
  --sky-deep: #111111;
  --ink: #111111;
  --muted: #6b6b6b;
  --taupe: #f4f1ea;
  --line: #ece7dc;
  --sun: #ffb020;
  --sun-deep: #e8940c;
  --blob: #ffe066;
  --gold: #ffd54a;
  --gold-deep: #f5c400;
  --pink: #ffb020;
  --pink-soft: #ffe9b0;
  --iridescent: #3aa0e8;
  --mint: #9ef0d8;
  --mint-soft: #e7fff6;
  --lavender: #c4b5fd;
  --aqua: #67e8f9;
  --script: "Allura", "Segoe Script", cursive;
  --display: "Bitter", Georgia, serif;
  --body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html,
body {
  max-width: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.55;
  overflow-x: clip;
}

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

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

h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
}

.contact-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 6vw;
  background: var(--sky-deep);
  color: var(--butter);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-bar span {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--mist-mid);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.45rem 3vw;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.site-header .brand {
  grid-area: brand;
  justify-self: start;
}

.site-header nav {
  grid-area: nav;
}

.site-header .header-actions {
  grid-area: actions;
}

.site-header .nav-toggle {
  grid-area: toggle;
}

.site-header .btn {
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.header-actions .btn,
.site-header > .btn {
  background: var(--sun);
  color: var(--ink);
}

.header-actions .btn:hover,
.site-header > .btn:hover {
  background: var(--sun-deep);
  color: #fff;
}

.lang-tabs {
  display: flex;
  padding: 0.18rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px #111;
}

.lang-tabs button {
  border: 0;
  background: none;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font: 700 1rem var(--body);
  color: var(--muted);
  cursor: pointer;
}

.lang-tabs button.active {
  background: var(--ink);
  color: #fff;
}

.site-header nav {
  display: flex;
  position: static;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.1rem 0.08rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 700;
  font-size: 1.08rem;
}

body[data-page="office"] .site-header nav,
body[data-page="admin"] .site-header nav {
  display: flex;
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0;
  box-shadow: none;
  font-size: 0.95rem;
}

.site-header nav a {
  padding: 0.42rem 0.55rem;
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
}

.site-header nav a.nav-active,
.site-header nav a:hover,
.nav-drop:hover > a {
  color: var(--ink);
  background: #fff3c4;
}

.nav-drop {
  position: relative;
}

.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  background: #fffdf8;
  border-radius: 1rem;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
  z-index: 30;
}

.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu,
.nav-drop.open .nav-menu {
  display: grid;
}

.nav-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  white-space: nowrap;
}

.hero-banner {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0.4rem auto 1.4rem;
  padding: 2rem 2.2rem 8.5rem;
  min-height: 520px;
  border-radius: 2.4rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, #fff 0, transparent 42%),
    linear-gradient(160deg, var(--foam) 0%, var(--butter) 52%, var(--butter-deep) 100%);
  color: var(--ink);
}

.hero-mark {
  width: min(340px, 62%);
  background: transparent;
  mix-blend-mode: multiply;
}

.hero-bottom {
  position: absolute;
  inset: auto 2.2rem 2rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.2rem;
}

.hero-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  font-family: var(--body);
  line-height: 1.05;
  color: var(--ink);
}

.hero-banner p {
  margin: 0.65rem 0 1.1rem;
  max-width: 46ch;
  color: var(--ink);
}

.hero-banner .btn {
  background: var(--ink);
  color: var(--foam);
}

.hero-banner .btn:hover {
  background: var(--mist-mid);
  color: var(--ink);
}

.hero-proof {
  margin: 0 !important;
  font-weight: 500;
  white-space: nowrap;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.stat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.2rem 1.3rem;
}

.stat-card.stacked,
.stat-home {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
}

.stat-card.stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.stat-home img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.stat-home div {
  display: grid;
  gap: 0.12rem;
}

.stat-card strong {
  font-size: 1.45rem;
  color: var(--ink);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.package {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  background: #fff;
  border-radius: 1.6rem;
  padding: 1.3rem 1.2rem 1.2rem;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.package.featured {
  box-shadow: inset 0 0 0 2px var(--sun), 0 12px 32px rgba(17, 17, 17, 0.06);
}

.package-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 1.6rem;
}

.price-pill {
  background: var(--mist);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.package ul {
  margin: 0.4rem 0 0.6rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.tag {
  width: max-content;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
}

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

.steps article {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.steps strong {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
}

.faq details {
  background: #fff;
  border-radius: 1.1rem;
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.site-footer.stacked {
  display: grid;
  gap: 1.2rem;
  padding: 0;
  text-align: center;
  background: #111;
  color: #fff;
  border-top: 4px solid var(--butter);
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 0.7rem;
}

.brand img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand em {
  display: block;
  font-family: var(--script);
  font-style: normal;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ink);
}

.brand small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

nav a:hover {
  color: var(--sun-deep);
}

.wrap {
  width: min(1100px, calc(100% - clamp(1.25rem, 8vw, 8rem)));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 2.8rem 0 4.2rem;
}

.kicker {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.45rem;
}

.hero h1 {
  font-family: var(--script);
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
}

.eyebrow {
  margin-top: 0.35rem;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mist-mid);
}

.hero .lede {
  margin: 1.1rem 0 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  background: var(--sun);
  color: var(--ink);
  font: 700 1rem var(--body);
  cursor: pointer;
}

.btn:hover {
  background: var(--sun-deep);
  color: #fff;
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.logo-stage {
  display: grid;
  place-items: center;
  background: var(--taupe);
  border-radius: 50%;
  aspect-ratio: 1;
  padding: 8%;
}

.logo-stage img {
  width: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section {
  padding: 4rem 0;
}

.section.mist {
  background: transparent;
}

.section.mist .kicker {
  color: var(--sun-deep);
}

.section h2,
.app-screens h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.8rem;
  color: var(--ink);
}

.section.mist h2 {
  color: var(--ink);
}

.book-grid h2 {
  text-align: left;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.1rem;
}

.services .service:last-child {
  grid-column: 2;
}

.service {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.3rem 1.2rem;
}

.service.featured {
  background: var(--butter);
  border-color: var(--mist-mid);
}

.service h3 {
  color: var(--ink);
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.service p,
.booking span,
.empty {
  color: var(--muted);
  font-size: 0.95rem;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  font: 400 1rem var(--body);
  color: var(--ink);
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--mist-mid);
  border-color: var(--mist-mid);
}

.booking-list {
  display: grid;
  gap: 0.7rem;
}

.booking {
  display: grid;
  gap: 0.15rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.site-footer {
  margin-top: auto;
  background: var(--butter);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer:not(.stacked) {
  padding: 1.5rem 6vw;
  text-align: center;
}

.site-footer a {
  color: var(--ink);
}

main {
  flex: 1 0 auto;
}

/* App */
body.app {
  min-height: 100vh;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sky);
}

.app-top {
  padding: 1.2rem 1.2rem 0.6rem;
  text-align: center;
}

.app-logo {
  width: 188px;
  height: 188px;
  margin: 0 auto 0.2rem;
  object-fit: contain;
  background: var(--foam);
  border-radius: 1.4rem;
  mix-blend-mode: normal;
  box-shadow: 0 12px 28px rgba(9, 5, 3, 0.22);
}

.app-top .lang-tabs {
  width: max-content;
  margin: 0.4rem auto 0.7rem;
}

.app-top p {
  color: var(--muted);
  font-size: 0.88rem;
}

.app-top a {
  color: var(--mist-mid);
}

.app-screens {
  flex: 1;
  overflow: auto;
  padding: 0.5rem 1.2rem 6rem;
}

.app-screens section {
  display: none;
}

.app-screens section.active {
  display: block;
}

.app-screens h2 {
  text-align: left;
  font-size: 2.2rem;
  margin: 0.4rem 0 0.9rem;
  color: var(--ink);
}

.app-hero {
  background: var(--butter);
  border-radius: 1.3rem;
  padding: 1.1rem;
  margin: 0.4rem 0 1rem;
  color: var(--ink);
}

.app-hero strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.tabs {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--foam);
  border-top: 1px solid var(--line);
}

.tabs button {
  border: 0;
  background: none;
  padding: 0.95rem 0.4rem 1.15rem;
  font: 500 0.9rem var(--body);
  color: var(--muted);
  cursor: pointer;
}

.tabs button.active {
  color: var(--ink);
}

.tabs-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.center-note {
  text-align: center;
  color: var(--muted);
  margin: -1.2rem 0 1.6rem;
}

.section.mist .center-note {
  color: var(--muted);
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.tab-btn {
  border: 0;
  background: var(--foam);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: 500 0.9rem var(--body);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line);
}

.tab-btn.active {
  background: var(--ink);
  color: var(--butter);
  box-shadow: none;
}

.service-panel {
  display: none;
  background: var(--foam);
  border-radius: 1.25rem;
  padding: 1.4rem 1.3rem;
  max-width: 42rem;
  margin: 0 auto;
}

.service-panel.active {
  display: block;
}

.price-line {
  margin-top: 0.8rem;
  color: var(--ink);
}

.card-row,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.review {
  display: grid;
  gap: 0.3rem;
  background: var(--foam);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
}

.source {
  width: max-content;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist-mid);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
}

.cal-label,
.cal-day {
  min-height: 4.2rem;
  background: var(--foam);
  border-radius: 0.7rem;
  padding: 0.45rem;
  font-size: 0.78rem;
}

.cal-label {
  min-height: 0;
  text-align: center;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.cal-day b {
  display: block;
}

.cal-day.has-event {
  background: var(--mist);
}

.cal-day.has-bday {
  box-shadow: inset 0 0 0 1.5px var(--mist-mid);
}

.cal-day small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
}

.check input {
  width: auto;
  margin-top: 0.2rem;
}

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

.stat {
  background: var(--foam);
  border-radius: 1.1rem;
  padding: 1.1rem;
  text-align: center;
}

.stat span {
  color: var(--muted);
  font-size: 0.85rem;
}

.stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.6rem;
  color: var(--ink);
}

.mia-assist {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}

body.app .mia-assist {
  position: absolute;
  right: 0.7rem;
  bottom: 4.6rem;
}

.mia-fab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.95rem 0.28rem 0.28rem;
  box-shadow: 0 12px 28px rgba(58, 44, 40, 0.16);
  font: 600 0.9rem var(--body);
  cursor: pointer;
}

.mia-fab img,
.mia-head img,
.mia-mascot {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.stat-home .mia-mascot {
  width: 78px;
  height: 78px;
}

.mia-panel {
  width: min(340px, calc(100vw - 2rem));
  display: grid;
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 18px 40px rgba(58, 44, 40, 0.18);
  overflow: hidden;
}

.mia-panel[hidden] {
  display: none;
}

.mia-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  background: var(--mist);
}

.mia-head span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.mia-x {
  border: 0;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.mia-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 0.8rem 0;
}

.mia-chips button {
  border: 0;
  background: var(--butter);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: 500 0.8rem var(--body);
  cursor: pointer;
}

.mia-log {
  display: grid;
  gap: 0.45rem;
  min-height: 8rem;
  max-height: 13rem;
  overflow: auto;
  padding: 0.75rem 0.8rem;
}

.mia-bubble {
  width: fit-content;
  max-width: 92%;
  background: var(--mist);
  border-radius: 1rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  white-space: pre-wrap;
}

.mia-bubble.user {
  justify-self: end;
  background: var(--butter);
}

.mia-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  padding: 0.65rem 0.8rem 0.8rem;
}

.mia-form .btn {
  padding: 0.7rem 1rem;
}

.section .empty {
  color: var(--muted);
}

.app-screens .empty {
  color: var(--muted);
}

.section.mist .empty,
.package .empty,
.booking span,
.faq details p,
.book-modal .empty,
.cal-alerts .empty,
.bday-submit .empty,
.admin-card .empty,
.admin-row .empty {
  color: var(--muted);
}

.app-screens .package .empty,
.app-screens .booking span {
  color: var(--muted);
}

.haircut-note {
  max-width: 52ch;
  margin: 1.2rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.cal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.cal-alerts {
  background: var(--foam);
  border-radius: 1.4rem;
  padding: 1.1rem 1.15rem;
  color: var(--ink);
}

.cal-alerts h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.cal-alerts ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.cal-alerts li {
  background: var(--butter);
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
}

.cal-alerts small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.cal-day {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.15rem;
  width: 100%;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.cal-day:disabled {
  cursor: default;
  opacity: 0.55;
}

.cal-day.is-past {
  opacity: 0.55;
}

.avail-dot {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--mist-mid);
  box-shadow: 0 0 0 2px #fff;
}

.package .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.slot-pop {
  display: none;
  position: absolute;
  z-index: 8;
  top: calc(100% - 0.2rem);
  left: 0;
  min-width: 11.5rem;
  padding: 0.55rem;
  background: #fff;
  border-radius: 0.85rem;
  box-shadow: 0 14px 30px rgba(58, 44, 40, 0.18);
}

.cal-day:hover .slot-pop,
.cal-day:focus-within .slot-pop,
.cal-day.is-open .slot-pop {
  display: grid;
  gap: 0.3rem;
}

.slot {
  border: 0;
  border-radius: 0.55rem;
  padding: 0.4rem 0.5rem;
  background: var(--butter);
  color: var(--ink);
  font: 600 0.78rem var(--body);
  cursor: pointer;
  text-align: left;
}

.slot:hover {
  background: var(--mist);
}

.slot.taken,
.slot.past {
  background: var(--taupe);
  color: var(--muted);
  cursor: not-allowed;
  text-decoration: line-through;
}

.book-modal {
  width: min(560px, calc(100% - 1.6rem));
  max-height: 90vh;
  overflow: auto;
  border: 0;
  border-radius: 1.5rem;
  padding: 1.35rem 1.3rem 1.4rem;
  background: var(--foam);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(9, 5, 3, 0.35);
}

.book-modal::backdrop {
  background: rgba(9, 5, 3, 0.62);
}

.book-modal fieldset {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem 0.9rem;
}

.book-modal legend {
  padding: 0 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.book-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.book-modal-head h2 {
  font-family: var(--script);
  font-size: 2.1rem;
  font-weight: 400;
  text-align: left;
  margin: 0;
  color: var(--ink);
}

.book-modal .slot-line {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-weight: 600;
}

.option-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.option-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
}

.option-list input {
  width: auto;
  margin-top: 0.2rem;
}

.option-list small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.bday-submit,
.admin-card {
  background: var(--foam);
  border-radius: 1.3rem;
  padding: 1.2rem 1.15rem;
  color: var(--ink);
}

.admin-list {
  display: grid;
  gap: 0.8rem;
}

.admin-row {
  display: grid;
  gap: 0.55rem;
  background: var(--foam);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.admin-row-actions {
  display: flex;
  gap: 0.5rem;
}

.btn.danger {
  background: #8a3b3b;
}

.btn.ghost-ink {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.draft-banner {
  margin: 0;
  padding: 0.75rem 1.2rem;
  background: #f5d76e;
  color: var(--ink);
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
}

.est-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.4rem;
  align-items: start;
}

.est-form,
.est-quote {
  background: var(--foam);
  border-radius: 1.4rem;
  padding: 1.2rem 1.15rem;
  color: var(--ink);
}

.est-form fieldset {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
}

.est-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.est-choice {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.8rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
  cursor: pointer;
}

.est-choice:has(input:checked) {
  box-shadow: inset 0 0 0 2px var(--mist-mid);
  background: var(--butter);
}

.est-choice input {
  width: auto;
}

.est-choice span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}

.est-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.est-quote {
  position: sticky;
  top: 6.2rem;
}

.est-quote h3 {
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.est-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.est-price.cash strong {
  color: var(--mist-mid);
  font-size: 1.6rem;
}

.est-form .btn {
  width: 100%;
  min-height: 3rem;
}

.est-form input,
.est-form select,
.est-form textarea {
  font-size: 16px;
  min-height: 2.75rem;
}

.est-form input[type="checkbox"],
.est-form input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 0;
  flex-shrink: 0;
}

.est-form .check {
  align-items: center;
  gap: 0.7rem;
}

.est-addons {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
}

.est-addons legend {
  float: none;
  width: 100%;
  padding: 0;
  margin: 0 0 0.15rem;
  font-weight: 600;
}

.est-live-bar {
  display: none;
}

@media (max-width: 800px) {
  .contact-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
  }

  .hero,
  .services,
  .book-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand actions toggle";
    gap: 0.6rem;
  }

  .header-actions {
    justify-self: end;
  }

  .site-header nav {
    grid-area: unset;
    grid-column: 1 / -1;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem 4vw 1.1rem;
    background: #fffdf8;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.12);
  }

  body.nav-open .site-header nav {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: static;
    display: grid;
    box-shadow: none;
    padding: 0 0 0 0.8rem;
    background: transparent;
  }

  .hero-banner {
    min-height: 430px;
    padding-bottom: 11rem;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-proof {
    white-space: normal;
  }

  .stats-row,
  .steps,
  .contact-tiles,
  .stats {
    grid-template-columns: 1fr;
  }

  .services .service:last-child {
    grid-column: auto;
  }

  .book-grid h2 {
    text-align: center;
  }

  .logo-stage {
    width: min(320px, 80%);
    margin: 0 auto;
  }

  .cal-day {
    min-height: 3.2rem;
  }

  .cal-layout,
  .est-layout,
  .est-choices,
  .est-grid {
    grid-template-columns: 1fr;
  }

  .est-live-bar {
    display: grid;
    gap: 0.25rem;
    margin: 0.2rem 0 0.4rem;
    padding: 0.85rem 0.95rem;
    background: var(--butter);
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .est-quote {
    position: static;
    margin: 0;
    box-shadow: none;
  }

  .mia-assist {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .mia-fab span {
    display: none;
  }
}

body.paw-boot {
  overflow: hidden;
}

body.paw-boot::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  background: #090503;
  pointer-events: none;
  animation: paw-boot-failsafe 0.01s linear 4.5s forwards;
}

@keyframes paw-boot-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.paw-unveil {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
}

.paw-unveil-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #090503;
  border-bottom: 2px solid var(--mist-mid);
  box-shadow: 0 14px 28px rgba(196, 163, 90, 0.28);
  transform: translate3d(0, 0, 0);
  animation: paw-unveil-rise var(--unveil-duration, 1.6s) cubic-bezier(0.45, 0.05, 0.2, 1)
    var(--unveil-delay, 1.9s) forwards;
}

.paw-trail {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.paw-print {
  position: absolute;
  width: 3.4rem;
  height: 3.4rem;
  color: #c4a35a;
  opacity: 0;
  transform: rotate(var(--rot, -18deg)) scale(0.45);
  animation: paw-step 2.35s ease-out forwards;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 8px 12px rgba(9, 5, 3, 0.45));
}

.paw-print img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: invert(1) sepia(0.85) saturate(3) hue-rotate(5deg) brightness(0.95);
}

.paw-print:nth-child(even) {
  color: #ddc57a;
}

.paw-print.paw-last {
  opacity: 0;
  animation: paw-last-walk var(--unveil-duration, 1.6s) cubic-bezier(0.45, 0.05, 0.2, 1)
    var(--unveil-delay, 1.9s) forwards;
}

@keyframes paw-unveil-rise {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes paw-step {
  0% {
    opacity: 0;
    transform: rotate(var(--rot, -18deg)) scale(0.35);
  }
  18% {
    opacity: 1;
    transform: rotate(var(--rot, -18deg)) scale(1.1);
  }
  28% {
    transform: rotate(var(--rot, -18deg)) scale(1);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--rot, -18deg)) scale(1);
  }
}

@keyframes paw-last-walk {
  0% {
    opacity: 1;
    left: var(--x0);
    bottom: var(--y0);
    transform: translateY(-0.85rem) rotate(var(--rot, -18deg)) scale(1.08);
  }
  12% {
    transform: translateY(-0.85rem) rotate(var(--rot, -18deg)) scale(1);
  }
  100% {
    opacity: 1;
    left: var(--x1);
    bottom: var(--y1);
    transform: translateY(-0.85rem) rotate(var(--rot, -18deg)) scale(1);
  }
}

@media (max-width: 800px) {
  .paw-print {
    width: 2.6rem;
    height: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.paw-boot::before,
  .paw-unveil {
    display: none;
  }

  body.paw-boot {
    overflow: auto;
  }
}

@media (min-width: 801px) {
  body.app {
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
      radial-gradient(circle at 14% 18%, var(--mist), transparent 30%),
      radial-gradient(circle at 86% 82%, var(--butter-deep), transparent 28%),
      var(--sky-deep);
  }

  .app-shell {
    width: 390px;
    height: 844px;
    border-radius: 2.2rem;
    overflow: hidden;
    border: 10px solid var(--ink);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #111;
  border-radius: 2px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand actions toggle";
  }

  .site-header nav {
    grid-area: unset;
    grid-column: 1 / -1;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 25;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0.7rem 4vw 1.1rem;
    background: #fffdf8;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.12);
  }

  body.nav-open .site-header nav {
    display: flex;
  }

  .nav-menu {
    position: static;
    display: grid;
    box-shadow: none;
    padding: 0 0 0 0.8rem;
    background: transparent;
  }

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

  .need-grid > div:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .why-grid,
  .svc-process,
  .how-split {
    grid-template-columns: 1fr 1fr;
  }

  .hero-logo {
    width: min(180px, 28vw);
  }
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid #111;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.08rem;
  white-space: nowrap;
}

.phone-pill:hover {
  background: #111;
  color: #fff;
}

.brand.logo-only span {
  display: none;
}

.kirey-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem 2.2rem;
  align-items: center;
  width: min(1180px, calc(100% - clamp(1.25rem, 8vw, 8rem)));
  margin: 1.2rem auto 1.6rem;
}

.hero-logo {
  width: min(240px, 34vw);
  height: auto;
  mix-blend-mode: multiply;
  justify-self: end;
}

.kirey-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.kirey-hero .lede {
  margin: 1.05rem 0 1.5rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-blob {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: end center;
  background:
    url("../images/paws-watercolor.svg") 62% 38% / 130% auto no-repeat,
    var(--blob);
  border-radius: 68% 32% 58% 42% / 42% 62% 38% 58%;
  overflow: hidden;
}

.hero-blob img {
  width: min(86%, 420px);
  height: 94%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 24px rgba(17, 17, 17, 0.18));
}

.need-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 1fr 1fr;
  gap: 1.4rem 1.8rem;
  align-items: start;
}

.need-grid > div:first-child {
  grid-row: span 2;
}

.need-grid > div:first-child h2 {
  text-align: left;
  margin: 0;
}

.need-lead {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 28ch;
}

.need-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.need-item .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.need-item h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.need-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

.sun-banner {
  position: relative;
  overflow: hidden;
  padding: 3.4rem 6vw;
  margin: 1.2rem 0;
  background:
    radial-gradient(circle at 12% 80%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(120deg, #ffe66d 0%, #ffa401 55%, #ffe066 100%);
  text-align: center;
  color: var(--ink);
}

.sun-banner h2 {
  margin-bottom: 0.45rem;
}

.sun-banner p {
  margin: 0 auto 1.3rem;
  max-width: 46ch;
}

.sun-banner .btn.ghost {
  background: #fff;
}

.how-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.how-split h2 {
  text-align: left;
  margin-bottom: 0.7rem;
}

.how-copy .kicker {
  text-align: left;
}

.how-copy .steps {
  grid-template-columns: 1fr;
}

.how-line {
  width: 7.5rem;
  height: 2px;
  background: #d7d7d7;
  margin: 0 0 1.1rem;
}

.how-photo {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: end center;
}

.how-photo .disc {
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #3aa0e8;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-card {
  position: relative;
  background: #fff;
  border-radius: 1.35rem;
  padding: 1.35rem 1.2rem 1.2rem;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.why-card .mark {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--sun-deep);
}

.why-card h3 {
  font-family: var(--body);
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  width: min(900px, calc(100% - 10vw));
  margin: 2.4rem auto 1rem;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.page-hero p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

.about-blocks {
  display: grid;
  gap: 2.4rem;
  width: min(720px, calc(100% - 10vw));
  margin: 0 auto 1rem;
}

.how-split .about-blocks {
  width: 100%;
  margin: 0;
}

.about-blocks h2 {
  text-align: left;
  margin-bottom: 0.6rem;
}

.about-blocks p {
  color: var(--muted);
  font-size: 1.05rem;
}

.svc-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.svc-process article {
  background: #fff;
  border-radius: 1.3rem;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.svc-process h3 {
  font-family: var(--body);
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.svc-process p {
  color: var(--muted);
}

.area-band {
  text-align: center;
  padding: 2.4rem 6vw;
}

.area-band p {
  color: var(--muted);
  margin-top: 0.4rem;
}

.review {
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.06);
}

.site-footer a {
  color: #ffd56a;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  width: min(980px, calc(100% - clamp(1.25rem, 8vw, 8rem)));
  margin: 0 auto;
  padding: 2.6rem 0 1.4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 0.2rem;
}

.footer-brand em {
  display: block;
  font-family: var(--script);
  font-style: normal;
  font-size: 2rem;
  line-height: 1;
  color: var(--butter);
}

.footer-brand small {
  display: block;
  margin-top: 0.2rem;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
}

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
}

.contact-tiles a {
  display: grid;
  gap: 0.25rem;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 213, 90, 0.16);
  border-radius: 1.15rem;
  padding: 1.05rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-tiles a:hover {
  background: #222;
  border-color: rgba(255, 213, 90, 0.45);
  color: #fff;
}

.contact-tiles strong {
  font-size: 0.95rem;
}

.contact-tiles span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.site-footer .hablamos {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--butter);
}

.footer-meta {
  width: 100%;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.footer-meta a {
  color: #ffd56a;
}

@media (max-width: 800px) {
  .need-grid,
  .how-split,
  .why-grid,
  .svc-process,
  .auth-grid,
  .profile-grid,
  .contact-tiles {
    grid-template-columns: 1fr;
  }

  .need-grid > div:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .phone-pill {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
  }

  .brand img {
    width: 88px;
    height: 88px;
    margin: 0;
  }

  .kirey-hero {
    width: calc(100% - clamp(1.25rem, 6vw, 4rem));
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .kirey-hero {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .hero-logo {
    justify-self: start;
    width: min(140px, 46vw);
  }

  .kirey-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .header-actions .phone-pill {
    display: none;
  }

  .page-hero,
  .about-blocks {
    width: calc(100% - clamp(1.25rem, 6vw, 4rem));
  }
}

.paw-mud-trail {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.paw-mud-trail .mud-defs {
  position: absolute;
}

main,
.site-footer,
.draft-banner {
  position: relative;
  z-index: 1;
}

.mud-paw {
  position: absolute;
  width: var(--size, 3.8rem);
  height: var(--size, 3.8rem);
  opacity: 0;
  transform: rotate(var(--rot, -18deg)) scale(0.55);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.mud-paw.is-print {
  animation: mud-stamp 0.7s ease-out forwards;
}

.mud-paw.is-walker {
  opacity: 0.55;
  z-index: 1;
  transition: left 0.28s ease-out, top 0.28s ease-out, transform 0.28s ease-out;
  filter: none;
  color: #4a2e18;
}

.mud-paw.is-walker.step {
  animation: mud-walk-step 0.28s ease-out;
}

.mud-paw img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: sepia(0.65) saturate(1.6) hue-rotate(-12deg) brightness(0.42);
}

.mud-paw:nth-child(3n) img {
  opacity: 0.72;
}

.mud-paw:nth-child(3n + 2) img {
  opacity: 0.88;
}

@keyframes mud-stamp {
  0% {
    opacity: 0;
    transform: rotate(var(--rot, -18deg)) scale(0.35);
  }
  40% {
    opacity: 0.38;
    transform: rotate(var(--rot, -18deg)) scale(1.08);
  }
  100% {
    opacity: 0.48;
    transform: rotate(var(--rot, -18deg)) scale(1);
  }
}

@keyframes mud-walk-step {
  0% {
    transform: rotate(var(--rot, -18deg)) scale(0.86) translateY(0);
  }
  45% {
    transform: rotate(var(--rot, -18deg)) scale(1.08) translateY(-10px);
  }
  100% {
    transform: rotate(var(--rot, -18deg)) scale(1) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .paw-mud-trail {
    display: none;
  }
}

a.need-item {
  text-decoration: none;
  color: inherit;
}

a.need-item:hover h3 {
  color: var(--sun-deep);
}

.auth-card,
.profile-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.auth-grid,
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.pet-card {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.pet-card img,
.avatar-preview {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
  background: #fff3c4;
}

.avatar-preview {
  width: 120px;
  height: 120px;
  aspect-ratio: auto;
}

.pay-choices {
  display: grid;
  gap: 0.55rem;
}

.pay-choices label {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.account-note {
  margin-top: 0.6rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .auth-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
}


/* Salmon pink log-in button in the header */
.login-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  background: #fa8072;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(250, 128, 114, 0.35);
}

.login-pill:hover {
  background: #e8665a;
  color: #fff;
}

@media (max-width: 1080px) {
  .site-header nav {
    font-size: 1.2rem;
  }
}

@media (max-width: 800px) {
  .phone-pill {
    font-size: 0.95rem;
  }
  .login-pill {
    padding: 0.6rem 1.15rem;
    font-size: 1.1rem;
  }
}

html { scroll-behavior: smooth; }
#contact { scroll-margin-top: 150px; }

/* Spread out the menu words */
@media (min-width: 1281px) {
  .site-header nav {
    gap: 0.2rem clamp(0.4rem, 1.8vw, 2rem);
  }
  .site-header nav a {
    padding: 0.5rem 0.8rem;
  }
}

/* Little dog that hops on the EN/ES button */
.lang-wrap {
  position: relative;
}

.lang-dog {
  position: absolute;
  width: 52px;
  height: 52px;
  left: 50%;
  bottom: calc(100% - 6px);
  margin-left: -26px;
  z-index: 2;
  cursor: pointer;
  transform-origin: 50% 100%;
}

@keyframes dog-hop {
  0% { transform: translateY(0) scaleY(1); }
  20% { transform: translateY(2px) scaleY(0.88); }
  50% { transform: translateY(-18px) rotate(-6deg); }
  80% { transform: translateY(0) scaleY(0.94); }
  100% { transform: translateY(0) scaleY(1); }
}

.lang-bubble {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, -6px);
  width: 230px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 2px solid #111;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.15);
  font: 700 1rem/1.3 var(--body);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 30;
}

.lang-bubble span {
  display: block;
  margin-top: 0.3rem;
  font-weight: 600;
  color: var(--muted);
}

.lang-bubble::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  margin-left: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 2px solid #111;
  border-top: 2px solid #111;
  transform: rotate(45deg);
}

.lang-wrap.tip-on .lang-bubble {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 800px) {
  .lang-dog {
    width: 38px;
    height: 38px;
    margin-left: -19px;
  }
  .lang-bubble {
    left: auto;
    right: -40px;
    transform: translateY(-6px);
    width: 200px;
  }
  .lang-bubble::before {
    left: auto;
    right: 70px;
  }
  .lang-wrap.tip-on .lang-bubble {
    transform: translateY(0);
  }
}


/* Medium screens: use the menu button so words don't crowd */
@media (min-width: 1081px) and (max-width: 1280px) {
  .nav-toggle { display: block; }
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand actions toggle";
  }
  .site-header .header-actions { justify-self: end; }
  .site-header nav {
    grid-area: unset;
    grid-column: 1 / -1;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 25;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 0.7rem 4vw 1.1rem;
    background: #fffdf8;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.12);
    font-size: 1.2rem;
  }
  body.nav-open .site-header nav { display: flex; }
  .nav-menu {
    position: static;
    display: grid;
    box-shadow: none;
    padding: 0 0 0 0.8rem;
    background: transparent;
  }
}
