/* Pizzeria Fiamma */
:root {
  --tomato: #C8361F;
  --tomato-d: #A92A16;
  --basil: #2F6B3A;
  --dough: #FFFDF8;
  --crust: #E8A94E;
  --char: #2B2522;
  --muted: #6A5E57;
  --rule: #E9DFD0;
}
body { font-family: 'DM Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--char); background: var(--dough); }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
a { color: var(--tomato); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s; }
.btn--cream { background: var(--dough); color: var(--tomato); }
.btn--cream:hover { background: #FFE9C2; }
.btn--line { border-color: rgba(255, 253, 248, .7); color: var(--dough); }
.btn--line:hover { background: rgba(255, 253, 248, .12); }
.btn--red { background: var(--tomato); color: var(--dough); }
.btn--red:hover { background: var(--tomato-d); }

/* Nagłówek */
.top { background: var(--tomato); color: var(--dough); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--dough); text-decoration: none; font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.brand__mark { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--dough); text-decoration: none; font-weight: 600; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__call { background: var(--dough); color: var(--tomato) !important; padding: 10px 18px; border-radius: 999px; }
.nav__call:hover { text-decoration: none !important; background: #FFE9C2; }
.d-toggle { color: var(--dough); }
.top :focus-visible, .hero :focus-visible { outline-color: var(--dough); }
@media (max-width: 860px) {
  .top__in { flex-wrap: wrap; }
  .nav.is-open { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding-bottom: 16px; }
  .nav a { padding: 12px 0; border-top: 1px solid rgba(255, 253, 248, .2); }
  .nav__call { margin-top: 10px; text-align: center; padding: 14px; }
}

/* Hero */
.hero { background: var(--tomato); color: var(--dough); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 560px; padding-top: 24px; padding-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); letter-spacing: -.025em; }
.hero__sub { margin-top: 22px; font-size: 19px; max-width: 30em; color: rgba(255, 253, 248, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__pizza { position: relative; align-self: stretch; }
.hero__pizza svg { position: absolute; width: 600px; max-width: none; top: 50%; left: 14%; transform: translateY(-50%); filter: drop-shadow(0 30px 40px rgba(60, 10, 0, .35)); }
@media (prefers-reduced-motion: no-preference) {
  .hero__pizza svg { animation: spin 120s linear infinite; }
  @keyframes spin { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero__pizza { height: 280px; }
  .hero__pizza svg { width: 420px; left: auto; right: -120px; top: 10px; transform: none; animation: none; }
}

/* Fakty */
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: -1px; }
.facts li { display: grid; gap: 2px; padding: 22px 24px; background: var(--basil); color: var(--dough); }
.facts li + li { border-left: 1px solid rgba(255, 253, 248, .18); }
.facts li:first-child { border-bottom-left-radius: 18px; }
.facts li:last-child { border-bottom-right-radius: 18px; }
.facts strong { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 700; }
.facts span { color: rgba(255, 253, 248, .8); font-size: 15px; }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid rgba(255, 253, 248, .18); }
  .facts li:first-child { border-radius: 0; }
  .facts li:last-child { border-radius: 0 0 18px 18px; }
}

/* Karta */
.menu { padding-top: 96px; padding-bottom: 96px; }
.menu__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.menu h2 { font-size: clamp(44px, 6vw, 72px); color: var(--tomato); }
.menu__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__tabs a { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--rule); color: var(--char); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu__tabs a:hover { border-color: var(--tomato); color: var(--tomato); }
.menu__group h3 { font-size: 30px; margin-bottom: 8px; color: var(--char); }
.menu__group h3 span { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.menu__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; margin-top: 56px; }
.dishes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.menu__cols .dishes { grid-template-columns: 1fr; }
.dishes li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--rule); }
.dishes h4 { font-size: 22px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dishes p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.dishes b { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: var(--tomato); white-space: nowrap; }
.tag { font-family: 'DM Sans', sans-serif; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #E3EEDF; color: var(--basil); letter-spacing: .01em; }
.tag--hot { background: #FBE2DC; color: var(--tomato-d); }
@media (max-width: 860px) {
  .dishes, .menu__cols { grid-template-columns: 1fr; }
}

/* O nas */
.story { background: #F6EBDA; }
.story__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.story h2 { font-size: clamp(40px, 5vw, 60px); color: var(--tomato); margin-bottom: 20px; }
.story p { font-size: 18px; max-width: 34em; }
.story p + p { margin-top: 14px; }
@media (max-width: 860px) { .story__in { grid-template-columns: 1fr; } .story__oven { max-width: 320px; } }

/* Dowóz */
.visit { padding-top: 96px; padding-bottom: 96px; }
.visit h2 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 36px; }
.visit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.visit__card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 28px; border: 1.5px solid var(--rule); border-radius: 22px; background: #fff; }
.visit__card h3 { font-size: 26px; }
.visit__card p { color: var(--muted); }
.visit__card--map { padding: 0; overflow: hidden; gap: 0; }
.visit__card--map svg { width: 100%; }
.visit__card--map p { padding: 18px 24px 24px; color: var(--char); }
.hours { width: 100%; display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--rule); }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 700; }
@media (max-width: 960px) { .visit__grid { grid-template-columns: 1fr; } }

/* Stopka */
.foot { background: var(--char); color: rgba(255, 253, 248, .75); padding: 56px 0; }
.foot__in { display: grid; gap: 8px; }
.foot__brand { font-family: 'Fraunces', serif; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-size: 36px; font-weight: 800; color: var(--crust); }
.foot a { color: var(--dough); }
.foot__small { font-size: 14px; margin-top: 12px; }
