/*
Theme Name: Bistro Dąbrówka v2
Theme URI: https://bistrodabrowka.com.pl
Description: Motyw dla Bistro Dąbrówka — obiady domowe w Łodzi. Koperek, domowe smaki, prosto ze stołu.
Author: —
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: bistro-dabrowka-v2
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — DESIGN SYSTEM
   ============================================================ */

:root {
  --ivory:       #FFFFF0;
  --paper:       #F4F0E8;
  --matcha:      #9CA764;
  --olive:       #556B2F;
  --ink:         #2C2C2A;
  --ink-soft:    #5F5E5A;
  --rule:        rgba(85, 107, 47, 0.15);
  --rule-strong: rgba(85, 107, 47, 0.30);
  --shadow:      0 8px 24px rgba(85, 107, 47, 0.06);

  --container-max: 1160px;
  --section-pad-v: 80px;
  --section-pad-h: 24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--olive);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--olive);
  line-height: 1.2;
  text-wrap: pretty;
}

h1 { font-size: clamp(36px, 6vw, 80px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 36px); }

p {
  color: var(--ink);
  text-wrap: pretty;
}

.overline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--matcha);
  display: block;
  margin-bottom: 8px;
}

.caption {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ============================================================
   LAYOUT — CONTAINER
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-pad-h);
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding-block: var(--section-pad-v);
  position: relative;
  overflow: hidden;
}

.section--ivory { background-color: var(--ivory); }
.section--paper  { background-color: var(--paper);  }
.section--dark   { background-color: var(--ink);    }

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary,
.btn-ghost,
.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--olive);
  color: #ffffff;
  border-color: var(--olive);
}

.btn-primary:hover {
  background: #6a8a3b;
  border-color: #6a8a3b;
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}

.btn-ghost:hover {
  background: rgba(85, 107, 47, 0.06);
  text-decoration: none;
  color: var(--olive);
}

.btn-phone {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}

.btn-phone:hover {
  background: rgba(85, 107, 47, 0.06);
  text-decoration: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

/* Delivery platform buttons */
.btn-delivery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--olive);
  border: 1px solid var(--olive);
  border-radius: 4px;
  padding: 12px 20px;
  min-height: 52px;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease;
}

.btn-delivery:hover {
  background: rgba(85, 107, 47, 0.06);
  text-decoration: none;
  color: var(--olive);
}

/* ============================================================
   ICONS (Lucide-style: stroke only, 1.5px, round caps)
   ============================================================ */

.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-24 {
  width: 24px;
  height: 24px;
}

/* ============================================================
   STICKY HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 300ms ease, background 300ms ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 240, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  max-height: 48px;
  width: auto;
}

.site-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--olive);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 200ms ease;
  padding-block: 4px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--olive);
  font-weight: 500;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--olive);
  background: transparent;
  border: 1px solid var(--olive);
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 200ms ease;
  white-space: nowrap;
}

.btn-header-phone:hover {
  background: rgba(85, 107, 47, 0.06);
}

.btn-header-fb {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  transition: color 200ms ease;
  padding: 4px;
  text-decoration: none;
}

.btn-header-fb:hover {
  color: var(--olive);
  text-decoration: none;
}

/* Hamburger button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44, 44, 42, 0.5);
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--ivory);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 4px;
  display: flex;
  align-items: center;
}

.mobile-nav-panel a {
  font-size: 18px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: color 200ms ease;
}

.mobile-nav-panel a:hover {
  color: var(--olive);
}

.mobile-nav-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   PHONE MODAL
   ============================================================ */

.bd-phone-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(44, 44, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bd-phone-modal {
  background: var(--ivory);
  border-radius: 12px;
  padding: 40px 48px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(44, 44, 42, 0.2);
}

.bd-phone-modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--matcha);
  display: block;
  margin-bottom: 14px;
}

.bd-phone-number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--olive);
  margin-bottom: 28px;
  line-height: 1.1;
}

.bd-phone-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bd-phone-modal .btn-primary {
  width: 100%;
}

.bd-phone-modal .btn-close-modal {
  width: 100%;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background 200ms ease;
  min-height: 48px;
}

.bd-phone-modal .btn-close-modal:hover {
  background: var(--paper);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   DILL DECORATIONS
   ============================================================ */

.dill-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767px) {
  .dill-a {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

#hero {
  padding-block: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: center;
  min-height: 76vh;
  padding-block: 72px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin-top: 16px;
  margin-bottom: 10px;
}

.hero-address {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  display: block;
}

.hero-claim {
  font-size: 18px;
  color: var(--ink);
  max-width: 52ch;
  line-height: 1.6;
}

.hero-photo {
  position: relative;
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================================================
   ZAMÓW SECTION
   ============================================================ */

.zamow-inner {
  text-align: center;
}

.zamow-inner h3 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.zamow-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ============================================================
   DANIE DNIA SECTION
   ============================================================ */

.danie-elements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-block: 32px;
}

.danie-element {
  padding: 20px 16px;
  background: var(--paper);
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--rule);
}

.danie-number {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--matcha);
  display: block;
  margin-bottom: 8px;
}

.danie-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.danie-info-card {
  background: var(--paper);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 3px solid var(--matcha);
}

/* ============================================================
   MENU PREVIEW SECTION
   ============================================================ */

.menu-preview-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.menu-preview-text {
  max-width: 520px;
}

.menu-preview-text h2 {
  margin-top: 16px;
  margin-bottom: 14px;
}

.menu-preview-text p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.dill-ornament-b {
  display: block;
  margin-block: 14px;
  opacity: 0.85;
}

/* ============================================================
   KARNETY SECTION
   ============================================================ */

.karnety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.karnet-card {
  background: var(--ivory);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--rule);
}

.badge {
  display: inline-block;
  background: var(--matcha);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.karnet-card h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.5vw, 30px);
}

.karnet-price {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--olive);
  margin-block: 12px 8px;
}

.karnet-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 38ch;
}

/* ============================================================
   GALERIA SECTION
   ============================================================ */

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 32px;
}

.galeria-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  display: block;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
  display: block;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   OPINIE SECTION
   ============================================================ */

.opinie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.opinia-card {
  background: var(--ivory);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--rule);
}

.opinia-logo {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.opinia-stars {
  font-size: 22px;
  color: var(--matcha);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 6px;
}

.opinia-score {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 500;
  color: var(--olive);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.opinia-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: block;
}

/* ============================================================
   O NAS SECTION
   ============================================================ */

.onas-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: start;
}

.onas-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.onas-text h2 {
  margin-top: 12px;
  margin-bottom: 20px;
}

.onas-text p {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 14px;
  line-height: 1.7;
}

.onas-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-block: 28px;
}

.onas-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.onas-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--matcha);
  margin-top: 1px;
}

.onas-feature-text strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}

.onas-feature-text span {
  font-size: 14px;
  color: var(--ink-soft);
}

.onas-pdfs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   KONTAKT SECTION
   ============================================================ */

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.kontakt-data h2 {
  margin-bottom: 8px;
}

.kontakt-subtitle {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  display: block;
}

.kontakt-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.kontakt-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.kontakt-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--matcha);
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kontakt-item-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

.kontakt-item-btn {
  background: none;
  border: none;
  font-size: 15px;
  color: var(--olive);
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  text-decoration: underline;
  font-weight: 500;
}

.kontakt-item-btn:hover {
  color: var(--matcha);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table tr {
  border-bottom: 1px solid var(--rule);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink);
  vertical-align: top;
}

.hours-table td:last-child {
  font-weight: 500;
  text-align: right;
  color: var(--olive);
  white-space: nowrap;
}

.zamow-online {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.zamow-online-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  display: block;
}

.zamow-online-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  background: var(--paper);
  border: 1px solid var(--rule);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 240, 0.7);
  padding-block: 64px 32px;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  display: block;
}

.footer-wave--top { top: 0; }
.footer-wave--bottom { bottom: 0; }

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo img {
  max-height: 56px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-logo .site-name {
  color: rgba(255, 255, 240, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 240, 0.35);
  display: block;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 240, 0.65);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--matcha);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 240, 0.1);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 240, 0.3);
  text-align: center;
}

/* ============================================================
   PAGE HEADER (podstrony)
   ============================================================ */

.page-header {
  padding-block: 56px 48px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-header-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-top: 20px;
  margin-bottom: 14px;
}

.page-header-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-inline: auto;
}

/* Featured image as full-width banner */
.page-featured-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   MENU PAGE — TABS
   ============================================================ */

.menu-tabs-sticky {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 76px;
  z-index: 50;
}

.menu-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 16px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms ease, border-color 200ms ease;
  flex-shrink: 0;
}

.menu-tab:hover { color: var(--olive); }

.menu-tab.active {
  color: var(--olive);
  font-weight: 500;
  border-bottom-color: var(--olive);
}

.menu-panel {
  display: none;
  padding-block: 48px;
}

.menu-panel.active {
  display: block;
}

.menu-panel-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 32px;
}

.menu-list {
  max-width: 680px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px dotted var(--rule);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-info {
  flex: 1;
  min-width: 0;
}

.menu-item-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  display: block;
}

.menu-item-sub {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 3px;
  display: block;
}

.menu-item-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-extras-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 40px;
  max-width: 680px;
  border: 1px solid var(--rule);
}

.menu-extras-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

/* ============================================================
   PAGE — CATERING / IMPREZY
   ============================================================ */

.page-content {
  padding-block: 64px;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

.page-content-text {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-block: 40px 40px;
}

.feature-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--rule);
}

.feature-card-icon {
  width: 36px;
  height: 36px;
  color: var(--matcha);
  margin-bottom: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

.imprezy-phone-highlight {
  text-align: center;
  padding-block: 48px;
  border-block: 1px solid var(--rule);
  margin-block: 40px;
}

.imprezy-phone-highlight p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: none;
}

.imprezy-phone-highlight h2 {
  cursor: pointer;
  transition: color 200ms ease;
  display: inline-block;
}

.imprezy-phone-highlight h2:hover {
  color: var(--matcha);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (min-width: 768px) and (max-width: 1023px) {
  :root { --section-pad-v: 60px; }

  .hero-inner             { grid-template-columns: 1fr 1fr; gap: 40px; }
  .danie-elements         { grid-template-columns: repeat(2, 1fr); }
  .karnety-grid           { grid-template-columns: 1fr 1fr; }
  .galeria-grid           { grid-template-columns: repeat(2, 1fr); }
  .opinie-grid            { grid-template-columns: 1fr 1fr; }
  .onas-inner             { grid-template-columns: 1fr 1fr; gap: 40px; }
  .kontakt-inner          { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid            { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid          { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 767px)
   ============================================================ */

@media (max-width: 767px) {
  :root {
    --section-pad-v: 48px;
    --section-pad-h: 16px;
  }

  body { font-size: 15px; }

  /* Nav */
  .site-nav         { display: none; }
  .hamburger        { display: flex; }
  .btn-header-phone .phone-label { display: none; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-block: 0 40px;
  }
  .hero-photo {
    order: -1;
    margin-inline: calc(-1 * var(--section-pad-h));
    margin-bottom: 28px;
  }
  .hero-photo img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }
  .btn-group {
    flex-direction: column;
  }
  .btn-group > * {
    width: 100%;
    justify-content: center;
  }

  /* Zamów */
  .zamow-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .zamow-buttons > :first-child {
    grid-column: 1 / -1;
  }
  .btn-delivery {
    min-height: 52px;
    width: 100%;
    font-size: 15px;
  }

  /* Danie dnia */
  .danie-elements { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Menu preview */
  .menu-preview-inner { flex-direction: column; gap: 24px; }

  /* Karnety */
  .karnety-grid { grid-template-columns: 1fr; }

  /* Galeria */
  .galeria-grid { grid-template-columns: 1fr 1fr; gap: 4px; }

  /* Opinie */
  .opinie-grid { grid-template-columns: 1fr; }

  /* O nas */
  .onas-inner { grid-template-columns: 1fr; gap: 32px; }
  .onas-photo { order: -1; }
  .onas-photo img { aspect-ratio: 16 / 9; }

  /* Kontakt */
  .kontakt-inner { grid-template-columns: 1fr; gap: 32px; }
  .map-wrapper { height: 250px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Page featured img */
  .page-featured-img { height: 220px; }

  /* Phone modal */
  .bd-phone-modal { padding: 28px 24px; }
  .bd-phone-number { font-size: 32px; }
}

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}
