html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

#stayTable {
  width: 100% !important;
  min-width: 1150px;
  table-layout: fixed;
}

#stayTable th:nth-child(1), #stayTable td:nth-child(1) { width: 7%; }
#stayTable th:nth-child(2), #stayTable td:nth-child(2) { width: 8%; }
#stayTable th:nth-child(3), #stayTable td:nth-child(3) { width: 8%; }
#stayTable th:nth-child(4), #stayTable td:nth-child(4) { width: 6%; }
#stayTable th:nth-child(5), #stayTable td:nth-child(5) { width: 5%; }
#stayTable th:nth-child(6), #stayTable td:nth-child(6) { width: 8%; }
#stayTable th:nth-child(7), #stayTable td:nth-child(7) { width: 8%; }
#stayTable th:nth-child(8), #stayTable td:nth-child(8) { width: 8%; }
#stayTable th:nth-child(9), #stayTable td:nth-child(9) { width: 7%; }
#stayTable th:nth-child(10), #stayTable td:nth-child(10) { width: 35%; }

#stayTable th,
#stayTable td {
  padding: .35rem .15rem;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

.dogs-table-scroll {
  width: 100%;
}

#dogsTable {
  min-width: 900px;
}

#dogsTable th,
#dogsTable td {
  vertical-align: middle;
}

#dogsTable td:nth-child(4) {
  min-width: 260px;
  max-width: 360px;
  white-space: normal;
}

#dogsTable td:nth-child(6) {
  white-space: nowrap;
}

#stayTable th,
#stayTable td {
  text-align: center;
}

#stayTable th:nth-child(4),
#stayTable td:nth-child(4) {
  white-space: normal;
  overflow-wrap: anywhere;
}

#stayTable th:nth-child(5),
#stayTable td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
}

#stayTable th:nth-child(4),
#stayTable th:nth-child(5) {
  text-align: center;
}

#stayTable td:nth-child(4) {
  text-align: center;
}

#stayTable th:nth-child(10),
#stayTable td:nth-child(10) {
  white-space: normal;
}

.stay-actions {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.stay-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.stay-actions form { margin: 0; }

.petcare-site footer.footer {
  position: static;
  bottom: auto;
  width: auto;
  white-space: normal;
  line-height: normal;
}

:root {
  --petcare-ink: #1e352b;
  --petcare-green: #28634c;
  --petcare-green-dark: #194735;
  --petcare-sage: #e8eee6;
  --petcare-cream: #f8f6ef;
  --petcare-line: #e4e7de;
  --petcare-muted: #68776d;
}

body.petcare-site {
  margin-bottom: 0;
  background: #fbfaf7;
  color: var(--petcare-ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.petcare-site .btn:focus,
.petcare-site .btn:active:focus,
.petcare-site .btn-link.nav-link:focus,
.petcare-site .form-control:focus,
.petcare-site .form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(40, 99, 76, .2);
}

.petcare-navbar {
  padding: .9rem 0;
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid var(--petcare-line);
  box-shadow: 0 4px 24px rgba(30, 53, 43, .035);
}

.petcare-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--petcare-ink) !important;
  font-size: 1.08rem;
  letter-spacing: -.035em;
}

.petcare-brand > span:last-child { line-height: 1.12; }
.petcare-brand strong { color: var(--petcare-green); font-weight: 750; }
.petcare-brand small {
  display: block;
  margin-top: .2rem;
  color: var(--petcare-muted);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.petcare-brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50% 50% 46% 46%;
  background: var(--petcare-green);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 5px 12px rgba(40, 99, 76, .18);
}

.petcare-navbar .navbar-nav { align-items: center; gap: .35rem; }
.petcare-navbar .nav-link { color: var(--petcare-ink); font-weight: 600; }
.petcare-navbar .nav-link:hover { color: var(--petcare-green); }
.petcare-navbar .navbar-toggler { border-color: var(--petcare-line); }
.petcare-auth-links { flex-direction: row; }
.petcare-sign-in-link { padding-inline: .9rem !important; }
.petcare-nav-cta {
  margin-left: .25rem;
  padding: .62rem 1rem !important;
  border-radius: 999px;
  background: var(--petcare-green);
  color: #fff !important;
}
.petcare-nav-cta:hover { background: var(--petcare-green-dark); }

.petcare-site main.container { max-width: 1240px; padding-top: 1.5rem; padding-bottom: 3rem; }
.petcare-site footer { border-color: var(--petcare-line) !important; background: var(--petcare-cream); }
.petcare-site footer .container { padding: 1.3rem 0; }
.petcare-site a { text-underline-offset: .2em; }
.petcare-site .btn-primary {
  --bs-btn-bg: var(--petcare-green);
  --bs-btn-border-color: var(--petcare-green);
  --bs-btn-hover-bg: var(--petcare-green-dark);
  --bs-btn-hover-border-color: var(--petcare-green-dark);
  --bs-btn-active-bg: var(--petcare-green-dark);
  --bs-btn-active-border-color: var(--petcare-green-dark);
  --bs-btn-disabled-bg: var(--petcare-green);
  --bs-btn-disabled-border-color: var(--petcare-green);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}
.petcare-site .btn-outline-primary {
  --bs-btn-color: var(--petcare-green-dark);
  --bs-btn-border-color: #9ab3a2;
  --bs-btn-hover-bg: var(--petcare-green);
  --bs-btn-hover-border-color: var(--petcare-green);
  --bs-btn-hover-color: #fff;
}

.petcare-home { padding: .6rem 0 2.5rem; }
.petcare-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid #ecebe2;
  border-radius: 2rem;
  background: linear-gradient(140deg, #f5f3eb 0%, #f0f3ed 100%);
}

.petcare-hero-copy { max-width: 590px; }
.petcare-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: var(--petcare-green);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .105em;
  line-height: 1.4;
  text-transform: uppercase;
}
.petcare-eyebrow > span { width: 1.5rem; height: 2px; background: #c58b49; }
.petcare-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.2rem;
  color: var(--petcare-ink);
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .99;
}
.petcare-hero-intro { max-width: 43rem; margin-bottom: 1.7rem; color: #526158; font-size: 1.08rem; line-height: 1.7; }
.petcare-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.petcare-hero-actions .btn { border-radius: 999px; padding: .83rem 1.3rem; font-size: .95rem; font-weight: 700; }
.petcare-text-link { color: var(--petcare-green-dark); font-weight: 750; text-decoration: none; }
.petcare-text-link:hover { color: #a36d31; }
.petcare-text-link span { display: inline-block; margin-left: .22rem; transition: transform .18s ease; }
.petcare-text-link:hover span { transform: translateX(3px); }
.petcare-hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.7rem; color: #526158; font-size: .84rem; font-weight: 600; }
.petcare-hero-facts span { display: inline-flex; align-items: center; gap: .4rem; }
.petcare-hero-facts i { color: var(--petcare-green); font-style: normal; font-weight: 900; }

.petcare-hero-photo {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 4 / 3;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 7px solid rgba(255,255,255,.68);
  border-radius: 1.6rem;
  background: #d9dfd4;
  box-shadow: 0 20px 48px rgba(29, 50, 39, .16);
}
.petcare-hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.petcare-photo-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 1rem;
  background: rgba(255,255,255,.91);
  box-shadow: 0 8px 24px rgba(22, 42, 31, .12);
  backdrop-filter: blur(8px);
}
.petcare-caption-mark { display: grid; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f3e9d9; color: #a36d31; }
.petcare-photo-caption strong, .petcare-photo-caption small { display: block; }
.petcare-photo-caption strong { color: var(--petcare-ink); font-size: .95rem; }
.petcare-photo-caption small { margin-top: .12rem; color: var(--petcare-muted); font-size: .77rem; }

.petcare-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem .5rem;
  border-bottom: 1px solid var(--petcare-line);
}
.petcare-trust-strip > div { display: flex; align-items: center; justify-content: center; gap: .65rem; color: #536157; font-size: .86rem; text-align: center; }
.trust-dot { width: .52rem; height: .52rem; flex: 0 0 auto; border-radius: 50%; background: #c58b49; }

.petcare-steps-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.petcare-section-heading { max-width: 42rem; margin: 0 auto 2rem; text-align: center; }
.petcare-section-heading .petcare-eyebrow { justify-content: center; }
.petcare-section-heading h2, .petcare-story-copy h2 {
  margin: 0;
  color: var(--petcare-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1.08;
}
.petcare-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.petcare-step-card {
  position: relative;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid var(--petcare-line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(30, 53, 43, .035);
}
.petcare-step-number { color: #a8b6aa; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.petcare-step-icon { display: grid; width: 2.8rem; height: 2.8rem; margin: .85rem 0 1rem; place-items: center; border-radius: .9rem; background: var(--petcare-sage); color: var(--petcare-green); font-size: 1.25rem; font-weight: 700; }
.petcare-step-card h3 { margin-bottom: .55rem; color: var(--petcare-ink); font-size: 1.12rem; font-weight: 720; letter-spacing: -.02em; }
.petcare-step-card p { margin-bottom: 0; color: var(--petcare-muted); font-size: .91rem; line-height: 1.65; }

.petcare-faq-section {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}
.petcare-faq-intro { max-width: 25rem; }
.petcare-faq-intro h2 { margin: 0; color: var(--petcare-ink); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 750; letter-spacing: -.05em; line-height: 1.08; }
.petcare-faq-intro > p:last-child { margin: .9rem 0 0; color: var(--petcare-muted); line-height: 1.65; }
.petcare-faq-list { display: grid; gap: .7rem; }
.petcare-faq-item { padding: 1.05rem 1.2rem; border: 1px solid var(--petcare-line); border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(30, 53, 43, .035); }
.petcare-faq-item summary { position: relative; padding-right: 2rem; color: var(--petcare-ink); font-weight: 720; line-height: 1.45; cursor: pointer; list-style: none; }
.petcare-faq-item summary::-webkit-details-marker { display: none; }
.petcare-faq-item summary::after { position: absolute; top: -.1rem; right: 0; color: var(--petcare-green); content: "+"; font-size: 1.35rem; font-weight: 500; }
.petcare-faq-item[open] summary::after { content: "−"; }
.petcare-faq-item p { margin: .75rem 1.6rem 0 0; color: var(--petcare-muted); font-size: .92rem; line-height: 1.7; }
.petcare-faq-item:focus-within { border-color: #9ab3a2; box-shadow: 0 0 0 .2rem rgba(40, 99, 76, .12); }

.petcare-photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid #e9e8dd;
  border-radius: 1.7rem;
  background: #f2f0e7;
}
.petcare-story-photo { position: relative; min-height: 290px; overflow: hidden; border-radius: 1.2rem; }
.petcare-story-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.petcare-story-stamp { position: absolute; right: 1rem; bottom: 1rem; padding: .65rem .9rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--petcare-green-dark); font-size: .76rem; font-weight: 750; }
.petcare-story-copy { max-width: 34rem; padding: 1.5rem clamp(.5rem, 2vw, 1.5rem) 1.5rem 0; }
.petcare-story-copy > p:not(.petcare-eyebrow) { margin: 1rem 0 1.2rem; color: #59675e; font-size: 1rem; line-height: 1.7; }

.petcare-login-page {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--petcare-line);
  border-radius: 1.8rem;
  background: #fff;
  box-shadow: 0 18px 56px rgba(30, 53, 43, .08);
}
.petcare-login-panel { align-self: center; max-width: 530px; width: 100%; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem); }
.petcare-back-link { display: inline-block; margin-bottom: 2.2rem; color: var(--petcare-muted); font-size: .87rem; font-weight: 650; text-decoration: none; }
.petcare-back-link:hover { color: var(--petcare-green); }
.petcare-login-panel h1 { margin: 0 0 .55rem; color: var(--petcare-ink); font-size: clamp(2.2rem, 4vw, 3.15rem); font-weight: 760; letter-spacing: -.055em; }
.petcare-login-intro { margin-bottom: 1.7rem; color: var(--petcare-muted); line-height: 1.6; }
.petcare-login-form .form-label { color: var(--petcare-ink); font-size: .9rem; font-weight: 700; }
.petcare-login-form .form-control { border-color: #dce3dc; border-radius: .75rem; }
.petcare-login-form .form-control:focus { border-color: #7eaa91; }
.petcare-login-form .form-check-input:checked { border-color: var(--petcare-green); background-color: var(--petcare-green); }
.petcare-login-form .btn { border-radius: .8rem; font-weight: 700; }
.petcare-login-divider { display: flex; align-items: center; gap: .8rem; margin: 1.15rem 0; color: var(--petcare-muted); font-size: .82rem; }
.petcare-login-divider::before, .petcare-login-divider::after { height: 1px; flex: 1; background: var(--petcare-line); content: ""; }
.petcare-google-button { display: flex; align-items: center; justify-content: center; gap: .65rem; border-radius: .8rem; font-weight: 650; }
.petcare-google-mark { display: inline-grid; width: 1.45rem; height: 1.45rem; place-items: center; border: 1px solid #dadce0; border-radius: 50%; color: #4285f4; background: #fff; font-family: Arial, sans-serif; font-size: 1rem; font-weight: 800; }
.petcare-register-prompt { margin: 1.4rem 0 0; color: var(--petcare-muted); font-size: .9rem; }
.petcare-register-prompt a { color: var(--petcare-green); font-weight: 750; }
.petcare-login-photo { position: relative; min-height: 100%; overflow: hidden; background: var(--petcare-green-dark); }
.petcare-login-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.petcare-login-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,45,32,.02) 20%, rgba(17,45,32,.8) 100%); }
.petcare-login-photo-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: clamp(1.5rem, 4vw, 3rem); color: #fff; }
.petcare-photo-kicker { display: inline-block; margin-bottom: .7rem; color: #e5c79f; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.petcare-login-photo-copy h2 { max-width: 13ch; margin: 0 0 .6rem; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 740; letter-spacing: -.045em; line-height: 1.04; }
.petcare-login-photo-copy p { max-width: 28rem; margin: 0; color: rgba(255,255,255,.85); line-height: 1.65; }

@media (max-width: 900px) {
  .petcare-hero { grid-template-columns: minmax(0, 1fr) minmax(270px, .85fr); gap: 1.5rem; }
  .petcare-hero h1 { font-size: clamp(2.5rem, 5.6vw, 3.8rem); }
  .petcare-hero-photo { width: 100%; }
  .petcare-navbar .navbar-collapse { padding-top: .9rem; }
}

@media (max-width: 700px) {
  .petcare-site main.container { padding-top: 1rem; }
  .petcare-navbar { padding: .65rem 0; }
  .petcare-navbar .navbar-collapse { align-items: stretch; }
  .petcare-navbar .navbar-nav { align-items: stretch; }
  .petcare-auth-links { flex-direction: column; }
  .petcare-nav-cta { margin: .25rem 0; text-align: center; }
  .petcare-hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.4rem; border-radius: 1.4rem; }
  .petcare-hero h1 { max-width: 11ch; font-size: clamp(2.6rem, 12vw, 4rem); }
  .petcare-hero-intro { font-size: 1rem; }
  .petcare-hero-actions { align-items: flex-start; flex-direction: column; }
  .petcare-hero-actions .btn { width: 100%; }
  .petcare-hero-photo { width: min(100%, 390px); justify-self: center; }
  .petcare-trust-strip { grid-template-columns: 1fr; gap: .8rem; padding: 1.2rem .25rem; }
  .petcare-trust-strip > div { justify-content: flex-start; text-align: left; }
  .petcare-steps-section { padding: 3rem 0; }
  .petcare-section-heading { text-align: left; }
  .petcare-section-heading .petcare-eyebrow { justify-content: flex-start; }
  .petcare-steps-grid { grid-template-columns: 1fr; }
  .petcare-step-card { min-height: 0; }
  .petcare-faq-section { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 3rem; }
  .petcare-faq-intro { max-width: 34rem; }
  .petcare-photo-story { grid-template-columns: 1fr; padding: .8rem; }
  .petcare-story-photo { min-height: 250px; }
  .petcare-story-copy { padding: .7rem .5rem 1rem; }
  .petcare-login-page { grid-template-columns: 1fr; min-height: 0; border-radius: 1.3rem; }
  .petcare-login-panel { padding: 1.5rem; }
  .petcare-back-link { margin-bottom: 1.5rem; }
  .petcare-login-photo { min-height: 340px; }
}
