/* ============================================================
   HAROLEN SYSTEMS — v2 Design System (Light & Modern)
   ============================================================ */

:root {
  --navy: #1A3A6B;
  --navy-dark: #12294D;
  --navy-deep: #0F1C2E;
  --teal: #0B8F8F;
  --teal-dark: #087272;
  --teal-light: #E0F2F2;
  --slate: #64748B;
  --slate-light: #94A3B8;
  --ink: #0F172A;
  --body: #334155;
  --bg: #F8FAFC;
  --bg-alt: #EFF4F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 10px 30px -10px rgba(26, 58, 107, .15);
  --shadow-lg: 0 25px 50px -12px rgba(26, 58, 107, .22);
  --radius: 14px;
  --radius-lg: 22px;
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.015em; }

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; }

p { margin: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

.section-alt { background: var(--white); }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -6px rgba(11, 143, 143, .45); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(11, 143, 143, .5); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -.01em; }
.brand-sub { font-size: .58rem; font-weight: 600; letter-spacing: .32em; color: var(--slate); text-transform: uppercase; }

.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop > a {
  font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: 6px 0;
}
.nav-desktop > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--teal); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-desktop > a:hover::after, .nav-desktop > a.active::after { width: 100%; }
.nav-desktop > a.active { color: var(--teal); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown .caret { font-size: .6rem; transition: transform .25s; }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 280px;
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink);
  font-weight: 500; font-size: .92rem; transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--teal-light); color: var(--teal-dark); }
.dropdown-menu .menu-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--teal); }

.header-cta { margin-left: 6px; padding: 11px 22px; font-size: .92rem; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 300;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed; inset: 76px 0 0 0; background: #fff; z-index: 250;
  padding: 28px 24px; overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 14px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--border); }
.nav-mobile .sub { font-size: .98rem; font-weight: 500; padding-left: 18px; color: var(--body); }
.nav-mobile .btn { margin-top: 22px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(11, 143, 143, .12), transparent 60%),
    radial-gradient(700px 420px at -5% 110%, rgba(26, 58, 107, .10), transparent 60%),
    linear-gradient(180deg, #FDFEFF 0%, var(--bg) 100%);
  padding: 96px 0 104px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(26,58,107,.10) 1.2px, transparent 1.2px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 80%, transparent);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--teal); }
.hero-sub { margin-top: 22px; font-size: 1.18rem; color: var(--slate); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-trust { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; color: var(--slate); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; flex: none; }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(26,58,107,.14)); }

/* Page hero (interior pages) */
.page-hero {
  position: relative; overflow: hidden; padding: 84px 0 72px;
  background:
    radial-gradient(800px 420px at 90% -20%, rgba(11,143,143,.12), transparent 60%),
    linear-gradient(180deg, #FDFEFF 0%, var(--bg) 100%);
}
.page-hero .breadcrumb { font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 18px; }
.page-hero .breadcrumb a { color: var(--slate); }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero h1 { max-width: 800px; }
.page-hero .lede { margin-top: 20px; font-size: 1.16rem; color: var(--slate); max-width: 700px; }
.page-hero .hero-ctas { margin-top: 30px; }

/* Page hero graphic (interior pages) */
.page-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-mini { display: flex; justify-content: flex-end; }
.hero-mini svg { width: 100%; max-width: 400px; height: auto; }

@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-mini { display: none; }
}

/* Hero graphic animation library (applies to inline SVGs) */
.hm-dash { stroke-dasharray: 5 7; animation: hmDash 2.2s linear infinite; }
@keyframes hmDash { to { stroke-dashoffset: -24; } }
.hm-float-a { animation: hmFloat 6s ease-in-out infinite; }
.hm-float-b { animation: hmFloat 7.5s ease-in-out infinite reverse; }
.hm-float-c { animation: hmFloat 9s ease-in-out infinite; }
@keyframes hmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hm-pulse { transform-origin: center; transform-box: fill-box; animation: hmPulse 3s ease-out infinite; }
@keyframes hmPulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }
.hm-spin { transform-origin: center; transform-box: fill-box; animation: hmSpin 14s linear infinite; }
.hm-spin-r { transform-origin: center; transform-box: fill-box; animation: hmSpin 9s linear infinite reverse; }
@keyframes hmSpin { to { transform: rotate(360deg); } }
.hm-rise { transform-origin: bottom; transform-box: fill-box; animation: hmRise 1.4s var(--ease) both; }
@keyframes hmRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hm-pop { transform-origin: center; transform-box: fill-box; animation: hmPop .55s var(--ease) both; }
@keyframes hmPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hm-blink { animation: hmBlink 2.4s ease-in-out infinite; }
@keyframes hmBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hm-d1 { animation-delay: .45s; } .hm-d2 { animation-delay: .9s; } .hm-d3 { animation-delay: 1.35s; } .hm-d4 { animation-delay: 1.8s; }

@media (prefers-reduced-motion: reduce) {
  .hm-dash, .hm-float-a, .hm-float-b, .hm-float-c, .hm-pulse, .hm-spin, .hm-spin-r, .hm-rise, .hm-pop, .hm-blink { animation: none; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11,143,143,.35); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--slate); font-size: .97rem; }

.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.card:hover .card-icon { background: var(--teal); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card-icon svg { width: 26px; height: 26px; }

.card-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-weight: 700; font-size: .92rem; color: var(--teal);
}
.card-link .arrow { transition: transform .25s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }

a.card-wrap { display: block; color: inherit; }
a.card-wrap:hover { color: inherit; }

/* Featured/flagship card */
.card-flagship { border: 2px solid var(--teal); }
.card-flagship::before {
  content: "Flagship"; position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
  background: var(--teal); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 40px;
}

/* ---------- Pain points / checklist ---------- */
.pain-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; }
.pain-item {
  display: flex; gap: 13px; align-items: flex-start; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; font-size: .97rem;
}
.pain-item svg { width: 21px; height: 21px; flex: none; margin-top: 2px; }

.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--teal); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--teal);
  background: var(--teal-light); width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--slate); }

/* ---------- Stats ---------- */
.stats-band { background: var(--navy); border-radius: var(--radius-lg); padding: 54px 44px; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; }
.stat-value .suffix { color: var(--teal); }
.stat-label { margin-top: 8px; font-size: .95rem; color: rgba(255,255,255,.75); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px; display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial .quote-mark { font-family: var(--font-head); font-size: 3.4rem; line-height: .6; color: var(--teal); opacity: .5; }
.testimonial blockquote { font-size: .99rem; color: var(--body); font-style: italic; }
.testimonial .attribution { margin-top: auto; font-size: .88rem; }
.testimonial .attribution strong { display: block; color: var(--ink); font-family: var(--font-head); }
.testimonial .attribution span { color: var(--slate); }

/* ---------- Logo / tools strip ---------- */
.tools-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.tool-chip {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 20px; font-size: .9rem; font-weight: 600; color: var(--body);
  transition: border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.tool-chip:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-content h2 { margin-bottom: 18px; }
.split-content p + p { margin-top: 14px; }
.split-content .check-list { margin-top: 24px; }
.split-visual svg, .split-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* ---------- Workflow diagram panel ---------- */
.diagram-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-md);
}
.diagram-panel svg { width: 100%; height: auto; }

/* ---------- Comparison (before/after) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-col { border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--border); }
.compare-col.before { background: #FFF7F5; border-color: #FBD5CC; }
.compare-col.after { background: var(--teal-light); border-color: #B5E0E0; }
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.compare-col ul { list-style: none; display: grid; gap: 12px; }
.compare-col li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.compare-col svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.compare-col.before svg { color: #DC5B3E; }
.compare-col.after svg { color: var(--teal); }

/* ---------- Pricing / tiers ---------- */
.tier-card { display: flex; flex-direction: column; }
.tier-card .tier-name { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.tier-card h3 { margin: 10px 0 4px; }
.tier-card .tier-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy); margin-bottom: 14px; }
.tier-card .tier-price small { font-size: .85rem; font-weight: 600; color: var(--slate); }
.tier-card .check-list { margin: 14px 0 22px; font-size: .93rem; }
.tier-card .btn { margin-top: auto; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: rgba(11,143,143,.4); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  padding: 20px 24px;
}
.faq-q .faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; font-weight: 700; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--slate); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, #15466D 100%);
  padding: 72px 56px; text-align: center; color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.2px);
  background-size: 30px 30px; opacity: .6;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 640px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 540px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-band .hero-ctas { justify-content: center; margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); margin-top: 96px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 68px 0 48px; }
.footer-brand svg { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.footer-tagline { margin-top: 14px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--teal); text-transform: uppercase; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.badge {
  display: inline-block; background: var(--teal-light); color: var(--teal-dark);
  font-size: .8rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}
.divider-band { background: var(--bg-alt); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { background: var(--navy); color: #fff; font-family: var(--font-head); text-align: left; padding: 15px 20px; font-size: .88rem; letter-spacing: .04em; }
td { padding: 14px 20px; border-top: 1px solid var(--border); vertical-align: top; }
tr:hover td { background: var(--bg); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .card-icon { width: 46px; height: 46px; flex: none; }
.contact-row h3 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-row p, .contact-row a { font-size: .95rem; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: .97rem; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,143,143,.15); background: #fff;
}
.form-note { font-size: .85rem; color: var(--slate); margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .steps, .pain-list, .compare, .split, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .stats-band { padding: 44px 28px; }
  .cta-band { padding: 56px 26px; }
  .hero { padding: 64px 0 72px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
}
