/* Heaven Sent Home Care — white, blue & a little yellow */
:root {
  --blue: #1f5fa8;
  --blue-dark: #164577;
  --blue-light: #e9f2fc;
  --yellow: #f6c344;
  --yellow-soft: #fff6dc;
  --white: #ffffff;
  --text: #22324a;
  --muted: #5d6b80;
  --border: #d9e4f2;
  --danger: #c0392b;
  --success: #2e8b57;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 95, 168, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: var(--blue); }
img { max-width: 100%; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--blue-dark); text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: var(--yellow);
  display: grid; place-items: center; font-size: 1.2rem;
}
.nav-links { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--blue); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  padding: 11px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none;
  transition: transform .1s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-yellow { background: var(--yellow); color: var(--blue-dark); }
.btn-yellow:hover { background: #eab52c; }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-sm { padding: 6px 14px; font-size: .9rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
  padding: 80px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 16px; color: var(--blue-dark); }
.hero h1 span { background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card {
  background: var(--white); border-radius: 24px; padding: 32px;
  box-shadow: var(--shadow); border-top: 6px solid var(--yellow);
}
.hero-card h3 { margin-top: 0; color: var(--blue-dark); }
.hero-card ul { padding-left: 0; list-style: none; margin: 0; }
.hero-card li { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.hero-card li:last-child { border-bottom: 0; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; margin: 0 0 8px; color: var(--blue-dark); }
.section-title p { color: var(--muted); margin: 0; }
.alt-bg { background: var(--blue-light); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--yellow-soft); display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 12px;
}
.card h3 { margin: 0 0 6px; color: var(--blue-dark); }
.card p { margin: 0; color: var(--muted); }

/* Updates */
.update {
  background: var(--white); border-left: 5px solid var(--yellow);
  border-radius: 10px; padding: 18px 20px; margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.update h4 { margin: 0 0 4px; color: var(--blue-dark); }
.update small { color: var(--muted); }
.update p { margin: 8px 0 0; }

/* Contact / location */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-item { display: flex; gap: 14px; margin-bottom: 18px; }
.info-item .icon { font-size: 1.4rem; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--blue); color: var(--yellow); display: grid; place-items: center; }
.map-frame { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
input, select, textarea {
  width: 100%; padding: 11px 14px; font: inherit;
  border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
textarea { min-height: 110px; resize: vertical; }

.msg { padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; display: none; }
.msg.show { display: block; }
.msg.error { background: #fdecea; color: var(--danger); }
.msg.ok { background: #e8f6ee; color: var(--success); }
.msg.info { background: var(--yellow-soft); color: #7a5a00; }

/* ---------- Auth page ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue-light), #fff 60%, var(--yellow-soft)); padding: 24px 16px; }
.auth-box { width: min(460px, 100%); background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.auth-box .logo { justify-content: center; margin-bottom: 18px; }
.tabs { display: flex; background: var(--blue-light); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.tab { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; }
.tab.active { background: var(--blue); color: #fff; }
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.role-picker input { display: none; }
.role-picker label {
  text-align: center; border: 2px solid var(--border); border-radius: 12px;
  padding: 10px 4px; cursor: pointer; font-size: .9rem; margin: 0;
}
.role-picker label span { display: block; font-size: 1.4rem; }
.role-picker input:checked + label { border-color: var(--blue); background: var(--blue-light); color: var(--blue-dark); }
.link-btn { background: none; border: 0; color: var(--blue); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.hidden { display: none !important; }

/* ---------- Dashboard ---------- */
.dash-header { background: var(--blue); color: #fff; }
.dash-header .logo { color: #fff; }
.dash-header .logo-mark { background: var(--yellow); color: var(--blue-dark); }
.dash-user { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; text-transform: capitalize; }
.badge-admin { background: var(--yellow); color: var(--blue-dark); }
.badge-caregiver { background: #d6f0e0; color: #1d6b43; }
.badge-patient { background: var(--blue-light); color: var(--blue-dark); }
.badge-pending { background: #fdecea; color: var(--danger); }
.dash-main { padding: 32px 0 64px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel h3 { margin-top: 0; color: var(--blue-dark); border-bottom: 3px solid var(--yellow); display: inline-block; padding-bottom: 2px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.list .meta { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); font-size: .95rem; }
th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
td select { padding: 6px 8px; width: auto; }
.empty { color: var(--muted); font-style: italic; }
.welcome { background: var(--yellow-soft); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #dce8f7; padding: 36px 0; text-align: center; }
.site-footer a { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Brand logo & hiring ---------- */
.logo-badge {
  background: #0b1a33; border-radius: 12px; padding: 5px 8px;
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(11,26,51,.25);
}
.logo-badge img { height: 34px; width: auto; display: block; }
.logo small { display: block; font-size: .72rem; font-weight: 700; color: #b8860b; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.logo > span:last-child { line-height: 1.15; }
.dash-header .logo small { color: var(--yellow); }
.auth-box .logo { text-align: left; }
.hiring { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hiring h2 { font-size: 2rem; color: var(--blue-dark); margin: 10px 0; }
.hiring p { color: var(--muted); }
.pill { display: inline-block; background: var(--yellow); color: var(--blue-dark); font-weight: 800; padding: 4px 14px; border-radius: 999px; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.flyer { width: 100%; max-width: 320px; justify-self: center; border-radius: 18px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .hiring { grid-template-columns: 1fr; } }

/* =================================================================
   Photos & design refresh
   ================================================================= */
.eyebrow { display: inline-block; color: var(--blue); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 6px; }
.eyebrow::before { content: "✦ "; color: var(--yellow); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 110px; }
.hero-blob { position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(246,195,68,.35), rgba(246,195,68,0) 70%); }
.hero .pill { margin-bottom: 14px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--blue-dark); font-weight: 700; font-size: .95rem; }
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 200px 200px 28px 28px; box-shadow: 0 20px 50px rgba(22,69,119,.25); border: 6px solid #fff; background: var(--blue-light); }
.float-card { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.float-card span { font-size: 1.5rem; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow-soft); }
.float-card strong { display: block; color: var(--blue-dark); line-height: 1.2; }
.float-card small { color: var(--muted); }
.float-top { top: 30px; left: -30px; }
.float-bottom { bottom: 28px; right: -20px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; }

/* Photo service cards */
.photo-card { padding: 0; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.photo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(31,95,168,.18); }
.photo-card > img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--blue-light); }
.photo-card .card-body { padding: 0 22px 24px; position: relative; }
.photo-card .icon { margin-top: -26px; position: relative; background: var(--yellow); box-shadow: 0 4px 12px rgba(0,0,0,.12); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid h2 { font-size: 2.1rem; color: var(--blue-dark); margin: 0 0 12px; }
.about-grid p { color: var(--muted); }
.about-photo { position: relative; }
.about-photo > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); background: #dfe9f6; }
.about-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 28px; border: 3px dashed var(--yellow); z-index: -1; }
.about-photo { z-index: 0; }
.about-badge { position: absolute; left: 20px; bottom: -26px; display: flex; align-items: center; gap: 12px; background: #0b1a33; color: #fff; padding: 12px 18px; border-radius: 16px; font-weight: 700; line-height: 1.25; box-shadow: var(--shadow); }
.about-badge img { height: 34px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 26px; }
.check-list li { padding: 7px 0 7px 34px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: var(--yellow); display: grid; place-items: center; font-weight: 900; font-size: .8rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; border-top: 3px dashed var(--border); }
.step { text-align: center; position: relative; padding: 0 10px; }
.step-num { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.6rem; font-weight: 800; display: grid; place-items: center; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--yellow); }
.step h3 { color: var(--blue-dark); margin: 0 0 6px; }
.step p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background-size: cover; background-position: center; color: #fff; padding: 84px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 8px; }
.cta-band p { color: #dce8f7; margin: 0 0 26px; font-size: 1.1rem; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--yellow-soft); }

/* Careers background accent */
.careers { background: linear-gradient(135deg, #fff 55%, var(--yellow-soft)); }

/* Footer */
.site-footer { text-align: left; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: var(--yellow); }
.site-footer h4 { color: var(--yellow); margin: 0 0 10px; }
.footer-grid > div:not(:first-child) a { display: block; color: #dce8f7; text-decoration: none; padding: 3px 0; }
.footer-grid > div:not(:first-child) a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .9rem; color: #a9bfdc; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } }

@media (max-width: 860px) {
  .about-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .hero-photo { max-width: 440px; margin: 10px auto 0; }
  .float-top { left: -6px; } .float-bottom { right: -6px; }
  .about-photo::before { inset: 14px -10px -14px 14px; }
}
.hero-photo > img, .about-photo > img { display: block; }

/* =================================================================
   Modern refresh
   ================================================================= */
:root {
  --blue: #1d5fd1;
  --blue-dark: #0f2a52;
  --blue-light: #eef4fe;
  --yellow: #ffc83d;
  --yellow-soft: #fff7e0;
  --text: #0f2a52;
  --muted: #5b6b85;
  --border: #e3eaf5;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15,42,82,.04), 0 12px 32px rgba(15,42,82,.08);
}
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.025em; }

/* Glass nav */
.site-header { background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(227,234,245,.8); }
.nav-links a { font-weight: 600; font-size: .95rem; color: #3b4c68; }

/* Buttons */
.btn { padding: 13px 24px; border-radius: 14px; font-weight: 700; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { box-shadow: 0 8px 20px rgba(29,95,209,.28); }
.btn-yellow { box-shadow: 0 8px 20px rgba(255,200,61,.4); }
.btn-outline { border: 1.5px solid var(--border); background: #fff; color: var(--blue-dark); }
.btn-outline:hover { border-color: var(--blue); background: #fff; }
.btn-sm { padding: 8px 16px; border-radius: 10px; }
.btn-icon { display: inline-flex; align-items: center; gap: 8px; }
.btn-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pills / eyebrow */
.pill { background: var(--yellow-soft); color: #8a6200; border: 1px solid #ffe7a3; text-transform: none; letter-spacing: 0; font-weight: 700; padding: 6px 14px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 3px; background: var(--yellow); vertical-align: middle; margin-right: 8px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #dfeaff 0%, transparent 60%), linear-gradient(180deg, #f7faff 0%, #fff 100%); padding: 80px 0 120px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.hero h1 span { background: none; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--yellow); border-radius: 6px; z-index: -1; opacity: .9; }
.hero h1 { position: relative; z-index: 0; }
.hero p { font-size: 1.15rem; max-width: 520px; }
.hero-blob { display: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #3b4c68; font-weight: 600; }
.hero-points svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-photo > img { border-radius: 32px; aspect-ratio: 4 / 4.2; border: 0; box-shadow: 0 30px 60px rgba(15,42,82,.18); }
.hero-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 36px; background: linear-gradient(135deg, var(--yellow) 0%, #ffe08a 100%); z-index: -1; }
.hero-photo { z-index: 0; }
.float-card { border: 1px solid var(--border); border-radius: 16px; backdrop-filter: blur(8px); background: rgba(255,255,255,.92); }
.ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blue-light); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-card .ico { width: 42px; height: 42px; background: var(--yellow-soft); }
.float-card .ico svg { stroke: #b07d00; }

/* Section titles */
section { padding: 88px 0; }
.section-title h2, .about-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--blue-dark); }
.alt-bg { background: #f6f9fe; }

/* Service cards */
.service-cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.svc { padding: 28px; border-radius: 22px; border: 1px solid var(--border); box-shadow: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc .ico { margin-bottom: 18px; width: 54px; height: 54px; border-radius: 16px; }
.svc:nth-child(even) .ico { background: var(--yellow-soft); }
.svc:nth-child(even) .ico svg { stroke: #b07d00; }
.svc h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* About */
.about-photo > img { border-radius: 32px; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px rgba(15,42,82,.15); }
.about-photo::before { border: 0; background: var(--blue); inset: 26px -18px -18px 26px; border-radius: 34px; opacity: .1; }
.about-badge { border-radius: 18px; background: var(--blue-dark); }
.check-list li::before { background: var(--blue-light); color: var(--blue); }

/* Steps */
.step { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 30px 22px; }
.steps::before { display: none; }
.step-num { width: 52px; height: 52px; font-size: 1.2rem; border: 0; box-shadow: none; background: var(--blue); border-radius: 16px; }
.step:nth-child(2) .step-num { background: var(--yellow); color: var(--blue-dark); }

/* CTA band (no photo) */
.cta-band { margin: 0 16px; border-radius: 32px; background: radial-gradient(600px 300px at 90% 0%, rgba(255,200,61,.35), transparent 60%), linear-gradient(135deg, #0f2a52 0%, #1d5fd1 100%); padding: 80px 0; }
@media (min-width: 1152px) { .cta-band { max-width: 1120px; margin: 0 auto; } }

/* Careers / contact */
.careers { background: #fff; }
.flyer { border-radius: 24px; }
.info-item .icon { background: var(--blue-light); width: 48px; height: 48px; border-radius: 14px; }
.info-item .icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card { border-radius: 22px; }
input, select, textarea { border-radius: 12px; background: #fbfcfe; }
.update { border-left: 0; border: 1px solid var(--border); border-radius: 18px; box-shadow: none; position: relative; padding-left: 26px; }
.update::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--yellow); }

/* Footer */
.site-footer { background: var(--blue-dark); margin-top: 88px; }

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 90px; }
  .hero-photo::before { inset: -10px 10px 10px -10px; }
}
html, body { overflow-x: clip; }

.hire-card{justify-self:center;width:100%;max-width:320px;background:#0b1a33;border-radius:24px;padding:30px 24px;text-align:center;color:#fff;box-shadow:0 24px 50px rgba(15,42,82,.3);}.hire-title{font-size:2.6rem;font-weight:800;line-height:1;color:#ffc83d;text-shadow:0 0 12px rgba(255,200,61,.6);letter-spacing:.02em;}.hire-card img{width:180px;margin:16px auto 4px;display:block;}.hire-name{font-family:"Brush Script MT","Segoe Script",cursive;font-size:2.3rem;color:#4da3ff;text-shadow:0 0 10px rgba(77,163,255,.6);line-height:1.1;}.hire-sub{color:#ffc83d;letter-spacing:.15em;font-size:.85rem;margin-top:4px;}.hire-card p{margin:16px 0 12px;font-weight:700;font-size:.95rem;color:#dce8f7;}.hire-num{display:block;border:2px solid #4da3ff;border-radius:14px;padding:10px;font-size:1.7rem;font-weight:800;color:#ffc83d;text-decoration:none;box-shadow:0 0 14px rgba(77,163,255,.5);}
section{padding:56px 0;}.section-title{margin-bottom:28px;}.section-title h2,.about-grid h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:6px;}
.hero{padding:48px 0 72px;}.hero h1{font-size:clamp(2.1rem,4.4vw,3.3rem);margin-bottom:12px;}.hero p{font-size:1.05rem;margin-bottom:20px;}.hero-points{margin-top:18px;}.hero-photo>img{aspect-ratio:4 / 3.3;}.wave{height:50px;}
.svc{padding:20px;}.svc .ico{width:46px;height:46px;margin-bottom:12px;}.svc h3{font-size:1.05rem;margin-bottom:4px;}.svc p{font-size:.92rem;}
.about-grid{gap:40px;}.about-photo>img{aspect-ratio:4 / 3.4;}.check-list{margin:12px 0 18px;}.check-list li{padding:4px 0 4px 32px;}.check-list li::before{top:5px;}
.step{padding:20px 18px;}.step-num{width:44px;height:44px;margin-bottom:10px;}
.cta-band{padding:44px 0;}.cta-band p{margin-bottom:18px;}
.careers{padding:48px 0;}.hiring{gap:28px;}.hire-card{padding:22px 20px;max-width:280px;}.hire-title{font-size:2.1rem;}.hire-card img{width:140px;margin:10px auto 2px;}.hire-name{font-size:1.9rem;}.hire-card p{margin:10px 0 8px;}.hire-num{font-size:1.4rem;padding:8px;}
.info-item{margin-bottom:12px;}.map-frame{height:200px;}.form-group{margin-bottom:10px;}textarea{min-height:80px;}
.site-footer{margin-top:56px;padding:32px 0 18px;}.footer-bottom{margin-top:18px;padding-top:12px;}
@media (max-width:860px){
section{padding:40px 0;}.hero{padding:32px 0 56px;}.hero-photo{max-width:360px;}.hero-photo>img{aspect-ratio:4 / 3;}.float-card{padding:8px 12px;}.float-card .ico{width:34px;height:34px;}.float-top{top:14px;}.float-bottom{bottom:14px;}
.service-cards{grid-template-columns:1fr 1fr;gap:12px;}.svc{padding:16px;}.svc .ico{width:40px;height:40px;margin-bottom:8px;}.svc .ico svg{width:20px;height:20px;}.svc h3{font-size:.95rem;}.svc p{font-size:.85rem;line-height:1.45;}
.about-grid{gap:36px;}.about-photo{max-width:380px;margin:0 auto;}.about-photo>img{aspect-ratio:4 / 3;}
.steps{gap:10px;}.step{display:grid;grid-template-columns:44px 1fr;column-gap:14px;text-align:left;align-items:center;padding:14px 16px;}.step-num{grid-row:span 2;margin:0;}.step h3{font-size:1rem;margin:0;}.step p{font-size:.88rem;}
.cta-band{padding:36px 0;margin:0 12px;}.hiring{gap:20px;}.contact-grid{gap:20px;}.map-frame{height:170px;}
.footer-grid{grid-template-columns:1fr 1fr;gap:18px;}.footer-grid>div:first-child{grid-column:1 / -1;}.site-footer{margin-top:40px;}
}

.combo{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:start;}.combo h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--blue-dark);margin:4px 0 12px;}.combo-about p{color:var(--muted);margin:0 0 18px;}.combo .about-photo{margin-bottom:46px;max-width:none;}.combo .about-photo>img{aspect-ratio:16 / 10;}.combo .service-cards{grid-template-columns:1fr 1fr;}
@media (max-width:860px){.combo{grid-template-columns:1fr;gap:36px;}.combo .about-photo>img{aspect-ratio:16 / 9;}}
.apply-page{background:#f6f9fe;}.apply-wrap{padding:32px 0 56px;max-width:920px;}
.apply-head{text-align:center;margin-bottom:22px;}.apply-head h1{font-size:clamp(1.8rem,4vw,2.5rem);color:var(--blue-dark);margin:10px 0 6px;}.apply-head p{margin:2px 0;color:var(--muted);}
.stepper{list-style:none;display:flex;gap:6px;padding:0;margin:0 0 18px;overflow-x:auto;}
.stepper li{flex:1;min-width:92px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.75rem;color:var(--muted);text-align:center;position:relative;}
.stepper li span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--border);font-weight:800;color:var(--muted);}
.stepper li em{font-style:normal;font-weight:600;line-height:1.2;}
.stepper li.active span{background:var(--blue);border-color:var(--blue);color:#fff;}.stepper li.active{color:var(--blue-dark);}
.stepper li.done span{background:var(--yellow);border-color:var(--yellow);color:var(--blue-dark);}
.apply-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:26px;box-shadow:var(--shadow);}
.sec+.sec{margin-top:26px;padding-top:22px;border-top:1px solid var(--border);}
.sec h2{font-size:1.2rem;color:var(--blue-dark);margin:0 0 4px;}.sec>.meta{margin:0 0 10px;color:var(--muted);font-size:.9rem;}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 14px;margin-top:10px;}
.fg{display:flex;flex-direction:column;}.fg.w2{grid-column:span 2;}.fg.w4{grid-column:span 4;}
.fg label,.fg .lbl{font-size:.85rem;font-weight:700;margin-bottom:5px;color:#3b4c68;}
.fg input,.fg select,.fg textarea{padding:10px 12px;}.req{color:#c0392b;}
.fg.invalid input,.fg.invalid select,.fg.invalid textarea{border-color:#c0392b;background:#fff6f5;}.fg.invalid .yn{outline:2px solid #c0392b;border-radius:10px;}
.agree.invalid{color:#c0392b;}
.yn{display:flex;gap:10px;padding:2px;}.yn label{display:flex;align-items:center;gap:6px;border:1.5px solid var(--border);border-radius:10px;padding:8px 14px;cursor:pointer;font-weight:600;margin:0;}
.yn input{width:auto;}.yn label:has(input:checked){border-color:var(--blue);background:var(--blue-light);color:var(--blue-dark);}
.apply-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border);}
.policy-list{display:flex;flex-direction:column;gap:8px;margin-top:10px;}
.policy{border:1px solid var(--border);border-radius:14px;background:#fbfcfe;}
.policy summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:12px 14px;font-weight:700;color:var(--blue-dark);}
.policy summary::-webkit-details-marker{display:none;}
.pnum{width:26px;height:26px;flex:none;border-radius:8px;background:var(--blue-light);color:var(--blue);display:grid;place-items:center;font-size:.8rem;}
.pstat{margin-left:auto;font-size:.75rem;font-weight:700;color:var(--muted);white-space:nowrap;}.pstat.ok{color:#2e8b57;}
.policy-body{max-height:300px;overflow:auto;padding:4px 16px;margin:0 14px;background:#fff;border:1px solid var(--border);border-radius:10px;font-size:.9rem;color:#33415a;}
.policy-body ul,.policy-body ol{padding-left:20px;}
.agree{display:flex;gap:10px;align-items:flex-start;font-weight:600;padding:12px 14px;cursor:pointer;font-size:.92rem;}
.agree input{width:18px;height:18px;flex:none;margin-top:2px;accent-color:var(--blue);}
.agree.all{background:var(--yellow-soft);border-radius:12px;margin-top:10px;}
.sig-input{font-family:"Segoe Script","Brush Script MT",cursive;font-size:1.35rem;}
.done{text-align:center;}.done-icon{width:64px;height:64px;border-radius:50%;background:#e8f6ee;color:#2e8b57;display:grid;place-items:center;font-size:2rem;font-weight:800;margin:0 auto 10px;}
.done h2{color:var(--blue-dark);margin:0 0 8px;}.done p{color:var(--muted);}
@media (max-width:700px){.grid4{grid-template-columns:1fr 1fr;}.fg.w2,.fg.w4{grid-column:span 2;}.apply-card{padding:18px;}.stepper li em{display:none;}.stepper li{min-width:34px;}}
/* admin application viewer */
.modal{position:fixed;inset:0;background:rgba(15,42,82,.5);display:flex;align-items:flex-start;justify-content:center;padding:24px 12px;z-index:50;overflow:auto;}
.modal-box{background:#fff;border-radius:20px;max-width:860px;width:100%;padding:24px;position:relative;}
.modal-close{position:absolute;top:12px;right:12px;}
.app-view h3{margin:20px 0 8px;color:var(--blue-dark);border-bottom:3px solid var(--yellow);display:inline-block;}
.app-view dl{display:grid;grid-template-columns:minmax(140px,240px) 1fr;gap:6px 14px;margin:0;font-size:.92rem;}
.app-view dt{color:var(--muted);font-weight:600;}.app-view dd{margin:0;white-space:pre-wrap;}
.status-new{background:var(--yellow);color:var(--blue-dark);}.status-reviewed{background:var(--blue-light);color:var(--blue-dark);}.status-hired{background:#d6f0e0;color:#1d6b43;}.status-rejected{background:#fdecea;color:#c0392b;}
@media print{body *{visibility:hidden;}.modal,.modal *{visibility:visible;}.modal{position:absolute;background:#fff;padding:0;}.modal-close,.no-print{display:none!important;}}
.apply-page .footer-bottom{text-align:center;}
