/*
Theme Name: sousweb resto
Theme URI: https://sousweb.com
Author: sousweb
Author URI: https://sousweb.com
Description: Strona restauracji: menu w zakładkach, lunch dnia, rezerwacja stolika, zamówienia online bez prowizji, godziny restauracji i kuchni. Zdjęcia wychodzą poza swoje sekcje. Tryb demo do pokazywania klientom. Treści zmienisz w Wygląd > Dostosuj > Restauracja.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sousweb-resto
*/

@font-face { font-family: 'Resto Serif'; src: url('assets/fonts/resto-serif-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Resto Serif'; src: url('assets/fonts/resto-serif-400i.woff') format('woff'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Resto Serif'; src: url('assets/fonts/resto-greek-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0370-03FF; }
@font-face { font-family: 'Resto Text'; src: url('assets/fonts/resto-text-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Resto Text'; src: url('assets/fonts/resto-text-500.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Resto Text'; src: url('assets/fonts/resto-text-600.woff') format('woff'); font-weight: 600; font-display: swap; }

:root {
	/* Wapno i papier: jasne tła */
	--krem: #F4EDE2;
	--papier: #FBF8F3;
	--len: #EAE0CF;
	/* Morze nocą: ciemne sekcje i przyciski */
	--granat: #14273B;
	--granat-2: #1D3650;
	--egej: #2B5A87;
	/* Oliwki, glina i złoto oliwy: małe akcenty */
	--oliwka: #66703D;
	--glina: #B3603D;
	--zloto: #B89A5E;
	--zloto-jasne: #E2C890;
	/* Tekst */
	--atrament: #172432;
	--szary: #5C6670;
	--szary-noc: #A9B4BF;
	--linia: #DDD2C0;

	--f-serif: 'Resto Serif', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
	--f-text: 'Resto Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--wrap: 1200px;
	--gut: 32px;
	/* O ile zdjęcie z hero wychodzi w dół, do następnej sekcji */
	--spill: clamp(70px, 11vw, 170px);

	--meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 13.5H4V1.5H12V9.5H8V5.5H10' fill='none' stroke='%23B89A5E' stroke-width='1.2'/%3E%3Cpath d='M14 13.5H18V1.5H26V9.5H22V5.5H24' fill='none' stroke='%23B89A5E' stroke-width='1.2'/%3E%3Cpath d='M0 13.5H28' fill='none' stroke='%23B89A5E' stroke-width='1.2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--krem);
	color: var(--atrament);
	font-family: var(--f-text);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--egej); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
[id] { scroll-margin-top: 90px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* Typografia */
.h1, .h2 { margin: 0; font-family: var(--f-serif); font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
.h1 { font-size: clamp(3rem, 5.6vw, 5.1rem); line-height: 1.02; }
.h2 { font-size: clamp(2.35rem, 4.4vw, 3.9rem); line-height: 1.06; }
.h1 em, .h2 em { font-style: italic; color: var(--egej); }
.lead { margin: 0; max-width: 34rem; font-size: 1.1875rem; line-height: 1.6; color: var(--szary); }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--oliwka); }
.eyebrow::before { content: ""; flex: 0 0 56px; height: 14px; background: var(--meander); background-size: 28px 14px; }
.eyebrow--light { color: var(--zloto-jasne); }

/* Przyciski: prostokątne, z drobnymi wersalikami */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--f-text);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--granat); color: var(--papier); }
.btn--dark:hover { background: var(--egej); }
.btn--line { border-color: rgba(23, 36, 50, .35); color: var(--atrament); background: transparent; }
.btn--line:hover { border-color: var(--atrament); background: rgba(23, 36, 50, .04); }
.btn--text { background: none; color: var(--szary); letter-spacing: .1em; }
.btn--wide { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--atrament); }
.link .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link:hover .ico:last-child { transform: translateX(4px); }
.link--light { color: var(--papier); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* Pasek demo */
.demo-bar { position: relative; z-index: 60; margin: 0; padding: 9px 20px; background: var(--granat); color: var(--szary-noc); font-size: .8125rem; text-align: center; line-height: 1.45; }
.demo-bar a { color: var(--zloto-jasne); font-weight: 600; }

/* Górny pasek */
.top { position: sticky; top: 0; z-index: 50; background: rgba(244, 237, 226, .9); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--linia); }
.top__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); min-height: 76px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; flex-direction: column; margin-right: auto; text-decoration: none; line-height: 1; }
.logo__name { font-family: var(--f-serif); font-size: 1.5rem; letter-spacing: -.005em; white-space: nowrap; }
.logo__kind { margin-top: 5px; font-size: .625rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--oliwka); }
.top__nav { display: flex; gap: 30px; }
.top__nav a { position: relative; font-size: .9375rem; text-decoration: none; color: var(--szary); transition: color .2s; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--zloto); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top__nav a:hover { color: var(--atrament); }
.top__nav a:hover::after { transform: none; }
.top__actions { display: flex; gap: 10px; }
.top .btn { min-height: 44px; padding: 0 20px; font-size: .75rem; white-space: nowrap; }
.when-narrow { display: none; }

/* Kadry ze zdjęciami: prostokąt z cienką złotą ramką odsuniętą od krawędzi */
.frame { position: relative; margin: 0; outline: 1px solid rgba(184, 154, 94, .55); outline-offset: 12px; transform: translate3d(0, var(--drift, 0px), 0); }
.frame .photo { width: 100%; height: 100%; object-fit: cover; }
/* Talerze widziane z góry: okrągły kadr z miękkim cieniem */
.plate { position: relative; margin: 0; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 28px 34px rgba(20, 39, 59, .2)) drop-shadow(0 6px 10px rgba(20, 39, 59, .1)); }
/* Talerz obraca się lekko przy przewijaniu (zmienna --spin ustawiana w skrypcie), cień zostaje w miejscu */
.plate .photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: rotate(var(--spin, 0deg)); will-change: transform; }

/* Hero */
.hero { position: relative; z-index: 3; padding: clamp(40px, 6vw, 84px) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.hero__text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(40px, 6vw, 90px); }
.hero__text .eyebrow { margin-bottom: -4px; }
.hero__media { position: relative; margin-bottom: calc(var(--spill) * -1); margin-right: min(calc(var(--gut) * -1), calc((var(--wrap) - 100vw) / 2 - var(--gut))); }
.hero__media .frame--hero { outline-offset: 0; outline: 0; }
.hero__media::before { content: ""; position: absolute; left: -14px; top: -14px; bottom: 14px; right: 0; border: 1px solid rgba(184, 154, 94, .55); border-right: 0; pointer-events: none; }
.frame--hero { aspect-ratio: 5 / 6; }
.plate--hero { position: absolute; z-index: 2; width: 54%; left: -27%; bottom: -12%; }
.status { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin: 0; font-size: .9375rem; color: var(--szary); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--linia); }
.status.is-open .status__dot { background: #5E9E5A; box-shadow: 0 0 0 0 rgba(94, 158, 90, .5); animation: pulse 2.6s var(--ease) infinite; }
.status.is-open { color: var(--atrament); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94, 158, 90, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(94, 158, 90, 0); } }

/* Gałązka oliwna: rysuje się, kiedy pojawi się na ekranie */
.branch { position: absolute; z-index: 0; display: block; color: var(--zloto); pointer-events: none; }
.branch svg { display: block; width: 100%; height: auto; }
.js .branch [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.js .branch.is-drawn [pathLength] { stroke-dashoffset: 0; }
.branch--hero { left: max(-60px, calc((100% - var(--wrap)) / 2 - 150px)); bottom: -190px; width: clamp(200px, 21vw, 300px); opacity: .75; transform: rotate(-4deg); }

/* O nas */
.intro { position: relative; z-index: 1; background: var(--papier); padding: calc(var(--spill) + clamp(60px, 7vw, 110px)) 0 clamp(170px, 19vw, 240px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.intro__text { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 120px; }
.intro__text .eyebrow { margin-bottom: -4px; }
.feats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.feat { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 18px; padding: 26px 0; border-top: 1px solid var(--linia); }
.feat:last-child { border-bottom: 1px solid var(--linia); }
.feat__mark { font-family: var(--f-serif); font-size: 2.25rem; line-height: 1; color: var(--zloto); font-style: italic; }
.feat__body { display: flex; flex-direction: column; gap: 6px; }
.feat__title { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.2; }
.feat__text { color: var(--szary); font-size: 1rem; }

/* Polecane: talerze wchodzą na jasną sekcję powyżej */
.signature { position: relative; z-index: 2; background: var(--granat); color: var(--papier); padding: 0 0 clamp(96px, 10vw, 140px); }
.signature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--meander); background-size: 28px 14px; opacity: .35; transform: translateY(18px); }
.signature__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); }
.signature__head { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-top: clamp(90px, 9vw, 130px); }
.signature .h2 em { color: var(--zloto-jasne); }
.signature .lead { color: var(--szary-noc); font-size: 1.0625rem; }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.dish { display: flex; flex-direction: column; align-items: center; text-align: center; }
.plate--dish { width: 112%; margin: calc(-56% - 0px) 0 26px; }
.dish__name { margin: 0 0 8px; font-family: var(--f-serif); font-weight: 400; font-size: 1.625rem; line-height: 1.2; }
.dish__desc { margin: 0 0 14px; max-width: 18rem; font-size: .9375rem; color: var(--szary-noc); }
.dish__price { margin: 0; font-family: var(--f-serif); font-size: 1.25rem; color: var(--zloto-jasne); }
.dish__price::before, .dish__price::after { content: ""; display: inline-block; width: 20px; height: 1px; margin: 0 .7em; vertical-align: .32em; background: rgba(226, 200, 144, .5); }

/* Menu */
.menu { position: relative; padding: clamp(110px, 12vw, 170px) 0 clamp(150px, 15vw, 210px); }
.plate--edge { position: absolute; z-index: 3; width: clamp(240px, 27vw, 400px); right: calc(clamp(240px, 27vw, 400px) * -.34); top: calc(clamp(240px, 27vw, 400px) * -.46); }
.menu__head { display: flex; flex-direction: column; margin-bottom: 36px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 34px; margin-bottom: 18px; border-bottom: 1px solid var(--linia); }
.tabs button { position: relative; padding: 10px 0 18px; border: 0; background: none; font-family: var(--f-serif); font-size: 1.3125rem; color: var(--szary); cursor: pointer; transition: color .2s; }
.tabs button:hover { color: var(--atrament); }
.tabs button[aria-selected="true"] { color: var(--atrament); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--zloto); }
.carte { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(36px, 6vw, 88px); }
.carte[hidden] { display: none; }
.carte.is-shown .carte__item { animation: carteIn .6s var(--ease) both; }
.carte.is-shown .carte__item:nth-child(2) { animation-delay: .04s; }
.carte.is-shown .carte__item:nth-child(3) { animation-delay: .08s; }
.carte.is-shown .carte__item:nth-child(4) { animation-delay: .12s; }
.carte.is-shown .carte__item:nth-child(5) { animation-delay: .16s; }
.carte.is-shown .carte__item:nth-child(6) { animation-delay: .2s; }
@keyframes carteIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.carte__item { display: grid; grid-template-columns: auto minmax(20px, 1fr) auto; align-items: baseline; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--linia); }
.carte__name { font-family: var(--f-serif); font-size: 1.375rem; line-height: 1.25; }
.carte__tag { display: inline-block; margin-left: 10px; padding: 2px 8px; border: 1px solid rgba(102, 112, 61, .45); border-radius: 999px; font-family: var(--f-text); font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oliwka); vertical-align: 4px; }
.carte__dots { border-bottom: 1px dotted rgba(23, 36, 50, .28); transform: translateY(-5px); }
.carte__price { font-family: var(--f-serif); font-size: 1.3125rem; font-variant-numeric: lining-nums; white-space: nowrap; }
.carte__desc { grid-column: 1 / -1; font-size: .9375rem; color: var(--szary); }
.menu__note { margin: 26px 0 0; font-size: .875rem; color: var(--szary); }
.order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 54px; padding: 28px 32px; background: var(--papier); border: 1px solid var(--linia); }
.order__text { margin: 0; display: flex; flex-direction: column; gap: 2px; color: var(--szary); font-size: .9375rem; }
.order__text strong { font-family: var(--f-serif); font-weight: 400; font-size: 1.375rem; color: var(--atrament); }

/* Lunch: talerz wchodzi na menu powyżej */
.lunch { position: relative; z-index: 2; background: var(--papier); padding: clamp(100px, 11vw, 150px) 0; }
.lunch__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.lunch__side { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.plate--lunch { width: 100%; max-width: 460px; margin-top: calc(clamp(100px, 11vw, 150px) * -1 - clamp(90px, 12vw, 170px)); }
.lunch__price { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--szary); font-size: .9375rem; }
.lunch__price strong { font-family: var(--f-serif); font-weight: 400; font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; color: var(--atrament); }
.lunch__price span:first-of-type { margin-top: 10px; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oliwka); }
.lunch__body { display: flex; flex-direction: column; gap: 34px; }
.lunch__head { display: flex; flex-direction: column; }
.lunch__head .eyebrow { margin-bottom: 18px; }
.lunch__meta { margin: 20px 0 0; max-width: 30rem; color: var(--szary); }
.week { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linia); }
.week__day { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px 24px; padding: 18px 0 18px 0; border-bottom: 1px solid var(--linia); transition: background .3s, padding .3s var(--ease); }
.week__name { grid-row: 1 / 3; font-family: var(--f-serif); font-size: 1.25rem; }
.week__dish { font-size: .9375rem; color: var(--szary); }
.week__dish--main { color: var(--atrament); font-size: 1rem; }
.week__day.is-today { padding-left: 22px; padding-right: 18px; background: var(--krem); }
.week__day.is-today::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--zloto); }
.today { display: none; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--granat); color: var(--papier); font-family: var(--f-text); font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; vertical-align: 3px; }
.is-today .today { display: inline-block; }
.lunch__weekend { margin: 0; color: var(--szary); }

/* Za dnia i po zmroku */
.daynight { position: relative; z-index: 3; padding: clamp(100px, 11vw, 150px) 0 0; }
.daynight__head { margin-bottom: clamp(48px, 6vw, 80px); }
.daynight__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.moment { position: relative; }
.moment--night { margin-top: clamp(60px, 12vw, 180px); margin-bottom: calc(var(--spill) * -1); }
.frame--moment { aspect-ratio: 4 / 5; }
.moment__card { position: relative; z-index: 2; width: min(78%, 400px); margin: -90px 0 0 -24px; padding: 28px 30px 30px; background: var(--papier); box-shadow: 0 24px 50px -24px rgba(20, 39, 59, .3); }
.moment__card p { margin: 0; color: var(--szary); }
.moment__label { margin-bottom: 8px !important; font-family: var(--f-serif); font-size: 1.75rem; line-height: 1.1; color: var(--atrament) !important; }
.moment__card--dark { margin-left: auto; margin-right: -24px; background: var(--granat); }
.moment__card--dark p { color: var(--szary-noc); }
.moment__card--dark .moment__label { color: var(--papier) !important; font-style: italic; }

/* Galeria */
.gallery { position: relative; z-index: 1; background: var(--papier); padding: calc(var(--spill) + clamp(70px, 8vw, 110px)) 0 clamp(100px, 11vw, 150px); margin-top: clamp(80px, 9vw, 130px); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 21vw, 280px); gap: 14px; grid-template-areas: "t1 t2 t3 t4" "t5 t2 t6 t4" "t7 t7 t8 t8"; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--len); }
.tile .photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .photo { transform: scale(1.04); }
.tile--plate { display: flex; align-items: center; justify-content: center; }
.tile--plate .photo { width: 84%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .22)); }
.tile--plate:hover .photo { transform: rotate(10deg) scale(1.02); }
.tile--1 { grid-area: t1; background: var(--granat); }
.tile--2 { grid-area: t2; }
.tile--3 { grid-area: t3; background: var(--glina); }
.tile--4 { grid-area: t4; }
.tile--5 { grid-area: t5; background: var(--oliwka); }
.tile--6 { grid-area: t6; background: var(--len); }
.tile--7 { grid-area: t7; }
.tile--7 .photo { object-position: 50% 62%; }
.tile--8 { grid-area: t8; background: var(--egej); }
.tile--8 .photo { width: auto; height: 86%; }

/* Opinie */
.reviews { position: relative; padding: clamp(100px, 11vw, 150px) 0 clamp(220px, 24vw, 300px); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); }
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.review::before { content: "“"; font-family: var(--f-serif); font-size: 4.5rem; line-height: .6; color: var(--zloto); height: 30px; }
.review blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; line-height: 1.38; }
.review figcaption { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--szary); }
.demo-note { margin: 44px 0 0; font-size: .875rem; color: var(--szary); }

/* Rezerwacja: karta z formularzem wchodzi na opinie powyżej */
.reserve { position: relative; z-index: 2; background: var(--granat); color: var(--papier); padding: clamp(90px, 10vw, 130px) 0 clamp(100px, 11vw, 150px); }
.reserve__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.reserve__text { display: flex; flex-direction: column; gap: 26px; padding-top: 10px; }
.reserve .h2 em { color: var(--zloto-jasne); }
.reserve .lead { color: var(--szary-noc); }
.reserve__group { margin: 0; max-width: 30rem; color: var(--szary-noc); font-size: .9375rem; }
.reserve__group a { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--f-serif); font-size: 1.375rem; color: var(--papier); text-decoration: none; }
.reserve__group a .ico { color: var(--zloto-jasne); }
.reserve__card { position: relative; margin-top: clamp(-260px, -18vw, -150px); padding: clamp(28px, 4vw, 48px); background: var(--papier); color: var(--atrament); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.plate--reserve { --p: clamp(150px, 14vw, 200px); position: absolute; z-index: 2; width: var(--p); right: calc(var(--p) * -.42); top: calc(var(--p) * -.74); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .7fr); gap: 14px; }
.form__row:nth-child(4) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field span { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--szary); }
.field em { font-style: normal; letter-spacing: .06em; text-transform: none; font-weight: 400; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--linia); border-radius: 2px; background: #FFFFFF; font-size: 1rem; color: var(--atrament); -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23172432' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--egej); box-shadow: 0 0 0 3px rgba(43, 90, 135, .15); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; min-height: 56px; }
.notice { margin: 0 0 22px; padding: 14px 18px; border-left: 3px solid var(--oliwka); background: #F1F2E6; font-size: .9375rem; }
.notice--err { border-left-color: var(--glina); background: #F7EBE4; }
.reserve__ext { margin: 0 0 22px; color: var(--szary); }

/* Kontakt */
.contact { position: relative; z-index: 2; padding: clamp(100px, 11vw, 150px) 0 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(80px, 9vw, 120px); }
.contact__info .eyebrow { margin-bottom: -6px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--linia); text-align: left; font-weight: 400; }
.hours thead th { padding-top: 0; white-space: nowrap; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--szary); }
.hours td { color: var(--szary); white-space: nowrap; padding-left: 12px; }
.hours td:last-child, .hours thead th:last-child { text-align: right; }
.hours tbody th { font-family: var(--f-serif); font-size: 1.125rem; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--atrament); }
.hours tr.is-today td { font-weight: 600; }
.address { display: flex; gap: 14px; }
.address .ico { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--glina); }
.address p { margin: 0; display: flex; flex-direction: column; gap: 4px; color: var(--szary); font-size: .9375rem; }
.address strong { font-family: var(--f-serif); font-weight: 400; font-size: 1.25rem; color: var(--atrament); }
.paws { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--szary); font-size: .9375rem; }
.paws .ico { flex: 0 0 22px; width: 22px; height: 22px; color: var(--oliwka); }
.delivery { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0; font-size: .875rem; color: var(--szary); }
.delivery span { flex-basis: 100%; }
.delivery a { font-weight: 600; color: var(--atrament); text-decoration: none; border-bottom: 1px solid var(--linia); }
.delivery a:hover { border-bottom-color: var(--atrament); }
.contact__media { position: relative; display: flex; flex-direction: column; align-self: stretch; }
.map { position: relative; flex: 1 0 auto; min-height: 340px; overflow: hidden; background: var(--len); }
.map svg, .map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__pin { position: absolute; left: 50%; top: 52%; width: 44px; height: 44px; margin: -40px 0 0 -22px; color: var(--glina); animation: bob 3.2s ease-in-out infinite; }
.map__pin .ico { width: 44px; height: 44px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .15)); }
.map__pin::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 18px; height: 6px; margin-left: -9px; border-radius: 50%; background: rgba(0, 0, 0, .14); }
.map__label { position: absolute; left: 50%; top: 52%; transform: translate(-50%, 14px); padding: 6px 12px; background: var(--granat); color: var(--papier); font-family: var(--f-serif); font-size: .9375rem; white-space: nowrap; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.frame--door { z-index: 2; width: 50%; aspect-ratio: 3 / 4; margin: -26% 0 calc(var(--spill) * -1) auto; transform: translate3d(0, var(--drift, 0px), 0); }

/* Finał */
.finale { position: relative; z-index: 1; background: var(--len); padding: calc(var(--spill) + clamp(50px, 6vw, 80px)) 0 clamp(90px, 10vw, 130px); text-align: center; overflow: hidden; }
.finale__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 760px; }
.branch--finale { position: relative; width: 150px; margin-bottom: 4px; transform: rotate(-18deg); }
.finale__greek { margin: 0; font-family: var(--f-serif); font-size: clamp(3.6rem, 9vw, 7.5rem); line-height: 1; color: var(--granat); }
.finale__text { margin: 0 0 18px; max-width: 30rem; color: var(--szary); }

/* Stopka */
.foot { background: var(--granat); color: var(--szary-noc); padding: 72px 0 36px; font-size: .9375rem; }
.foot__inner { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot .logo__name { color: var(--papier); }
.foot__brand p { margin: 12px 0 0; }
.foot__h { margin: 0 0 14px; font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--zloto-jasne); }
.foot ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--papier); }
.foot__social a { display: inline-flex; align-items: center; gap: 10px; }
.foot__social .ico { width: 18px; height: 18px; }
.foot__credit { margin-top: 56px !important; padding-top: 24px !important; border-top: 1px solid rgba(169, 180, 191, .18); font-size: .8125rem; }
.foot__credit a { color: var(--zloto-jasne); }

/* Prosta strona */
.plain { padding: clamp(72px, 9vw, 120px) 0; }
.plain .wrap { max-width: 760px; }
.plain h1 { margin: 0 0 28px; font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; }

/* Okienko trybu demo */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20, 39, 59, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(440px, 100%); padding: 44px 34px 30px; background: var(--papier); text-align: center; transform: translateY(16px); transition: transform .45s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--szary); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal__plate { display: block; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: radial-gradient(circle, #FFFFFF 0 52%, transparent 53%), radial-gradient(circle, var(--egej) 0 56%, transparent 57%), radial-gradient(circle, #FFFFFF 0 62%, #ECE7DE 100%); box-shadow: 0 14px 24px -10px rgba(20, 39, 59, .35); }
.modal__title { margin: 0 0 12px; font-family: var(--f-serif); font-size: 2rem; line-height: 1.1; }
.modal__box > p { margin: 0 0 24px; color: var(--szary); }
.modal__actions { display: flex; flex-direction: column; gap: 6px; }

/* Pasek pod kciukiem (telefon) */
.thumb { display: none; }

/* Wejście sekcji przy przewijaniu */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
	.top__nav { display: none; }
	.dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.signature__grid { grid-template-columns: minmax(0, 1fr); }
	.signature__head { padding-top: 0; order: 2; }
	.dishes { order: 1; }
	.signature__grid { gap: 48px; }
	.plate--dish { width: 92%; margin-top: -46%; }
}

@media (max-width: 860px) {
	:root { --gut: 20px; --spill: 64px; }
	.top__inner { min-height: 64px; }
	.top .btn--line { display: none; }
	.hero__grid, .intro__grid, .lunch__grid, .reserve__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__text { padding-bottom: 0; }
	.hero__media { width: 86%; margin-left: auto; }
	.plate--hero { width: 50%; left: -16%; bottom: -14%; }
	.branch--hero { display: none; }
	.intro { padding-top: calc(var(--spill) + 120px); }
	.intro__text { position: static; }
	.dishes { display: flex; gap: 18px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.dishes::-webkit-scrollbar { display: none; }
	.dish { flex: 0 0 72%; scroll-snap-align: center; }
	.plate--dish { width: 86%; margin-top: -43%; }
	.carte { grid-template-columns: minmax(0, 1fr); }
	.tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 18px; padding: 0 var(--gut); scrollbar-width: none; gap: 26px; }
	.tabs::-webkit-scrollbar { display: none; }
	.tabs button { flex: 0 0 auto; font-size: 1.1875rem; }
	.plate--edge { width: 200px; right: -80px; top: -110px; }
	.plate--lunch { width: 74%; margin: calc(clamp(100px, 11vw, 150px) * -1 - 70px) auto 0; }
	.week__day { grid-template-columns: minmax(0, 1fr); }
	.week__name { grid-row: auto; margin-bottom: 4px; }
	.daynight__grid { grid-template-columns: minmax(0, 1fr); gap: 70px; }
	.moment--night { margin-top: 0; width: 88%; margin-left: auto; }
	.moment--day { width: 88%; }
	.moment__card { margin-left: 0; width: 86%; }
	.moment__card--dark { margin-right: 0; }
	.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; grid-template-areas: "t1 t2" "t3 t2" "t4 t5" "t4 t6" "t7 t7" "t8 t8"; gap: 10px; }
	.reviews__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.reviews { padding-bottom: 170px; }
	.reserve__card { margin-top: 0; }
	.reserve__grid { gap: 56px; }
	.reserve__text { order: 1; }
	.reserve__card { order: 2; }
	.reserve { padding-top: 90px; }
	.plate--reserve { --p: 130px; right: -14px; top: -84px; }
	.form__row, .form__row:nth-child(4) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.form__row .field--narrow { grid-column: 1 / -1; }
	.hours tbody th { font-size: 1rem; }
	.hours td { font-size: .9375rem; }
	.frame--door { width: 62%; margin-top: -30%; }
	.map { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
	.foot__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.foot__brand { grid-column: 1 / -1; }
	.foot { padding-bottom: 110px; }
	.thumb {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 12px;
		z-index: 40;
		display: flex;
		gap: 8px;
		padding: 8px;
		background: rgba(251, 248, 243, .94);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		box-shadow: 0 16px 40px -12px rgba(20, 39, 59, .35);
		opacity: 0;
		transform: translateY(24px);
		pointer-events: none;
		transition: opacity .35s, transform .45s var(--ease);
	}
	.thumb.is-shown { opacity: 1; transform: none; pointer-events: auto; }
	.thumb__icon { flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--linia); color: var(--atrament); }
	.thumb__icon .ico { width: 22px; height: 22px; }
	.thumb__main { flex: 1; min-height: 52px; }
}

@media (max-width: 520px) {
	.lead { font-size: 1.0625rem; }
	.h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
	.logo__name { font-size: 1.3125rem; }
	.top .btn { padding: 0 16px; }
	.when-wide { display: none; }
	.when-narrow { display: inline; }
	.feat { grid-template-columns: 40px minmax(0, 1fr); }
	.feat__mark { font-size: 1.875rem; }
	.order { padding: 22px; }
	.form__row, .form__row:nth-child(4) { grid-template-columns: minmax(0, 1fr); }
	.review blockquote { font-size: 1.3125rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .rise { opacity: 1; transform: none; transition: none; }
	.js .branch [pathLength] { stroke-dashoffset: 0; transition: none; }
	.status.is-open .status__dot, .map__pin { animation: none; }
	.carte.is-shown .carte__item { animation: none; }
	.plate .photo, .frame { transform: none !important; }
}
