/* ============================================================
   AMENITIES PAGE — amenities.css
   Three editorial sections: Taproom, Self-Wash, Coffee Bar.
   Desktop: alternating photo-mosaic + copy layout (Option B).
   Mobile: mosaic on top, copy below — always.
============================================================ */

/* ── Hero ── */

.am-hero {
  position: relative;
  background-color: var(--color-cream);
  background-image: url('../images/grain.svg');
  background-size: 160px 160px;
  background-repeat: repeat;
  overflow: hidden;
  padding: 48px 20px 56px;
}

.am-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(252,249,241,.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Decorative paws */
.am-hero__paws {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.am-hero__paw {
  position: absolute;
  color: var(--color-sage);
  opacity: 0.07;
  width: 140px;
  height: 140px;
}

.am-hero__paw--tl {
  top: -30px;
  left: -40px;
  transform: rotate(-18deg);
}

.am-hero__paw--bl {
  bottom: 16px;
  left: -30px;
  width: 130px;
  height: 130px;
  transform: rotate(24deg);
}

.am-hero__paw--tr {
  top: 50px;
  right: -50px;
  width: 130px;
  height: 130px;
  transform: rotate(-12deg);
}

.am-hero__inner {
  position: relative;
  z-index: 3;
}

.am-hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.am-hero__trust-avatars {
  display: flex;
}

.am-hero__trust-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-cream);
  margin-left: -8px;
  object-fit: cover;
}

.am-hero__trust-avatar:first-child { margin-left: 0; }

.am-hero__trust-link {
  font-size: 12.5px;
  color: var(--color-charcoal);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 200ms ease;
}

.am-hero__trust-link:hover { opacity: 1; }

.am-hero__heading {
  display: flex;
  flex-direction: column;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-charcoal);
  margin: 0 0 20px;
}

.am-hero__heading-line { display: block; }

.am-hero__heading-accent {
  font-style: italic;
  color: var(--color-wood);
}

.am-hero__subhead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--color-charcoal-body);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 32px;
}

/* Jump nav — tab underline style, 3 equal columns */
.am-hero__jumps {
  display: flex;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.am-hero__jump {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--color-charcoal);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: color 200ms ease, border-color 200ms ease;
}

.am-hero__jump.is-active {
  color: var(--color-wood);
  border-color: var(--color-wood);
}

.am-hero__jump:hover {
  color: var(--color-wood);
  border-color: var(--color-wood);
}

/* Mobile: image flush to nav, slides above text */
.am-hero {
  padding-top: 0;
}

.am-hero .svc-visual {
  order: -1;
}

@media (min-width: 1024px) {
  .am-hero {
    padding: 64px 20px 64px;
  }

  /* Reset order on desktop — text left, image right */
  .am-hero .svc-visual {
    order: 0;
  }

  .am-hero__jump {
    font-size: 20px;
    padding: 20px 24px;
  }
}


/* ── Editorial block ── */

.am-block {
  background-color: var(--color-cream);
  padding: 72px var(--space-5);
  border-top: 1px solid var(--color-cream-edge);
}

.am-block--wash {
  background-color: var(--color-stone);
}

/* Two-column editorial grid: mosaic | copy */
.am-block__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Desktop: side by side */
@media (min-width: 900px) {
  .am-block__inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
  }

  /* Flipped sections: mosaic goes to the right (order 2), copy to left (order 1) */
  .am-block--flipped .am-mosaic  { order: 2; }
  .am-block--flipped .am-block__copy { order: 1; }
}

@media (min-width: 1200px) {
  .am-block { padding: 96px var(--space-8); }
}


/* ── Mosaic: 1 large + 2 small ── */

.am-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
}

.am-mosaic__large {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-stone);
  position: relative;
}

.am-mosaic__large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.am-mosaic__smalls {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.am-mosaic__small {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-stone);
  position: relative;
  min-height: 0; /* prevents flex blowout */
}

.am-mosaic__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

/* Placeholder boxes */
.am-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-stone);
}

.am-placeholder span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-charcoal);
  opacity: 0.3;
  text-align: center;
  padding: 0 8px;
}

/* Mobile: mosaic stays horizontal but at shorter height */
@media (max-width: 899px) {
  .am-mosaic {
    grid-template-columns: 3fr 2fr;
  }

  .am-mosaic__large { aspect-ratio: 1 / 1; }
}


/* ── Copy block ── */

.am-block__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 4px;
}

.am-block__eyebrow {
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--color-wood);
  margin: 0 0 12px;
}

.am-block__heading {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--color-charcoal);
  margin: 0 0 16px;
}

.am-block__lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-charcoal-body);
  margin: 0 0 28px;
  max-width: 480px;
}

/* Paw bullet list */
.am-block__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.am-block__fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-charcoal);
}

.am-block__fact strong {
  font-weight: var(--weight-semibold);
}

.am-block__fact-dot {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-wood);
  margin-top: 2px;
}

/* Hours badge */
.am-block__hours {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--color-cream-edge);
  background: var(--color-cream-warm);
  font-size: 13px;
  color: var(--color-charcoal);
  flex-wrap: wrap;
}

.am-block--wash .am-block__hours {
  background: var(--color-cream);
  border-color: rgba(0,0,0,0.08);
}

.am-block__hours-icon {
  color: var(--color-wood);
  flex-shrink: 0;
}

.am-block__hours-label {
  font-weight: var(--weight-semibold);
}

.am-block__hours-time {
  color: var(--color-charcoal-body);
}


/* ── Self-Wash Pricing + Form ── */

.am-wash__pricing {
  padding: 64px var(--space-5) 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: 64px;
}

.am-wash__inner {
  max-width: 860px;
  margin: 0 auto;
}

.am-wash__pricing-header {
  text-align: center;
  margin-bottom: 40px;
}

.am-wash__pricing-eyebrow {
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--color-wood);
  margin: 0 0 10px;
}

.am-wash__pricing-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: var(--weight-bold);
  letter-spacing: -0.5px;
  color: var(--color-charcoal);
  margin: 0 0 10px;
}

.am-wash__pricing-sub {
  font-size: 15px;
  color: var(--color-charcoal-body);
  line-height: 1.6;
}

/* Tier cards */
.am-wash__tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .am-wash__tiers { grid-template-columns: 1fr; }
}

.am-wash__tier {
  background: var(--color-cream);
  border: 1px solid var(--color-cream-edge);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.am-wash__tier--featured {
  border-color: var(--color-wood);
  box-shadow: 0 4px 24px rgba(161, 93, 37, 0.12);
}

.am-wash__tier-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-wood);
  color: var(--color-cream);
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.am-wash__tier-top { flex: 1; }

.am-wash__tier-name {
  font-size: 18px;
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  margin: 0 0 4px;
}

.am-wash__tier-desc {
  font-size: 13px;
  color: var(--color-charcoal-body);
  line-height: 1.5;
}

.am-wash__tier-rate-label {
  font-size: 11px;
  font-weight: var(--weight-semibold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-charcoal-body);
  margin: 0 0 4px;
}

.am-wash__tier-rate-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.am-wash__tier-amount {
  font-size: 40px;
  font-weight: var(--weight-bold);
  letter-spacing: -1px;
  color: var(--color-charcoal);
}

.am-wash__tier-unit {
  font-size: 14px;
  color: var(--color-charcoal-body);
}

.am-wash__tier-notes {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--color-charcoal-body);
}

.am-wash__tier-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: auto;
}

.am-wash__note {
  font-size: 13px;
  color: var(--color-charcoal-body);
  text-align: center;
  margin-bottom: 48px;
  padding: 0 16px;
}

/* Membership form */
.am-wash__form-wrap {
  background: var(--color-cream);
  border: 1px solid var(--color-cream-edge);
  border-top: 4px solid var(--color-wood);
  border-radius: 16px;
  padding: 40px 32px;
  margin-bottom: 0;
}

.am-wash__form-header {
  text-align: center;
  margin-bottom: 32px;
}

.am-wash__form-heading {
  font-size: 24px;
  font-weight: var(--weight-bold);
  color: var(--color-charcoal);
  margin: 0 0 6px;
}

.am-wash__form-sub {
  font-size: 14px;
  color: var(--color-charcoal-body);
  line-height: 1.5;
}

.am-wash__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .am-wash__fields { grid-template-columns: 1fr 1fr 1fr; }
  .am-wash__form-wrap { padding: 48px 40px; }
}

.am-wash__label {
  display: block;
  font-size: 12px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}

.am-wash__input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-cream-edge);
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-charcoal);
  background: var(--color-cream-warm);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  font-family: inherit;
}

.am-wash__input:focus {
  outline: none;
  border-color: var(--color-wood);
  box-shadow: 0 0 0 3px rgba(161, 93, 37, 0.12);
}

.am-wash__submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.am-wash__form-legal {
  font-size: 12px;
  color: var(--color-charcoal-body);
  text-align: center;
  line-height: 1.5;
}


/* ── Facility dropdown: nav__item--facility ── */

.nav__item--facility {
  position: relative;
}

/* Panel uses the same .nav__mega pattern — no extra CSS needed
   beyond what components.css already defines. */


/* ── Visit CTA section ── */

.am-visit {
  background-color: var(--color-charcoal);
  padding: 80px var(--space-5);
  text-align: center;
}

.am-visit__inner {
  max-width: 640px;
  margin: 0 auto;
}

.am-visit__eyebrow {
  font-size: var(--type-eyebrow);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--color-cream);
  opacity: 0.55;
  margin: 0 0 12px;
}

.am-visit__heading {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--color-cream);
  margin: 0 0 14px;
}

.am-visit__accent {
  font-style: italic;
  color: var(--color-wood);
}

.am-visit__sub {
  font-size: 14px;
  color: var(--color-cream);
  opacity: 0.6;
  margin: 0 0 32px;
}

.am-visit__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.am-visit__secondary {
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--color-cream);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.am-visit__secondary:hover { opacity: 1; }

@media (min-width: 600px) {
  .am-visit__ctas { flex-direction: row; justify-content: center; }
}

@media (min-width: 768px) {
  .am-visit { padding: 96px var(--space-8); }
  .am-wash__pricing { padding: 80px var(--space-8) 0; }
}
