/* =====================================================================
   kanapKawa – style wspólne dla wszystkich podstron
   Paleta i typografia wg specyfikacji marki.
   ===================================================================== */

:root {
  --green: #1C4331;
  --green-dark: #14311F;
  --green-soft: #E4EBE4;
  --cream: #F5F0E6;
  --cream-dark: #EBE4D6;
  --ochre: #B88746;
  --ochre-dark: #9F7238;
  --text: #292C28;
  --muted: #687067;
  --white: #FFFFFF;
  --line: rgba(28, 67, 49, .14);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(28, 67, 49, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: rgba(28,67,49,.08); padding: 1px 5px; border-radius: 4px; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.placeholder { color: var(--ochre-dark); background: rgba(184,135,70,.12); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Typografia ---------- */
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); margin-bottom: 14px; }
.section-title { font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.01em; color: var(--green); margin-bottom: 16px; }
.section-head .section-title, .page-hero .page-title, .menu-panel__head .section-title { margin-top: 0; }
.section-title--light { color: var(--cream); }
.section-lead { font-size: 17px; color: var(--muted); max-width: 560px; }
.section-lead--light { color: rgba(245,240,230,.85); }
.section-head { margin-bottom: 36px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin: 0 auto; }
.page-title { font-weight: 800; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.1; letter-spacing: -.015em; color: var(--green); margin-bottom: 14px; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: 24px; color: var(--green); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 18px; color: var(--green); margin: 1.4em 0 .5em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: .6em 0; }
.prose li + li { margin-top: .3em; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); }
.btn--ochre { background: var(--ochre); color: #fff; }
.btn--ochre:hover { background: var(--ochre-dark); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--green); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn__arrow { font-size: 17px; line-height: 0; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Nagłówek ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.header__logo img { height: 66px; width: auto; }
.header__logo-mobile { display: none; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a { font-weight: 700; font-size: 15px; color: var(--green); position: relative; padding: 6px 0; }
.nav__list a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--ochre); transition: width .2s; }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { width: 100%; }
.header__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.header__burger span { display: block; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (strona główna) ---------- */
.hero { position: relative; min-height: clamp(560px, 50vw, 780px); display: flex; align-items: center; color: #fff; isolation: isolate; background: var(--green-dark); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; z-index: -2; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #14311F 0%, #14311F 26%, rgba(20,49,31,.92) 36%, rgba(20,49,31,.55) 50%, rgba(20,49,31,.12) 66%, rgba(20,49,31,0) 80%); }
.hero__content { max-width: 600px; padding: 80px 0; }
.hero__title { font-weight: 800; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__text { font-size: 18px; line-height: 1.6; max-width: 480px; color: rgba(255,255,255,.9); margin-bottom: 32px; }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { padding: 64px 0 40px; }
.page-hero--photo { position: relative; color: #fff; padding: 0; isolation: isolate; background: var(--green-dark); min-height: 420px; display: flex; align-items: flex-end; }
.page-hero--photo .page-title { color: #fff; }
.page-hero--photo .section-lead { color: rgba(255,255,255,.9); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,49,31,.1) 0%, rgba(20,49,31,.85) 100%); }
.page-hero--photo .container { padding-top: 120px; padding-bottom: 48px; }

/* ---------- Sekcje ---------- */
.section { padding: 80px 0; }
.section--cream-dark { background: var(--cream-dark); }
.section--green { background: var(--green); color: var(--cream); }
.section--white { background: var(--white); }
.section__footer { margin-top: 40px; text-align: center; }

/* Wyróżniki */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perk { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.perk__icon { flex: 0 0 44px; width: 44px; height: 44px; color: var(--green); background: var(--green-soft); border-radius: 12px; padding: 10px; }
.perk__title { font-weight: 800; font-size: 18px; color: var(--green); margin-bottom: 4px; }
.perk__text { font-size: 15px; color: var(--muted); }

/* Siatki */
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Karta produktu */
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 rgba(28,67,49,.04); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__title { font-weight: 800; font-size: 18px; line-height: 1.25; color: var(--green); }
.card__price { font-weight: 800; color: var(--ochre-dark); white-space: nowrap; }
.card__desc { font-size: 14.5px; color: var(--muted); }
.card__macro { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }

/* Sekcja z obrazem i tekstem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.split__content .section-lead { margin-bottom: 28px; }

/* Na wynos (zielony pas na stronie głównej) */
.takeaway-band { background: var(--green); color: var(--cream); }
.takeaway-band .split { align-items: stretch; gap: 0; }
.takeaway-band .split__media img { border-radius: 0; box-shadow: none; height: 100%; aspect-ratio: auto; min-height: 420px; }
.takeaway-band .split__content { padding: 72px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 72px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }

.takeaway-band__hours { margin-top: 18px; font-size: 14px; color: rgba(245,240,230,.75); }
.btn--phone { font-size: 20px; padding: 16px 30px; letter-spacing: .01em; }
.btn__icon { font-size: 18px; }

/* CTA końcowe */
.cta { background: var(--ochre); color: #fff; text-align: center; padding: 64px 0; }
.cta__title { font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-bottom: 24px; }
.cta .btn--primary { background: var(--green); }

/* ---------- Menu ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab { padding: 12px 22px; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--green); font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s; }
.tab:hover { border-color: var(--green); }
.tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.menu-panel__head { margin-bottom: 28px; }
.menu-panel[hidden] { display: none; }
.drinks { display: grid; grid-template-columns: 440px 1fr; gap: 48px; align-items: start; }
.drinks__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.drinks__list { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.drinks__item { display: flex; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 600; color: var(--green); }
.drinks__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); }
.drinks__price { font-weight: 800; color: var(--ochre-dark); }
.notes { margin-top: 48px; padding: 20px 24px; background: var(--white); border-radius: var(--radius); font-size: 14px; color: var(--muted); display: grid; gap: 8px; }

/* ---------- Catering ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.package { background: var(--white); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--ochre); }
.package__title { font-weight: 800; font-size: 20px; color: var(--green); }
.package__portions { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.package__price { font-weight: 800; font-size: 26px; color: var(--green); margin-bottom: 10px; }
.package__desc { font-size: 15px; color: var(--muted); }
.factors { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.factors li { background: var(--white); padding: 12px 16px; border-radius: 10px; font-weight: 600; color: var(--green); font-size: 15px; }
.factors li::before { content: '✓ '; color: var(--ochre); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; }
.step__num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step__title { font-weight: 800; font-size: 18px; color: var(--green); margin-bottom: 6px; }
.step__text { font-size: 15px; color: var(--muted); }
.checklist { display: grid; gap: 10px; margin-top: 4px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15.5px; color: rgba(245,240,230,.92); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ochre); }
.checklist li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.info-box { background: var(--green-soft); border-radius: var(--radius); padding: 20px 24px; font-size: 15px; color: var(--green); }
.info-box ul { list-style: disc; padding-left: 1.2em; margin-top: 6px; }
.info-box ul.factors { list-style: none; padding-left: 0; }
.package__price--text { font-size: 20px; }

/* ---------- Formularze ---------- */
.form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; color: var(--green); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--cream); font: inherit; color: var(--text); transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field--error input, .field--error textarea, .field--error select { border-color: #B23A3A; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--green); }
.field--check label { font-weight: 500; font-size: 14px; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { margin-top: 18px; padding: 14px 18px; border-radius: 10px; font-size: 14.5px; }
.form__status--ok { background: var(--green-soft); color: var(--green); }
.form__status--warn { background: rgba(184,135,70,.16); color: var(--ochre-dark); }
.form__status--error { background: rgba(178,58,58,.12); color: #8E2B2B; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.contact-card h3 { font-weight: 800; font-size: 17px; color: var(--green); margin-bottom: 10px; }
.contact-card p + p { margin-top: 6px; }
.hours__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours__row:last-child { border-bottom: 0; }
.map { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
.map__placeholder { padding: 48px 24px; text-align: center; color: var(--muted); }
.social { display: flex; gap: 12px; margin-top: 10px; }
.social a { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 14px; color: var(--green); }
.social a:hover { border-color: var(--green); }

/* ---------- Stopka ---------- */
.footer { background: var(--green-dark); color: rgba(245,240,230,.85); font-size: 14.5px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 44px; }
.footer__logo { width: 230px; }
.footer__tagline { margin-top: 14px; max-width: 260px; color: rgba(245,240,230,.7); }
.footer__heading { font-weight: 800; font-size: 15px; color: #fff; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer__links li + li { margin-top: 8px; }
.footer a:hover { color: var(--ochre); }
.footer .placeholder { color: var(--ochre); background: rgba(184,135,70,.18); }
.footer .social a { border-color: rgba(255,255,255,.22); color: #fff; }
.footer .social a:hover { border-color: var(--ochre); }
.footer .hours__row { border-color: rgba(255,255,255,.12); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 24px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(245,240,230,.6); }

/* ===================== RWD ===================== */
@media (max-width: 1100px) {
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
  .nav__list { gap: 20px; }
}

@media (max-width: 900px) {
  .header__inner { height: 72px; }
  .header__logo-desktop { display: none; }
  .header__logo-mobile { display: block; height: 38px; }
  .header__burger { display: flex; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--cream); flex-direction: column; align-items: flex-start; gap: 28px; padding: 32px 24px; transform: translateX(100%); transition: transform .3s ease; z-index: 40; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 18px; }
  .nav__list a { font-size: 22px; font-weight: 800; }

  .hero { min-height: 560px; align-items: flex-end; }
  .hero__overlay { background: linear-gradient(180deg, rgba(20,49,31,.15) 0%, rgba(20,49,31,.55) 45%, rgba(20,49,31,.92) 100%); }
  .hero__img { object-position: 65% center; }
  .hero__content { padding: 180px 0 48px; }
  .hero__title { font-size: clamp(34px, 9vw, 44px); }
  .hero__text { font-size: 16px; }

  .section { padding: 56px 0; }
  .perks { grid-template-columns: 1fr; gap: 14px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
  .takeaway-band .split__content { padding: 48px 24px; }
  .takeaway-band .split__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .drinks { grid-template-columns: 1fr; gap: 28px; }
  .packages, .steps { grid-template-columns: 1fr; gap: 16px; }
  .form { padding: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .page-hero { padding: 40px 0 24px; }
  .page-hero--photo .container { padding-top: 100px; padding-bottom: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid--cards, .grid--3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .btn-group .btn { width: 100%; }
  .card__media img { aspect-ratio: 16 / 10; }
}
