/* Site header + footer. Hand-written (no Tailwind) so it works on every page. Palette matches the new homepage:
 * ink #17211D · dark #0F1A15 · mint #1FE37B / #EDFCF4 · green #0E753E · coral #F67F61 · line #DDE5E1 */
.dhf-header, .dhf-band, .dhf-footer { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.dhf-header *, .dhf-band *, .dhf-footer * { box-sizing: border-box; }
/* the theme forces arial !important on li/p/headings — restore the design font here */
.dhf-header, .dhf-header li, .dhf-header a, .dhf-header p, .dhf-header span, .dhf-header small, .dhf-header strong, .dhf-header button,
.dhf-band, .dhf-band h2, .dhf-band p, .dhf-band a, .dhf-footer, .dhf-footer li, .dhf-footer a, .dhf-footer p, .dhf-footer h3, .dhf-footer span { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important; text-transform: none !important; }
.dhf-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.dhf-i { flex: none; display: inline-block; vertical-align: middle; }

/* ================= header ================= */
.dhf-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #E6ECE9; transition: box-shadow .25s; }
.admin-bar .dhf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dhf-header { top: 46px; } }
.dhf-header.is-stuck { box-shadow: 0 10px 30px -10px rgba(23,33,29,.18); }

.dhf-strip { background: linear-gradient(90deg, #0F1A15 0%, #14271e 100%); color: rgba(255,255,255,.92); font-size: 12.5px; font-weight: 600; letter-spacing: .01em; max-height: 44px; overflow: hidden; transition: max-height .25s, opacity .25s; }
.dhf-strip .dhf-wrap { display: flex; justify-content: space-between; align-items: center; gap: 6px 24px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.dhf-strip__i { display: inline-flex; align-items: center; gap: 8px; }
.dhf-strip__i .dhf-i { color: #1FE37B; }
.dhf-header.is-stuck .dhf-strip { max-height: 0; opacity: 0; }

.dhf-bar { display: flex; align-items: center; gap: 28px; min-height: 88px; position: relative; transition: min-height .25s; }
.dhf-header.is-stuck .dhf-bar { min-height: 68px; }
.dhf-brand a { display: block; line-height: 0; }
.dhf-brand img, .dhf-brand .custom-logo { display: block; max-height: 46px; width: auto; height: auto; transition: max-height .25s; }
.dhf-header.is-stuck .dhf-brand img, .dhf-header.is-stuck .dhf-brand .custom-logo { max-height: 42px; }
.dhf-logo { font-weight: 800; font-size: 22px; color: #17211D; text-decoration: none; line-height: 1.2 !important; }

.dhf-nav { flex: 1; display: flex; justify-content: center; }
.dhf-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.dhf-nav li { position: relative; margin: 0; padding: 0; }
.dhf-nav a { position: relative; display: block; padding: 12px 14px; color: #17211D; font-size: 15.5px; font-weight: 600; letter-spacing: 0; text-decoration: none; transition: color .15s; }
.dhf-nav > ul > li > a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: #1FE37B; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.dhf-nav > ul > li:hover > a, .dhf-nav > ul > li:focus-within > a, .dhf-nav .current-menu-item > a, .dhf-nav .current-menu-ancestor > a, .dhf-nav .current_page_item > a { color: #0E753E; }
.dhf-nav > ul > li:hover > a::before, .dhf-nav > ul > li:focus-within > a::before, .dhf-nav .current-menu-item > a::before, .dhf-nav .current-menu-ancestor > a::before, .dhf-nav .current_page_item > a::before { transform: scaleX(1); }
.dhf-nav .menu-item-has-children > a::after, .dhf-nav .page_item_has_children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.dhf-nav .menu-item-has-children:hover > a::after, .dhf-nav .menu-item-has-children:focus-within > a::after { transform: rotate(-135deg) translate(-2px, -2px); }
.dhf-nav .sub-menu, .dhf-nav .children { display: none; position: absolute; top: calc(100% + 6px); left: -10px; z-index: 5; min-width: 250px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: #fff; border: 1px solid #E6ECE9; border-radius: 16px; box-shadow: 0 24px 50px -12px rgba(23,33,29,.22); }
.dhf-nav .sub-menu::before, .dhf-nav .children::before { content: ""; position: absolute; top: -6px; left: 26px; width: 10px; height: 10px; background: #fff; border-left: 1px solid #E6ECE9; border-top: 1px solid #E6ECE9; transform: rotate(45deg); }
.dhf-nav .sub-menu::after { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* hover bridge */
.dhf-nav li:hover > .sub-menu, .dhf-nav li:focus-within > .sub-menu, .dhf-nav li.is-open > .sub-menu,
.dhf-nav li:hover > .children, .dhf-nav li:focus-within > .children, .dhf-nav li.is-open > .children { display: flex; }
.dhf-nav .sub-menu a, .dhf-nav .children a { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.dhf-nav .sub-menu a:hover, .dhf-nav .sub-menu a:focus-visible, .dhf-nav .children a:hover { background: #EDFCF4; color: #0E753E; }
.dhf-sub-toggle { display: none; }

.dhf-cta { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.dhf-phone { display: inline-flex; align-items: center; gap: 12px; color: #17211D; text-decoration: none; white-space: nowrap; }
.dhf-phone__ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #EDFCF4; color: #0E753E; transition: background .15s, color .15s; }
.dhf-phone:hover .dhf-phone__ico { background: #1FE37B; color: #0F1A15; }
.dhf-phone__txt { display: flex; flex-direction: column; line-height: 1.2 !important; }
.dhf-phone small { font-size: 11.5px; font-weight: 600; color: #727C77; }
.dhf-phone strong { font-size: 16px; font-weight: 800; }
.dhf-btn { display: inline-flex; align-items: center; gap: 10px; background: #F67F61; color: #fff !important; font-size: 15px; font-weight: 700; padding: 14px 24px; border-radius: 9999px; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -6px rgba(246,127,97,.55); transition: background .15s, transform .15s, box-shadow .15s; }
.dhf-btn:hover, .dhf-btn:focus-visible { background: #E66B4C; transform: translateY(-1px); box-shadow: 0 14px 28px -6px rgba(246,127,97,.6); }
.dhf-btn .dhf-i { transition: transform .15s; }
.dhf-btn:hover .dhf-i { transform: translateX(3px); }
.dhf-header a:focus-visible, .dhf-header button:focus-visible, .dhf-band a:focus-visible, .dhf-footer a:focus-visible { outline: 3px solid #1FE37B; outline-offset: 3px; border-radius: 6px; }

.dhf-toggle { display: none; width: 46px; height: 46px; padding: 0; background: #fff; border: 1px solid #DDE5E1; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.dhf-bars, .dhf-bars::before, .dhf-bars::after { display: block; width: 20px; height: 2px; background: #17211D; border-radius: 2px; transition: transform .2s, opacity .2s; }
.dhf-bars { position: relative; }
.dhf-bars::before, .dhf-bars::after { content: ""; position: absolute; left: 0; }
.dhf-bars::before { top: -6px; } .dhf-bars::after { top: 6px; }
.dhf-toggle[aria-expanded="true"] .dhf-bars { background: transparent; }
.dhf-toggle[aria-expanded="true"] .dhf-bars::before { transform: translateY(6px) rotate(45deg); }
.dhf-toggle[aria-expanded="true"] .dhf-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) { .dhf-phone__txt small { display: none; } .dhf-nav a { padding: 12px 10px; font-size: 15px; } .dhf-bar { gap: 16px; } }
@media (max-width: 1240px) {
	.dhf-bar { gap: 12px; min-height: 68px; }
	.dhf-header.is-stuck .dhf-bar { min-height: 60px; }
	.dhf-brand img, .dhf-brand .custom-logo { max-height: 42px; }
	.dhf-toggle { display: inline-flex; }
	.dhf-cta { margin-left: auto; gap: 10px; }
	.dhf-phone { display: none; }
	.dhf-btn { padding: 11px 18px; font-size: 14px; }
	.dhf-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; justify-content: flex-start; background: #fff; border-top: 1px solid #E6ECE9; padding: 8px 28px 22px; max-height: calc(100vh - 110px); overflow-y: auto; box-shadow: 0 24px 40px -12px rgba(23,33,29,.2); }
	.dhf-nav.is-open { display: block; }
	.dhf-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.dhf-nav > ul > li { border-bottom: 1px solid #EEF2F0; }
	.dhf-nav a { padding: 15px 4px; font-size: 16px; }
	.dhf-nav > ul > li > a::before { display: none; }
	.dhf-nav .menu-item-has-children > a, .dhf-nav .page_item_has_children > a { padding-right: 52px; }
	.dhf-nav .menu-item-has-children > a::after, .dhf-nav .page_item_has_children > a::after { display: none; }
	.dhf-nav .sub-menu, .dhf-nav .children { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent; }
	.dhf-nav .sub-menu::before, .dhf-nav .sub-menu::after, .dhf-nav .children::before { display: none; }
	.dhf-nav li:hover > .sub-menu, .dhf-nav li:focus-within > .sub-menu, .dhf-nav li:hover > .children, .dhf-nav li:focus-within > .children { display: none; }
	.dhf-nav li.is-open > .sub-menu, .dhf-nav li.is-open > .children { display: flex; }
	.dhf-nav .sub-menu a { padding: 11px 8px; font-size: 15px; }
	.dhf-sub-toggle { display: block; position: absolute; top: 5px; right: 0; width: 46px; height: 46px; padding: 0; background: none; border: 0; cursor: pointer; }
	.dhf-sub-toggle::after { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto; border: solid #17211D; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
	.dhf-nav li.is-open > .dhf-sub-toggle::after { transform: rotate(-135deg); }
}
@media (max-width: 520px) { .dhf-wrap { padding: 0 18px; } .dhf-strip .dhf-wrap { justify-content: center; } .dhf-strip__i + .dhf-strip__i { display: none; } .dhf-btn .dhf-i { display: none; } }

/* ================= call-to-action band ================= */
.dhf-band { background: linear-gradient(120deg, #0E753E 0%, #13B963 55%, #1FE37B 130%); color: #fff; }
.dhf-band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding-top: 46px; padding-bottom: 46px; }
.dhf-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15 !important; }
.dhf-band p { margin: 0; color: rgba(255,255,255,.9); font-size: 17px; max-width: 56ch; }
.dhf-band__act { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.dhf-band__tel { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 700; font-size: 17px; text-decoration: none; }
.dhf-band__tel:hover { text-decoration: underline; }

/* ================= footer ================= */
.dhf-footer { background: #0F1A15; color: rgba(255,255,255,.72); font-size: 15px; }
.dhf-footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .15s; }
.dhf-footer a:hover { color: #1FE37B; }
.dhf-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 44px; }
.dhf-footer .dhf-h { margin: 0 0 18px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase !important; }
.dhf-footer ul { list-style: none; margin: 0; padding: 0; }
.dhf-footer li { margin: 0 0 12px; padding: 0; }
.dhf-footer .dhf-col > ul.menu a { display: inline-block; position: relative; }
.dhf-footer .dhf-col > ul.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: #1FE37B; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.dhf-footer .dhf-col > ul.menu a:hover::after { transform: scaleX(1); }
.dhf-flogo .custom-logo { filter: brightness(0) invert(1); max-height: 46px; width: auto; }
.dhf-flogo .dhf-logo { color: #fff; }
.dhf-about { margin: 18px 0 22px; max-width: 38ch; line-height: 1.7 !important; }
.dhf-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.dhf-contact .dhf-i { color: #1FE37B; margin-top: 3px; }
.dhf-social { display: flex; gap: 10px; margin: 22px 0 0; }
.dhf-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .15s, transform .15s; }
.dhf-social a:hover { background: #F67F61; color: #fff; transform: translateY(-2px); }
.dhf-widget { margin-bottom: 24px; }

.dhf-badges { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.dhf-badges__t { margin-right: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase !important; color: rgba(255,255,255,.55); }
.dhf-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 9999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,.04); }
.dhf-badge .dhf-i { color: #1FE37B; }

.dhf-bottom { border-top: 1px solid rgba(255,255,255,.1); background: #0B1510; padding: 20px 0; font-size: 13.5px; }
.dhf-bottom .dhf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.dhf-bottom nav { margin-left: auto; }
.dhf-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.dhf-bottom li { margin: 0; }
.dhf-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

@media (max-width: 1240px) { .dhf-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; padding-top: 48px; } .dhf-brandcol { grid-column: 1 / -1; } }
@media (max-width: 560px) {
	.dhf-grid { grid-template-columns: 1fr; }
	.dhf-band__in { padding-top: 36px; padding-bottom: 36px; }
	.dhf-band__act { width: 100%; } .dhf-band .dhf-btn { width: 100%; justify-content: center; }
	.dhf-bottom .dhf-wrap { flex-direction: column; align-items: flex-start; } .dhf-bottom nav { margin-left: 0; }
}

/* fit tuning: logo keeps its size, menu labels never wrap */
.dhf-brand { flex: none; }
.dhf-nav a { white-space: nowrap; }
@media (min-width: 1241px) {
	.dhf-bar { gap: 22px; }
	.dhf-nav a { padding: 12px 13px; }
	.dhf-nav > ul > li > a::before { left: 13px; right: 13px; }
}
@media (min-width: 1241px) and (max-width: 1439px) { .dhf-phone__ico { display: none; } }

/* only one links column: give it room and flow the links into two columns */
.dhf-grid--2 { grid-template-columns: 1.2fr 1.3fr; }
.dhf-grid--2 .dhf-col:nth-child(2) ul.menu { columns: 2; column-gap: 40px; }
.dhf-grid--2 .dhf-col:nth-child(2) li { break-inside: avoid; }
@media (max-width: 980px) { .dhf-grid--2 { grid-template-columns: 1fr; } }
