/* ==========================================================================
   Adriatico — v1.9 design layer
   Loaded after main.css. Calmer palette, editorial type, photo-led homepage
   built on the Beata AVM photography. Booking/menu/admin styles stay in
   main.css; this file only refines them where they share components.
   ========================================================================== */

:root {
	--bg:        #fbf8f3;
	--paper:     #ffffff;
	--ink:       #1c1917;
	--muted:     #6f655c;
	--hair:      rgba(28, 25, 23, .12);
	--wine:      #7a1f26;
	--wine-dark: #5a141a;
	--navy:      #0a2472;
	--gold:      #b8893f;
	--night:     #1a0f10;
	--r-sm:      6px;
	--r-md:      12px;
	--r-lg:      18px;
	--lift:      0 24px 60px -24px rgba(28, 25, 23, .35);
	--maxw:      1200px;
}

body { background: var(--bg); color: var(--ink); font-size: 16.5px; }
.section::before { display: none; } /* drop the paper grain: cleaner surfaces */
::selection { background: var(--wine); color: #fff; }

/* Anchored sections clear the sticky header. */
[id] { scroll-margin-top: 88px; }

/* ---------- Type helpers ---------- */
.kicker {
	margin: 0 0 14px;
	font: 600 .74rem/1.4 var(--font-body);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--wine);
}
.kicker--light { color: #e7c48a; }
.title {
	margin: 0 0 20px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2rem, 3.6vw, 3rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	color: var(--ink);
}

/* ---------- Buttons (new + existing .btn kept in step) ---------- */
.button,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: 14px 26px;
	border-radius: var(--r-sm);
	border: 1.5px solid transparent;
	font: 600 .93rem/1 var(--font-body);
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	white-space: nowrap;
}
.button--solid, .btn--primary { background: var(--wine); color: #fff; }
.button--solid:hover, .btn--primary:hover { background: var(--wine-dark); color: #fff; transform: none; }
.button--outline { background: transparent; color: var(--ink); border-color: rgba(28,25,23,.35); }
.button--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.button--light { background: #fff; color: var(--night); }
.button--light:hover { background: #f1e6d4; color: var(--night); }
.btn--book { background: var(--wine); color: #fff; padding: 11px 18px; font-size: .86rem; }
.btn--book:hover { background: var(--wine-dark); color: #fff; }

/* ---------- Header: solid, quiet, on every page ---------- */
.site-header,
body:not(.has-hero) .site-header {
	position: sticky;
	top: 0;
	padding: 0;
	background: transparent;
	border-bottom: 1px solid var(--hair);
	box-shadow: none;
}
/* The frosted glass sits on a pseudo-element: a backdrop-filter on the header
   itself would make it the containing block of the fixed mobile nav panel,
   pushing the off-canvas panel into the page width (horizontal scroll). */
.site-header::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: rgba(251, 248, 243, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(28,25,23,.35); }
.site-header__inner { max-width: var(--maxw); min-height: 76px; }
.site-brand__logo,
.site-header.is-scrolled .site-brand__logo,
body:not(.has-hero) .site-brand__logo { height: 50px; }
.nav-menu { gap: 28px; }
.nav-menu a,
.site-header.is-scrolled .nav-menu a,
body:not(.has-hero) .nav-menu a { color: var(--ink); font-size: .92rem; font-weight: 500; }
.nav-menu a:hover,
.site-header.is-scrolled .nav-menu a:hover,
body:not(.has-hero) .nav-menu a:hover { color: var(--wine); }
.nav-menu a::after { background: var(--wine); height: 1.5px; }
.nav-toggle span,
.site-header.is-scrolled .nav-toggle span,
body:not(.has-hero) .nav-toggle span { background: var(--ink); }
.lang-switch__btn { color: var(--muted); }
.lang-switch__btn.is-active { color: var(--ink); }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */
.section-x { padding: clamp(72px, 9vw, 128px) 0; position: relative; }

/* ---------- Hero ---------- */
.hx { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hx__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}
.hx__title {
	margin: 0 0 22px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2.5rem, 4.6vw, 4rem);
	line-height: 1.02;
	letter-spacing: -.025em;
	color: var(--ink);
}
.hx__lead { max-width: 33em; margin: 0 0 34px; font-size: 1.14rem; line-height: 1.7; color: var(--muted); }
.hx__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hx__facts {
	display: flex; flex-wrap: wrap; gap: 12px 28px;
	margin: 40px 0 0; padding: 22px 0 0; list-style: none;
	border-top: 1px solid var(--hair);
	font-size: .9rem; color: var(--muted);
}
.hx__facts li { display: flex; align-items: center; gap: 8px; }
.hx__facts a { color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.hx__facts a:hover { color: var(--ink); }
.hx__facts strong { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.14); }
.dot--open { background: #2e8b57; box-shadow: 0 0 0 4px rgba(46,139,87,.16); }
.stars { display: inline-flex; gap: 1px; color: #d9a441; font-size: .85rem; letter-spacing: 0; }
.stars .star { color: rgba(28,25,23,.18); }
.stars .star--on, .stars .star--half { color: #d9a441; }

.hx__media { position: relative; min-height: 560px; }
.hx__reel {
	position: relative; margin: 0 0 0 auto;
	width: min(100%, 400px); aspect-ratio: 9 / 16;
	border-radius: var(--r-lg); overflow: hidden;
	background: #2a211d; box-shadow: var(--lift);
}
.hx__reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx__still {
	position: absolute; left: 0; bottom: 48px; margin: 0;
	width: 42%; max-width: 230px; aspect-ratio: 4 / 5;
	border-radius: var(--r-md); overflow: hidden;
	border: 8px solid var(--bg); box-shadow: var(--lift);
}
.hx__still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hx__tag {
	position: absolute; left: 6%; top: 40px; margin: 0;
	padding: 12px 16px; border-radius: var(--r-md);
	background: var(--paper); box-shadow: var(--lift);
	font-size: .82rem; color: var(--muted); line-height: 1.3;
}
.hx__tag span { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--wine); }

/* ---------- Seasonal menu ---------- */
.season {
	color: #f3eadc;
	background:
		radial-gradient(70% 90% at 85% 10%, rgba(122,31,38,.55) 0%, transparent 60%),
		linear-gradient(180deg, #2a0f12 0%, var(--night) 100%);
}
.season__grid {
	display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 110px); align-items: center;
}
.season__media {
	margin: 0; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden;
	background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.season__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.season__title {
	margin: 0 0 10px; color: #fff;
	font-family: var(--font-display); font-weight: 500; font-style: italic;
	font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.02em;
}
.season__price { display: flex; align-items: baseline; gap: 14px; margin: 0 0 34px; color: rgba(243,234,220,.75); }
.season__price strong { font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; color: #e7c48a; }
.courses { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid rgba(231,196,138,.25); }
.courses__row {
	display: grid; grid-template-columns: 150px 1fr; gap: 20px;
	padding: 20px 0; border-bottom: 1px solid rgba(231,196,138,.25);
}
.courses__label { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e7c48a; }
.courses__label em { display: block; margin-top: 6px; font-style: normal; font-weight: 400; letter-spacing: .04em; text-transform: none; color: rgba(243,234,220,.55); }
.courses__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.courses__items li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.courses__items span { font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.courses__items small { font-size: .85rem; color: rgba(243,234,220,.6); }
.season__note { max-width: 36em; margin: 0 0 28px; font-size: .95rem; color: rgba(243,234,220,.72); }
.season__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Story ---------- */
.story { background: var(--paper); }
.story__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.story__media { position: relative; }
.story__photo { margin: 0; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__photo--main { border-radius: var(--r-lg); aspect-ratio: 2 / 3; max-width: 400px; margin: 0 auto; box-shadow: var(--lift); }
.story__photo--main img { object-position: 50% 50%; }
.story__text > p:not(.kicker) { color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 52px; margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid var(--hair); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { margin: 0; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--ink); }
.stats dt { overflow-wrap: anywhere; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- From the kitchen ---------- */
.kitchen { background: var(--bg); }
.kitchen__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; align-items: end; margin-bottom: 44px; }
.kitchen__head .title { margin: 0; }
.kitchen__lead { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.kitchen__process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 72px; }
.kitchen__process img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.kitchen__process img:nth-child(1) { object-position: 50% 45%; }
.kitchen__process img:nth-child(2) { object-position: 50% 65%; }
.kitchen__process img:nth-child(3) { object-position: 50% 55%; }
.kitchen__process img:nth-child(4) { object-position: 50% 50%; }

.dishes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.dish { flex: 0 0 calc((100% - 60px) / 4); }
.dish figure { margin: 0; }
.dish img {
	width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md);
	transition: transform .5s ease;
}
.dish figure:hover img { transform: scale(1.025); }
.dish figcaption { padding-top: 14px; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.3; color: var(--ink); }
.dish figcaption span { display: block; margin-bottom: 4px; font: 600 .7rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--wine); }
.kitchen__cta { margin: 48px 0 0; text-align: center; }

/* ---------- Dish of the day ---------- */
.today { background: var(--paper); }
.today__head { max-width: 640px; margin-bottom: 40px; }
.today__lead { color: var(--muted); margin: 0; }
.today__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 1px solid var(--hair); }
.pick { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--hair); }
.pick__mark { color: var(--wine); }
.pick__mark svg { width: 48px; height: 48px; display: block; }
.pick__cat { margin: 0 0 4px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pick__name { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.pick__desc { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.pick__price { margin: 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--wine); white-space: nowrap; }

/* ---------- Reviews ---------- */
.quotes { background: var(--bg); text-align: center; }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; text-align: left; }
.quote { margin: 0; padding: 30px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-md); }
.quote blockquote { margin: 14px 0 18px; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.55; }
.quote figcaption { font-size: .85rem; color: var(--muted); }

/* ---------- The room ---------- */
.room { background: var(--bg); padding-top: 0; }
.room__head { margin-bottom: 36px; }
.room__grid {
	display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 300px));
	gap: 14px;
}
.room__item { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.room__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.room__item:hover img { transform: scale(1.03); }
.room__item--tall { grid-row: span 2; }
.room__item:nth-child(2) img { object-position: 50% 62%; }
.room__item:nth-child(3) img { object-position: 50% 40%; }
.room__item:nth-child(4) img { object-position: 50% 45%; }
.room__item:nth-child(5) img { object-position: 50% 35%; }

/* ---------- Visit ---------- */
.visit-x { background: var(--paper); }
.visit-x__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.visit-x__addr { font-size: 1.15rem; margin: 0 0 30px; }
.visit-x__addr a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 5px; }
.visit-x__addr a:hover { color: var(--wine); }
.visit-x__sub { margin: 0 0 8px; font: 600 .74rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hours { list-style: none; margin: 0 0 34px; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.hours li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.visit-x__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-x__map { min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: #e9e3d9; }
.visit-x__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; filter: grayscale(.25) contrast(1.02); }

/* ==========================================================================
   SHARED / INNER PAGES
   ========================================================================== */
.page-hero { padding: 150px 0 80px; }
.page-hero--inner { padding: 130px 0 64px; }
.page-hero--menu { background-image: url('../img/beata/table-osso.jpg'); background-position: 50% 62%; }
.reserve-hero { background: url('../img/beata/dining-room.jpg') 50% 45% / cover no-repeat; }
.page-hero__overlay { background: linear-gradient(180deg, rgba(26,15,16,.55), rgba(26,15,16,.78)); }
.page-hero__title { font-weight: 500; letter-spacing: -.02em; }
body:not(.is-home) .page-hero { padding-top: clamp(96px, 12vw, 150px); }

/* ---------- Footer ---------- */
.site-footer { background: #15110f; padding-top: 80px; }
.site-footer__brand { font-weight: 500; }
.site-footer__tag { color: #e7c48a; }
.site-footer h4 { font: 600 .74rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: rgba(247,241,230,.6); }
.site-footer a:hover { color: #e7c48a; }
.site-footer__social { display: flex; gap: 18px; margin: 22px 0 0; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(247,241,230,.85); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
	/* Tablets: all signature dishes in one swipeable row (phones narrow it further below). */
	.dishes {
		display: grid; justify-content: initial; gap: 20px;
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
	}
	.dish { scroll-snap-align: start; }
}

@media (max-width: 900px) {
	.hx__grid, .season__grid, .story__grid, .visit-x__grid, .kitchen__head { grid-template-columns: minmax(0, 1fr); }
	.hx__media { min-height: 0; max-width: 520px; margin: 8px auto 0; width: 100%; }
	.hx__reel { width: 72%; margin: 0 0 0 auto; }
	.hx__still { width: 40%; bottom: 32px; }
	.hx__tag { left: 0; top: 24px; }
	.season__media { max-width: 340px; width: 100%; margin: 0 auto; }
	.story__media { max-width: 520px; }
	.today__list { grid-template-columns: 1fr; }
	.quotes__grid { grid-template-columns: 1fr; }
	.room__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
	.room__item--tall { grid-row: span 2; }
	.visit-x__map, .visit-x__map iframe { min-height: 340px; }
}

@media (max-width: 768px) {
	body { font-size: 16px; }
	.site-header__inner { min-height: 66px; }
	.site-brand__logo,
	.site-header.is-scrolled .site-brand__logo,
	body:not(.has-hero) .site-brand__logo { height: 42px; }
	.site-nav { background: var(--paper); }
	.nav-menu li { border-bottom-color: var(--hair); }
	.nav-menu a,
	.site-header.is-scrolled .nav-menu a,
	body:not(.has-hero) .nav-menu a { color: var(--ink); }
	.nav-menu a:hover { color: var(--wine); }
	body.nav-open .nav-toggle span { background: var(--ink); }
	.site-nav__extra .lang-switch__btn { color: var(--muted); }
	.site-nav__extra .lang-switch__btn.is-active { color: var(--ink); }
	.site-nav__extra .lang-switch__sep { color: var(--hair); }

	.hx__actions .button { flex: 1 1 auto; }
	.season__media { aspect-ratio: 4 / 5; max-width: none; }
	.kitchen__process { grid-template-columns: 1fr 1fr; margin-bottom: 48px; }
	.dishes {
		display: grid; justify-content: initial; gap: 20px;
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
		margin-right: -18px; padding-right: 18px;
	}
	.dishes .dish:nth-child(n+4) { display: block; }
	.dish { scroll-snap-align: start; }
	.courses__row { grid-template-columns: 1fr; gap: 10px; }
	.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; }
	.stats dt { letter-spacing: .08em; }
	.stats dd { font-size: 1.9rem; }
	.pick { grid-template-columns: 44px 1fr; }
	.pick__mark svg { width: 40px; height: 40px; }
	.pick__price { grid-column: 2; }
}

@media (max-width: 430px) {
	.hx__title { font-size: 2.45rem; }
	.hx__reel { width: 78%; }
	.room__grid { grid-auto-rows: 170px; }
}

@media (prefers-reduced-motion: reduce) {
	.dish img, .room__item img { transition: none; }
}

/* ==========================================================================
   v1.9.2 — Italian kitchen details (site-wide)
   ========================================================================== */
:root {
	--it-green: #009246;
	--it-white: #ffffff;
	--it-red:   #ce2b37;
	--tricolore: linear-gradient(90deg, var(--it-green) 0 33.34%, var(--it-white) 33.34% 66.67%, var(--it-red) 66.67% 100%);
	/* Trattoria tablecloth: two half-tone red bands crossing = gingham. */
	--gingham:
		linear-gradient(90deg, rgba(206, 43, 55, .55) 50%, transparent 50%),
		linear-gradient(rgba(206, 43, 55, .55) 50%, transparent 50%);
}

/* Flag ribbon under the header, on every page. */
.site-header::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
	background: var(--tricolore);
	box-shadow: 0 1px 0 rgba(28, 25, 23, .06);
}

/* Small flag (inline). The white band gets a hairline so it reads on cream. */
.it-flag {
	display: inline-flex; vertical-align: middle;
	width: 21px; height: 14px; border-radius: 2px; overflow: hidden;
	box-shadow: 0 0 0 1px rgba(28, 25, 23, .14);
	margin-right: 8px; position: relative; top: -1px;
}
.it-flag i { flex: 1; }
.it-flag i:nth-child(1) { background: var(--it-green); }
.it-flag i:nth-child(2) { background: var(--it-white); }
.it-flag i:nth-child(3) { background: var(--it-red); }

/* Mini tricolore before every section label. */
.kicker::before,
.eyebrow::before {
	content: "";
	display: inline-block; vertical-align: middle;
	width: 18px; height: 3px; margin: -2px 10px 0 0; border-radius: 2px;
	background: var(--tricolore);
	box-shadow: 0 0 0 .5px rgba(28, 25, 23, .18);
}
.page-hero .eyebrow::before,
.kicker--light::before { box-shadow: none; }

/* Inner-page heroes: an Italian line above the title, a flag rule below it. */
.page-hero__it {
	margin: 0 0 4px;
	font-family: var(--font-display); font-style: italic; font-weight: 400;
	font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: #f1d9ac;
}
.page-hero__title::after {
	content: "";
	display: block; width: 72px; height: 4px; margin: 18px auto 0; border-radius: 2px;
	background: var(--tricolore);
}

/* Row of line-art kitchen icons between hairlines. */
.it-row {
	display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.6vw, 30px);
	margin: 0 0 56px; color: var(--wine);
}
.it-row::before,
.it-row::after { content: ""; flex: 1; max-width: 220px; height: 1px; background: var(--hair); }
.it-row__ic svg { display: block; width: 34px; height: 34px; }
.it-row__ic:nth-child(odd) { color: var(--muted); }
.it-row--sm { gap: 10px; margin: 18px 0 14px; }
.it-row--sm::before, .it-row--sm::after { max-width: 40px; }
.it-row--sm { color: var(--wine); }
.it-row--sm .it-row__ic svg { width: 28px; height: 28px; }

/* Footer: tablecloth band on top + an Italian sign-off. */
.site-footer { position: relative; }
.site-footer::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 14px;
	background-color: #fff; background-image: var(--gingham); background-size: 14px 14px;
	opacity: .9;
}
.site-footer__it {
	margin: 14px 0 0; display: flex; align-items: center;
	font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: #f1d9ac;
}

/* ---------- Booking page ---------- */
.reserve .reservation-form {
	position: relative; overflow: hidden;
	padding: 44px 34px 30px;
	background: var(--paper);
	border: 1px solid var(--hair); border-radius: var(--r-lg);
	box-shadow: 0 24px 60px -36px rgba(28, 25, 23, .35);
}
/* The edge of a chequered tablecloth along the top of the form. */
.reserve .reservation-form::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 16px;
	background-color: #fff; background-image: var(--gingham); background-size: 16px 16px;
	border-bottom: 1px solid rgba(206, 43, 55, .25);
}
.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(122, 31, 38, .12); outline: none; }
.reserve__submit { padding: 16px 24px; font-size: .98rem; }

.reserve__aside { background: var(--bg); border-color: var(--hair); border-radius: var(--r-lg); }

.it-card {
	position: relative; margin: 0 0 26px; padding: 22px 22px 16px;
	background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-md);
	text-align: center; overflow: hidden;
}
.it-card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tricolore);
}
.it-card__title {
	margin: 4px 0 8px; display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink);
}
.it-card__text { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.it-card__sign { margin: 0; font-family: var(--font-display); font-style: italic; color: var(--wine); }
.reserve__contact-only .it-card { max-width: 440px; margin: 0 auto 34px; }

@media (max-width: 768px) {
	.it-row { gap: 10px; margin-bottom: 40px; }
	.it-row__ic svg { width: 26px; height: 26px; }
	.it-row::before, .it-row::after { max-width: 28px; }
	.reserve .reservation-form { padding: 38px 18px 24px; }
}
@media (max-width: 980px) {
	.reserve__grid { grid-template-columns: minmax(0, 1fr); }
	.reservation-form, .reservation-form .form-field, .phone-group, .phone-group > * { min-width: 0; }
}

/* v1.9.3 — full-width photo band (Beata AVM, oven dish with olive oil) */
.forno { position: relative; margin: 0; overflow: hidden; background: #1a0f10; }
.forno img { display: block; width: 100%; height: clamp(420px, 56vw, 760px); object-fit: cover; object-position: 50% 55%; }
.forno::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(270deg, rgba(20,12,10,.7) 0%, rgba(20,12,10,.3) 34%, transparent 55%);
}
.forno__caption { position: absolute; z-index: 1; right: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); bottom: clamp(32px, 6vw, 72px); max-width: 380px; color: #fff; text-align: right; }
@media (min-width: 701px) { .forno__caption { bottom: auto; top: clamp(40px, 7vw, 96px); } .forno::after { background: linear-gradient(200deg, rgba(20,12,10,.72) 0%, rgba(20,12,10,.25) 35%, transparent 55%); } }
.forno__it { margin: 0 0 8px; font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.forno__it::after { content: ""; display: block; width: 72px; height: 4px; margin: 14px 0 0 auto; border-radius: 2px; background: var(--tricolore); }
.forno__txt { margin: 0; font-size: 1.02rem; color: rgba(255,255,255,.88); }
@media (max-width: 700px) {
	.forno img { height: auto; aspect-ratio: 1 / 1; }
	.forno::after { background: linear-gradient(0deg, rgba(20,12,10,.72) 0%, rgba(20,12,10,.2) 45%, transparent 70%); }
	.forno__caption { left: 20px; right: 20px; bottom: 26px; text-align: left; max-width: none; }
	.forno__it::after { margin-left: 0; }
}

/* v1.9.11 — Julebord box above the booking form (only while adriatico_season() is live) */
.jul-box {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start;
	margin: 0 0 28px; padding: 20px 22px;
	background: var(--paper); border: 1px solid var(--hair); border-left: 4px solid var(--wine);
	border-radius: var(--r-md); box-shadow: 0 18px 40px -32px rgba(28, 25, 23, .45);
}
.jul-box__img { width: 96px; height: 128px; object-fit: cover; border-radius: 8px; display: block; }
.jul-box__kicker { margin: 0 0 4px; font: 600 .7rem/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--wine); }
.jul-box__title { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
.jul-box__title strong { color: var(--wine); font-weight: 600; white-space: nowrap; }
.jul-box__menu { margin: 0 0 12px; padding-left: 1.2em; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.jul-box__how { margin: 0 0 14px; font-size: .92rem; line-height: 1.6; color: var(--ink); }
.jul-box__how a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.jul-box__how em { font-style: normal; font-weight: 600; }
.jul-box__add {
	appearance: none; cursor: pointer; padding: 9px 16px;
	border: 1px solid var(--wine); border-radius: 999px; background: transparent; color: var(--wine);
	font: 600 .84rem/1.2 var(--font-body); transition: background .2s ease, color .2s ease;
}
.jul-box__add:hover, .jul-box__add[aria-pressed="true"] { background: var(--wine); color: #fff; }
@media (max-width: 560px) {
	.jul-box { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; }
	.jul-box__img { width: 64px; height: 86px; }
	.jul-box__title { font-size: 1.15rem; }
	.jul-box__add { width: 100%; }
}

/* v1.9.13 — Julebord landing (/reserve/?utm_campaign=julebord or ?julebord):
   shorter hero on phones so the menu box and the date fields show sooner. */
@media (max-width: 768px) {
	.reserve-hero--jul { padding-bottom: 34px; }
	body:not(.is-home) .reserve-hero--jul { padding-top: 88px; }
	.reserve-hero--jul .page-hero__it { display: none; }
	.reserve-hero--jul .page-hero__title { font-size: clamp(2.1rem, 10vw, 3rem); }
}

/* v1.9.14 — Pizza & pasta photos (studio shots 2026-11-14, inc/menu-photos.php) */
.pp { background: #edf2f7; }
.pp__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 80px; align-items: end; margin-bottom: 32px; }
.pp__head .title { margin: 0; }
.pp__lead { margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.8; }
.pp__tabs { display: flex; gap: 10px; margin: 0 0 26px; }
.pp__tab {
	appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
	padding: 11px 22px; border: 1px solid rgba(28, 25, 23, .18); border-radius: 999px;
	background: var(--paper); color: var(--ink); font: 600 .95rem/1.2 var(--font-body);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pp__tab span { font-size: .75rem; font-weight: 600; color: var(--muted); }
.pp__tab:hover { border-color: var(--wine); }
.pp__tab[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.pp__tab[aria-selected="true"] span { color: rgba(255, 255, 255, .75); }
.pp__tab:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.pp__label { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.5rem; color: var(--wine); }
.pp--tabs .pp__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pp__panel + .pp__panel { margin-top: 44px; }
.pp--tabs .pp__panel + .pp__panel { margin-top: 0; }
.pp__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pp__card {
	display: flex; flex-direction: column; height: 100%; overflow: hidden;
	background: var(--paper); border-radius: var(--r-md); color: var(--ink); text-decoration: none;
	box-shadow: 0 1px 0 rgba(28, 25, 23, .06); transition: box-shadow .3s ease, transform .3s ease;
}
.pp__card:hover { box-shadow: var(--lift); transform: translateY(-2px); color: var(--ink); }
.pp__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #cfdcea; }
.pp__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pp__card:hover .pp__photo img { transform: scale(1.04); }
.pp__body { display: block; padding: 16px 18px 20px; }
.pp__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pp__name { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.pp__price { flex: none; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--wine); }
.pp__desc {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin-top: 6px; font-size: .92rem; line-height: 1.5; color: var(--muted);
}
.pp__cta {
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
	height: 100%; min-height: 220px; padding: 28px; border-radius: var(--r-md);
	background: var(--wine); color: #fff;
}
.pp__cta-it { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.9rem; line-height: 1.1; }
.pp__cta-txt { margin: 0; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.pp__cta-link { margin-top: 6px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.pp__cta-link:hover { color: #f1e6d4; }
.pp__book { margin-top: 40px; }
@media (max-width: 900px) {
	.pp__head { grid-template-columns: minmax(0, 1fr); }
	.pp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.pp__item--cta { grid-column: 1 / -1; }
	.pp__cta { min-height: 0; padding: 22px; }
}
@media (max-width: 560px) {
	.pp__tabs { margin-bottom: 18px; }
	.pp__tab { flex: 1 1 0; justify-content: center; padding: 11px 12px; }
	.pp__body { padding: 11px 12px 14px; }
	.pp__row { flex-direction: column; gap: 2px; }
	.pp__name { font-size: 1.02rem; }
	.pp__price { font-size: 1rem; }
	.pp__desc { font-size: .82rem; }
	.pp__book .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.pp__card, .pp__photo img { transition: none; }
	.pp__card:hover { transform: none; }
	.pp__card:hover .pp__photo img { transform: none; }
}

/* Menu page: square photo next to dishes that have one; tap to enlarge */
.menu-dish--photo { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.menu-dish--photo > :not(.menu-dish__photo) { grid-column: 2; }
.menu-dish__photo {
	grid-column: 1; grid-row: 1 / span 3; appearance: none; cursor: zoom-in;
	width: 76px; height: 76px; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
	background: #cfdcea; box-shadow: 0 6px 16px -10px rgba(28, 25, 23, .5);
}
.menu-dish__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.menu-dish__photo:hover img { transform: scale(1.06); }
.menu-dish__photo:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.dish-zoom {
	width: min(92vw, 820px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg);
	background: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden;
}
.dish-zoom::backdrop { background: rgba(20, 12, 10, .72); }
.dish-zoom__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #cfdcea; }
.dish-zoom__name { margin: 0; padding: 14px 56px 16px 20px; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.dish-zoom__close-form { position: absolute; top: 10px; right: 10px; margin: 0; z-index: 1; }
.dish-zoom__close {
	appearance: none; cursor: pointer; width: 40px; height: 40px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.6rem; line-height: 1;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
@media (max-width: 560px) {
	.menu-dish--photo { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
	.menu-dish__photo { width: 64px; height: 64px; }
}
@media print {
	.menu-dish__photo, .dish-zoom { display: none !important; }
	.menu-dish--photo { display: block; }
}

/* v1.9.16 — booking page: the form comes first.
   Shorter hero on phones for every /reserve/ view, less air above the form,
   and the Julebord box moved below the form (a one-line strip stays above). */
@media (max-width: 768px) {
	.reserve-hero { padding-bottom: 30px; }
	body:not(.is-home) .reserve-hero { padding-top: 88px; }
	.reserve-hero .page-hero__it { display: none; }
	.reserve-hero .page-hero__title { font-size: clamp(2.1rem, 10vw, 3rem); }
	.reserve-hero .page-hero__sub { font-size: .95rem; line-height: 1.5; margin-bottom: 0; }
	.section.reserve { padding-top: 20px; }
}
.jul-box--after { margin: 28px 0 0; scroll-margin-top: 96px; }
.jul-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 0 16px; padding: 11px 16px;
	background: var(--paper); border: 1px solid var(--hair); border-left: 4px solid var(--wine);
	border-radius: var(--r-md); color: var(--ink); text-decoration: none;
	font: 500 .92rem/1.3 var(--font-body);
}
.jul-strip strong { color: var(--wine); font-weight: 600; white-space: nowrap; }
.jul-strip__more { flex: none; color: var(--wine); font-weight: 600; font-size: .84rem; white-space: nowrap; }
.jul-strip:hover .jul-strip__more { text-decoration: underline; text-underline-offset: 3px; }
.jul-strip--on { background: #f4f8f1; border-left-color: var(--it-green); }

/* v1.9.16 — phone bottom bar: Book · Call · WhatsApp (footer.php).
   Sits under the slide-in menu and its overlay; replaces the WhatsApp bubble on phones. */
.book-bar { display: none; }
@media (max-width: 768px) {
	.book-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		display: flex; gap: 8px; align-items: stretch;
		padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--hair);
		box-shadow: 0 -10px 30px -18px rgba(28, 25, 23, .45);
	}
	.book-bar a {
		display: flex; align-items: center; justify-content: center; gap: 6px;
		min-height: 46px; padding: 0 10px; border-radius: var(--r-sm);
		font: 600 .86rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
	}
	.book-bar__main { flex: 1.5 1 0; background: var(--wine); color: #fff; font-size: .95rem; }
	.book-bar__main:active { background: var(--wine-dark); }
	.book-bar__alt { flex: 1 1 0; border: 1px solid var(--hair); background: var(--paper); color: var(--ink); }
	.book-bar__alt svg { flex: none; color: var(--wine); }
	.book-bar__alt--wa svg { color: #1fa855; }
	.has-book-bar .wa-float { display: none; }
	/* Keep the last line of the footer clear of the bar. */
	.has-book-bar .site-footer__bar { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 350px) {
	.book-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
	.book-bar a { font-size: .8rem; padding: 0 6px; }
	.book-bar__alt svg { display: none; }
}
@media print { .book-bar { display: none !important; } }

/* v1.9.18 — Google rating (hero, story, footer, under the booking button) */
.g-logo { width: 15px; height: 15px; flex: none; display: inline-block; vertical-align: -2px; }
.g-logo--lg { width: 24px; height: 24px; padding: 6px; box-sizing: content-box; background: #fff; border-radius: 50%; }
.footer-ta--g { margin-bottom: 10px; }
.footer-ta--g:hover { border-color: #8ab4f8; background: rgba(138, 180, 248, .08); }
.reserve__rating {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 7px;
	margin: 14px 0 0; font-size: .88rem; color: var(--muted);
}
.reserve__rating strong { color: var(--ink); font-weight: 600; }
@media (max-width: 420px) { .stats dt { font-size: .66rem; letter-spacing: .05em; } }

/* ---------- v1.9.21: Tripadvisor award next to the ratings ---------- */
.hx__facts .ta-logo, .reserve__rating .ta-logo { color: #00a36c; }
.reserve__rating--ta { margin-top: 6px; }
.footer-ta__award { display: block; margin-top: 2px; font-size: .78rem; letter-spacing: .02em; opacity: .85; }

/* ---------- v1.9.21: the entrance, in "Find us" ---------- */
.visit-x__door { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; }
.visit-x__door img { flex: 0 0 auto; width: 104px; height: 130px; object-fit: cover; border-radius: var(--r-md, 10px); box-shadow: 0 8px 22px rgba(40, 20, 10, .16); }
.visit-x__door figcaption { font-size: .95rem; line-height: 1.5; color: var(--muted); max-width: 22em; }

/* v1.9.23: summary shown after a booking is sent (replaces the form), and the
   submit button while the booking is on its way. */
.res-done { padding: 18px 20px; line-height: 1.55; }
.res-done:focus { outline: none; }
.res-done p { margin: 0 0 .6em; }
.res-done p:last-child { margin-bottom: 0; }
.res-done__title { font-size: 1.15rem; font-weight: 700; }
.res-done__what { font-weight: 600; font-size: 1.02rem; }
.res-done a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.res-done__again { padding-top: .4em; border-top: 1px solid rgba(31, 107, 44, .18); }
.reserve__submit.is-sending { opacity: .65; cursor: progress; }
