/* ==========================================================================
 * Дизайн-система «DS» — airclimategroup.com (24.10.2026)
 * Джерело: workspace/consept/*.png (десктоп); адаптив — наш.
 * Принципи: спокійна редакційна типографіка (заголовки реченням з крапкою, темно-сині),
 * багато повітря, тонкі лінії замість плашок і рамок, фото до краю екрана,
 * прямокутні кнопки. Усе всередині .ds; селектори з .ds, щоб перебивати Elementor Kit.
 * Порядок: 1 токени → 2 база → 3 елементи → 4 хедер → 5 блоки → 6 адаптив.
 * ========================================================================== */

/* 1. Токени ------------------------------------------------------------- */
.ds {
	--ds-navy: #0D2B57;        /* фон hero і cta, заголовки */
	--ds-navy-2: #16407A;      /* смуга під hero */
	--ds-blue: #0063E1;        /* бренд: номер у хедері, номери кроків, другий тон заголовка */
	--ds-orange: #F26A1B;      /* акцент: кнопки, риска eyebrow, номери 01… */
	--ds-orange-2: #DB5C12;    /* ховер */
	--ds-sky: #E9F0F8;         /* світлий фон секцій */
	--ds-text: #334259;        /* основний текст */
	--ds-muted: #5F6B80;       /* другорядний текст */
	--ds-line: #DCE3EC;        /* лінії на світлому */
	--ds-line-dark: rgba(255, 255, 255, .2);
	--ds-container: 1200px;
	--ds-gutter: 24px;
	--ds-section: 112px;
	--ds-radius: 2px;
	--ds-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ds-header-h: 80px;
}

/* 2. База ---------------------------------------------------------------- */
.ds { font-family: var(--ds-font); font-size: 17px; line-height: 1.6; color: var(--ds-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.ds *, .ds *::before, .ds *::after { box-sizing: border-box; min-width: 0; }
.ds p, .ds ul, .ds ol, .ds dl, .ds h1, .ds h2, .ds h3 { margin: 0; }
.ds a { color: inherit; }
/* інтерактивні елементи: один спокійний перехід на всіх, фокус з клавіатури — помаранчева рамка */
.ds { --ds-ease: .18s ease; }
.ds a, .ds button, .ds summary { transition: color var(--ds-ease), background-color var(--ds-ease), border-color var(--ds-ease), text-decoration-color var(--ds-ease), opacity var(--ds-ease); }
.ds :focus { outline: none; }
.ds :focus-visible { outline: 2px solid var(--ds-orange); outline-offset: 3px; border-radius: 2px; }
/* підкреслення посилань: у спокої немає; на ховері/фокусі виростає зліва направо за 180 мс
   кольором самого тексту (currentColor), тому текст і лінія завжди одного кольору */
.ds .ds-u { text-decoration: none; background: linear-gradient(currentColor, currentColor) left 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .18s ease-out, color var(--ds-ease); }
.ds a:hover > .ds-u, .ds a:focus-visible > .ds-u, .ds a.ds-u:hover, .ds a.ds-u:focus-visible { background-size: 100% 2px; }
.ds img { display: block; max-width: 100%; height: auto; }
.ds-wrap { width: min(var(--ds-container), 100% - 2 * var(--ds-gutter)); margin-inline: auto; }
.ds-section { padding: var(--ds-section) 0; }
.ds-section--sky { background: var(--ds-sky); }
.ds-section--navy { background: var(--ds-navy); }
.ds--dark { color: #fff; }

/* 3. Елементи ------------------------------------------------------------ */
/* типографіка: заголовки реченням, без трансформацій Kit */
.ds .ds-h1, .ds .ds-h2, .ds .ds-h3, .ds h3 { text-transform: none; overflow-wrap: anywhere; }
.ds .ds-h1 { font-size: clamp(40px, 4.8vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; color: #fff; margin: 0 0 28px; }
.ds .ds-h2 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--ds-navy); margin: 0 0 24px; max-width: 18ch; }
.ds .ds-h2--xl { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.ds .ds-h2--xl span { display: block; color: var(--ds-blue); }
.ds .ds-h3 { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ds-navy); margin: 0 0 24px; }
.ds--dark .ds-h2, .ds--dark .ds-h3 { color: #fff; }
.ds .ds-lead { font-size: 20px; line-height: 1.55; color: var(--ds-text); max-width: 56ch; margin: 0 0 40px; }
.ds--dark .ds-lead { color: rgba(255, 255, 255, .88); }
.ds .ds-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ds-navy); margin: 0 0 24px; }
.ds .ds-eyebrow::after { content: ""; display: block; width: 64px; height: 3px; background: var(--ds-orange); margin-top: 16px; }
.ds--dark .ds-eyebrow { color: #fff; }
.ds .ds-note { font-size: 16px; line-height: 1.5; color: var(--ds-muted); }
.ds--dark .ds-note { color: rgba(255, 255, 255, .75); }
.ds .ds-note a { color: var(--ds-navy); font-weight: 600; }
.ds .ds-note a:hover { color: var(--ds-blue); }
.ds--dark .ds-note a, .ds--dark .ds-note a:hover { color: #fff; }
.ds .ds-step p a { text-decoration: none; }
.ds .ds-step p a:hover { color: var(--ds-blue); }

/* кнопки, посилання, телефон */
.ds .ds-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 60px; padding: 0 40px; border-radius: var(--ds-radius);
	font: 700 18px/1 var(--ds-font); color: #fff; background: var(--ds-orange); text-decoration: none;
	transition: background .15s ease;
}
.ds .ds-btn { transition: background-color var(--ds-ease), transform var(--ds-ease), box-shadow var(--ds-ease); }
.ds .ds-btn:hover { background: var(--ds-orange-2); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(242, 106, 27, .28); }
.ds .ds-btn:active { transform: translateY(0); box-shadow: none; transition-duration: .06s; }
.ds .ds-btn--navy { background: var(--ds-navy); }
.ds .ds-btn--navy:hover { background: var(--ds-navy-2); box-shadow: 0 8px 20px rgba(13, 43, 87, .22); }
.ds .ds-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 700; color: var(--ds-navy); text-decoration: none; }
.ds .ds-link:hover { color: var(--ds-blue); }
.ds--dark .ds-link, .ds--dark .ds-link:hover { color: #fff; }
.ds .ds-tel { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 21px; font-weight: 700; color: var(--ds-navy); text-decoration: none; }
.ds .ds-tel:hover { color: var(--ds-blue); }
.ds--dark .ds-tel, .ds--dark .ds-tel:hover { color: #fff; }
.ds .ds-tel svg { width: 24px; height: 24px; flex: none; }
.ds .ds-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }

/* фото / заглушка */
.ds .ds-media { margin: 0; position: relative; overflow: hidden; background: #C9D2DE; }
.ds .ds-media img { width: 100%; height: 100%; object-fit: cover; }
.ds .ds-media--4x3 { aspect-ratio: 4 / 3; }
.ds .ds-media--fill { position: absolute; inset: 0; }
.ds .ds-media__ph { position: absolute; inset: 0; background: linear-gradient(160deg, #D8DFE9 0%, #C3CDDA 100%); }

/* рядки з лініями у дві колонки (без іконок) */
.ds .ds-lines { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.ds .ds-lines li { padding: 16px 0; border-top: 1px solid var(--ds-line); font-size: 17px; line-height: 1.5; color: var(--ds-text); }
.ds .ds-lines li:nth-last-child(-n+2) { border-bottom: 1px solid var(--ds-line); }

/* нумерований список: великі помаранчеві номери, лінії між рядками */
.ds .ds-numlist { list-style: none; padding: 0; }
.ds .ds-numlist li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--ds-line); }
.ds .ds-numlist li:last-child { border-bottom: 1px solid var(--ds-line); }
.ds--dark .ds-numlist li { border-color: var(--ds-line-dark); }
.ds .ds-numlist__n { font-size: 36px; font-weight: 800; line-height: 1; color: var(--ds-orange); }
.ds .ds-numlist h3 { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ds-navy); }
.ds--dark .ds-numlist h3 { color: #fff; }
.ds .ds-numlist p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ds-muted); }
.ds--dark .ds-numlist p { color: rgba(255, 255, 255, .78); }

/* дві колонки списків із роздільником (repair / replace) */
.ds .ds-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ds .ds-cols__col + .ds-cols__col { border-left: 1px solid var(--ds-line); padding-left: 40px; }
.ds .ds-cols h3 { font-size: 18px; font-weight: 700; color: var(--ds-blue); margin-bottom: 16px; }
.ds .ds-cols ul { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 16px; }

/* рядки «термін | опис» */
.ds .ds-rows__row { display: grid; grid-template-columns: minmax(170px, .42fr) 1fr; gap: 8px 36px; padding: 22px 0; border-top: 1px solid var(--ds-line); }
.ds .ds-rows__row:last-child { border-bottom: 1px solid var(--ds-line); }
.ds .ds-rows dt { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ds-navy); }
.ds .ds-rows dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ds-muted); position: relative; padding-left: 36px; }
.ds .ds-rows dd::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 1px; background: var(--ds-line); }

/* 4. Хедер ---------------------------------------------------------------- */
.ds .ds-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; background: #fff; border-bottom: 1px solid var(--ds-line); transition: box-shadow .2s ease; }
.ds .ds-header.is-scrolled { box-shadow: 0 8px 28px rgba(13, 43, 87, .08); }
.ds .ds-header__in { display: flex; align-items: center; gap: 32px; min-height: var(--ds-header-h); }
.ds .ds-logo { flex: none; display: block; }
.ds .ds-logo:hover { opacity: .8; }
.ds .ds-logo img { height: 46px; width: auto; }
.ds .ds-nav { margin-left: auto; }
.ds .ds-nav__list, .ds .ds-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.ds .ds-nav__list { display: flex; align-items: center; gap: 8px; }
.ds .ds-nav__list > li { position: relative; }
.ds .ds-nav__list > li > a {
	position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px;
	font-size: 15px; font-weight: 600; color: var(--ds-navy); text-decoration: none;
}
.ds .ds-nav__list > li > a::before {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
	background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .18s ease-out;
}
.ds .ds-nav__list > li > a:hover::before, .ds .ds-nav__list > li.is-open > a::before,
.ds .ds-nav__list > li.current-menu-item > a::before, .ds .ds-nav__list > li.current-menu-ancestor > a::before { transform: scaleX(1); }
.ds .ds-nav__list > li > a:hover, .ds .ds-nav__list > li.is-open > a,
.ds .ds-nav__list > li.current-menu-item > a, .ds .ds-nav__list > li.current-menu-ancestor > a { color: var(--ds-blue); }
.ds .ds-nav .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; margin-top: -3px; flex: none; opacity: .7;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.ds .ds-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: 10px 0;
	background: #fff; border: 1px solid var(--ds-line); box-shadow: 0 20px 48px rgba(13, 43, 87, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.ds .ds-nav__list > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* міст до випадайки */
.ds .ds-nav__list > li:hover > .sub-menu, .ds .ds-nav__list > li:focus-within > .sub-menu, .ds .ds-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ds .ds-nav .sub-menu a { display: block; padding: 10px 22px; font-size: 15px; font-weight: 500; color: var(--ds-navy); text-decoration: none; box-shadow: inset 0 0 0 var(--ds-orange); transition: color var(--ds-ease), background-color var(--ds-ease), box-shadow var(--ds-ease), padding-left var(--ds-ease); }
.ds .ds-nav .sub-menu a:hover { color: var(--ds-blue); background: var(--ds-sky); box-shadow: inset 3px 0 0 var(--ds-orange); padding-left: 26px; }
.ds .ds-nav .sub-menu .current-menu-item > a { color: var(--ds-blue); font-weight: 600; }
.ds .ds-header__contact { flex: none; display: flex; align-items: center; padding-left: 28px; border-left: 2px solid var(--ds-orange); }
.ds .ds-header__tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 700; color: var(--ds-blue); text-decoration: none; }
.ds .ds-header__tel:hover { color: var(--ds-navy); }
.ds .ds-header__tel svg { width: 22px; height: 22px; color: var(--ds-orange); flex: none; }
.ds .ds-burger { display: none; }

/* 5. Блоки ---------------------------------------------------------------- */
/* bleed: сітка «поле | ліва половина контейнера | права половина | поле» —
   текст тримається межі контейнера, фото йде до краю екрана без 100vw.
   Використовують hero, features (фото ліворуч), reviews, cta. */
.ds .ds-bleed {
	display: grid;
	grid-template-columns:
		minmax(var(--ds-gutter), 1fr)
		minmax(0, calc(var(--ds-container) / 2))
		minmax(0, calc(var(--ds-container) / 2))
		minmax(var(--ds-gutter), 1fr);
}
.ds .ds-bleed__body { grid-column: 2; padding: 104px 72px 104px 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.ds .ds-bleed__media { grid-column: 3 / 5; position: relative; min-height: 560px; }
.ds .ds-bleed--media-left .ds-bleed__media { grid-column: 1 / 3; grid-row: 1; }
.ds .ds-bleed--media-left .ds-bleed__body { grid-column: 3; grid-row: 1; padding: 104px 0 104px 72px; }

/* hero */
.ds .ds-hero { background: var(--ds-navy); }
.ds .ds-hero .ds-bleed__media { min-height: 680px; }
.ds .ds-hero .ds-actions { margin-bottom: 32px; }

/* strip: типографічний ряд фактів під hero — великі цифри/слова, тонкі лінії між колонками */
.ds .ds-strip { padding: 64px 0 0; }
.ds .ds-strip__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.ds .ds-strip__item { display: flex; flex-direction: column; padding: 4px 32px 8px; border-left: 1px solid var(--ds-line); }
.ds .ds-strip__item:first-child { padding-left: 0; border-left: 0; }
.ds .ds-strip__item:last-child { padding-right: 0; }
.ds .ds-strip__figure { font-size: clamp(34px, 3vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ds-navy); margin-bottom: 14px; }
.ds .ds-strip__item strong { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ds-navy); }
.ds .ds-strip__text { font-size: 15px; line-height: 1.5; color: var(--ds-muted); margin-top: 2px; }
.ds .ds-hero + .ds-strip + .ds-section { padding-top: 96px; }

/* split */
.ds .ds-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
.ds .ds-split--media-left .ds-split__media { order: -1; }
.ds .ds-split__body .ds-lead { margin-bottom: 32px; }
.ds .ds-split__note { margin-top: 32px; font-size: 19px; line-height: 1.5; max-width: 48ch; }
.ds .ds-split__note strong { color: var(--ds-navy); }
.ds .ds-split__body .ds-actions { margin-top: 32px; }
.ds .ds-split__media { position: sticky; top: calc(var(--ds-header-h) + 32px); }

/* steps */
.ds .ds-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 16px; }
.ds .ds-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; }
.ds .ds-step__n { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ds-blue); color: #fff; font-size: 24px; font-weight: 800; }
.ds .ds-step h3 { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ds-navy); margin: 10px 0 8px; }
.ds .ds-step p { font-size: 16px; line-height: 1.55; color: var(--ds-muted); }
.ds .ds-step p a { color: var(--ds-navy); font-weight: 600; }
.ds .ds-steps__extra { margin-top: 80px; }
.ds .ds-steps .ds-actions { margin-top: 48px; }

/* features: горизонтальне фото до лівого краю, липке у верхній точці блоку; кілька фото
   змінюють одне одного впродовж прокрутки (ds.js перемикає .is-active за прогресом) */
.ds .ds-features { align-items: start; }
.ds .ds-features .ds-bleed__media { min-height: 0; aspect-ratio: 16 / 10; align-self: start; position: sticky; top: calc(var(--ds-header-h) + 32px); margin: 104px 0; }
.ds .ds-features__slides { position: absolute; inset: 0; }
.ds .ds-features__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.ds .ds-features__slide.is-active { opacity: 1; }
.ds .ds-features__slide:nth-child(2) .ds-media__ph { background: linear-gradient(160deg, #C9D5E3 0%, #AEBCCD 100%); }
.ds .ds-features__slide:nth-child(3) .ds-media__ph { background: linear-gradient(160deg, #BFCBDA 0%, #9FB0C4 100%); }
.ds .ds-features__dots { list-style: none; position: absolute; right: 24px; bottom: 20px; display: flex; gap: 8px; margin: 0; padding: 0; }
.ds .ds-features__dots li { width: 28px; height: 2px; background: rgba(255, 255, 255, .45); transition: background-color .3s ease; }
.ds .ds-features__dots li.is-active { background: #fff; }
.ds .ds-features .ds-lead { margin-bottom: 32px; }
.ds .ds-features .ds-rows { align-self: stretch; }
.ds .ds-features .ds-actions { margin-top: 36px; }

/* reviews */
.ds .ds-reviews { background: var(--ds-sky); }
.ds .ds-reviews .ds-h2 { max-width: none; }
.ds .ds-reviews .ds-h2--xl { margin-bottom: 36px; }

/* cta */
.ds .ds-cta { background: var(--ds-navy); }
.ds .ds-cta .ds-note { margin-top: 28px; }

/* абзаци тексту в блоках */
.ds .ds-text { display: grid; gap: 14px; max-width: 56ch; font-size: 17px; line-height: 1.6; }
.ds .ds-text + .ds-numlist, .ds .ds-text + .ds-quotes, .ds .ds-text + .ds-cols { margin-top: 36px; }
.ds--dark .ds-text { color: rgba(255, 255, 255, .85); }
.ds .ds-text strong { color: var(--ds-navy); }
.ds--dark .ds-text strong { color: #fff; }

/* питання-цитати: курсив, лінії між рядками */
.ds .ds-quotes { list-style: none; padding: 0; margin: 0 0 32px; max-width: 48ch; }
.ds .ds-quotes li { padding: 14px 0; border-top: 1px solid var(--ds-line); font-size: 20px; font-style: italic; line-height: 1.4; color: var(--ds-navy); }
.ds .ds-quotes li:last-child { border-bottom: 1px solid var(--ds-line); }

/* icons: пункти з контурною іконкою в ряд, вертикальні лінії, помаранчева лінія зверху */
.ds .ds-section--icons { padding-top: 0; }
.ds .ds-icons { list-style: none; padding: 40px 0 0; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 2px solid var(--ds-orange); }
.ds .ds-icons__item { display: flex; gap: 20px; padding: 8px 40px 8px; border-left: 1px solid var(--ds-line); }
.ds .ds-icons__item:first-child { padding-left: 0; border-left: 0; }
.ds .ds-icons__item:last-child { padding-right: 0; }
.ds .ds-icons__icon { flex: none; width: 44px; color: var(--ds-navy); }
.ds .ds-icons__icon svg { width: 40px; height: 40px; }
.ds .ds-icons h3 { font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ds-navy); margin: 2px 0 8px; }
.ds .ds-icons p { font-size: 16px; line-height: 1.55; color: var(--ds-muted); }

/* cards: три картки з фото, тонкою рамкою, номером і посиланням */
.ds .ds-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 16px; }
.ds .ds-card { display: flex; flex-direction: column; border: 1px solid var(--ds-line); background: #fff; transition: border-color .25s ease; }
.ds .ds-card:hover { border-color: #B9C5D6; }
.ds .ds-card .ds-media img, .ds .ds-card .ds-media__ph { transition: transform .6s ease; }
.ds .ds-card:hover .ds-media img, .ds .ds-card:hover .ds-media__ph { transform: scale(1.03); }
.ds .ds-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.ds .ds-card__n { font-size: 14px; font-weight: 700; letter-spacing: .18em; color: var(--ds-orange); margin-bottom: 14px; }
.ds .ds-card h3 { font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--ds-navy); margin: 0 0 12px; }
.ds .ds-card__text { display: grid; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--ds-muted); }
.ds .ds-card__link { margin-top: auto; padding-top: 20px; font-size: 16px; font-weight: 700; color: var(--ds-blue); text-decoration: none; }
.ds .ds-card__link:hover { color: var(--ds-navy); }
.ds .ds-cards + .ds-actions { margin-top: 48px; }

/* statement: на весь екран, фото під темним шаром, текст по центру */
.ds .ds-statement { position: relative; display: grid; place-items: center; min-height: min(100svh, 880px); padding: 120px 0; background: var(--ds-navy); text-align: center; isolation: isolate; }
.ds .ds-statement .ds-media--fill { z-index: -1; }
.ds .ds-statement .ds-media--fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 43, 87, .72), rgba(13, 43, 87, .86)); }
.ds .ds-statement__in { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.ds .ds-statement .ds-eyebrow::after { margin-inline: auto; }
.ds .ds-statement .ds-h2 { max-width: 20ch; font-size: clamp(36px, 4.4vw, 64px); }
.ds .ds-statement .ds-lead { margin-bottom: 44px; }
.ds .ds-statement .ds-actions { justify-content: center; }

/* cta_center: помаранчева лінія зверху, все по центру, кнопка | риска | посилання */
.ds .ds-cta-center { background: var(--ds-navy); border-top: 6px solid var(--ds-orange); padding: 96px 0; text-align: center; }
.ds .ds-cta-center__in { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
.ds .ds-cta-center .ds-eyebrow::after { margin-inline: auto; }
.ds .ds-cta-center .ds-h2 { max-width: 22ch; }
.ds .ds-cta-center .ds-actions { justify-content: center; gap: 24px 0; }
.ds .ds-cta-center .ds-actions > * + * { margin-left: 32px; padding-left: 32px; border-left: 1px solid var(--ds-line-dark); }

/* testimonials: білі картки на sky, заголовок по центру, на телефоні — стрічка */
.ds .ds-testimonials__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto; max-width: 820px; }
.ds .ds-testimonials__head .ds-eyebrow::after { margin-inline: auto; }
.ds .ds-testimonials__head .ds-h2 { max-width: 22ch; }
.ds .ds-testimonials__head .ds-lead { margin-bottom: 0; }
.ds .ds-testimonials .ds-media--wide { aspect-ratio: 21 / 9; margin-top: 48px; }
.ds .ds-testimonials__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.ds .ds-testimonial { display: flex; flex-direction: column; gap: 28px; padding: 36px 32px 32px; background: #fff; border-radius: 6px; }
.ds .ds-section--white .ds-testimonial { border: 1px solid var(--ds-line); }
.ds .ds-testimonial__quote { margin: 0; padding: 0; border: 0; font-size: 19px; line-height: 1.5; color: var(--ds-navy); }
.ds .ds-testimonial__quote::before { content: "\201C"; display: block; font-size: 56px; line-height: .6; margin-bottom: 14px; color: var(--ds-orange); font-weight: 800; }
.ds .ds-testimonial__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.ds .ds-testimonial__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-navy); color: #fff; font-weight: 700; font-size: 18px; }
.ds .ds-testimonial__who strong { display: block; font-size: 16px; color: var(--ds-navy); }
.ds .ds-testimonial__who span { font-size: 14px; color: var(--ds-muted); }
.ds .ds-testimonials__actions { display: flex; justify-content: center; margin-top: 40px; }

/* faq: заголовок 1/3, акордеон на details з лініями і «+/−» */
.ds .ds-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 80px; align-items: start; }
.ds .ds-faq__head .ds-h2 { max-width: 14ch; }
.ds .ds-faq__head .ds-lead { margin-bottom: 0; }
.ds .ds-faq__item { border-top: 1px solid var(--ds-navy); }
.ds .ds-faq__item:last-child { border-bottom: 1px solid var(--ds-navy); }
.ds .ds-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ds-navy); }
.ds .ds-faq__item summary::-webkit-details-marker { display: none; }
/* «+»: горизонтальна риска — ::after, вертикальна — останній span; відкрито — вертикальна лягає на горизонтальну (−) */
.ds .ds-faq__item summary { position: relative; }
.ds .ds-faq__item summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat; }
.ds .ds-faq__item summary > span:last-child { position: absolute; right: 7px; top: 50%; width: 2px; height: 16px; margin-top: -8px; background: currentColor; transition: transform .25s ease; }
.ds .ds-faq__item.is-open summary > span:last-child, .ds .ds-faq__item[open]:not(.is-closing) summary > span:last-child { transform: rotate(90deg); }
.ds .ds-faq__item summary:hover { color: var(--ds-blue); }
.ds .ds-faq__body { overflow: hidden; }
.ds .ds-faq__a { padding: 0 48px 26px 0; }
.ds .ds-faq__a .ds-text { max-width: none; font-size: 17px; }
.ds .ds-features__note { margin-top: 28px; font-size: 19px; line-height: 1.5; color: var(--ds-navy); max-width: 48ch; }

/* 6. Адаптив -------------------------------------------------------------- */
@media (max-width: 1180px) {
	.ds .ds-header__in { gap: 20px; }
	.ds .ds-nav__list { gap: 2px; }
	.ds .ds-nav__list > li > a { padding: 10px 9px; font-size: 14px; }
	.ds .ds-header__contact { padding-left: 18px; }
	.ds .ds-header__tel { font-size: 18px; }
	.ds .ds-bleed__body { padding-right: 48px; }
	.ds .ds-bleed--media-left .ds-bleed__body { padding-left: 48px; }
	.ds .ds-split { gap: 56px; }
}

@media (max-width: 1023px) {
	.ds { --ds-header-h: 68px; --ds-section: 80px; }
	/* хедер: лого, телефон-іконка, бургер; меню — панель під хедером */
	/* лого стискається, щоб телефон і бургер завжди лишались на екрані (вузькі телефони 320 px) */
	.ds .ds-header__in { gap: 12px; }
	.ds .ds-logo { flex: 0 1 auto; min-width: 0; margin-right: auto; }
	.ds .ds-logo img { height: 40px; max-width: 100%; object-fit: contain; object-position: left center; }
	.ds .ds-header__contact { margin-left: 0; border-left: 0; padding-left: 0; }
	.ds .ds-header__tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ds .ds-header__tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--ds-sky); text-decoration: none; }
	.ds .ds-burger {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer;
	}
	.ds .ds-burger:hover, .ds .ds-burger:focus, .ds .ds-burger:focus-visible, .ds .ds-burger:active { background: none; border: 0; outline-offset: 2px; }
	.ds .ds-burger span { display: block; height: 2px; background: var(--ds-navy); transition: transform .2s ease, opacity .2s ease, background-color var(--ds-ease); }
	.ds .ds-burger:hover span { background: var(--ds-blue); }
	.ds .ds-header__tel:hover { background: #DCE7F5; }
	.ds .ds-nav__list > li > a::before { display: none; }
	.ds .ds-nav__list > li > a:hover, .ds .ds-nav__list > li > a:active { background: var(--ds-sky); }
	.ds .ds-nav .sub-menu a:hover { background: #DCE7F5; }
	.ds .is-open .ds-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ds .is-open .ds-burger span:nth-child(2) { opacity: 0; }
	.ds .is-open .ds-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.ds .ds-nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		max-height: calc(100vh - var(--ds-header-h) - var(--wp-admin--admin-bar--height, 0px)); overflow-y: auto;
		background: #fff; border-top: 1px solid var(--ds-line); box-shadow: 0 24px 40px rgba(13, 43, 87, .16);
		display: none;
	}
	.ds .is-open .ds-nav { display: block; }
	.ds .ds-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 16px; }
	.ds .ds-nav__list > li::after { display: none; }
	.ds .ds-nav__list > li > a { display: flex; justify-content: space-between; padding: 16px var(--ds-gutter); font-size: 17px; border-bottom: 1px solid var(--ds-line); }
	.ds .ds-nav .menu-item-has-children > a::after { width: 9px; height: 9px; margin-right: 4px; transition: transform .15s ease; }
	.ds .ds-nav .menu-item-has-children.is-open > a::after { transform: rotate(-135deg); margin-top: 4px; }
	.ds .ds-nav .sub-menu {
		position: static; min-width: 0; padding: 4px 0 8px; background: var(--ds-sky); border: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.ds .ds-nav__list > li:hover > .sub-menu { display: none; }
	.ds .ds-nav__list > li.is-open > .sub-menu { display: block; }
	.ds .ds-nav .sub-menu a { padding: 11px var(--ds-gutter) 11px 40px; font-size: 16px; }
	html.ds-nav-open { overflow: hidden; }

	/* bleed-блоки: один стовпець, текст у контейнері, фото під ним */
	.ds .ds-bleed { grid-template-columns: 1fr; }
	.ds .ds-bleed__body, .ds .ds-bleed--media-left .ds-bleed__body { grid-column: 1; grid-row: auto; width: min(var(--ds-container), 100% - 2 * var(--ds-gutter)); margin-inline: auto; padding: 72px 0 64px; }
	.ds .ds-bleed__media, .ds .ds-bleed--media-left .ds-bleed__media { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 10; }
	.ds .ds-hero .ds-bleed__media, .ds .ds-features .ds-bleed__media { min-height: 0; }
	/* features: relative (не static — кадри слайдера абсолютні) і top: auto, інакше top від липкого
	   десктопного правила зсуває фото на 100px униз, на текст */
	.ds .ds-features .ds-bleed__media { position: relative; top: auto; margin: 0; aspect-ratio: 16 / 10; }

	.ds .ds-icons { grid-template-columns: 1fr; gap: 0; padding-top: 8px; }
	.ds .ds-icons__item, .ds .ds-icons__item:first-child, .ds .ds-icons__item:last-child { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--ds-line); }
	.ds .ds-cards { grid-template-columns: 1fr; gap: 24px; }
	.ds .ds-card { flex-direction: row; }
	.ds .ds-card .ds-media { flex: 0 0 38%; aspect-ratio: auto; }
	.ds .ds-statement { min-height: 0; padding: 96px 0; }
	.ds .ds-faq { grid-template-columns: 1fr; gap: 32px; }
	.ds .ds-testimonials__list { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
	.ds .ds-split { grid-template-columns: 1fr; gap: 48px; }
	.ds .ds-split--media-left .ds-split__media { order: 0; }
	.ds .ds-split__media { position: static; }
	.ds .ds-steps { gap: 36px; }
	.ds .ds-steps__extra { margin-top: 64px; }
	.ds .ds-strip { padding-top: 48px; }
	.ds .ds-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.ds .ds-strip__item { padding: 4px 28px 4px; }
	.ds .ds-strip__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.ds .ds-strip__item:nth-child(even) { padding-right: 0; }
	.ds .ds-hero + .ds-strip + .ds-section { padding-top: 72px; }
}

@media (max-width: 767px) {
	.ds { --ds-gutter: 20px; --ds-section: 64px; }
	.ds .ds-h1 { font-size: clamp(34px, 10.5vw, 44px); margin-bottom: 20px; }
	.ds .ds-h2 { font-size: clamp(29px, 8.6vw, 36px); max-width: none; margin-bottom: 18px; }
	.ds .ds-h2--xl { font-size: clamp(36px, 11vw, 46px); }
	.ds .ds-lead { font-size: 18px; margin-bottom: 28px; }
	.ds .ds-eyebrow { margin-bottom: 20px; }
	.ds .ds-eyebrow::after { margin-top: 12px; }
	.ds .ds-actions { gap: 16px 24px; }
	.ds .ds-actions .ds-btn { width: 100%; }
	.ds .ds-bleed__body, .ds .ds-bleed--media-left .ds-bleed__body { padding: 52px 0 48px; }
	.ds .ds-hero .ds-bleed__media { aspect-ratio: 4 / 3; }
	.ds .ds-features .ds-bleed__media { aspect-ratio: 4 / 3; }
	/* reviews і cta: фото декоративне — на телефоні ховаємо, щоб заклик був коротким і одразу за текстом */
	.ds .ds-reviews .ds-bleed__media, .ds .ds-cta .ds-bleed__media { display: none; }
	/* телефон: 2×2, менші цифри */
	.ds .ds-strip { padding-top: 40px; }
	.ds .ds-strip__grid { row-gap: 28px; }
	.ds .ds-strip__item { padding: 0 20px 0; }
	.ds .ds-strip__figure { font-size: 30px; margin-bottom: 10px; }
	.ds .ds-strip__item strong { font-size: 15px; }
	.ds .ds-strip__text { font-size: 14px; }
	.ds .ds-hero + .ds-strip + .ds-section { padding-top: 56px; }
	.ds .ds-lines, .ds .ds-cols { grid-template-columns: 1fr; }
	.ds .ds-lines li:nth-last-child(-n+2) { border-bottom: 0; }
	.ds .ds-lines li:last-child { border-bottom: 1px solid var(--ds-line); }
	.ds .ds-cols__col + .ds-cols__col { border-left: 0; padding-left: 0; border-top: 1px solid var(--ds-line); padding-top: 24px; }
	.ds .ds-steps { grid-template-columns: 1fr; gap: 28px; }
	.ds .ds-numlist li { grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; }
	.ds .ds-numlist__n { font-size: 30px; }
	.ds .ds-split__note { font-size: 17px; margin-top: 24px; }
	.ds .ds-card { flex-direction: column; }
	.ds .ds-card .ds-media { flex: none; aspect-ratio: 16 / 10; }
	.ds .ds-card__body { padding: 22px 20px 24px; }
	.ds .ds-statement { padding: 80px 0; min-height: 80svh; }
	.ds .ds-statement .ds-h2 { font-size: clamp(30px, 9vw, 38px); }
	.ds .ds-cta-center { padding: 64px 0; }
	.ds .ds-cta-center .ds-actions { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
	.ds .ds-cta-center .ds-actions > * + * { margin-left: 0; padding-left: 0; border-left: 0; justify-content: center; }
	/* відгуки: стрічка з прокруткою, по одній картці на екран */
	.ds .ds-testimonials__list { display: flex; gap: 12px; margin: 32px calc(-1 * var(--ds-gutter)) 0; padding: 0 var(--ds-gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.ds .ds-testimonials__list::-webkit-scrollbar { display: none; }
	.ds .ds-testimonial { flex: 0 0 84%; scroll-snap-align: start; padding: 28px 24px 24px; }
	.ds .ds-testimonial__quote { font-size: 17px; }
	.ds .ds-faq__item summary { font-size: 17px; padding: 18px 0; }
	.ds .ds-faq__a { padding-right: 0; }
	.ds .ds-quotes li { font-size: 18px; }
	.ds .ds-rows__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
	.ds .ds-rows dd { padding-left: 0; }
	.ds .ds-rows dd::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.ds a, .ds button, .ds summary, .ds .ds-btn, .ds .ds-nav .sub-menu, .ds .ds-burger span, .ds .ds-header,
	.ds .ds-nav__list > li > a::before, .ds .ds-card, .ds .ds-card .ds-media img, .ds .ds-card .ds-media__ph,
	.ds .ds-faq__item summary > span:last-child, .ds .ds-u, .ds .ds-features__slide { transition: none; }
	.ds .ds-btn:hover { transform: none; }
	.ds .ds-card:hover .ds-media img, .ds .ds-card:hover .ds-media__ph { transform: none; }
}

/* Elementor Pro «Page Transitions»: на нашому шаблоні оверлей не знімається на touch-пристроях
   і закриває сторінку синім. На сторінках DS його не показуємо (елемент поза .ds, тому через body). */
body.acg-ds-page e-page-transition, body.acg-ds-page .e-page-transition { display: none !important; }
