/* Homepage art direction only; shared handoff and guide styles stay in styles.css. */
:root {
  --background: #fff8ee;
  --surface: #fffdf8;
  --surface-warm: #fff0e5;
  --text: #392c25;
  --text-muted: #695349;
  --primary: #e8725c;
  --primary-strong: #ae4232;
  --primary-soft: #ffe8dc;
  --border: #eddfcd;
  --shadow: 0 8px 28px rgba(105, 83, 73, 0.05);
}

.site-header {
  position: relative;
  z-index: 3;
  min-height: 72px;
  margin-top: 20px;
  margin-bottom: 0;
  padding: 10px 24px;
  border-color: var(--border);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
}

.site-nav {
  gap: 28px;
}
.site-nav,
.header-actions {
  font-weight: 800;
}

.book-now,
.primary-button,
.detail-action {
  min-height: 48px;
  font-family: var(--body-font);
  font-size: 19px;
  font-weight: 900;
  /* Match the Pawrent transition CTA; bold 19px labels meet large-text contrast. */
  background: var(--primary);
  box-shadow: none;
}

.book-now:hover,
.primary-button:hover,
.detail-action:hover {
  background: #d7614b;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #824332;
  outline-offset: 4px;
}

.page-shell {
  gap: 18px;
  padding-bottom: 20px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 448px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  padding: 44px 38px 42px;
  gap: 0;
}

.hero-copy {
  justify-items: start;
  text-align: left;
  position: relative;
  z-index: 2;
  gap: 18px;
}
.trust-pill {
  background: var(--background);
  border-color: #edc9b7;
  font-weight: 800;
}
h1 {
  font-size: clamp(42px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 600;
}
.hero-summary {
  max-width: 425px;
  font-weight: 600;
}
.hero-note {
  font-weight: 800;
}
.hero-actions {
  gap: 22px;
}

.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0 -20px 0 37%;
  width: auto;
  min-height: 0;
  padding: 0;
  display: block;
  mask-image:
    linear-gradient(to right, transparent, #000 18%),
    linear-gradient(to bottom, transparent, #000 10%, #000 87%, transparent);
  mask-composite: intersect;
}

.hero-pets {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  filter: none;
  mix-blend-mode: multiply;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  min-height: 182px;
  grid-template-columns: minmax(0, 1fr) 46%;
  gap: 2px;
  padding: 22px 4px 22px 26px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-copy {
  position: relative;
  z-index: 2;
  gap: 9px;
}
h3 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}
.service-copy p {
  max-width: 245px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}
.service-copy a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  gap: 5px;
}
.service-copy a::after {
  content: '→';
}
.service-illustration {
  width: 100%;
  height: auto;
  margin: 0;
  filter: none;
  mix-blend-mode: multiply;
  mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

.app-band {
  grid-template-columns: 190px minmax(0, 1fr) 225px;
  gap: 20px;
  min-height: 164px;
  border-radius: 16px;
  padding: 16px 26px 16px 12px;
  background: var(--surface-warm);
}

.app-preview {
  width: 200px;
  margin: 0;
  align-self: center;
  filter: none;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse, #000 53%, transparent 73%);
}

h2 {
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
}
.app-copy {
  gap: 10px;
}
.app-copy p {
  font-weight: 600;
}
.feature-list {
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
}
.feature-list li::before {
  background: var(--primary);
}
.store-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.store-button {
  min-height: 46px;
}

.site-footer {
  min-height: 172px;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(100px, 0.6fr)) minmax(135px, 0.8fr);
  padding: 26px;
  gap: 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.footer-column {
  gap: 7px;
  font-weight: 600;
}
.footer-column strong {
  font-size: 14px;
}
.footer-note {
  padding-left: 20px;
  border-left: 1px solid var(--border);
}
.details-dialog,
.details-dialog-panel {
  border-radius: 20px;
}
.details-dialog-panel {
  background: var(--surface);
}
.dialog-close {
  width: 40px;
  height: 40px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .site-nav {
    display: none;
  }
  .hero {
    padding-inline: 24px;
  }
  .service-card {
    padding-left: 20px;
  }
  .app-band {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .app-preview {
    width: 170px;
  }
  .feature-list {
    display: grid;
    grid-column: 2;
    grid-template-columns: 1fr 1fr;
  }
  .site-footer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 38px 20px 0;
  }
  .hero-copy {
    justify-items: center;
    text-align: center;
  }
  h1 {
    max-width: 570px;
    font-size: 46px;
  }
  .hero-art {
    position: relative;
    inset: auto;
    width: calc(100% + 40px);
    height: auto;
    aspect-ratio: 2 / 1;
    margin: 0 -20px;
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 85%, transparent);
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card {
    grid-template-columns: 1fr;
    padding: 22px 20px 0;
  }
  .service-illustration {
    max-width: 300px;
    justify-self: center;
  }
  .service-copy p {
    max-width: none;
    min-height: 42px;
  }
  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-note {
    grid-column: 1 / -1;
    border: 0;
    padding: 0;
    max-width: none;
  }
}

@media (max-width: 540px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
    min-height: 66px;
    gap: 12px;
    margin: 14px auto 0;
  }
  .brand-link {
    justify-content: start;
  }
  .brand-wordmark {
    width: 124px;
    height: auto;
  }
  .header-actions {
    width: auto;
  }
  .book-now {
    width: auto;
    font-size: 19px;
    min-height: 42px;
    padding: 0 16px;
  }
  .page-shell {
    gap: 14px;
  }
  .hero {
    padding: 30px 4px 0;
  }
  .hero-copy {
    gap: 16px;
  }
  .trust-pill {
    font-size: 11px;
    padding: 5px 10px;
  }
  h1 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.1;
  }
  .hero-summary {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.5;
  }
  .hero-actions {
    flex-direction: row;
    gap: 18px;
  }
  .primary-button {
    padding: 0 24px;
  }
  .hero-note {
    max-width: 108px;
    text-align: left;
    font-size: 13px;
  }
  .hero-art {
    width: calc(100% + 8px);
    margin: 0 -4px;
    aspect-ratio: 1.75;
    min-height: 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    grid-template-columns: minmax(0, 1fr) 42%;
    min-height: 164px;
    padding: 18px 2px 18px 18px;
  }
  h3 {
    font-size: 22px;
  }
  .service-copy {
    gap: 7px;
  }
  .service-copy p {
    font-size: 13px;
    min-height: 0;
  }
  .service-copy a {
    font-size: 14px;
  }
  .app-band {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }
  .app-preview {
    width: 220px;
  }
  .app-copy {
    justify-items: center;
  }
  h2 {
    font-size: 25px;
  }
  .store-row {
    width: 100%;
    max-width: 330px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .store-button {
    padding: 6px 8px;
    gap: 7px;
  }
  .store-label {
    font-size: 13px;
  }
  .feature-list {
    grid-column: 1;
    grid-template-columns: 1fr;
    justify-self: start;
    text-align: left;
    margin: 8px auto 0;
  }
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: start;
    gap: 26px;
    padding: 24px;
    text-align: left;
  }
  .footer-brand {
    justify-self: start;
  }
  .footer-note {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
