/* ==========================================================================
   Splash Mosoda – main stylesheet
   Palette taken from the logo: ink #004459, teal #009EA9, pink #E8387D, yellow #FEEA00
   ========================================================================== */

:root {
	--ink: #004459;
	--ink-900: #002a37;
	--ink-700: #0b5a70;
	--teal: #009ea9;
	--teal-300: #40afa9;
	--teal-50: #e6f5f5;
	--pink: #e8387d;
	--pink-600: #cd416e;
	--pink-50: #fdecf2;
	--yellow: #feea00;
	--linen: #f7f4ef;
	--paper: #ffffff;
	--text: #10323d;
	--muted: #577079;
	--line: rgba(0, 68, 89, 0.12);
	--line-strong: rgba(0, 68, 89, 0.22);

	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 2px 8px rgba(0, 42, 55, 0.06);
	--shadow: 0 18px 40px -18px rgba(0, 42, 55, 0.28);
	--shadow-lg: 0 40px 80px -30px rgba(0, 42, 55, 0.4);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(72px, 10vw, 136px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-600); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text,
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

em { font-style: normal; }
h1 em, h2 em, .section-title em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--teal);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pink-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--light { color: var(--yellow); }

.section-title { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; }
.section-title em { font-size: 1.08em; }
.section-title--light { color: #fff; }
.section-title--light em { color: var(--teal-300); }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--linen { background: var(--linen); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.82); }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { text-align: center; }
.section-head--center .section-title { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }

/* Buttons & links ------------------------------------------------------------ */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { --btn-bg: var(--pink); }
.btn--primary:hover { --btn-bg: var(--pink-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--yellow); --btn-fg: var(--ink); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* Topbar & header ------------------------------------------------------------ */

.topbar { background: var(--ink-900); color: rgba(255, 255, 255, 0.78); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__note { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__note .icon { color: var(--yellow); width: 17px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.topbar a .icon { width: 15px; color: var(--teal-300); }
.topbar a:hover { color: var(--yellow); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: 112px; }
.brand { flex: none; }
.brand img { width: 107px; height: auto; transition: width 0.3s var(--ease); }
.site-header.is-scrolled .brand img { width: 84px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--pink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current_page_item > a::after,
.nav__list .current_page_parent > a::after { transform: scaleX(1); }
.nav__mobile-contact { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }

/* Blobs ------------------------------------------------------------------ */

.blob { position: absolute; pointer-events: none; }
.blob path { fill: currentColor; }

/* Hero ------------------------------------------------------------------- */

.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 110px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--linen) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(46px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 26px; }
.hero__title em { font-size: 1.1em; display: inline-block; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--teal); }

.hero__media { position: relative; }
.hero__image { position: relative; z-index: 2; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__blob { z-index: 1; }
.hero__blob--teal { width: 78%; right: -16%; top: -8%; color: var(--teal); opacity: 0.9; animation: float 12s ease-in-out infinite; }
.hero__blob--pink { width: 46%; left: -14%; bottom: -8%; color: var(--pink); animation: float 10s ease-in-out -3s infinite reverse; }
.hero__dot { position: absolute; z-index: 3; border-radius: 50%; }
.hero__dot--yellow { width: 54px; height: 54px; background: var(--yellow); right: 6%; bottom: 20%; }
.hero__dot--ink { width: 18px; height: 18px; background: var(--ink); left: 4%; top: 22%; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -14px) rotate(4deg); } }

.float-card {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px 14px 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow);
	line-height: 1.25;
	animation: float 9s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 15px; color: var(--ink); }
.float-card small { font-size: 13px; color: var(--muted); }
.float-card--top { left: -9%; top: 16%; }
.float-card--bottom { right: -5%; bottom: 7%; animation-delay: -4s; }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal); }
.float-card__icon--pink { background: var(--pink-50); color: var(--pink); }

/* Intro ----------------------------------------------------------------- */

.intro__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro__media { position: relative; padding: 0 12% 16% 0; }
.intro__img { border-radius: var(--radius-lg); object-fit: cover; }
.intro__img--main { width: 100%; aspect-ratio: 4 / 4.4; }
.intro__img--small { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 1; border: 8px solid #fff; box-shadow: var(--shadow); }
.intro__media::before { content: ""; position: absolute; left: -22px; top: -22px; width: 120px; height: 120px; border-radius: 50%; background: var(--yellow); z-index: -1; }
.intro__text p { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-size: clamp(36px, 4vw, 52px); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -0.04em; }
.stats dt span { font-size: 0.5em; margin-left: 2px; color: var(--pink); }
.stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Values ----------------------------------------------------------------- */

.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
	position: relative;
	padding: 34px 28px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
	overflow: hidden;
}
.value-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--pink), var(--yellow)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card:hover::after { transform: scaleX(1); }
.value-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 16px; background: var(--teal-50); color: var(--teal); }
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card:nth-child(2) .value-card__icon { background: var(--pink-50); color: var(--pink); }
.value-card:nth-child(3) .value-card__icon { background: #fffbd1; color: #8a7a00; }
.value-card:nth-child(4) .value-card__icon { background: #e5edf0; color: var(--ink); }
.value-card h3 { font-size: 20px; }
.value-card p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Bento services --------------------------------------------------------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.bento__item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 250px;
	padding: 30px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
	grid-column: span 4;
}
.bento__item--large { grid-column: span 8; grid-row: span 2; }
.bento__item:nth-child(2) { grid-row: span 2; }
.bento__item img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.bento__item:not(.bento__item--solid)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 42, 55, 0) 35%, rgba(0, 42, 55, 0.88) 100%); }
.bento__item:hover { color: #fff; }
.bento__item:hover img { transform: scale(1.06); }
.bento__item h3 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.bento__item--large h3 { font-size: clamp(28px, 3.2vw, 42px); }
.bento__item p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 15.5px; max-width: 40ch; }
.bento__content .tag { margin-bottom: 14px; }
.bento__arrow { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform 0.4s var(--ease), background 0.3s; }
.bento__item:hover .bento__arrow { transform: rotate(45deg); background: var(--yellow); }
.bento__item--solid { grid-column: span 4; grid-row: span 1; justify-content: flex-start; }
.bento__item--teal { background: linear-gradient(135deg, var(--teal), var(--teal-300)); }
.bento__item--ink { background: var(--ink); }
.bento__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: auto; border-radius: 16px; background: rgba(255, 255, 255, 0.16); }
.bento__icon .icon { width: 28px; height: 28px; }
.bento__item--solid h3 { margin-top: 36px; }
.bento__item--ink .bento__icon { color: var(--yellow); }

/* Feature (dark technology band) ---------------------------------------- */

.feature { position: relative; padding-block: var(--section); overflow: hidden; background: var(--ink-900); color: rgba(255, 255, 255, 0.82); isolation: isolate; }
.feature__bg { position: absolute; inset: 0; z-index: -1; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; mix-blend-mode: luminosity; }
.feature__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-900) 20%, rgba(0, 42, 55, 0.7) 60%, rgba(0, 68, 89, 0.35) 100%); }
.feature__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.feature__text > p { font-size: 18px; max-width: 36em; }
.feature__cards { display: grid; gap: 16px; }
.glass-card {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 18px;
	align-items: center;
	padding: 22px 26px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	transition: transform 0.4s var(--ease), background 0.3s;
}
.glass-card:nth-child(2) { margin-left: 40px; }
.glass-card:hover { transform: translateX(-8px); background: rgba(255, 255, 255, 0.14); }
.glass-card .icon { grid-row: span 2; width: 34px; height: 34px; color: var(--yellow); }
.glass-card strong { font-size: 20px; color: #fff; line-height: 1.2; }
.glass-card span { font-size: 15px; }

.checklist { display: grid; gap: 12px; margin: 28px 0 36px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--teal-50); color: var(--teal); stroke-width: 2.5; }
.checklist--light li { color: #fff; }
.checklist--light .icon { background: rgba(254, 234, 0, 0.16); color: var(--yellow); }

/* Process steps ---------------------------------------------------------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 31px; left: 5%; right: 5%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding-inline: 6px; }
.step__num { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); font-weight: 800; color: var(--ink); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.step:hover .step__num { background: var(--pink); border-color: var(--pink); color: #fff; transform: scale(1.08); }
.step h3 { font-size: 19px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* City band --------------------------------------------------------------- */

.city { position: relative; min-height: 640px; display: flex; align-items: center; padding-block: 80px; overflow: hidden; isolation: isolate; }
.city__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.city__card { max-width: 560px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-lg); }
.city__card p { color: var(--muted); }
.city__card .section-title { font-size: clamp(30px, 3.6vw, 46px); }
.city__card .btn { margin-top: 10px; }

/* Blog cards ------------------------------------------------------------ */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 8px; }
.post-card__title { font-size: 21px; line-height: 1.3; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { font-size: 15px; color: var(--muted); }
.post-card .link-arrow { margin-top: auto; font-size: 15px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Quote / contact section ------------------------------------------------ */

.quote { position: relative; padding-block: var(--section); background: var(--ink); color: rgba(255, 255, 255, 0.8); overflow: hidden; isolation: isolate; }
.quote::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 158, 169, 0.35), transparent 65%); }
.quote::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 56, 125, 0.28), transparent 65%); }
.quote__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.quote__lead { font-size: 18px; margin-bottom: 36px; }
.quote__contacts { display: grid; gap: 12px; margin: 0 0 36px; padding: 0; list-style: none; }
.quote__contacts a { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.quote__contacts a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); transform: translateX(6px); color: #fff; }
.quote__contacts small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.quote__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--pink); color: #fff; }
.quote__contacts li:nth-child(2) .quote__icon { background: var(--teal); }
.quote__contacts li:nth-child(3) .quote__icon { background: var(--yellow); color: var(--ink); }
.quote__company { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; margin: 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.quote__company div { margin: 0; }
.quote__company dt { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.quote__company dd { margin: 2px 0 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.quote__form { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label span { color: var(--pink); }
.field input,
.field select,
.field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fbfaf8; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23004459' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 158, 169, 0.15); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--pink); padding: 0; }
.field--check label { font-weight: 500; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form-hint { margin: 0; font-size: 14px; color: var(--muted); }
.form-notice { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.form-notice--ok { background: var(--teal-50); color: var(--ink); }
.form-notice--ok .icon { color: var(--teal); }
.form-notice--error { background: var(--pink-50); color: #8f1f4a; }

/* Page hero (inner pages) ------------------------------------------------- */

.page-hero { position: relative; padding-block: clamp(56px, 8vw, 110px); overflow: hidden; background: var(--linen); isolation: isolate; }
.page-hero__blob { z-index: -1; opacity: 0.12; }
.page-hero__blob--teal { width: 520px; right: -140px; top: -180px; color: var(--teal); }
.page-hero__blob--pink { width: 280px; left: -120px; bottom: -160px; color: var(--pink); }
.page-hero__inner { display: grid; gap: 48px; align-items: center; }
.page-hero--image .page-hero__inner { grid-template-columns: 1.05fr 0.95fr; }
.page-hero__title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; }
.page-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 38em; margin: 22px 0 0; }
.page-hero__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Services page ---------------------------------------------------------- */

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; scroll-margin-top: 120px; }
.service-row + .service-row { margin-top: clamp(80px, 10vw, 140px); }
.service-row--reverse .service-row__media { order: 2; }
.service-row__media { position: relative; }
.service-row__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service-row__blob { width: 42%; right: -8%; bottom: -12%; color: var(--yellow); z-index: 0; }
.service-row--reverse .service-row__blob { right: auto; left: -8%; color: var(--teal-300); }
.service-row:nth-child(3) .service-row__blob { color: var(--pink); opacity: 0.85; }
.service-row__text > p { color: var(--muted); }
.service-row .section-title { font-size: clamp(30px, 3.4vw, 44px); }

.options__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option-card { padding: 38px 32px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); transition: transform 0.4s var(--ease), background 0.3s; }
.option-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }
.option-card h3 { color: #fff; font-size: 24px; margin-top: 26px; }
.option-card p { margin: 0; }
.option-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--teal); color: #fff; }
.option-card__icon .icon { width: 28px; height: 28px; }
.option-card--featured { background: var(--pink); border-color: var(--pink); color: rgba(255, 255, 255, 0.92); }
.option-card--featured:hover { background: var(--pink-600); }
.option-card--featured .option-card__icon { background: #fff; color: var(--pink); }

.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.audience__text p { color: var(--muted); }
.audience__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.audience__list li { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.audience__list .icon { width: 30px; height: 30px; color: var(--pink); }
.audience__list strong { display: block; font-size: 18px; color: var(--ink); }
.audience__list span { font-size: 15px; color: var(--muted); line-height: 1.45; }

.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); transition: transform 0.35s var(--ease), background 0.3s; }
.faq__plus::before,
.faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq__plus::after { transform: rotate(90deg); transition: transform 0.35s var(--ease); }
.faq__item[open] .faq__plus { background: var(--pink); border-color: var(--pink); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before,
.faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__item p { padding: 0 56px 24px 0; margin: 0; color: var(--muted); }

/* Technology page ------------------------------------------------------- */

.lowtemp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.lowtemp__text p { color: var(--muted); }
.sinner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sinner__item { display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: var(--radius-lg); background: var(--linen); transition: transform 0.4s var(--ease); }
.sinner__item:hover { transform: translateY(-4px); }
.sinner__item strong { font-size: 20px; color: var(--ink); margin-top: 18px; }
.sinner__item small { font-size: 15px; color: var(--muted); }
.sinner__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--teal); }
.sinner__item--accent { background: var(--ink); }
.sinner__item--accent strong { color: #fff; }
.sinner__item--accent small { color: rgba(255, 255, 255, 0.7); }
.sinner__item--accent .sinner__icon { background: var(--yellow); color: var(--ink); }

.compare__table { max-width: 980px; margin-inline: auto; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1.1fr 1.2fr; }
.compare__row > span { display: flex; align-items: center; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--line); font-size: 15.5px; }
.compare__row--head > span { border-top: 0; padding-block: 22px; font-weight: 700; color: var(--ink); }
.compare__row--head .is-splash { background: var(--ink); color: #fff; }
.compare__label { font-weight: 700; color: var(--ink); }
.compare__old { color: var(--muted); }
.compare__new { background: var(--teal-50); font-weight: 600; color: var(--ink); }
.compare__new .icon { color: var(--teal); width: 20px; stroke-width: 2.4; }

.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tech-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); }
.tech-card h2 { font-size: clamp(26px, 2.6vw, 34px); }
.tech-card--image { grid-row: span 2; padding: 0; background: var(--linen); overflow: hidden; }
.tech-card--image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tech-card--image .tech-card__body { padding: clamp(28px, 4vw, 44px); }
.tech-card--image p:not(.eyebrow) { color: var(--muted); }
.tech-card--ink { background: var(--ink); color: rgba(255, 255, 255, 0.8); }
.tech-card--ink h2 { color: #fff; }
.tech-card--teal { background: linear-gradient(135deg, var(--teal), var(--teal-300)); color: rgba(255, 255, 255, 0.92); }
.tech-card--teal h2 { color: #fff; }
.tech-card p:last-child { margin: 0; }
.tech-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.14); color: var(--yellow); }
.tech-card--teal .tech-card__icon { color: #fff; }
.tech-card__icon .icon { width: 28px; height: 28px; }

.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.flow__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.flow__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 50%; background: var(--teal); color: #fff; }
.flow__step:nth-child(3n + 2) .flow__icon { background: var(--pink); }
.flow__step:nth-child(3n) .flow__icon { background: var(--yellow); color: var(--ink); }
.flow__step strong { color: #fff; font-size: 16px; }
.flow__step small { font-size: 13.5px; line-height: 1.4; }

/* References ------------------------------------------------------------ */

.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ref-card { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.ref-card__media { aspect-ratio: 16 / 10; background: var(--linen); }
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ref-card__body { padding: 28px; }
.ref-card__title { font-size: 22px; }
.ref-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; font-weight: 600; color: var(--pink-600); }
.ref-card__meta span { color: var(--teal); }
.ref-card__quote { margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.ref-card__quote p { font-family: var(--font-serif); font-size: 21px; line-height: 1.35; color: var(--ink); }
.ref-card__quote cite { font-style: normal; font-size: 14px; color: var(--muted); }

.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.segment { position: relative; min-height: 460px; display: flex; align-items: flex-end; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.segment img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.segment::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0, 42, 55, 0.9)); }
.segment:hover img { transform: scale(1.06); }
.segment__body { padding: 30px; color: rgba(255, 255, 255, 0.85); }
.segment__body h2 { color: #fff; font-size: 26px; }
.segment__body p { margin: 0; }

.admin-hint { margin-bottom: 32px; padding: 16px 20px; border-radius: 12px; background: #fffbd1; border: 1px dashed #c9b800; font-size: 15px; }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why__text p { color: var(--muted); }
.why__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.why__list li { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: #fff; }
.why__list li > span { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--ink); color: var(--yellow); }
.why__list strong { color: var(--ink); font-size: 18px; }
.why__list p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

/* Contact page ----------------------------------------------------------- */

.visit { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; }
.visit__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }
.visit__card { position: relative; margin-left: -80px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.visit__card .section-title { font-size: clamp(28px, 3vw, 40px); }
.visit__card p { color: var(--muted); }

/* Prose (page & post content) ------------------------------------------- */

.prose { font-size: 18px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 2em; }
.prose h3 { font-size: 22px; margin-top: 1.8em; }
.prose p, .prose li { color: #2c4b55; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--pink); }
.prose a { color: var(--teal); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--pink); font-family: var(--font-serif); font-size: 24px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose .wp-block-table { overflow-x: auto; }
.prose th { width: 30%; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
.prose th { background: var(--linen); color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose .wp-block-table { margin-inline: 0; }
.prose mark, .prose .placeholder { background: #fffbd1; padding: 0 4px; border-radius: 4px; }
.updated { margin-top: 48px; font-size: 14px; color: var(--muted); }

.project-infoblock { margin-bottom: 48px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }

/* Single article --------------------------------------------------------- */

.article__header { position: relative; padding-block: clamp(56px, 8vw, 100px) 48px; background: var(--linen); overflow: hidden; isolation: isolate; }
.article__title { font-size: clamp(34px, 4.8vw, 58px); letter-spacing: -0.03em; }
.article__meta { display: flex; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.article__image { margin-top: -1px; padding-top: 0; }
.article__image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.prose--article { padding-block: clamp(40px, 6vw, 72px) 0; }
.prose--article > p:first-child { font-size: 21px; color: var(--ink); }

.article-cta { display: grid; gap: 24px; margin-block: 64px var(--section); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink); color: rgba(255, 255, 255, 0.8); }
.article-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.article-cta h2 em { color: var(--teal-300); }
.article-cta p { margin: 0; }
.article-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.article-cta .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.3); }
.article-cta .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); }

.empty { font-size: 18px; color: var(--muted); }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer ---------------------------------------------------------------- */

.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.7); padding-top: clamp(64px, 8vw, 96px); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand img { width: 104px; margin-bottom: 20px; padding: 10px; border-radius: 20px; background: #fff; }
.site-footer__brand p { max-width: 30em; }
.site-footer__title { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-300); }
.site-footer__menu,
.site-footer .menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list a { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { width: 18px; margin-top: 3px; color: var(--pink); }
.company-data { display: grid; gap: 12px; margin: 0; }
.company-data div { margin: 0; }
.company-data dt { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.company-data dd { margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.site-footer__infoblock { display: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }

/* Kedvezményezetti infoblokk – fixed bottom-right on desktop --------------- */

.infoblock {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	/* The image is 1280×383, so 360px (−12px padding) keeps it above the required 100px height. */
	width: clamp(360px, 28vw, 440px);
	padding: 6px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 30px -8px rgba(0, 42, 55, 0.35);
}
.infoblock a { display: block; }
.infoblock img { width: 100%; height: auto; }
/* Keep the last footer line readable above the fixed block. */
.has-infoblock .site-footer__bottom { padding-bottom: clamp(130px, 10vw, 160px); }
/* Mobile-only copy on the front page, directly under the header. */
.infoblock-inline { display: none; }

/* Cookie consent ---------------------------------------------------------- */

.consent-open { padding: 0; border: 0; background: none; color: #fff; font-size: 14px; cursor: pointer; }
.consent-open:hover { color: var(--yellow); }
.site-footer__bottom { align-items: center; }

/* Bottom-left on desktop so the beneficiary infoblock (bottom-right) stays visible. */
.consent {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 200;
	width: min(440px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 24px;
	border-radius: var(--radius);
	background: #fff;
	color: var(--text);
	box-shadow: 0 24px 60px -12px rgba(0, 42, 55, 0.45);
	border-top: 4px solid var(--teal);
	animation: consentIn 0.5s var(--ease) both;
}
@keyframes consentIn { from { opacity: 0; transform: translateY(20px); } }
.consent__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.consent__text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.consent__text a { color: var(--teal); font-weight: 600; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn--consent { --btn-bg: var(--ink); flex: 1 1 auto; padding: 11px 18px; font-size: 14.5px; }
.btn--consent:hover { --btn-bg: var(--teal); box-shadow: none; }
.consent__link { flex-basis: 100%; padding: 4px 0 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.consent__option { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.consent__option:last-of-type { margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.consent__option strong { font-size: 15px; color: var(--ink); }
.consent__option p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.consent__option label { cursor: pointer; }
.consent__always { flex: none; font-size: 12.5px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.consent__switch { position: relative; flex: none; width: 46px; height: 26px; }
.consent__switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.consent__switch span { position: absolute; inset: 0; border-radius: 999px; background: #c9d4d8; transition: background 0.25s; }
.consent__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
.consent__switch input:checked + span { background: var(--teal); }
.consent__switch input:checked + span::after { transform: translateX(20px); }
.consent__switch input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

@media (max-width: 640px) {
	.consent { left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--radius) var(--radius) 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
}

/* Reveal animations ----------------------------------------------------- */

[data-hero-anim] { animation: heroIn 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-hero-anim] { animation: heroIn 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }

.js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1180px) {
	.nav__list a { padding-inline: 10px; }
	.nav__list a::after { left: 10px; right: 10px; }
	.values__grid { grid-template-columns: repeat(2, 1fr); }
	.flow { grid-template-columns: repeat(4, 1fr); }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.float-card--top { left: -2%; }
	.float-card--bottom { right: 2%; }
}

@media (max-width: 1024px) {
	.topbar__note { display: none; }
	.topbar__inner { justify-content: center; }

	.nav-toggle { display: inline-flex; }
	.nav {
		position: fixed;
		inset: 0;
		top: var(--header-bottom, 124px);
		z-index: 99;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		margin: 0;
		padding: 24px var(--gutter) 40px;
		background: #fff;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 18px 0; font-size: 26px; font-weight: 700; border-bottom: 1px solid var(--line); }
	.nav__list a::after { display: none; }
	.nav__mobile-contact { display: grid; gap: 14px; margin-top: 32px; }
	.nav__mobile-contact a { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; text-decoration: none; }
	.nav__mobile-contact .icon { color: var(--pink); }
	.site-header__actions { margin-left: auto; }

	.hero__inner,
	.intro__inner,
	.feature__inner,
	.quote__inner,
	.service-row,
	.audience,
	.faq__inner,
	.lowtemp,
	.why,
	.page-hero--image .page-hero__inner { grid-template-columns: 1fr; }

	.hero__media { max-width: 560px; margin-inline: auto; width: 100%; }
	.service-row--reverse .service-row__media { order: 0; }
	.intro__media { max-width: 620px; }
	.bento__item,
	.bento__item--large,
	.bento__item--solid { grid-column: span 6; grid-row: span 1; }
	.bento__item--large { grid-column: span 12; min-height: 420px; }
	.bento__item:nth-child(2) { grid-row: span 1; }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.steps::before { display: none; }
	.post-grid,
	.ref-grid,
	.segments { grid-template-columns: repeat(2, 1fr); }
	.options__grid { grid-template-columns: 1fr; }
	.tech-grid { grid-template-columns: 1fr; }
	.tech-card--image { grid-row: auto; }
	.visit { grid-template-columns: 1fr; }
	.visit__card { margin: -60px 16px 0; }
	.glass-card:nth-child(2) { margin-left: 0; }
}

@media (max-width: 900px) {
	/* Infoblock moves into the footer on smaller screens. */
	.infoblock { display: none; }
	.has-infoblock .site-footer__bottom { padding-bottom: 28px; }
	.site-footer__infoblock { display: block; margin-bottom: 32px; padding: 12px; border-radius: 12px; background: #fff; }
	.infoblock-inline { display: block; padding: 4px 8px; background: #fff; border-bottom: 1px solid var(--line); }
	.infoblock-inline a { display: block; max-width: 440px; margin-inline: auto; }
	.infoblock-inline img { width: 100%; height: auto; min-height: 100px; object-fit: contain; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar__links { gap: 16px; font-size: 12.5px; }
	.site-header__inner { min-height: 96px; gap: 12px; }
	.brand img { width: 84px; }
	.site-header.is-scrolled .brand img { width: 70px; }
	.site-header__actions .btn { padding: 10px 16px; font-size: 14px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.float-card { padding: 10px 14px 10px 10px; }
	.float-card__icon { width: 36px; height: 36px; }
	.float-card--top { left: 0; top: 8%; }
	.float-card--bottom { right: 0; bottom: 4%; }
	.stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
	.stats dt { font-size: 32px; }
	.values__grid,
	.post-grid,
	.ref-grid,
	.segments,
	.audience__list,
	.sinner { grid-template-columns: 1fr; }
	.bento__item,
	.bento__item--solid { grid-column: span 12; }
	.steps { grid-template-columns: 1fr 1fr; }
	.flow { grid-template-columns: 1fr 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.quote__company { grid-template-columns: 1fr; }
	.quote__contacts a { font-size: 16px; }
	.compare__row { grid-template-columns: 1fr 1fr; }
	.compare__row > span { padding: 14px 16px; font-size: 14px; }
	.compare__label { grid-column: 1 / -1; background: var(--linen); }
	.compare__row--head > span:first-child { display: none; }
	.site-footer__top { grid-template-columns: 1fr; }
	.faq__item p { padding-right: 0; }
	.city { min-height: 0; padding-block: 220px 24px; align-items: flex-end; }
	.visit__card { margin: -40px 0 0; }
}

/* Clax Polar results ------------------------------------------------------ */

.polar__lead { max-width: 680px; margin: 12px auto 0; color: rgba(255, 255, 255, 0.78); }
.polar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.polar__grid li { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); }
.polar__grid strong { display: block; margin-bottom: 8px; font-size: clamp(32px, 4vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--teal-300); }
.polar__grid span { font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.polar__note { margin: 24px 0 0; font-size: 13px; text-align: center; color: rgba(255, 255, 255, 0.62); }
@media (max-width: 900px) { .polar__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .polar__grid { grid-template-columns: 1fr; } }
.polar__sub { margin: 48px 0 20px; font-size: clamp(20px, 2.4vw, 26px); text-align: center; color: #fff; }
