/* ==========================================================================
   RYF Translate — redesign layer
   Loaded AFTER assets/template/css/main.min.css. Does not change layout of the
   first screen (header, hero grid, photo): only type, buttons and elements.
   Palette kept: navy #15171f + gold #ceb475. Added: warm paper tones.
   Type/buttons/element language borrowed from event.resedaodor.com:
   Cormorant Garamond (italic accent), Jost light, 2px-radius uppercase buttons,
   hairline borders.
   ========================================================================== */
/* fonts (was an @import: it made a chain redesign.css -> fonts.css -> font files) */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts-new/CormorantGaramond-italic-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts-new/CormorantGaramond-italic-500-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(../fonts-new/CormorantGaramond-italic-500-latin.woff2) format('woff2');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:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(../fonts-new/CormorantGaramond-italic-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(../fonts-new/CormorantGaramond-italic-600-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:600;font-display:swap;src:url(../fonts-new/CormorantGaramond-italic-600-latin.woff2) format('woff2');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:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts-new/CormorantGaramond-normal-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts-new/CormorantGaramond-normal-500-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts-new/CormorantGaramond-normal-500-latin.woff2) format('woff2');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:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts-new/CormorantGaramond-normal-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts-new/CormorantGaramond-normal-600-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts-new/CormorantGaramond-normal-600-latin.woff2) format('woff2');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:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts-new/Jost-normal-300-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts-new/Jost-normal-300-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts-new/Jost-normal-300-latin.woff2) format('woff2');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:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts-new/Jost-normal-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts-new/Jost-normal-400-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts-new/Jost-normal-400-latin.woff2) format('woff2');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:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts-new/Jost-normal-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts-new/Jost-normal-500-latin-ext.woff2) format('woff2');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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts-new/Jost-normal-500-latin.woff2) format('woff2');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;}

/* the theme's Lora face had no font-display: show the fallback at once and swap when it arrives */
@font-face { font-family: lora-reg; font-weight: 400; font-style: normal; font-display: swap; src: url(../template/fonts/Lora/Lora-Regular.woff) format("woff"); }


:root {
	--navy: #15171f;
	--navy-2: #1d2029;
	--gold: #ceb475;
	--gold-deep: #a8834a;      /* gold for text on light backgrounds (AA) */
	--paper: #f5f1e8;
	--paper-2: #efe9db;
	--ink: #15171f;
	--ink-soft: #5b564c;
	--line: rgba(21, 23, 31, .14);
	--line-gold: rgba(206, 180, 117, .55);
	--serif: "Cormorant Garamond", "Lora", Georgia, serif;
	--sans: "Jost", system-ui, sans-serif;
	--r: 2px;
}

/* ---------- base type ---------- */
body {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
strong, b { font-weight: 500; }

.h1, .h3, .h4, .practice .item .h4, .popup .h2, .popup .h3 {
	font-family: var(--serif);
	font-weight: 500;
}
.h1, .h3, .h4, .svc__title, .svc__num, .cta__title, .stat .item span.count, .advants__item-title {
	font-variant-numeric: lining-nums;
	font-feature-settings: "lnum" 1;
}
.h1 em, .h3 em, .sec-title em, .cta__title em {
	font-style: italic;
	font-weight: 500;
}

/* ---------- first screen: same layout, new type ---------- */
body .h1 {
	font-size: clamp(28px, 4.3vw, 62px);
	line-height: 1.08;
	letter-spacing: .01em;
	color: var(--gold);
}
body .h1 em { color: #fff; }
body .h2 {
	font-family: var(--sans);
	font-weight: 400;
	letter-spacing: .01em;
	font-size: clamp(15px, 1.25vw, 19px);
	line-height: 1.55;
}

/* ---------- header / nav ---------- */
.my_mnu .mnu .link,
.my_mnu .lang,
.nav_m .lang_m,
.mmnu a {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.i_am .head .head_info > div,
.i_am .head .head_info a {
	font-family: var(--sans);
	font-weight: 400;
	letter-spacing: .06em;
}

/* first screen, tablets in portrait (481-768px): same dark blurred plate as on phones.
   Position and logic stay as in the original (title centred over the photo, lower part). */
@media (min-width: 481px) and (max-width: 768px) {
	.i_am .title {
		left: 0; right: 0;
		width: auto;
		max-width: 620px;
		margin: 0 auto;
		bottom: 10%;
		padding: 26px 32px 28px;
		background: rgba(0, 0, 0, .5);
		-webkit-backdrop-filter: blur(5px);
		backdrop-filter: blur(5px);
		border-radius: 10px;
		float: none;
	}
	body .i_am .title .h1 { margin-bottom: 14px; }
	body .i_am .title .h2 { padding-bottom: 24px; }
}
/* Safari: prefixed backdrop-filter for the existing phone plate too */
@media (max-width: 480px) {
	.i_am .title { -webkit-backdrop-filter: blur(5px); }
}

/* language switch in the top row, before the phone */
body .i_am .head .head_info a.lang--top {
	margin: 0 24px 0 0;
	padding: 0 24px 0 0;
	border-right: 1px solid rgba(206, 180, 117, .45);
	font-family: var(--sans);
	font-weight: 400;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
	text-decoration: none;
	transition: color .25s ease;
}
body .i_am .head .head_info a.lang--top:hover { color: #fff; text-decoration: none; }

/* ---------- mobile slide-out menu (mmenu) ----------
   main.min.css has `.mmnu li:hover { background:#fff }` -> on touch screens :hover sticks to the
   last touched item and paints a white box with white text. Replaced: no fill at all; gold text on
   press / current item; real hover only on devices that have hover. */
body .mmnu .mm-listview > li > a {
	display: block;
	padding: 24px 0;
	font-family: var(--sans);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #fff;
	background: transparent;
	-webkit-tap-highlight-color: transparent;
	transition: color .25s ease, padding-left .25s ease;
}
body .mmnu li, body .mmnu li:hover, body .mmnu li:active, body .mmnu li:focus-within {
	background: transparent;
	padding-left: 0;
}
body .mmnu .mm-listview > li > a:active,
body .mmnu .mm-listview > li > a:focus,
body .mmnu .mm-listview > li.mm-selected > a,
body .mmnu .mm-listview .mm-selected:not(.mm-divider) a {
	color: var(--gold);
	background: transparent;
	padding-left: 0;
	outline: none;
}
@media (hover: hover) and (pointer: fine) {
	body .mmnu .mm-listview > li > a:hover { color: var(--gold); padding-left: 8px; }
}
/* phone + call-back button under the links */
body .mmnu .mm-listview > li.mmnu__phone::after { display: none; }
body .mmnu .mm-listview > li.mmnu__phone { margin-top: 30px; }
body .mmnu .mm-listview > li.mmnu__phone > a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	font-size: 20px;
	letter-spacing: .04em;
	text-transform: none;
	font-weight: 400;
}
body .mmnu .mmnu__phone img { flex: none; width: 22px; height: 22px; }
body .mmnu .mm-listview > li.mmnu__cta::after { display: none; }
body .mmnu .mm-listview > li.mmnu__cta { padding: 12px 0 0; }
body .mmnu .mm-listview > li.mmnu__cta > a.btn_2 {
	display: block;
	width: 100%;
	padding: 20px 16px;
	text-align: center;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .2em;
	color: var(--navy);
	background: var(--gold);
	border: 1px solid var(--gold);
	border-radius: var(--r);
}
body .mmnu .mm-listview > li.mmnu__cta > a.btn_2:active,
body .mmnu .mm-listview > li.mmnu__cta > a.btn_2:focus { background: transparent; color: var(--gold); padding-left: 16px; }
@media (hover: hover) and (pointer: fine) {
	body .mmnu .mm-listview > li.mmnu__cta > a.btn_2:hover { background: transparent; color: var(--gold); padding-left: 16px; }
}

/* ---------- buttons ---------- */
.btn_1, .btn_2 {
	font-family: var(--sans);
	font-weight: 500;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .16em;
	text-transform: uppercase;
	border-radius: var(--r);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
/* ghost button (header "call back", messengers) */
.btn_1 {
	background: transparent;
	color: #fff;
	border: 1px solid var(--gold);
	padding: 13px 22px;
}
.btn_1:hover, .btn_1:focus, .btn_1:active {
	background: var(--gold);
	color: var(--navy);
}
/* primary button (consultation, send) */
.btn_2 {
	display: inline-block;
	position: relative;
	background: var(--gold);
	color: var(--navy);
	border: 1px solid var(--gold);
	padding: 18px 34px;
	z-index: 1;
}
.btn_2::after { display: none; }
.btn_2:hover, .btn_2:focus, .btn_2:active {
	background: transparent;
	color: var(--gold);
	text-decoration: none;
}
.btn_2--ghost, .btn_2.btn_2--ghost {
	background: transparent;
	color: #fff;
}

/* ---------- section scaffolding ---------- */
.sect { position: relative; }
.practice, .advants { background: var(--paper); }
.stat, .info { background: var(--paper-2); }

body .h3 {
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.1;
	letter-spacing: .02em;
	text-transform: none;
}
body .h3 .span:before, body .h3 .span:after { height: 1px; opacity: .9; }
.h3.hd { color: var(--ink); }

.eyebrow {
	display: block;
	text-align: center;
	font-family: var(--sans);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin: 0 0 14px;
}
.sec-lead {
	text-align: center;
	max-width: 640px;
	margin: -8px auto 48px;
	color: var(--ink-soft);
	font-size: 18px;
}

/* ---------- SERVICES: six grouped cards, each is a link ---------- */
.svc .container .row { padding: 0 15px; }
.svc__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.svc__card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 34px 30px 28px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	color: var(--ink);
	text-decoration: none;
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.svc__card:hover, .svc__card:focus-visible {
	transform: translateY(-4px);
	border-color: var(--line-gold);
	box-shadow: 0 18px 40px -22px rgba(21, 23, 31, .35);
	color: var(--ink);
	text-decoration: none;
}
.svc__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}
/* the SVG glyph fills ~80% of its box; 54px box = ~43px glyph, same visual weight as the "advantages" icons */
.svc__icon { width: 54px; height: 54px; margin: -4px 0 -4px -5px; }
.svc__icon img, .svc__icon svg { width: 100%; height: 100%; display: block; }
.svc__num {
	font-family: var(--serif);
	font-size: 20px;
	letter-spacing: .08em;
	color: rgba(21, 23, 31, .28);
}
.svc__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: 29px;
	line-height: 1.1;
	letter-spacing: .005em;
	margin: 0 0 12px;
	padding: 0;
	white-space: normal;
	text-align: left;
}
.svc__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-soft);
	margin: 0 0 20px;
}
.svc__tags {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.svc__tags li {
	font-size: 13px;
	line-height: 1;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	color: var(--ink);
	background: var(--paper);
}
.svc__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
.svc__more i {
	display: inline-block;
	width: 26px; height: 1px;
	background: currentColor;
	position: relative;
	transition: width .3s ease;
}
.svc__more i::after {
	content: "";
	position: absolute;
	right: 0; top: -3px;
	width: 7px; height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}
.svc__card:hover .svc__more i { width: 40px; }

/* seventh tile: consultation call-to-action */
.svc__card--cta {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
	justify-content: center;
}
.svc__card--cta:hover { color: #fff; border-color: var(--gold); }
.cta__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: 31px;
	line-height: 1.1;
	color: var(--gold);
	margin: 0 0 12px;
}
.cta__title em { color: #fff; }
.svc__card--cta .svc__text { color: rgba(255, 255, 255, .78); margin-bottom: 26px; }
.svc__card--cta {
	grid-column: 1 / -1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 14px 48px;
	padding: 36px 44px;
}
.svc__card--cta .cta__body { max-width: 640px; }
.svc__card--cta .svc__text { margin-bottom: 0; }
.svc__card--cta .cta__title { margin-bottom: 10px; }
.svc__card--cta .btn_2 { flex: none; pointer-events: none; }
.svc__card--cta:hover .btn_2 { background: transparent; color: var(--gold); }

/* ---------- ABOUT / REVIEWS / CONTACTS (dark photo sections) ---------- */
.about .h4 {
	font-family: var(--serif);
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: .005em;
}
.about p { font-weight: 400; line-height: 1.75; }
.hl { color: var(--gold); }
.contacts .h4 { font-family: var(--serif); font-size: 28px; }
body .contacts .contacts__item a, body .contacts .contacts__item span {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 18px;
	letter-spacing: .02em;
}
/* contact icons: one box, centred on the FIRST text line, same optical size */
body .contacts .contacts__item { font-size: 18px; line-height: 1.6; align-items: flex-start; }
body .contacts .contacts__item > img {
	flex: none;
	width: 28px;
	height: 1.6em;            /* = line-height, so the icon centres on the first line */
	margin: 0 18px 0 0;
	padding: 0;
	object-fit: contain;
	object-position: center;
}
/* Instagram glyph fills its whole box (the Material icons have 2-5px inner padding): shrink it to match */
body .contacts .contacts__item > img[src*="instagram"] { padding: 3px 2px; box-sizing: border-box; }
body .contacts .contacts__item { margin-bottom: 12px; }
@media (max-width: 767px) {
	body .contacts .contacts__item { font-size: 17px; }
	body .contacts .contacts__item > img { width: 26px; margin-right: 14px; }
}

/* text links (contacts, header phone, footer): underline follows the text,
   every line of a wrapped link — instead of one bar under the whole box */
body .contacts .link::after, body .footer .link::after, body .i_am .head_info .link::after { display: none; }
body .contacts .link, body .footer .link, body .i_am .head_info .link {
	text-decoration: none;
	transition: color .3s ease;
}
/* hover on text links: no underline, just a gold highlight */
body .contacts .contacts__item a.link:hover, body .contacts .contacts__item a.link:focus,
body .contacts .contacts__item a:not(.btn_msg):hover, body .contacts .contacts__item a:not(.btn_msg):focus,
body .i_am .head_info a.link:hover, body .i_am .head_info a.link:focus {
	text-decoration: none;
	color: var(--gold);
}

/* WhatsApp + Telegram: one row, with icons */
body .contacts .item--btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 24px;     /* air between the phone and the messenger buttons */
	margin-bottom: 8px;
}
body .contacts .item--btns .btn_msg {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 14px 20px;
	white-space: nowrap;
	color: #fff;
}
body .contacts .item--btns .btn_msg span {
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
/* wide screens: keep both buttons on one line even though the text is long;
   the row may extend into the free gap between the two columns */
@media (min-width: 992px) {
	body .contacts .item--btns { flex-wrap: nowrap; width: max-content; max-width: 62vw; }
}
.btn_msg svg { width: 20px; height: 20px; flex: none; color: var(--gold); transition: color .25s ease; }
.btn_msg:hover svg, .btn_msg:focus svg { color: var(--navy); }
.btn_msg:hover { color: var(--navy); }
body .contacts .item--btns .btn_msg:hover, body .contacts .item--btns .btn_msg:focus { color: var(--navy); }

/* ---------- STAT ---------- */
.stat .item span.count {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(54px, 6vw, 84px);
	line-height: 1;
	color: var(--gold-deep);
}
.stat .item .advants__item-title,
.advants__item-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.15;
}
.stat .item .h4 {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 16px;
	color: var(--ink-soft);
}

/* ---------- ADVANTAGES ---------- */
.advants__items { display: flex; flex-wrap: wrap; }
.advants__item {
	margin-bottom: 22px;
}
.advants__item > * { position: relative; }
.advants__item {
	padding-top: 6px;
}
.advants__item-icon img { max-width: 84px; }
.advants__item-text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink-soft);
	font-weight: 400;
}

/* ---------- FAQ ---------- */
.faq__item {
	--raduis: var(--r);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	transition: border-color .25s ease;
}
.faq__item:hover, .faq__item.opened { border-color: var(--gold); }
.faq__item-title {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 18px;
}
.faq__item.opened .faq__item-title { color: var(--gold-deep); }
.faq__item-content { font-weight: 400; color: var(--ink-soft); }

/* ---------- forms ---------- */
.form input, .form textarea, .popup input, .popup textarea {
	font-family: var(--sans);
	font-weight: 400;
	letter-spacing: .02em;
	border-radius: var(--r);
}
.form button.btn_2, .popup button.btn_2 { cursor: pointer; }
.link-opd { font-size: 14px; font-weight: 400; }

/* ==========================================================================
   MODAL (callback / consultation) + form fields + submit button
   ========================================================================== */
.mfp-fade.mfp-bg.mfp-ready {
	opacity: .88;
	background-color: #0d0f15;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

body .mfp-content { padding: 0 16px; }

body #call, body #call-1 {
	position: relative;
	width: 100%;
	max-width: 540px;
	margin: 40px auto;
	padding: 62px 56px 48px;
	background:
		radial-gradient(120% 70% at 50% 0%, rgba(206, 180, 117, .10), transparent 60%),
		var(--navy);
	border: 1px solid rgba(206, 180, 117, .38);
	border-radius: var(--r);
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75);
	text-align: center;
}
/* inner hairline frame + gold mark on top */
body #call::before, body #call-1::before {
	content: "";
	position: absolute;
	inset: 9px;
	border: 1px solid rgba(206, 180, 117, .14);
	pointer-events: none;
}
body #call .wrap, body #call-1 .wrap {
	display: block;
	width: 100%;
	padding: 0;
}
body .popup .wrap .h4 {
	display: block;
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.12;
	letter-spacing: .005em;
	color: #fff;
	margin: 0 0 26px;
	padding: 0;
	text-wrap: balance;
}
body .popup .wrap form { width: 100%; margin: 0; }

/* fields: hairline underline instead of boxed white borders */
body .popup input[type="text"], body .popup input[type="name"], body .popup input[type="email"],
body .popup input[type="phone"], body .popup input[type="tel"], body .popup textarea,
body .contacts .form input[type="text"], body .contacts .form input[type="name"],
body .contacts .form input[type="email"], body .contacts .form input[type="phone"],
body .contacts .form textarea {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 4px;
	padding: 10px 2px 9px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(206, 180, 117, .45);
	border-radius: 0;
	box-shadow: none;
	color: #fff;
	font-family: var(--sans);
	font-weight: 400;
	font-size: 17px;
	letter-spacing: .02em;
	text-align: left;
	transition: border-color .25s ease, box-shadow .25s ease;
}
body .popup textarea, body .contacts .form textarea { height: 64px; min-height: 0; resize: none; }

/* contacts form: three separate fields in a row with real gaps, no fixed-height leftovers */
body .contacts .form .form-group {
	display: flex;
	gap: 32px;
	padding: 0;
	margin: 0 0 14px;
}
body .contacts .form .form-group .field { flex: 1 1 0; min-width: 0; }
body .contacts .form .form-group input[type] {
	width: 100%;
	min-width: 0;
	float: none;
	margin: 0;
}
/* per-field slot for the server's message (AjaxForm fills .error_<name>); hidden while empty */
.field { position: relative; }
.field-error {
	display: block;
	margin: 2px 0 0;
	font-size: 13px;
	line-height: 1.35;
	text-align: left;
	color: #ff9aa8;
}
.field-error:empty { display: none; }
body .form .field-error.error, body .popup .field-error.error { color: #ff9aa8; }
/* field in error state (class added by AjaxForm to the input itself) */
body .form input.error, body .form textarea.error,
body .popup input.error, body .popup textarea.error {
	color: #fff;
	border-bottom-color: #ff7f93;
	box-shadow: 0 1px 0 0 #ff7f93;
}
body .contacts .form .textarea { height: auto; width: 100%; margin: 0; }
body .contacts .form .textarea textarea { margin: 0; }
body .contacts .form .link-opd { margin: 18px 0 22px; }
@media (max-width: 767px) {
	body .contacts .form .form-group { display: block; margin-bottom: 4px; }
	body .contacts .form .form-group .field { margin-bottom: 4px; }
}
body .popup input::placeholder, body .popup textarea::placeholder,
body .contacts .form input::placeholder, body .contacts .form textarea::placeholder {
	color: #fff;
	opacity: 1;
	font-weight: 400;
}
body .popup input:focus, body .popup textarea:focus,
body .contacts .form input:focus, body .contacts .form textarea:focus {
	outline: none;
	border-bottom-color: var(--gold);
	box-shadow: 0 1px 0 0 var(--gold);
}
body .popup input:-webkit-autofill, body .contacts .form input:-webkit-autofill {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0 100px var(--navy) inset;
}
body #call-1 input { margin-bottom: 4px; }

body .popup .link-opd, body .contacts .link-opd {
	margin: 18px 0 20px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: .02em;
	color: #fff;
	text-align: center;
}
body .popup .link-opd a, body .contacts .link-opd a {
	color: var(--gold);
	text-decoration: underline;
	text-decoration-color: rgba(206, 180, 117, .5);
	text-underline-offset: 3px;
}

/* submit button — beats `.popup .wrap .btn_2 { padding: 0 }` from main.min.css */
body .popup .wrap form .btn_2, body .contacts form .btn_2 {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 21px 24px;
	font-size: 13px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	background: var(--gold);
	color: var(--navy);
	border: 1px solid var(--gold);
	border-radius: var(--r);
	cursor: pointer;
}
body .popup .wrap form .btn_2:hover, body .popup .wrap form .btn_2:focus,
body .contacts form .btn_2:hover, body .contacts form .btn_2:focus {
	background: transparent;
	color: var(--gold);
}
body .contacts form .btn_2 { width: auto; min-width: 280px; margin: 0 auto; }

/* close button: thin gold cross instead of the Arial "×" */
body .mfp-close-btn-in .mfp-close, body .mfp-close {
	top: 14px; right: 14px;
	width: 40px; height: 40px;
	padding: 0;
	font-size: 0;
	line-height: 0;
	color: transparent;
	opacity: 1;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: transform .3s ease;
}
body .mfp-close::before, body .mfp-close::after {
	content: "";
	position: absolute;
	left: 50%; top: 50%;
	width: 18px; height: 1px;
	margin: 0 0 0 -9px;
	background: var(--gold);
	transform: rotate(45deg);
}
body .mfp-close::after { transform: rotate(-45deg); }
body .mfp-close:hover { transform: rotate(90deg); }

/* privacy-policy popup: same serif headings */
#conf { background: var(--navy); color: rgba(255, 255, 255, .85); font-weight: 400; }
#conf .h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; color: #fff; }
#conf .h3 { font-size: 24px; text-align: left; text-transform: none; }

@media (max-width: 575px) {
	body #call, body #call-1 { padding: 54px 24px 32px; margin: 20px auto; }
	body #call::before, body #call-1::before { inset: 6px; }
	body .popup .wrap .h4 { margin-bottom: 26px; }
	body .contacts form .btn_2 { width: 100%; min-width: 0; }
}

/* ---------- footer ---------- */
.footer .mult { font-size: 14px; letter-spacing: .04em; font-weight: 400; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
	.svc__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	body { font-size: 16px; }
	.svc__grid { grid-template-columns: 1fr; gap: 16px; }
	.svc__card { padding: 28px 22px 24px; }
	.svc__card--cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
	.svc__card--cta .svc__text { margin-bottom: 22px; }
	.svc__title { font-size: 26px; }
	.sec-lead { margin-bottom: 30px; font-size: 16px; }
	body .h3 { font-size: 30px; padding-bottom: 24px; }
	.btn_2 { padding: 17px 26px; }
	.stat .item { margin-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.svc__card, .svc__more i, .btn_1, .btn_2 { transition: none; }
	.svc__card:hover { transform: none; }
}

/* ==========================================================================
   Form messages: jGrowl toasts (AjaxForm) + "request sent" overlay in the site palette
   (default.css paints them green / brown).
   ========================================================================== */
body .jGrowl .jGrowl-notification {
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.45;
	letter-spacing: .01em;
	color: #fff;
	padding: 16px 22px;
	border: 1px solid rgba(206, 180, 117, .6);
	border-radius: var(--r);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
	opacity: 1;
}
body .jGrowl .jGrowl-notification.af-message-success { background-color: var(--navy) !important; border-color: var(--gold); }
body .jGrowl .jGrowl-notification.af-message-error   { background-color: #2a1219 !important; border-color: #d96b80; }
body .jGrowl .jGrowl-notification.af-message-info    { background-color: var(--navy) !important; }
body .jGrowl .jGrowl-closer { background: var(--navy); color: var(--gold); border-radius: var(--r); font-size: 13px; letter-spacing: .08em; }
body .subject-success { font-family: var(--sans); border: 1px solid var(--gold); }

/* toasts below the fixed header (they used to cover the call-back button) */
body div.jGrowl.top-right { top: 88px; right: 20px; }
@media (max-width: 767px) { body div.jGrowl.top-right { top: 72px; right: 10px; left: 10px; } body div.jGrowl .jGrowl-notification { width: auto; } }

/* service cards without links (until the service pages exist): no hover lift, no pointer */
.svc__card--static { cursor: default; }
.svc__card--static:hover, .svc__card--static:focus-within { transform: none; border-color: var(--line); box-shadow: none; }

/* ---------- first screen: "scroll down" mouse icon, bottom-left ---------- */
.hero-hint { position: absolute; left: 0; right: 0; bottom: 34px; height: auto; z-index: 2; pointer-events: none; }
.hero-hint .row { margin: 0 -15px; }  /* same left edge as the headline and the button */
.scroll-hint { display: inline-block; padding: 10px 0; pointer-events: auto; line-height: 0; }
.scroll-hint__mouse {
	position: relative;
	display: block;
	width: 26px; height: 42px;
	border: 1.5px solid var(--gold);
	border-radius: 14px;
	opacity: .85;
	transition: opacity .3s ease, transform .3s ease;
}
.scroll-hint__mouse i {
	position: absolute;
	left: 50%; top: 8px;
	width: 3px; height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--gold);
	animation: scroll-wheel 1.9s cubic-bezier(.45, 0, .25, 1) infinite;
}
.scroll-hint:hover .scroll-hint__mouse, .scroll-hint:focus-visible .scroll-hint__mouse { opacity: 1; transform: translateY(3px); }
@keyframes scroll-wheel {
	0%   { transform: translateY(0);    opacity: 0; }
	20%  { transform: translateY(0);    opacity: 1; }
	70%  { transform: translateY(13px); opacity: 1; }
	100% { transform: translateY(17px); opacity: 0; }
}
@media (max-width: 768px) { .hero-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint__mouse i { animation: none; opacity: 1; } }

/* ---------- header bar: translucent + blurred, present from the first scrolled pixel ---------- */
body .my_mnu { transition: background-color .3s ease, box-shadow .3s ease; }          /* `top` follows the scroll without lag */
body .my_mnu.is-stuck, body .nav_m.is-stuck, body .nav_m.fixed {
	background-color: rgba(21, 23, 31, .68) !important;
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 rgba(206, 180, 117, .16);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	body .my_mnu.is-stuck, body .nav_m.is-stuck, body .nav_m.fixed { background-color: rgba(21, 23, 31, .94) !important; }   /* no blur support: stay readable */
}

/* ---------- Safari: no white strip under the footer / on overscroll; "to top" button never covers the footer text ---------- */
html { background-color: #15171f; }
@media (max-width: 991px) {
	/* the button sits at the very bottom of the page (position:absolute in main.min.css): give it its own room under the text */
	body .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
	#toTop { left: 50%; margin-left: -20px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- iOS Safari: page runs under the status bar / bottom bar (viewport-fit=cover in <head>) ----------
   Otherwise Safari paints those system areas itself (white). The safe-area insets keep content clear of the notch,
   the status bar and the home indicator. In browsers without insets env() is 0, so nothing changes. */
body .nav_m {
	padding-top: calc(10px + env(safe-area-inset-top, 0px));
	padding-left: max(15px, env(safe-area-inset-left, 0px));
	padding-right: max(15px, env(safe-area-inset-right, 0px));
}
.container {
	padding-left: max(15px, env(safe-area-inset-left, 0px));
	padding-right: max(15px, env(safe-area-inset-right, 0px));
}
html .mm-menu .mm-panels > .mm-panel { padding-top: env(safe-area-inset-top, 0px); }
@media (max-width: 767px) {
	body div.jGrowl.top-right { top: calc(72px + env(safe-area-inset-top, 0px)); }
}

/* phones: a denser bar (blur stays) so the area under the status bar always reads as dark navy in Safari */
@media (max-width: 767px) {
	body .nav_m.is-stuck, body .nav_m.fixed { background-color: rgba(21, 23, 31, .88) !important; }
}

/* phones: back to the original SOLID navy bar (a translucent one made Safari paint the status-bar area white);
   desktop keeps the translucent blurred bar. Page background navy as well, for Safari edge tinting. */
body { background-color: #15171f; }
@media (max-width: 767px) {
	body .nav_m.is-stuck, body .nav_m.fixed {
		background-color: rgb(21, 23, 31) !important;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

/* phones: a more compact text plate on the first screen -> more of the photo is visible.
   The bottom edge stays where it is (the button must remain above Safari's bottom bar). */
@media (max-width: 480px) {
	body .i_am .title { padding: 12px 14px 14px; }
	body .i_am .title .h1 { font-size: 23px; line-height: 1.14; }
	body .i_am .title .h2 { font-size: 14px; line-height: 1.4; padding: 8px 0 14px; }
	body .i_am .title .btn_2 { padding: 15px 18px; font-size: 12px; letter-spacing: .14em; }
	body .i_am .title p { display: none; }          /* the empty <p>&nbsp;</p> after the button */
}

/* phones: zoom the hero photo OUT (it was cropped to a close-up) and anchor it at the bottom, behind the plate;
   the empty strip above the head fades into the page colour. */
@media (max-width: 480px) {
	body .i_am { background-size: auto 92% !important; background-position: 76% 0% !important; background-repeat: no-repeat !important; }
	.i_am::before {
		content: "";
		position: absolute; left: 0; right: 0; bottom: 0;
		height: 24%;
		background: linear-gradient(to top, #0b0c10 0%, #0b0c10 36%, rgba(11, 12, 16, .8) 58%, rgba(11, 12, 16, 0) 100%);   /* photo is top-aligned: its lower edge is hidden in the page colour */
		pointer-events: none;
		z-index: 0;      /* first in DOM order: the plate (later) paints above it; the fixed header is above both */
	}
	body .i_am .title { bottom: 4%; }             /* phones: the text plate sits at the bottom edge of the black hero (was 9%) */
}

/* first screen: consultation button with a full WhatsApp button below it */
.i_am .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.i_am .hero-cta .btn_2 { margin: 0; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.i_am .hero-cta .hero-wa { margin: 0; padding: 17px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; white-space: nowrap; color: #fff; }
.i_am .hero-cta .hero-wa span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.i_am .hero-cta .hero-wa:hover { color: var(--navy); }
@media (max-width: 768px) {
	.i_am .hero-cta { flex-direction: column; flex-wrap: nowrap; }   /* phones and tablets: stacked */
}
@media (max-width: 480px) {
	.i_am .hero-cta { gap: 8px; }
	body .i_am .title .hero-cta .btn_2 { padding: 15px 12px; }
	.i_am .hero-cta .hero-wa { padding: 14px 12px; }
}

/* first screen: working-hours note under the buttons */
.i_am .title .hero-note { margin: 18px 0 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .6); }
@media (max-width: 480px) {
	body .i_am .title p.hero-note { display: block; margin: 10px 0 0; font-size: 12px; text-align: center; }
}

/* "all services" link under the service cards on the home page */
.svc__all { margin: 36px 0 0; text-align: center; }
.svc__all .svc__more { margin-top: 0; text-decoration: none; }
.svc__all .svc__more:hover i { width: 40px; }
.svc__all .svc__more:hover { color: var(--gold-deep); }

/* ---------- sticky call-to-action bar (phones only; redesign.js adds .is-visible after the first screen) - home + service pages ---------- */
.svp-sticky { display: none; }
@media (max-width: 767px) {
	.svp-sticky {
		display: flex; gap: 10px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgb(21, 23, 31); border-top: 1px solid rgba(206, 180, 117, .3);
		transform: translateY(110%); transition: transform .3s ease;
	}
	.svp-sticky.is-visible { transform: none; }
	.svp-sticky .btn_2 { flex: 1; margin: 0; padding: 16px 12px; text-align: center; font-size: 12px; }
	.svp-sticky .btn_msg { margin: 0; padding: 0 16px; display: inline-flex; align-items: center; }
}


/* back-to-top button rises above the sticky bar */
@media (max-width: 767px) { html.has-sticky #toTop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- gentle entrance animation of the first blocks (same idea as the Casa Demi site) ----------
   The page shows a preloader overlay that fades out ~600ms after DOM ready. A tiny inline script in <head> sets
   `js` on <html> at once (so the animated blocks start hidden - nothing shows through the fading preloader) and
   `rf-ready` right after the preloader is gone (with a 2.5s safety net). Only opacity/transform, no JS animation.
   Without JS nothing is hidden. */
@keyframes rfUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rfFade { from { opacity: 0; } to { opacity: 1; } }
.js:not(.rf-ready) .i_am .title > h1, .js:not(.rf-ready) .i_am .title > h2,
.js:not(.rf-ready) .i_am .title > .hero-cta, .js:not(.rf-ready) .i_am .title > .hero-note,
.js:not(.rf-ready) .svp-hero__text > *, .js:not(.rf-ready) .svp-hero__media,
.js:not(.rf-ready) .svp-hero--slim + main .svp-crumbs, .js:not(.rf-ready) .svp-hub__item { opacity: 0; }
.rf-ready .i_am .title > h1, .rf-ready .i_am .title > h2, .rf-ready .i_am .title > .hero-cta, .rf-ready .i_am .title > .hero-note,
.rf-ready .svp-hero__text > *, .rf-ready .svp-hero--slim + main .svp-crumbs, .rf-ready .svp-hub__item {
	animation: rfUp .6s cubic-bezier(.22, .7, .25, 1) backwards;
}
.rf-ready .svp-hero__media { animation: rfFade .7s ease .15s backwards; }
.rf-ready .i_am .title > h2, .rf-ready .svp-hero__text > *:nth-child(2) { animation-delay: .08s; }
.rf-ready .i_am .title > .hero-cta, .rf-ready .svp-hero__text > *:nth-child(3) { animation-delay: .16s; }
.rf-ready .i_am .title > .hero-note, .rf-ready .svp-hero__text > *:nth-child(4) { animation-delay: .24s; }
.rf-ready .svp-hero__text > *:nth-child(5) { animation-delay: .32s; }
.rf-ready .svp-hero__text > *:nth-child(6) { animation-delay: .4s; }
.rf-ready .svp-hub__item:nth-child(2) { animation-delay: .06s; }
.rf-ready .svp-hub__item:nth-child(3) { animation-delay: .12s; }
.rf-ready .svp-hub__item:nth-child(4) { animation-delay: .18s; }
.rf-ready .svp-hub__item:nth-child(n+5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.rf-ready .i_am .title > *, .rf-ready .svp-hero__text > *, .rf-ready .svp-hero__media,
	.rf-ready .svp-hero--slim + main .svp-crumbs, .rf-ready .svp-hub__item { animation: none; }
}
/* Phones/tablets: the dark blurred plate lives on a SEPARATE layer (::before) under the text */
@media (max-width: 768px) {
	body .i_am .title {
		background: none !important;
		-webkit-backdrop-filter: none !important; backdrop-filter: none !important;
		isolation: isolate;
	}
	body .i_am .title::before {
		content: ""; position: absolute; inset: 0; z-index: -1;
		border-radius: 10px;
		background: rgba(0, 0, 0, .5);
		-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
		pointer-events: none;
	}
}

/* ---------- article cards (blog list, "read also", home preview) ---------- */
.art-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.art-card { display: flex; flex-direction: column; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.art-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 18px 40px -22px rgba(21, 23, 31, .35); color: var(--ink); text-decoration: none; }
.art-card__meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.art-card__title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; margin: 12px 0 12px; color: var(--ink); text-transform: none; padding: 0; }
.art-card p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.art-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.art-card__more svg { width: 18px; height: 18px; transition: transform .25s ease; }
.art-card:hover .art-card__more svg { transform: translateX(5px); }
@media (max-width: 991px) { .art-list { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .art-card { padding: 24px 20px; } .art-card__title { font-size: 25px; } }
.blogprev { background: var(--paper-2); padding: var(--section-y, 112px) 0; }
.blogprev .container { height: auto; }
.blogprev .art-list { margin-top: 8px; }

/* footer bottom row: same width as the page container (aligned with the header menu), 3 items */
body .footer .container .row .wrap-pad, body .footer .mult, body .footer .mult ul { padding-left: 0; padding-right: 0; }
body .footer .mult ul { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px 24px; margin: 0; }
body .footer .mult li:first-child { text-align: left; }
body .footer .mult li:last-child { text-align: right; }
body .footer .mult li { float: none; }
@media (max-width: 767px) { body .footer .mult ul { grid-template-columns: 1fr; justify-items: center; text-align: center; } body .footer .mult li:first-child, body .footer .mult li:last-child { text-align: center; } }

/* lightbox: screenshots at natural size (the theme stretched them to the full window width), always fully visible */
body .mfp-image-holder .mfp-content .mfp-figure { background: none; }
body .mfp-image-holder .mfp-content .mfp-figure img.mfp-img { width: auto; max-width: 100%; max-height: 86vh; height: auto !important; padding: 0; margin: 0 auto; border-radius: var(--r); background: #fff; }

/* lightbox controls: bigger close button placed higher, arrows in the site's gold circle style */
html body .mfp-wrap .mfp-container .mfp-content .mfp-figure .mfp-close, html body .mfp-wrap .mfp-close { position: fixed; top: 12px; right: 22px; width: 80px; height: 80px; z-index: 1047; }
html body .mfp-close::before, html body .mfp-close::after { width: 38px; height: 2px; margin-left: -19px; }
html body button.mfp-arrow { width: 56px; height: 56px; margin: -28px 0 0; opacity: 1; border: 1px solid var(--gold); border-radius: 50%; background: rgba(21, 23, 31, .55); transition: background-color .25s ease; }
html body button.mfp-arrow-left { left: 24px; }
html body button.mfp-arrow-right { right: 24px; }
html body button.mfp-arrow::before { display: none; }
html body button.mfp-arrow:active { margin-top: -28px; }   /* the theme shifts the arrow up while pressed: the finger then misses it and the tap closes the gallery */
html body .mfp-wrap .mfp-container .mfp-content .mfp-figure .mfp-close:active, html body .mfp-wrap .mfp-close:active { top: 12px; }
html body button.mfp-arrow::after, html body button.mfp-arrow-left::after, html body button.mfp-arrow-right::after { content: ""; display: block; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; margin: 0; border: 0; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transition: border-color .25s ease; }
html body button.mfp-arrow-left::after { transform: translate(-30%, -50%) rotate(-135deg); }
html body button.mfp-arrow-right::after { transform: translate(-70%, -50%) rotate(45deg); }
html body button.mfp-arrow:hover, html body button.mfp-arrow:focus { background: var(--gold); }
html body button.mfp-arrow:hover::after, html body button.mfp-arrow:focus::after { border-top-color: var(--navy); border-right-color: var(--navy); }
@media (max-width: 767px) {
	html body .mfp-wrap .mfp-container .mfp-content .mfp-figure .mfp-close, html body .mfp-wrap .mfp-close { top: 6px; right: 8px; width: 64px; height: 64px; }
	html body .mfp-close::before, html body .mfp-close::after { width: 32px; margin-left: -16px; }
	html body button.mfp-arrow { width: 44px; height: 44px; margin-top: -22px; }
	html body button.mfp-arrow:active { margin-top: -22px; }
	html body .mfp-wrap .mfp-container .mfp-content .mfp-figure .mfp-close:active, html body .mfp-wrap .mfp-close:active { top: 6px; }
	html body button.mfp-arrow-left { left: 8px; }
	html body button.mfp-arrow-right { right: 8px; }
}
