:root {
  --ph-red: #ce2828;
  --ph-red-dark: #832020;
  --dark: #171717;
  --bg: #f6f8fb;
  --border: #ebebeb;
  --muted: #5c5c5c;
  --muted2: #8c8c8c;
  --error: #d02533;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
}

a { color: var(--ph-red); text-decoration: none; }
a:hover { color: var(--ph-red-dark); text-decoration: underline; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--ph-red) 0%, #ae2222 55%, var(--ph-red-dark) 100%);
  color: #fff;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 24px 64px;
}
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { margin: 0; font-weight: 800; font-size: 56px; line-height: 1.04; }
.hero p { margin: 16px 0 28px; font-size: 19px; color: rgba(255,255,255,.92); max-width: 480px; }
.hero-img {
  flex: 0 0 400px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.35);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 0 28px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .15s ease, background .15s ease;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-secondary { background: #fff; color: var(--ph-red); }
.btn-secondary:hover { background: #f6f6f6; }
.btn-primary { background: var(--ph-red); color: #fff; }
.btn-primary:hover { background: var(--ph-red-dark); }

/* Section headings */
.section { padding: 56px 24px 8px; }
.section h2 { margin: 0 0 6px; font-weight: 700; font-size: 32px; }
.section > p.lead { margin: 0 0 26px; font-size: 16px; color: var(--muted); }

/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pkg-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(14,18,27,.04);
}
.pkg-img {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  border: 1.5px dashed #d0d0d0;
}
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pill-badge { background: var(--ph-red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 24px; }
.pill-save { background: #fdeaea; color: var(--ph-red); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 24px; }
.pkg-from { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.pkg-price { font-size: 34px; font-weight: 800; color: var(--ph-red); line-height: 1.1; }
.pkg-np { font-size: 13px; color: var(--muted2); }
.pkg-np s { text-decoration: line-through; }
.pkg-card ul { margin: 0; padding: 0 0 0 18px; font-size: 14px; color: #383838; line-height: 1.7; }

/* Ala carte */
.alacarte {
  background: linear-gradient(135deg, var(--ph-red), var(--ph-red-dark));
  border-radius: 20px;
  color: #fff;
  padding: 36px 40px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.alacarte-col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; }
.alacarte h2, .alacarte h3 { margin: 0 0 18px; }
.alacarte h2 { font-weight: 800; font-size: 26px; }
.alacarte h3 { font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.alacarte-row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.alacarte-row.small { padding: 10px 0; }
.alacarte-row .name { font-size: 17px; font-weight: 600; flex: 1; }
.alacarte-row.small .name { font-size: 15px; }
.alacarte-row .np { font-size: 13px; color: rgba(255,255,255,.7); text-decoration: line-through; }
.alacarte-row .price { font-size: 24px; font-weight: 800; }
.alacarte-row.small .price { font-size: 18px; }
.alacarte-free { margin-top: auto; padding-top: 18px; font-size: 15px; }
.alacarte-free strong { font-size: 20px; font-weight: 800; }
.alacarte-free span { color: rgba(255,255,255,.85); }

/* Crust & toppings */
.crust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.crust-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.crust-card .title { font-weight: 800; font-size: 18px; }
.crust-card .desc { font-size: 14px; color: var(--muted); }
.crust-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--bg);
  border: 1.5px dashed #d0d0d0;
}
.topping-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.topping-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.topping-img { aspect-ratio: 1.3; overflow: hidden; }
.topping-img img { width: 100%; height: 100%; object-fit: cover; }
.topping-body { padding: 12px 14px 14px; }
.topping-name { font-weight: 700; font-size: 14px; color: var(--ph-red); text-transform: uppercase; letter-spacing: .02em; }

/* Lead form */
.form-section { padding: 56px 24px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 8px 24px rgba(14,18,27,.06); overflow: hidden; }
.form-layout { display: flex; }
.form-side {
  flex: 0 0 300px;
  background: linear-gradient(160deg, var(--ph-red), var(--ph-red-dark));
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-side h2 { margin: 0; font-weight: 800; font-size: 28px; line-height: 1.15; }
.form-side p { margin: 0; font-size: 15px; color: rgba(255,255,255,.9); line-height: 1.6; }
.form-side ul { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 14px; color: rgba(255,255,255,.9); line-height: 2; }
.form-main { flex: 1 1 0; min-width: 0; padding: 40px; }
.form-main h3 { margin: 0 0 4px; font-weight: 800; font-size: 18px; }
.form-main h3.spaced { margin: 32px 0 16px; }
.form-main > p.hint { margin: 0 0 16px; font-size: 14px; color: var(--muted); }

.item-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.item-list.compact { gap: 10px; }
.item-row {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
}
.item-row.small { padding: 10px 16px; }
.item-row-top { display: flex; align-items: center; gap: 14px; }
.pizza-choice-wrap { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-left: 34px; }
.pizza-unit-row { display: flex; align-items: center; gap: 8px; }
.pizza-unit-label { flex: 0 0 22px; font-size: 12px; font-weight: 700; color: var(--muted2); }
.pizza-unit-row select {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--dark);
}
.pizza-unit-row select.invalid { border-color: var(--error); }
.copy-all-btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border: 1.5px solid var(--ph-red);
  border-radius: 999px;
  background: #fff;
  color: var(--ph-red);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.copy-all-btn:hover { background: #fdeaea; }
.pizza-error { padding-left: 34px; margin-top: 6px; font-size: 12px; color: var(--error); font-weight: 600; }
.item-row input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--ph-red); flex: 0 0 20px; cursor: pointer;
}
.item-info { flex: 1; min-width: 0; }
.item-info .line1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.item-info .line1 .price { color: var(--ph-red); }
.item-info .line1 .np { font-weight: 400; font-size: 13px; color: var(--muted2); text-decoration: line-through; }
.item-info .desc { font-size: 13px; color: var(--muted); }
.item-row.small .item-info { font-weight: 600; font-size: 14px; }
.item-row.small .item-info .price { color: var(--ph-red); }
.item-row.small .item-info .np { font-weight: 400; font-size: 13px; color: var(--muted2); text-decoration: line-through; }

.stepper { display: inline-flex; align-items: center; height: 32px; border: 1.5px solid #e1e4ea; border-radius: 999px; background: #fff; flex: 0 0 auto; }
.stepper.lg { height: 40px; }
.stepper button {
  width: 32px; height: 32px; border: none; background: transparent; color: var(--ph-red);
  font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
}
.stepper.lg button { width: 40px; height: 40px; font-size: 20px; }
.stepper button:hover { background: #fdeaea; }
.stepper input {
  width: 44px; border: none; outline: none; text-align: center; font-family: inherit; font-weight: 600;
  font-size: 14px; color: var(--dark); background: transparent; font-variant-numeric: tabular-nums;
}
.stepper.lg input { width: 64px; font-weight: 700; font-size: 15px; }

.field-error { margin-top: 10px; font-size: 13px; color: var(--error); font-weight: 600; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid1 { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field .req-label { }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  height: 44px; padding: 0 12px; border: 1.5px solid #d0d0d0; border-radius: 11px; background: #fff;
  font-family: inherit; font-size: 15px; color: var(--dark);
}
.field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field .err { font-size: 12px; color: var(--error); font-weight: 400; }
.field .helper { font-size: 12px; color: var(--muted2); }

.pax-block { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pax-block .pax-label { font-size: 14px; font-weight: 500; }
.pax-block .min-note { font-size: 12px; color: var(--muted2); }
.pax-block .err { font-size: 12px; color: var(--error); }

.submit-row { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.submit-row .note { font-size: 13px; color: var(--muted2); }
.form-error { margin-top: 12px; font-size: 13px; color: var(--error); font-weight: 600; }

/* Thank you */
.thankyou { padding: 72px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.thankyou .check {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f6ec; color: #22a44a;
  display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800;
}
.thankyou h2 { margin: 8px 0 0; font-weight: 800; font-size: 30px; }
.thankyou p { margin: 0; font-size: 16px; color: var(--muted); max-width: 480px; }
.thankyou .ref { margin: 4px 0 0; font-size: 14px; color: var(--muted2); }

.hidden { display: none !important; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--dark); color: #fff; }
.footer-inner { padding: 44px 24px 52px; }
.footer h3 { margin: 0 0 14px; font-weight: 700; font-size: 18px; }
.footer ul { margin: 0; padding: 0 0 0 18px; columns: 2; column-gap: 48px; font-size: 14px; color: #a3a3a3; line-height: 2; }
.footer .legal { margin: 20px 0 0; font-size: 13px; color: #737373; }

@media (max-width: 860px) {
  .hero-inner { flex-direction: column; }
  .hero-img { width: 100%; flex-basis: auto; }
  .pkg-grid, .topping-grid { grid-template-columns: repeat(2, 1fr); }
  .crust-grid, .grid2 { grid-template-columns: 1fr; }
  .form-layout { flex-direction: column; }
  .form-side { flex: none; }
  .footer ul { columns: 1; }
}
