:root {
  --navy: #01095c;
  --navy-700: #0a1677;
  --navy-50: #eef0fb;
  --aqua: #00a6e6;
  --accent: #ff5a36;
  --accent-600: #e9441f;
  --ink: #141a33;
  --muted: #5d6482;
  --bg: #f6f7fb;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(1, 9, 92, .08);
  --shadow-lg: 0 20px 50px rgba(1, 9, 92, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #bfe9ff; margin-bottom: .8rem;
}
.eyebrow--dark { color: var(--aqua); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(1, 9, 92, .96); backdrop-filter: blur(8px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.nav__brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-size: 1.05rem; }
.nav__brand strong { font-weight: 800; }
.nav__links { display: flex; gap: 1.5rem; }
.nav__links a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav__links a:hover { color: #fff; }
@media (max-width: 560px) { .nav__links a:first-child { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255, 90, 54, .35); }
.btn--accent:hover { background: var(--accent-600); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--block { width: 100%; }

/* Hero (swimming-club theme) */
.hero {
  position: relative; color: #fff; padding: 4.5rem 0 7.5rem; overflow: hidden;
  background: linear-gradient(100deg, rgba(1,9,92,.96) 0%, rgba(1,9,92,.85) 45%, rgba(0,110,190,.55) 100%), var(--hero-img) center/cover;
}
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; }
.hero h1 span { display: block; color: #7fd8ff; }
.hero__lead { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,.88); }
.hero__lead a { color: #fff; }
.hero__pizza {
  justify-self: center; width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 10px solid rgba(255,255,255,.9); transform: rotate(-8deg); box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero__pizza img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__pizza { width: 220px; order: -1; }
}
.facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, max-content); margin: 2rem 0 2.2rem; }
.facts > div { padding: 0 2rem; border-left: 1px solid rgba(255,255,255,.25); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #7fd8ff; font-weight: 700; margin-bottom: .2rem; }
.facts dd { margin: 0; font-size: 1.05rem; font-weight: 700; }
.facts dd span { display: block; font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.75); }
@media (max-width: 800px) {
  .facts { grid-auto-flow: row; gap: 1rem; }
  .facts > div { padding: 0; border-left: 0; }
}
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--bg); }

/* Order layout */
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; padding: 2rem 0 5rem; scroll-margin-top: 80px; }
@media (max-width: 980px) { .order-layout { grid-template-columns: 1fr; } }
.order-layout > * { min-width: 0; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--navy); }
.pizza-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.pizza-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pizza-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pizza-card.is-selected { border-color: var(--accent); }
.pizza-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pizza-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pizza-card:hover .pizza-card__img img { transform: scale(1.05); }
.badge { position: absolute; top: .8rem; left: .8rem; background: #fff; color: #217a3c; font-size: .75rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; }
.pizza-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.pizza-card__body .muted { font-size: .9rem; flex: 1; margin: .2rem 0 1rem; }
.pizza-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.pizza-card__head h3 { font-size: 1.2rem; margin: 0; }
.price { font-weight: 800; color: var(--navy); white-space: nowrap; }
.stepper { display: flex; align-items: center; background: var(--navy-50); border-radius: 999px; padding: .3rem; align-self: flex-start; }
.stepper__btn {
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--navy);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(1,9,92,.1);
}
.stepper__btn:hover { background: var(--navy); color: #fff; }
.stepper input {
  width: 3rem; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 1.1rem; color: var(--navy);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Checkout */
.checkout { position: sticky; top: 88px; }
.checkout__card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.6rem; border-top: 6px solid var(--navy); }
.checkout__card h2 { font-size: 1.35rem; color: var(--navy); }
.summary { list-style: none; padding: 0; margin: 0 0 1rem; }
.summary li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed #dfe2ef; font-size: .95rem; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin-bottom: 1.3rem; }
.summary__total strong { font-size: 1.6rem; color: var(--navy); }
.fields { display: grid; gap: .9rem; margin-bottom: 1.3rem; }
.field { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-weight: 500; color: var(--ink); padding: .75rem .9rem; border-radius: 12px;
  border: 1.5px solid #dfe2ef; background: #fbfbfe; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(0,166,230,.15); }
.field__error { color: #c62828; font-weight: 600; }

/* Messages */
.messages { padding-top: 1rem; }
.alert { padding: .9rem 1.2rem; border-radius: 12px; margin-bottom: .6rem; font-weight: 600; }
.alert--error { background: #fdecea; color: #a12622; }
.alert--success { background: #e7f6ec; color: #1d6b37; }
.alert--info, .alert--warning { background: var(--navy-50); color: var(--navy); }

/* Cause section */
.cause {
  color: #fff; padding: 6rem 0;
  background: linear-gradient(90deg, rgba(1,9,92,.92), rgba(0,90,170,.6)), var(--cause-img) center/cover;
}
.cause__inner > div { max-width: 560px; }
.cause h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.cause p { color: rgba(255,255,255,.88); margin-bottom: 1.6rem; }

/* Status page */
.status { padding: 4rem 0 6rem; }
.status__card { max-width: 640px; margin: 0 auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2.5rem; text-align: center; border-top: 6px solid var(--navy); }
.status--paid { border-top-color: #22a35a; }
.status--failed, .status--canceled, .status--expired { border-top-color: var(--accent); }
.status__icon { font-size: 3.5rem; }
.status__card h1 { color: var(--navy); font-size: 2rem; }
.status__meta { display: flex; justify-content: center; gap: 2.5rem; margin: 1.5rem 0; }
.status__meta span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.pill { display: inline-block; padding: .15rem .7rem; border-radius: 999px; font-size: .9rem; background: var(--navy-50); }
.pill--paid { background: #e7f6ec; color: #1d6b37; }
.pill--failed, .pill--canceled, .pill--expired { background: #fdecea; color: #a12622; }
.items { width: 100%; border-collapse: collapse; text-align: left; margin: 1rem 0 2rem; background: var(--card); }
.items th, .items td { padding: .7rem .5rem; border-bottom: 1px solid #eceef6; vertical-align: top; }
.items th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.items td:last-child { text-align: right; }
.items__total td { font-weight: 800; font-size: 1.1rem; color: var(--navy); border-bottom: 0; }
.pickup { background: var(--navy-50); border-radius: 14px; padding: 1rem 1.3rem; margin-bottom: 1.5rem; text-align: left; }
.pickup h3 { margin: 0 0 .3rem; color: var(--navy); }
.pickup p { margin: .2rem 0; }
.status__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Summary page */
.summary-page { padding: 3rem 0 5rem; }
.summary-page__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.summary-page h1 { color: var(--navy); }
.summary-page h2 { color: var(--navy); margin-top: 2rem; }
.summary-page .no-print { display: flex; gap: .6rem; }

/* Footer */
.footer { position: relative; background: var(--navy); color: rgba(255,255,255,.8); padding: 4rem 0 1.5rem; margin-top: 0; }
.wave--footer { top: -69px; bottom: auto; fill: var(--navy); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; margin: 0 0 .8rem; }
.footer a { display: block; color: rgba(255,255,255,.75); text-decoration: none; margin-bottom: .4rem; }
.footer a:hover { color: #fff; }
.footer p { margin-top: 1rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }

@media print {
  .nav, .footer, .no-print, .messages { display: none !important; }
  body { background: #fff; }
}
