/* ==========================================================================
   Escalera 05 — main stylesheet
   Brand: red #EE0616 · ink #0F0F10 · warm off-white · Manrope + Inter (self-hosted)
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
	font-weight: 400 800;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	font-weight: 400 800;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-cyrillic.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--red: #ee0616;
	--red-600: #c80010;
	--red-050: #fff0f1;
	--ink: #0f0f10;
	--ink-2: #1b1b1e;
	--ink-3: #2a2a2e;
	--text: #2b2c31;
	--muted: #63656d;
	--line: #e8e5e1;
	--soft: #f3f1ee;
	--bg: #fbfaf8;
	--white: #fff;

	--r-xl: 36px;
	--r-lg: 28px;
	--r-md: 20px;
	--r-sm: 14px;
	--pill: 999px;

	--shadow-sm: 0 1px 2px rgb(15 15 16 / .06), 0 4px 12px rgb(15 15 16 / .04);
	--shadow: 0 2px 6px rgb(15 15 16 / .05), 0 18px 40px -12px rgb(15 15 16 / .14);
	--shadow-lg: 0 30px 80px -20px rgb(15 15 16 / .35);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--frame: clamp(8px, 1.2vw, 14px);
	--header-h: 72px;
	--ease: cubic-bezier(.22, 1, .36, 1);

	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	left: 16px; top: 16px; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: var(--pill);
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { flex: none; }

/* ---------- Type helpers ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--red); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }
@media (max-width: 600px) { .eyebrow--glass { font-size: 12.5px; } }
.eyebrow--glass {
	color: #fff; padding: 8px 16px 8px 12px; border-radius: var(--pill);
	background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500;
}
.eyebrow--glass::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgb(238 6 22 / .25); }

.h-section { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -.035em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
	--bh: 50px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: var(--bh); padding: 0 24px; border-radius: var(--pill);
	border: 1px solid transparent; font-weight: 600; font-size: 15.5px; line-height: 1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --bh: 58px; padding: 0 10px 0 28px; font-size: 16.5px; }
.btn--lg:not(:has(.btn__icon)) { padding: 0 28px; }
.btn__icon {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	margin-right: -14px; transition: transform .35s var(--ease);
}
.btn--lg .btn__icon { margin-right: 0; }
.btn:hover .btn__icon { transform: rotate(45deg); }
.btn:hover .btn__icon:has(.icon-arrow) { transform: translateX(3px); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgb(238 6 22 / .7); }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--primary .btn__icon { background: rgb(255 255 255 / .18); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--dark .btn__icon { background: var(--red); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); box-shadow: var(--shadow); }
.btn--light .btn__icon { background: var(--red); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--outline .btn__icon { background: var(--soft); }
.btn--ghost { background: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--ink); background: var(--soft); }
.btn--glass {
	color: #fff; background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .28);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgb(255 255 255 / .2); color: #fff; }

.link-btn { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.link-btn:hover { color: #fff; }
.icon-btn {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: var(--soft); color: var(--ink);
}
.icon-btn:hover { background: var(--line); }

.badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
	border-radius: var(--pill); background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12);
	font-size: 13.5px; font-weight: 500; color: #fff;
}
.badge .icon { color: var(--red); }

/* ==========================================================================
   Header — floating pill
   ========================================================================== */
.site-header {
	position: fixed; z-index: 100; inset: 0 0 auto;
	padding: calc(var(--frame) + 6px) var(--gutter) 0;
	pointer-events: none;
	transition: padding .35s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.pill {
	pointer-events: auto;
	position: relative;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	max-width: var(--container); height: var(--header-h); margin-inline: auto;
	padding: 0 10px 0 22px;
	border-radius: var(--pill);
	background: rgb(255 255 255 / .9);
	border: 1px solid rgb(255 255 255 / .7);
	box-shadow: 0 1px 0 rgb(15 15 16 / .04), 0 10px 40px -12px rgb(15 15 16 / .22);
	backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
	transition: height .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .pill { --header-h: 64px; background: rgb(255 255 255 / .92); }

.pill__brand { justify-self: start; display: flex; align-items: center; }
.pill__brand img { width: auto; height: 46px; max-width: 150px; object-fit: contain; transition: height .35s var(--ease); }
.is-scrolled .pill__brand img { height: 40px; }

.pill__nav { justify-self: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list a {
	display: flex; align-items: center; gap: 6px;
	padding: 10px 16px; border-radius: var(--pill);
	font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
	transition: background-color .2s, color .2s;
}
.nav-list a:hover { background: var(--soft); color: var(--ink); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a { background: var(--ink); color: #fff; }

/* Dropdowns */
.nav-list .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% + 12px); left: 50%; min-width: 240px;
	background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-list .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-list .sub-menu a { border-radius: var(--r-sm); }
.nav-list .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid;
	transform: rotate(45deg) translateY(-2px); opacity: .6;
}

.pill__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.pill__drawer-extra { display: none; }

/* Language switcher (TranslatePress) */
.lang-switch {
	display: inline-flex; padding: 4px; gap: 2px;
	border-radius: var(--pill); background: var(--soft); border: 1px solid var(--line);
}
.lang-switch__item {
	display: grid; place-items: center; min-width: 46px; height: 44px; padding: 0 12px;
	border-radius: var(--pill); font-size: 13.5px; font-weight: 700; letter-spacing: .04em;
	color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s;
}
.lang-switch__item:hover { color: var(--ink); background: #fff; }
.lang-switch__item.is-current { background: var(--ink); color: #fff; }

.pill__toggle {
	display: none; width: 52px; height: 52px; border-radius: 50%; border: 0;
	background: var(--ink); color: #fff; place-content: center; gap: 6px;
}
.pill__toggle-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-open .pill__toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .pill__toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
	:root { --header-h: 64px; }
	.pill { grid-template-columns: 1fr auto; padding: 0 6px 0 18px; }
	.pill__brand img { height: 40px; }
	.pill__toggle { display: grid; }
	.pill__end .lang-switch__item { min-width: 40px; height: 40px; padding: 0 10px; font-size: 12.5px; }
	.pill__drawer-extra .lang-switch { display: none; }
	.pill__nav {
		position: absolute; top: calc(100% + 10px); left: 0; right: 0; justify-self: stretch;
		padding: 14px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg);
		max-height: calc(100svh - 120px); overflow: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
		transition: opacity .25s, transform .3s var(--ease), visibility .25s;
	}
	.nav-open .pill__nav { opacity: 1; visibility: visible; transform: none; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
	.nav-list a { padding: 16px 18px; font-size: 18px; border-radius: var(--r-md); }
	.nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
	.nav-list .menu-item-has-children > a::after { display: none; }
	.pill__drawer-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 4px; margin-top: 10px; border-top: 1px solid var(--line); }
	.nav-open body { overflow: hidden; }
	.nav-open .cc { visibility: hidden; }
}
@media (max-width: 380px) {
	.pill__drawer-extra .btn { width: 100%; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(20px, 3vw, 36px); }
.section--top0 { padding-top: 0; }
.section--flush { padding-bottom: clamp(32px, 4vw, 56px); }
.section--soft { background: var(--soft); border-radius: var(--r-xl); margin-inline: var(--frame); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.section-head--row .h-section { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { padding: var(--frame); }
.hero__card {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(620px, 100svh - var(--frame) * 2, 980px);
	border-radius: var(--r-xl);
	background: var(--ink);
	display: flex; align-items: flex-end;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 18s var(--ease) both; }
.hero__card::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgb(15 15 16 / .55) 0%, rgb(15 15 16 / 0) 26%),
		linear-gradient(25deg, rgb(15 15 16 / .92) 8%, rgb(15 15 16 / .55) 46%, rgb(15 15 16 / .05) 80%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { padding-top: 140px; padding-bottom: clamp(40px, 7vw, 88px); color: #fff; }
.hero__title {
	color: #fff; max-width: 15ch;
	font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 750; line-height: .98; letter-spacing: -.045em;
	margin-bottom: 24px;
}
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgb(255 255 255 / .82); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stats {
	position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
	display: flex; gap: 8px; padding: 8px; border-radius: var(--r-lg);
	background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18);
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; border-radius: var(--r-md); }
.hero__stats .stat { background: rgb(255 255 255 / .08); color: #fff; min-width: 150px; }
.stat__num, .marquee__track, .bento__title, .bento__num, .service-row__num, .footer-contact__big, .error-404__code, .cc__title, .cc-cat__title, .notice__title, .footer-title, .card__title, .btn { font-family: var(--font-display); }
.stat__num { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 750; line-height: 1; letter-spacing: -.04em; }
.stat__label { font-size: 13.5px; line-height: 1.35; opacity: .8; }
.hero__stats .stat:first-child .stat__num { color: #fff; }
.hero__stats .stat:first-child { background: var(--red); }

@media (max-width: 900px) {
	.hero__card { flex-direction: column; align-items: stretch; justify-content: flex-end; }
	.hero__inner { padding-bottom: 24px; }
	.hero__stats { position: relative; inset: auto; margin: 0 var(--gutter) var(--gutter); align-self: flex-start; }
	.hero__stats .stat { min-width: 0; padding: 14px 18px; }
}

/* ---------- Notice ---------- */
.notice {
	display: flex; gap: 18px; align-items: flex-start;
	padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg);
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.notice__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--red-050); color: var(--red); }
.notice__title { font-weight: 700; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.notice__text { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 48px); border-block: 1px solid var(--line); margin-top: clamp(20px, 3vw, 36px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span:not(.marquee__dot) {
	font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1.2px var(--ink);
}
.marquee__track span:nth-child(4n+1) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split + bento ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__intro .lead { margin-bottom: 30px; }

.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, clamp(150px, 15vw, 200px)); gap: 14px; }
.bento__item:nth-child(1) { grid-row: 1 / 3; }
.bento__item:nth-child(3) { grid-row: 2 / 4; }
.bento__item {
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; text-decoration: none;
}
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.bento__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 15 16 / .1) 20%, rgb(15 15 16 / .85)); transition: background-color .4s; }
.bento__item:hover { color: #fff; }
.bento__item:hover img { transform: scale(1.06); }
.bento__num { position: absolute; top: 18px; left: 22px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--pill); background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bento__title { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 650; line-height: 1.2; max-width: 16ch; letter-spacing: -.02em; }
.bento__arrow { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.bento__item:hover .bento__arrow { background: var(--red); color: #fff; transform: rotate(45deg); }

@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
	.bento__item:nth-child(n) { grid-row: auto; }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
	position: relative; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: #fff;
	border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red-050); color: var(--red); margin-bottom: 26px; }
.feature__title { font-size: 1.45rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); }
.feature__check { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* ---------- Partner (image collage) ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.partner__media { position: relative; aspect-ratio: 1 / .95; }
.partner__img { position: absolute; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.partner__img--a { inset: 0 22% 18% 0; width: 78%; height: 82%; }
.partner__img--b { right: 0; bottom: 0; width: 52%; height: 52%; border: 8px solid var(--bg); border-radius: 40px; }
.partner__badge {
	position: absolute; left: 6%; bottom: 4%; display: flex; flex-direction: column; gap: 2px; max-width: 200px;
	padding: 16px 20px; border-radius: var(--r-md); background: var(--red); color: #fff; font-size: 13px; line-height: 1.35;
	box-shadow: 0 16px 36px -14px rgb(238 6 22 / .8);
}
.partner__badge strong { font-size: 26px; letter-spacing: -.03em; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--ink); }
.checklist .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--red); color: #fff; }
.stats-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stat--dark { background: var(--ink); color: #fff; min-width: 170px; }
.stat--dark:first-child { background: var(--soft); color: var(--ink); }
.stat--dark:first-child .stat__num { color: var(--red); }
@media (max-width: 900px) { .partner { grid-template-columns: 1fr; } }

/* ---------- Gallery rail ---------- */
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 32vw, 420px); gap: 14px;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 20px;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
	scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail__item { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: start; background: var(--soft); }
.rail__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rail__item:hover img { transform: scale(1.05); }

/* ---------- Contact panel ---------- */
.contact-panel {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px; padding: 10px;
	border-radius: var(--r-xl); background: var(--ink); color: rgb(255 255 255 / .78);
}
.contact-panel__info { padding: clamp(24px, 4vw, 48px); }
.contact-panel__title { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.035em; }
.contact-panel__lead { margin-bottom: 30px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .07); }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; }
.contact-list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: var(--red); }
.contact-panel__form { background: #fff; color: var(--text); border-radius: calc(var(--r-xl) - 8px); padding: clamp(24px, 4vw, 48px); }
.form-note { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .contact-panel { grid-template-columns: 1fr; } }

/* ---------- Contact Form 7 (works with the existing form markup) ---------- */
.wpcf7 form { position: relative; }
.wpcf7 form p { margin: 0; }
.wpcf7 .row, .wpcf7 .contact-form-box > .row, .esc-form-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0;
}
.wpcf7 [class*="col-"] { grid-column: span 1; padding: 0; max-width: none; width: auto; }
.wpcf7 .col-12, .wpcf7 .esc-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .wpcf7 .row, .esc-form-grid { grid-template-columns: 1fr; } .wpcf7 [class*="col-"] { grid-column: 1 / -1; } }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; min-height: 56px; padding: 15px 22px;
	border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg);
	font: inherit; font-size: 16px; color: var(--ink);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
	appearance: none;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #8b8d94; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgb(15 15 16 / .06); }
.wpcf7 .wpcf7-not-valid { border-color: var(--red) !important; background: var(--red-050) !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; padding-left: 8px; font-size: 13px; color: var(--red); font-weight: 500; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { accent-color: var(--red); width: 18px; height: 18px; }
.wpcf7-list-item { margin: 0 14px 0 0; }
.wpcf7-acceptance { font-size: 14px; color: var(--muted); }
.wpcf7 button[type="submit"], .wpcf7 input[type="submit"], .wpcf7 .contact-item-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 58px; padding: 0 34px; border: 0; border-radius: var(--pill);
	background: var(--red); color: #fff; font: inherit; font-weight: 600; font-size: 16.5px; cursor: pointer;
	box-shadow: 0 10px 24px -10px rgb(238 6 22 / .7);
	transition: background-color .25s, transform .25s var(--ease);
}
.wpcf7 button[type="submit"]::after, .wpcf7 .contact-item-btn::after { content: "→"; font-size: 18px; transition: transform .3s var(--ease); }
.wpcf7 button[type="submit"]:hover, .wpcf7 input[type="submit"]:hover { background: var(--red-600); transform: translateY(-2px); }
.wpcf7 button[type="submit"]:hover::after { transform: translateX(4px); }
.wpcf7 .wpcf7-spinner { display: none; }
.wpcf7 form.submitting button[type="submit"], .wpcf7 form.submitting input[type="submit"] { opacity: .65; pointer-events: none; }
.wpcf7 form.submitting button[type="submit"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wpcf7 form .wpcf7-response-output:empty { display: none; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--line); font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #b7e3c6; background: #effaf3; color: #17663a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #f6c2c6; background: var(--red-050); color: #9b0010; }
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; }
.wpcf7 .hidden-fields-container { display: none; }
.form-shell--fallback { display: grid; gap: 14px; justify-items: start; }

/* ---------- Consent-gated embed (Google Maps) ---------- */
.consent-embed { position: relative; margin-top: 14px; border-radius: var(--r-xl); overflow: hidden; background: var(--soft); aspect-ratio: 21 / 8; min-height: 320px; }
.consent-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25); }
.consent-embed__placeholder {
	position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px;
	background: radial-gradient(circle at 50% 40%, #fff 0, var(--soft) 70%);
}
.consent-embed__placeholder p { max-width: 420px; color: var(--muted); margin: 0; font-size: 15px; }
.consent-embed__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; }
.consent-embed.is-loaded .consent-embed__placeholder { display: none; }
.consent-embed:not(.is-loaded) iframe { visibility: hidden; }

/* ---------- CTA ---------- */
.cta {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
	padding: clamp(32px, 5vw, 64px); border-radius: var(--r-xl); color: rgb(255 255 255 / .85);
	background: var(--red);
}
.cta::before {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background:
		radial-gradient(600px 300px at 100% 0%, rgb(255 255 255 / .22), transparent 60%),
		radial-gradient(500px 300px at 0% 100%, rgb(0 0 0 / .25), transparent 60%),
		repeating-linear-gradient(135deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 22px);
}
.cta__text { max-width: 620px; }
.cta__title { color: #fff; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.04em; margin-bottom: 10px; }
.cta__text p:last-child { margin: 0; }
.cta .eyebrow--light::before { background: #fff; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: var(--frame); }
.page-hero__card {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(360px, 46vh, 520px); display: flex; align-items: flex-end;
	border-radius: var(--r-xl); background: var(--soft);
}
.page-hero__card::after {
	content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgb(238 6 22 / .16), transparent 70%);
}
.page-hero__inner { padding-top: 140px; padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; max-width: 18ch; margin-bottom: 14px; }
.page-hero__lead { max-width: 640px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); margin: 0; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero--image .page-hero__card { background: var(--ink); }
.page-hero--image .page-hero__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, rgb(15 15 16 / .9) 10%, rgb(15 15 16 / .35) 70%); }
.page-hero--image .page-hero__title { color: #fff; }
.page-hero--image .page-hero__lead { color: rgb(255 255 255 / .8); }
.page-hero--image .eyebrow { color: #fff; }
.page-hero--image .eyebrow::before { background: var(--red); }
.page-hero--image .crumbs { color: rgb(255 255 255 / .7); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-grid__text p:not(.lead):not(.eyebrow) { color: var(--muted); }
.about-grid__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 190px; padding: 26px; border-radius: var(--r-lg); background: var(--soft); color: var(--ink); }
.stat-card .stat__num { font-size: clamp(2.6rem, 4vw, 3.6rem); }
.stat-card--red { background: var(--red); color: #fff; }
.stat-card--dark { grid-column: 1 / -1; background: var(--ink); color: #fff; min-height: 150px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Services list ---------- */
.services-list { display: grid; gap: clamp(16px, 2vw, 24px); }
.service-row {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px;
	border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line);
}
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { position: relative; min-height: 340px; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; }
.service-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__num { position: absolute; left: 18px; bottom: 14px; font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: #fff; text-shadow: 0 6px 30px rgb(0 0 0 / .35); }
.service-row__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(22px, 4vw, 52px); }
.service-row__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red-050); color: var(--red); margin-bottom: 24px; }
.service-row__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.035em; }
.service-row .lead { margin-bottom: 26px; }
@media (max-width: 860px) {
	.service-row { grid-template-columns: 1fr; }
	.service-row:nth-child(even) .service-row__media { order: 0; }
	.service-row__media { min-height: 240px; }
}

/* ---------- Gallery masonry ---------- */
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry__item { position: relative; display: block; margin-bottom: 14px; border-radius: var(--r-lg); overflow: hidden; break-inside: avoid; background: var(--soft); }
.masonry__item:nth-child(3n+2) img { aspect-ratio: 3 / 4; object-fit: cover; }
.masonry__item img { width: 100%; transition: transform .8s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.masonry__item:hover .masonry__zoom, .masonry__item:focus-visible .masonry__zoom { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 10 11 / .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 84dvh; border-radius: var(--r-lg); object-fit: contain; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .08); color: #fff; font-size: 24px; line-height: 1; backdrop-filter: blur(8px); }
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 20px; right: 20px; font-size: 30px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; font-size: 14px; padding: 6px 14px; border-radius: var(--pill); background: rgb(255 255 255 / .1); }
@media (max-width: 600px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; translate: none; } .lightbox__count { bottom: 30px; } }

/* ---------- Generic content ---------- */
.entry-content { font-size: 18px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.5em; }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--r-lg); }
.entry-content a { color: var(--red); }
.entry-content blockquote { margin: 1.5em 0; padding: 24px 28px; border-radius: var(--r-lg); background: var(--soft); border-left: 4px solid var(--red); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card__media img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.card__body { display: grid; gap: 8px; padding: 22px 24px 26px; }
.card__meta { font-size: 13px; color: var(--muted); }
.card__title { font-size: 1.25rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.card__excerpt { color: var(--muted); font-size: 15.5px; }
.pagination .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

.error-404__card { max-width: 720px; margin: 80px auto 0; text-align: center; padding: clamp(32px, 6vw, 72px); border-radius: var(--r-xl); background: var(--soft); }
.error-404__code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -.07em; line-height: 1; color: var(--red); margin-bottom: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 0 var(--frame) var(--frame); }
.footer-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: rgb(255 255 255 / .62); padding-top: clamp(48px, 7vw, 96px); }
.footer-panel::before { content: ""; position: absolute; left: -200px; top: -260px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgb(238 6 22 / .18), transparent 65%); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: clamp(28px, 4vw, 56px); }
.footer-logo { display: inline-block; padding: 12px 18px; border-radius: var(--r-md); background: #fff; margin-bottom: 22px; }
.footer-logo img { height: 52px; width: auto; }
.footer-brand p { max-width: 340px; font-size: 15.5px; }
.footer-title { color: #fff; font-weight: 650; font-size: 15px; letter-spacing: .02em; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-links .current-menu-item a { color: #fff; }
.footer-contact__big { display: block; color: #fff; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 650; letter-spacing: -.02em; text-decoration: none; margin-bottom: 6px; word-break: break-word; }
.footer-contact__big:hover { color: var(--red); }
.footer-meta { display: flex; gap: 10px; align-items: center; font-size: 15px; margin: 12px 0 0; }
.footer-meta .icon { color: var(--red); }
.social { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-top: 18px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; transition: background-color .25s; }
.social:hover { background: var(--red); color: #fff; }
.footer-bottom { position: relative; margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cc { position: fixed; z-index: 200; left: var(--gutter); bottom: var(--gutter); width: min(600px, calc(100vw - var(--gutter) * 2)); animation: ccIn .5s var(--ease) both; }
.cc[hidden] { display: none; }
@keyframes ccIn { from { opacity: 0; transform: translateY(20px); } }
.cc__card { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.cc__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red-050); color: var(--red); }
.cc__title { font-weight: 700; color: var(--ink); margin: 2px 0 4px; font-size: 17px; }
.cc__text { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.cc__text a { color: var(--ink); font-weight: 600; }
.cc__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
@media (max-width: 520px) {
	.cc { left: 8px; right: 8px; bottom: 8px; width: auto; }
	.cc__card { grid-template-columns: 1fr; }
	.cc__icon { display: none; }
	.cc__actions { display: grid; grid-template-columns: 1fr 1fr; }
	.cc__actions [data-cc="settings"] { grid-column: 1 / -1; order: 2; }
}

.cc-dialog { width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.cc-dialog::backdrop { background: rgb(15 15 16 / .55); backdrop-filter: blur(4px); }
.cc-dialog__inner { padding: clamp(22px, 4vw, 34px); }
.cc-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.cc-dialog__head h2 { font-size: 1.5rem; margin: 0; }
.cc-dialog__lead { color: var(--muted); font-size: 15px; }
.cc-cats { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.cc-cat { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--soft); }
.cc-cat__title { font-weight: 650; color: var(--ink); margin: 0 0 2px; }
.cc-cat__text { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.cc-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.switch { position: relative; flex: none; display: inline-block; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch__track { position: absolute; inset: 0; border-radius: var(--pill); background: #cfccc7; transition: background-color .25s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .2); transition: transform .3s var(--ease); }
.switch input:checked + .switch__track { background: var(--red); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:disabled + .switch__track { opacity: .55; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ==========================================================================
   Motion
   ========================================================================== */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.marquee__track { animation: none; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
