/* ==========================================================================
   NorthCare — Care you can count on
   Brand: navy #1C355E · teal #5BA7A1 · mint #DCEDE9 · cloud #F2F4F7 · charcoal #333F48
   Type:  Merriweather (headings) · Lato (body)
   ========================================================================== */

:root {
  --navy:      #1C355E;
  --navy-deep: #142948;
  --teal:      #5BA7A1;
  --teal-dark: #47867f;
  --mint:      #DCEDE9;
  --cloud:     #F2F4F7;
  --charcoal:  #333F48;
  --ink:       #2b3843;
  --muted:     #5d6b78;
  --white:     #ffffff;
  --line:      #e2e8ef;

  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans:  "Lato", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(28,53,94,.06);
  --shadow-md: 0 14px 40px rgba(28,53,94,.12);
  --shadow-lg: 0 30px 70px rgba(20,41,72,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  color: var(--teal-dark);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--teal);
  display: inline-block;
}

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: #06302c; box-shadow: 0 10px 24px rgba(91,167,161,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(91,167,161,.45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

/* ---- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.nav a {
  color: var(--navy); font-weight: 600; font-size: .96rem; position: relative;
  padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--teal); transition: width .25s var(--ease);
}
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.header-phone { color: var(--navy); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .45rem; }
.header-phone svg { width: 17px; height: 17px; color: var(--teal-dark); }
.nav-toggle { display: none; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 88% -8%, rgba(91,167,161,.16), transparent 60%),
    linear-gradient(180deg, var(--cloud) 0%, #ffffff 78%);
  overflow: hidden;
}
.hero::before { /* soft organic cradle curve */
  content: ""; position: absolute; right: -8%; bottom: -35%;
  width: 620px; height: 620px; border-radius: 46% 54% 60% 40% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 40% 40%, rgba(220,237,233,.55), rgba(220,237,233,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
}
.hero h1 .accent { position: relative; color: var(--teal-dark); white-space: nowrap; }
.hero h1 .accent svg {
  position: absolute; left: 0; right: 0; bottom: -.32em; width: 100%; height: .34em;
  color: var(--teal);
}
.hero-lead { font-size: 1.2rem; color: var(--charcoal); max-width: 34ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-assurance { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .8rem 2rem; }
.hero-assurance span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; color: var(--navy); }
.hero-assurance svg { width: 19px; height: 19px; color: var(--teal); flex: none; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  aspect-ratio: 4 / 3;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: 26px;
  background: #fff; border-radius: var(--radius);
  padding: .95rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem; max-width: 240px;
  border: 1px solid var(--line);
}
.hero-badge .mark { width: 42px; height: 42px; flex: none; }
.hero-badge strong { display: block; color: var(--navy); font-size: .98rem; font-family: var(--serif); }
.hero-badge small { color: var(--muted); font-size: .82rem; line-height: 1.3; display: block; }

/* ---- Trust strip ------------------------------------------------------ */
.trust {
  background: var(--navy); color: #eaf1f8;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; padding: 2.2rem 0;
}
.trust-item { display: flex; gap: .85rem; align-items: center; }
.trust-item svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.trust-item strong { font-family: var(--serif); color: #fff; font-size: 1.02rem; display: block; }
.trust-item span { font-size: .86rem; color: #b9c8da; }

/* ---- Services --------------------------------------------------------- */
.services { background: linear-gradient(180deg, #fff, var(--cloud)); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--mint); color: var(--teal-dark);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* ---- Values (reverse band) ------------------------------------------- */
.values { background: var(--navy); position: relative; overflow: hidden; }
.values::after {
  content: ""; position: absolute; top: -30%; left: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(91,167,161,.18), transparent 68%);
}
.values .section-head h2, .values .section-head p { color: #fff; }
.values .section-head p { color: #c4d2e2; }
.values .eyebrow { color: var(--teal); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; z-index: 1; }
.value { text-align: left; }
.value-icon {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(91,167,161,.5); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.value-icon svg { width: 30px; height: 30px; }
.value h3 { color: #fff; font-size: 1.18rem; margin-bottom: .35rem; }
.value p { color: #b9c8da; font-size: .94rem; margin-bottom: 0; }

/* ---- Team / roles ----------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.role {
  display: flex; align-items: center; gap: .8rem;
  background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 600; color: var(--navy);
}
.role svg { width: 22px; height: 22px; color: var(--teal-dark); flex: none; }
.team-media { position: relative; }
.team-media img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.team-note {
  margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--teal);
  background: var(--mint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--navy);
}
.team-note p { margin: 0; font-size: .98rem; }

/* ---- Split / dual audience ------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.panel {
  border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem);
  position: relative; overflow: hidden;
}
.panel h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.panel p { font-size: 1rem; margin-bottom: 1.5rem; }
.panel .btn { margin-top: .2rem; }
.panel-navy { background: var(--navy); color: #dbe6f2; }
.panel-navy h3 { color: #fff; }
.panel-teal { background: var(--mint); color: var(--charcoal); border: 1px solid #cbe3dd; }
.panel-teal h3 { color: var(--navy); }
.panel-tag {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem;
}
.panel-navy .panel-tag { color: var(--teal); }
.panel-teal .panel-tag { color: var(--teal-dark); }
.panel-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.panel-list li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; font-size: .97rem; }
.panel-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.panel-navy .panel-list svg { color: var(--teal); }
.panel-teal .panel-list svg { color: var(--teal-dark); }

/* ---- About ------------------------------------------------------------ */
.about { background: var(--cloud); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.director-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.director-card .mark { width: 64px; height: 64px; margin-bottom: 1.2rem; }
.director-card h3 { font-size: 1.3rem; margin-bottom: .1rem; }
.director-role { color: var(--teal-dark); font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.2rem; }
.director-contact { list-style: none; padding: 0; margin: 0; }
.director-contact li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .96rem; }
.director-contact li:first-child { border-top: none; }
.director-contact svg { width: 19px; height: 19px; color: var(--teal-dark); flex: none; }
.director-contact a { color: var(--navy); font-weight: 600; }

/* ---- Contact ---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-info .eyebrow { color: var(--teal-dark); }
.contact-methods { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.contact-methods li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.contact-methods .ci {
  width: 46px; height: 46px; border-radius: 12px; background: var(--mint); color: var(--teal-dark);
  display: grid; place-items: center; flex: none;
}
.contact-methods .ci svg { width: 22px; height: 22px; }
.contact-methods strong { display: block; color: var(--navy); font-family: var(--serif); }
.contact-methods a, .contact-methods span { color: var(--muted); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .86rem; color: var(--navy); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 11px; background: #fbfcfe;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(91,167,161,.18); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin: .4rem 0 0; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.contact-form .btn:disabled { opacity: .7; cursor: progress; transform: none; box-shadow: none; }

/* Honeypot — visually hidden, off-screen, not focusable */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Submission status message */
.form-status { margin: .9rem 0 0; padding: .8rem 1rem; border-radius: 11px; font-size: .92rem; font-weight: 600; }
.form-status.ok  { background: var(--mint); color: #0d4a44; border: 1px solid #bfe0d9; }
.form-status.err { background: #fdecec; color: #8f2c2c; border: 1px solid #f4c9c9; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #b9c8da; padding: clamp(3rem,5vw,4.5rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.footer-badge {
  width: 54px; height: 54px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; flex: none; box-shadow: var(--shadow-sm);
}
.footer-badge img { width: 38px; height: auto; }
.footer-wordmark { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.footer-wordmark span { color: var(--teal); }
.footer-brand-col p { color: #9fb2c8; font-size: .94rem; max-width: 34ch; }
.footer-tag { display: inline-flex; align-items: center; gap: .5rem; color: var(--teal); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-top: .4rem; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: #b9c8da; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-col .with-icon { display: flex; align-items: flex-start; gap: .55rem; }
.footer-col .with-icon svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8296ad;
}

/* ---- Overflow safety: let grid items shrink & long emails wrap -------- */
.about-grid > *, .team-grid > *, .contact-grid > *, .split > *, .hero-grid > *, .footer-grid > * { min-width: 0; }
.director-contact a, .director-contact li, .contact-methods a, .contact-methods li,
.footer-col a, .footer-col li { overflow-wrap: anywhere; }

/* ---- Reveal animation ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 520px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 1rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav, .header-phone { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
    background: #fff; cursor: pointer; color: var(--navy);
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    padding: 1.4rem 4%; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line); margin: 0;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .trust-grid, .cards, .values-grid, .roles, .form-row, .footer-grid, .hero-assurance { grid-template-columns: 1fr; }
  .hero-badge { left: 8px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
