/* The chrome: utility bar, sticky header, hall panels, search, halls sheet, phone bottom bar, footer. */

/* ---------- Utility bar: the four promises on ink ---------- */
.utility { position: relative; z-index: calc(var(--z-header) + 1); background: var(--ink); color: var(--on-ink-2); }
.utility__list {
	list-style: none; margin: 0 auto; padding: 0;
	width: min(100% - 2 * var(--gutter), var(--page-max)); height: var(--utility-h);
	display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px);
}
.utility__item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.utility__item .icon { width: 16px; height: 16px; color: var(--accent); }
/* Phones: one promise at a time, a calm cross-fade (lintel.js turns them). */
@media (max-width: 820px) {
	.utility__list { display: grid; place-items: center; }
	.utility__item { grid-area: 1 / 1; font-size: 0.8125rem; opacity: 0; transform: translateY(6px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
	.utility__item.is-on { opacity: 1; transform: none; transition-delay: 120ms; }
	.utility__item:not(.is-on) { transition-duration: var(--dur-2); transition-timing-function: var(--ease-in); }
}

/* ---------- Header ----------
 * Sticky with a negative top: once stuck, its top (header-h − header-tight) slides above the screen,
 * so the bar tightens without changing the page's layout. lintel.js adds .is-tight once stuck.
 */
.lintel {
	position: sticky; top: calc(var(--header-tight) - var(--header-h)); z-index: var(--z-header);
	height: var(--header-h);
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.lintel.is-tight { border-bottom-color: var(--hairline); box-shadow: 0 8px 24px -18px rgb(16 24 40 / 0.35); }
.lintel__inner {
	width: min(100% - 2 * var(--gutter), var(--page-max)); height: 100%; margin-inline: auto;
	display: flex; align-items: center; gap: clamp(12px, 2vw, 32px);
	transition: transform var(--dur-3) var(--ease-out);
}
.lintel.is-tight .lintel__inner { transform: translateY(calc((var(--header-h) - var(--header-tight)) / 2)); }
.lintel__logo { flex: none; display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-radius: var(--r-xs); text-decoration: none; }
.lintel__logo-img { display: block; height: 30px; width: auto; transform-origin: left center; transition: transform var(--dur-3) var(--ease-out); }
.lintel.is-tight .lintel__logo-img { transform: scale(0.9); }

/* The six halls and Packs. A blue line grows under the hall you point at and stays under the current one. */
/* Each hall item spans the full header height, so the pointer never leaves it on the way down to its panel. */
.lintel__nav { min-width: 0; align-self: stretch; }
.lintel__halls { list-style: none; display: flex; align-items: stretch; gap: 2px; height: 100%; margin: 0; padding: 0; }
.lintel__item { position: static; display: flex; align-items: center; }
.lintel__hall {
	position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 clamp(8px, 0.85vw, 14px);
	border-radius: var(--r-pill); font-size: 0.9375rem; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap;
	transition: color var(--dur-1) var(--ease-out);
}
.lintel__hall::after {
	content: ""; position: absolute; left: clamp(8px, 0.85vw, 14px); right: clamp(8px, 0.85vw, 14px); bottom: 6px; height: 2px; border-radius: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: center;
	transition: transform var(--dur-2) var(--ease-out);
}
.lintel__item:hover > .lintel__hall::after, .lintel__item:focus-within > .lintel__hall::after, .lintel__hall[aria-current="page"]::after { transform: scaleX(1); }
.lintel__hall[aria-current="page"] { color: var(--action); }
.lintel__hall:focus-visible { outline-offset: -2px; }

/* Hall panel: families, facets and the hall's showpiece; opens under the header on hover (with intent) or focus. */
.mega {
	position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-mega);
	padding: var(--s-6) 0 var(--s-7);
	background: var(--paper); border-top: 1px solid var(--hairline);
	box-shadow: 0 32px 48px -28px rgb(16 24 40 / 0.28);
	opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity var(--dur-2) var(--ease-in), transform var(--dur-2) var(--ease-in), visibility 0s linear var(--dur-2);
}
.lintel__item:hover > .mega, .lintel__item:focus-within > .mega {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity var(--dur-3) var(--ease-out) 120ms, transform var(--dur-3) var(--ease-out) 120ms, visibility 0s linear 120ms;
}
/* The 120 ms wait is hover intent. Focus opens at once, so a quick Tab from the hall link still lands on its first tile. */
.lintel__item:focus-within > .mega { transition-delay: 0s; }
/* Left to right: the hall's ranges as tiles (a cut-out on a mist well, the live count and starting price; three to a
   row at most), the other facets as text, the showpiece. Tiles pull 10 px left so their wells line up with the labels. */
.mega__inner { width: min(100% - 2 * var(--gutter), var(--page-max)); margin-inline: auto; display: flex; align-items: flex-start; gap: var(--s-7); }
.mega__main { flex: 1 1 0; min-width: 0; }
.mega__label { margin: 0 0 var(--s-3); font-size: var(--text-sm); font-weight: 700; color: var(--muted); }
.mega__ranges {
	list-style: none; margin: 0 0 0 -10px; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(max(200px, (100% - 2 * 8px) / 3), 1fr)); gap: 4px 8px;
}
.mega__ranges > li { container: mrange / inline-size; min-width: 0; }
.mega__range {
	display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 10px; border-radius: var(--r-md);
	color: var(--ink); text-decoration: none;
	transition: background-color var(--dur-2) var(--ease-out);
}
.mega__range-well { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--mist); transition: background-color var(--dur-2) var(--ease-out); }
.mega__range-well img { width: auto; height: auto; max-width: 84%; max-height: 84%; object-fit: contain; filter: drop-shadow(0 3px 4px rgb(16 24 40 / 0.14)); transition: transform var(--dur-3) var(--ease-out); }
.mega__range-text { min-width: 0; display: grid; gap: 3px; }
.mega__range-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.25; letter-spacing: var(--tracking-tight); }
.mega__range-meta { font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.mega__range-meta .num { font-weight: 500; color: var(--ink-2); }
.mega__range-part { white-space: nowrap; }
/* A narrow tile puts the count and the price on two lines; a product tile always does (its model, then its price). */
@container mrange (max-width: 279px) { .mega__range-dot { display: none; } .mega__range-part { display: block; } }
@container mrange (max-width: 239px) {
	.mega__range { gap: 12px; }
	.mega__range-well { width: 56px; height: 56px; }
	.mega__range-name { font-size: 0.9375rem; }
}
.mega__inner--product .mega__range-dot { display: none; }
.mega__inner--product .mega__range-part { display: block; overflow: hidden; text-overflow: ellipsis; }
.mega__inner--product .mega__range-part.num { font-weight: 600; color: var(--ink); }
.mega__inner--product .mega__range-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: 0.9375rem; }
@media (hover: hover) {
	.mega__range:hover { background: var(--mist); }
	.mega__range:hover .mega__range-well { background: var(--paper); }
	.mega__range:hover img { transform: translateY(-2px) scale(1.06); }
}
.mega__range:active { background: var(--mist-2); }
.mega__range:focus-visible { outline-offset: 0; }
.mega__all { margin-top: var(--s-3); }
/* A lone last tile (seven families): the hall link takes the two free cells beside it, on the tile's centre line,
   its arrow lined up with the wells above. */
.mega__ranges > .mega__ranges-all { grid-column: span 2; container: none; display: flex; align-items: center; padding-left: 10px; }
.mega__ranges-all .mega__all { margin-top: 0; }
.mega__facets { flex: none; display: flex; gap: clamp(32px, 3.4vw, 56px); }
.mega__facet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__facet a { display: inline-flex; align-items: center; min-height: 32px; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: var(--tracking-tight); color: var(--ink); text-decoration: none; transition: color var(--dur-1) var(--ease-out); }
.mega__facet a:hover { color: var(--action); }
.mega__piece { flex: none; width: 380px; display: grid; grid-template-columns: 148px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-3); padding-right: var(--s-5); background: var(--mist); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: background-color var(--dur-2) var(--ease-out); }
.mega__piece:hover { background: var(--mist-2); }
.mega__piece-well { display: grid; place-items: center; width: 148px; aspect-ratio: 1; }
.mega__piece img { width: auto; height: auto; max-width: 88%; max-height: 88%; object-fit: contain; filter: drop-shadow(var(--shadow-rest)); transition: transform var(--dur-3) var(--ease-out), filter var(--dur-3) var(--ease-out); }
.mega__piece:hover img { transform: translateY(-6px) scale(1.04); filter: drop-shadow(var(--shadow-lift)); }
.mega__piece-text { min-width: 0; display: grid; gap: 4px; }
.mega__piece-name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.2; letter-spacing: var(--tracking-tight); }
.mega__piece-maker { font-size: var(--text-sm); font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega__piece .price { margin-top: 8px; font-size: 1.25rem; }
/* Narrower desktops (the bar's compact form, search behind its button): the panel keeps to its tiles and facets,
   three tiles to a row; the showpiece returns from 1360 px. */
@media (max-width: 1359px) { .mega__piece { display: none; } }

/* Tools: search, WhatsApp, cart, menu. */
.lintel__tools { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.lintel__tool {
	position: relative; flex: none; width: 44px; height: 44px;
	display: grid; place-items: center;
	border: 0; border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
	transition: background-color var(--dur-1) var(--ease-out), transform var(--dur-2) var(--ease-spring);
}
.lintel__tool .icon { width: 24px; height: 24px; }
@media (hover: hover) { .lintel__tool:hover { background: var(--mist); } }
.lintel__tool:active { transform: scale(0.92); }
.lintel__wa { --btn-h: 44px; padding-inline: 1em 1.15em; }
.twomag-cart-count {
	position: absolute; top: 1px; right: -1px;
	min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	display: grid; place-items: center;
	background: var(--action); color: var(--on-action);
	font: 600 0.6875rem/1 var(--font-display); font-variant-numeric: tabular-nums;
	box-shadow: 0 0 0 2px var(--paper);
	animation: twomag-count-in var(--dur-3) var(--ease-spring);
}
.twomag-cart-count[data-count="0"] { display: none; }
@keyframes twomag-count-in { from { transform: scale(0.4); opacity: 0; } }
.lintel__cart.is-bumped .icon { animation: twomag-bump 560ms var(--ease-spring); }
@keyframes twomag-bump { 0% { transform: none; } 30% { transform: translateY(-3px) rotate(-8deg) scale(1.08); } 100% { transform: none; } }

/* Search: inline field from 1360 px (below that the six halls and Packs need the room). */
.lintel__search { position: relative; width: clamp(200px, 14.4vw, 280px); }
.lintel__search-field { position: relative; display: flex; align-items: center; }
.lintel__search input[type="search"] {
	width: 100%; height: 44px; padding: 0 16px 0 44px;
	background: var(--mist); color: var(--ink);
	border: 1.5px solid transparent; border-radius: var(--r-pill);
	font-size: var(--text-base); font-weight: 500;
	-webkit-appearance: none; appearance: none;
	transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.lintel__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (hover: hover) { .lintel__search input[type="search"]:hover { background: var(--mist-2); } }
.lintel__search input[type="search"]:focus { outline: none; background: var(--paper); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lintel__search-icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.lintel__search-close { display: none; }
.lintel__search-toggle { display: none; }

/* Below 1360 px the field becomes a row under the header, opened by the search button. */
@media (max-width: 1359px) {
	.lintel__search-toggle { display: grid; }
	.lintel__search {
		position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-search); width: auto;
		padding: var(--s-3) var(--gutter) var(--s-4);
		background: var(--paper); border-top: 1px solid var(--hairline);
		box-shadow: 0 28px 40px -28px rgb(16 24 40 / 0.35);
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity var(--dur-2) var(--ease-in), transform var(--dur-2) var(--ease-in), visibility 0s linear var(--dur-2);
	}
	.lintel.is-search-open .lintel__search { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s; }
	.lintel__search-field, .lintel__search .search-drop { max-width: 720px; margin-inline: auto; }
	.lintel__search input[type="search"] { height: 48px; padding-right: 52px; background: var(--mist); }
	.lintel__search-close { position: absolute; right: 2px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
	.lintel__search-close:hover { background: var(--mist-2); color: var(--ink); }
	.lintel__search-close .icon { width: 20px; height: 20px; }
	.lintel.is-search-open .lintel__search-toggle { background: var(--mist); }
}
@media (max-width: 1179px) {
	.lintel__wa { width: 44px; height: 44px; min-height: 44px; padding: 0; }
	.lintel__wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.lintel__menu { display: none; }
/* Wide desktops (inline search): the comp's header. The halls start a step clear of the logo; WhatsApp is the plain
   blue pill with its word, the glyph kept for the narrower headers where the word steps out. */
@media (min-width: 1360px) {
	.lintel__nav { margin-left: clamp(0px, 1.45vw, 24px); }
	.lintel__tools { margin-right: -5px; } /* the cart glyph's edge, not its 44 px target, meets the card's edge */
	.lintel__cart { margin-left: -6px; } /* the comp's narrower step from WhatsApp to the cart */
	.lintel__wa { padding-inline: 1.3em; }
	.lintel__wa .icon { display: none; }
	.lintel__search input[type="search"] { letter-spacing: -0.02em; }
	/* The comp's quiet placeholder, as light as it can go and still hold 4.5:1 on the field's mist. */
	.lintel__search input[type="search"]::placeholder { color: #687079; }
}
/* The comp's 38 px pills are a mouse's target; a touch screen this wide (a large tablet, a touch laptop) keeps 44 px. */
@media (min-width: 1360px) and (pointer: fine) {
	.lintel__wa { --btn-h: 38px; }
	.lintel__search input[type="search"] { height: 38px; }
}
@media (max-width: 1023px) {
	.lintel__nav { display: none; }
	.lintel__menu { display: grid; }
	.lintel__wa { width: auto; padding-inline: 1em 1.15em; }
	.lintel__wa-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
	.lintel__logo-img { height: 28px; }
}
@media (max-width: 820px) {
	.lintel__wa { display: none; }
	.lintel__tools { gap: 2px; margin-right: -10px; }
	.lintel__logo-img { height: 26px; }
}

/* ---------- Halls sheet (menu on phones and tablets) ---------- */
.halls-sheet {
	position: fixed; inset: 0 0 0 auto; margin: 0;
	width: min(420px, 100vw); height: 100dvh; max-height: none;
	padding: 0 var(--s-5) calc(var(--s-6) + env(safe-area-inset-bottom));
	overflow-y: auto; overscroll-behavior: contain;
	background: var(--paper); color: var(--ink); border: 0;
	box-shadow: var(--shadow-pop);
	transform: translateX(100%);
	transition: transform var(--dur-3) var(--ease-in), overlay var(--dur-3) allow-discrete, display var(--dur-3) allow-discrete;
}
.halls-sheet:popover-open { transform: none; transition: transform var(--dur-4) var(--ease-out-expo), overlay var(--dur-4) allow-discrete, display var(--dur-4) allow-discrete; }
@starting-style { .halls-sheet:popover-open { transform: translateX(100%); } }
.halls-sheet::backdrop { background: rgb(0 0 0 / 0); transition: background-color var(--dur-3) var(--ease-out), overlay var(--dur-3) allow-discrete, display var(--dur-3) allow-discrete; }
.halls-sheet:popover-open::backdrop { background: rgb(0 0 0 / 0.42); }
@starting-style { .halls-sheet:popover-open::backdrop { background: rgb(0 0 0 / 0); } }
.halls-sheet__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 68px; margin-bottom: var(--s-2); background: var(--paper); }
.halls-sheet__logo { height: 26px; width: auto; }
.halls-sheet__close { width: 44px; height: 44px; margin-right: -6px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer; transition: background-color var(--dur-1) var(--ease-out); }
.halls-sheet__close:hover { background: var(--mist-2); }
.halls-sheet__close .icon { width: 20px; height: 20px; }
.halls-sheet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.halls-sheet__hall {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; align-content: center; column-gap: var(--s-4); align-items: center;
	min-height: 76px; padding: 6px var(--s-3) 6px 6px; border-radius: var(--r-md); background: var(--mist);
	text-decoration: none; color: var(--ink);
	transition: background-color var(--dur-1) var(--ease-out);
}
.halls-sheet__hall:hover { background: var(--mist-2); }
.halls-sheet__hall[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.halls-sheet__thumb { grid-row: 1 / 4; width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--paper); }
.halls-sheet__thumb img { width: 52px; height: 52px; object-fit: contain; }
.halls-sheet__name { align-self: end; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: var(--tracking-tight); line-height: 1.2; }
.halls-sheet__count { grid-column: 2; align-self: start; font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
/* The hall's live starting price under its count, as on the home tiles and the mega panels. */
.halls-sheet__from { grid-column: 2; align-self: start; font-size: var(--text-sm); font-weight: 600; line-height: 1.35; color: var(--muted); }
.halls-sheet__from .num { color: var(--ink-2); }
.halls-sheet__go { grid-column: 3; grid-row: 1 / 4; width: 20px; height: 20px; color: var(--muted); }
.halls-sheet__more { list-style: none; margin: var(--s-5) 0 var(--s-5); padding: 0; border-top: 1px solid var(--hairline); }
.halls-sheet__more a { display: flex; align-items: center; gap: var(--s-3); min-height: 52px; border-bottom: 1px solid var(--hairline); font-weight: 700; text-decoration: none; color: var(--ink); }
.halls-sheet__more a:hover { color: var(--action); }
.halls-sheet__more .icon { width: 22px; height: 22px; color: var(--accent); }
.halls-sheet__wa { --btn-h: 52px; }

/* ---------- Bottom bar (phones): order on WhatsApp, or add the product, and the cart ---------- */
.bottom-bar { display: none; }
@media (max-width: 820px) {
	/* Room for the bar: the ink footer runs on under it, so the page never ends on a white strip. */
	body.has-bottom-bar .foot__ink { padding-bottom: calc(var(--s-6) + var(--bottom-bar-h) + env(safe-area-inset-bottom)); }
	.bottom-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bottom-bar);
		display: flex; align-items: center; gap: var(--s-2);
		min-height: calc(var(--bottom-bar-h) + env(safe-area-inset-bottom));
		padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
		background: rgb(255 255 255 / 0.94);
		-webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
		border-top: 1px solid var(--hairline);
		transition: transform var(--dur-3) var(--ease-out);
	}
	.search-open .bottom-bar, .bottom-bar.is-tucked { transform: translateY(110%); }
	.bottom-bar__main { --btn-h: 52px; flex: 1; min-width: 0; padding-inline: 1em; }
	.bottom-bar__main span { overflow: hidden; text-overflow: ellipsis; }
	.bottom-bar__side { --btn-h: 52px; border-color: var(--hairline-strong); }
	.bottom-bar__side .icon { width: 24px; height: 24px; }
	.bottom-bar__cart {
		position: relative; flex: none; width: 52px; height: 52px;
		display: grid; place-items: center;
		border-radius: var(--r-sm); background: var(--ink); color: var(--on-ink); text-decoration: none;
		transition: transform var(--dur-2) var(--ease-spring), background-color var(--dur-1) var(--ease-out);
	}
	.bottom-bar__cart:active { transform: scale(0.94); }
	.bottom-bar__cart .icon { width: 24px; height: 24px; }
	.bottom-bar__cart .twomag-cart-count { top: -6px; right: -6px; box-shadow: 0 0 0 2px var(--paper); }
}
/* Landscape phones: 72 px would be a fifth of the screen and cover the content; the bar steps aside and the
   header carries the WhatsApp pill again (the cart is already there). --bottom-bar-h is 0 here (tokens.css). */
@media (max-width: 820px) and (orientation: landscape) and (max-height: 500px) {
	.bottom-bar { display: none; }
	.lintel__wa { display: inline-flex; }
}

/* ---------- Footer ---------- */
.foot { margin-top: var(--section-y); }
.foot__promises { border-top: 1px solid var(--hairline); }
.promises { list-style: none; margin: 0 auto; padding: var(--s-7) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.promises__item { display: flex; align-items: center; justify-content: center; gap: var(--s-3); }
.promises__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; color: var(--accent); }
.promises__icon .icon { width: 36px; height: 36px; stroke-width: 1.5; }
.promises__label { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: var(--tracking-tight); line-height: 1.2; }

.foot__ink { background: var(--ink); color: var(--on-ink-2); padding: var(--s-8) 0 var(--s-6); }
.foot__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr 1.35fr; gap: var(--s-7) var(--s-6); }
.foot__logo { display: inline-grid; place-items: center; width: 148px; height: 148px; padding: 20px; background: var(--paper); border-radius: var(--r-lg); transition: transform var(--dur-3) var(--ease-out); }
.foot__logo:hover { transform: translateY(-3px); }
.foot__logo:focus-visible { outline-offset: 4px; }
.foot__logo-img { width: 100%; height: auto; }
.foot__pay { display: flex; align-items: center; gap: 10px; margin: var(--s-5) 0 var(--s-2); color: var(--on-ink); font-weight: 700; }
.foot__pay .icon { width: 24px; height: 24px; color: var(--accent); }
.foot__title { margin-bottom: var(--s-3); font-size: 1rem; letter-spacing: 0; color: var(--on-ink); }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot__col a, .foot__line {
	display: inline-flex; align-items: center; min-height: 36px;
	color: var(--on-ink-2); text-decoration: none; font-size: 0.9375rem;
	transition: color var(--dur-1) var(--ease-out);
}
.foot__col a:hover, .foot__line:hover { color: var(--on-ink); text-decoration: underline; text-decoration-color: var(--accent); }
.foot__contact { font-style: normal; display: grid; align-content: start; justify-items: start; }
.foot__line { align-items: flex-start; gap: 10px; padding: 7px 0; line-height: 1.45; }
.foot__line .icon { margin-top: 1px; width: 20px; height: 20px; color: var(--accent); }
.foot__wa { --btn-h: 44px; margin-top: var(--s-3); }
.foot__wa .num { font-family: var(--font-display); font-weight: 500; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--ink-line); font-size: 0.8125rem; color: var(--on-ink-muted); }
.foot__base p { margin: 0; }
.foot :focus-visible { outline-color: var(--accent); }

@media (max-width: 1179px) {
	.foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.foot__brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
	.foot__logo { width: 128px; height: 128px; }
	.foot__pay { margin: 0; }
	.foot__contact { grid-column: 1 / -1; grid-template-columns: repeat(2, auto); column-gap: var(--s-6); justify-content: start; }
	.foot__contact .foot__title { grid-column: 1 / -1; }
}
@media (max-width: 1179px) {
	.promises { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--s-6) 0; row-gap: var(--s-4); }
}
@media (max-width: 1023px) {
	.promises__item { justify-content: flex-start; }
}
@media (max-width: 767px) {
	.promises { gap: var(--s-5) var(--s-3); }
	.promises__item { flex-direction: column; justify-content: flex-start; gap: var(--s-2); text-align: center; }
	.promises__icon { width: 40px; height: 40px; }
	.promises__icon .icon { width: 32px; height: 32px; }
	.promises__label { font-size: 0.9375rem; }
	.foot__ink { padding-top: var(--s-7); }
	.foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
	.foot__brand { gap: var(--s-4); }
	.foot__logo { width: 104px; height: 104px; padding: 14px; border-radius: var(--r-md); }
	.foot__col a { min-height: 44px; }
	.foot__contact { grid-template-columns: 1fr; }
	.foot__line { min-height: 44px; }
	.foot__base { flex-direction: column; margin-top: var(--s-6); }
}
/* Any touch screen (tablets included): footer rows are 44 px targets. */
@media (pointer: coarse) { .foot__col a, .foot__line { min-height: 44px; } }
