:root {
  --bg: #fffaf3;
  --ink: #241a12;
  --muted: #6b5d51;
  --brand: #d1553b;
  --brand-dark: #b23f28;
  --accent: #f2b705;
  --card: #ffffff;
  --line: #ece3d8;
  --shadow: 0 20px 45px -25px rgba(80, 40, 20, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; }

.container { width: min(1120px, 92%); margin: 0 auto; }

h1, h2, h3, .brand { font-family: "Fraunces", Georgia, serif; }

a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px var(--brand); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: #fff; }
.btn--block { width: 100%; margin-top: 12px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand__mark { font-size: 24px; }
.nav__links { display: flex; align-items: center; gap: 26px; font-weight: 500; }
.nav__links a:not(.btn):hover { color: var(--brand); }

/* Hero */
.hero { padding: 70px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 600; color: var(--brand); }
.hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; margin: 14px 0 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 44ch; }
.hero__cta { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; }
.hero__stats strong { font-family: "Fraunces", serif; font-size: 26px; display: block; }
.hero__stats span { font-size: 14px; color: var(--muted); }

.hero__media { position: relative; }
.hero__card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.hero__card img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hero__badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
}

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: #fff5ea; }
.section__title { font-size: clamp(28px, 3.4vw, 40px); }
.section__sub { color: var(--muted); margin-top: 8px; font-size: 17px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.card__img { height: 180px; background-size: cover; background-position: center; }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { font-size: 21px; margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 15px; }

/* Chefs */
.chefs { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.chefs__img { min-height: 360px; border-radius: 22px; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.chefs__text p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✔"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* Pricing */
.pricing {
  max-width: 460px;
  margin: 36px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pricing__badge { display: inline-block; background: #fff0d6; color: var(--brand-dark); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.pricing__price { margin: 18px 0 6px; font-family: "Fraunces", serif; }
.pricing__price span { font-size: 52px; font-weight: 700; }
.pricing__price small { color: var(--muted); font-size: 18px; }
.pricing .ticks { text-align: left; max-width: 320px; margin: 22px auto; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.checkout__intro p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.secure { margin-top: 20px; font-weight: 600; color: var(--brand-dark); }
.card-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fffdfa;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(209, 85, 59, 0.15); }
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fffdfa;
}
.field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(209, 85, 59, 0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.card-input { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; }

.message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.message a { text-decoration: underline; font-weight: 600; color: inherit; }
.message--info { background: #eef2ff; color: #3730a3; }
.message--error { background: #fdecec; color: #b42318; }
.message--success { background: #e7f6ec; color: #1b7a43; }

.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; margin-top: 20px; }
.footer__inner { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero__grid, .chefs, .checkout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav__links { gap: 16px; }
  .nav__links a:not(.btn) { display: none; }
  .hero__card img { height: 320px; }
  .hero__stats { flex-wrap: wrap; gap: 18px; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
