/* =========================================================================
   Medical Management Systems of Michigan — design system
   Brand palette: teal (primary), dark blue-purple (ink), white, orange (CTA)
   ========================================================================= */

:root {
  /* Brand */
  --teal:        #0E9C95;
  --teal-600:    #0B847E;
  --teal-700:    #086C67;
  --teal-50:     #E6F5F4;
  --teal-100:    #C9EAE8;

  --ink:         #163A6E;   /* dark blue */
  --ink-700:     #1E4A87;
  --ink-900:     #0E2750;
  --ink-50:      #E9EFF8;

  --orange:      #F4791F;   /* CTA / accent */
  --orange-600:  #DC6810;
  --orange-50:   #FDEEE1;

  --white:       #ffffff;
  --paper:       #F7F9FB;
  --line:        #E4E8EF;

  --text:        #1F2330;
  --muted:       #5A6172;
  --muted-light: #8A91A3;

  /* System */
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 2px rgba(14,39,80,.07), 0 1px 3px rgba(14,39,80,.06);
  --shadow:      0 6px 18px rgba(14,39,80,.09), 0 2px 6px rgba(14,39,80,.06);
  --shadow-lg:   0 24px 60px rgba(14,39,80,.18);
  --container:   1180px;
  --gutter:      clamp(1.1rem, 4vw, 2rem);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Sora", var(--font-sans);
}

/* ------------------------------- reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-700); }
ul, ol { padding-left: 1.25rem; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.018em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1rem; }

/* ------------------------------ layout --------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #DCD9EE; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--tint { background: linear-gradient(180deg, var(--teal-50), #fff); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--teal-600); margin-bottom: .8rem;
}
.section--ink .eyebrow { color: #5FE0D6; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: #BFBBDD; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ------------------------------ buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(244,121,31,.32); }
.btn--primary:hover { background: var(--orange-600); color: #fff; box-shadow: 0 12px 26px rgba(244,121,31,.4); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(14,156,149,.28); }
.btn--teal:hover { background: var(--teal-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

/* ------------------------------ header --------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Row 1: logo (left) + contact (right) */
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: clamp(54px, 6vw, 72px); width: auto; display: block; }
.header-meta { display: flex; align-items: center; gap: 1.4rem; }
.header-meta__item { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.header-meta__item .ico { color: var(--teal-600); }
.header-meta__item b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
a.header-meta__item:hover { color: var(--teal-700); }
a.header-meta__item:hover b { color: var(--teal-700); }

/* Row 2: full-width navigation bar */
.header-nav { background: var(--ink); }
.header-nav .nav__links { display: flex; align-items: stretch; gap: 0; list-style: none; margin: 0; padding: 0; }
.header-nav .nav__links a {
  display: flex; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: #EAF0FA; padding: .9rem 1.15rem; border-radius: 0; transition: background .15s ease, color .15s ease;
}
.header-nav .nav__links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.header-nav .nav__links a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 -3px 0 var(--teal); }
.nav__mobile-extra { display: none; }
.btn--sm { padding: .6rem 1.05rem; font-size: .9rem; }

/* Services dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a { gap: .35rem; }
.chev { transition: transform .18s ease; }
.has-dropdown:hover > a .chev, .has-dropdown:focus-within > a .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 264px; list-style: none; margin: 0; padding: .45rem;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow-lg); z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.header-nav .dropdown a { color: var(--ink); font-size: .92rem; padding: .62rem .8rem; border-radius: 8px; }
.header-nav .dropdown a:hover, .header-nav .dropdown a[aria-current="page"] { background: var(--teal-50); color: var(--teal-700); box-shadow: none; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

@media (max-width: 1040px) {
  .header-meta { gap: 1rem; }
  .header-meta__location { display: none; } /* drop address first when space is tight */
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .header-meta { display: none; }
  .header-nav { background: transparent; }
  .header-nav .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch;
    background: #fff; padding: 5rem 1.3rem 2rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; z-index: 60;
  }
  .header-nav .nav__links a { color: var(--ink); padding: .9rem .6rem; font-size: 1.06rem; border-bottom: 1px solid var(--line); }
  .header-nav .nav__links a:hover, .header-nav .nav__links a[aria-current="page"] { background: var(--teal-50); color: var(--teal-700); box-shadow: none; }
  body.nav-open .header-nav .nav__links { transform: translateX(0); }
  body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav__mobile-extra { display: block; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
  .nav__mobile-extra .btn { width: 100%; justify-content: center; margin-bottom: 1rem; }
  .nav__mobile-extra a.phone { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); font-family: var(--font-head); margin-bottom: .6rem; }
  .nav__mobile-extra p { font-size: .86rem; color: var(--muted); margin: 0; }
  /* dropdown becomes a static nested list in the slide-in menu */
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 0 1rem; min-width: 0;
  }
  .header-nav .dropdown a { font-size: .98rem; padding: .75rem .6rem; border-bottom: 1px solid var(--line); }
  .has-dropdown > a .chev { display: none; }
}

/* ------------------------------- hero ---------------------------------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--ink-900) 0%, var(--ink) 45%, var(--teal-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 85% -10%, rgba(14,156,149,.45), transparent 60%),
              radial-gradient(700px 500px at -10% 110%, rgba(244,121,31,.22), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3.2rem, 7vw, 6rem) 0; }
.hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
.hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.28rem); color: #CFCDE8; max-width: 56ch; margin-bottom: 1.8rem; }
.hero__pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .4rem .9rem; border-radius: 100px; font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; }
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5FE0D6; box-shadow: 0 0 0 4px rgba(95,224,214,.25); }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); display: flex; gap: .8rem; align-items: center; max-width: 260px;
}
.hero__badge strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--teal-700); display: block; line-height: 1; }
.hero__badge span { font-size: .82rem; color: var(--muted); }
.hero__trust { margin-top: 2rem; display: flex; gap: 1.6rem; flex-wrap: wrap; color: #BFBBDD; font-size: .9rem; }
.hero__trust b { color: #fff; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__badge { left: 12px; bottom: -18px; }
}

/* ------------------------------- cards --------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.ico { flex: 0 0 auto; vertical-align: middle; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700); margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .4rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--teal-700); }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.card__link { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.card__link::after { content: "→"; transition: transform .15s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

.service-card--media { padding: 0; overflow: hidden; }
.service-card--media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-card--media .card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

/* ------------------------------- stats --------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.3rem .8rem; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--teal); line-height: 1; letter-spacing: -.02em; }
.section--ink .stat__num { color: #5FE0D6; }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: .45rem; }
.section--ink .stat__label { color: #BFBBDD; }

/* --------------------------- feature / split --------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li::before {
  content: "✓"; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; margin-top: .15rem;
}
.section--ink .checklist li::before { background: rgba(95,224,214,.16); color: #5FE0D6; }

/* --------------------------- answer / AEO box -------------------------- */
.answer-box {
  background: var(--teal-50); border: 1px solid var(--teal-100); border-left: 5px solid var(--teal);
  border-radius: var(--radius); padding: 1.4rem 1.6rem; margin: 1.5rem 0;
}
.answer-box p:last-child { margin-bottom: 0; }
.answer-box .answer-box__q { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: .5rem; font-size: 1.1rem; }

/* ------------------------------- steps --------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.steps--row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .steps--row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps--row { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; margin-bottom: .9rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ------------------------------- FAQ ----------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; background: #fff; overflow: hidden; }
.faq__item[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-family: var(--font-head);
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); transition: transform .2s ease; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ----------------------------- testimonial ----------------------------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.quote__stars { color: var(--orange); letter-spacing: 2px; margin-bottom: .7rem; }
.quote blockquote { margin: 0 0 1.1rem; font-size: 1.05rem; color: var(--text); }
.quote__who { display: flex; align-items: center; gap: .8rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote__who b { display: block; color: var(--ink); font-family: var(--font-head); }
.quote__who span { color: var(--muted-light); font-size: .88rem; }

/* ------------------------------- CTA band ------------------------------ */
.cta-band { position: relative; color: #fff; overflow: hidden; border-radius: var(--radius-lg); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,39,80,.94), rgba(11,122,116,.86)); }
.cta-band__inner { position: relative; z-index: 2; padding: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D7D4EE; max-width: 56ch; margin-inline: auto; }
.cta-band__btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ------------------------------- page hero ----------------------------- */
.page-hero { background: linear-gradient(120deg, var(--ink-900), var(--ink) 60%, var(--teal-700)); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% -20%, rgba(14,156,149,.4), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; padding: clamp(2.6rem, 6vw, 4.5rem) var(--gutter); }
.page-hero h1 { color: #fff; max-width: none; }
.page-hero p { color: #CFCDE8; max-width: none; font-size: 1.12rem; }
.breadcrumbs { font-size: .85rem; color: #ADA9CF; margin-bottom: 1rem; }
.breadcrumbs a { color: #fff; }
.breadcrumbs span { margin: 0 .4rem; opacity: .6; }

/* ------------------------------- prose --------------------------------- */
.prose { font-size: 1.06rem; }
.prose > h2 { margin-top: 2.4rem; padding-top: .4rem; }
.prose > h3 { margin-top: 1.8rem; }
.prose img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.prose ul li, .prose ol li { margin-bottom: .5rem; }
.prose blockquote { border-left: 4px solid var(--teal); background: var(--teal-50); margin: 1.6rem 0; padding: 1rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-700); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ink); color: #fff; font-family: var(--font-head); }
.prose tr:nth-child(even) td { background: var(--paper); }

/* layout for article pages */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; font-size: .92rem; }
.toc strong { font-family: var(--font-head); color: var(--ink); display: block; margin-bottom: .6rem; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .4rem; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--teal-700); }
.sidebar-cta { margin-top: 1.4rem; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.4rem; }
.sidebar-cta h4 { color: #fff; font-family: var(--font-head); margin: 0 0 .5rem; }
.sidebar-cta p { color: #C9C5E6; font-size: .9rem; }

/* posts list */
.post-card { display: grid; grid-template-columns: 230px 1fr; gap: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.post-card__body { padding: 1.4rem 1.5rem 1.4rem 0; }
@media (max-width: 620px) { .post-card { grid-template-columns: 1fr; } .post-card__body { padding: 0 1.3rem 1.3rem; } .post-card img { min-height: 200px; } }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-700); background: var(--teal-50); padding: .25rem .6rem; border-radius: 100px; }
.meta { color: var(--muted-light); font-size: .85rem; }

/* ------------------------------ contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 1rem; margin-bottom: 1.4rem; align-items: flex-start; }
.info-row__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: 0 0 auto; }
.info-row__icon svg { width: 20px; height: 20px; }
.toc li { display: flex; align-items: center; gap: .5rem; }
.toc li .ico { color: var(--teal-700); }
.info-row b { display: block; color: var(--ink); font-family: var(--font-head); }
.info-row a { color: var(--teal-700); }
form .field { margin-bottom: 1.1rem; }
form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .92rem; font-family: var(--font-head); }
form input, form select, form textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s;
}
form input:focus, form select:focus, form textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,156,149,.15); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }

/* ------------------------------ footer --------------------------------- */
.site-footer { background: var(--ink-900); color: #B6B2D6; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.2rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #B6B2D6; }
.site-footer a:hover { color: #5FE0D6; }
.footer-brand .brand { display: inline-block; margin-bottom: 1.1rem; }
.footer-brand .brand__logo { background: #fff; padding: 14px 20px; border-radius: 14px; height: 74px; width: auto; box-shadow: var(--shadow-sm); }
/* keep button label bright white in the dark footer */
.site-footer .btn--teal, .site-footer .btn--teal:hover { color: #fff; }
.site-footer .btn--primary, .site-footer .btn--primary:hover { color: #fff; }
.footer-brand p { color: #9A96C0; max-width: 36ch; }
.footer-contact b { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #837FA8; }
.footer-bottom a { color: #B6B2D6; }

/* ------------------------------ helpers -------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 720px; margin: 0 auto 2.6rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .4rem .9rem; font-size: .88rem; font-weight: 600; color: var(--ink-700); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
