/* Chick-fil-A Menu — polished UI/UX */

:root {
  --brand: #c8102e;
  --brand-dark: #70041c;
  --brand-mid: #a30d24;
  --brand-soft: #fff5f5;
  --ink: #1a202c;
  --muted: #4a5568;
  --line: #e8ecf1;
  --bg: #f3f4f6;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(26, 32, 44, 0.07);
  --shadow-hover: 0 16px 40px rgba(200, 16, 46, 0.14);
  --radius: 16px;
  --max: 1140px;
  --nav-h: 72px;
  --jump-h: 58px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--jump-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #ffe8ec 0%, transparent 55%),
    var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.45);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-family: "Quicksand", "Poppins", sans-serif;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.55rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), #ff6b81);
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-dark);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 700;
  color: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* ========== Header ========== */
.site-header {
  --nav-h: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(26, 32, 44, 0.08);
}

.header-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--ink);
}

.logo-mark-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.28);
  background: #fff;
  transition: transform 0.2s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.15;
}

.logo-text strong,
.logo-text .logo-title {
  font-family: "Quicksand", "Poppins", sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.logo-text small {
  font-size: clamp(0.7rem, 1.6vw, 0.8rem);
  font-weight: 600;
  color: var(--muted);
}

.logo:hover .logo-mark-img {
  transform: scale(1.06);
}

@media (max-width: 700px) {
  .logo-mark-img {
    width: 44px;
    height: 44px;
  }

  .logo-text strong {
    font-size: 1.05rem;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.header-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-pill {
  display: none;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #f1d0d5;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.34);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: grid;
  gap: 0.25rem;
  padding: 0.35rem 1rem 1rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-drawer[hidden] {
  display: none !important;
}

.mobile-drawer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
}

.mobile-drawer a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  text-decoration: none;
}

.drawer-cta {
  margin-top: 0.35rem;
  text-align: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
  color: #fff !important;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }

  .header-pill {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-drawer {
    display: none !important;
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2.25rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("../images/menu/sandwich-meal.webp") right 12% center / min(52%, 560px) no-repeat,
    linear-gradient(115deg, #5c0316 0%, #9b0c22 42%, #c8102e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(90deg, rgba(70, 2, 16, 0.88) 0%, rgba(112, 4, 28, 0.72) 48%, rgba(200, 16, 46, 0.35) 100%);
}

.hero .wrap {
  position: relative;
  animation: riseIn 0.7s ease both;
}

.hero .brand-kicker {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0 0 0.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 40rem;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ========== Jump nav ========== */
.jump-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(26, 32, 44, 0.04);
}

.jump-nav .wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.jump-nav .wrap::-webkit-scrollbar {
  display: none;
}

.jump-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #f0d4d9;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.jump-nav a:hover {
  background: var(--brand-soft);
  border-color: #e8a8b2;
  text-decoration: none;
  transform: translateY(-1px);
}

.jump-nav a.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.28);
}

/* ========== Main / sections ========== */
main {
  padding: 1.35rem 0 3.5rem;
}

.section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  margin: 1.15rem 0;
  transition: box-shadow 0.25s ease;
}

.section.is-inview {
  box-shadow: 0 12px 34px rgba(26, 32, 44, 0.09);
}

.section > p:first-of-type {
  margin-top: 0.15rem;
}

.tip {
  background: linear-gradient(90deg, #fff5f5, #fff);
  border-left: 4px solid var(--brand);
  padding: 0.95rem 1.05rem;
  border-radius: 0 12px 12px 0;
  margin: 1.1rem 0 0;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #f7e0e4;
}

.tip strong {
  color: var(--brand-dark);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.35rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

th,
td {
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: linear-gradient(180deg, #fff7f7, #ffefef);
  color: var(--brand-dark);
  font-weight: 700;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover td {
  background: #fafbfc;
}

td:nth-child(2),
td:nth-child(3) {
  font-variant-numeric: tabular-nums;
}

/* ========== Cards ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.15rem;
  margin: 1.35rem 0 0.5rem;
}

.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 32, 44, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #f0c8cf;
}

.menu-card .thumb {
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, #fff 0%, #f7f7f8 70%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  overflow: hidden;
}

.menu-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.menu-card:hover .thumb img {
  transform: scale(1.06);
}

.menu-card .body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  border-top: 1px solid #f1f3f6;
}

.menu-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--brand-dark);
}

.menu-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.3rem;
  min-width: 0;
  font-size: 0.84rem;
  border-radius: 8px;
  overflow: hidden;
}

.stat-table th,
.stat-table td {
  border: 1px solid var(--line);
  padding: 0.42rem 0.5rem;
  text-align: center;
}

.stat-table th {
  background: #f8fafc;
  color: var(--muted);
  font-weight: 600;
  width: 38%;
  white-space: nowrap;
}

.stat-table td {
  color: var(--ink);
  font-weight: 700;
  background: #fff;
}

.stat-table tr:last-child td {
  color: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  width: fit-content;
}

.badge.spicy {
  background: linear-gradient(90deg, #9b1c1c, #c53030);
}

.section-block {
  margin-top: 1.4rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e6ebf0;
}

.section-block h3 {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.section-block h3:first-child {
  margin-top: 0;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover {
  border-color: #f0c8cf;
}

.faq details[open] {
  border-color: #e8a8b2;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.06);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--brand-dark);
  font-family: "Quicksand", sans-serif;
  padding: 0.95rem 1.1rem;
  position: relative;
  padding-right: 2.5rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "–";
  background: var(--brand);
  color: #fff;
}

.faq details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
}

/* Legal / inner pages */
.legal-page h1 {
  font-family: "Quicksand", "Poppins", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  color: var(--brand-dark);
  margin: 0 0 1rem;
}

.legal-page h2 {
  margin-top: 1.75rem;
}

.legal-page h3 {
  margin-top: 1.15rem;
  margin-bottom: 0.4rem;
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 700;
}

.legal-links h2 {
  font-size: 1.15rem;
}

.legal-nav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.35rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.legal-nav-list a {
  font-weight: 600;
}

.footer-legal {
  line-height: 1.85;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #141a24, #0d1118);
  color: #a0aec0;
  padding: 2.35rem 0;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: grid;
  gap: 0.65rem;
}

.site-footer .footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.site-footer p {
  color: #a0aec0;
  margin: 0;
}

.site-footer a {
  color: #feb2b2;
}

.back-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.back-top:hover {
  transform: translateY(0) scale(1.05);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
    --jump-h: 52px;
  }

  .site-header {
    --nav-h: 64px;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-actions .header-cta {
    display: none;
  }

  .hero::before {
    background:
      url("../images/menu/sandwich-meal.webp") center / cover no-repeat,
      linear-gradient(115deg, #5c0316 0%, #c8102e 100%);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(70, 2, 16, 0.82), rgba(112, 4, 28, 0.88));
  }

  .hero p {
    max-width: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-h: 60px;
  }

  .site-header {
    --nav-h: 60px;
  }

  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .header-inner {
    min-height: 60px;
    gap: 0.5rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-text small {
    display: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .mobile-drawer {
    max-height: min(70vh, 480px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }

  .hero {
    padding: 1.85rem 0 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin-bottom: 0.75rem;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-note {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
    max-width: 100%;
    white-space: normal;
    border-radius: 12px;
    line-height: 1.4;
  }

  .jump-nav .wrap {
    padding: 0.55rem 0;
    gap: 0.35rem;
    scroll-padding-inline: 0.5rem;
  }

  .jump-nav a {
    padding: 0.48rem 0.75rem;
    font-size: 0.78rem;
    min-height: 36px;
  }

  main {
    padding: 0.85rem 0 2.75rem;
  }

  .section {
    padding: 1.1rem 0.95rem;
    margin: 0.85rem 0;
    border-radius: 14px;
  }

  h2 {
    font-size: clamp(1.25rem, 5.2vw, 1.5rem);
  }

  h2::after {
    width: 44px;
  }

  .tip {
    padding: 0.8rem 0.85rem;
    font-size: 0.92rem;
  }

  .table-wrap {
    margin: 0.85rem -0.15rem 1.15rem;
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap::after {
    content: "Swipe →";
    display: block;
    text-align: right;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    padding: 0.35rem 0.65rem 0.45rem;
    background: #fafbfc;
    border-top: 1px solid var(--line);
  }

  table {
    min-width: 420px;
  }

  th,
  td {
    padding: 0.65rem 0.7rem;
    font-size: 0.86rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
  }

  .menu-card {
    border-radius: 12px;
  }

  .menu-card:hover {
    transform: none;
  }

  .menu-card .thumb {
    padding: 0.55rem;
  }

  .menu-card .body {
    padding: 0.65rem 0.7rem 0.75rem;
    gap: 0.35rem;
  }

  .menu-card h3 {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .menu-card p {
    font-size: 0.74rem;
    -webkit-line-clamp: 2;
  }

  .stat-table {
    font-size: 0.72rem;
  }

  .stat-table th,
  .stat-table td {
    padding: 0.35rem 0.3rem;
  }

  .badge {
    font-size: 0.65rem;
    padding: 0.18rem 0.45rem;
  }

  .faq summary {
    padding: 0.85rem 0.95rem;
    padding-right: 2.4rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .faq details p {
    padding: 0 0.95rem 0.9rem;
    font-size: 0.92rem;
  }

  .site-footer {
    padding: 1.75rem 0 calc(1.75rem + env(safe-area-inset-bottom, 0));
    font-size: 0.86rem;
  }

  .back-top {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1rem, var(--max));
  }

  .logo-mark-img {
    width: 40px;
    height: 40px;
  }

  .logo-text .logo-title,
  .logo-text strong {
    font-size: 0.98rem;
  }

  .hero {
    padding: 1.5rem 0 1.25rem;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .menu-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: stretch;
  }

  .menu-card .thumb {
    aspect-ratio: auto;
    min-height: 112px;
    height: 100%;
    padding: 0.45rem;
    border-right: 1px solid #f1f3f6;
  }

  .menu-card .body {
    border-top: none;
    justify-content: center;
  }

  .menu-card p {
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
  }

  .stat-table {
    font-size: 0.78rem;
  }

  table {
    min-width: 360px;
  }

  ul,
  ol {
    padding-left: 1.05rem;
  }
}

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

  .hero .wrap,
  .reveal,
  .menu-card,
  .menu-card .thumb img {
    animation: none !important;
    transition: none !important;
  }
}
