/*
Theme Name: Dlight Healthcare
Theme URI: https://dlighthealthcare.com
Author: Dlight Healthcare
Description: The Dlight Healthcare site. Nursing-led supported living in South Ockendon and care at home across Essex. Install with the Dlight Healthcare plugin.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: dlight
*/

:root {
  --paper: #f4f1ea;
  --surface: #fffcf8;
  --ink: #1b2a4a;
  --ink-soft: #3c4d6c;
  --muted: #5e6c82;
  --line: #ddd4c6;
  --brand: #3070c8;
  --brand-deep: #1e4e96;
  --on-ink: #f6f3ec;
  --on-brand: #f5f8fc;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --serif: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --max: 72rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body.dlight {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
p { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  color: inherit;
  margin: 0;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 640px) {
  h1 { font-size: 3rem; }
}
@media (min-width: 768px) {
  h2 { font-size: 2.25rem; }
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: var(--on-brand); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  transform: translateY(-150%);
  background: var(--surface);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(100% - 4rem, var(--max)); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.topbar {
  display: none;
  background: var(--ink);
  color: var(--on-ink);
  border-top: 4px solid var(--brand);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.topbar a { color: inherit; font-weight: 600; text-decoration: none; }

@media (min-width: 1024px) {
  .topbar { display: block; }
}

.bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.logo { display: flex; flex: 0 0 auto; }
.logo img { height: 2.75rem; width: auto; display: block; }
@media (min-width: 640px) {
  .logo img { height: 3rem; }
}

.primary-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 1024px) {
  .primary-nav { display: flex; }
}

.primary-nav > a,
.nav-parent > button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
}
.primary-nav > a:hover,
.nav-parent > button:hover,
.primary-nav > a.is-current,
.nav-parent.is-current > button,
.nav-parent.is-open > button { color: var(--brand); }

.nav-cta {
  margin-left: 0.75rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: var(--on-brand);
}
.nav-cta:hover { background: var(--brand-deep); color: var(--on-brand); }

.nav-parent { position: relative; }
.chevron { width: 1rem; height: 1rem; transition: transform 0.2s; }
.nav-parent.is-open .chevron,
.mobile-section.is-open .chevron { transform: rotate(180deg); }

.drop-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 18rem;
  padding-top: 0.5rem;
  z-index: 20;
}
.nav-parent.is-open .drop-panel { display: block; }
.drop-panel-inner {
  background: var(--brand);
  border-radius: 0.5rem;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.16);
}
.drop-panel a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: var(--on-brand);
  height: auto;
}
.drop-panel a:hover { background: rgba(255, 255, 255, 0.12); color: var(--on-brand); }
.drop-panel a strong { display: block; font-size: 0.875rem; color: var(--on-brand); }
.drop-panel a span { display: block; margin-top: 0.15rem; color: rgba(245, 248, 252, 0.75); font-size: 0.75rem; font-weight: 400; }

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 0;
  box-shadow: none;
}
body.dlight .menu-toggle {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}
.burger { position: relative; width: 1.25rem; height: 0.875rem; display: block; }
.burger span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 1.25rem;
  background: currentColor;
  transition: transform 0.2s, opacity 0.15s, top 0.2s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 0.375rem; }
.burger span:nth-child(3) { top: 0.75rem; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 0.375rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 0.375rem; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: auto;
  background: var(--surface);
  padding: 6.5rem 1.25rem 2.5rem;
}
.mobile-nav[hidden] { display: none; }
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}
.mobile-call {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  text-decoration: none;
}
.mobile-list { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mobile-list > li { border-bottom: 1px solid var(--line); }
.mobile-list > li:last-child { border-bottom: 0; }
.mobile-list > li > a,
.mobile-section > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 3.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
}
.mobile-sub { list-style: none; margin: 0 0 0.75rem; padding: 0; display: grid; gap: 0.25rem; }
.mobile-sub[hidden] { display: none; }
.mobile-sub a {
  display: block;
  background: var(--paper);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--ink);
}
.mobile-sub a span { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.mobile-refer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  margin-top: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.hero {
  display: grid;
  background: var(--ink);
  color: var(--on-ink);
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
}
.hero-copy { display: flex; align-items: center; }
.hero-copy-inner { width: 100%; padding: 2.5rem 1.25rem; }
@media (min-width: 640px) {
  .hero-copy-inner { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .hero-copy-inner {
    max-width: 36rem;
    margin-left: auto;
    padding: 3rem 3rem 3rem 2rem;
  }
}
.kicker { margin: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(246, 243, 236, 0.7); }
.tagline { margin: 0.5rem 0 0; font-family: var(--serif); font-size: 1.25rem; }
.hero h1 { margin-top: 1rem; }
.hero .lede { margin: 1rem 0 0; max-width: 28rem; font-size: 1rem; line-height: 1.6; color: rgba(246, 243, 236, 0.82); }
.hero-actions, .actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 640px) {
  .hero-actions, .actions { flex-direction: row; flex-wrap: wrap; }
}
.hero-photo { position: relative; min-height: 14rem; }
@media (min-width: 640px) { .hero-photo { min-height: 16rem; } }
@media (min-width: 1024px) { .hero-photo { min-height: 100%; } }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 18rem;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.facts {
  display: grid;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 1.5rem 1.25rem; }
@media (min-width: 768px) { .facts div { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 640px) {
  .facts div { border-left: 1px solid var(--line); }
  .facts div:first-child { border-left: 0; }
}
.facts dt { font-family: var(--serif); font-size: 1.5rem; }
.facts dd { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--ink-soft); }

.stage {
  display: grid;
  background: var(--ink);
  color: var(--on-ink);
}
@media (min-width: 1024px) {
  .stage { grid-template-columns: 1fr 1fr; min-height: 34rem; }
}
.stage-copy { display: flex; align-items: flex-end; }
.stage-copy-inner {
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  padding: 4rem 1.25rem;
}
@media (min-width: 1024px) {
  .stage-copy-inner { padding: 5rem 4rem 5rem 2rem; }
}
.stage-kicker { margin: 0; font-size: 0.875rem; letter-spacing: 0.02em; color: rgba(246, 243, 236, 0.6); }
.stage h1 { margin: 1.5rem 0 0; color: var(--on-ink); font-size: clamp(2.75rem, 5vw, 3.75rem); line-height: 1.05; }
.stage-copy-inner > p { margin: 1.5rem 0 0; max-width: 28rem; font-size: 1.125rem; line-height: 1.6; color: rgba(246, 243, 236, 0.75); }
.stage-photo { position: relative; min-height: 18rem; }
.stage-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.support-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .support-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.support-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.support-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.support-list article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.support-list h3 { margin: 0; }
.support-list .soft { margin: 0.5rem 0 0; max-width: 28rem; }
.support-list a { font-weight: 600; font-size: 0.875rem; }
.plain-three { display: grid; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .plain-three { grid-template-columns: repeat(3, 1fr); } }
.plain-three article { border-top: 1px solid rgba(27, 42, 74, 0.15); padding-top: 1.25rem; }
.plain-three h3 { margin: 0; }
.home-open-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .home-open-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
.home-open h1 { margin-top: 0.75rem; }
.home-open .soft { margin-top: 1rem; max-width: 32rem; }
.home-open-photo { position: relative; }
.home-open-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0.5rem;
}
.home-open-photo p {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
}
.band-brand { background: var(--brand); color: var(--on-brand); }
.facts-light dt { color: var(--on-brand); }
.facts-light dd { color: rgba(245, 248, 252, 0.8); }
@media (min-width: 640px) {
  .facts-light div { border-left: 1px solid rgba(255, 255, 255, 0.15); }
  .facts-light div:first-child { border-left: 0; }
}
.offer { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .offer { grid-template-columns: repeat(3, 1fr); } }
.offer article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
}
.offer .practice-copy h3 { margin-top: 0; }

.band { background: var(--paper); }
.band-surface { background: var(--surface); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band .wrap, .band-surface .wrap, .band-ink .wrap { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) {
  .band .wrap, .band-surface .wrap, .band-ink .wrap { padding-top: 5rem; padding-bottom: 5rem; }
}

.soft { color: var(--ink-soft); }
.muted { color: var(--muted); }
.measure { max-width: 42rem; }
.stack > * + * { margin-top: 1rem; }
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: var(--brand-deep); color: var(--on-brand); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost-plain { border-color: var(--line); color: var(--ink); }
.btn-line-light { border-color: rgba(246, 243, 236, 0.3); color: var(--on-ink); }
.btn-link { min-height: 2.75rem; padding: 0; border: 0; color: var(--brand); font-weight: 600; background: none; text-decoration: none; }
.btn-link:hover { color: var(--brand-deep); }

.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .split-7 { grid-template-columns: 7fr 5fr; }
  .split-5 { grid-template-columns: 3fr 2fr; }
}
.photo { display: block; width: 100%; object-fit: cover; border-radius: 0.5rem; }
.r-16-10 { aspect-ratio: 16 / 10; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-3-2 { aspect-ratio: 3 / 2; }
@media (min-width: 1024px) {
  .lg-r-4-5 { aspect-ratio: 4 / 5; }
}
.caption { margin: 0.75rem 0 0; font-size: 0.875rem; color: var(--muted); }

.who { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .who { grid-template-columns: 1fr 1fr; } }
.who li { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--ink-soft); }
.who b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--brand); }

.cols-3, .cols-2 { display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-2 { grid-template-columns: 1fr 1fr; }
}
.cols-3 p, .rule-list p { color: var(--ink-soft); }

.rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule-row {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.rule-row:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .rule-row { grid-template-columns: 3fr 7fr 2fr; align-items: start; }
  .rule-row .end { text-align: right; }
}
.rule-row h3 { font-size: 1.25rem; }
.rule-row p { margin: 0; }
.rule-row a { font-size: 0.875rem; font-weight: 600; text-decoration: none; }

.work-link { display: block; color: inherit; text-decoration: none; }
.work-link:hover h3 { color: var(--brand); }
.work-link p { color: var(--ink-soft); }

.cta-grid { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 768px) { .cta-grid { grid-template-columns: 2fr 1fr; } }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.band-ink .soft { color: rgba(246, 243, 236, 0.82); }

.intro { background: var(--surface); border-bottom: 1px solid var(--line); }
.intro .wrap { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) {
  .intro .wrap { padding-top: 4rem; padding-bottom: 4rem; }
}
.crumbs { margin: 0; font-size: 0.875rem; color: var(--muted); }
.crumbs a { color: var(--ink-soft); font-weight: 500; text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.intro h1 { margin-top: 0.75rem; max-width: 46rem; }
.lede { margin: 1.25rem 0 0; max-width: 40rem; font-size: 1.125rem; color: var(--ink-soft); }
.intro .eyebrow { margin-top: 1.5rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.5rem;
}
@media (min-width: 768px) { .card { padding: 2rem; } }
.card h2 { font-size: 1.875rem; }
.card ul { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.875rem; }
.card ul li + li { margin-top: 0.5rem; }
.card .more { display: inline-flex; margin-top: 1.5rem; font-weight: 600; text-decoration: none; }

.sticky-card { border: 1px solid var(--line); background: var(--surface); border-radius: 0.5rem; padding: 1.5rem; }
@media (min-width: 1024px) { .sticky-card { position: sticky; top: 7rem; } }
.sticky-card ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.875rem; }
.sticky-card li + li { margin-top: 0.75rem; }

.plain-list { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--ink-soft); }
.plain-list li + li { margin-top: 0.5rem; }

.refer-cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .refer-cards { grid-template-columns: repeat(3, 1fr); } }
.refer-cards a {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0.5rem;
  padding: 1.25rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.refer-cards a:hover { border-color: var(--brand); }

.num { margin: 0; font-family: var(--serif); font-size: 1.5rem; color: var(--brand); }

.note-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .note-grid { grid-template-columns: 1fr 1fr; } }
.note-grid a { color: inherit; text-decoration: none; }
.note-grid h2 { margin-top: 1rem; font-size: 1.5rem; }
.note-grid p { color: var(--ink-soft); }
.note-grid time { display: block; margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }

.article { background: var(--surface); }
.article-inner { width: min(100% - 2.5rem, 48rem); margin: 0 auto; padding: 3rem 0 4rem; }
@media (min-width: 768px) { .article-inner { padding: 4rem 0 5rem; } }
.article h1 { margin-top: 0.75rem; }
.article .body { margin-top: 2rem; font-size: 1.125rem; color: var(--ink-soft); }
.article .body h2 { margin: 1.5rem 0 0; font-size: 1.5rem; color: var(--ink); }
.article .body p { margin: 1rem 0 0; }
.article .end { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); }

.contact-grid { display: grid; gap: 3rem; background: var(--surface); }
.contact-grid .wrap { display: grid; gap: 3rem; padding-top: 3rem; padding-bottom: 4rem; }
@media (min-width: 1024px) {
  .contact-grid .wrap { grid-template-columns: 5fr 7fr; align-items: start; }
}
address { font-style: normal; margin-top: 2rem; }
.phones { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.phones li + li { margin-top: 0.5rem; }
.phones a { font-weight: 600; text-decoration: none; }
.map {
  width: 100%;
  height: 16rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.form-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: block; font-size: 0.875rem; font-weight: 600; }
.field.wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
  font-weight: 400;
}
.field textarea { min-height: 9rem; resize: vertical; }
.opt { font-weight: 400; color: var(--muted); }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.form-errors { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--brand-deep); font-size: 0.875rem; }
.form-ok {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
}

.role { border-top: 1px solid var(--line); padding-top: 2rem; }
.role + .role { margin-top: 3rem; }
.role-no { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.role h2 { margin-top: 0.5rem; }

.footer { background: var(--ink); color: var(--on-ink); }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover, .footer button.reveal:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
}
.footer ul { list-style: none; margin: 0.75rem 0 0; padding: 0; font-size: 0.875rem; }
.footer li + li { margin-top: 0.5rem; }
.footer p, .footer address { font-size: 0.875rem; line-height: 1.6; color: rgba(246, 243, 236, 0.82); }
.footer address { font-style: normal; margin-top: 0.75rem; }
.badge { display: inline-block; margin-top: 1.25rem; background: var(--surface); border-radius: 0.375rem; padding: 0.4rem; }
.badge img { height: 3rem; width: auto; display: block; }
.legal { border-top: 1px solid rgba(246, 243, 236, 0.15); }
.legal p { width: min(100% - 2.5rem, var(--max)); margin: 0 auto; padding: 1rem 0; font-size: 0.75rem; color: rgba(246, 243, 236, 0.7); }
@media (min-width: 768px) { .legal p { width: min(100% - 4rem, var(--max)); } }

button.reveal {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font-weight: 600;
  text-align: left;
}
.ink-link { color: var(--ink); font-weight: 600; }

.entry { max-width: 46rem; }
.entry .content { margin-top: 1.5rem; color: var(--ink-soft); }
.entry .content > * + * { margin-top: 1rem; }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .header-tools { margin-left: 0.75rem; } }
.rise { animation: dlight-pop 220ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes dlight-pop {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.zoom-photo { overflow: hidden; }
.zoom-photo img { transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1); }
a:hover .zoom-photo img { transform: scale(1.04); }
.pair { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--surface); }
@media (min-width: 768px) {
  .pair-2 { grid-template-columns: 1fr 1fr; }
  .pair-3 { grid-template-columns: repeat(3, 1fr); }
}
.pair > a, .pair > article { color: inherit; text-decoration: none; }
.pair > a + a, .pair > article + article { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  .pair > a + a, .pair > article + article { border-top: 0; border-left: 1px solid var(--line); }
}
.pair .pad { padding: 1.25rem 1.5rem 1.5rem; }

body.dlight button.dlight-icon {
  all: unset;
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  cursor: pointer;
  line-height: 0;
  padding: 0 !important;
}
body.dlight button.dlight-icon svg { width: 20px; height: 20px; display: block; }
body.dlight .dlight-tool { position: relative; }
body.dlight .dlight-place {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 80;
  width: 16rem;
  margin: 0;
  padding: 1rem;
  text-align: left;
  background: var(--brand);
  border: 0;
  border-radius: 0.5rem;
  color: var(--on-brand);
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.16);
}
body.dlight .dlight-place[hidden] { display: none !important; }
body.dlight .dlight-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 248, 252, 0.7);
}
body.dlight .dlight-place-title {
  margin: 0.5rem 0 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-brand);
}
body.dlight a.dlight-phone {
  display: block;
  margin: 0.75rem 0 0;
  padding: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--on-brand);
  text-decoration: none;
  background: none;
}
body.dlight .dlight-address {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(245, 248, 252, 0.8);
}
body.dlight .dlight-search {
  position: fixed;
  inset: 0;
  z-index: 100000;
}
body.dlight .dlight-search[hidden] { display: none !important; }
body.dlight .dlight-search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(27, 42, 74, 0.45);
  cursor: pointer;
}
body.dlight .dlight-search-panel {
  position: relative;
  width: min(100% - 2rem, 32rem);
  margin: 14vh auto 0;
}
body.dlight .dlight-search-sheet {
  background: var(--brand);
  border: 0;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: var(--on-brand);
  box-shadow: 0 16px 40px rgba(27, 42, 74, 0.18);
}
body.dlight .dlight-search-head,
body.dlight .dlight-search-field,
body.dlight #search-results { background: transparent; }
body.dlight .dlight-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0;
}
body.dlight .dlight-search-head p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-brand);
}
body.dlight .dlight-search-head button {
  all: unset;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-brand);
}
body.dlight .dlight-search-field { padding: 0.75rem 1rem 1rem; }
body.dlight .dlight-search-field input[type="search"] {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 0.375rem !important;
  background: rgba(255, 255, 255, 0.12) !important;
  padding: 0.75rem !important;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--on-brand) !important;
  -webkit-appearance: none;
  appearance: none;
}
body.dlight .dlight-search-field input[type="search"]::placeholder { color: rgba(245, 248, 252, 0.65); }
body.dlight #search-results {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  max-height: 18rem;
  overflow: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
body.dlight #search-results a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: var(--on-brand);
  background: transparent;
}
body.dlight #search-results a:hover { background: rgba(255, 255, 255, 0.12); color: var(--on-brand); }
body.dlight #search-results strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--on-brand); }
body.dlight #search-results span { display: block; margin-top: 0.2rem; color: rgba(245, 248, 252, 0.75); font-size: 0.875rem; font-weight: 400; }
body.dlight #search-results .search-empty { padding: 1rem 0.75rem; color: rgba(245, 248, 252, 0.75); font-size: 0.875rem; }
body.dlight .practice,
body.dlight .work {
  display: grid;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}
@media (min-width: 768px) {
  body.dlight .practice { grid-template-columns: repeat(3, 1fr); }
  body.dlight .work { grid-template-columns: 1fr 1fr; }
}
body.dlight .practice > article + article,
body.dlight .work > article + article { border-top: 1px solid var(--line); }
@media (min-width: 768px) {
  body.dlight .practice > article + article,
  body.dlight .work > article + article { border-top: 0; border-left: 1px solid var(--line); }
}
body.dlight .practice-copy { padding: 1.25rem 1.25rem 1.5rem; }
body.dlight .practice-copy h3 { margin-top: 0.25rem; }
body.dlight .practice-copy .soft { margin: 0.5rem 0 0; font-size: 0.875rem; }
body.dlight .crop { position: relative; height: 9rem; overflow: hidden; }
@media (min-width: 640px) { body.dlight .crop { height: 10rem; } }
body.dlight .crop-lg { height: 11rem; }
@media (min-width: 640px) { body.dlight .crop-lg { height: 13rem; } }
body.dlight .crop img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   Dlight Healthcare — Premium visual system v2
   ========================================================= */
:root {
  --paper: #f5f7f6;
  --surface: #ffffff;
  --ink: #10253d;
  --ink-soft: #3d5369;
  --muted: #708091;
  --line: #dce4e7;
  --brand: #3070c8;
  --brand-deep: #1e4e96;
  --aqua: #e7f0fa;
  --aqua-deep: #1e4e96;
  --on-ink: #f7fbfa;
  --on-brand: #ffffff;
  --shadow-sm: 0 10px 30px rgba(16, 37, 61, .06);
  --shadow-md: 0 20px 60px rgba(16, 37, 61, .10);
  --shadow-lg: 0 30px 90px rgba(16, 37, 61, .15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --max: 76rem;
}

body.dlight {
  background: var(--paper);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

body.dlight ::selection { background: var(--brand); color: #fff; }
body.dlight a { color: var(--brand); }
body.dlight h1,
body.dlight h2,
body.dlight h3,
body.dlight h4 { letter-spacing: -.035em; }
body.dlight h1 { font-size: clamp(2.7rem, 5.2vw, 5.15rem); line-height: .98; }
body.dlight h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.03; }
body.dlight h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.wrap { width: min(100% - 2rem, var(--max)); }
@media (min-width: 768px) { .wrap { width: min(100% - 4rem, var(--max)); } }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(16,37,61,.08);
  box-shadow: 0 4px 20px rgba(16,37,61,.03);
}
.topbar {
  display: block;
  background: var(--ink);
  border-top: 0;
  color: #dbe6ef;
  font-size: .74rem;
}
.topbar .wrap { min-height: 34px; }
.bar { min-height: 78px; padding-top: .7rem; padding-bottom: .7rem; gap: 1.25rem; }
.logo img { height: 3.25rem; }
@media (min-width: 1024px) { .logo img { height: 3.45rem; } }
.primary-nav { gap: .2rem; }
.primary-nav > a,
.nav-parent > button,
.nav-cta {
  height: 2.9rem;
  padding: 0 .9rem;
  border-radius: 999px;
  font-size: .86rem;
}
.primary-nav > a:hover,
.nav-parent > button:hover,
.primary-nav > a.is-current,
.nav-parent.is-current > button,
.nav-parent.is-open > button { background: #f1f6f8; color: var(--ink); }
.nav-cta,
.nav-cta:hover {
  margin-left: .45rem;
  padding-inline: 1.15rem;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(35,116,201,.18);
}
.header-tools { gap: .25rem; }
.dlight-icon {
  width: 2.65rem !important;
  height: 2.65rem !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}
.drop-panel { width: 20rem; padding-top: .75rem; }
.drop-panel-inner {
  padding: .55rem;
  background: #3070c8;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.drop-panel a { border-radius: 13px; padding: .95rem; color: #fff; }
.drop-panel a:hover { background: rgba(255,255,255,.12); color: #fff; }
.drop-panel a strong { color: #fff; font-size: .92rem; }
.drop-panel a span { color: rgba(255,255,255,.78); font-size: .78rem; }
.dlight-place {
  min-width: 18rem !important;
  background: #3070c8 !important;
  border: 0 !important;
  border-radius: 18px !important;
  color: #fff !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Hero */
.premium-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.premium-hero::before {
  content: '';
  position: absolute;
  inset: auto -8% -42% 46%;
  width: 54rem;
  height: 54rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  pointer-events: none;
}
.premium-hero-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  padding-block: 1rem;
}
@media (min-width: 1024px) {
  .premium-hero-grid { grid-template-columns: minmax(0, 1.01fr) minmax(0, .99fr); padding-block: 1.25rem; }
}
.premium-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem,5vw,5.5rem) clamp(1rem,4vw,3.5rem) clamp(2.25rem,5vw,5rem) 0;
}
.premium-hero .eyebrow { color: #8fc8ff; margin-bottom: 1.2rem; }
.premium-hero h1 { max-width: 10ch; color: #fff; }
.premium-hero-copy > p:not(.eyebrow) { max-width: 36rem; margin: 1.65rem 0 0; color: rgba(247,251,250,.78); font-size: clamp(1rem,1.5vw,1.15rem); }
.premium-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.premium-hero-proof { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; }
.premium-proof-pill { display:inline-flex; align-items:center; gap:.55rem; padding:.62rem .8rem; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); border-radius:999px; color:rgba(255,255,255,.84); font-size:.78rem; font-weight:600; }
.premium-proof-dot { width:7px; height:7px; border-radius:50%; background:#7fdbc5; box-shadow:0 0 0 4px rgba(127,219,197,.10); }
.premium-hero-media { position:relative; min-height: 26rem; }
.premium-hero-media img { display:block; width:100%; height:100%; min-height:26rem; object-fit:cover; border-radius:var(--radius-lg); }
.premium-image-card {
  position:absolute;
  left:1rem;
  bottom:1rem;
  width:min(90%,22rem);
  padding:1rem 1.05rem;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  color:var(--ink);
  box-shadow:var(--shadow-lg);
}
.premium-image-card strong { display:block; font-size:.8rem; text-transform:uppercase; letter-spacing:.07em; color:var(--aqua-deep); }
.premium-image-card span { display:block; margin-top:.25rem; font-weight:700; line-height:1.35; }

/* Trust bar */
.premium-trust {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 15px 35px rgba(16,37,61,.05);
}
.premium-trust-grid { display:grid; grid-template-columns:repeat(2,1fr); }
@media (min-width: 768px) { .premium-trust-grid { grid-template-columns:repeat(4,1fr); } }
.premium-trust-item { padding:1.25rem 1rem; border-left:1px solid var(--line); }
.premium-trust-item:first-child { border-left:0; }
.premium-trust-label { display:block; font-family:var(--serif); font-size:1.45rem; color:var(--ink); }
.premium-trust-meta { display:block; margin-top:.15rem; color:var(--muted); font-size:.78rem; }

/* Generic page rhythm */
.band, .band-surface, .band-ink { position:relative; }
.band .wrap, .band-surface .wrap, .band-ink .wrap { padding-top: clamp(4rem,7vw,7rem); padding-bottom: clamp(4rem,7vw,7rem); }
.premium-section-head { display:flex; justify-content:space-between; gap:2rem; align-items:end; }
.premium-section-head .eyebrow { margin:0 0 .55rem; }
.premium-section-head p { max-width:34rem; margin:0; color:var(--ink-soft); }
.premium-lede { max-width:45rem; font-size:1.15rem; color:var(--ink-soft); }

/* Service cards */
.premium-services { display:grid; gap:1rem; margin-top:2.6rem; }
@media (min-width: 820px) { .premium-services { grid-template-columns:repeat(3,1fr); } }
.premium-service-card {
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:29rem;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:#fff;
  box-shadow:var(--shadow-sm);
  text-decoration:none;
  color:var(--ink);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.premium-service-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:#c8d7dd; color:var(--ink); }
.premium-service-image { height:11.5rem; overflow:hidden; }
.premium-service-image img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.premium-service-card:hover .premium-service-image img { transform:scale(1.035); }
.premium-service-body { padding:1.55rem 1.55rem 1.35rem; display:flex; flex:1; flex-direction:column; }
.premium-service-number { display:inline-flex; width:2.2rem; height:2.2rem; align-items:center; justify-content:center; border-radius:50%; background:#edf5fb; color:var(--brand-deep); font-size:.72rem; font-weight:800; }
.premium-service-body h3 { margin:1rem 0 0; }
.premium-service-body p { margin:.7rem 0 0; color:var(--ink-soft); font-size:.95rem; }
.premium-service-link { margin-top:auto; padding-top:1.2rem; display:flex; align-items:center; justify-content:space-between; font-size:.86rem; font-weight:800; color:var(--brand); }

/* Story / capability section */
.premium-feature { display:grid; gap:2.5rem; align-items:center; }
@media (min-width:1024px) { .premium-feature { grid-template-columns:1.02fr .98fr; gap:5.5rem; } }
.premium-feature-media { position:relative; }
.premium-feature-media img { width:100%; aspect-ratio:4/4.3; object-fit:cover; border-radius:var(--radius-lg); display:block; box-shadow:var(--shadow-md); }
.premium-floating-note { position:absolute; right:-1rem; bottom:-1rem; max-width:16rem; padding:1rem 1.1rem; background:var(--aqua); border-radius:18px; box-shadow:var(--shadow-md); color:var(--ink); }
.premium-floating-note strong { display:block; font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color:var(--aqua-deep); }
.premium-floating-note span { display:block; margin-top:.25rem; font-family:var(--serif); font-size:1.25rem; line-height:1.05; }
.premium-check-list { list-style:none; margin:1.8rem 0 0; padding:0; display:grid; gap:.9rem; }
.premium-check-list li { display:grid; grid-template-columns:1.4rem 1fr; gap:.75rem; color:var(--ink-soft); }
.premium-check-list li::before { content:'✓'; display:flex; align-items:center; justify-content:center; width:1.35rem; height:1.35rem; border-radius:50%; background:#e4f3ef; color:var(--aqua-deep); font-size:.75rem; font-weight:800; margin-top:.18rem; }

/* Audience / trust cards */
.premium-audience-grid { display:grid; gap:1rem; margin-top:2.5rem; }
@media (min-width:768px) { .premium-audience-grid { grid-template-columns:repeat(3,1fr); } }
.premium-audience-card { padding:1.5rem; border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; }
.premium-audience-card .num { width:2.2rem; height:2.2rem; display:flex; align-items:center; justify-content:center; border-radius:50%; background:#edf5fb; font-family:var(--sans); font-size:.72rem; font-weight:800; }
.premium-audience-card h3 { margin-top:1.1rem; }
.premium-audience-card p { margin:.55rem 0 0; color:var(--ink-soft); font-size:.93rem; }

/* Clinical principles */
.premium-principles { display:grid; gap:1px; margin-top:2.5rem; border:1px solid rgba(255,255,255,.12); border-radius:24px; overflow:hidden; background:rgba(255,255,255,.10); }
@media (min-width:768px) { .premium-principles { grid-template-columns:repeat(3,1fr); } }
.premium-principle { padding:1.5rem; background:rgba(255,255,255,.045); }
.premium-principle span { display:block; font-size:.75rem; font-weight:800; letter-spacing:.08em; color:#8fc8ff; text-transform:uppercase; }
.premium-principle h3 { color:#fff; margin-top:.85rem; }
.premium-principle p { margin:.55rem 0 0; color:rgba(247,251,250,.74); font-size:.9rem; }

/* Final call to action */
.premium-cta {
  margin:0 0 2rem;
  padding:clamp(2rem,4vw,3.25rem);
  border-radius:28px;
  background:var(--brand);
  color:#fff;
  box-shadow:var(--shadow-md);
}
.premium-cta .eyebrow { color:#cde8ff; }
.premium-cta h2 { color:#fff; max-width:12ch; }
.premium-cta p { max-width:42rem; color:rgba(255,255,255,.78); }
.premium-cta-row { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.5rem; }

/* Buttons */
.btn {
  min-height:3.15rem;
  padding:0 1.3rem;
  border-radius:999px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform:translateY(-1px); }
.btn-brand { background:var(--brand); color:#fff; box-shadow:0 10px 22px rgba(35,116,201,.18); }
.btn-brand:hover { background:var(--brand-deep); color:#fff; box-shadow:0 13px 28px rgba(35,116,201,.24); }
.btn-light { background:#fff; color:var(--ink); box-shadow:0 8px 20px rgba(0,0,0,.10); }
.btn-line-light { border-color:rgba(255,255,255,.35); color:#fff; }
.btn-ghost, .btn-ghost-plain { border-color:var(--line); background:#fff; color:var(--ink); }
.btn-link { border:0; }

/* Intro and all inner pages */
.intro { background:#fff; border-bottom:1px solid var(--line); }
.intro .wrap { padding-top:clamp(3rem,6vw,5rem); padding-bottom:clamp(3rem,6vw,5rem); }
.intro h1 { max-width: 18em; }
.lede { color:var(--ink-soft); max-width:44rem; font-size:1.12rem; }
.crumbs { font-size:.78rem; color:var(--muted); }
.card, .sticky-card, .refer-cards a, .form-ok, .role, .offer article, .pair {
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
}
.card { background:#fff; border-color:var(--line); }
.card:hover { box-shadow:var(--shadow-md); }
.sticky-card { background:#fff; }
.photo { border-radius:var(--radius-lg); }
.rule { border-color:var(--line); }
.rule-row { padding:1.7rem 0; border-color:var(--line); }
.who { gap:1rem; }
.who li { padding:1.05rem 0; border-top-color:var(--line); }
.who b { color:var(--brand); }

/* Contact */
.contact-grid { background:#fff; }
.contact-grid .wrap { padding-top:clamp(3rem,6vw,5.5rem); padding-bottom:clamp(3rem,6vw,5.5rem); }
.field input, .field select, .field textarea { background:#fbfcfc; border:1px solid #cfdadd; border-radius:14px; padding:.9rem .95rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline:0; border-color:var(--brand); box-shadow:0 0 0 4px rgba(35,116,201,.10); }

/* Footer */
.footer { background:#0c1d30; color:#dce8ef; }
.footer-grid { padding-top:4.5rem; padding-bottom:4.5rem; gap:3rem; }
.footer h2 { color:#88a2b4; }
.footer p, .footer address { color:rgba(220,232,239,.74); }
.footer a:hover { color:#fff; }
.badge { background:#fff; border-radius:14px; }
.legal { border-top-color:rgba(255,255,255,.10); }

/* Mobile */
@media (max-width: 1023px) {
  .header-tools { gap:.2rem; }
  .mobile-nav { background:#fff; padding:6rem 1rem 2rem; }
  .mobile-call { border-radius:999px; }
  .mobile-list { border-color:var(--line); }
  .mobile-list > li { border-color:var(--line); }
  .mobile-sub a { background:#f4f7f8; border-radius:14px; }
  .mobile-refer { border-radius:999px; background:var(--brand); color:#fff; border-color:var(--brand); }
}
@media (max-width: 767px) {
  body.dlight h1 { font-size:clamp(2.45rem,13vw,4rem); }
  .wrap { width:min(100% - 1.25rem, var(--max)); }
  .premium-hero-grid { padding-block:.65rem; }
  .premium-hero-copy { padding:3.25rem .65rem 1.75rem; }
  .premium-hero h1 { max-width:9ch; }
  .premium-hero-media img { min-height:20rem; border-radius:22px; }
  .premium-image-card { left:.75rem; bottom:.75rem; }
  .premium-feature { gap:2rem; }
  .premium-floating-note { right:.5rem; }
  .premium-cta { margin-bottom:1rem; border-radius:22px; }
  .premium-trust-item { padding:.95rem .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.8fr .85fr .95fr 1.1fr; }
}
body.dlight .dlight-search-sheet { background:#3070c8; color:#fff; border:0; border-radius:24px; padding:.65rem; box-shadow:var(--shadow-lg); }
body.dlight .dlight-search-head p, body.dlight .dlight-search-head button { color:#fff; }
body.dlight .dlight-search-head button { border-radius:999px; padding:.35rem .75rem; background:rgba(255,255,255,.14); color:#fff; }
body.dlight .dlight-search-field input[type="search"] { border:1px solid rgba(255,255,255,.4) !important; border-radius:14px !important; background:rgba(255,255,255,.12) !important; color:#fff !important; }
body.dlight .dlight-search-field input[type="search"]::placeholder { color:rgba(255,255,255,.7); }
body.dlight #search-results { border-top:1px solid rgba(255,255,255,.22); }
body.dlight #search-results a { color:#fff; }
body.dlight #search-results a:hover { background:rgba(255,255,255,.12); color:#fff; }
body.dlight #search-results strong { color:#fff; }
body.dlight #search-results span { color:rgba(255,255,255,.78); }
body.dlight #search-results .search-empty { color:rgba(255,255,255,.78); }

body.dlight,
body.dlight h1,
body.dlight h2,
body.dlight h3,
body.dlight h4,
body.dlight button,
body.dlight input,
body.dlight select,
body.dlight textarea {
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
}
body.dlight h1 { font-size: clamp(2.15rem, 4vw, 3.15rem); line-height: 1.08; }
body.dlight .premium-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); line-height: 1.02; color: #fff; }
body.dlight a.btn,
body.dlight a.nav-cta,
body.dlight a.mobile-refer {
  text-decoration: none;
}
body.dlight a.btn-brand,
body.dlight a.nav-cta,
body.dlight a.mobile-refer {
  background: #3070c8 !important;
  color: #fff !important;
  border-color: #3070c8 !important;
}
body.dlight a.btn-brand:hover,
body.dlight a.nav-cta:hover,
body.dlight a.mobile-refer:hover {
  background: #1e4e96 !important;
  color: #fff !important;
}
body.dlight a.btn-light,
body.dlight a.btn-light:hover {
  background: #fff !important;
  color: #1b2a4a !important;
  border-color: #fff !important;
}
body.dlight a.btn-line-light,
body.dlight a.btn-line-light:hover {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
}
body.dlight a.btn-ghost,
body.dlight a.btn-ghost-plain,
body.dlight a.btn-ghost:hover,
body.dlight a.btn-ghost-plain:hover {
  background: #fff !important;
  color: #1b2a4a !important;
  border-color: #d5dde3 !important;
}
body.dlight a.btn-link,
body.dlight a.btn-link:hover {
  background: transparent !important;
  color: #3070c8 !important;
  box-shadow: none !important;
}
body.dlight .dlight-place,
body.dlight .dlight-place p,
body.dlight a.dlight-phone {
  color: #fff !important;
}
body.dlight .dlight-kicker { color: rgba(255,255,255,.72) !important; }
body.dlight .dlight-address { color: rgba(255,255,255,.86) !important; }
body.dlight .footer a,
body.dlight .footer a:hover { color: inherit !important; }
body.dlight button.dlight-icon,
body.dlight .menu-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #1b2a4a !important;
}
body.dlight .drop-panel a,
body.dlight .drop-panel a strong,
body.dlight .drop-panel a:hover,
body.dlight .drop-panel a:hover strong {
  color: #fff !important;
}
body.dlight .drop-panel a span { color: rgba(255,255,255,.78) !important; }
