/* Modern Blue: floating glass header, aurora-gradient hero, bento-grid services, big soft shadows. */
.theme-modern {
  --primary: #2563eb; --primary-soft: #e8efff; --link: #1d4ed8; --accent: #06b6d4; --focus: #1d4ed8;
  --bg: #f6f8ff; --alt: #eef3ff; --surface: #fff; --border: #dde5f7; --text: #0f1b3d; --muted: #4b5a7c;
  --radius: 24px; --radius-sm: 16px; --radius-btn: 14px;
  --shadow-sm: 0 1px 2px rgb(30 58 138 / .05), 0 2px 6px rgb(30 58 138 / .05);
  --shadow: 0 2px 4px rgb(30 58 138 / .04), 0 10px 24px -6px rgb(30 58 138 / .1), 0 24px 48px -16px rgb(30 58 138 / .12);
  --shadow-lg: 0 4px 8px rgb(30 58 138 / .05), 0 18px 36px -8px rgb(30 58 138 / .18), 0 44px 80px -20px rgb(30 58 138 / .25);
  --header-bg: rgb(255 255 255 / .74);
  --hero-bg: radial-gradient(700px 420px at 12% 0%, rgb(99 102 241 / .55) 0, transparent 62%), radial-gradient(640px 420px at 92% 18%, rgb(14 165 233 / .42) 0, transparent 62%), linear-gradient(165deg, #172a6e 0%, #1d4ed8 58%, #0b4a7a 100%);
  --hero-ink: #fff; --hero-muted: rgb(255 255 255 / .92);
  --page-hero-bg: radial-gradient(520px 300px at 10% 0, rgb(99 102 241 / .5) 0, transparent 62%), linear-gradient(165deg, #172a6e, #1d4ed8 70%, #0b4a7a);
  --band-bg: linear-gradient(120deg, #1d4ed8, #4338ca 55%, #0e7490);
  --footer-bg: #0c1330; --footer-ink: #b6c2e4;
}
.theme-modern .hero { --focus: #fff; padding-bottom: clamp(64px, 9vw, 120px); }
.theme-modern .hero .eyebrow { background: rgb(255 255 255 / .14); color: #fff; border: 1px solid rgb(255 255 255 / .22); }
.theme-modern .hero h1 { background: linear-gradient(180deg, #fff 30%, #c7d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.theme-modern .hero .btn-primary { background: #fff; color: #1d3a9e; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .45); }
.theme-modern .hero .btn-outline { color: #fff; border-color: rgb(255 255 255 / .5); background: rgb(255 255 255 / .08); }
.theme-modern .hero .btn-outline:hover { background: rgb(255 255 255 / .18); border-color: #fff; }
.theme-modern .hero-points .ic { color: #7dd3fc; }
.theme-modern .hero-points { color: rgb(255 255 255 / .92); }
.theme-modern .hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, transparent, var(--bg)); z-index: 0; }
.theme-modern .page-hero { color: #fff; border: 0; --focus: #fff; }
.theme-modern .page-hero .eyebrow { color: #bfdbfe; }
.theme-modern .page-hero .lead-prose, .theme-modern .page-hero .updated { color: rgb(255 255 255 / .9); }
.theme-modern .page-hero a { color: #fff; }
.theme-modern main > .page-hero:first-child { padding-top: calc(clamp(40px, 6vw, 84px) + 88px); }
.theme-modern main > .hero:first-child { padding-top: calc(clamp(44px, 7vw, 96px) + 96px); }
.theme-modern .site-header .logo-text { color: #0f1b3d; }
.theme-modern .site-nav a:hover { background: #e8efff; }
.theme-modern .section.alt { background: transparent; }
.theme-modern .card { border: 1px solid rgb(255 255 255 / .9); box-shadow: var(--shadow); }
.theme-modern .ic-tile { background: linear-gradient(135deg, #dbe6ff, #e0f7ff); }
.theme-modern .card:hover .ic-tile { background: linear-gradient(135deg, #2563eb, #06b6d4); }

/* bento services (4 cards): one large tile + three small */
@media (min-width: 900px) {
  .theme-modern .cards[data-count="4"] { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); }
  .theme-modern .cards[data-count="4"] .card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; color: #fff; border: 0;
    background: radial-gradient(420px 260px at 85% 0, rgb(6 182 212 / .5) 0, transparent 65%), linear-gradient(145deg, #1d4ed8, #312e81); }
  .theme-modern .cards[data-count="4"] .card:nth-child(1) h3 { font-size: 1.7rem; color: #fff; letter-spacing: -.01em; }
  .theme-modern .cards[data-count="4"] .card:nth-child(1) p { color: rgb(255 255 255 / .9); font-size: 1.05rem; }
  .theme-modern .cards[data-count="4"] .card:nth-child(1) .ic-tile { background: rgb(255 255 255 / .16); color: #fff; width: 72px; height: 72px; border-radius: 22px; position: absolute; top: 32px; left: 36px; }
  .theme-modern .cards[data-count="4"] .card:nth-child(2) { grid-column: 3 / 5; }
  .theme-modern .cards[data-count="4"] .card:nth-child(2), .theme-modern .cards[data-count="4"] .card:nth-child(3), .theme-modern .cards[data-count="4"] .card:nth-child(4) { padding: 24px; }
}
.theme-modern .why li, .theme-modern .info-card, .theme-modern .contact-card, .theme-modern .quote, .theme-modern .faq-item { border-color: rgb(255 255 255 / .9); box-shadow: var(--shadow); }
.theme-modern .stats { background: transparent; color: var(--text); }
.theme-modern .stat-grid { background: linear-gradient(120deg, #1d4ed8, #4338ca); color: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); }
.theme-modern .stats .wrap { padding-top: 24px; padding-bottom: 24px; }
.theme-modern .site-footer { border-radius: 36px 36px 0 0; margin-top: 24px; }
@media (min-width: 861px) { .theme-modern .site-header .bar { padding-left: 20px; } }
