:root {
  --green-950: #033d33;
  --green-900: #064f40;
  --green-800: #075c49;
  --green-600: #198866;
  --green-100: #e9f5f0;
  --purple-900: #321244;
  --purple-700: #5b2674;
  --purple-500: #7c3c92;
  --gold-500: #d7aa3e;
  --gold-300: #f1d47e;
  --ink: #17231f;
  --muted: #5b6863;
  --cream: #fbfaf6;
  --white: #fff;
  --shadow: 0 24px 70px rgba(4, 55, 45, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: white; background: var(--purple-900); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { color: white; background: var(--green-950); font-size: .875rem; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-300); }
.topbar svg { width: 16px; height: 16px; }
.topbar .hours { margin-left: auto; color: #d8e6e1; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(7,92,73,.1); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 90px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 288px; }
.brand-emblem { width: 60px; height: 60px; flex: 0 0 auto; border: 2px solid var(--gold-500); border-radius: 50%; background-image: url("kingdom-logo.jpeg"); background-size: 360%; background-position: 50% 21%; box-shadow: 0 6px 20px rgba(50,18,68,.16); }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong, .footer-brand strong { color: var(--green-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; letter-spacing: .01em; }
.brand-copy span, .footer-brand span { color: var(--purple-700); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
#site-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-left: auto; }
#site-nav a { position: relative; padding: 30px 0; color: #30413b; font-size: .92rem; font-weight: 700; }
#site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 22px; height: 2px; background: var(--gold-500); transition: right .25s ease; }
#site-nav a:hover::after, #site-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; padding: 10px; background: transparent; border: 0; }
.menu-button > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--green-900); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; color: white; background: var(--purple-700); border: 2px solid var(--purple-700); border-radius: 999px; box-shadow: 0 10px 24px rgba(91,38,116,.18); font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: var(--purple-900); border-color: var(--purple-900); }
.button-small { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.button-outline { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.9); box-shadow: none; }
.button-outline:hover { color: var(--green-950); background: white; border-color: white; }
.button-light { color: var(--green-950); background: white; border-color: white; box-shadow: none; }
.button-light:hover { color: white; background: var(--purple-700); border-color: var(--purple-700); }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; background: var(--green-950); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; background-position: center; background-size: cover; transform: scale(1.035); transition: opacity 1s ease, transform 7s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide-care { background-image: url("hero-care.webp"); }
.hero-slide-walker { background-image: url("hero-walker.webp"); }
.hero-slide-family { background-image: url("hero-family.webp"); }
.hero-logo-watermark { position: absolute; z-index: 1; right: 4%; bottom: 84px; width: min(29vw, 390px); aspect-ratio: 1.5; opacity: .14; background: url("kingdom-logo.jpeg") center/contain no-repeat; filter: saturate(.78) brightness(1.18); pointer-events: none; }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(3,61,51,.98) 0%, rgba(3,61,51,.9) 35%, rgba(3,61,51,.34) 64%, rgba(3,61,51,.08) 100%); }
.hero::after { content: ""; position: absolute; z-index: 1; right: -90px; bottom: -155px; width: 480px; height: 240px; border: 2px solid rgba(241,212,126,.42); border-radius: 50%; transform: rotate(-8deg); }
.hero-content { position: relative; z-index: 2; padding-block: 90px; }
.hero-content > * { max-width: 660px; }
.eyebrow { margin: 0 0 14px; color: var(--green-600); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-light { color: var(--gold-300); }
.eyebrow-gold { color: var(--gold-300); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.08; }
h1 { color: white; font-size: clamp(3rem, 6vw, 5.25rem); letter-spacing: -.035em; }
h2 { color: var(--green-950); font-size: clamp(2.35rem, 4.5vw, 4rem); letter-spacing: -.025em; }
.hero-content > p:not(.eyebrow) { margin: 24px 0 32px; color: #eef7f3; font-size: 1.15rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 42px; display: flex; align-items: center; gap: 12px; }
.hero-arrow { width: 44px; height: 44px; display: grid; place-items: center; padding: 0 0 4px; color: white; background: rgba(3,61,51,.62); border: 1px solid rgba(255,255,255,.66); border-radius: 50%; font-family: Georgia, serif; font-size: 2rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s ease, transform .2s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--purple-700); transform: translateY(-2px); }
.hero-dots { display: flex; align-items: center; gap: 7px; padding: 11px 13px; background: rgba(3,61,51,.58); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; backdrop-filter: blur(8px); }
.hero-dot { width: 10px; height: 10px; padding: 0; background: rgba(255,255,255,.58); border: 0; border-radius: 999px; cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-dot.is-active { width: 28px; background: var(--gold-300); }
.hero-arrow:focus-visible, .hero-dot:focus-visible { outline: 3px solid white; outline-offset: 3px; }

.values { position: relative; z-index: 5; margin-top: -36px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; color: white; background: var(--purple-900); border-radius: 18px; box-shadow: var(--shadow); }
.values-grid > div { position: relative; min-height: 128px; display: grid; align-content: center; padding: 24px 24px 24px 62px; border-right: 1px solid rgba(255,255,255,.15); }
.values-grid > div:last-child { border-right: 0; }
.values-grid span { position: absolute; left: 18px; top: 22px; color: var(--gold-300); font-family: Georgia, serif; font-size: 1.35rem; }
.values-grid strong { font-size: 1.05rem; }
.values-grid small { color: #d8cce0; font-size: .83rem; }

.section { padding: 112px 0; }
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; min-height: 590px; }
.about-color-block { position: absolute; inset: 36px 38px 0 0; border-radius: var(--radius); background: linear-gradient(145deg, var(--green-800), var(--purple-900)); }
.about-visual img { position: absolute; inset: 0 0 58px 46px; width: calc(100% - 46px); height: calc(100% - 58px); object-fit: cover; object-position: 63% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.experience-card { position: absolute; right: -18px; bottom: 0; display: flex; align-items: center; gap: 13px; padding: 20px 24px; color: var(--green-950); background: white; border-left: 5px solid var(--gold-500); border-radius: 14px; box-shadow: var(--shadow); font-weight: 800; line-height: 1.25; }
.experience-card svg { width: 34px; color: var(--purple-700); }
.about-copy .lead { margin: 25px 0 16px; color: var(--ink); font-size: 1.13rem; font-weight: 600; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 25px; }
.mission-grid article { padding: 21px; background: white; border-top: 3px solid var(--gold-500); border-radius: 12px; box-shadow: 0 10px 30px rgba(4,55,45,.08); }
.mission-grid h3 { margin: 0 0 8px; color: var(--purple-700); font-size: 1.02rem; }
.mission-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.text-link, .service-card > a { color: var(--purple-700); font-weight: 900; }
.text-link span, .service-card > a span { display: inline-block; margin-left: 6px; color: var(--gold-500); transition: transform .2s ease; }
.text-link:hover span, .service-card > a:hover span { transform: translateX(5px); }

.scope-band { padding: 74px 0; color: white; background: var(--green-900); }
.scope-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px 70px; align-items: end; }
.scope-grid h2 { max-width: 520px; color: white; font-size: clamp(2.35rem, 4vw, 3.6rem); }
.scope-grid > p { margin: 0; color: #dcece6; font-size: 1.06rem; }
.scope-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 10px; }
.scope-steps span { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; font-weight: 750; }
.scope-steps b { display: grid; width: 32px; height: 32px; place-items: center; color: var(--green-950); background: var(--gold-300); border-radius: 50%; }

.services { background: white; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 46px; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card { position: relative; overflow: hidden; min-height: 470px; display: flex; flex-direction: column; padding: 42px; color: white; border-radius: var(--radius); }
.service-card::after { content: ""; position: absolute; right: -48px; bottom: -60px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.service-card-nursing { background: linear-gradient(145deg, var(--green-800), var(--green-950)); }
.service-card-aide { background: linear-gradient(145deg, var(--purple-700), var(--purple-900)); }
.service-number { position: absolute; top: 28px; right: 32px; color: rgba(255,255,255,.18); font-family: Georgia, serif; font-size: 4.6rem; line-height: 1; }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--green-950); background: var(--gold-300); border-radius: 17px; }
.service-icon svg { width: 32px; height: 32px; stroke-width: 2.2; }
.service-card h3 { position: relative; margin: 28px 0 12px; font-family: Georgia, serif; font-size: 2.1rem; line-height: 1.2; }
.service-card p { position: relative; margin: 0; color: rgba(255,255,255,.8); }
.service-card ul { position: relative; display: grid; gap: 8px; margin: 22px 0 30px; padding: 0; list-style: none; }
.service-card li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 11px; vertical-align: 2px; background: var(--gold-300); border-radius: 50%; }
.service-card > a { position: relative; z-index: 2; margin-top: auto; color: white; }

.service-area { padding: 70px 0; color: white; background: var(--purple-900); }
.service-area-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 44px; align-items: center; }
.service-area h2 { color: white; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.service-area p { margin: 0; color: #dfd1e5; }

.contact { background: linear-gradient(120deg, var(--green-100), #f7f2fa); }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.contact-list { display: grid; gap: 13px; margin-top: 34px; }
.contact-list > * { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(7,92,73,.13); }
.contact-list a:hover strong { color: var(--purple-700); }
.contact-icon { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green-800); border-radius: 13px; }
.contact-icon svg { width: 23px; height: 23px; }
.contact-list span:last-child { display: grid; min-width: 0; }
.contact-list small { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-list strong { overflow-wrap: anywhere; }
.contact-form { padding: 36px; background: white; border-top: 6px solid var(--gold-500); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-heading h3 { margin: 0 0 22px; color: var(--green-950); font-family: Georgia, serif; font-size: 2rem; }
.contact-form label { display: block; margin: 13px 0 6px; font-size: .88rem; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: #fbfcfb; border: 1px solid #c9d6d1; border-radius: 9px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--purple-500); box-shadow: 0 0 0 3px rgba(124,60,146,.12); }
.privacy-note { margin: 10px 0 18px; color: var(--muted); font-size: .78rem; }
.form-status { min-height: 1.6em; margin-bottom: 0; color: var(--green-800); font-size: .9rem; font-weight: 700; }

footer { padding: 54px 0 24px; color: white; background: var(--green-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand > div { display: grid; line-height: 1.1; }
.footer-brand strong { color: white; }
.footer-brand span { color: var(--gold-300); }
.footer-grid > p { color: #cfe1da; }
.footer-links { display: flex; gap: 22px; font-weight: 700; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 20px; color: #a9c2b9; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom a:hover { color: white; }
.floating-call { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; display: grid; place-items: center; color: var(--green-950); background: var(--gold-300); border: 3px solid white; border-radius: 50%; box-shadow: 0 12px 30px rgba(3,61,51,.28); transition: transform .2s ease; }
.floating-call:hover { transform: translateY(-3px) scale(1.03); }
.floating-call svg { width: 25px; height: 25px; }

@media (max-width: 1050px) {
  .nav-call { display: none; }
  #site-nav { gap: 18px; }
  .about-grid { gap: 55px; }
  .service-area-grid { grid-template-columns: 1fr 1fr; }
  .service-area-grid .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  .topbar-email, .topbar .hours { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-wrap { min-height: 78px; }
  .brand { min-width: 0; }
  .brand-emblem { width: 50px; height: 50px; }
  .menu-button { display: block; margin-left: auto; }
  #site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 10px 20px 24px; background: white; border-bottom: 1px solid #dfe8e5; box-shadow: 0 20px 35px rgba(3,61,51,.12); }
  #site-nav.open { display: grid; }
  #site-nav a { padding: 11px 0; }
  #site-nav a::after { bottom: 6px; }
  .hero { min-height: 620px; }
  .hero-slide { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,61,51,.97), rgba(3,61,51,.84) 70%, rgba(3,61,51,.48)); }
  .hero-logo-watermark { width: min(42vw, 320px); opacity: .1; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .values-grid > div { border-bottom: 1px solid rgba(255,255,255,.15); }
  .about-grid, .contact-grid, .scope-grid, .section-heading { grid-template-columns: 1fr; }
  .about-grid { gap: 55px; }
  .about-visual { max-width: 600px; min-height: 520px; }
  .scope-grid { align-items: start; }
  .scope-steps { grid-column: auto; }
  .section-heading { gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-copy strong { font-size: 1.02rem; }
  .brand-copy span { font-size: .62rem; }
  .hero { min-height: 640px; }
  .hero-content { padding-block: 72px; }
  .hero-controls { left: 14px; right: 14px; bottom: 20px; justify-content: center; }
  .hero-logo-watermark { right: 50%; bottom: 105px; width: 260px; opacity: .08; transform: translateX(50%); }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-content > p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions { display: grid; }
  .values { margin-top: 0; }
  .values-grid { width: 100%; grid-template-columns: 1fr; border-radius: 0; }
  .values-grid > div { min-height: 110px; border-right: 0; }
  .section { padding: 82px 0; }
  .about-visual { min-height: 430px; }
  .about-color-block { inset: 24px 20px 0 0; }
  .about-visual img { inset: 0 0 52px 24px; width: calc(100% - 24px); height: calc(100% - 52px); }
  .experience-card { right: -2px; padding: 15px 17px; font-size: .88rem; }
  .mission-grid, .scope-steps, .service-area-grid { grid-template-columns: 1fr; }
  .scope-steps { gap: 10px; }
  .service-card { min-height: 460px; padding: 30px; }
  .service-card h3 { font-size: 1.8rem; }
  .service-area-grid { gap: 22px; }
  .service-area-grid .button { grid-column: auto; }
  .contact-form { padding: 26px 20px; }
  .contact-list strong { font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-column: auto; }
  .footer-bottom { display: grid; }
  .floating-call { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero-slide { transform: none; }
}
