/* Pet-friendly rooms section — used on home, /book, and room detail pages.
   Uses tokens already defined in style.css (teal, cream, gold, ink…). */

.pet-section {
  padding: 80px 0;
  background: transparent;
}
.pet-section__wrap {
  background: var(--cream-warm);
  border-radius: var(--r-lg);
  padding: 46px 40px;
  position: relative;
  overflow: hidden;
}
.pet-section__wrap::before {
  content: '';
  position: absolute;
  top: -30px; right: -40px;
  width: 220px; height: 220px;
  background-image:
    radial-gradient(circle at 30% 30%, var(--gold) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 30%, var(--gold) 0 4px, transparent 5px),
    radial-gradient(circle at 20% 60%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 60%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(ellipse 30px 25px at 50% 78%, var(--gold) 0 22px, transparent 24px);
  opacity: .11;
  pointer-events: none;
}

.pet-eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 800;
  color: var(--teal); letter-spacing: .22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.pet-eyebrow svg { width: 18px; height: 18px; }

.pet-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: var(--teal-darker);
  line-height: 1.05;
  margin: 8px 0 6px;
  text-wrap: balance;
}
.pet-headline em { color: var(--teal); font-style: italic; }

.pet-sub {
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; max-width: 44ch; margin: 0;
}

.pet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 30px;
}

.pet-choose { display: flex; flex-direction: column; gap: 12px; }
.pet-choose-label {
  font-size: 11px; font-weight: 700; color: var(--teal);
  letter-spacing: .18em; text-transform: uppercase;
}

.pet-option {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  text-align: left;
  width: 100%;
  font: inherit; color: inherit;
}
.pet-option:hover { border-color: var(--teal-line); transform: translateY(-1px); }
.pet-option:focus-visible { outline: 3px solid var(--teal-line); outline-offset: 2px; }
.pet-option[aria-pressed="true"] {
  border-color: var(--teal); background: var(--teal-soft);
  box-shadow: 0 6px 18px rgba(22,96,105,.10);
}
.pet-option-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); color: var(--teal); flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--teal-line);
  transition: background .18s, color .18s, border-color .18s;
}
.pet-option-icon svg { width: 24px; height: 24px; }
.pet-option[aria-pressed="true"] .pet-option-icon {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.pet-option-body strong {
  display: block; font-size: 16px; font-weight: 700; color: var(--teal-darker);
}
.pet-option-body span {
  display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px;
}

.pet-note {
  font-size: 12.5px; color: var(--ink-soft); margin: 4px 4px 0; line-height: 1.55;
}

.pet-reco {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: opacity .28s ease, transform .28s ease;
}
.pet-reco.is-swapping { opacity: 0; transform: translateY(4px); }
.pet-reco-media {
  width: 100%; height: 210px;
  background: var(--teal-soft);
  background-size: cover; background-position: center;
  position: relative;
}
.pet-reco-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(10,52,56,.88); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.pet-reco-body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.pet-reco-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--teal-darker);
  line-height: 1.2; margin: 0;
}
.pet-reco-why {
  font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0;
}
.pet-reco-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-book); color: #ffffff !important;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 12px 22px; border-radius: 10px;
  text-decoration: none; margin-top: auto;
  transition: background .15s ease, transform .15s ease;
  align-self: flex-start;
}
.pet-reco-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.pet-reco-cta svg { width: 15px; height: 15px; }

@media (max-width: 780px) {
  .pet-section { padding: 50px 0; }
  .pet-section__wrap { padding: 30px 22px; border-radius: 18px; }
  .pet-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .pet-option, .pet-reco, .pet-reco-cta { transition: none; }
  .pet-reco.is-swapping { opacity: 1; transform: none; }
}
