/* =========================================================
   CareVolution Healthcare Inc. — landing page
   Brand: Sanctuary Blue, Maple Vital Red, Growth Sage, Inclusive Warm Beige
   Type:  Bespoke Serif (headings), Manrope (body)
   ========================================================= */

:root {
  --blue: #1E4A8C;          /* Sanctuary Blue  R30 G74 B140 */
  --blue-deep: #163A6F;
  --red: #D80621;           /* Maple Vital Red R216 G6 B33 */
  --green: #007A3F;         /* Growth Sage (wordmark green) */
  --sage: #6B9B8A;          /* Growth Sage R107 G155 B138 */
  --beige: #F5F0EB;         /* Inclusive Warm Beige R245 G240 B235 */
  --beige-2: #EDE5DC;
  --ink: #1C2333;
  --muted: #586174;
  --line: #E4DCD2;
  --white: #fff;

  --serif: "Bespoke Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 28px;
  --shadow: 0 18px 50px -20px rgba(22, 58, 111, .28);
  --shadow-sm: 0 8px 24px -12px rgba(22, 58, 111, .25);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow .heart { width: 1.35em; height: 1.15em; color: var(--red); flex: none; }
.eyebrow-light { color: #CFE3DA; }
.eyebrow-light .heart { color: #fff; }
.eyebrow.center { display: flex; justify-content: center; }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.center { text-align: center; }
.fine-print { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .95em 1.7em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.05em; height: 1.05em; }
.btn-sm { padding: .65em 1.3em; font-size: .92rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #00653A; }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--beige); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(22, 58, 111, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav ul a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* ---------- Waves ---------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(50px, 7vw, 110px); display: block; pointer-events: none; }
.wave-bottom { bottom: -1px; }
.wave-top { top: 0; transform: translateY(-99%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--beige);
  min-height: min(860px, 100vh); padding: calc(var(--header-h) + 40px) 0 160px;
  display: flex; align-items: center;
}
.hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
  border-bottom-left-radius: 360px; overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 74, 140, .18), transparent 40%); }
.hero-inner { position: relative; z-index: 2; }
.hero-card {
  position: relative; max-width: 560px; background: #fff; border-radius: 40px;
  padding: clamp(32px, 4vw, 56px); box-shadow: var(--shadow);
}
.hero-card h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); font-weight: 500; margin-bottom: .45em; }
.hero-card h1 em { font-style: normal; color: var(--blue); font-weight: 700; }
.hero-card .lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.8em; }
.hero-dots { position: absolute; right: 28px; bottom: -34px; display: grid; grid-template-columns: repeat(2, 10px); gap: 6px; }
.hero-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); opacity: .7; }
.hero-dots i:nth-child(3) { grid-column: 1; }

/* ---------- Intro ---------- */
.intro { max-width: 900px; text-align: center; padding: 40px 0 10px; }
.intro p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.65rem); line-height: 1.5; color: var(--ink); }
.intro strong { color: var(--blue); font-weight: 700; }

/* ---------- Services ---------- */
.services { padding: 80px 0 140px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--beige); border: 2px solid transparent; border-radius: 34px;
  padding: 30px 22px 22px; transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card::before { content: ""; position: absolute; top: 18px; right: 20px; width: 22px; height: 22px; background: radial-gradient(circle, var(--sage) 3px, transparent 3.5px) 0 0 / 11px 11px; opacity: .6; }
.svc-title { font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; font-weight: 500; color: var(--blue); min-height: 2.3em; }
.svc-title small { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; margin-bottom: 4px; }
.svc-text { font-size: .93rem; color: var(--muted); line-height: 1.55; flex: 1; }
.svc-img { display: block; margin-top: 8px; aspect-ratio: 1 / .95; border-radius: 50% 50% 26px 26px / 46% 46% 26px 26px; overflow: hidden; border: 6px solid #fff; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-go { position: absolute; right: 34px; bottom: 34px; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); transition: transform .3s ease, background-color .3s ease; }
.svc-go svg { width: 20px; height: 20px; }
.svc-card.is-active { background: var(--blue); }
.svc-card.is-active .svc-title, .svc-card.is-active .svc-title small { color: #fff; }
.svc-card.is-active .svc-text { color: #D6E0F0; }
.svc-card.is-active .svc-go { background: var(--red); transform: rotate(90deg); }
.svc-card.is-active::before { background-image: radial-gradient(circle, #fff 3px, transparent 3.5px); opacity: .5; }

.svc-panels { margin-top: 40px; }
.svc-panel {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-sm); animation: panelIn .45s ease both;
}
.svc-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.svc-panel-img { border-radius: 28px 28px 28px 160px; overflow: hidden; height: 100%; min-height: 420px; }
.svc-panel-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-panel-body h3 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 700; }
.tagline { font-family: var(--serif); font-size: 1.05rem; color: var(--green); font-weight: 500; margin-bottom: .6em; }
.svc-panel-body > p { color: var(--muted); }
.closing { font-weight: 600; color: var(--ink) !important; border-left: 3px solid var(--red); padding-left: 14px; margin: 0; }
.svc-panels > .fine-print { margin-top: 18px; text-align: center; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 1.4em 0 1.6em; }
.checks li { position: relative; padding-left: 32px; font-size: .95rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .05em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks-light li { color: #E6ECF6; }
.checks-light li::before { background-color: rgba(255, 255, 255, .18); }

/* ---------- Bands ---------- */
.band { position: relative; }
.band-blue { background: var(--blue); color: #E6ECF6; }
.band-blue .wave-top { color: var(--blue); }
.band-blue h2 { color: #fff; }

/* ---------- Who we are ---------- */
.who { padding: 60px 0 200px; }
.who-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.who h2 span { display: block; color: #BFD6F5; font-weight: 500; }
.who-text p { color: #DCE4F2; }
.who-text strong { color: #fff; }
.slogan { font-family: var(--serif); font-size: 1.15rem; color: #fff !important; margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid rgba(255, 255, 255, .2); }
.who-media { position: relative; isolation: isolate; }
.who-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 220px 40px 40px 40px; }
.who-media::before { content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 220px 40px 40px 40px; }

/* ---------- Vision & Mission ---------- */
.vm { background: var(--beige); padding: 0 0 120px; }
.vm-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.vm-card {
  position: relative; z-index: 3; margin-top: -170px; background: #fff; border-radius: 40px;
  padding: 44px 34px 34px; text-align: center; box-shadow: var(--shadow);
}
.corner-dots, .corner-dots::after { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); opacity: .6; }
.corner-dots { top: 22px; left: 26px; box-shadow: 16px 0 0 var(--sage); }
.vm-quote { font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.vm-img { width: min(280px, 80%); aspect-ratio: 1; margin: 26px auto 0; border-radius: 50%; overflow: hidden; border: 8px solid var(--beige); }
.vm-img img { width: 100%; height: 100%; object-fit: cover; }
.vm-mission { padding-top: 70px; }
.mission-text { font-size: 1.12rem; color: var(--ink); }
.commitment {
  margin: 1.8em 0 2em; padding: 24px 28px; background: #fff; border-radius: 24px; border-left: 5px solid var(--red);
  font-family: var(--serif); font-size: 1.1rem; line-height: 1.55; color: var(--blue);
}

/* ---------- ALIVE values ---------- */
.values { padding: 120px 0; background: #fff; }
.alive { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.alive-item {
  position: relative; background: var(--beige); border-radius: 30px; padding: 28px 22px 30px; overflow: hidden;
  border-top: 6px solid var(--c); transition: transform .3s ease, box-shadow .3s ease;
}
.alive-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.alive-letter { display: block; font-family: var(--serif); font-weight: 700; font-size: 5.2rem; line-height: .9; color: var(--c); margin-bottom: 18px; }
.alive-item h3 { font-size: 1.25rem; font-weight: 700; }
.alive-item p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }
.values-foot { text-align: center; margin: 48px auto 0; font-family: var(--serif); font-size: 1.3rem; color: var(--blue); max-width: 640px; }

/* ---------- Approach ---------- */
.approach { padding: 40px 0 120px; }
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.approach-media { position: sticky; top: calc(var(--header-h) + 24px); }
.approach-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 40px 40px / 40% 40% 40px 40px; }
.approach-media figcaption {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); white-space: nowrap;
  background: var(--red); color: #fff; font-family: var(--serif); font-size: 1.25rem; padding: 14px 28px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.approach-media figcaption strong { font-weight: 700; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: p; }
.principles li { counter-increment: p; position: relative; padding: 24px 24px 22px; border-radius: 24px; background: var(--beige); }
.principles li::before { content: counter(p, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 700; color: var(--red); font-size: 1rem; margin-bottom: 6px; }
.principles h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35em; }
.principles p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.55; }
.principles li:last-child { grid-column: 1 / -1; background: var(--blue); }
.principles li:last-child h3 { color: #fff; }
.principles li:last-child p { color: #D6E0F0; }
.principles li:last-child::before { color: #fff; }

/* ---------- People & culture ---------- */
.people { padding: 100px 0 120px; background: var(--beige); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.people-text > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6em; }
.chips li { background: #fff; border: 1px solid var(--line); padding: .5em 1.05em; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--blue); }
.people-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 40px 40px 220px 40px; box-shadow: var(--shadow); }
.careers {
  margin-top: 70px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--green); color: #E3F1EA; border-radius: 40px; padding: clamp(28px, 4vw, 52px);
  position: relative; overflow: hidden;
}
.careers::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.careers h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 700; }
.careers p { margin: 0; max-width: 680px; }
.careers .btn { position: relative; z-index: 1; color: var(--green); }

/* ---------- Community ---------- */
.community { padding: 120px 0; }
.community-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.community-media { position: relative; }
.community-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); border: 10px solid #fff; outline: 2px solid var(--beige-2); }
.community-media figcaption { position: absolute; left: 8%; bottom: 8%; background: #fff; color: var(--blue); font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.community-media figcaption::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: middle; }
.community-text > p { color: var(--muted); }
.community-text strong { color: var(--ink); }

/* ---------- Stories ---------- */
.stories { padding: 110px 0 200px; background: var(--beige); }
.stories-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: stretch; margin-bottom: 30px; }
.stories-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 38% center; border-radius: 40px 40px 40px 200px; }
.story-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story { background: #fff; border-radius: 26px; padding: 26px; position: relative; }
.story::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--beige-2); }
.story h3 { font-size: 1.2rem; font-weight: 700; padding-right: 24px; }
.story p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }
.share { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: #fff; border: 2px dashed var(--sage); border-radius: 26px; padding: 24px 28px; }
.share h3 { font-weight: 700; margin-bottom: .2em; }
.share p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Partnerships ---------- */
.partners { padding: 50px 0 170px; }
.partners-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.partners-media img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 40px 220px 40px 40px; }
.partners-text p { color: #DCE4F2; }
.partners-text .checks { margin: 1.6em 0 2em; }

/* ---------- Contact ---------- */
.contact { padding: 80px 0 180px; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.contact-grid > *, .contact-form > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
.field.full, .form-foot.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--beige);
  border: 2px solid transparent; border-radius: 18px; padding: .85em 1.1em; transition: border-color .2s ease, background-color .2s ease;
}
.field input, .field select { border-radius: 999px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231E4A8C' stroke-width='2.5' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background-color: #fff; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot .fine-print { margin: 0; }
.contact-card { background: var(--blue); color: #DCE4F2; border-radius: 36px; padding: 36px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.contact-icon { width: 56px; height: auto; background: #fff; border-radius: 16px; padding: 8px; box-sizing: content-box; margin-bottom: 18px; }
.contact-card h3 { color: #fff; font-weight: 700; }
.contact-card dl { margin: 18px 0 0; }
.contact-card dt { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #9FB7DD; font-weight: 600; margin-top: 16px; }
.contact-card dd { margin: 2px 0 0; font-size: 1.05rem; color: #fff; }
.contact-card a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.contact-card a:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--blue-deep); color: #C9D5EA; padding: 30px 0 28px; }
.site-footer .wave-top { color: var(--blue-deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.logo-badge { display: inline-block; background: #fff; border-radius: 24px; padding: 14px 20px; }
.logo-badge img { height: 46px; width: auto; }
.footer-slogan { font-family: var(--serif); color: #fff; font-size: 1.15rem; line-height: 1.4; margin: 20px 0 8px; max-width: 340px; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #C9D5EA; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.cols-2 { columns: 2; column-gap: 28px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 22px; }
.footer-bottom li { margin: 0 !important; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .site-nav ul { gap: 18px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .alive { grid-template-columns: repeat(6, 1fr); }
  .alive-item { grid-column: span 2; }
  .alive-item:nth-child(4) { grid-column: 2 / span 2; }
  .alive-item:nth-child(5) { grid-column: 4 / span 2; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--beige); cursor: pointer; padding: 0 13px;
  }
  .nav-toggle .bar { height: 2px; background: var(--blue); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 24px 28px; box-shadow: 0 20px 30px -20px rgba(22, 58, 111, .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a::after { display: none; }

  .hero { display: block; min-height: 0; padding: var(--header-h) 0 110px; }
  .hero-media { position: relative; width: 100%; height: 56vw; min-height: 300px; max-height: 480px; border-radius: 0 0 0 120px; }
  .hero-card { margin-top: -80px; max-width: none; border-radius: 32px; }
  .hero-dots { display: none; }

  .who-grid, .vm-grid, .approach-grid, .people-grid, .community-grid, .partners-grid, .stories-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-panel { grid-template-columns: 1fr; }
  .svc-panel-img { min-height: 0; aspect-ratio: 16 / 10; border-radius: 24px 24px 24px 100px; }
  .who { padding-bottom: 180px; }
  .who-media { max-width: 520px; }
  .vm-card { max-width: 560px; margin-inline: auto; }
  .vm-mission { padding-top: 0; }
  .approach-media { position: relative; top: 0; max-width: 420px; margin: 0 auto 30px; }
  .community-media { max-width: 480px; margin-inline: auto; }
  .stories-media img { min-height: 0; aspect-ratio: 16 / 10; border-radius: 32px 32px 32px 120px; }
  .partners-media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero-card { padding: 28px 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .services { padding: 60px 0 110px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { display: grid; grid-template-columns: 1fr 112px; grid-template-rows: auto 1fr; column-gap: 16px; align-items: center; padding: 20px; border-radius: 26px; }
  .svc-title { min-height: 0; font-size: 1.4rem; grid-column: 1; }
  .svc-text { grid-column: 1; grid-row: 2; align-self: start; }
  .svc-img { grid-column: 2; grid-row: 1 / span 2; margin: 0; aspect-ratio: 1; border-radius: 50%; border-width: 4px; }
  .svc-go { width: 36px; height: 36px; right: 14px; bottom: 14px; }
  .svc-go svg { width: 16px; height: 16px; }
  .svc-card::before { display: none; }
  .checks { grid-template-columns: 1fr; }
  .alive { grid-template-columns: 1fr; }
  .alive-item, .alive-item:nth-child(4), .alive-item:nth-child(5) { grid-column: auto; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: start; }
  .alive-letter { font-size: 3.6rem; grid-row: 1 / span 2; margin: 0; }
  .principles, .story-cards { grid-template-columns: 1fr; }
  .share, .careers { flex-direction: column; align-items: flex-start; }
  .contact-form { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cols-2 { columns: 2; }
  .values, .community { padding: 80px 0; }
  .vm-card { margin-top: -150px; padding: 36px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
