@media (max-width: 900px) {
#gallery .section-header {
    margin-bottom: 10px;
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
}

.section-header p {
  max-width: 62ch;
}

#what .section-header {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

#what .section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

#faq .section-header {
  margin-inline: auto;
  align-items: center;
  text-align: center;
}

#faq .section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.cards {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.section-gallery .section-header {
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.notice {
  background: rgba(196, 90, 45, 0.12);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--accent-dark);
  font-weight: 600;
  width: fit-content;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: min(100%, 320px);
  margin: 18px auto 0;
}

.certification-logo--anab {
  height: 52px;
  max-width: 88px;
}

.certification-logo--servsafe {
  height: 42px;
  max-width: 124px;
  border-color: rgba(0, 151, 190, 0.18);
}

.footer-company-mark--mono {
  width: 42px;
  height: 36px;
  opacity: 0.82;
}

@media (min-width: 768px) {
.cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.auth-shell {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-studio-page .auth-shell {
  margin-top: 12px;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.site-studio-page .auth-actions {
  gap: 8px;
}

.site-studio-page #studio-media-status.error {
  color: #8a2d1f;
}

.auth-status.error {
  border-color: rgba(164, 70, 30, 0.45);
  background: rgba(196, 90, 45, 0.08);
}

.owner-rules-status.error {
  color: #a4461e;
}

.leaderboard-table td.rank {
  width: 38px;
  font-weight: 700;
}

@media (max-width: 900px) {
.owner-dashboard-main .auth-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
.auth-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 900px) {
.reviews-shell .auth-actions {
    width: 100%;
  }
}

.review-form-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: start;
}

.request-form-side-note {
  margin-top: 18px;
}

.request-purpose-cards,
.review-purpose-cards {
  margin-bottom: 0;
}

.review-form-legal {
  margin-top: 14px;
}

.review-form-panel {
  background: linear-gradient(180deg, rgba(247, 244, 240, 0.96), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(91, 60, 43, 0.12);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(91, 60, 43, 0.08);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.review-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at top right, rgba(196, 90, 45, 0.08), rgba(196, 90, 45, 0) 38%);
}

.review-form-panel > * {
  position: relative;
  z-index: 1;
}

.request-form-contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-intake-form {
  display: grid;
  gap: 18px;
}

.review-form-step,
.review-field,
.review-fieldset {
  display: grid;
  gap: 10px;
}

.review-form-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(87, 164, 115, 0.12);
  color: #2f6f45;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-field input,
.review-field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(91, 60, 43, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #2c211c;
  font: inherit;
  padding: 14px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.review-field textarea {
  min-height: 180px;
  resize: vertical;
}

.review-field input:focus,
.review-field textarea:focus,
.review-rating-option input:focus + span {
  outline: none;
  border-color: rgba(87, 164, 115, 0.55);
  box-shadow: 0 0 0 4px rgba(87, 164, 115, 0.16);
}

.review-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-field-help,
.review-char-count {
  font-size: 0.92rem;
}

.review-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.request-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.request-type-option {
  position: relative;
  display: block;
}

.request-type-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.request-type-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(91, 60, 43, 0.18);
  background: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  padding: 10px 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.request-type-option input:checked + span {
  border-color: rgba(87, 164, 115, 0.68);
  background: linear-gradient(135deg, rgba(87, 164, 115, 0.16), rgba(196, 90, 45, 0.18));
  box-shadow: 0 16px 26px rgba(91, 60, 43, 0.12);
  transform: translateY(-1px);
}

.request-type-option input:focus-visible + span {
  border-color: rgba(95, 58, 35, 0.88);
  box-shadow:
    0 0 0 4px rgba(239, 191, 105, 0.38),
    0 0 0 7px rgba(95, 58, 35, 0.18),
    0 16px 26px rgba(91, 60, 43, 0.12);
  transform: translateY(-1px);
}

.review-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
}

.review-consent input {
  margin-top: 4px;
}

.request-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.review-form-status {
  margin: 0;
}

@media (max-width: 900px) {
.review-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

.request-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.review-form-panel {
    padding: 20px;
  }

.review-purpose-cards .card {
    padding: 18px;
  }

.request-form-contact-grid {
    grid-template-columns: 1fr;
  }

.review-field-row,
  .studio-review-inbox-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.crumbs-flow-step h3,
.crumbs-rules-copy h2,
.crumbs-rules-note strong,
.crumbs-ladder .section-header h2 {
  margin: 14px 0 10px;
  font-family: "Fraunces", serif;
}

.home-page .section-header {
  gap: 10px;
}

.home-page .section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.home-page .cards .card,
.home-page .accordion-item,
.home-page .photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63, 43, 30, 0.08);
  box-shadow:
    0 18px 34px rgba(60, 41, 28, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-page .cards .card:not([data-product-card])::before,
.home-page .accordion-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(196, 90, 45, 0.86), rgba(216, 174, 105, 0.84), rgba(95, 141, 92, 0.72));
  opacity: 0.9;
}

.home-page #how .card h3 {
  font-size: 1.4rem;
}

.home-page #pricing [data-product-card] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 241, 0.92));
}

.home-page #pricing [data-product-card] h3 {
  font-size: 1.65rem;
}

.home-page #pricing .price-line {
  font-weight: 600;
  color: #4d3d33;
}

.pricing-page .section-header h2 {
  margin-bottom: 6px;
}

@media (max-width: 640px) {
.home-page .mobile-home-section-enabled .section-header {
    gap: 8px;
  }

.home-page .mobile-home-section-enabled .section-header h2 {
    font-size: 1.65rem;
  }

.home-page .mobile-home-section-enabled .cards {
    gap: 12px;
  }
}

@media (min-width: 901px) {
.shop-page #main > .section-header,
  .shop-page #main > .shop-review-proof,
  .shop-page #main > .auth-shell {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }
}
