/* =========================================================================
   DI Site Kit – footer (DI – Футър / [di_footer]).
   Newsletter band · brand + link columns + contact · bottom bar · back to top.
   Colours are variables set from the widget (--ft-*).
   ========================================================================= */

.dift {
	--ft-bg: #0b0b0b;
	--ft-bar: #111111;
	--ft-panel: #161616;
	--ft-line: #262626;
	--ft-ink: #F4F3F3;
	--ft-muted: #8F8F8F;
	--ft-accent: #E83324;
	--ft-accent-dark: #C92617;
	--ft-ink-2: color-mix(in srgb, var(--ft-ink) 78%, var(--ft-bg));
	--ft-wrap: 1280px;
	position: relative;
	background: var(--ft-bg);
	color: var(--ft-ink-2);
	font-family: var(--e-global-typography-text-font-family, "Source Sans Pro"), "Source Sans Pro", "Source Sans 3", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
}
.dift *, .dift *::before, .dift *::after { box-sizing: border-box; }
.dift ul { margin: 0; padding: 0; list-style: none; }
.dift a { color: inherit; text-decoration: none; transition: color .15s; }
.dift a:hover { color: var(--ft-ink); }
.dift-wrap { max-width: var(--ft-wrap); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.dift .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.dift-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ft-muted); }
.dift-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ft-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ft-accent) 22%, transparent); }

/* ---------- Newsletter band ---------- */
.dift-news { position: relative; overflow: hidden; border-top: 1px solid var(--ft-line); border-bottom: 1px solid var(--ft-line); background: radial-gradient(ellipse 60% 140% at 0% 50%, color-mix(in srgb, var(--ft-accent) 22%, var(--ft-bar)) 0, var(--ft-bar) 60%); }
.dift-news .dift-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.dift .dift-news__title { margin: 10px 0 8px; font-family: inherit; font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.08; text-transform: uppercase; color: var(--ft-ink); }
.dift-news__txt p { margin: 0; color: var(--ft-ink-2); }
.dift-news__row { position: relative; display: flex; }
.dift .dift-news__row input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 54px;
	margin: 0;
	padding: 0 18px !important;
	border: 1.5px solid var(--ft-line) !important;
	border-right: 0 !important;
	border-radius: 3px 0 0 3px !important;
	background: var(--ft-bg) !important;
	color: var(--ft-ink) !important;
	font: inherit;
	font-size: 16px;
	box-shadow: none !important;
	outline: none;
}
.dift .dift-news__row input[type="email"]:focus { border-color: var(--ft-accent) !important; }
.dift .dift-news__row input[type="email"]::placeholder { color: var(--ft-muted); }
.dift .dift-news__row button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 54px;
	margin: 0;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: 0 3px 3px 0 !important;
	background: var(--ft-accent) !important;
	color: #fff !important;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none !important;
	transition: background .2s;
}
.dift .dift-news__row button:hover { background: var(--ft-accent-dark) !important; }
.dift .dift-news__row button[disabled] { opacity: .6; cursor: progress; }
.dift .dift-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.dift-news__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; color: var(--ft-muted); font-size: 13px; line-height: 1.45; cursor: pointer; }
.dift-news__consent input { margin-top: 1px !important; }
.dift-news__consent a { color: var(--ft-ink-2); text-decoration: underline; text-underline-offset: 2px; }
.dift-news__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.dift-news__msg.is-ok { color: #4CC38A; }
.dift-news__msg.is-err { color: #FF6B5E; }
@media (max-width: 860px) {
	.dift-news .dift-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.dift-news__row { flex-direction: column; gap: 10px; }
	.dift .dift-news__row input[type="email"] { border-right: 1.5px solid var(--ft-line) !important; border-radius: 3px !important; }
	.dift .dift-news__row button { justify-content: center; border-radius: 3px !important; }
}

/* ---------- Main ---------- */
.dift-main .dift-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(var(--dift-cols, 2), minmax(0, 1fr)) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 56px); padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 56px); }
.dift-brand__logo { display: inline-block; }
.dift-brand__logo img { display: block; max-width: 100%; }
.dift-brand__name { font-size: 24px; font-weight: 900; text-transform: uppercase; color: var(--ft-ink); }
.dift-brand__about { max-width: 34ch; margin: 18px 0 0; color: var(--ft-ink-2); }
.dift-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dift a.dift-social { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ft-line); border-radius: 50%; color: var(--ft-ink); transition: background .15s, border-color .15s, color .15s, transform .15s; }
.dift a.dift-social:hover { border-color: var(--ft-accent); background: var(--ft-accent); color: #fff; transform: translateY(-2px); }

.dift-col summary, .dift-col__h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 16px;
	color: var(--ft-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	list-style: none;
	cursor: default;
}
.dift-col summary::-webkit-details-marker { display: none; }
.dift-col summary svg { display: none; }
.dift-col li + li { margin-top: 10px; }
.dift-col ul a { position: relative; display: inline-block; color: var(--ft-ink-2); }
.dift-col ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ft-accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.dift-col ul a:hover { color: var(--ft-ink); }
.dift-col ul a:hover::after { transform: scaleX(1); }

.dift-contact li { display: flex; align-items: flex-start; gap: 12px; }
.dift-contact li + li { margin-top: 14px; }
.dift-contact svg { flex: none; margin-top: 2px; color: var(--ft-accent); }
.dift-contact a::after { display: none; }

/* Phones: link columns become accordions. */
@media (max-width: 1000px) and (min-width: 761px) {
	.dift-main .dift-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.dift-main .dift-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.dift-brand { padding-bottom: 28px; }
	.dift-col { border-top: 1px solid var(--ft-line); }
	.dift-col summary, .dift-col__h { margin: 0; padding: 18px 0; cursor: pointer; }
	.dift-col summary svg { display: block; color: var(--ft-muted); transition: transform .2s; }
	.dift-col[open] summary svg { transform: rotate(180deg); color: var(--ft-accent); }
	.dift-col ul { padding-bottom: 20px; }
	.dift-contact { padding-bottom: 8px; }
}

/* ---------- Bottom bar ---------- */
.dift-bottom { border-top: 1px solid var(--ft-line); }
.dift-bottom .dift-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-top: 20px; padding-bottom: 20px; }
.dift-copy { margin: 0; color: var(--ft-muted); font-size: 13px; }
.dift-credit a { color: var(--ft-ink-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--ft-ink) 30%, transparent); }
.dift-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.dift-pay svg { display: block; border-radius: 4px; }
@media (max-width: 760px) {
	.dift-bottom .dift-wrap { flex-direction: column-reverse; align-items: flex-start; }
}

/* ---------- Back to top ---------- */
.dift button.dift-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0 !important;
	border: 1px solid var(--ft-line) !important;
	border-radius: 50% !important;
	background: var(--ft-panel) !important;
	color: var(--ft-ink) !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .4) !important;
	cursor: pointer;
	transition: background .2s, border-color .2s, transform .2s;
}
.dift button.dift-top:hover { border-color: var(--ft-accent) !important; background: var(--ft-accent) !important; color: #fff !important; transform: translateY(-2px); }
.dift button.dift-top[hidden] { display: none; }
@media (max-width: 760px) { .dift button.dift-top { right: 14px; bottom: 84px; } } /* above chat bubbles */
