/*
 Theme Name:   SMadicale Child
 Theme URI:    https://smadicale.com
 Description:  SMadicale Child Theme based on GeneratePress
 Author:       SMadicale
 Author URI:   https://smadicale.com
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  smadicale-child
*/

/* ============================================================
   TOKENS
============================================================ */
:root {
  --blue:       #2B4A9B;
  --blue-dk:    #1E3578;
  --blue-md:    #3A5BBF;
  --blue-lt:    #EEF2FB;
  --blue-pale:  #F5F7FD;
  --red:        #E8453C;
  --red-dk:     #C93029;
  --white:      #FFFFFF;
  --off:        #F8F9FC;
  --g50:        #F3F5FA;
  --g100:       #E6EAEF;
  --g200:       #CDD5E0;
  --g400:       #94A3B8;
  --g600:       #64748B;
  --g800:       #2D3A4A;
  --g900:       #1A2236;
  --txt:        #141C3A;
  --body:       #3D4F6A;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --fh: 'Merriweather', Georgia, serif;
  --fb: 'Open Sans', sans-serif;
  --sh1: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh2: 0 4px 16px rgba(43,74,155,.10);
  --sh3: 0 12px 40px rgba(43,74,155,.14);
}

/* ============================================================
   BASE RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1,h2,h3,h4 { font-family: var(--fh); color: var(--txt); line-height: 1.25; font-weight: 700; }
h1  { font-size: clamp(1.75rem, 3.5vw, 2.625rem); }
h2  { font-size: clamp(1.25rem, 2.4vw, 1.875rem); font-weight: 700; }
h3  { font-size: 1.0625rem; font-weight: 700; }
h4  { font-family: var(--fb); font-size: .9375rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.lead { font-size: 1.0625rem; color: var(--muted); line-height: 1.8; max-width: 560px; margin-top: 10px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: .9375rem; font-weight: 600;
  padding: 13px 26px; border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s; white-space: nowrap; line-height: 1;
}
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 2px 8px rgba(43,74,155,.2); }
.btn-blue:hover { background: var(--blue-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(43,74,155,.28); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--txt); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--txt); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; box-shadow: var(--sh2); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--sh3); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ============================================================
   NAV
============================================================ */
.nav-bar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.nav-inner { display: flex; align-items: center; height: 70px; gap: 20px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 2px; }
.nav-links a { font-family: var(--fb); font-size: .9rem; font-weight: 600; color: var(--body); padding: 7px 14px; border-radius: 5px; transition: all .15s; }
.nav-links a:hover { color: var(--blue); background: var(--g50); }
.nav-links .has-drop::after { content: ' ▾'; font-size: .6rem; opacity: .45; }
.nav-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hipaa-tag { display: flex; align-items: center; gap: 5px; background: var(--blue-lt); border: 1px solid #C7D5F5; border-radius: 20px; padding: 5px 11px; font-family: var(--fb); font-size: .72rem; font-weight: 600; color: var(--blue); }
.hipaa-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--blue); border-radius: 2px; }
.mob-nav { display: none; background: #fff; border-top: 1px solid var(--border); padding: 16px 28px 24px; }
.mob-nav.open { display: block; }
.mob-nav a { display: block; padding: 11px 0; font-family: var(--fb); font-size: .95rem; font-weight: 600; color: var(--body); border-bottom: 1px solid var(--g50); }
.mob-nav .btn { margin-top: 14px; width: 100%; justify-content: center; }

/* ============================================================
   HERO
============================================================ */
.hero { background: linear-gradient(160deg, #F0F4FB 0%, #F8F9FC 60%, #FEF0EF 100%); padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='1' cy='1' r='1' fill='%232B4A9B' fill-opacity='0.035'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 55% 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.hero-eyebrow-line { width: 32px; height: 1.5px; background: var(--red); }
.hero-eyebrow span { font-family: var(--fb); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px; max-width: 460px; }
.hero-cta-row { margin-bottom: 40px; }
.hero-divider { width: 48px; height: 1px; background: var(--border); margin-bottom: 24px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hstat-val { font-family: var(--fh); font-size: 1.15rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 3px; }
.hstat-lbl { font-size: .75rem; color: var(--muted); font-weight: 400; }

/* Hero image panel */
.hero-img-panel { position: relative; border-radius: 16px; overflow: visible; aspect-ratio: 4/3; }
.hero-img-panel .main-img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 60px rgba(43,74,155,.16); display: block; }
.hero-img-placeholder { width: 100%; min-height: 340px; border-radius: 16px; background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: rgba(255,255,255,.3); font-family: var(--fb); font-size: .85rem; text-align: center; padding: 32px; box-shadow: 0 20px 60px rgba(43,74,155,.16); }
.hero-img-placeholder svg { width: 52px; height: 52px; opacity: .25; }

/* Floating stat cards */
.hsc { position: absolute; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-radius: 10px; padding: 12px 16px; box-shadow: 0 4px 20px rgba(0,0,0,.12); border: 1px solid rgba(255,255,255,.8); }
.hsc-val { font-family: var(--fh); font-size: 1.2rem; font-weight: 700; color: var(--blue); line-height: 1; }
.hsc-lbl { font-size: .68rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.hsc-live { display: flex; align-items: center; gap: 6px; }
.hsc-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: blink 2s ease infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hsc-1 { top: 20px; left: -20px; }
.hsc-2 { bottom: 20px; right: -16px; }
.hsc-3 { top: 45%; left: -16px; transform: translateY(-50%); }

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar { background: linear-gradient(135deg, var(--blue-dk), var(--blue)); }
.trust-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-cell { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-right: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.trust-cell:last-child { border-right: none; }
.trust-cell:hover { background: rgba(255,255,255,.05); }
.trust-ico { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; opacity: .75; }
.trust-ico img { width: 32px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); }
.trust-ico .fb { font-size: 1.3rem; }
.trust-txt strong { display: block; font-family: var(--fb); font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 2px; line-height: 1.3; }
.trust-txt span { font-family: var(--fb); font-size: .72rem; color: rgba(255,255,255,.48); }

/* ============================================================
   METRICS
============================================================ */
.metrics { background: #fff; }
.metrics-hd { text-align: center; margin-bottom: 56px; }
.metrics-hd h2 { max-width: 520px; margin: 0 auto; }
.metrics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.metric-cell { background: #fff; padding: 32px 28px; position: relative; transition: background .2s; }
.metric-cell:hover { background: var(--blue-pale); }
.metric-cell::after { content: ''; position: absolute; bottom: 0; left: 28px; right: 28px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .3s; transform-origin: left; }
.metric-cell:hover::after { transform: scaleX(1); }
.metric-label { font-family: var(--fb); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; display: block; }
.metric-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.metric-before { font-family: var(--fb); font-size: 1.1rem; font-weight: 400; color: var(--g200); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; line-height: 1; }
.metric-after { font-family: var(--fb); font-size: 1.5rem; font-weight: 600; color: var(--txt); line-height: 1; }
.metric-context { font-size: .78rem; color: var(--muted); line-height: 1.55; padding-top: 10px; border-top: 1px solid var(--g100); font-weight: 400; }

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--off); }
.services-hd { text-align: center; margin-bottom: 40px; }
.tab-row { display: flex; gap: 0; margin-bottom: 40px; border-bottom: 2px solid var(--border); overflow-x: auto; }
.tab-btn { font-family: var(--fb); font-size: .9rem; font-weight: 600; padding: 12px 28px; border: none; background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab-btn:hover { color: var(--blue); }
.tab-btn.on { color: var(--blue); border-bottom-color: var(--blue); }
.tab-content { display: none; }
.tab-content.on { display: block; animation: fadeslide .25s ease; }
@keyframes fadeslide { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
.tab-intro-text { font-size: .95rem; color: var(--muted); text-align: center; margin-bottom: 28px; }
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); max-width: 820px; margin: 0 auto; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.svc-card { background: #fff; padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: background .18s; }
.svc-card:hover { background: var(--blue-lt); }
.svc-ico { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.svc-ico img { width: 28px; height: 28px; object-fit: contain; }
.svc-ico .fb { font-size: 1.1rem; opacity: .55; }
.svc-card h4 { font-size: .9375rem; font-weight: 600; color: var(--txt); margin-bottom: 5px; }
.svc-card p { font-size: .825rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
.svc-more { text-align: center; margin-top: 28px; }
.svc-more a { font-family: var(--fb); font-size: .875rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: gap .18s; }
.svc-more a:hover { gap: 10px; border-color: var(--blue); }

/* ============================================================
   HOW IT WORKS
============================================================ */
.hiw { background: #fff; }
.hiw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.hiw-left {}
.hiw-steps { display: flex; flex-direction: column; margin-top: 32px; }
.hiw-step { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--g100); cursor: pointer; transition: all .2s; }
.hiw-step:last-child { border-bottom: none; }
.hiw-step.on .hs-num { color: var(--blue); border-color: var(--blue); background: var(--blue-lt); }
.hiw-step.on .hs-title { color: var(--blue); }
.hs-num { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: .875rem; font-weight: 700; color: var(--muted); transition: all .25s; margin-top: 2px; }
.hs-title { font-family: var(--fb); font-size: .9375rem; font-weight: 600; color: var(--txt); margin-bottom: 6px; transition: color .2s; }
.hs-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; font-weight: 400; }
.hiw-visual { position: sticky; top: 100px; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; background: linear-gradient(160deg, var(--blue-dk), var(--blue-md)); display: flex; align-items: flex-end; box-shadow: var(--sh3); }
.hiw-vis-content { padding: 32px; position: relative; z-index: 1; }
.hiw-big-num { font-family: var(--fh); font-size: 7rem; font-weight: 900; color: rgba(255,255,255,.07); line-height: 1; position: absolute; top: 20px; right: 24px; }
.hiw-vis-label { font-family: var(--fh); font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.25; }
.hiw-vis-desc { font-family: var(--fb); font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.7; }

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--off); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--blue-dk), var(--blue)); box-shadow: var(--sh3); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-ph { width: 100%; height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,.25); font-family: var(--fb); font-size: .82rem; }
.about-img-ph svg { width: 52px; height: 52px; opacity: .2; }
.about-overlay { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(255,255,255,.96); border-radius: 10px; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; backdrop-filter: blur(8px); box-shadow: var(--sh2); }
.ao .v { font-family: var(--fh); font-size: 1.15rem; font-weight: 700; color: var(--blue); line-height: 1; }
.ao .l { font-family: var(--fb); font-size: .7rem; color: var(--muted); margin-top: 3px; }
.about-copy h2 { margin-bottom: 16px; }
.about-copy p { font-size: .9375rem; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 24px; }
.atag { background: var(--blue-lt); border: 1px solid #C7D5F5; border-radius: 20px; padding: 4px 12px; font-family: var(--fb); font-size: .775rem; font-weight: 600; color: var(--blue); }
.about-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 20px 0 28px; }
.an { padding: 16px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.an:nth-child(2n) { border-right: none; }
.an:nth-child(3),.an:nth-child(4) { border-bottom: none; }
.an .v { font-family: var(--fh); font-size: 1.25rem; font-weight: 700; color: var(--blue); line-height: 1; }
.an .l { font-family: var(--fb); font-size: .72rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   SPECIALTIES
============================================================ */
.specs { background: #fff; }
.spec-hd { text-align: center; margin-bottom: 44px; }
.spec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 32px; }
.spc { background: #fff; padding: 22px 16px; display: flex; align-items: center; gap: 12px; transition: background .18s; cursor: pointer; }
.spc:hover { background: var(--blue-lt); }
.spc-ico { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.spc-ico img { width: 28px; height: 28px; object-fit: contain; }
.spc-ico .fb { font-size: 1.1rem; opacity: .5; }
.spc-name { font-family: var(--fb); font-size: .85rem; font-weight: 600; color: var(--txt); }
.spec-cta { text-align: center; }

/* ============================================================
   MID CTA
============================================================ */
.midcta { background: linear-gradient(135deg, var(--red-dk), var(--red)); padding: 64px 0; }
.midcta-in { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.midcta-in h2 { color: #fff; }
.midcta-in p { color: rgba(255,255,255,.8); font-size: 1rem; margin-top: 8px; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--off); }
.test-hd { text-align: center; margin-bottom: 44px; }
.test-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tc { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: all .22s; }
.tc:hover { box-shadow: var(--sh3); transform: translateY(-2px); }
.tstars { color: #F59E0B; font-size: .85rem; letter-spacing: 3px; margin-bottom: 14px; }
.tq { font-size: .9rem; color: var(--body); line-height: 1.75; font-style: italic; margin-bottom: 20px; position: relative; padding-left: 16px; }
.tq::before { content: '"'; position: absolute; left: 0; top: -6px; font-family: var(--fh); font-size: 2.5rem; color: var(--blue); opacity: .15; line-height: 1; }
.tau { display: flex; align-items: center; gap: 12px; }
.tinit { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-size: .8rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.tai h4 { font-size: .875rem; font-weight: 600; color: var(--txt); margin-bottom: 2px; }
.tai span { font-size: .75rem; color: var(--muted); }
.tout { margin-top: 14px; padding: 8px 12px; background: var(--blue-lt); border-radius: 6px; font-size: .78rem; font-weight: 600; color: var(--blue); border-left: 3px solid var(--blue); }

/* ============================================================
   PRINCIPLES
============================================================ */
.principles { background: linear-gradient(160deg, var(--blue-dk), var(--blue)); }
.prin-top { text-align: center; margin-bottom: 52px; }
.prin-top h2 { color: #fff; }
.prin-top p { color: rgba(255,255,255,.55); font-size: .9375rem; margin-top: 10px; }
.prin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; }
.pc { padding: 30px 26px; transition: background .22s; }
.pc:hover { background: rgba(255,255,255,.05); }
.pnum { font-family: var(--fh); font-size: 2.5rem; font-weight: 900; color: rgba(255,255,255,.07); line-height: 1; margin-bottom: 14px; display: block; }
.pc h3 { font-family: var(--fb); font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.pc p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ============================================================
   BLOG
============================================================ */
.blog { background: #fff; }
.blog-top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); gap: 24px; flex-wrap: wrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 32px; }
.bc { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all .22s; background: #fff; }
.bc:hover { box-shadow: var(--sh3); transform: translateY(-3px); }
.bc-img { height: 148px; background: linear-gradient(135deg, var(--blue-dk), var(--blue-md)); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: rgba(255,255,255,.3); }
.bc-body { padding: 20px; }
.bc-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: 7px; font-family: var(--fb); }
.bc h3 { font-family: var(--fh); font-size: .975rem; font-weight: 700; color: var(--txt); margin-bottom: 10px; line-height: 1.35; }
.bc p { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.bc-meta { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--g50); padding-top: 12px; font-family: var(--fb); }
.bc-read { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; transition: gap .15s; }
.bc-read:hover { gap: 7px; }
.res-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px; background: var(--g50); border-radius: 10px; border: 1px solid var(--border); align-items: center; }
.res-row span { font-family: var(--fb); font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.rl { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 5px 13px; font-family: var(--fb); font-size: .775rem; font-weight: 500; color: var(--body); transition: all .15s; }
.rl:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ============================================================
   FINAL CTA
============================================================ */
.finalcta { background: linear-gradient(160deg, var(--blue-dk), var(--blue)); padding: 88px 0; }
.finalcta-in { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.finalcta-in h2 { color: #fff; }
.finalcta-in p { color: rgba(255,255,255,.65); font-size: 1rem; margin-top: 8px; max-width: 440px; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: #0B1220; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 36px; margin-bottom: 48px; }
.fl img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .75; margin-bottom: 16px; display: block; }
.fl p { font-family: var(--fb); font-size: .83rem; color: rgba(255,255,255,.38); line-height: 1.65; max-width: 195px; margin-bottom: 18px; }
.fl-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.fbadge { border: 1px solid rgba(255,255,255,.12); border-radius: 4px; padding: 4px 9px; font-family: var(--fb); font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.38); }
.fc h5 { font-family: var(--fb); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25); margin-bottom: 14px; }
.fc ul li { margin-bottom: 9px; }
.fc ul li a { font-family: var(--fb); font-size: .84rem; color: rgba(255,255,255,.48); transition: color .15s; }
.fc ul li a:hover { color: #fff; }
.fbot { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.fbot p { font-family: var(--fb); font-size: .78rem; color: rgba(255,255,255,.25); }
.fbot-links { display: flex; gap: 18px; }
.fbot-links a { font-family: var(--fb); font-size: .78rem; color: rgba(255,255,255,.25); transition: color .15s; }
.fbot-links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media(max-width:1024px){
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .midcta-in { grid-template-columns: 1fr; gap: 24px; }
  .finalcta-in { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
  .fl { grid-column: 1/-1; }
}
@media(max-width:768px){
  .section { padding: 60px 0; }
  .nav-links,.hipaa-tag,.nav-end .btn { display: none; }
  .burger { display: flex; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .metrics-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2,1fr); }
  .test-grid,.blog-grid { grid-template-columns: 1fr; }
  .prin-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta-row { display: flex; flex-direction: column; align-items: flex-start; }
  .hsc-3 { display: none; }
}
