/* Reusable components — add page-specific blocks here, never inline */

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid #eef2f6; }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); }
.brand img { height: 58px; width: auto; }
.brand span { font-size: 20px; white-space: nowrap; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 700; color: #31445c; list-style: none; margin: 0; padding: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--grad-brand); color: #fff; }
.nav-links .nav-cta:hover { color: #fff; opacity: .92; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 14px 21px; border-radius: var(--radius-sm); font-weight: 800; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(15,123,220,.24); }
.btn--secondary { border: 1px solid #b9c9da; background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); white-space: nowrap; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero */
.hero { overflow: hidden; background: radial-gradient(circle at 80% 10%, rgba(255,190,0,.18), transparent 28%), radial-gradient(circle at 5% 75%, rgba(15,123,220,.12), transparent 32%), linear-gradient(180deg, #fff, #f8fbff); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; padding: 64px 0; }
.hero-card { position: relative; isolation: isolate; background: #fff; border: 1px solid #ebf0f5; border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.hero-card::after { content: ''; position: absolute; right: -35px; bottom: -35px; width: 155px; height: 155px; border-radius: 50%; background: linear-gradient(135deg, rgba(245,124,0,.18), rgba(255,176,0,.05)); z-index: -1; }
.hero-card img { width: 100%; }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; margin: 32px 0 0; padding: 0; list-style: none; color: #566a81; font-size: 14px; font-weight: 700; }
.trust-row li::before { content: '✓'; color: var(--green); margin-right: 7px; font-weight: 900; }
/* Inner-page header (use on every page except Home) */
.page-hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff, var(--soft)); text-align: center; }
.page-hero h1 { font-size: 46px; }
.page-hero .lead { margin-inline: auto; }

/* Cards */
.card { background: #fff; border: 1px solid #e7edf3; border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(12,44,78,.1); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #fff; margin-bottom: 18px; background: var(--grad-brand); }
.icon--warm { background: var(--grad-warm); }
.icon--green { background: var(--grad-green); }

.step { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid #e6edf4; }
.step h3 { font-size: 24px; margin: 7px 0 9px; }
.step p { color: var(--muted); margin: 0; }
.num { font-size: 13px; font-weight: 900; color: var(--orange); letter-spacing: 1px; }
.model { padding: 24px; border: 1px solid #e2eaf2; border-radius: var(--radius); background: #fff; }
.model h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.model p { font-size: 14px; color: var(--muted); margin: 0; }

/* Feature panel (used for ERP; reusable for any highlighted practice) */
.panel { background: linear-gradient(145deg, #0c3d8b, #0d77cf); color: #fff; padding: 38px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel h2 { font-size: 38px; line-height: 1.1; margin: 8px 0 16px; }
.panel p { color: #dcecff; }
.panel .eyebrow { color: #8ed3ff; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 25px 0 0; padding: 0; list-style: none; }
.platforms li { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 15px 16px; font-weight: 800; }
.copy h3 { font-size: 28px; margin: 0 0 16px; }
.copy > p { color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { padding-left: 24px; position: relative; color: #40556d; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.pills { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 28px 0 0; padding: 0; list-style: none; }
.pills li { border: 1px solid #d8e3ed; background: #fff; padding: 10px 14px; border-radius: 999px; font-size: 14px; color: #40556d; font-weight: 700; }

/* CTA banner */
.banner { background: linear-gradient(120deg, #082f70, #0a70c8 64%, #f28b00 160%); color: #fff; border-radius: 28px; padding: 46px; display: flex; justify-content: space-between; gap: 30px; align-items: center; box-shadow: var(--shadow); }
.banner h2 { font-size: 34px; margin: 0 0 10px; }
.banner p { margin: 0; color: #dcecff; max-width: 720px; }

/* Contact + forms */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; }
.contact-copy p { color: var(--muted); }
.contact-box { background: #fff; border: 1px solid #e4ebf2; border-radius: 20px; padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: #31445c; }
.field--full, .form-grid .btn { grid-column: 1 / -1; }
input, textarea, select { width: 100%; padding: 13px 14px; border: 1px solid #cad6e2; border-radius: var(--radius-sm); font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--green); font-weight: 700; }
.hp { position: absolute; left: -9999px; } /* honeypot */

/* Footer */
.site-footer { background: #0f1f32; color: #c8d5e4; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h2 { color: #fff; margin: 0 0 12px; font-size: 16px; letter-spacing: 0; }
.site-footer p, .site-footer a { font-size: 14px; color: #aebdcd; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-size: 22px; color: #fff; font-weight: 900; }
.copyright { border-top: 1px solid #263a50; margin-top: 30px; padding-top: 20px; font-size: 13px; color: #8294a7; }

@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 42px 0; min-height: auto; }
  .hero-card { max-width: 610px; margin: auto; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 4%; }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links .nav-cta { text-align: center; margin: 8px 0; }
}
@media (max-width: 600px) {
  .brand span { display: none; }
  .brand img { height: 48px; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  .banner { display: block; padding: 32px; }
  .banner .btn { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
