/* Donaldson Financial Group, 2026 design (from Anthony Donaldson's homepage mockup).
   Loaded after the old Customizr theme CSS on every page. Header, footer and homepage use dfg-*
   classes; the "Inner pages" section restyles the WordPress page content to match. */

@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/dfg/fonts/merriweather.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 400; font-display: swap; src: url(/dfg/fonts/merriweather-italic.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/dfg/fonts/notosans.woff2) format("woff2"); }

:root {
  --dfg-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --dfg-sans: "Noto Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --dfg-ink: #14213d;
  --dfg-text: #2b3445;
  --dfg-muted: #5d6676;
  --dfg-navy-900: #0a1a3a;
  --dfg-navy-800: #0f2550;
  --dfg-navy-700: #163467;
  --dfg-blue: #1a56a8;
  --dfg-line: #d5dae2;
  --dfg-wrap: 1200px;
  --dfg-pad: 26px;
}

/* ---------- base ---------- */
body.dfg-site { font-family: var(--dfg-sans); color: var(--dfg-text); background: #fff; }
.dfg-site .dfg-wrap { max-width: var(--dfg-wrap); margin: 0 auto; padding-left: var(--dfg-pad); padding-right: var(--dfg-pad); box-sizing: border-box; }
.dfg-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dfg-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--dfg-navy-800); color: #fff !important; border-radius: 4px; font: 600 15px/1 var(--dfg-sans); text-decoration: none; }
.dfg-skip:focus { top: 12px; }
.dfg-ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dfg-ico--fill { fill: currentColor; stroke: none; }
.dfg-site a:focus-visible, .dfg-site button:focus-visible { outline: 3px solid #5b9bf0; outline-offset: 2px; }

/* buttons */
.dfg-site .dfg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; height: 41px; padding: 0 28px; border-radius: 5px; font: 600 18px/1 var(--dfg-sans); text-decoration: none !important; white-space: nowrap; transition: filter .15s, transform .15s, background-color .15s; }
.dfg-site .dfg-btn--primary { color: #fff !important; background: linear-gradient(180deg, #2767bd 0%, #1a4f9e 48%, #113f86 100%); border: 1px solid #0d3576; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 5px rgba(8,26,64,.28); }
.dfg-site .dfg-btn--primary:hover { filter: brightness(1.1); }
.dfg-site .dfg-btn.dfg-btn--ghost { padding: 0 22px; }
.dfg-site .dfg-btn--ghost { color: #fff !important; background: rgba(8,22,52,.25); border: 2px solid rgba(255,255,255,.92); }
.dfg-site .dfg-btn--ghost:hover { background: rgba(255,255,255,.12); }
.dfg-site .dfg-btn--lg { height: 50px; font-size: 20px; padding: 0 32px; border-radius: 7px; }
.dfg-site .dfg-btn--lg.dfg-btn--ghost { padding: 0 21px; }
.dfg-site .dfg-btn--outline { color: #113f86 !important; background: #fff; border: 2px solid #1a4f9e; padding: 0 21px; }
.dfg-site .dfg-btn--outline:hover { background: #eef3fb; }
.dfg-site .dfg-btn .dfg-ico { width: 24px; height: 24px; }

/* ---------- header ---------- */
.dfg-header { position: relative; z-index: 60; background: #fff; border-bottom: 1px solid #e2e5ea; box-shadow: 0 2px 8px rgba(15,30,60,.06); }
.dfg-header__inner { display: flex; align-items: center; min-height: 110px; gap: 20px; }
.dfg-logo { display: block; flex: none; line-height: 0; }
.dfg-logo img { display: block; width: 336px; height: auto; }
.dfg-nav { margin-left: auto; align-self: stretch; display: flex; align-items: center; padding-top: 14px; }
.dfg-menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.dfg-menu__item { position: relative; margin: 0; padding: 0; list-style: none; }
.dfg-menu__item + .dfg-menu__item { margin-left: 49px; }
.dfg-site .dfg-menu__link { display: block; padding: 12px 0; font: 400 17.5px/1.2 var(--dfg-sans); color: #1b2233; text-decoration: none; white-space: nowrap; }
.dfg-site .dfg-menu__link:hover, .dfg-site .dfg-menu__link[aria-current="page"] { color: var(--dfg-blue); }
.dfg-menu__item--mobile, .dfg-nav__toggle, .dfg-sub-toggle { display: none; }
.dfg-sub { position: absolute; top: 100%; left: -18px; min-width: 300px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border: 1px solid var(--dfg-line); border-radius: 6px; box-shadow: 0 14px 30px rgba(15,30,60,.16); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.dfg-has-sub:hover > .dfg-sub, .dfg-has-sub:focus-within > .dfg-sub, .dfg-has-sub.is-open > .dfg-sub { opacity: 1; visibility: visible; transform: none; }
.dfg-sub li { margin: 0; list-style: none; }
.dfg-site .dfg-sub a { display: block; padding: 9px 20px; font: 400 15.5px/1.3 var(--dfg-sans); color: #1b2233; text-decoration: none; }
.dfg-site .dfg-sub a:hover, .dfg-site .dfg-sub a[aria-current="page"] { background: #f1f4f9; color: var(--dfg-blue); }
.dfg-header__cta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 13px; margin-left: 28px; margin-top: -16px; }
.dfg-site .dfg-phone { display: inline-flex; align-items: center; gap: 7px; font: 700 19.5px/1 var(--dfg-sans); color: #14284b; text-decoration: none; letter-spacing: .1px; }
.dfg-phone .dfg-ico { width: 21px; height: 21px; }
.dfg-site .dfg-header__apply { width: 154px; padding: 0; font-size: 19px; font-weight: 700; }

/* ---------- hero ---------- */
.dfg-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, #091833 0%, #0e2349 34%, #15325f 52%, #1d437c 64%); }
.dfg-hero::before { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: calc(45.8% - 88px); width: 88px; transform: skewX(-20deg); transform-origin: bottom left; background: linear-gradient(90deg, rgba(60,110,185,0) 0%, rgba(80,132,205,.38) 100%); pointer-events: none; }
.dfg-hero__photo { position: absolute; z-index: 1; top: 0; bottom: 0; left: 45.8%; right: 0; overflow: hidden; transform: skewX(-20deg); transform-origin: bottom left; }
.dfg-hero__photo picture { position: absolute; inset: 0; transform: skewX(20deg); transform-origin: bottom left; }
.dfg-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; max-width: none; }
.dfg-hero__inner { position: relative; z-index: 2; min-height: 412px; display: flex; align-items: center; }
.dfg-hero__copy { max-width: 560px; padding: 52px 0 50px 32px; }
.dfg-site .dfg-hero__title { margin: 0; font: 700 64px/1.0 var(--dfg-serif); letter-spacing: -.6px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.dfg-hero__rule { display: block; width: 217px; height: 4px; margin: 19px 0 19px; border-radius: 2px; background: linear-gradient(90deg, #f3f5f9 0%, #cfd6e2 55%, rgba(207,214,226,0) 100%); }
.dfg-site .dfg-hero__lead { max-width: 445px; margin: 0 0 33px; font: 400 24px/1.22 var(--dfg-sans); color: #eef2f8; }
.dfg-hero__actions { display: flex; flex-wrap: wrap; gap: 17px; }

.dfg-disclaimer { position: relative; z-index: 3; background: linear-gradient(90deg, #c3c8d0 0%, #e7e9ed 22%, #f6f7f9 50%, #e7e9ed 78%, #c3c8d0 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #b9bec7; }
.dfg-site .dfg-disclaimer p { margin: 0; padding: 10px var(--dfg-pad) 11px; text-align: center; font: italic 400 15px/1.15 var(--dfg-serif); color: #262b35; }

/* ---------- funding solutions ---------- */
.dfg-solutions { background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%); padding: 36px 0 35px; text-align: center; }
.dfg-site .dfg-section-title { margin: 0; font: 700 44px/1.15 var(--dfg-serif); letter-spacing: -.4px; color: #0d1a33; }
.dfg-section-rule { display: block; width: 245px; height: 4px; margin: 20px auto 24px; border-radius: 2px; background: linear-gradient(90deg, rgba(140,148,160,0) 0%, #8a929e 25%, #6f7784 50%, #8a929e 75%, rgba(140,148,160,0) 100%); }
.dfg-cards { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 0; padding: 0 0 4px; list-style: none; }
.dfg-cards li { margin: 0; list-style: none; display: flex; }
.dfg-site .dfg-card { flex: 1; display: flex; flex-direction: column; align-items: center; min-height: 188px; box-sizing: border-box; padding: 18px 14px 16px; border: 1px solid #cfd5de; border-radius: 6px; text-decoration: none; color: var(--dfg-ink); background: linear-gradient(180deg, #ffffff 0%, #f6f7fa 60%, #e9ecf1 100%); box-shadow: 0 4px 0 -1px #a9b0bb, 0 7px 12px rgba(18,32,60,.13); transition: transform .15s, box-shadow .15s; }
.dfg-site .dfg-card:hover { transform: translateY(-3px); box-shadow: 0 4px 0 -1px #8f98a5, 0 12px 20px rgba(18,32,60,.18); color: var(--dfg-ink); }
.dfg-card .dfg-ico { width: 56px; height: 56px; stroke-width: 1.85; color: #16223d; }
.dfg-card span { flex: 1; display: flex; align-items: center; justify-content: center; margin-top: 10px; font: 800 19.5px/1.2 var(--dfg-serif); letter-spacing: -.2px; text-align: center; color: #16223d; }

/* ---------- how it works ---------- */
.dfg-steps { background: linear-gradient(180deg, #e9ebef 0%, #eef0f3 50%, #e6e9ed 100%); border-top: 1px solid #dde1e6; border-bottom: 1px solid #d6dae0; }
.dfg-site .dfg-steps__list { display: flex; align-items: center; justify-content: space-between; min-height: 114px; margin: 0 auto; padding: 0 56px 0 81px; list-style: none; max-width: 1199px; }
.dfg-step { display: flex; align-items: center; gap: 20px; margin: 0; list-style: none; position: relative; }
.dfg-site .dfg-steps__list > .dfg-step:first-child::before { content: none; }
.dfg-site .dfg-steps__list > .dfg-step + .dfg-step::before { content: ""; padding: 0; position: absolute; left: -66px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-top: 1.8px solid #4d5563; border-right: 1.8px solid #4d5563; transform: rotate(45deg); }
.dfg-step__num { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; font: 700 25px/1 var(--dfg-serif); color: #fff; background: radial-gradient(circle at 35% 28%, #3a5891 0%, #1a3266 45%, #0d1f45 100%); box-shadow: 0 2px 4px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.15); }
.dfg-step .dfg-ico { width: 60px; height: 60px; stroke-width: 1.7; color: #16223d; }
.dfg-step .dfg-ico--wide { width: 76px; }
.dfg-step__text { min-width: 0; font: 800 21px/1.22 var(--dfg-serif); letter-spacing: -.2px; color: #16223d; }

/* ---------- contact band ---------- */
.dfg-cta { position: relative; overflow: hidden; color: #fff; text-align: center; background: radial-gradient(ellipse 70% 120% at 88% 115%, rgba(96,140,210,.33) 0%, rgba(96,140,210,0) 60%), linear-gradient(100deg, #0b1d42 0%, #10285a 55%, #163a75 100%); border-top: 1px solid #071530; }
.dfg-cta .dfg-wrap { padding-top: 24px; padding-bottom: 19px; }
.dfg-site .dfg-cta__title { margin: 0 0 9px; font: 700 41px/1.15 var(--dfg-serif); letter-spacing: -.3px; color: #fff; }
.dfg-site .dfg-cta__contacts { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.dfg-cta__contacts li { margin: 0; padding: 0 28px; list-style: none; }
.dfg-cta__contacts li + li { border-left: 1.5px solid rgba(255,255,255,.6); }
.dfg-site .dfg-cta__contacts a { display: inline-flex; align-items: center; gap: 12px; font: 400 19.5px/1.6 var(--dfg-sans); color: #fff; text-decoration: none; }
.dfg-site .dfg-cta__contacts a:hover { color: #cfe0ff; }
.dfg-site .dfg-cta__contacts .dfg-cta__phone { font-size: 24px; font-weight: 500; }
.dfg-cta__contacts .dfg-ico { width: 27px; height: 27px; stroke-width: 1.4; }

/* ---------- footer ---------- */
.dfg-footer { background: #fff; }
.dfg-footer__inner { display: flex; align-items: center; min-height: 92px; padding-left: 68px !important; }
.dfg-footer__logo { line-height: 0; flex: none; }
.dfg-footer__logo img { width: 246px; height: auto; display: block; }
.dfg-footer__divider { width: 1px; height: 42px; margin: 0 95px 0 67px; background: #b9bec7; }
.dfg-site .dfg-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 58px; }
.dfg-site .dfg-footer__nav a { font: 400 18px/1.4 var(--dfg-sans); color: #1f2430; text-decoration: none; }
.dfg-site .dfg-footer__nav a:hover { color: var(--dfg-blue); }
.dfg-footer__legal { border-top: 1px solid #e6e8ec; background: #fafbfc; }
.dfg-footer__legal .dfg-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-top: 12px; padding-bottom: 14px; }
.dfg-site .dfg-footer__legal p { margin: 0; font: 400 13px/1.5 var(--dfg-sans); color: #6b7280; }
.dfg-site .dfg-footer__legal a { color: #4b5563; text-decoration: none; }
.dfg-site .dfg-footer__legal a + a { margin-left: 20px; }
.dfg-site .dfg-footer__legal a:hover { color: var(--dfg-blue); text-decoration: underline; }

/* ---------- inner pages (old WordPress content, restyled) ---------- */
body.dfg-site:not(.dfg-home) #main-wrapper { padding-bottom: 56px; background: #fff; }
.dfg-site #main-wrapper .container { max-width: var(--dfg-wrap); padding-left: var(--dfg-pad); padding-right: var(--dfg-pad); box-sizing: border-box; }
.dfg-site .czr-hot-crumble { padding-top: 22px; padding-bottom: 4px; font: 400 14px/1.4 var(--dfg-sans); color: var(--dfg-muted); }
.dfg-site .czr-hot-crumble a { color: var(--dfg-blue); }
.dfg-site #main-wrapper, .dfg-site #main-wrapper p, .dfg-site #main-wrapper li, .dfg-site #main-wrapper td, .dfg-site #main-wrapper th, .dfg-site #main-wrapper label, .dfg-site #main-wrapper input, .dfg-site #main-wrapper select, .dfg-site #main-wrapper textarea { font-family: var(--dfg-sans); }
.dfg-site .entry-content, .dfg-site .czr-wp-the-content { font-size: 17px; line-height: 1.65; color: var(--dfg-text); }
.dfg-site #main-wrapper h1, .dfg-site #main-wrapper h2, .dfg-site #main-wrapper h3, .dfg-site #main-wrapper h4, .dfg-site #main-wrapper h5, .dfg-site #main-wrapper h6 { font-family: var(--dfg-serif); color: #0d1a33; letter-spacing: -.2px; }
.dfg-site #main-wrapper h1.entry-title, .dfg-site #main-wrapper .archive-header h1, .dfg-site #main-wrapper h1.archive-title, .dfg-site #main-wrapper .entry-header h1 { position: relative; margin-bottom: 30px; padding-bottom: 20px; font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; line-height: 1.15; }
.dfg-site #main-wrapper h1.entry-title::after, .dfg-site #main-wrapper .archive-header h1::after, .dfg-site #main-wrapper .entry-header h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 160px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #6f7784 0%, #8a929e 55%, rgba(140,148,160,0) 100%); }
.dfg-site #main-wrapper .entry-content h2 { font-size: 28px; line-height: 1.25; font-weight: 700; margin-top: 1.4em; }
.dfg-site #main-wrapper .entry-content h3 { font-size: 23px; line-height: 1.3; font-weight: 700; }
.dfg-site #main-wrapper .entry-content h4, .dfg-site #main-wrapper .entry-content h5 { font-size: 19px; line-height: 1.35; font-weight: 700; }
.dfg-site #main-wrapper .entry-content a { color: var(--dfg-blue); }
.dfg-site #main-wrapper .entry-content strong, .dfg-site #main-wrapper .entry-content b { color: #1b2740; }
/* sidebar menu becomes a card like the homepage funding cards */
.dfg-site .tc-sidebar .widget_nav_menu { padding: 18px 0 10px; border: 1px solid #cfd5de; border-radius: 6px; background: linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%); box-shadow: 0 4px 0 -1px #c3c9d2, 0 6px 12px rgba(18,32,60,.07); }
.dfg-site .tc-sidebar .widget ul { margin: 0; padding: 0; list-style: none; }
.dfg-site .tc-sidebar .widget li { margin: 0; padding: 0; list-style: none; }
.dfg-site .tc-sidebar .widget li::before { display: none; }
.dfg-site .tc-sidebar .widget a { display: block; padding: 7px 20px; font: 400 15px/1.35 var(--dfg-sans); color: #1b2233; text-decoration: none; }
.dfg-site .tc-sidebar .widget a:hover, .dfg-site .tc-sidebar .widget .current-menu-item > a { color: var(--dfg-blue); background: #eef2f8; }
.dfg-site .tc-sidebar .widget .current-menu-item > a { font-weight: 600; box-shadow: inset 3px 0 0 var(--dfg-blue); }
/* buttons inside page content */
.dfg-site #main-wrapper .btn, .dfg-site #main-wrapper input[type="submit"], .dfg-site #main-wrapper button[type="submit"], .dfg-site #main-wrapper .button { color: #fff; background: linear-gradient(180deg, #2767bd 0%, #1a4f9e 48%, #113f86 100%); border: 1px solid #0d3576; border-radius: 5px; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 2px 5px rgba(8,26,64,.28); font-family: var(--dfg-sans); font-weight: 600; }
/* archive and blog cards */
.dfg-site #main-wrapper .grid-container article .grid__item, .dfg-site #main-wrapper .grid-container .grid__item { border: 1px solid #d7dce4; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 0 -1px #c3c9d2, 0 6px 14px rgba(18,32,60,.08); }
.dfg-site #main-wrapper .entry-title a, .dfg-site #main-wrapper .czr-title a { color: #0d1a33; }
.dfg-site .czr-btt { background: var(--dfg-navy-800); color: #fff; }

/* ---------- standalone pages (design/pages/, no WordPress theme CSS underneath) ---------- */
body.dfg-page { margin: 0; font-size: 15px; line-height: 1.55; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
.dfg-page h1, .dfg-page h2, .dfg-page h3, .dfg-page h4 { text-rendering: optimizeLegibility; }
.dfg-page button, .dfg-page input { font-family: inherit; font-size: inherit; line-height: inherit; }
.dfg-page *, .dfg-page *::before, .dfg-page *::after { box-sizing: border-box; }
.dfg-page img { max-width: 100%; }
.dfg-page img, .dfg-page svg { vertical-align: middle; }
.dfg-page h1, .dfg-page h2, .dfg-page h3, .dfg-page p, .dfg-page ul, .dfg-page dl, .dfg-page dd { margin: 0; }
.dfg-page a { color: var(--dfg-blue); }
.dfg-page [hidden] { display: none !important; }

/* ---------- product pages (/heloc/) ---------- */
.dfg-phero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse 60% 120% at 92% 112%, rgba(96,140,210,.32) 0%, rgba(96,140,210,0) 60%), linear-gradient(100deg, #091833 0%, #0e2349 38%, #15325f 70%, #1d437c 100%); }
.dfg-phero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 40px; padding-bottom: 52px; }
.dfg-site .dfg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font: 400 14px/1.4 var(--dfg-sans); color: #a9bad6; }
.dfg-site .dfg-crumbs a { color: #dfe7f4; text-decoration: none; }
.dfg-site .dfg-crumbs a:hover { color: #fff; text-decoration: underline; }
.dfg-site .dfg-phero__title { margin: 0; font: 700 54px/1.06 var(--dfg-serif); letter-spacing: -.6px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.dfg-site .dfg-phero__lead { max-width: 560px; margin: 0 0 30px; font: 400 21px/1.45 var(--dfg-sans); color: #e6ecf6; }
.dfg-glance { padding: 20px 26px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.04) 100%); box-shadow: 0 18px 40px rgba(3,10,28,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.dfg-site .dfg-glance__title { margin: 0 0 4px; font: 600 13px/1.2 var(--dfg-sans); letter-spacing: .14em; text-transform: uppercase; color: #a9bad6; }
.dfg-glance__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.13); }
.dfg-glance__list > div:first-child { border-top: 0; }
.dfg-glance__list dt { font: 400 15px/1.35 var(--dfg-sans); color: #c9d4e6; }
.dfg-site .dfg-glance__list dd { margin: 0; text-align: right; font: 700 18px/1.4 var(--dfg-serif); color: #fff; }
.dfg-glance__list dd span { font: 400 14px/1.3 var(--dfg-sans); color: #b9c6dc; }

.dfg-psec { padding: 64px 0; background: #fff; }
.dfg-psec--alt { background: linear-gradient(180deg, #f7f8fa 0%, #f1f3f6 100%); border-top: 1px solid #e3e6eb; border-bottom: 1px solid #e3e6eb; }
.dfg-site .dfg-psec__title { margin: 0; font: 700 36px/1.15 var(--dfg-serif); letter-spacing: -.3px; color: #0d1a33; }
.dfg-psec__rule { display: block; width: 160px; height: 4px; margin: 18px 0 26px; border-radius: 2px; background: linear-gradient(90deg, #6f7784 0%, #8a929e 55%, rgba(140,148,160,0) 100%); }
.dfg-site .dfg-psec__sub { margin: 34px 0 14px; font: 700 22px/1.3 var(--dfg-serif); color: #0d1a33; }
.dfg-site .dfg-psec p { max-width: 760px; margin: 0 0 16px; font: 400 17.5px/1.65 var(--dfg-sans); color: var(--dfg-text); }
.dfg-site .dfg-psec .dfg-psec__intro { font-size: 18.5px; }
.dfg-site .dfg-psec .dfg-note { margin-top: 12px; font-size: 14.5px; line-height: 1.5; font-style: italic; color: var(--dfg-muted); }
.dfg-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.dfg-split--even { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.dfg-split__side { padding-top: 6px; }

.dfg-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #d3d9e2; border-radius: 8px; box-shadow: 0 4px 0 -1px #c3c9d2, 0 8px 18px rgba(18,32,60,.07); font: 400 16px/1.45 var(--dfg-sans); color: var(--dfg-text); font-variant-numeric: tabular-nums; }
.dfg-table caption { caption-side: top; padding: 0 0 12px; text-align: left; font: 700 20px/1.3 var(--dfg-serif); color: #0d1a33; }
.dfg-table thead th { padding: 13px 18px; text-align: left; font: 600 13px/1.3 var(--dfg-sans); letter-spacing: .07em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #163467 0%, #0f2550 100%); white-space: nowrap; }
.dfg-table thead th:first-child { border-top-left-radius: 7px; }
.dfg-table thead th:last-child { border-top-right-radius: 7px; }
.dfg-table tbody th, .dfg-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid #e4e8ee; }
.dfg-table tbody tr:first-child > * { border-top: 0; }
.dfg-table tbody th { font-weight: 600; color: var(--dfg-ink); }
.dfg-table sup { line-height: 0; }
.dfg-site .dfg-table sup a { color: inherit; text-decoration: none; }
.dfg-table--guide tbody tr:nth-child(even), .dfg-table--compact tbody tr:nth-child(even) { background: #f8f9fb; }
.dfg-table--guide tbody th { width: 27%; }
.dfg-table--guide td:nth-child(2) { width: 25%; font-weight: 600; color: var(--dfg-ink); }
.dfg-table--guide td:last-child { color: var(--dfg-muted); }
.dfg-table--matrix tbody tr:hover { background: #f1f5fb; }
.dfg-table--matrix tbody th { font-weight: 500; }
.dfg-table--matrix td:nth-child(3), .dfg-table--matrix td:nth-child(4) { font-weight: 600; color: var(--dfg-ink); }
.dfg-table--kv tbody th { width: 34%; background: #f4f6f9; border-right: 1px solid #e4e8ee; }
.dfg-table--kv tbody tr:first-child th { border-top-left-radius: 7px; }
.dfg-table--kv tbody tr:last-child th { border-bottom-left-radius: 7px; }
.dfg-muted { font-size: 14.5px; color: var(--dfg-muted); }

.dfg-pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dfg-pcards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dfg-pcard { padding: 26px 28px 20px; border: 1px solid #cfd5de; border-radius: 8px; background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%); box-shadow: 0 4px 0 -1px #c3c9d2, 0 8px 18px rgba(18,32,60,.07); }
.dfg-site .dfg-pcard h3 { margin: 0 0 12px; font: 700 22px/1.25 var(--dfg-serif); color: #0d1a33; }
.dfg-site .dfg-psec .dfg-pcard p { font-size: 16.5px; }
.dfg-checks { padding: 0; list-style: none; }
.dfg-checks li { position: relative; margin: 0; padding: 6px 0 6px 28px; list-style: none; font: 400 16.5px/1.45 var(--dfg-sans); color: var(--dfg-text); }
.dfg-checks li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 12px; height: 6px; border-left: 2.2px solid var(--dfg-blue); border-bottom: 2.2px solid var(--dfg-blue); transform: rotate(-45deg); }

.dfg-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; margin: 6px 0 4px; padding: 18px 20px; border: 1px solid #d3d9e2; border-radius: 8px; background: #f6f8fb; }
.dfg-seg { min-width: 0; margin: 0; padding: 0; border: 0; }
.dfg-seg legend, .dfg-filter__score label { display: block; margin: 0 0 8px; padding: 0; font: 600 12.5px/1.2 var(--dfg-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dfg-muted); }
.dfg-seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dfg-seg label { position: relative; display: inline-flex; cursor: pointer; }
.dfg-seg input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.dfg-seg span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid #c8d0db; border-radius: 6px; background: #fff; font: 500 15.5px/1 var(--dfg-sans); color: #1b2233; transition: background-color .15s, color .15s, border-color .15s; }
.dfg-seg label:hover span { border-color: #8ea0bb; }
.dfg-seg input:checked + span { background: var(--dfg-navy-800); border-color: var(--dfg-navy-800); color: #fff; }
.dfg-seg input:focus-visible + span { outline: 3px solid #5b9bf0; outline-offset: 2px; }
.dfg-filter__score input { width: 140px; height: 42px; padding: 0 12px; border: 1px solid #c8d0db; border-radius: 6px; background: #fff; font: 500 16px/1 var(--dfg-sans); color: var(--dfg-ink); }
.dfg-filter__score input:focus { border-color: #5b9bf0; outline: 3px solid #5b9bf0; outline-offset: 1px; }
.dfg-site .dfg-psec .dfg-filter__status { flex: 1 1 180px; margin: 0 0 11px; font-size: 15px; color: var(--dfg-muted); }
.dfg-site .dfg-psec .dfg-matrix-empty { max-width: none; margin: 0; padding: 14px 18px; border: 1px dashed #c8d0db; border-radius: 8px; font-size: 16px; color: var(--dfg-muted); }
.dfg-notes { margin-top: 24px; }
.dfg-site .dfg-psec .dfg-notes p { margin: 0 0 4px; font-size: 14.5px; line-height: 1.5; color: var(--dfg-muted); }

.dfg-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.dfg-terms > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid #e4e8ee; }
.dfg-terms dt { font: 700 17px/1.45 var(--dfg-serif); color: #0d1a33; }
.dfg-site .dfg-terms dd { margin: 0; font: 400 16px/1.55 var(--dfg-sans); color: var(--dfg-text); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .dfg-site .dfg-phero__title { font-size: 48px; }
  .dfg-phero__inner, .dfg-split { gap: 44px; }
}
@media (max-width: 1020px) {
  .dfg-phero__inner { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 44px; }
  .dfg-glance { max-width: 620px; }
  .dfg-split, .dfg-split--even { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .dfg-split__side { max-width: 620px; padding-top: 0; }
  .dfg-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dfg-site .dfg-psec__title { font-size: 32px; }
  .dfg-table--matrix thead th { white-space: normal; vertical-align: bottom; }
  .dfg-table--matrix thead th, .dfg-table--matrix tbody th, .dfg-table--matrix td { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 860px) {
  .dfg-terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .dfg-table--matrix, .dfg-table--guide { border: 0; border-radius: 0; background: none; box-shadow: none; }
  .dfg-table--matrix thead, .dfg-table--guide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dfg-table--matrix tbody, .dfg-table--guide tbody { display: grid; gap: 12px; }
  .dfg-table--matrix tr, .dfg-table--guide tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; padding: 16px 18px; border: 1px solid #d3d9e2; border-radius: 8px; background: #fff !important; box-shadow: 0 3px 0 -1px #c3c9d2, 0 6px 14px rgba(18,32,60,.06); }
  .dfg-table--guide tr { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dfg-table--matrix tbody th, .dfg-table--matrix td, .dfg-table--guide tbody th, .dfg-table--guide td { display: block; width: auto !important; padding: 0; border: 0; white-space: normal; }
  .dfg-table--matrix tbody th, .dfg-table--guide tbody th { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid #e4e8ee; font: 700 17px/1.3 var(--dfg-serif); color: #0d1a33; }
  .dfg-table--matrix td::before, .dfg-table--guide td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 11.5px/1.2 var(--dfg-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dfg-muted); }
  .dfg-table--guide td:empty { display: none; }
  /* matrix card: occupancy + lien badge on top, the four numbers in a 2x2 grid */
  .dfg-table--matrix tr { gap: 12px 16px; padding: 14px 16px 16px; }
  .dfg-table--matrix tbody th { grid-column: 1; align-self: center; padding-bottom: 0; border-bottom: 0; }
  .dfg-table--matrix td:nth-child(2) { grid-column: 2; justify-self: end; align-self: center; padding: 3px 10px; border-radius: 999px; background: #eef2f8; font: 600 13.5px/1.3 var(--dfg-sans); color: var(--dfg-navy-700); }
  .dfg-table--matrix td:nth-child(2)::before { content: none; }
  .dfg-table--matrix td:nth-child(2)::after { content: " lien"; }
  .dfg-table--matrix td:nth-child(3) { grid-column: 1; padding-top: 12px; border-top: 1px solid #e4e8ee; }
  .dfg-table--matrix td:nth-child(4) { grid-column: 2; margin-left: -16px; padding: 12px 0 0 16px; border-top: 1px solid #e4e8ee; }
  .dfg-pcards, .dfg-pcards--two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .dfg-site .dfg-phero__title { font-size: clamp(32px, 9vw, 42px); }
  .dfg-site .dfg-phero__lead { font-size: 18px; margin-bottom: 24px; }
  .dfg-glance { padding: 16px 18px 6px; }
  .dfg-glance__list dt { font-size: 14px; }
  .dfg-site .dfg-glance__list dd { font-size: 16px; }
  .dfg-glance__list dd span { font-size: 13px; }
  .dfg-psec { padding: 44px 0; }
  .dfg-site .dfg-psec__title { font-size: clamp(25px, 7vw, 30px); }
  .dfg-site .dfg-psec p { font-size: 16.5px; }
  .dfg-pcard { padding: 22px 20px 16px; }
  .dfg-table--compact th, .dfg-table--compact td, .dfg-table--kv th, .dfg-table--kv td { padding: 12px 14px; }
  .dfg-glance__list > div { flex-wrap: wrap; row-gap: 4px; }
  .dfg-site .dfg-glance__list dd { margin-left: auto; }
  .dfg-filter { padding: 16px; }
  .dfg-seg span { height: 40px; padding: 0 12px; font-size: 15px; }
  .dfg-terms > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (max-width: 1180px) {
  .dfg-logo img { width: 290px; }
  .dfg-menu__item + .dfg-menu__item { margin-left: 30px; }
  .dfg-header__cta { margin-left: 30px; }
  .dfg-site .dfg-menu__link { font-size: 16.5px; }
  .dfg-hero__copy { padding-left: 8px; }
  .dfg-site .dfg-hero__title { font-size: 56px; }
  .dfg-hero::before { left: calc(50% - 88px); }
  .dfg-hero__photo { left: 50%; }
  .dfg-cards { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .dfg-site .dfg-steps__list > .dfg-step + .dfg-step::before { left: -38px; }
  .dfg-site .dfg-steps__list { gap: 50px; justify-content: center; }
  .dfg-step__text { font-size: 19px; }
  .dfg-step .dfg-ico { width: 50px; height: 50px; }
  .dfg-step .dfg-ico--wide { width: 64px; }
  .dfg-footer__inner { padding-left: var(--dfg-pad) !important; }
  .dfg-footer__divider { margin: 0 48px; }
  .dfg-site .dfg-footer__nav { gap: 8px 36px; }
}
@media (max-width: 1020px) {
  .dfg-header__inner { min-height: 84px; }
  .dfg-logo img { width: 250px; }
  .dfg-nav { order: 3; margin-left: 16px; padding-top: 0; align-self: center; }
  .dfg-header__cta { margin-left: auto; margin-top: 0; }
  .dfg-header__apply { display: none !important; }
  .dfg-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid #cfd5de; border-radius: 6px; background: #fff; color: #14213d; cursor: pointer; }
  .dfg-nav__toggle .dfg-ico { width: 26px; height: 26px; }
  .dfg-nav__toggle .dfg-ico--close, .dfg-nav__toggle[aria-expanded="true"] .dfg-ico--open { display: none; }
  .dfg-nav__toggle[aria-expanded="true"] .dfg-ico--close { display: block; }
  .dfg-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; max-height: calc(100vh - 84px); overflow-y: auto; padding: 8px var(--dfg-pad) 22px; background: #fff; border-top: 1px solid #e2e5ea; box-shadow: 0 16px 30px rgba(15,30,60,.16); }
  .dfg-nav.is-open .dfg-menu { display: flex; }
  .dfg-menu__item + .dfg-menu__item { margin-left: 0; }
  .dfg-menu__item { border-bottom: 1px solid #eceef2; }
  .dfg-site .dfg-menu__link { padding: 15px 0; font-size: 18px; }
  .dfg-has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .dfg-has-sub > .dfg-menu__link { flex: 1; }
  .dfg-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #14213d; cursor: pointer; }
  .dfg-sub-toggle[aria-expanded="true"] .dfg-ico { transform: rotate(180deg); }
  .dfg-sub { position: static; flex-basis: 100%; display: none; min-width: 0; margin: 0 0 10px; padding: 4px 0; border: 0; border-left: 3px solid #d5dae2; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .dfg-has-sub.is-open > .dfg-sub { display: block; }
  .dfg-has-sub:hover > .dfg-sub, .dfg-has-sub:focus-within > .dfg-sub { opacity: 1; visibility: visible; }
  .dfg-site .dfg-sub a { padding: 10px 16px; font-size: 16px; }
  .dfg-menu__item--mobile { display: block; border-bottom: 0; padding-top: 18px; }
  .dfg-menu__item--mobile .dfg-btn { width: 100%; height: 48px; }
  .dfg-site .dfg-hero__title { font-size: 50px; }
  .dfg-site .dfg-hero__lead { font-size: 21px; }
  .dfg-site .dfg-btn--lg { height: 48px; font-size: 18px; padding: 0 24px; }
  .dfg-hero__copy { max-width: 470px; }
  .dfg-hero::before { left: calc(54% - 88px); }
  .dfg-hero__photo { left: 54%; }
  .dfg-site .dfg-section-title { font-size: 36px; }
  .dfg-site .dfg-cta__title { font-size: 34px; }
  .dfg-cta__contacts li { padding: 4px 18px; }
  .dfg-site .dfg-cta__contacts a { font-size: 17.5px; }
  .dfg-site .dfg-cta__contacts .dfg-cta__phone { font-size: 20px; }
}
@media (max-width: 860px) {
  .dfg-hero { display: flex; flex-direction: column; background: linear-gradient(160deg, #091833 0%, #0f2550 60%, #18386c 100%); }
  .dfg-hero::before { display: none; }
  .dfg-hero__inner { order: 1; min-height: 0; width: 100%; }
  .dfg-hero__copy { max-width: 640px; padding: 40px 0 38px; }
  .dfg-hero__photo { order: 2; position: relative; left: auto; right: auto; height: 240px; transform: none; }
  .dfg-hero__photo picture { transform: none; }
  .dfg-site .dfg-steps__list > .dfg-step + .dfg-step::before { display: none; }
  .dfg-site .dfg-steps__list { flex-direction: column; align-items: stretch; gap: 18px; padding: 28px var(--dfg-pad); max-width: 440px; }
  .dfg-cta__contacts { flex-direction: column; gap: 6px; }
  .dfg-cta__contacts li + li { border-left: 0; }
  .dfg-cta__contacts li { padding: 2px 0; }
  .dfg-footer__inner { flex-direction: column; justify-content: center; gap: 18px; padding-top: 26px; padding-bottom: 24px; }
  .dfg-footer__divider { display: none; }
  .dfg-site .dfg-footer__nav { justify-content: center; gap: 8px 28px; }
}
@media (max-width: 640px) {
  :root { --dfg-pad: 18px; }
  .dfg-header__inner { min-height: 74px; gap: 10px; }
  .dfg-logo img { width: 196px; }
  .dfg-nav { margin-left: 8px; }
  .dfg-menu { max-height: calc(100vh - 74px); }
  .dfg-site .dfg-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dfg-site .dfg-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid #cfd5de; border-radius: 6px; }
  .dfg-site .dfg-hero__title { font-size: clamp(34px, 9.6vw, 46px); }
  .dfg-site .dfg-hero__lead { font-size: 18.5px; margin-bottom: 26px; }
  .dfg-hero__actions { flex-direction: column; align-items: stretch; }
  .dfg-hero__photo { height: 190px; }
  .dfg-site .dfg-disclaimer p { font-size: 13.5px; }
  .dfg-solutions { padding-top: 34px; }
  .dfg-site .dfg-section-title { font-size: clamp(26px, 7vw, 32px); }
  .dfg-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dfg-site .dfg-card { min-height: 160px; }
  .dfg-card .dfg-ico { width: 46px; height: 46px; }
  .dfg-card span { font-size: 17px; }
  .dfg-step__text { font-size: 18px; }
  .dfg-site .dfg-cta__title { font-size: clamp(24px, 6.6vw, 30px); }
  .dfg-site .dfg-cta__contacts a { font-size: 15.5px; gap: 10px; overflow-wrap: anywhere; }
  .dfg-site .dfg-cta__contacts .dfg-cta__phone { font-size: 19px; }
  .dfg-cta__contacts .dfg-ico { width: 22px; height: 22px; }
  .dfg-footer__logo img { width: 210px; }
  .dfg-site .dfg-footer__nav a { font-size: 16px; }
  .dfg-footer__legal .dfg-wrap { flex-direction: column; align-items: center; text-align: center; }
  .dfg-site .dfg-footer__legal a { display: inline-block; margin: 2px 8px !important; }
}
@media (max-width: 380px) {
  :root { --dfg-pad: 14px; }
  .dfg-header__inner { gap: 6px; }
  .dfg-logo img { width: 172px; }
  .dfg-nav { margin-left: 6px; }
  .dfg-site .dfg-phone, .dfg-nav__toggle { width: 42px !important; height: 42px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dfg-site .dfg-card, .dfg-site .dfg-btn, .dfg-sub, .dfg-seg span { transition: none; }
}
