/* =========================================================
   CareS Health Services — main stylesheet
   Brand colours come straight from the CareS logo:
   navy #012f6b · cyan #029bf9
   ========================================================= */
:root {
  --navy-950: #00163a;
  --navy-900: #011f4b;
  --navy:     #012f6b;   /* logo navy */
  --navy-600: #1d4b8f;
  --cyan:     #029bf9;   /* logo cyan — decorative / large elements */
  --cyan-700: #006fbf;   /* cyan dark enough for text on white (AA) */
  --cyan-300: #7cc8ff;
  --sky-100:  #dcefff;
  --sky-50:   #f2f8ff;
  --ink:      #0e1d36;
  --muted:    #4a5a72;
  --line:     #dbe5f1;
  --white:    #fff;
  --danger:   #b3261e;
  --success:  #137a45;
  --radius:   16px;
  --radius-lg:28px;
  --shadow:   0 1px 2px rgba(1,47,107,.06), 0 8px 24px rgba(1,47,107,.08);
  --shadow-lg:0 24px 60px rgba(1,47,107,.16);
  --font-head:'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs: 17px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after { box-sizing: border-box; }
html { font-size: var(--fs); scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--cyan-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255,255,255,.75); }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: var(--navy-950); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .82em 1.45em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; box-shadow: 0 10px 24px rgba(1,47,107,.25); }
.btn-accent { background: var(--cyan); color: var(--navy-950); }
.btn-accent:hover { background: #33b0ff; color: var(--navy-950); box-shadow: 0 10px 24px rgba(2,155,249,.35); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-lg { padding: 1em 1.8em; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #dce8f7; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--cyan-300); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-left > *, .topbar-link { display: inline-flex; gap: 6px; align-items: center; }
.topbar .icon { color: var(--cyan); }
.textsize { display: flex; align-items: center; gap: 4px; }
.textsize span { margin-right: 4px; opacity: .8; }
.textsize button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 6px; padding: 2px 8px; cursor: pointer; font: inherit; font-weight: 600; }
.textsize button:hover { background: rgba(255,255,255,.2); }

/* ---------- Header ---------- */
.site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(1,47,107,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; transition: min-height .25s; }
.site-header.scrolled .header-inner { min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand-word { width: 116px; height: auto; }
.brand-text small { font-family: var(--font-head); font-size: .66rem; font-weight: 600; color: var(--cyan-700); letter-spacing: .22em; text-transform: uppercase; padding-left: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav ul a { position: relative; display: block; padding: 8px 13px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav ul a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav ul a:hover { color: var(--navy); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-actions .btn { padding: .7em 1.2em; font-size: .95rem; }
.topbar-charity { opacity: .85; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Signature "embrace" arc (from the logo) ---------- */
.arc-frame { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; margin: 0 auto; }
.arc-frame::before { /* cyan crescent, like the logo */
  content: ""; position: absolute; inset: -4%; border-radius: 50%;
  border: 14px solid transparent; border-left-color: var(--cyan); border-top-color: var(--cyan);
  transform: rotate(-20deg); animation: arc-in 1.1s var(--ease) both .2s; }
.arc-frame::after { /* navy embrace underneath */
  content: ""; position: absolute; inset: -9%; border-radius: 50%;
  border: 18px solid transparent; border-bottom-color: var(--navy); border-right-color: var(--navy);
  transform: rotate(-12deg); animation: arc-in 1.1s var(--ease) both .35s; }
@keyframes arc-in { from { opacity: 0; transform: rotate(-80deg) scale(.92); } }
.arc-disc { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, var(--sky-100), #bfe2ff 55%, var(--cyan-300)); box-shadow: var(--shadow-lg); }
.arc-disc .photo { width: 100%; height: 100%; object-fit: cover; }
.arc-disc svg.people { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 88%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 104px; background:
  radial-gradient(800px 500px at 90% 0%, rgba(2,155,249,.14), transparent 60%),
  linear-gradient(180deg, var(--sky-50), #fff 85%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-700); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--cyan); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-45deg); }
.section-dark .eyebrow, .cta-band .eyebrow { color: var(--cyan-300); }
.hero h1 .accent { color: var(--cyan-700); display: block; }
.hero .lead { font-size: 1.17rem; color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero-trust span { display: inline-flex; gap: 7px; align-items: center; }
.hero-trust .icon { color: var(--cyan-700); }
.hero-visual { position: relative; padding: 6%; }
.float-card { position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 18px; font-size: .9rem; display: flex; gap: 12px; align-items: center; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.float-card .fc-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); }
.float-a { top: 8%; left: -4%; }
.float-b { bottom: 8%; right: -2%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Hero entrance */
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt, .section-sky { background: var(--sky-50); }
.section-dark { background: radial-gradient(900px 500px at 100% 0%, rgba(2,155,249,.18), transparent 60%), var(--navy); color: #dce8f7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255,255,255,.78); }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: 76px 0 68px; background: radial-gradient(700px 400px at 95% 0%, rgba(2,155,249,.16), transparent 60%), linear-gradient(180deg, var(--sky-50), #fff); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 22px solid transparent; border-left-color: rgba(2,155,249,.22); border-bottom-color: rgba(1,47,107,.10); transform: rotate(10deg); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; }
.page-hero p { font-size: 1.15rem; color: var(--muted); max-width: 700px; margin: 0; }
.page-hero .hero-actions { margin: 28px 0 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

/* Promise strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-top: -56px; position: relative; z-index: 2; border: 1px solid var(--line); }
.stat { padding: 26px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); flex-shrink: 0; }
.stat .num .icon { width: 22px; height: 22px; }
.stat strong { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; line-height: 1.3; }
.stat .lbl { color: var(--muted); font-size: .86rem; line-height: 1.4; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sky-100); color: var(--navy); display: grid; place-items: center; margin-bottom: 20px; position: relative; }
.card-icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; border-left-color: var(--cyan); border-top-color: var(--cyan); transform: rotate(-30deg); transition: transform .5s var(--ease); }
.card:hover .card-icon::after { transform: rotate(150deg); }
.card-icon .icon { width: 26px; height: 26px; }
.card-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--cyan-700); }
.card-link .icon { transition: transform .2s; }
.card-link:hover .icon { transform: translateX(4px); }

/* Feature service cards (homepage) */
.service-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card .sc-top { padding: 32px 30px 0; }
.service-card .sc-body { padding: 0 30px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.service-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.service-card li .icon { color: var(--cyan-700); margin-top: 3px; }
.service-card .card-link { margin-top: auto; padding-top: 22px; }
.service-card::before { content: ""; height: 5px; background: linear-gradient(90deg, var(--navy), var(--cyan)); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.panel-art { border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--sky-100), #bfe2ff); min-height: 440px; position: relative; overflow: hidden; }
.panel-art.navy { background: linear-gradient(160deg, var(--navy-600), var(--navy-900)); }
.panel-art .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-art svg { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 85%; }
.panel-badge { position: absolute; left: 24px; top: 24px; right: 24px; background: rgba(255,255,255,.96); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; z-index: 1; }
.panel-badge img { width: 44px; flex-shrink: 0; }
.panel-badge strong { display: block; font-family: var(--font-head); color: var(--navy); }
.panel-badge span { font-size: .88rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.checklist .icon { color: #fff; background: var(--cyan-700); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; }

/* Why-choose feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .card-icon { margin: 0; width: 50px; height: 50px; flex-shrink: 0; }
.feature .card-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); transition: background .3s, transform .3s var(--ease); }
.step:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cyan); color: var(--navy-950); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }
.step p { color: rgba(255,255,255,.78); margin: 0; font-size: .96rem; }
.steps.light .step { background: #fff; border-color: var(--line); }
.steps.light .step p { color: var(--muted); }

/* Roles */
.role-card { text-align: left; }
.role-card .tag { margin-bottom: 14px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; }
.areas .icon { color: var(--cyan-700); }

/* Testimonials */
.quote-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0; position: relative; }
.quote-card::before { content: "“"; position: absolute; top: 4px; right: 22px; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--sky-100); }
.quote-card blockquote { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.6; color: var(--ink); flex: 1; position: relative; }
.quote-card .who { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.quote-card.placeholder { border-style: dashed; border-color: #b9cde6; background: rgba(255,255,255,.7); }
.quote-card.placeholder blockquote { color: var(--muted); font-style: italic; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sky-100); display: grid; place-items: center; font-weight: 700; color: var(--navy); flex-shrink: 0; }

/* Careers recruitment band */
.recruit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; background: radial-gradient(600px 400px at 100% 100%, rgba(2,155,249,.35), transparent 60%), linear-gradient(120deg, var(--navy), var(--navy-900)); color: #dce8f7; border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden; }
.recruit h2 { color: #fff; }
.recruit::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 18px solid transparent; border-left-color: rgba(2,155,249,.45); border-top-color: rgba(2,155,249,.45); transform: rotate(-20deg); }
.recruit-roles { display: grid; gap: 12px; position: relative; z-index: 1; }
.recruit-roles a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px 20px; color: #fff; text-decoration: none; font-weight: 600; transition: background .2s, transform .2s var(--ease); }
.recruit-roles a:hover { background: rgba(255,255,255,.16); transform: translateX(4px); color: #fff; }
.recruit-roles .icon { color: var(--cyan); }

/* CTA band */
.cta-band { background: radial-gradient(700px 400px at 100% 0%, rgba(2,155,249,.3), transparent 60%), var(--navy); color: #fff; padding: 60px 0; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 580px; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-950); color: #c8d7ea; padding: 72px 0 0; font-size: .95rem; }
.site-footer h3 { color: #fff; font-family: var(--font-head); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #c8d7ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 120px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.6rem; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
legend .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-100); color: var(--navy); font-size: .85rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--danger); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=time], .field input[type=number], .field input[type=file], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; background: var(--sky-50); color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-700); background: #fff; box-shadow: 0 0 0 4px rgba(2,155,249,.16); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff7f6; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 500; margin-top: 5px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input[type=file] { padding: 10px; background: #fff; border-style: dashed; }
.hint { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--sky-50); font-weight: 500; transition: .15s; }
.choice:hover { border-color: var(--cyan-700); }
.choice input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--sky-100); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); font-weight: 400 !important; }
.consent input { accent-color: var(--navy); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert-error { background: #fdecea; color: #7a1a14; border: 1px solid #f5c2bd; }
.alert-success { background: #e7f5ec; color: #145a33; border: 1px solid #b8e0c6; }
.alert .icon { margin-top: 3px; }

.info-card { background: var(--navy); color: #dce8f7; border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 12px solid transparent; border-left-color: rgba(2,155,249,.4); border-bottom-color: rgba(2,155,249,.4); }
.info-card h3 { color: #fff; }
.info-card .item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; z-index: 1; }
.info-card .item:last-child { border-bottom: 0; }
.info-card .item .icon { color: var(--cyan); width: 22px; height: 22px; margin-top: 2px; }
.info-card .item strong { display: block; color: #fff; }
.info-card a { color: #fff; }
.side-stack { display: grid; gap: 24px; position: sticky; top: 110px; }
.note-card { background: var(--sky-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: .95rem; }
.note-card h3 { font-size: 1.08rem; }
.emergency { background: #fdecea; border: 1px solid #f5c2bd; color: #7a1a14; border-radius: var(--radius); padding: 18px 20px; font-size: .92rem; }

/* Home contact section */
.contact-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }

/* ---------- Careers ---------- */
.job-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.job-filters button { border: 1.5px solid var(--line); background: #fff; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.job-filters button.active, .job-filters button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.job:hover { box-shadow: var(--shadow); }
.job summary { list-style: none; cursor: pointer; padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { margin: 0 0 6px; font-size: 1.15rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--muted); }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--sky-100); color: var(--navy); font-size: .8rem; font-weight: 700; }
.job .chev { width: 36px; height: 36px; border-radius: 50%; background: var(--sky-100); display: grid; place-items: center; transition: transform .2s; color: var(--navy); }
.job[open] .chev { transform: rotate(90deg); }
.job-body { padding: 20px 28px 28px; border-top: 1px solid var(--line); }
.job-body ul { padding-left: 20px; color: var(--muted); }

/* Values */
.value { padding: 28px; border-radius: var(--radius); background: #fff; border-top: 4px solid var(--navy); box-shadow: var(--shadow); }
.value:nth-child(even) { border-top-color: var(--cyan); }
.value p { margin: 0; }
.prose { max-width: 800px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 280px; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
/* Donate */
.donate-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: linear-gradient(120deg, var(--sky-50), #fff); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
.charity-badge { display: inline-flex; gap: 8px; align-items: center; background: var(--sky-100); color: var(--navy); font-weight: 600; font-size: .88rem; padding: 6px 14px; border-radius: 999px; }
.give-ways .card h3 { font-size: 1.1rem; }
.amount-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.amount-grid .choice { justify-content: center; font-weight: 700; font-size: 1.05rem; }
.amount-grid .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount-grid .choice:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 1240px) {
  .nav { gap: 12px; }
  .nav ul a { padding: 8px 9px; font-size: .92rem; }
  .nav ul a::after { left: 9px; right: 9px; }
  .nav-actions .btn { padding: .65em 1em; }
  .topbar-charity { display: none; }
}
@media (max-width: 1140px) {
  .nav { gap: 14px; }
  .nav ul a { padding: 8px 9px; font-size: .92rem; }
  .nav ul a::after { left: 9px; right: 9px; }
}
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 28px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--cyan-700); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { padding: .85em 1.2em; font-size: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 980px) {
  .hero-grid, .split, .form-wrap, .recruit, .contact-split, .donate-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .side-stack { position: static; }
  .split .panel-art { order: -1; min-height: 340px; }
  .recruit { padding: 40px; }
}
@media (max-width: 640px) {
  :root { --fs: 16px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 88px; }
  .grid-2, .grid-3, .grid-4, .steps, .form-row, .form-row.three, .choice-grid, .footer-grid, .features, .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .form-card { padding: 24px 18px; }
  .recruit, .donate-band { padding: 32px 22px; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .job summary { padding: 20px; }
  .job-body { padding: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-card { font-size: .8rem; padding: 10px 12px; }
  .float-card .fc-icon { width: 32px; height: 32px; }
  .float-a { left: 0; }
  .float-b { right: 0; }
  .brand-mark { width: 44px; }
  .brand-word { width: 100px; }
  .topbar-right { gap: 10px; }
  .textsize button { padding: 2px 6px; }
}

/* Prevent grid/flex children from forcing horizontal overflow on small screens */
.hero-grid > *, .split > *, .form-wrap > *, .grid > *, .form-row > *, .footer-grid > *, .recruit > *, .contact-split > * { min-width: 0; }
.field select { max-width: 100%; text-overflow: ellipsis; }
