/* ============================================
   The Cinnamon Leaf — shared styles
   Palette: warm ivory, soft white, antique gold, cinnamon brown
   ============================================ */

:root {
  --ivory: #faf6ef;
  --cream: #f4ecdd;
  --white: #fffdf9;
  --gold: #c19a3d;
  --gold-dark: #a37f2c;
  --gold-soft: #e9d9ae;
  --cinnamon: #7a4a21;
  --ink: #2e2a24;
  --ink-soft: #5c554a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(122, 74, 33, 0.10);
  --shadow-sm: 0 4px 14px rgba(122, 74, 33, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

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

a {
  color: var(--gold-dark);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-name span {
  color: var(--gold-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.nav-links .btn {
  padding: 0.55rem 1.3rem;
  font-size: 0.95rem;
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Photo: Ella Olsson via Pexels (#1640777), free for commercial use */
  background:
    linear-gradient(180deg, rgba(250, 246, 239, 0.92) 0%, rgba(250, 246, 239, 0.82) 55%, var(--ivory) 100%),
    url("../images/hero-food.jpg") center 40% / cover no-repeat;
  padding: 6.5rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.hero-leaf {
  position: absolute;
  opacity: 0.09;
  color: var(--cinnamon);
}

.hero-leaf.left { top: 12%; left: 4%; width: 130px; transform: rotate(-24deg); }
.hero-leaf.right { bottom: 8%; right: 5%; width: 170px; transform: rotate(18deg); }

.hero-logo {
  display: block;
  width: min(240px, 55vw);
  height: auto;
  margin: 0 auto 1.8rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  max-width: 18ch;
  margin: 0 auto 1.2rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-dark);
}

.hero p {
  max-width: 56ch;
  margin: 0 auto 2.2rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: var(--cinnamon);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}

.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 0.8rem;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.9rem auto 0;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Menu tabs ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold-dark);
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab-btn:hover {
  background: var(--gold-soft);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: var(--gold-dark);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dish {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dish:hover,
.dish:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.dish img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dish-body {
  padding: 1rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dish h3 {
  font-size: 1.08rem;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.dish-macros {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.dish-more {
  margin-top: auto;
  padding-top: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Dish modal ---------- */
.dish-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  border: none;
  border-radius: 18px;
  padding: 0;
  width: min(680px, 92vw);
  max-height: 88vh;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(46, 42, 36, 0.35);
  overflow: hidden;
}

.dish-modal::backdrop {
  background: rgba(46, 42, 36, 0.55);
  backdrop-filter: blur(2px);
}

.dish-modal-scroll {
  overflow-y: auto;
  max-height: 88vh;
}

.dish-modal img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dish-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 253, 249, 0.92);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.dish-modal-close:hover {
  background: var(--gold-soft);
}

.dish-modal-body {
  padding: 1.6rem 1.9rem 1.9rem;
}

.dish-modal-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.dish-serving {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.nutri {
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 0.55rem 0.4rem;
  text-align: center;
}

.nutri b {
  display: block;
  font-size: 1.05rem;
  color: var(--gold-dark);
}

.nutri span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.dish-modal-body h4 {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cinnamon);
  margin-bottom: 0.5rem;
}

.ingredient-list {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
  margin-bottom: 1.4rem;
}

.ingredient-list li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.22rem 0 0.22rem 1.1rem;
  position: relative;
  break-inside: avoid;
}

.ingredient-list li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  color: var(--gold);
}

.dish-modal-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.menu-note {
  text-align: center;
  margin-top: 2.2rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price-card .btn {
  margin-top: auto;
  align-self: center;
}

.price-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.25;
  margin: 0.9rem 0 0.8rem;
}

.price-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cinnamon);
}

.price-amount {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.1;
  margin: 0.5rem 0 0.2rem;
}

.price-amount sup {
  font-size: 1.8rem;
  top: -1.6rem;
  position: relative;
}

.price-sub {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.price-detail {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.price-per {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  text-align: left;
  max-width: 380px;
  margin: 0 auto 2rem;
}

.price-features li {
  padding: 0.45rem 0 0.45rem 2rem;
  position: relative;
  color: var(--ink-soft);
}

.price-features li::before {
  content: "✦";
  position: absolute;
  left: 0.3rem;
  color: var(--gold);
}

/* ---------- Extras (CN Foods partnership) ---------- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.extra-card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.extra-img {
  background: radial-gradient(circle at 50% 60%, var(--white) 0%, var(--cream) 75%);
  border-bottom: 1px solid var(--gold-soft);
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extra-img img {
  height: 240px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(122, 74, 33, 0.18));
}

.extra-body {
  padding: 1.6rem 1.8rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.extra-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cinnamon);
  margin-bottom: 0.5rem;
}

.extra-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.extra-body p {
  color: var(--ink-soft);
}

.extra-price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: auto;
  padding-top: 1rem;
}

.extra-price span {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- About teaser / about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.about-text .btn {
  margin-top: 0.6rem;
}

/* About page specifics */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 10%, rgba(201, 162, 61, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  padding: 4rem 0 3.2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
}

.page-hero p {
  color: var(--ink-soft);
  margin-top: 0.7rem;
  font-size: 1.1rem;
}

.badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin: 3rem 0;
}

.badge {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.badge .badge-icon {
  font-size: 1.6rem;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}

.badge h3 {
  font-size: 1rem;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.badge p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.bio p {
  margin-bottom: 1.1rem;
  color: var(--ink-soft);
}

.bio h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 2rem 0 1rem;
}

.bio h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 0.7rem;
}

/* ---------- Contact / CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, var(--cinnamon) 0%, #5c3617 100%);
  border-radius: 22px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #f8f1e4;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.cta-band p {
  max-width: 52ch;
  margin: 0 auto 1.8rem;
  color: #ecdfc8;
}

.cta-band .cta-email {
  display: block;
  margin-top: 1.2rem;
  color: var(--gold-soft);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

.cta-band .cta-email:hover {
  text-decoration: underline;
}

.cta-coming {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: #d8c5a5;
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gold-soft);
  padding: 2.8rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 0.6rem;
  max-width: 34ch;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--gold-dark);
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--cream);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.service-icon {
  font-size: 1.5rem;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.08rem;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Client reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  width: 20px;
  height: 20px;
  color: var(--gold-soft);
  flex-shrink: 0;
}

.star.is-on {
  color: var(--gold);
}

.review-quote {
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex-grow: 1;
}

.review-name {
  font-weight: 700;
}

.review-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.reviews-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto;
}

.reviews-cta {
  text-align: center;
  margin-top: 2.2rem;
  color: var(--ink-soft);
}

.reviews-cta .btn {
  margin-left: 0.6rem;
}

/* ---------- Forms (review page) ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem 2.2rem;
  max-width: 720px;
  margin: 0 auto;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label,
.rating-fieldset legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0;
}

.form-input,
.form-textarea {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  width: 100%;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.rating-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rating-stars {
  display: flex;
  gap: 0.35rem;
}

.star-label {
  cursor: pointer;
  line-height: 0;
}

.rating-stars .star {
  width: 34px;
  height: 34px;
  transition: color 0.12s ease;
}

.star-input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.star-input:focus-visible + .star {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent input {
  accent-color: var(--gold-dark);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.gotcha {
  display: none;
}

.form-error {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #e3bcb6;
  border-left: 3px solid #b3261e;
  border-radius: 10px;
  background: #fdf2f0;
  color: #7f1d1a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  word-break: break-word;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn.is-sending {
  pointer-events: none;
  opacity: 0.8;
}

.btn.is-sending::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.55rem;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cl-spin 0.7s linear infinite;
}

@keyframes cl-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Thank you page ---------- */
.thanks-card {
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2.2rem;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.thanks-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
}

.thanks-card h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.thanks-card p {
  color: var(--ink-soft);
}

.thanks-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.8rem 0 1.2rem;
}

/* ---------- About page chef title ---------- */
.bio-title {
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: -0.4rem 0 1.1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* Collapse to the hamburger here: below ~900px the full link row wraps. */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--gold-soft);
    padding: 1.2rem 0 1.6rem;
    gap: 1.1rem;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .steps,
  .badges,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid,
  .extras-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .tab-panel.active {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .steps,
  .badges,
  .services-grid,
  .reviews-grid,
  .tab-panel.active {
    grid-template-columns: 1fr;
  }

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

  .form-card {
    padding: 1.6rem 1.2rem;
  }

  .thanks-card {
    padding: 2.2rem 1.3rem;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }

  .nutrition-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ingredient-list {
    columns: 1;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .extra-img {
    padding: 1.2rem;
  }

  .extra-img img {
    height: 200px;
  }
}
