/* Seamless Integration Group - static site styles
   Palette and type carried over from the WordPress "Seamless Healthcare" theme. */
:root {
  --bg-hero: #141D28;
  --bg-navy: #1B2631;
  --bg-charcoal: #1E2022;
  --bg-light: #FDFEFE;
  --text-dark: #3A3A3A;
  --text-muted-dark: #5b6168;
  --text-light: #FDFEFE;
  --text-muted-light: #A0AAB5;
  --gold: #FCCB01;
  --orange: #FFAE0B;
  --line-dark: rgba(255,255,255,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-light);
  background: var(--bg-hero);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg-hero); padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(30,32,34,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-light); }
.brand img { height: 42px; width: auto; }
.brand .wordmark { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: .02em; }
.brand .wordmark span { color: var(--gold); }
.brand.has-logo .wordmark { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav a { color: var(--text-light); font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--text-light); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 76px 0 auto 0; background: var(--bg-charcoal); border-bottom: 1px solid var(--line-dark); display: none; }
  .menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 2px; }
  .main-nav a { display: block; padding: 12px 8px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--orange); color: var(--bg-hero); box-shadow: 0 10px 30px rgba(255,174,11,.2); }
.btn-primary:hover { color: var(--bg-hero); background: var(--gold); }
.btn-secondary { background: transparent; border-color: var(--text-light); color: var(--text-light); }
.btn-secondary:hover { background: var(--text-light); color: var(--bg-hero); }
.btn-nav { background: var(--gold); color: var(--bg-hero); padding: 10px 20px; }
.btn-nav:hover { color: var(--bg-hero); background: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
.section-navy { background: var(--bg-navy); }
.section-charcoal { background: var(--bg-charcoal); }
.section-hero { background: var(--bg-hero); }
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-light .muted { color: var(--text-muted-dark); }
.glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(252,203,1,.09), transparent 55%);
}
.grid-bg {
  background-color: var(--bg-navy);
  background-image:
    linear-gradient(rgba(253,254,254,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253,254,254,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.lead { font-size: 1.2rem; color: var(--text-muted-light); max-width: 760px; }
.section-light .lead { color: var(--text-muted-dark); }
.muted { color: var(--text-muted-light); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 56px; }
.accent { color: var(--gold); }

/* Hero */
.hero { padding: 130px 0 110px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { margin-bottom: 34px; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(252,203,1,.35); border-radius: 50px; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 22px; background: rgba(252,203,1,.06); }
.badge-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #50d890; box-shadow: 0 0 0 4px rgba(80,216,144,.2); }
.shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px rgba(0,0,0,.45); background: var(--bg-navy); }
.shot.has-img .shot-fallback { display: none; }
.shot-fallback { aspect-ratio: 16/10; display: grid; place-items: center; padding: 30px; background: linear-gradient(145deg, #1B2631, #141D28); }
.page-hero { padding: 120px 0 80px; }
.page-hero h1 { max-width: 900px; }

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 32px; position: relative; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(252,203,1,.3); }
.card p:last-child { margin-bottom: 0; }
.card .muted { font-size: .98rem; }
.section-light .card { background: #fff; border-color: #eceef0; box-shadow: 0 10px 30px rgba(20,29,40,.06); color: var(--text-dark); }
.section-light .card p { color: #555; }
.card-stripe::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(to bottom, var(--orange), var(--gold)); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(252,203,1,.1); color: var(--gold); margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; }
.section-light .icon { background: rgba(255,174,11,.12); color: #c98500; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line-dark); }
.section-light .checklist li { border-color: #eceef0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: rgba(80,216,144,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350d890' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist.bad li::before { background: rgba(240,84,84,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f05454' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/11px no-repeat; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .card.bad { border-top: 3px solid #f05454; }
.compare .card.good { border-top: 3px solid #50d890; }

/* Connection diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
.flow-col { display: grid; gap: 12px; }
.chip { padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); font-weight: 600; font-size: .92rem; text-align: center; }
.chip.core { background: linear-gradient(135deg, rgba(252,203,1,.18), rgba(255,174,11,.08)); border-color: rgba(252,203,1,.45); color: var(--gold); padding: 34px 18px; font-family: var(--font-head); font-size: 1.4rem; }
.flow-arrow { color: var(--gold); font-size: 1.6rem; text-align: center; }
.mapper { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid var(--line-dark); font-size: .88rem; }
.mapper .ok { color: #50d890; font-weight: 600; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 34px 28px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); }
.stat .num { font-family: var(--font-head); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.stat .label { font-weight: 600; margin-bottom: 8px; }
.stat p { color: var(--text-muted-light); font-size: .95rem; margin: 0; }
.footnote { font-size: .82rem; color: var(--text-muted-light); margin-top: 22px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .inner { max-width: 820px; margin: 0 auto; padding: 70px 40px; border-radius: 24px; background: linear-gradient(135deg, rgba(252,203,1,.12), rgba(255,174,11,.04)); border: 1px solid rgba(252,203,1,.25); }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* Team */
.team { display: grid; gap: 40px; }
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 44px; border-radius: var(--radius-lg); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.profile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--orange), var(--gold)); }
.avatar { width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(145deg, #243241, #141D28); display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .initials { font-family: var(--font-head); font-size: 4.5rem; color: var(--gold); }
.avatar.has-img .initials { display: none; }
.profile .role { color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.profile .beyond { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.profile .beyond h4 { color: var(--gold); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-body); }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); color: var(--text-light); transition: transform .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(252,203,1,.35); color: var(--text-light); }
.post-meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.post-card h3 { font-size: 1.4rem; }
.post-card p { color: var(--text-muted-light); font-size: .96rem; flex: 1; }
.post-card .more { font-weight: 600; font-size: .88rem; color: var(--gold); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button { background: transparent; border: 1px solid var(--line-dark); color: var(--text-muted-light); padding: 8px 16px; border-radius: 50px; font: inherit; font-size: .85rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--gold); color: var(--bg-hero); border-color: var(--gold); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-body { background: var(--bg-light); color: var(--text-dark); }
.article-body h2 { font-size: 1.8rem; margin-top: 1.8em; color: var(--bg-hero); }
.article-body h3 { margin-top: 1.5em; color: var(--bg-hero); }
.article-body a { color: #b77900; text-decoration: underline; }
.article-body ul { padding-left: 1.2em; } .article-body li { margin-bottom: .5em; }
.article-body blockquote { margin: 2em 0; padding: 24px 28px; border-left: 4px solid var(--orange); background: #fff7e3; border-radius: 0 12px 12px 0; font-family: var(--font-head); font-size: 1.3rem; }
.article-body blockquote cite { display: block; font-family: var(--font-body); font-size: .85rem; font-style: normal; margin-top: 8px; color: #777; }
.byline { display: flex; align-items: center; gap: 14px; color: var(--text-muted-light); font-size: .95rem; }
.byline strong { color: var(--text-light); }
.author-box { margin-top: 48px; padding: 26px; border-radius: 12px; background: #fff; border: 1px solid #eceef0; display: flex; gap: 18px; align-items: flex-start; }
.author-box .avatar { width: 64px; flex: none; border-radius: 50%; }
.author-box .avatar .initials { font-size: 1.4rem; }
.back-link { display: inline-block; margin-top: 30px; font-weight: 600; }

/* Forms */
.form-card { padding: 40px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-light); }
input, select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25); color: var(--text-light); font: inherit; font-size: 1rem;
}
select option { color: #111; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(252,203,1,.15); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #50d890; } .form-status.err { color: #f08080; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--text-muted-light); }
.check-row input { width: auto; margin-top: 5px; }

/* Legal */
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--bg-hero); }

/* Video */
.video-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 40px 80px rgba(0,0,0,.4); background: #000; }

/* Footer */
.site-footer { background: var(--bg-charcoal); padding: 80px 0 34px; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h5 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--text-muted-light); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-muted-light); font-size: .85rem; }
.social { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); align-items: center; justify-content: center; margin-top: 18px; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover, .card:hover { transform: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .cards-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .hero { padding: 90px 0 80px; }
  .hero .grid, .split, .compare, .cards-2, .cards-3, .posts { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .profile .avatar { max-width: 260px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .cards-4, .stats, .footer-grid { grid-template-columns: 1fr; }
  .form-card, .cta-band .inner { padding: 28px 20px; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
