/*
Theme Name: Healthcare Sandbox
Theme URI: https://healthcaresandbox.com
Description: Healthcare Sandbox child theme for Kadence (v2). Gutenberg + Kadence Blocks enabled. Photos auto-import into Media Library on activation. Each page is built from a Block Pattern that any editor can insert and modify.
Author: Healthcare Sandbox / MedCall
Author URI: https://medcall.com
Template: kadence
Version: 2.3.1
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: healthcare-sandbox
*/

:root {
  --navy: #0F2A47;
  --navy-deep: #081A2E;
  --navy-soft: #1A3A5C;
  --teal: #20B584;
  --teal-dark: #1A8F6E;
  --teal-light: #E8F8F2;
  --blue: #2C73D2;
  --blue-light: #EAF1FB;
  --white: #FFFFFF;
  --bg-alt: #F7F9FC;
  --border: #E4E9F0;
  --border-strong: #CBD4E0;
  --text: #0F2A47;
  --text-muted: #4A5B72;
  --text-light: #7A8AA0;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hcs {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.hcs h1, .hcs h2, .hcs h3, .hcs h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-family: 'Manrope', sans-serif;
}
.hcs h1 { font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.hcs h2 { font-size: clamp(28px, 3.5vw, 42px); }
.hcs h3 { font-size: clamp(20px, 2vw, 26px); }
.hcs h4 { font-size: 17px; font-weight: 600; }
.hcs p { margin: 0 0 1em; max-width: 64ch; }
.hcs p:last-child { margin-bottom: 0; }
.hcs strong { font-weight: 700; color: var(--navy); }
.hcs a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
.hcs a:hover { color: var(--teal-dark); }
.hcs .mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* Header */
.hcs-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px var(--gutter);
}
.hcs-header-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hcs-logo { flex-shrink: 0; display: flex; align-items: center; gap: 11px; text-decoration: none; }
.hcs-logo img { height: 44px; width: auto; display: block; }
.hcs-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.hcs-nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; transition: all 0.15s ease; white-space: nowrap; text-decoration: none; }
.hcs-nav a:hover { color: var(--navy); background: var(--bg-alt); }
.hcs-nav a.active { color: var(--navy); background: var(--bg-alt); font-weight: 600; }
.hcs-header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hcs-header-cta .hcs-facility-link { color: var(--text-muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 6px; text-decoration: none; }
.hcs-header-cta .hcs-facility-link:hover { color: var(--blue); background: var(--blue-light); }

/* Buttons */
.hcs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; font-family: 'Manrope', sans-serif;
  font-size: 14.5px; font-weight: 600; border-radius: 8px;
  border: none; cursor: pointer; transition: all 0.15s ease;
  text-decoration: none; line-height: 1;
}
.hcs-btn-primary { background: var(--navy-deep); color: #fff !important; }
.hcs-btn-primary:hover { background: var(--navy); color: #fff !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(8,26,46,0.30); }
.hcs-btn-secondary { background: var(--white); color: var(--navy); border: 1.5px solid var(--border-strong); }
.hcs-btn-secondary:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-1px); }
.hcs-btn-sm { padding: 9px 16px; font-size: 13.5px; }
.hcs-btn .hcs-arrow { transition: transform 0.18s ease; }
.hcs-btn:hover .hcs-arrow { transform: translateX(3px); }

/* Hero */
.hcs-hero { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(50px, 7vw, 80px); }
.hcs-hero-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hcs-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--teal-light); color: var(--teal-dark); padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-bottom: 22px; }
.hcs-pill .hcs-dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: hcs-pulse 2.2s ease-in-out infinite; }
@keyframes hcs-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hcs-hero-text h1 { margin-bottom: 22px; }
.hcs-hero-text h1 .hcs-accent { color: var(--teal); }
.hcs-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--text-muted); max-width: 56ch; margin-bottom: 32px; }
.hcs-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hcs-hero-photo { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,42,71,0.12); aspect-ratio: 4 / 5; }
.hcs-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcs-hero-badge { position: absolute; bottom: 24px; left: 24px; background: rgba(15,42,71,0.92); color: var(--white); padding: 16px 20px; border-radius: 12px; backdrop-filter: blur(8px); max-width: 250px; }
.hcs-hero-badge .hcs-b-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; font-weight: 600; }
.hcs-hero-badge .hcs-b-num { font-size: 36px; font-weight: 800; line-height: 1; color: var(--white); letter-spacing: -0.03em; margin-bottom: 8px; }
.hcs-hero-badge .hcs-b-cap { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* Trust badges row */
.hcs-trust-badges { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px var(--gutter); }
.hcs-trust-badges-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hcs-trust-badges-inner img { width: 100%; height: auto; display: block; }

/* Sections */
.hcs-block { padding: clamp(70px, 8vw, 110px) var(--gutter); }
.hcs-block.alt { background: var(--bg-alt); }
.hcs-block.dark { background: var(--navy); color: var(--white); }
.hcs-block.dark h2, .hcs-block.dark h3 { color: var(--white); }
.hcs-block-inner { max-width: var(--maxw); margin: 0 auto; }
.hcs-block-inner.narrow { max-width: 880px; }
.hcs-eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin-bottom: 14px; }
.hcs-block.dark .hcs-eyebrow { color: var(--teal); }
.hcs-sec-header { margin-bottom: 48px; max-width: 760px; }
.hcs-sec-header h2 { margin-bottom: 14px; }
.hcs-sec-header p { font-size: 17px; color: var(--text-muted); }

/* Stat cards */
.hcs-stat-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.hcs-stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px; transition: all 0.2s ease; }
.hcs-stat-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15,42,71,0.06); }
.hcs-stat-num { font-size: clamp(40px, 4.5vw, 56px); font-weight: 800; color: var(--navy); letter-spacing: -0.04em; line-height: 1; margin-bottom: 10px; }
.hcs-stat-num .hcs-unit { font-size: 0.45em; color: var(--text-muted); font-weight: 600; }
.hcs-stat-label { font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }

/* Steps with SVG icons */
.hcs-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hcs-step-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 26px; transition: all 0.2s ease; }
.hcs-step-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15,42,71,0.08); border-color: var(--teal); }
.hcs-step-card .hcs-icon { width: 72px; height: 72px; margin-bottom: 18px; }
.hcs-step-card .hcs-icon img { width: 100%; height: 100%; display: block; }
.hcs-step-num { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.1em; color: var(--teal-dark); font-weight: 600; margin-bottom: 8px; }
.hcs-step-card h4 { margin-bottom: 8px; }
.hcs-step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Audience cards */
.hcs-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hcs-audience-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all 0.2s ease; }
.hcs-audience-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15,42,71,0.08); }
.hcs-audience-card .hcs-photo { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.hcs-audience-card .hcs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcs-audience-card .hcs-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,42,71,0.65) 100%); }
.hcs-audience-card .hcs-tag { position: absolute; top: 18px; left: 18px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); font-weight: 600; background: var(--teal); padding: 5px 11px; border-radius: 999px; z-index: 1; }
.hcs-audience-card.facility .hcs-tag { background: var(--blue); }
.hcs-audience-card .hcs-content { padding: 28px 30px 32px; }
.hcs-audience-card h3 { margin-bottom: 12px; }
.hcs-audience-card p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 20px; }

/* Why section */
.hcs-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hcs-why-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; position: relative; }
.hcs-why-photo img { width: 100%; height: 100%; object-fit: cover; }
.hcs-why-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,42,71,0.15), transparent); }
.hcs-why-list { list-style: none; padding: 0; margin: 0; }
.hcs-why-list li { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); display: grid; grid-template-columns: 36px 1fr; gap: 18px; }
.hcs-why-list li:last-child { border-bottom: none; }
.hcs-why-list .hcs-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--teal); font-weight: 600; padding-top: 2px; }
.hcs-why-list h4 { color: var(--white); font-size: 18px; margin-bottom: 6px; }
.hcs-why-list p { color: rgba(255,255,255,0.72); font-size: 15px; margin: 0; }

/* CTA */
.hcs-cta-strip { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 90px) var(--gutter); position: relative; overflow: hidden; }
.hcs-cta-strip::before { content: ''; position: absolute; top: 0; right: 0; width: 500px; height: 500px; background: radial-gradient(circle at top right, rgba(32,181,132,0.3), transparent 60%); pointer-events: none; }
.hcs-cta-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hcs-cta-strip h2 { color: var(--white); max-width: 18ch; margin-bottom: 14px; }
.hcs-cta-strip h2 .hcs-accent { color: var(--teal); }
.hcs-cta-strip p { color: rgba(255,255,255,0.78); max-width: 50ch; font-size: 17px; margin: 0; }

/* Photo band */
.hcs-photo-band { height: clamp(260px, 38vw, 460px); overflow: hidden; position: relative; }
.hcs-photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcs-photo-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,71,0.05) 0%, rgba(15,42,71,0.55) 100%); }
.hcs-photo-band .hcs-caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; max-width: var(--maxw); margin: 0 auto; color: var(--white); z-index: 1; }
.hcs-photo-band .hcs-ctag { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--white); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }
.hcs-photo-band h3 { color: var(--white); max-width: 24ch; }

/* Hero inner page */
.hcs-hero-inner-page { padding: clamp(50px, 6vw, 80px) var(--gutter); background: linear-gradient(180deg, var(--bg-alt), var(--white)); }
.hcs-hero-inner-page .hcs-hero-inner-narrow { max-width: var(--maxw); margin: 0 auto; }
.hcs-hero-inner-page h1 { max-width: 22ch; margin-bottom: 20px; font-size: clamp(34px, 4.5vw, 54px); }
.hcs-hero-inner-page h1 .hcs-accent { color: var(--teal); }
.hcs-hero-inner-page .hcs-lede { font-size: 17px; color: var(--text-muted); max-width: 60ch; }

/* Body */
.hcs-body-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; }
.hcs-side-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-muted); line-height: 1.7; padding: 24px; background: var(--bg-alt); border-radius: 12px; position: sticky; top: 100px; align-self: start; }
.hcs-side-meta strong { display: block; color: var(--navy); font-weight: 700; margin-bottom: 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.hcs-side-meta hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.hcs-body-content { min-width: 0; }
.hcs-body-content h2 { margin: 40px 0 14px; }
.hcs-body-content h2:first-child { margin-top: 0; }
.hcs-body-content h3 { margin: 32px 0 12px; }
.hcs-body-content p { font-size: 16.5px; color: var(--text); line-height: 1.65; }

/* Lists */
ul.hcs-list { list-style: none; padding: 0; margin: 0 0 20px; }
ul.hcs-list li { position: relative; padding: 10px 0 10px 28px; font-size: 16px; border-bottom: 1px solid var(--border); }
ul.hcs-list li:last-child { border-bottom: none; }
ul.hcs-list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; background: var(--teal); border-radius: 1px; }

/* Tables */
table.hcs-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
table.hcs-table th, table.hcs-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.hcs-table th { background: var(--bg-alt); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
table.hcs-table tr:last-child td { border-bottom: none; }
table.hcs-table tr.highlight td { background: var(--teal-light); color: var(--navy); font-weight: 600; }

/* Compensation tiers */
.hcs-comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.hcs-comp-tier { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px 26px; }
.hcs-comp-tier.recurring { border-color: var(--blue); background: var(--blue-light); }
.hcs-tier-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin-bottom: 12px; }
.hcs-comp-tier.recurring .hcs-tier-label { color: var(--blue); }
.hcs-comp-tier h4 { font-size: 18px; margin-bottom: 12px; }
.hcs-amount { font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 14px; }
.hcs-comp-tier p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }
.hcs-comp-meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-muted); line-height: 1.6; }
.hcs-comp-meta strong { color: var(--navy); font-weight: 600; }

/* Compare */
.hcs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.hcs-compare-col { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px 26px; }
.hcs-compare-col.us { background: var(--navy); color: var(--white); border-color: var(--navy); }
.hcs-compare-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 18px; }
.hcs-compare-col.us h4 { color: var(--teal); }
.hcs-compare-col ul { list-style: none; padding: 0; margin: 0; }
.hcs-compare-col li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.hcs-compare-col li:last-child { border-bottom: none; }
.hcs-compare-col.us li { border-bottom-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.92); }

/* FAQ */
.hcs-faq-list { border-top: 1px solid var(--border); }
.hcs-faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.hcs-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--navy); }
.hcs-faq-q::after { content: '+'; color: var(--teal); font-size: 22px; }
.hcs-faq-item.open .hcs-faq-q::after { content: '−'; }
.hcs-faq-a { margin-top: 12px; color: var(--text-muted); font-size: 15.5px; display: none; max-width: 70ch; }
.hcs-faq-item.open .hcs-faq-a { display: block; }
.hcs-faq-group { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin: 48px 0 16px; }
.hcs-faq-group:first-child { margin-top: 0; }

/* Highlight box */
.hcs-highlight { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; padding: 22px 28px; margin: 28px 0; }
.hcs-h-label { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-dark); font-weight: 600; margin-bottom: 8px; }
.hcs-highlight p { color: var(--navy); font-size: 16px; margin: 0; max-width: none; }

/* Friction badge */
.hcs-friction { display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-muted); margin: 16px 0; }
.hcs-friction .hcs-f-num { color: var(--teal-dark); font-weight: 700; font-size: 16px; }

/* Form */
.hcs-form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(15,42,71,0.05); }
.hcs-form-info { background: var(--navy); color: var(--white); padding: 40px 36px; }
.hcs-form-info h3 { color: var(--white); margin-bottom: 16px; }
.hcs-form-info p { color: rgba(255,255,255,0.75); font-size: 14.5px; }
.hcs-form-info ol { padding-left: 0; margin: 22px 0; list-style: none; counter-reset: stp; }
.hcs-form-info ol li { counter-increment: stp; padding: 10px 0 10px 36px; position: relative; color: rgba(255,255,255,0.88); font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hcs-form-info ol li:last-child { border-bottom: none; }
.hcs-form-info ol li::before { content: counter(stp, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--teal); font-weight: 600; }
.hcs-form-info ol li strong { color: var(--teal); }
.hcs-form-fields { padding: 40px 36px; }
.hcs-form-fields h3 { margin-bottom: 6px; }
.hcs-form-row { margin-bottom: 18px; }
.hcs-form-row label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.hcs-form-row input, .hcs-form-row select, .hcs-form-row textarea { width: 100%; padding: 11px 14px; font-family: 'Manrope', sans-serif; font-size: 15px; color: var(--navy); background: var(--white); border: 1.5px solid var(--border-strong); border-radius: 8px; }
.hcs-form-row input:focus, .hcs-form-row select:focus, .hcs-form-row textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32,181,132,0.15); }
.hcs-form-row textarea { resize: vertical; min-height: 80px; }
.hcs-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hcs-form-check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; padding: 14px 16px; background: var(--bg-alt); border-radius: 8px; font-size: 13px; color: var(--text-muted); }

/* Story */
.hcs-story-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; margin: 24px 0; overflow: hidden; }
.hcs-story-card .hcs-photo { aspect-ratio: 16/9; }
.hcs-story-card .hcs-photo img { width: 100%; height: 100%; object-fit: cover; }
.hcs-story-card .hcs-content { padding: 28px 32px 32px; }
.hcs-story-meta { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.hcs-story-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-weight: 600; }
.hcs-story-tag.fresh { color: var(--teal-dark); border-color: var(--teal); background: var(--teal-light); }
.hcs-story-card h3 { margin-bottom: 18px; font-size: 22px; }
.hcs-story-row { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; }
.hcs-story-row:last-of-type { border-bottom: 1px solid var(--border); }
.hcs-skey { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; padding-top: 2px; }

/* Blog */
.hcs-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hcs-blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all 0.2s ease; text-decoration: none; color: inherit; display: block; }
.hcs-blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,42,71,0.08); color: inherit; }
.hcs-blog-card .hcs-photo { aspect-ratio: 16/10; overflow: hidden; }
.hcs-blog-card .hcs-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hcs-blog-card:hover .hcs-photo img { transform: scale(1.04); }
.hcs-blog-card .hcs-content { padding: 22px 24px 26px; }
.hcs-b-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin-bottom: 10px; display: block; }
.hcs-blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.hcs-blog-card p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 16px; }
.hcs-blog-meta { display: flex; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-light); }

/* IL map block */
.hcs-il-map-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hcs-il-map-img { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.hcs-il-map-img img { width: 100%; height: auto; display: block; }

/* Heritage gallery */
.hcs-heritage { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin: 32px 0; }
.hcs-heritage .hcs-h-main { aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; }
.hcs-heritage .hcs-h-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hcs-heritage .hcs-h-stack > div { border-radius: 14px; overflow: hidden; }
.hcs-heritage img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer */
.hcs-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px var(--gutter) 32px; }
.hcs-footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hcs-footer-brand img { height: 60px; margin-bottom: 18px; display: block; background: white; padding: 8px 12px; border-radius: 8px; }
.hcs-footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 32ch; }
.hcs-footer h5 { color: var(--white); font-size: 13px; font-weight: 700; margin: 0 0 14px; }
.hcs-footer ul { list-style: none; padding: 0; margin: 0; }
.hcs-footer li { padding: 5px 0; font-size: 14px; }
.hcs-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.hcs-footer a:hover { color: var(--teal); }
.hcs-footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,0.45); font-family: 'JetBrains Mono', monospace; }

/* Mobile */
.hcs-hero-cta-mobile { display: none; }
.hcs-menu-toggle { display: none; background: var(--navy); color: var(--white); border: none; padding: 10px 16px; border-radius: 8px; font-family: 'Manrope', sans-serif; font-size: 14px; cursor: pointer; }
.hcs-mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 12px var(--gutter); flex-direction: column; gap: 4px; }
.hcs-mobile-menu.open { display: flex; }
.hcs-mobile-menu a { padding: 12px 14px; color: var(--navy); font-size: 15px; font-weight: 500; text-decoration: none; }
.hcs-mobile-cta { background: var(--teal); color: var(--white) !important; text-align: center; border-radius: 6px; }

@media (max-width: 1100px) {
  .hcs-nav { display: none; }
  .hcs-header-cta { display: none; }
  .hcs-menu-toggle { display: block; }
  .hcs-hero-cta-mobile { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; padding: 15px 26px; background: var(--blue); color: var(--white) !important; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 16px; border-radius: 10px; text-decoration: none; width: 100%; box-sizing: border-box; }
  .hcs-hero-cta-mobile:hover { background: var(--navy); color: var(--white) !important; }
  .hcs-hero-inner, .hcs-why-grid, .hcs-il-map-block { grid-template-columns: 1fr; gap: 32px; }
  .hcs-stat-row, .hcs-steps { grid-template-columns: 1fr 1fr; }
  .hcs-trust-badges-inner { grid-template-columns: 1fr 1fr; }
  .hcs-body-layout { grid-template-columns: 1fr; gap: 28px; }
  .hcs-side-meta { position: static; }
  .hcs-footer-grid { grid-template-columns: 1fr 1fr; }
  .hcs-blog-grid { grid-template-columns: 1fr 1fr; }
  .hcs-heritage { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hcs-stat-row, .hcs-steps, .hcs-audience-grid, .hcs-comp-grid, .hcs-compare, .hcs-form-grid, .hcs-blog-grid, .hcs-trust-badges-inner { grid-template-columns: 1fr; }
  .hcs-form-wrap { grid-template-columns: 1fr; }
  .hcs-cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .hcs-footer-grid { grid-template-columns: 1fr; }
  .hcs-story-row { grid-template-columns: 1fr; }
}
::selection { background: var(--teal); color: var(--white); }

/* ==========================================================================
   v2.0.0 -> v2.1.8 DELTA (reconstructed 2026-07-09 from project memory)
   Net-final override values. Consolidated, not replayed round-by-round.
   ========================================================================== */

/* Type scale bump */
body.hcs { font-size: 17px; }
.hcs h1 { font-size: clamp(38px, 4.6vw, 56px); }
.hcs h2 { font-size: clamp(28px, 3.2vw, 38px); }
.hcs-eyebrow { font-size: 15px; }
.hcs-sec-header p { font-size: 18px; }
.hcs-lede { font-size: clamp(17px, 1.4vw, 19px); }
.hcs-block p { font-size: 18px; }
.hcs-body-content p { font-size: 18px; }
ul.hcs-list li { font-size: 18px; }
.hcs-footer li, .hcs-footer a { font-size: 15px; }

/* Logo lockup (mark + wordmark) */
.hcs-logo img { height: 44px; }
.hcs-logo-word { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.hcs-footer-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 18px; }
.hcs-footer-logo img { height: 58px; width: auto; display: block; background: none; padding: 0; border-radius: 0; margin: 0; }
.hcs-footer-logo span { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--white); width: min-content; white-space: normal; }

/* Section rhythm */
.hcs-block { padding: clamp(56px, 6.5vw, 84px) var(--gutter); }
.hcs-block.alt { background: #EAF2FA; }

/* FAQ readability */
.hcs-faq-group { font-size: 23px; text-transform: none; letter-spacing: 0; }
.hcs-faq-q { font-size: 19px; }
.hcs-faq-a { font-size: 17.5px; }

/* CTA strip: centered single column, white-outline button */
.hcs-cta-strip { padding: clamp(40px, 5vw, 64px) var(--gutter); }
.hcs-cta-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
.hcs-cta-strip h2 { max-width: 26ch; }
.hcs-cta-strip p { font-size: 19px; max-width: 60ch; }
.hcs-cta-strip .hcs-btn-primary { border: 2px solid var(--white); font-size: 20px; padding: 18px 48px; }
.hcs-cta-strip .hcs-btn-primary:hover { background: var(--white) !important; color: var(--navy) !important; border-color: var(--white); }

/* Stronger card hover lift */
.hcs-stat-card:hover, .hcs-step-card:hover, .hcs-audience-card:hover, .hcs-comp-tier:hover, .hcs-compare-col:hover, .hcs-story-card:hover, .hcs-blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(15,42,71,0.10); }

/* Embedded form full width */
.hcs-form-fields .hcs-form-wrap { display: block; }
.hcs-form-fields .ep-iFrameContainer, .hcs-form-fields .ep-wrapper { width: 100%; }

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

/* ===== v2.2.0 fixes ===== */
/* Fix body-layout crush: pages using .hcs-body-layout without a side-meta
   were rendering content in a 220px track. Collapse to full-width. */
.hcs-body-layout:not(:has(.hcs-side-meta)) { grid-template-columns: 1fr; gap: 0; }

/* Submit a Lead CTA: blue background, white text (header + mobile) */
.hcs-header-cta .hcs-btn-primary { background: var(--navy-deep); color: var(--white); }
.hcs-header-cta .hcs-btn-primary:hover { background: var(--navy); color: var(--white); }
.hcs-mobile-cta { background: var(--navy-deep) !important; color: var(--white) !important; }


/* ===== v2.2.6: center + constrain inner-page content column (fixes ballooned photos on How It Works / About) ===== */
.hcs-body-layout:not(:has(.hcs-side-meta)) .hcs-body-content { max-width: 760px; margin-left: auto; margin-right: auto; }


/* ===== v2.3.0: About location squares + mobile hardening + photo-band eyebrow white ===== */
/* About: two MedCall locations as side-by-side square cards */
.hcs-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px auto; max-width: 760px; }
.hcs-addr-card { background: #F4F7FB; border: 1px solid #E2E8F0; border-radius: 16px; padding: 34px 28px; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hcs-addr-card p { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--text); }
.hcs-addr-card strong, .hcs-addr-card b { display: block; margin-bottom: 10px; font-size: 17.5px; color: var(--navy); }

/* Mobile hardening: beat any inline grid-template-columns so nothing forces horizontal scroll on phones/tablets */
img { max-width: 100%; height: auto; }
@media (max-width: 1100px) {
  .hcs-hero-inner, .hcs-why-grid, .hcs-il-map-block, .hcs-heritage, .hcs-body-layout { grid-template-columns: 1fr !important; }
  .hcs-steps, .hcs-stat-row, .hcs-trust-badges-inner, .hcs-blog-grid, .hcs-footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 700px) {
  .hcs-steps, .hcs-stat-row, .hcs-audience-grid, .hcs-comp-grid, .hcs-compare,
  .hcs-form-grid, .hcs-blog-grid, .hcs-trust-badges-inner, .hcs-form-wrap,
  .hcs-cta-inner, .hcs-footer-grid, .hcs-story-row, .hcs-addr-grid { grid-template-columns: 1fr !important; }
  .hcs-addr-card { aspect-ratio: auto; padding: 26px 22px; }
}
