/* ===== EnergiForge marketing site — design system ===== */
:root {
  --ink:        #0b1220;   /* near-black hero */
  --dark:       #111827;   /* brand dark */
  --dark-2:     #1f2937;
  --primary:    #10b981;   /* brand emerald */
  --primary-d:  #059669;
  --primary-dd: #047857;
  --primary-tint:#ecfdf5;
  --text:       #1f2937;
  --muted:      #6b7280;
  --line:       #e5e7eb;
  --bg:         #ffffff;
  --bg-alt:     #f7f9fb;
  --radius:     16px;
  --shadow-sm:  0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-md:  0 10px 25px -5px rgba(16,24,40,.12), 0 8px 10px -6px rgba(16,24,40,.08);
  --shadow-lg:  0 24px 48px -12px rgba(16,24,40,.25);
  --maxw:       1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--dark); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 12px 20px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(16,185,129,.35); }
.btn-primary:hover { background: var(--primary-d); box-shadow: 0 6px 18px rgba(16,185,129,.45); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dd); }
.btn-ghost { background: transparent; color: var(--dark); }
.btn-ghost:hover { color: var(--primary-dd); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }

/* On dark backgrounds */
.hero .btn-outline,
.section-dark .btn-outline,
.cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-outline:hover,
.section-dark .btn-outline:hover,
.cta .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(2,8,23,.06);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--dark); }
.brand-mark { border-radius: 8px; box-shadow: 0 2px 6px rgba(16,185,129,.35); }
.brand-name { letter-spacing: -0.03em; }
.brand-accent { color: var(--primary-d); }
.nav-links { display: flex; gap: 26px; margin-left: 12px; margin-right: auto; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--dark); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.phone { font-weight: 700; color: var(--dark); font-size: 15px; }
.phone:hover { color: var(--primary-d); }

/* Nav dropdown (Who we help) */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; display: none; flex-direction: column; z-index: 60; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: flex; }
.nav-links .nav-dd-menu a { padding: 9px 12px; border-radius: 8px; font-size: 15px; color: var(--dark); font-weight: 500; white-space: nowrap; }
.nav-links .nav-dd-menu a:hover { background: var(--primary-tint); color: var(--primary-dd); }
.mobile-menu .mobile-sub { padding: 10px 4px 10px 22px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .2s; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a { padding: 12px 4px; font-weight: 600; color: var(--dark); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; margin-top: 10px; }
.mobile-menu .btn { justify-content: center; }

/* ===== Shared section ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary-d); margin-bottom: 14px;
}
.eyebrow-light { color: #6ee7b7; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #b8c2cf; }
.section-head.light .eyebrow { color: #6ee7b7; }

/* ===== Hero ===== */
.hero {
  background: radial-gradient(1200px 600px at 78% -10%, #0f3f36 0%, transparent 55%),
              linear-gradient(180deg, var(--ink) 0%, var(--dark) 100%);
  color: #e9eef5; padding: 72px 0 84px; position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: #6ee7b7; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -0.03em; }
.grad { background: linear-gradient(90deg, #34d399, #10b981); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: 19px; color: #c3ccd8; max-width: 560px; }
.lede strong { color: #fff; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 28px; color: #d7dee7; font-weight: 500; }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #34d399; font-weight: 800;
  width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
}

/* Hero panel */
.hero-panel { position: relative; }
.panel-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 26px 26px 34px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.panel-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #9fb0c3; }
.panel-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge-ok { background: rgba(52,211,153,.15); color: #6ee7b7; }
.panel-row { display: flex; align-items: center; justify-content: space-between; margin: 22px 0; }
.panel-label { color: #fff; font-weight: 700; font-size: 17px; }
.panel-sub { color: #9fb0c3; font-size: 13px; margin-top: 2px; }
.avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #10b981, #059669); color: #04241d; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.panel-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 10px 0 0; }
.panel-stats > div { background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px 10px; text-align: center; }
.ps-num { display: block; font-size: 17px; font-weight: 800; color: #6ee7b7; line-height: 1.2; }
.ps-lbl { display: block; font-size: 11px; color: #9fb0c3; margin-top: 4px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: #d7dee7; border: 1px solid rgba(255,255,255,.10); }
.chip-green { background: rgba(52,211,153,.14); color: #6ee7b7; border-color: rgba(52,211,153,.25); }
.chip-solid { background: var(--primary); color: #04241d; border-color: var(--primary); }
.panel-float {
  position: absolute; right: -22px; bottom: -44px; background: #fff; color: var(--dark);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); text-align: center;
}
.pf-num { font-size: 24px; font-weight: 900; color: var(--primary-d); letter-spacing: -.02em; }
.pf-label { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ===== Trust bar ===== */
.trustbar { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trustbar-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
/* Rolling logo carousel */
.logos-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logos-track { display: flex; width: max-content; animation: logoscroll 42s linear infinite; }
.logos-set { display: flex; align-items: center; flex: none; }
.logos-set .logo {
  height: 40px; width: auto; max-width: 200px; margin: 0 40px; object-fit: contain;
  opacity: .6; filter: grayscale(1); transition: opacity .2s, filter .2s;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-marquee:hover .logo { opacity: 1; filter: grayscale(0); }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }

/* ===== Challenge body ===== */
.challenge-body { max-width: 760px; margin: 0 auto; text-align: left; }
.challenge-sub { font-size: 20px; font-weight: 700; color: var(--dark); margin: 34px 0 12px; }
.challenge-sub:first-child { margin-top: 0; }
.challenge-sub.accent { color: var(--primary-d); }
.challenge-body p { color: #374151; font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.challenge-close { font-size: 20px !important; font-weight: 700; color: var(--primary-d) !important; margin-top: 22px !important; }

/* ===== Who we help (home teaser) ===== */
.whohelp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.whohelp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.whohelp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.whohelp-photo { width: 100%; height: 178px; object-fit: cover; object-position: center 25%; display: block; }
.whohelp-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.whohelp-card h3 { font-size: 19px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.whohelp-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.whohelp-link { margin-top: auto; color: var(--primary-dd); font-weight: 700; font-size: 15px; }
.whohelp-card:hover .whohelp-link { color: var(--primary-d); }
.whohelp-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15px; }

/* ===== Who We Help page ===== */
.page-hero-intro { color: #c3ccd8; font-size: 18px; line-height: 1.7; margin-top: 16px; max-width: 760px; }
.group-body { max-width: 860px; margin: 0 auto; }
.group-body .eyebrow { margin-bottom: 10px; }
.group-body h2 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; }
.group-sub { font-size: 19px; font-weight: 700; color: var(--primary-d); margin: 10px 0 18px; }
.group-desc { font-size: 18px; color: var(--dark); font-weight: 600; margin: 0 0 16px; }
.group-body > p { color: #374151; font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.group-industries { margin: 28px 0; }
.group-industries h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.guar { background: var(--primary-tint); border: 1px solid #a7f3d0; border-radius: 14px; padding: 22px; }
.guar h4 { font-size: 16px; font-weight: 800; color: var(--primary-dd); margin-bottom: 6px; }
.guar p { font-size: 14px; color: #374151; line-height: 1.6; }
.guar-heading { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 28px 0 14px; }
.group-body .btn { margin-top: 12px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry { position: relative; height: 132px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--primary-d) 0%, var(--ink) 100%); box-shadow: var(--shadow-sm); }
.industry-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.78) 0%, rgba(11,18,32,.15) 55%, rgba(11,18,32,0) 100%); }
.industry-name { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }

/* ===== Shift ===== */
.section-dark { background: linear-gradient(180deg, var(--dark) 0%, var(--ink) 100%); color: #cdd6e2; }
.shift-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; max-width: 960px; margin: 0 auto; }
.shift-col { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 28px; }
.shift-new { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.30); }
.shift-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9fb0c3; background: rgba(255,255,255,.06); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.shift-tag-green { color: #04241d; background: #34d399; }
.shift-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.shift-col li { position: relative; padding-left: 26px; color: #cdd6e2; }
.shift-old li::before { content: "–"; position: absolute; left: 4px; color: #7c8aa0; font-weight: 800; }
.shift-new li { color: #eafaf3; }
.shift-new li::before { content: "✓"; position: absolute; left: 0; color: #34d399; font-weight: 800; }
.shift-arrow { display: flex; align-items: center; font-size: 32px; color: #34d399; font-weight: 700; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fi { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ===== The difference — software + human ===== */
.combo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.combo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); min-width: 0; }
.combo-card-accent { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.combo-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-tint); color: var(--primary-dd); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.combo-ic svg { width: 28px; height: 28px; }
.ticks li strong { color: var(--primary-dd); }
.combo-card-accent .combo-ic { background: var(--primary); }
.combo-frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 20px; background: #fff; }
.combo-frame-bar { display: flex; gap: 6px; align-items: center; padding: 9px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.combo-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.combo-frame img { width: 100%; height: auto; display: block; }
.combo-photo { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.combo-photo img { width: 100%; height: auto; display: block; }
.combo-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.combo-card > p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.combo-card > p strong { color: var(--dark); }
.combo-plus { display: flex; align-items: center; font-size: 40px; font-weight: 800; color: var(--primary); }
.combo-line { text-align: center; margin-top: 32px; font-size: 20px; font-weight: 600; color: var(--dark); }
.combo-line strong { color: var(--primary-dd); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: #374151; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary-d); font-weight: 800; }

/* ===== Specialities ===== */
.specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.spec { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.spec::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); }
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.spec-num { font-size: 15px; font-weight: 800; color: var(--primary-d); letter-spacing: .05em; margin-bottom: 14px; }
.spec h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.spec-sub { font-size: 14px; font-weight: 700; color: var(--primary-d); margin: 0 0 12px; }
.spec p { color: var(--muted); font-size: 15px; }
.spec-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.spec-link:hover { border-color: var(--primary); }
.spec-cue { margin-top: auto; padding-top: 16px; color: var(--primary-dd); font-weight: 700; font-size: 15px; }
.spec-link:hover .spec-cue { color: var(--primary-d); }

/* ===== Niches ===== */
.niches { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.niches-title { font-size: 20px; font-weight: 800; }
.niches-sub { color: var(--muted); font-size: 15px; margin: 8px 0 22px; max-width: 640px; }
.niche-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.niche { font-size: 14px; font-weight: 600; color: #374151; background: var(--primary-tint); border: 1px solid #a7f3d0; border-radius: 999px; padding: 9px 16px; transition: background .15s, color .15s; }
.niche:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Engagement callout (merged from tiers) ===== */
.engage { margin-top: 40px; background: linear-gradient(135deg, var(--dark) 0%, var(--ink) 100%); border-radius: var(--radius); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; box-shadow: var(--shadow-md); }
.engage-flag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6ee7b7; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.25); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.engage-copy h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.engage-copy p { color: #c3ccd8; font-size: 16px; max-width: 640px; }
.engage-copy p strong { color: #fff; }
.engage .btn { flex-shrink: 0; }

/* ===== Case study ===== */
.case { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.case-media { width: 100%; height: 300px; object-fit: cover; object-position: center 40%; display: block; }
.case-grid { display: grid; grid-template-columns: 1.4fr 1fr; }
.case-body { padding: 40px; }
.case-stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 4px; }
.cs { flex: 1; min-width: 120px; background: var(--primary-tint); border: 1px solid #a7f3d0; border-radius: 12px; padding: 16px; }
.cs-num { display: block; font-size: 30px; font-weight: 900; color: var(--primary-dd); letter-spacing: -.02em; line-height: 1; }
.cs-unit { font-size: 16px; font-weight: 800; }
.cs-lbl { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.case-client { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-d); margin-bottom: 12px; }
.case-body h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.case-body p { color: var(--muted); font-size: 16px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.case-tags .chip { background: var(--primary-tint); color: var(--primary-dd); border: 1px solid #a7f3d0; }
.case-quote { margin: 0; padding: 40px; background: var(--dark); color: #e9eef5; display: flex; flex-direction: column; justify-content: center; }
.case-quote p { font-size: 15px; font-weight: 400; font-style: italic; color: #c3ccd8; margin-top: 14px; }
.case-quote .quote-lead { font-size: 20px; font-weight: 600; color: #eafaf3; margin-top: 0; line-height: 1.4; }
.case-quote cite { margin-top: 20px; font-style: normal; font-size: 14px; color: #6ee7b7; font-weight: 700; }

/* ===== Risk ===== */
.risk-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.risk-copy h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.risk-copy p { color: var(--muted); font-size: 18px; margin: 16px 0 28px; }
.risk-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tb { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.tb-i { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tb strong { display: block; color: var(--dark); font-size: 15px; margin-bottom: 4px; }
.tb span { color: var(--muted); font-size: 14px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--dark); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--primary-d); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 15px; }
.faq-foot { text-align: center; margin-top: 44px; }
.faq-foot p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.faq-group-h { font-size: 22px; font-weight: 800; color: var(--dark); margin: 48px 0 16px; }
.faq-group-h:first-child { margin-top: 0; }
.faq details ul, .faq details ol { color: var(--muted); font-size: 15px; margin: 0 0 20px; padding-left: 22px; display: grid; gap: 7px; }
.faq details p + ul, .faq details p + ol { margin-top: 4px; }
.faq details li { padding-left: 4px; }

/* ===== CTA ===== */
.cta { padding: 96px 0; background: radial-gradient(900px 500px at 50% -20%, #0f3f36 0%, transparent 60%), linear-gradient(180deg, var(--dark), var(--ink)); color: #e9eef5; text-align: center; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); font-weight: 900; }
.cta p { color: #c3ccd8; font-size: 19px; margin-top: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: #9fb0c3; margin-top: 22px; }
.cta-note a { color: #6ee7b7; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #9fb0c3; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-accent { color: #34d399; }
.footer-brand p { font-size: 14px; max-width: 340px; }
.footer-parent { margin-top: 12px !important; font-size: 13px !important; color: #6b7a8d !important; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col a, .footer-addr { display: block; font-size: 14px; color: #9fb0c3; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: #34d399; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 24px; font-size: 13px; color: #6b7a8d; flex-wrap: wrap; gap: 10px; }
.footer-legal a:hover { color: #34d399; }

/* ===== Legal pages (Privacy / Terms) ===== */
.legal-hero { background: linear-gradient(180deg, var(--ink) 0%, var(--dark) 100%); color: #e9eef5; padding: 64px 0 44px; }
.legal-hero .eyebrow { color: #6ee7b7; }
.legal-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; }
.legal-hero .updated { color: #9fb0c3; margin-top: 14px; font-size: 14px; }
.legal { padding: 56px 0 84px; }
.legal .legal-lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-size: 21px; font-weight: 800; color: var(--dark); margin: 40px 0 12px; }
.legal h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 24px 0 8px; }
.legal p { color: #374151; font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { color: #374151; font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.legal a { color: var(--primary-dd); text-decoration: underline; }
.legal a:hover { color: var(--primary-d); }
.legal .contact-block { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-top: 12px; }
.legal .contact-block p { margin-bottom: 4px; }

/* ===== What we do — detail pages ===== */
.wwd-block { margin: 30px 0; }
.wwd-block h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 16px; }
.wwd-list { list-style: none; display: grid; gap: 11px; margin: 0; padding: 0; }
.wwd-list li { position: relative; padding-left: 30px; color: #374151; font-size: 16px; line-height: 1.6; }
.wwd-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary-d); font-weight: 800; }
.wwd-list-x li::before { content: "✕"; color: #9aa4b2; font-weight: 700; }
.wwd-steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; }
.wwd-steps li { position: relative; padding-left: 52px; color: #374151; font-size: 16px; line-height: 1.6; min-height: 34px; padding-top: 4px; }
.wwd-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-dd); border: 1px solid #a7f3d0; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.wwd-steps li strong, .wwd-list li strong { color: var(--dark); font-weight: 700; }
.wwd-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wwd-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.wwd-tag { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-dd); border: 1px solid #a7f3d0; }
a.wwd-tag { text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
a.wwd-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
a.niche { text-decoration: none; }
.spec-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--dark); font-weight: 700; font-size: 15px; line-height: 1.35; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.spec-tile::after { content: "→"; color: var(--primary-d); font-weight: 800; flex: none; }
.spec-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.wwd-outcome { background: linear-gradient(135deg, var(--dark) 0%, var(--ink) 100%); border-radius: 14px; padding: 22px 26px; margin: 30px 0; box-shadow: var(--shadow-sm); }
.wwd-outcome .lbl { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: #6ee7b7; margin-bottom: 6px; }
.wwd-outcome p { font-size: 17px; line-height: 1.6; margin: 0; color: #eafff6; font-weight: 600; }

/* ===== Who-we-help — product split + product tables ===== */
.svc-split + .svc-split { margin-top: 46px; }
.svc-heading { font-size: 22px; font-weight: 800; color: var(--dark); margin: 0 0 10px; }
.svc-heading .svc-num { color: var(--primary-d); margin-right: 8px; }
.svc-split > p { color: #374151; font-size: 16px; line-height: 1.7; margin: 0 0 6px; }

/* Problem statement + "we provide" answer callout */
.svc-problem { margin: 0 0 32px; }
.svc-problem-h { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-d); font-weight: 800; margin: 0 0 12px; }
.svc-problem p { color: #374151; font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
.svc-answer { border-left: 3px solid var(--primary); background: var(--primary-tint); border-radius: 0 12px 12px 0; padding: 16px 22px; color: #0b3b30; font-weight: 600; font-size: 16px; line-height: 1.65; margin: 0; }
.svc-lead { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin: 0 0 14px; }

/* Collapsible option accordions (native <details>) */
.accordion { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.accordion + .accordion { margin-top: 16px; }
.accordion > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-size: 20px; font-weight: 800; color: var(--dark); }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary:hover { color: var(--primary-dd); }
.accordion-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-dd); border: 1px solid #a7f3d0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.accordion-title { flex: 1; }
.accordion-chev { flex: none; color: var(--muted); transition: transform .2s ease; font-size: 15px; }
.accordion[open] .accordion-chev { transform: rotate(180deg); }
.accordion[open] > summary { border-bottom: 1px solid var(--line); }
.accordion-body { padding: 20px 24px 26px; }
.accordion-body > p:first-child { margin-top: 0; }

/* Clickable "Backed by software" tile → Our platform page */
.combo-card-link { display: block; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.combo-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.combo-link { display: inline-block; margin-top: 4px; color: var(--primary-dd); font-weight: 700; font-size: 15px; }
.combo-card-link:hover .combo-link { color: var(--primary-d); }

/* ===== Speciality page hero (image straddles dark/white) ===== */
.spec-hero { overflow: visible; }
.spec-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.spec-hero-media { position: relative; }
.spec-hero-media > img, .spec-hero-media > .spec-stack { position: relative; z-index: 2; transform: translateY(90px); }
.spec-hero-media > img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.spec-stack { position: relative; }
.spec-stack-base { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.spec-stack-over { position: absolute; width: 40%; right: -18px; bottom: -30px; border-radius: 14px; border: 5px solid #fff; box-shadow: var(--shadow-md); z-index: 3; display: block; }

/* ===== Why us page ===== */
.why-photo { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--primary-d) 0%, var(--ink) 100%); min-height: 200px; }
.why-photo img { width: 100%; height: auto; display: block; }
.why-h { font-size: 24px; font-weight: 800; color: var(--dark); margin: 40px 0 12px; }
.why-photo + .why-h { margin-top: 8px; }
.group-body > .why-h:first-child { margin-top: 4px; }

/* ===== Coming-soon placeholder (Knowledge Centre pages) ===== */
.nf-links { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: 40px; }
.nf-links a { color: var(--primary-dd); font-weight: 600; font-size: 15px; }
.nf-links a:hover { color: var(--primary-d); text-decoration: underline; }
/* Smart Guide cards */
.guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 420px)); gap: 28px; justify-content: center; }
.guide-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.guide-card .guide-card-body { display: flex; flex-direction: column; flex: 1; }
.guide-card .guide-card-body .btn { margin-top: auto; align-self: flex-start; }
.guide-thumb { display: block; background: #f9fafb; border-bottom: 1px solid var(--line); }
.guide-thumb img { width: 100%; height: auto; display: block; }
.guide-card-body { padding: 28px 32px 32px; }
.guide-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-dd); background: var(--primary-tint); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.guide-card-body h2 { font-size: 25px; font-weight: 800; color: var(--dark); margin: 0 0 10px; }
.guide-card-body p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 24px; }

/* Free Smart Guide promo (homepage) */
.guide-promo { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.guide-promo-media { display: block; background: #f9fafb; border-right: 1px solid var(--line); overflow: hidden; }
.guide-promo-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.guide-promo-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.guide-promo-body h2 { font-size: 28px; font-weight: 800; color: var(--dark); margin: 10px 0 12px; letter-spacing: -.01em; }
.guide-promo-body p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 24px; max-width: 440px; }
.guide-promo-all { display: inline-block; margin-top: 14px; color: var(--primary-dd); font-weight: 700; font-size: 15px; }
.guide-promo-all:hover { color: var(--primary-d); text-decoration: underline; }
@media (max-width: 760px) {
  .guide-promo { grid-template-columns: 1fr; }
  .guide-promo-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .guide-promo-body { padding: 28px 24px; }
}

.coming-soon { text-align: center; padding: 24px 0 12px; }
.coming-soon h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.coming-soon p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 560px; margin: 0 auto 26px; }

/* ===== Platform slider (Our platform) ===== */
.pslider { position: relative; max-width: 1000px; margin: 0 auto; }
.cta-slider { margin-top: 44px; margin-bottom: 4px; }
.pslider-viewport { overflow: hidden; }
.pslider-track { display: flex; transition: transform .45s ease; }
.pslide { flex: 0 0 50%; box-sizing: border-box; padding: 0 8px; min-width: 0; }
.pslide-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.pslide-card img { width: 100%; height: auto; display: block; }
.pslide-cap { padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--dark); text-align: center; border-top: 1px solid var(--line); }
.pslider-btn { position: absolute; top: 42%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--dark); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; z-index: 3; transition: background .15s, transform .15s; }
.pslider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.pslider-prev { left: -10px; }
.pslider-next { right: -10px; }
.pslider-dots { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.pslider-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: #cbd5e1; cursor: pointer; padding: 0; transition: background .15s, transform .15s; }
.pslider-dot.is-active { background: var(--primary); transform: scale(1.3); }

/* ===== Contact modal (HubSpot form) ===== */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; background: rgba(11,18,32,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); overflow-y: auto; }
.modal-overlay.is-open { display: flex; }
.modal { position: relative; background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; padding: 40px 40px 36px; box-shadow: var(--shadow-md); margin: auto; }
.modal-title { font-size: 26px; font-weight: 800; color: var(--dark); margin: 0 0 8px; padding-right: 30px; }
.modal-sub { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 22px; }
.modal-close { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border: none; background: var(--bg-alt); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.modal-close:hover { background: #e5e7eb; color: var(--dark); }
body.modal-open { overflow: hidden; }
.guide-dl-ready { display: none; margin: 18px 0 0; font-size: 15px; color: var(--dark); font-weight: 600; }
.guide-dl-ready a { color: var(--primary-dd); font-weight: 700; }
#guideModal.is-done .guide-dl-ready { display: block; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .wwd-pillars { grid-template-columns: 1fr; }
  .spec-tiles { grid-template-columns: repeat(2, 1fr); }
  .spec-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .spec-hero-media > img, .spec-hero-media > .spec-stack { transform: none; }
  .spec-stack-over { width: 36%; right: 0; bottom: -20px; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 440px; }
  .features, .specs, .whohelp-grid { grid-template-columns: 1fr; }
  .combo { grid-template-columns: 1fr; }
  .combo-plus { justify-content: center; }
  .engage { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-media { height: 200px; }
  .risk-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .spec-tiles { grid-template-columns: 1fr; }
  .pslide { flex-basis: 100%; }
  .pains { grid-template-columns: 1fr; }
  .pains .pain:nth-child(5) { grid-column: auto; }
  .shift-grid { grid-template-columns: 1fr; }
  .shift-arrow { transform: rotate(90deg); justify-content: center; }
  .risk-badges { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 34px 22px 26px; }
  .modal-title { font-size: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 0 60px; }
}
@media (max-width: 480px) {
  .btn-lg { width: 100%; }
  .hero-cta, .cta-actions { flex-direction: column; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
