/* ==========================================================================
   K.D.P. theme — main styles
   ========================================================================== */

:root {
	--navy: #0f2d5c;
	--navy-900: #0a1f42;
	--navy-700: #17407e;
	--blue: #2167b8;
	--red: #d9252b;
	--red-700: #b91d22;
	--ink: #16243a;
	--text: #3b4759;
	--muted: #6b7686;
	--line: #e2e7ee;
	--soft: #f2f5f9;
	--white: #fff;

	--font-head: "Roboto Condensed", "Arial Narrow", sans-serif;
	--font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 1px 2px rgba(16, 36, 70, .06), 0 6px 20px rgba(16, 36, 70, .07);
	--shadow-lg: 0 12px 34px rgba(16, 36, 70, .16);
	--container: 1200px;
	--gutter: 20px;
	--header-h: 96px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

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

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

.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; top: 8px; left: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.hp { position: absolute; left: -9999px; }

:focus-visible { outline: 3px solid rgba(33, 103, 184, .55); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input[type=submit] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: 0 24px;
	font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	border: 2px solid transparent; border-radius: var(--radius);
	cursor: pointer; text-decoration: none; line-height: 1.1; text-align: center;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-700); color: #fff; box-shadow: 0 8px 20px rgba(217, 37, 43, .3); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--soft); color: var(--navy); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
	transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(16, 36, 70, .1); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--navy); flex: none; }
.brand img { width: 200px; height: auto; }
.brand__tag { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding-left: 4px; }

.site-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 1; }
.topbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 18px; font-size: 13.5px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.topbar a:hover { color: var(--red); }
.topbar .icon { color: var(--navy); width: 15px; height: 15px; }

.navbar { display: flex; align-items: center; gap: 18px; }
.main-nav .menu { display: flex; list-style: none; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex; align-items: center; gap: 4px;
	padding: 10px 11px;
	font-family: var(--font-head); font-size: 14.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	color: var(--ink); white-space: nowrap;
}
.navbar__cta { white-space: nowrap; flex: none; }
.main-nav .menu > li > a:hover,
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current-menu-ancestor > a,
.main-nav .menu > .current_page_item > a { color: var(--red); }
.main-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin: -3px 0 0 3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px;
	border-top: 3px solid var(--red);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 4px; color: var(--ink); font-size: 15px; }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--red); }
.main-nav__cta-mobile { display: none; }

.header-cart { position: relative; display: inline-flex; color: var(--navy); padding: 6px; }
.header-cart .icon { width: 24px; height: 24px; }
.header-cart__count {
	position: absolute; top: -2px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
	background: var(--red); color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.header-cart__count[data-count="0"] { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ---------- Evco product block (top of home page) ---------- */
.evco { background: #fff; border-bottom: 1px solid var(--line); }
.evco__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: center; padding-block: 44px; }
.evco__eyebrow { margin: 0 0 6px; font-family: var(--font-head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.evco__title { margin: 0 0 10px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; color: var(--navy); line-height: 1.1; }
.evco__text { max-width: 680px; margin: 0 0 24px; font-size: 16.5px; }
.evco__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.evco__list li { display: flex; gap: 12px; align-items: flex-start; }
.evco__list .icon { flex: none; width: 26px; height: 26px; margin-top: 1px; color: var(--blue); }
.evco__list strong { display: block; color: var(--navy); font-size: 15.5px; line-height: 1.3; }
.evco__list span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.evco__image { width: 100%; height: auto; }

/* ---------- Hero ---------- */
.hero {
	position: relative; isolation: isolate;
	min-height: clamp(460px, 62vh, 620px);
	display: flex; align-items: center;
	background: var(--navy-900) var(--bg) center / cover no-repeat;
	color: #fff;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(8, 24, 52, .92) 0%, rgba(8, 24, 52, .78) 38%, rgba(8, 24, 52, .25) 75%, rgba(8, 24, 52, .1) 100%);
}
.hero__inner { padding-block: 72px; }
.hero__title {
	max-width: 620px; color: #fff;
	font-size: clamp(34px, 5vw, 56px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.08;
	margin-bottom: 20px;
}
.hero__text { max-width: 520px; font-size: clamp(16px, 1.6vw, 18.5px); color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 30px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 14px; }
.stat__icon { width: 40px; height: 40px; color: #fff; stroke-width: 1.5; }
.stat__title { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; }
.stat__text { display: block; font-size: 14px; color: rgba(255, 255, 255, .78); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 88px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: 40px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-title { font-size: clamp(26px, 3vw, 34px); text-transform: uppercase; color: var(--navy); letter-spacing: .02em; margin-bottom: 8px; }
.section-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin: 14px auto 0; border-radius: 2px; }
.section-sub { color: var(--muted); font-size: 17px; margin: 0; }
.section-cta { text-align: center; margin: 40px 0 0; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__title { font-size: 19px; margin-bottom: 6px; }
.card__title a { color: var(--navy); }
.card__title a:hover { color: var(--red); }
.card__text { font-size: 14.5px; color: var(--muted); margin: 0; }
.card__link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--red); }
.card__link .icon { transition: transform .2s; }
.card__link:hover .icon { transform: translateX(4px); }
.card.is-hidden { display: none; }

/* ---------- Pills / filter ---------- */
.pill-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -8px 0 32px; }
.pill {
	display: inline-flex; align-items: center; padding: 8px 18px;
	border: 1px solid var(--line); border-radius: 999px; background: #fff;
	font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: .2s;
}
.pill:hover { border-color: var(--navy); color: var(--navy); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill--sm { padding: 4px 12px; font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Promo strip ---------- */
.promo-strip { background: linear-gradient(90deg, var(--blue), var(--navy-700)); color: #fff; }
.promo-strip__inner { display: flex; align-items: center; gap: 18px; padding-block: 22px; }
.promo-strip__icon { width: 38px; height: 38px; }
.promo-strip p { margin: 0; flex: 1; font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: .01em; }

/* ---------- Split panels (why-us / partners) ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 32px; }
.panel--center { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 24px; }
.panel__title { font-size: 24px; text-transform: uppercase; color: var(--navy); margin: 0 0 18px; letter-spacing: .02em; }
.panel--center .panel__title { margin: 0; }

.why { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 0; overflow: hidden; }
.why__img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.why__body { padding: 30px 28px 30px 0; }
.check-list { list-style: none; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 12px; }
.check-list .icon { width: 26px; height: 26px; color: var(--navy); margin-top: 1px; }
.check-list strong { display: block; color: var(--ink); font-size: 15.5px; }
.check-list span { font-size: 14px; color: var(--muted); }

.partners { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.partners__item {
	display: flex; align-items: center; justify-content: center;
	height: 92px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.partners__item img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(.15); transition: filter .2s, transform .2s; }
.partners__item:hover img { filter: none; transform: scale(1.04); }
.page-template-default .partners, .page .partners { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* ---------- Contact block ---------- */
.contact-block { background: var(--soft); padding-block: clamp(48px, 6vw, 80px); }
.contact-block__inner {
	display: grid; grid-template-columns: 1fr 1.25fr;
	background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
	padding: 0;
}
.contact-block__info { padding: 44px 40px; color: #fff; }
.contact-block__title { color: #fff; font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.contact-block__intro { color: rgba(255, 255, 255, .8); margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--red); }
.contact-block .contact-list a { color: #fff; }
.contact-block .contact-list a:hover { color: #ffb3b5; }
.contact-block .contact-list small { color: rgba(255, 255, 255, .75); font-size: 14px; }

.contact-form { background: #fff; padding: 40px; margin: 16px; border-radius: var(--radius); display: grid; gap: 14px; align-content: center; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfe;
	transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(33, 103, 184, .15); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-notice { margin: 0; padding: 12px 14px; border-radius: var(--radius); font-weight: 500; }
.form-notice--ok { background: #e7f6ec; color: #18663a; }
.form-notice--err { background: #fdecec; color: #a3191e; }

.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map__consent { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 48px var(--gutter); background: #fff; text-align: center; border-top: 1px solid var(--line); }
.map__consent .icon { width: 34px; height: 34px; color: var(--red); }
.map__consent p { margin: 0; max-width: 560px; color: var(--muted); font-size: 15px; }
.map__consent strong { color: var(--ink); font-size: 17px; }
.map__link { font-size: 14px; }
.contact-form__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.prose .legal-form { background: var(--soft); border-radius: var(--radius-lg); padding: 24px 28px; }

/* ---------- Page hero ---------- */
.page-hero {
	position: relative; isolation: isolate; color: #fff;
	background: var(--navy-900) var(--bg) center / cover no-repeat;
	padding-block: clamp(56px, 8vw, 96px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 24, 52, .93), rgba(8, 24, 52, .65)); }
.page-hero__title { color: #fff; font-size: clamp(30px, 4.4vw, 46px); text-transform: uppercase; font-weight: 800; letter-spacing: .01em; margin: 0; }
.page-hero__sub { color: rgba(255, 255, 255, .85); font-size: 18px; margin: 12px 0 0; max-width: 680px; }

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .5; margin: 0 2px; }

/* ---------- Content ---------- */
.prose { font-size: 17px; color: var(--text); }
.prose h2 { font-size: 28px; color: var(--navy); margin-top: 1.4em; }
.prose h3 { font-size: 22px; color: var(--navy); margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--red); }
.prose img { border-radius: var(--radius-lg); }
.prose > *:first-child { margin-top: 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font-size: 19px; color: var(--ink); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 36px; }
.photo-grid a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(5, 14, 30, .92); padding: 40px 64px; }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-box { background: var(--soft); border-radius: var(--radius-lg); padding: 26px; }
.aside-box--navy { background: var(--navy); color: rgba(255, 255, 255, .85); display: grid; gap: 12px; }
.aside-box--navy p { margin: 0 0 4px; }
.aside-box__title { font-size: 21px; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.aside-box--navy .aside-box__title { color: #fff; margin: 0; }
.aside-links { list-style: none; display: grid; gap: 2px; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); font-weight: 500; }
.aside-links a:hover, .aside-links a.is-active { background: #fff; color: var(--red); }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow); }
.feature .icon { width: 36px; height: 36px; color: var(--red); margin-bottom: 14px; }
.feature h3 { font-size: 19px; color: var(--navy); }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--ink); }
.page-numbers.current, .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 56px 40px; }
.site-footer__brand p { color: var(--muted); margin-top: 14px; max-width: 320px; }
.site-footer__title { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--text); }
.footer-links a:hover { color: var(--red); }
.contact-list--footer { gap: 12px; }
.contact-list--footer .icon { color: var(--navy); width: 18px; height: 18px; }
.contact-list--footer a { color: var(--text); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--soft); color: var(--navy); }
.social a:hover { background: var(--navy); color: #fff; }
.site-footer__bottom { border-top: 1px solid var(--line); padding-block: 18px; font-size: 13.5px; color: var(--muted); }
.site-footer__bottom .container { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; text-align: center; }
.site-footer__bottom a { color: var(--muted); }

.call-fab {
	display: none; position: fixed; right: 16px; bottom: 16px; z-index: 90;
	width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff;
	align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(217, 37, 43, .45);
}
.call-fab .icon { width: 24px; height: 24px; }
.call-fab:hover { color: #fff; background: var(--red-700); }

/* ---------- Logo page loader ---------- */
.page-loader { display: none; }
.js .page-loader {
	position: fixed; inset: 0; z-index: 2000;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
	background: #fff;
	transition: opacity .3s ease, visibility .3s;
	/* Failsafe: never keep covering the page if the script fails to run. */
	animation: kdp-loader-failsafe .3s ease 6s forwards;
}
.js .page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
.js .page-loader.is-leaving { animation: none; }
.page-loader__logo { width: min(260px, 62vw); height: auto; animation: kdp-loader-pulse 1.1s ease-in-out infinite; }
.page-loader__bar { position: relative; width: min(200px, 48vw); height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.page-loader__bar::after {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 2px;
	background: linear-gradient(90deg, var(--blue), var(--red));
	animation: kdp-loader-bar 1.1s ease-in-out infinite;
}
@keyframes kdp-loader-pulse { 50% { transform: scale(1.05); } }
@keyframes kdp-loader-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes kdp-loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease, transform .25s, box-shadow .25s; }
.js .reveal.is-visible { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; translate: none; transition: none; }
	.page-loader__logo, .page-loader__bar::after { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.main-nav .menu > li > a { padding: 10px 8px; font-size: 14px; }
	.navbar__cta { display: none; }
}

@media (max-width: 1024px) {
	:root { --header-h: 76px; }
	.brand img { width: 160px; }
	.brand__tag { font-size: 9.5px; }
	.topbar { display: none; }
	.nav-toggle { display: inline-flex; }
	.navbar { gap: 8px; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
		background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { padding: 15px 4px; font-size: 17px; justify-content: space-between; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; display: none; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav__cta-mobile { display: flex; margin-top: 24px; width: 100%; }

	.evco__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 28px; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
	.stat { justify-content: flex-start; }
	.split { grid-template-columns: 1fr; }
	.contact-block__inner { grid-template-columns: 1fr; }
	.with-aside { grid-template-columns: 1fr; }
	.aside { position: static; }
	.about { grid-template-columns: 1fr; gap: 32px; }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 15.5px; }
	.evco__inner { grid-template-columns: 1fr; padding-block: 28px; gap: 20px; }
	.evco__image { order: -1; width: min(230px, 70%); margin-inline: auto; }
	.evco__list { grid-template-columns: 1fr; gap: 14px; }
	.evco .btn { width: 100%; }
	.hero { min-height: 520px; }
	.hero::before { background: linear-gradient(180deg, rgba(8, 24, 52, .72), rgba(8, 24, 52, .9)); }
	.hero__actions .btn { flex: 1 1 100%; }
	.grid--4, .grid--3 { grid-template-columns: 1fr; }
	/* Services as a compact list (thumbnail + text), projects as a 2-column grid. */
	.grid > .card:not(.card--project) { flex-direction: row; }
	.grid > .card:not(.card--project) .card__media { flex: 0 0 112px; aspect-ratio: auto; }
	.grid > .card:not(.card--project) .card__body { padding: 14px 16px; }
	.grid > .card:not(.card--project) .card__title { font-size: 17px; }
	.grid > .card:not(.card--project) .card__text { font-size: 13.5px; line-height: 1.5; }
	.grid > .card:not(.card--project) .card__link { padding-top: 8px; font-size: 13px; }
	.grid--4:has(.card--project) { grid-template-columns: 1fr 1fr; gap: 12px; }
	.card--project .card__body { padding: 10px 12px 12px; }
	.card--project .card__title { font-size: 15px; margin: 0; }
	.card--project .card__text { display: none; }
	.stats__grid { grid-template-columns: 1fr 1fr; padding-block: 24px; }
	.stat { flex-direction: column; text-align: center; gap: 8px; }
	.stat__icon { width: 32px; height: 32px; }
	.stat__title { font-size: 16px; }
	.stat__text { font-size: 12.5px; }
	.promo-strip__inner { flex-direction: column; text-align: center; }
	.why { grid-template-columns: 1fr; }
	.why__img { min-height: 0; aspect-ratio: 16 / 10; }
	.why__body { padding: 0 22px 26px; }
	.panel { padding: 24px 20px; }
	.partners { grid-template-columns: repeat(2, 1fr); }
	.contact-block__info { padding: 32px 22px; }
	.contact-form { padding: 22px; margin: 0 10px 10px; }
	.contact-form__row { grid-template-columns: 1fr; }
	.feature-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 28px; }
	.call-fab { display: inline-flex; }
	.lightbox { padding: 16px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
}
