/* ============================================================
   MedPeach Solutions, LLC — Site Styles
   Brand: clinical precision + warm peach humanity
   Signature: the coral EKG heartbeat line (from the logo)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --navy:        #16294D;   /* primary brand navy (logo "Med", wordmark) */
  --navy-deep:   #101F3C;   /* deep surface */
  --navy-soft:   #1C3059;   /* raised navy surface */
  --coral:       #E8794A;   /* brand coral (logo "Peach", heartbeat) */
  --coral-dark:  #D9662F;
  --peach-100:   #FDEDE3;   /* soft peach tint (cards, badges) */
  --peach-200:   #FADFCF;
  --paper:       #FCFAF7;   /* warm near-white base */
  --white:       #FFFFFF;
  --ink:         #26303F;   /* body text */
  --ink-soft:    #5A6576;   /* muted text */
  --line:        #E9E3DB;   /* hairline dividers */
  --line-navy:   rgba(255,255,255,.14);

  /* Type */
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(22,41,77,.06);
  --shadow-md: 0 14px 40px rgba(22,41,77,.10);
  --shadow-lg: 0 30px 70px rgba(22,41,77,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.24rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.center { text-align: center; }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }
.center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--coral-dark); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px;
}
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(232,121,74,.32); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 14px 30px rgba(232,121,74,.42); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--on-navy { background: #fff; color: var(--navy); }
.btn--on-navy:hover { background: var(--peach-100); }
.btn--ghost-navy { background: transparent; color: #fff; border-color: var(--line-navy); }
.btn--ghost-navy:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.4); }

/* ---------- Heartbeat divider (signature) ---------- */
.pulse { display: block; width: 100%; height: 26px; color: var(--coral); }
.pulse path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pulse--center { max-width: 120px; margin: 1.2rem auto 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,250,247,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1; color: var(--navy); }
.brand__name .accent { color: var(--coral); }
.brand__tag { display: block; font-family: var(--font-body); font-weight: 600; font-size: .58rem; letter-spacing: .28em; color: var(--ink-soft); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  color: var(--navy); padding: .5em .85em; border-radius: 10px; transition: background .15s, color .15s;
}
.nav__links a:hover { background: var(--peach-100); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--coral-dark); }
.nav__cta { margin-left: .5rem; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  border-radius: 10px; color: var(--navy);
}
.nav__toggle svg { width: 26px; height: 26px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(60px, 8vw, 104px);
}
.hero__pill {
  display: inline-flex; align-items: center; gap: .5em; background: var(--peach-100);
  color: var(--coral-dark); font-weight: 600; font-size: .82rem; letter-spacing: .02em;
  padding: .45em 1em; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { margin-bottom: .55em; }
.hero h1 .hl { color: var(--coral); position: relative; white-space: nowrap; }
.hero__sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; color: var(--ink-soft); font-size: .92rem; }
.hero__trust b { color: var(--navy); font-family: var(--font-display); }
.hero__trust .item { display: flex; align-items: center; gap: .5em; }
.hero__trust svg { width: 1.2em; height: 1.2em; color: var(--coral); flex: none; }

/* Hero visual: EKG card */
.hero__visual { position: relative; }
.hero-card {
  background: var(--navy); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; inset: auto -40% -55% -40%; height: 70%;
  background: radial-gradient(60% 100% at 50% 0, rgba(232,121,74,.28), transparent 70%);
}
.hero-card__top { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.hero-card__top .who { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.hero-card__top .sub { color: rgba(255,255,255,.62); font-size: .82rem; }
.hero-card__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--coral); display: grid; place-items: center; flex: none; }
.hero-card__avatar svg { width: 22px; height: 22px; color: #fff; }
.ekg-wrap { background: rgba(255,255,255,.05); border: 1px solid var(--line-navy); border-radius: 14px; padding: 20px 16px; margin-bottom: 1.2rem; }
.ekg { width: 100%; height: 64px; color: var(--coral); }
.ekg path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hero-card__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.hero-card__stat { background: rgba(255,255,255,.05); border: 1px solid var(--line-navy); border-radius: 12px; padding: 14px 12px; text-align: center; }
.hero-card__stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.hero-card__stat span { font-size: .72rem; color: rgba(255,255,255,.62); letter-spacing: .02em; }
.hero-card__badge {
  position: absolute; top: 20px; right: 20px; background: var(--coral);
  color: #fff; font-size: .72rem; font-weight: 600; padding: .4em .8em; border-radius: 999px;
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.strip { background: var(--navy); color: #fff; }
.strip__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; padding-block: clamp(34px,5vw,48px); }
.strip__item { text-align: center; }
.strip__item b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3.4vw,2.5rem); }
.strip__item b .u { color: var(--coral); }
.strip__item span { color: rgba(255,255,255,.66); font-size: .92rem; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 2.6rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--peach-200); }
.badge {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--peach-100); margin-bottom: 1.1rem;
}
.badge svg { width: 28px; height: 28px; color: var(--coral-dark); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ============================================================
   WHY / FEATURE LIST (two-column)
   ============================================================ */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.feature-list { list-style: none; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .tick { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.feature-list .tick svg { width: 20px; height: 20px; color: var(--coral); }
.feature-list h4 { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin: .1rem 0 .2rem; }
.feature-list p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.panel {
  background: var(--navy); border-radius: var(--radius-lg); color: #fff;
  padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.panel h3 { color: #fff; }
.panel .pulse { color: var(--coral); margin: 1rem 0 1.4rem; }
.panel__list { list-style: none; display: grid; gap: .9rem; }
.panel__list li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(255,255,255,.86); font-size: .98rem; }
.panel__list svg { width: 22px; height: 22px; color: var(--coral); flex: none; margin-top: 1px; }

/* ============================================================
   PROCESS (numbered — genuine sequence)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 2.6rem; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--coral-dark);
  width: 40px; height: 40px; border-radius: 12px; background: var(--peach-100); display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ============================================================
   WHO WE SERVE chips
   ============================================================ */
.serve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 2.4rem; }
.serve {
  display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease);
}
.serve:hover { border-color: var(--peach-200); transform: translateY(-3px); }
.serve .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--peach-100); display: grid; place-items: center; }
.serve .ic svg { width: 24px; height: 24px; color: var(--coral-dark); }
.serve b { font-family: var(--font-display); font-weight: 600; color: var(--navy); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote {
  max-width: 760px; margin-inline: auto; text-align: center;
}
.quote blockquote {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem,2.6vw,1.9rem);
  line-height: 1.35; color: var(--navy); margin: 1.2rem 0; letter-spacing: -.01em;
}
.quote cite { font-style: normal; color: var(--ink-soft); font-size: .96rem; }
.quote cite b { color: var(--navy); font-family: var(--font-display); }
.quote .mark { font-size: 3rem; line-height: 0; color: var(--coral); font-family: var(--font-display); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(232,121,74,.30), transparent 62%);
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: auto -10% -60% 40%; height: 90%;
  background: radial-gradient(50% 100% at 60% 0, rgba(232,121,74,.22), transparent 70%);
}
.page-hero__inner { position: relative; padding-block: clamp(52px,7vw,88px); max-width: 760px; }
.page-hero .eyebrow { color: var(--coral); }
.page-hero .eyebrow::before { background: var(--coral); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 58ch; margin: 0; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: #fff; }

/* Alternating section bg */
.bg-peach { background: linear-gradient(180deg, var(--peach-100), #fff 90%); }
.bg-soft { background: #fff; }

/* ============================================================
   SERVICE DETAIL rows
   ============================================================ */
.svc-row { display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row .badge { margin: 0; }
.svc-row h3 { font-size: 1.4rem; }
.svc-row p { color: var(--ink-soft); margin: 0; max-width: 68ch; }
.svc-row ul.mini { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.svc-row ul.mini li { background: var(--peach-100); color: var(--coral-dark); font-size: .82rem; font-weight: 600; padding: .35em .8em; border-radius: 999px; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy);
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q:hover { color: var(--coral-dark); }
.faq__q .chev { width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); color: var(--coral); }
.faq__item[open] .faq__q .chev, .faq__q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq__a { padding: 0 24px 22px; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px,5vw,56px); align-items: start; }
.contact-info { }
.contact-info h2 { margin-bottom: .6rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin-top: 1.8rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; color: var(--coral); }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }
.contact-list small { display: block; color: var(--ink-soft); font-weight: 400; font-size: .84rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .45rem; }
.field label .req { color: var(--coral); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8em .95em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(232,121,74,.14); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field.err input, .field.err textarea { border-color: #d64545; }
.field__error { color: #d64545; font-size: .84rem; margin-top: .35rem; display: none; }
.field.err .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--ink-soft); margin-top: 1rem; }
.form-alert { border-radius: 12px; padding: 14px 16px; font-size: .95rem; margin-bottom: 1.2rem; display: none; }
.form-alert.show { display: block; }
.form-alert--ok { background: #e6f5ec; color: #1c6b3f; border: 1px solid #bfe6cd; }
.form-alert--err { background: #fdeaea; color: #a12b2b; border: 1px solid #f4c9c9; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-top: clamp(48px,6vw,72px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer .brand__name { color: #fff; }
.site-footer p { font-size: .95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .96rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--coral); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line-navy); padding-block: 22px; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .86rem; }
.footer-bottom a { color: rgba(255,255,255,.72); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .cards, .steps, .serve-grid, .strip__grid { grid-template-columns: repeat(2,1fr); }
  .cta-band__inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 2px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 20px;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: .8em 1em; }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .cards, .steps, .serve-grid, .strip__grid, .field--row, .footer-grid { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--coral); color: #fff;
  padding: .6em 1em; border-radius: 8px; z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Logo mark (inline SVG, two-tone) ---------- */
.brand__mark .pm-body { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark .pm-stem { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark .pm-pulse { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark--light .pm-body, .brand__mark--light .pm-stem { stroke: #fff; }

/* ---------- Photo frames (royalty-free imagery) ---------- */
.media-figure {
  position: relative; margin: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); background: var(--peach-100);
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-figure--wide { aspect-ratio: 16 / 10; }
.media-figure--tall { aspect-ratio: 4 / 5; }
/* subtle brand accent tying photos to the heartbeat/coral identity */
.media-figure::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 72px; height: 4px; background: var(--coral);
}

/* Hero: float the "Live tracking" card over the photo */
.hero__visual { position: relative; }
.hero-photo { width: 100%; }
.hero__visual .hero-card { position: absolute; left: -6%; bottom: -6%; width: min(300px, 84%); }
@media (max-width: 940px) {
  .hero__visual .hero-card { position: static; width: auto; margin-top: -44px; }
}

/* ---------- Powered-by credit ---------- */
.powered-by a { color: var(--coral); font-weight: 600; }
.powered-by a:hover { color: #fff; }
