/* ============================================
   BOOKMAX SOLUTIONS — STYLES
   Edit colours / spacing in :root below.
   ============================================ */

:root {
  /* COLOURS */
  --navy:        #0e1a3a;
  --navy-2:      #142552;
  --navy-deep:   #0a1430;
  --blue:        #2f6dff;
  --blue-2:      #5b8cff;
  --blue-soft:   #e9eef9;
  --bg:          #f5f7fc;
  --white:       #ffffff;
  --text:        #1a2240;
  --muted:       #6a7390;
  --line:        #e6ebf5;

  /* SPACING */
  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   22px;
  --shadow-sm:   0 4px 14px rgba(14,26,58,0.06);
  --shadow-md:   0 14px 40px rgba(14,26,58,0.10);
  --shadow-lg:   0 24px 60px rgba(14,26,58,0.18);

  --container:   1200px;
  --gutter:      28px;
  --section-y:   88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
p  { margin: 0 0 1rem; color: var(--muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.text-blue { color: var(--blue); }
.eyebrow { color: var(--blue); font-weight: 600; font-size: .85rem; letter-spacing: .12em; margin: 0 0 1rem; }
.eyebrow.blue { color: var(--blue); }

/* BUTTONS ------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(47,109,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,109,255,.5); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--navy-deep); color: #fff; border-color: rgba(255,255,255,.15); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.btn.full { width: 100%; justify-content: center; }

/* HEADER / NAV -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: #fff; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); gap: 24px; }
.logo img { height: 46px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 28px; padding: 0; margin: 0; }
.nav-links a {
  font-weight: 500; color: var(--navy);
  padding: 8px 2px; position: relative; transition: color .25s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0; background: var(--blue);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 130%; left: -16px;
  background: #fff; min-width: 200px;
  border-radius: var(--radius); padding: 10px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  list-style: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 8px; }
.dropdown li a:hover { background: var(--blue-soft); color: var(--blue); }
.dropdown li a::after { display: none; }
.caret { font-size: .8rem; }

.phone-icon { font-size: .9rem; }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column;
  justify-content: center; gap: 5px; padding: 0;
}
.hamburger span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px var(--gutter) 24px; background: #fff;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  padding: 12px 6px; font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { border: 0; margin-top: 12px; }
.mobile-menu.open { display: flex; }

/* HERO --------------------------------------- */
.hero {
  background: linear-gradient(180deg, #f5f7fc 0%, #eef2fb 100%);
  padding: 60px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(47,109,255,.08) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px;
  align-items: center; position: relative;
}
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text .lead { font-size: 1.05rem; max-width: 460px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }

/* DASHBOARD MOCK ----------------------------- */
.hero-dash { display: flex; flex-direction: column; gap: 16px; }
.dash-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.dash-row:nth-child(2) { grid-template-columns: 1fr 1fr 1fr; }
.card {
  background: #fff; border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.dash-card { position: relative; }
.dash-card.big { padding: 20px; }
.dash-card.dark { background: var(--navy); color: #fff; border: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dash-title { font-weight: 700; color: var(--navy); font-size: .95rem; }
.dash-title.light { color: #fff; }
.dash-pill { font-size: .75rem; color: var(--muted); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.dash-sub { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.dash-value { font-size: 1.55rem; font-weight: 800; color: var(--navy); margin: 4px 0 2px; }
.dash-value.light { color: #fff; }
.dash-delta { font-size: .8rem; color: #1aa66f; font-weight: 600; }
.dash-delta.light { color: #7be3b3; }
.dash-meta { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.dash-axis { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: 8px; }
.dash-axis.small span { font-size: .65rem; }
.line-chart { width: 100%; height: 110px; margin-top: 8px; }
.line-chart.mini { height: 70px; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 10px; }
.bar-chart span { flex: 1; background: linear-gradient(180deg, var(--blue), var(--blue-2)); border-radius: 4px 4px 0 0; min-height: 6px; transition: transform .3s ease; }
.bar-chart span:hover { transform: scaleY(1.05); }
.mini-btn { display: inline-block; margin-top: 12px; font-size: .8rem; color: var(--blue); border: 1.5px solid var(--blue); padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.mini-btn:hover { background: var(--blue); color: #fff; }
.donut-wrap { position: relative; width: 90px; height: 90px; margin: 6px auto 0; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--navy); }
.dash-meta-right { display: flex; align-items: baseline; gap: 8px; justify-content: center; margin-top: 4px; }
.dash-meta-right strong { font-size: 1.4rem; color: var(--navy); }
.dash-meta-right span { font-size: .75rem; color: var(--muted); }

/* TRUST BAR ---------------------------------- */
.trust-bar { background: var(--navy); color: #fff; padding: 26px 0; }
.trust-grid {
  display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) repeat(3, 1fr);
  gap: 24px; align-items: center;
}
.trust-label { font-size: .72rem; letter-spacing: .15em; color: rgba(255,255,255,.7); font-weight: 600; }
.trust-item { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(255,255,255,.12); padding-left: 18px; }
.trust-item strong { font-size: .95rem; }
.stars { color: #ffc83d; font-size: .8rem; }
.trust-item small { color: rgba(255,255,255,.6); font-size: .7rem; }
.trust-stat { display: flex; align-items: center; gap: 10px; border-left: 1px solid rgba(255,255,255,.12); padding-left: 18px; }
.trust-stat .ts-icon { width: 30px; height: 30px; background: rgba(47,109,255,.2); color: var(--blue-2); display: grid; place-items: center; border-radius: 8px; }
.trust-stat strong { display: block; font-size: 1.2rem; }
.trust-stat small { display: block; color: rgba(255,255,255,.6); font-size: .7rem; }

/* VALUE PROPS -------------------------------- */
.value-section { padding: var(--section-y) 0; }
.value-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px;
  align-items: flex-start;
}
.value-head h2 { margin-bottom: .8rem; }
.value-item { text-align: left; }
.v-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem;
  margin-bottom: 14px; transition: transform .3s ease;
}
.value-item:hover .v-icon { transform: translateY(-4px) scale(1.05); }
.value-item h4 { font-size: 1.05rem; margin-bottom: .25rem; }
.value-item p { font-size: .88rem; }

/* PROCESS BAND ------------------------------- */
.process-band { background: var(--navy); color: #fff; padding: 56px 0; }
.process-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; align-items: center; }
.process-head h2 { color: #fff; }
.process-head p { color: rgba(255,255,255,.7); margin: 0; }
.process-steps {
  position: relative; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.process-steps .line {
  position: absolute; top: 22px; left: 8%; right: 8%;
  height: 2px; background: rgba(255,255,255,.2);
  border-top: 2px dashed rgba(255,255,255,.25); background: transparent;
}
.step { text-align: center; position: relative; z-index: 1; }
.step .num {
  width: 44px; height: 44px; margin: 0 auto 14px;
  background: var(--blue); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  box-shadow: 0 0 0 6px var(--navy);
  transition: transform .3s ease;
}
.step:hover .num { transform: scale(1.1); }
.step .ico { font-size: 1.2rem; margin-bottom: 8px; color: rgba(255,255,255,.85); }
.step p { color: rgba(255,255,255,.75); font-size: .82rem; margin: 0; }

/* MORE SECTION ------------------------------- */
.more-section { padding: var(--section-y) 0; }
.more-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.laptop { position: relative; background: linear-gradient(135deg, #c9d4f0 0%, #e6ecf8 100%); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.laptop-svg { width: 100%; height: auto; }
.time-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--blue); color: #fff; padding: 14px 18px;
  border-radius: var(--radius); display: flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow-md);
}
.time-badge small { display: block; font-size: .7rem; opacity: .85; }
.time-badge strong { display: block; font-size: 1.4rem; line-height: 1; margin: 2px 0; }
.more-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; margin-top: 22px; }
.mf { display: flex; gap: 12px; align-items: flex-start; }
.mf-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.mf strong { display: block; color: var(--navy); margin-bottom: 2px; }
.mf p { margin: 0; font-size: .85rem; }

/* SERVICES BAND ------------------------------ */
.services-section { background: var(--navy); color: #fff; padding: 60px 0; }
.services-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 36px; align-items: center; }
.services-head h2 { color: #fff; }
.services-head p { color: rgba(255,255,255,.7); margin: 0; }
.services-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff; color: var(--text);
  padding: 22px; border-radius: var(--radius);
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.s-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 12px; }
.service-card h4 { font-size: 1.1rem; }
.service-card p { font-size: .88rem; }
.learn { color: var(--blue); font-weight: 600; font-size: .85rem; }
.learn:hover { text-decoration: underline; }

/* INDUSTRIES --------------------------------- */
.industries-section { padding: var(--section-y) 0; }
.industries-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 36px; align-items: center; }
.industries-head h2 { margin-bottom: .25rem; }
.carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.car-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-size: 1.4rem; cursor: pointer; flex: none;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background .25s ease, color .25s ease;
}
.car-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.car-viewport { overflow: hidden; flex: 1; }
.car-track { display: flex; gap: 14px; transition: transform .5s ease; }
.industry {
  flex: 0 0 calc((100% - 4 * 14px) / 5);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 12px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.i-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); margin: 0 auto 10px; display: grid; place-items: center; }
.industry span { font-size: .82rem; font-weight: 600; color: var(--navy); }
.dots { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .25s ease, width .25s ease; }
.dots span.active { background: var(--blue); width: 22px; border-radius: 999px; }

/* TESTIMONIALS ------------------------------- */
.testimonials-band { background: var(--navy); color: #fff; padding: 60px 0; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 36px; align-items: center; }
.t-head h2 { color: #fff; }
.t-head p { color: rgba(255,255,255,.7); margin: 0; }
.t-carousel { position: relative; }
.t-viewport { overflow: hidden; }
.t-track { display: flex; gap: 18px; transition: transform .5s ease; }
.t-card {
  flex: 0 0 calc((100% - 2 * 18px) / 3);
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
  padding: 20px; border-radius: var(--radius);
}
.t-stars { color: #ffc83d; margin-bottom: 8px; }
.t-card p { color: rgba(255,255,255,.85); font-size: .9rem; }
.t-card strong { display: block; color: #fff; }
.t-card small { color: rgba(255,255,255,.6); font-size: .75rem; }
.t-next {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; font-size: 1.4rem; cursor: pointer;
  transition: background .25s ease;
}
.t-next:hover { background: var(--blue); border-color: var(--blue); }

/* HOW WE WORK -------------------------------- */
.how-section { padding: var(--section-y) 0; }
.how-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 36px; align-items: center; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.how-step { padding: 0 6px; border-left: 0; }
.hs-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 10px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.how-step:hover .hs-num { background: var(--blue); color: #fff; transform: scale(1.1); }
.how-step h4 { font-size: 1rem; }
.how-step p { font-size: .85rem; }

/* PRICING ------------------------------------ */
.pricing-section { padding: 0 0 var(--section-y); }
.pricing-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 36px; align-items: center; }
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
  background: #fff; border: 1px solid var(--line);
  padding: 26px; border-radius: var(--radius); position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.price-card.popular { background: var(--navy); color: #fff; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.price-card.popular h4, .price-card.popular .amt { color: #fff; }
.price-card.popular p { color: rgba(255,255,255,.75); }
.price-card.popular .per { color: rgba(255,255,255,.7); }
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; padding: 4px 14px;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
}
.price-card h4 { font-size: 1.1rem; }
.price-card > p { font-size: .85rem; min-height: 44px; }
.price { margin: 14px 0 18px; }
.amt { font-size: 2rem; font-weight: 800; color: var(--navy); }
.per { color: var(--muted); font-size: .85rem; margin-left: 4px; }

/* FINAL CTA ---------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 50px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -50px; top: 0; bottom: 0; width: 280px;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 14px 14px; opacity: .6;
}
.cta-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; }
.cta-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* FOOTER ------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; padding-bottom: 40px; }
.site-footer h5 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { display: block; padding: 4px 0; color: rgba(255,255,255,.6); font-size: .9rem; transition: color .25s ease; }
.site-footer a:hover { color: var(--blue-2); }
.footer-logo { height: 44px; margin-bottom: 12px; background: #fff; padding: 6px 10px; border-radius: 8px; display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 18px 0; font-size: .8rem; }

/* SCROLL REVEAL ------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-y: 64px; }
  .hero-grid, .more-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-head { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr 1fr 1fr; }
  .trust-label { grid-column: 1 / -1; }
  .process-grid, .services-grid, .industries-grid,
  .testimonials-grid, .how-grid, .pricing-grid { grid-template-columns: 1fr; }
  .services-cards, .pricing-cards { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(5, 1fr); }
  .industry { flex: 0 0 calc((100% - 2 * 14px) / 3); }
  .t-card { flex: 0 0 calc((100% - 18px) / 2); }
  .cta-grid { grid-template-columns: 1fr; text-align: left; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 40px 0 60px; }
  .dash-row, .dash-row:nth-child(2) { grid-template-columns: 1fr 1fr; }
  .value-grid, .services-cards, .pricing-cards, .how-steps,
  .more-features, .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 22px; }
  .process-steps .line { display: none; }
  .industry { flex: 0 0 calc((100% - 14px) / 2); }
  .t-card { flex: 0 0 100%; }
  .price-card.popular { transform: none; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

/* ============================================
   SERVICES PAGE + SHARED ADDITIONS
   ============================================ */

/* active nav state */
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { width: 100%; }
.mobile-menu a.active { color: var(--blue); }

/* centered section headings (reusable) */
.center-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.center-head p { margin: 0; }

/* SERVICES HERO DASHBOARD VARIANT */
.services-dash .dash-row { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
.dash-card.wide { display: flex; flex-direction: column; gap: 12px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 12px; }
.dash-card.dark .dash-sub.light { color: rgba(255,255,255,.7); }
.dash-meta.warn { color: #ffb347; font-weight: 600; font-size: .75rem; margin-top: 4px; }
.bar-chart.small { height: 50px; margin-top: 8px; }
.donut-wrap.small { width: 70px; height: 70px; margin: 8px auto 4px; }
.donut-center.light { color: #fff; }

.side-stack { display: flex; flex-direction: column; gap: 16px; }
.list-card h5 { font-size: .95rem; color: var(--navy); margin-bottom: 12px; }
.info-list { list-style: none; padding: 0; margin: 0 0 12px; }
.info-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list li.hl { background: var(--blue-soft); margin: 0 -10px; padding: 10px; border-radius: 6px; border-bottom: 0; }
.info-list strong { color: var(--navy); font-weight: 600; }
.info-list small { color: var(--muted); font-size: .75rem; }
.info-list.activity span { color: #16a34a; font-weight: 500; }
.mini-btn.full { display: block; text-align: center; }

/* CORE SERVICES GRID */
.core-services { padding: var(--section-y) 0; background: #fff; }
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.core-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.core-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.c-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.core-card h4 { font-size: 1.1rem; }
.core-card > p { font-size: .9rem; min-height: 48px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 18px; }
.check-list li { position: relative; padding: 6px 0 6px 24px; font-size: .88rem; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  font-size: .65rem; font-weight: 800;
  display: grid; place-items: center;
}

/* process band — add per-step heading */
.step h5 { color: #fff; font-size: 1rem; margin: 4px 0 6px; }

/* INDUSTRIES — centered variant (full-width carousel under heading) */
.industries-section.centered .industries-grid { display: block; }
.industries-section.centered .carousel { max-width: 1000px; margin: 0 auto; }

/* WHY SECTION */
.why-section { padding: var(--section-y) 0; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item { text-align: left; }
.w-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  margin-bottom: 14px; transition: transform .3s ease, background .3s ease;
}
.why-item:hover .w-ic { transform: scale(1.08); background: var(--blue); }
.why-item h4 { font-size: 1.05rem; }
.why-item p { font-size: .88rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-dash .dash-row { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mini-grid { grid-template-columns: 1fr; }
  .core-grid, .why-grid { grid-template-columns: 1fr; }
}

/* ============================================
   INDUSTRIES PAGE
   ============================================ */

/* hero 3-up mini features */
.hero-mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; max-width: 560px; }
.hmf strong { display: block; color: var(--navy); margin: 6px 0 4px; font-size: .95rem; }
.hmf p { font-size: .8rem; margin: 0; }

/* hero right visual */
.hero-visual { position: relative; }
.laptop-scene {
  background: linear-gradient(135deg, #0e1a3a 0%, #142552 100%);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.laptop-svg-full { width: 100%; height: auto; display: block; }
.dot-pattern {
  position: absolute; top: 0; right: 0; width: 120px; height: 100%;
  background-image: radial-gradient(circle at 2px 2px, rgba(91,140,255,.25) 1px, transparent 0);
  background-size: 14px 14px; opacity: .5; pointer-events: none;
}

/* industries cards (4-up) */
.industries-cards-section { padding: var(--section-y) 0; background: #fff; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ind-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.c-ic.xl { width: 64px; height: 64px; font-size: 1.6rem; border-radius: 14px; margin-bottom: 18px; }
.ind-card h4 { font-size: 1.05rem; }
.ind-card > p { font-size: .85rem; min-height: 110px; }

/* dark stats band */
.stats-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 36px 0;
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  margin: 0 auto; max-width: calc(var(--container) - 0px);
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 16px 16px; opacity: .6; pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-item .s-ic {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(47,109,255,.18); color: var(--blue-2);
  display: grid; place-items: center; font-size: 1.1rem; flex: none;
  transition: transform .3s ease;
}
.stat-item:hover .s-ic { transform: scale(1.1); }
.stat-item strong { display: block; font-size: 1.4rem; color: #fff; line-height: 1.1; }
.stat-item small { color: rgba(255,255,255,.65); font-size: .75rem; }

/* tailored 4-step process */
.tailored-section { padding: var(--section-y) 0; }
.tailored-steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
.t-line {
  position: absolute; top: 22px; left: 12%; right: 12%;
  border-top: 2px dashed var(--line);
}
.t-step { text-align: center; position: relative; z-index: 1; }
.t-num {
  width: 44px; height: 44px; margin: 0 auto 18px;
  background: #fff; color: var(--blue);
  border: 2px solid var(--blue-soft); border-radius: 50%;
  display: grid; place-items: center; font-weight: 800;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.t-step:hover .t-num { background: var(--blue); color: #fff; transform: scale(1.1); }
.t-ic {
  width: 48px; height: 48px; margin: 0 auto 10px;
  border-radius: 12px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem;
}
.t-step h4 { font-size: 1rem; margin-bottom: 4px; }
.t-step p { font-size: .82rem; margin: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-mini-features { grid-template-columns: 1fr 1fr 1fr; max-width: 100%; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-card > p { min-height: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .tailored-steps { grid-template-columns: 1fr 1fr; }
  .t-line { display: none; }
}
@media (max-width: 720px) {
  .hero-mini-features { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .stats-grid, .tailored-steps { grid-template-columns: 1fr; }
}

/* ============================================
   PRICING PAGE
   ============================================ */
.text-center { text-align: center; }
.dash-value.sm { font-size: 1.25rem; }
.dash-meta.warn-light { color: #ffb347; font-weight: 600; }
.snapshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.snapshot-grid > div { padding: 10px; border-radius: 10px; background: #f8faff; }

/* package cards */
.packages-section { padding: var(--section-y) 0; background: var(--bg); }
.packages-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.pkg {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative;
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.pkg.selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,255,.2), var(--shadow-md); }
.pkg.popular { background: var(--navy); color: #fff; border-color: var(--navy); }
.pkg.popular h4, .pkg.popular .amt, .pkg.popular h6 { color: #fff; }
.pkg.popular .pkg-desc, .pkg.popular .per, .pkg.popular .setup,
.pkg.popular .check-list li { color: rgba(255,255,255,.85); }
.pkg.popular .check-list li::before { background: rgba(47,109,255,.25); color: #fff; }
.pkg.popular .opt-row { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff; }
.pkg.popular .opt-row select { background: transparent; color: #fff; }
.pkg-banner {
  position: absolute; top: -1px; left: 50%; transform: translate(-50%,-100%);
  background: var(--navy); color: #fff; padding: 6px 18px;
  border-radius: 8px 8px 0 0; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
}
.pkg.popular .pkg-banner { background: var(--navy-deep); }
.pkg-num {
  width: 30px; height: 30px; border-radius: 6px; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; margin-bottom: 14px;
}
.pkg h4 { font-size: 1.05rem; min-height: 50px; }
.pkg-desc { font-size: .82rem; min-height: 70px; }
.pkg-price { margin: 6px 0 14px; }
.pkg-price small { display: block; font-size: .72rem; color: var(--muted); }
.pkg-price .amt { font-size: 1.9rem; font-weight: 800; color: var(--blue); }
.pkg-price .per { font-size: .8rem; color: var(--muted); margin-left: 4px; }
.pkg-price .setup { margin-top: 2px; }
.pkg h6 { font-size: .8rem; text-transform: none; color: var(--navy); margin: 12px 0 8px; font-weight: 700; }
.pkg .check-list { margin: 0 0 12px; }
.pkg .check-list li { font-size: .8rem; padding: 4px 0 4px 22px; }
.opt-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 8px; margin-bottom: 6px; font-size: .78rem;
  background: #fafbff; color: var(--text);
}
.opt-row span { font-size: .9rem; }
.opt-row select {
  margin-left: auto; border: 0; background: transparent;
  font-size: .78rem; color: var(--navy); font-weight: 600; cursor: pointer;
}
.select-plan { margin-top: auto; }

/* BUILD YOUR PACKAGE */
.builder-section { padding: 0 0 var(--section-y); }
.builder-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.builder-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 16px 16px; opacity: .5; pointer-events: none;
}
.builder-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; position: relative; }
.builder-head h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.builder-head p { color: rgba(255,255,255,.7); margin: 0; font-size: .9rem; }
.builder-controls {
  display: grid; grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px; align-items: end; position: relative;
}
.b-ctrl label { display: block; font-size: .75rem; color: rgba(255,255,255,.75); margin-bottom: 6px; font-weight: 600; }
.b-ctrl select {
  width: 100%; background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  padding: 10px 12px; font-size: .85rem; cursor: pointer;
}
.b-ctrl select option { color: #1a2240; }
.b-state { display: flex; flex-direction: column; gap: 6px; }
.b-pill {
  font-size: .72rem; padding: 6px 12px; border-radius: 999px;
  background: rgba(122,227,179,.15); color: #7be3b3; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px; transition: opacity .25s ease;
}
.builder-estimates { margin-top: 24px; position: relative; }
.est-label { color: rgba(255,255,255,.7); font-size: .8rem; margin-bottom: 10px; }
.est-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.est {
  text-align: center; padding: 16px 8px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  position: relative;
}
.est strong { display: block; font-size: 1.4rem; color: #fff; }
.est small { color: rgba(255,255,255,.65); font-size: .7rem; }
.est span { display: block; margin-top: 4px; color: rgba(255,255,255,.85); font-size: .78rem; }
.est em { display: inline-block; margin-top: 8px; background: var(--blue); color: #fff; font-size: .65rem; padding: 3px 10px; border-radius: 999px; font-style: normal; font-weight: 700; }
.est.active { background: rgba(47,109,255,.18); border-color: var(--blue); transform: translateY(-2px); }

/* OPTIONAL ADD-ONS */
.addons-section { padding: 0 0 var(--section-y); background: #fff; }
.addons-head { margin-bottom: 24px; }
.addons-head h3 { font-size: 1.4rem; margin-bottom: 4px; }
.addons-head p { margin: 0; }
.addons-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.addon {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; position: relative;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.addon:hover { border-color: var(--blue); transform: translateY(-2px); }
.addon .a-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; font-size: .9rem; }
.addon strong { display: block; color: var(--navy); font-size: .78rem; line-height: 1.2; }
.addon small { color: var(--muted); font-size: .7rem; }
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon .cbx {
  width: 16px; height: 16px; border: 1.5px solid var(--line);
  border-radius: 4px; flex: none; margin-left: auto; position: relative;
  transition: background .25s ease, border-color .25s ease;
}
.addon input:checked + .cbx { background: var(--blue); border-color: var(--blue); }
.addon input:checked + .cbx::after {
  content: "✓"; position: absolute; inset: 0; color: #fff;
  font-size: .7rem; display: grid; place-items: center; font-weight: 800;
}
.addon:has(input:checked) { background: var(--blue-soft); border-color: var(--blue); }

/* BENEFITS ROW */
.benefits-section { padding: 0 0 var(--section-y); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ben { display: flex; gap: 14px; align-items: flex-start; }
.ben .b-ic {
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem; flex: none;
  transition: transform .3s ease, background .3s ease;
}
.ben:hover .b-ic { transform: scale(1.08); background: var(--blue); }
.ben h4 { font-size: 1rem; margin-bottom: 4px; }
.ben p { font-size: .88rem; margin: 0; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.mission-section { padding: var(--section-y) 0; background: var(--bg); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.mission-grid h2 { color: var(--navy); }
.mission-grid p { font-size: .95rem; }

.story-section { padding: var(--section-y) 0; }
.timeline {
  position: relative; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1100px; margin: 0 auto;
}
.tl-line { position: absolute; top: 22px; left: 8%; right: 8%; border-top: 2px dashed var(--line); }
.tl-item { text-align: center; position: relative; z-index: 1; }
.tl-year {
  width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--blue-soft);
  transition: transform .3s ease;
}
.tl-item:hover .tl-year { transform: scale(1.08); }
.tl-item h4 { font-size: 1rem; }
.tl-item p { font-size: .85rem; margin: 0; }

.values-section { padding: var(--section-y) 0; background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.value-card h4 { font-size: 1rem; }
.value-card p { font-size: .85rem; margin: 0; }

.team-section { padding: var(--section-y) 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.avatar {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.8rem;
}
.team-card h4 { font-size: 1rem; }
.team-card p { font-size: .88rem; margin: 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: 1fr 1fr; }
  .builder-controls { grid-template-columns: 1fr 1fr; }
  .b-state { grid-column: 1 / -1; flex-direction: row; }
  .est-row { grid-template-columns: 1fr 1fr 1fr; }
  .addons-grid { grid-template-columns: 1fr 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .tl-line { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .packages-grid, .est-row, .addons-grid, .timeline, .values-grid { grid-template-columns: 1fr; }
  .builder-controls { grid-template-columns: 1fr; }
  .snapshot-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TOOLS PAGE
   ============================================ */

/* breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* hero visual — dashboard + calculator */
.tools-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.tv-dash {
  background: #fff; border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-md); width: 360px;
  transform: rotate(-2deg);
}
.tv-dash-head { font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.tv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tv-card {
  background: #f4f7fc; border-radius: 8px; padding: 10px;
  height: 60px; display: flex; align-items: center; justify-content: center;
}
.tv-card svg { width: 100%; height: 100%; }
.tv-bars-row { display: flex; align-items: flex-end; gap: 4px; height: 100%; width: 100%; }
.tv-bars-row span { flex: 1; background: var(--blue); border-radius: 2px; height: 60%; }
.tv-rows { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.tv-rows span { display: block; height: 6px; border-radius: 3px; background: #cfd8ef; }
.tv-rows span:first-child { width: 80%; background: var(--blue-2); }
.tv-rows span:nth-child(2) { width: 60%; }

.tv-calc {
  position: absolute; right: 0; bottom: -10px;
  background: var(--navy); border-radius: 14px; padding: 14px;
  box-shadow: var(--shadow-lg); width: 150px;
  transform: rotate(4deg);
}
.tv-screen {
  background: #f4f7fc; color: var(--navy);
  font-weight: 700; font-size: 1.1rem; text-align: right;
  padding: 8px 10px; border-radius: 6px; margin-bottom: 10px;
}
.tv-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.tv-keys span {
  background: var(--blue); color: #fff; border-radius: 5px;
  text-align: center; font-size: .8rem; font-weight: 600;
  padding: 7px 0;
}
.tv-keys .op { background: var(--blue-2); }

/* tool cards grid */
.tools-section { padding: var(--section-y) 0; background: #fff; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; display: flex; flex-direction: column;
  color: var(--text); text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.tool-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--blue); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.tool-ic {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px;
}
.tool-card h4 { font-size: 1.1rem; }
.tool-card > p { font-size: .9rem; min-height: 50px; }
.tool-card .check-list { margin: 12px 0 20px; }
.tool-card .check-list li::before { background: var(--blue); color: #fff; }
.open-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center;
  padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid var(--blue); color: var(--blue);
  font-weight: 600; font-size: .88rem;
  transition: background .25s ease, color .25s ease;
}
.tool-card:hover .open-btn { background: var(--blue); color: #fff; }

/* how to use */
.how-to-section { padding: 0 0 var(--section-y); }
.how-to-band {
  background: var(--bg); border-radius: var(--radius-lg); padding: 50px 40px;
}
.how-to-band .center-head { margin-bottom: 30px; }
.how-to-band .center-head h2 { font-size: 1.6rem; }
.how-to-steps {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 1000px; margin: 0 auto;
}
.ht-line { position: absolute; top: 32px; left: 14%; right: 14%; border-top: 2px dashed var(--line); }
.ht-step { text-align: center; position: relative; z-index: 1; }
.ht-ic {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem;
  position: relative; transition: transform .3s ease;
}
.ht-step:hover .ht-ic { transform: scale(1.08); }
.ht-num {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; background: var(--blue); color: #fff;
  font-size: .7rem; font-weight: 700; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid #fff;
}
.ht-step h4 { font-size: 1rem; }
.ht-step p { font-size: .85rem; margin: 0; max-width: 240px; margin: 0 auto; }

/* CTA with circular icon */
.cta-with-icon { display: flex; align-items: center; gap: 20px; }
.cta-ic {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: grid; place-items: center; font-size: 1.4rem; flex: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tv-dash { width: 100%; max-width: 360px; }
  .tv-calc { position: relative; right: auto; bottom: auto; margin-top: -20px; }
}
@media (max-width: 720px) {
  .tools-grid { grid-template-columns: 1fr; }
  .how-to-steps { grid-template-columns: 1fr; }
  .ht-line { display: none; }
  .how-to-band { padding: 32px 20px; }
  .cta-with-icon { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================================
   GST CALCULATOR (and shared calculator styles)
   ============================================ */
.hidden { display: none !important; }
.mt-8 { margin-top: 8px; }

/* hero visual — calculator + document */
.calc-hero-visual { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.ch-doc {
  position: absolute; left: 6%; top: 8%;
  width: 180px; height: 220px; background: #fff;
  border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 18px; transform: rotate(-6deg);
}
.ch-doc-head { font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.ch-doc-lines { display: flex; flex-direction: column; gap: 10px; }
.ch-doc-lines span { display: block; height: 8px; border-radius: 4px; background: #e9eef9; }
.ch-doc-lines span:nth-child(1) { width: 90%; background: var(--blue-2); }
.ch-doc-lines span:nth-child(2) { width: 70%; }
.ch-doc-lines span:nth-child(3) { width: 80%; }
.ch-doc-lines span:nth-child(4) { width: 50%; background: var(--blue); }
.ch-calc {
  position: relative; z-index: 2;
  width: 220px; background: var(--navy);
  border-radius: 18px; padding: 18px;
  box-shadow: var(--shadow-lg); transform: rotate(5deg) translateX(40px);
}
.ch-screen {
  background: #f4f7fc; color: var(--navy);
  font-weight: 700; font-size: 1.2rem; text-align: right;
  padding: 10px 12px; border-radius: 6px; margin-bottom: 12px;
}
.ch-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ch-keys span {
  background: var(--blue); color: #fff; border-radius: 6px;
  text-align: center; font-size: .85rem; font-weight: 600;
  padding: 8px 0;
}
.ch-keys .zero { grid-column: span 2; }
.ch-keys .eq { background: var(--blue-2); }
.ch-badge {
  position: absolute; right: -10px; bottom: 20px;
  width: 60px; height: 60px; border-radius: 50%;
  background: #fff; color: var(--blue);
  display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 800;
  box-shadow: var(--shadow-md);
}

/* calculator grid */
.calc-section { padding: var(--section-y) 0 0; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

/* form panel */
.calc-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.calc-form-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.calc-form-head h3 { margin: 0; font-size: 1.2rem; }
.mode-toggle { display: flex; background: var(--bg); border-radius: 10px; padding: 4px; gap: 4px; }
.mode-btn {
  border: 0; background: transparent; padding: 8px 18px;
  font-weight: 600; font-size: .85rem; color: var(--muted);
  border-radius: 8px; cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.mode-btn.active { background: var(--blue); color: #fff; box-shadow: 0 4px 10px rgba(47,109,255,.3); }
.field-label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin: 14px 0 8px; }
.field-label .info { color: var(--muted); font-weight: 400; cursor: help; margin-left: 2px; }

.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.radio-card {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer; background: #fff;
  transition: border-color .25s ease, background .25s ease;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  flex: none; margin-top: 2px; position: relative; transition: border-color .25s ease;
}
.radio-card input:checked ~ .dot { border-color: var(--blue); }
.radio-card input:checked ~ .dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue);
}
.radio-card:has(input:checked) { border-color: var(--blue); background: #f4f8ff; }
.radio-card strong { display: block; color: var(--navy); font-size: .9rem; }
.radio-card small { color: var(--muted); font-size: .78rem; }

.input-wrap {
  position: relative; display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,255,.12); }
.input-wrap.error { border-color: #e54848; }
.input-wrap .prefix, .input-wrap .suffix {
  padding: 0 14px; color: var(--muted); font-weight: 600;
  background: var(--bg); align-self: stretch; display: grid; place-items: center;
}
.input-wrap .prefix { border-right: 1px solid var(--line); border-radius: 8px 0 0 8px; }
.input-wrap .suffix { border-left: 1px solid var(--line); border-radius: 0 8px 8px 0; }
.input-wrap input {
  flex: 1; border: 0; padding: 12px 14px; font-size: 1rem;
  font-weight: 600; color: var(--navy); background: transparent; outline: 0;
  font-family: inherit;
}

#rateSelect, #roundSelect {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; font-size: .95rem;
  color: var(--navy); font-weight: 500; cursor: pointer; font-family: inherit;
  transition: border-color .2s ease;
}
#rateSelect:focus, #roundSelect:focus { border-color: var(--blue); outline: 0; }

.err { display: block; color: #e54848; font-size: .78rem; margin-top: 6px; min-height: 16px; }

.calc-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.calc-actions .btn { flex: 1; justify-content: center; }
.reset-btn {
  background: transparent; border: 0; color: var(--blue);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 8px;
  transition: background .25s ease;
}
.reset-btn:hover { background: var(--blue-soft); }

/* results panel */
.calc-results {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.cr-head h3 { color: #fff; margin: 0 0 18px; font-size: 1.2rem; }
.cr-row { display: flex; justify-content: space-between; align-items: flex-start; }
.cr-row small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; margin-bottom: 4px; }
.cr-row strong { color: #fff; font-size: .92rem; background: rgba(255,255,255,.08); padding: 4px 10px; border-radius: 6px; display: inline-block; }
.cr-row .right { text-align: right; }
.cr-row .right strong { background: transparent; padding: 0; font-size: 1.4rem; font-weight: 800; }
.cr-line { height: 1px; background: rgba(255,255,255,.1); margin: 18px 0; }
.cr-block small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; margin-bottom: 4px; }
.cr-big { font-size: 1.9rem; font-weight: 800; line-height: 1.1; }
.cr-big.white { color: #fff; }
.cr-big.green { color: #34d399; }
.cr-big.blue { color: var(--blue-2); }

.copy-btn {
  margin-top: auto; padding: 14px;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; font-weight: 600; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .25s ease, transform .25s ease;
  margin-top: 24px; font-family: inherit;
}
.copy-btn:hover { background: rgba(255,255,255,.12); }
.copy-btn.copied { background: #34d399; border-color: #34d399; }
.disclaimer { margin: 14px 0 0; color: rgba(255,255,255,.55); font-size: .75rem; }

/* How GST Works */
.info-section { padding: var(--section-y) 0 0; }
.info-card {
  background: #f4f7fc; border-radius: var(--radius-lg); padding: 36px;
  display: grid; grid-template-columns: 1.1fr 2fr; gap: 30px; align-items: center;
}
.info-card h3 { font-size: 1.2rem; }
.info-card p { font-size: .9rem; }
.info-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-step .i-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 10px; }
.info-step strong { display: block; color: var(--navy); margin-bottom: 4px; }
.info-step p { font-size: .82rem; margin: 0; }

/* Common Use Cases */
.use-cases-section { padding: 24px 0 var(--section-y); }
.use-cases-card {
  background: #f4f7fc; border-radius: var(--radius-lg); padding: 36px;
}
.use-cases-card h3 { font-size: 1.2rem; margin-bottom: 22px; }
.uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc-item {
  background: #fff; border-radius: var(--radius); padding: 20px;
  display: flex; gap: 12px; align-items: flex-start;
  transition: transform .3s ease, box-shadow .3s ease;
}
.uc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.uc-item .i-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.uc-item strong { display: block; color: var(--navy); font-size: .9rem; margin-bottom: 4px; }
.uc-item p { font-size: .8rem; margin: 0; }

/* tool CTA flat blue variant */
.cta-band.tool-cta { background: linear-gradient(135deg, #2f6dff 0%, #1d52d4 100%); }
.cta-band.tool-cta .cta-ic { background: #fff; color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .calc-grid { grid-template-columns: 1fr; }
  .info-card { grid-template-columns: 1fr; }
  .info-steps { grid-template-columns: 1fr 1fr 1fr; }
  .uc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .calc-form, .calc-results, .info-card, .use-cases-card { padding: 22px; }
  .radio-row { grid-template-columns: 1fr; }
  .info-steps { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .ch-doc { width: 130px; height: 170px; left: 0; }
  .ch-calc { width: 170px; transform: rotate(5deg) translateX(20px); }
}

/* ============================================
   CASH FLOW RUNWAY CALCULATOR
   ============================================ */

/* hero visual */
.runway-hero-visual { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.rh-runway {
  background: #fff; border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow-md); width: 280px;
}
.rh-runway > small { color: var(--muted); font-size: .78rem; }
.rh-months { font-size: 1.4rem; font-weight: 800; color: var(--blue); margin: 4px 0 10px; }
.rh-runway svg { width: 100%; height: 70px; display: block; }
.rh-cal {
  width: 110px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.rh-cal-top { height: 22px; background: var(--blue); position: relative; }
.rh-cal-top::before, .rh-cal-top::after {
  content: ""; position: absolute; top: -6px; width: 4px; height: 12px;
  background: var(--navy); border-radius: 2px;
}
.rh-cal-top::before { left: 22px; } .rh-cal-top::after { right: 22px; }
.rh-cal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px; }
.rh-cal-grid span { display: block; height: 14px; background: #eef2fa; border-radius: 3px; }
.rh-cal-grid span.hl { background: var(--blue); }
.rh-clock {
  position: absolute; right: 30px; bottom: 30px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
}

/* form additions */
.ch-ic {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 1rem; margin-right: 8px; vertical-align: middle;
}
.calc-form-head h3 { display: flex; align-items: center; gap: 4px; }
.help { display: block; color: var(--muted); font-size: .76rem; margin-top: 6px; }
.info-note {
  background: var(--blue-soft); border-radius: 10px; padding: 14px;
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start;
  font-size: .8rem;
}
.info-note span { color: var(--blue); font-weight: 700; flex: none; }
.info-note p { margin: 0; color: var(--navy); }

/* results — runway specific */
.runway-results .runway-hero {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 18px; margin-bottom: 18px;
  display: flex; gap: 14px; align-items: center;
}
.runway-hero .rwh-ic {
  width: 56px; height: 56px; border-radius: 12px; flex: none;
  background: rgba(47,109,255,.18); color: var(--blue-2);
  display: grid; place-items: center; font-size: 1.4rem;
}
.runway-hero small { color: rgba(255,255,255,.65); font-size: .78rem; display: block; }
.rwh-value { font-size: 1.8rem; font-weight: 800; color: #34d399; line-height: 1.1; margin: 2px 0; }

.rw-list { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.rw-list > div { display: flex; justify-content: space-between; align-items: center; }
.rw-list span { color: rgba(255,255,255,.75); }
.rw-list strong { color: #fff; font-weight: 700; }
.rw-list .hl span { color: var(--blue-2); font-weight: 600; }
.rw-list .hl strong { color: var(--blue-2); }

.rw-chart-wrap { margin: 20px 0 18px; }
.rw-chart-wrap h5 { color: #fff; font-size: .9rem; margin: 0 0 10px; }
.rw-chart {
  width: 100%; height: 180px; background: rgba(255,255,255,.03);
  border-radius: 10px; padding: 8px;
}

/* improve runway */
.improve-card .sub { color: var(--muted); margin: -10px 0 22px; font-size: .9rem; }
.improve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.improve-item {
  background: #fff; border-radius: var(--radius); padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; gap: 6px; text-align: center;
}
.improve-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.improve-item .i-ic {
  width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 6px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem;
}
.improve-item strong { color: var(--navy); font-size: .95rem; }
.improve-item p { font-size: .82rem; margin: 0; }
.improve-item .learn { margin-top: auto; padding-top: 8px; font-size: .82rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .improve-grid { grid-template-columns: 1fr 1fr; }
  .runway-hero-visual { gap: 14px; }
}
@media (max-width: 720px) {
  .improve-grid { grid-template-columns: 1fr; }
  .runway-hero-visual { flex-direction: column; }
  .rh-clock { position: relative; right: auto; bottom: auto; }
}

/* ============================================
   PAYROLL COST CALCULATOR
   ============================================ */

/* hero visual */
.payroll-hero-visual { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.ph-card {
  background: #fff; border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-md); width: 280px; transform: rotate(-3deg);
}
.ph-card > small { color: var(--muted); font-size: .78rem; }
.ph-value { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 4px 0 12px; }
.ph-row { display: flex; gap: 14px; align-items: center; }
.ph-donut { width: 70px; height: 70px; flex: none; }
.ph-legend { display: flex; flex-direction: column; gap: 4px; font-size: .7rem; color: var(--muted); }
.ph-legend span { display: flex; align-items: center; gap: 6px; }
.ph-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.ph-calc {
  background: var(--navy); border-radius: 14px; padding: 14px;
  width: 150px; box-shadow: var(--shadow-lg); transform: rotate(5deg);
}
.ph-screen { background: #f4f7fc; color: var(--navy); font-weight: 700; font-size: .95rem; text-align: right; padding: 7px 10px; border-radius: 5px; margin-bottom: 8px; }
.ph-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ph-keys span { background: var(--blue); color: #fff; border-radius: 5px; text-align: center; font-size: .75rem; font-weight: 600; padding: 6px 0; }

/* form layout helpers */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two-col select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .92rem; color: var(--navy); font-weight: 500; cursor: pointer; font-family: inherit; }
.two-col select:focus { border-color: var(--blue); outline: 0; }
.two-help { display: flex; justify-content: space-between; gap: 12px; }

.oncost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 4px; }
.oc-label { display: block; color: var(--navy); font-size: .8rem; font-weight: 600; margin-bottom: 6px; }

/* results — payroll specific */
.big-num { font-size: 2.2rem; line-height: 1.05; }
.rwh-sub { color: rgba(255,255,255,.65); font-size: .82rem; }

.pay-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.pay-row:last-of-type { border-bottom: 0; }
.pay-row.clickable { cursor: pointer; }
.pay-row .grow { flex: 1; }
.pay-row strong { color: #fff; font-weight: 600; font-size: .92rem; }
.pay-row .muted { color: rgba(255,255,255,.55); font-weight: 400; font-size: .82rem; margin-left: 4px; }
.pay-row .amt { color: #fff; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.pay-row .amt.blue { color: var(--blue-2); }
.p-ic {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-size: 1rem;
}
.p-ic.blue { background: rgba(47,109,255,.18); color: var(--blue-2); }
.p-ic.green { background: rgba(52,211,153,.18); color: #34d399; }
.p-ic.indigo { background: rgba(91,140,255,.18); color: var(--blue-2); }
.p-ic.dark { background: rgba(255,255,255,.08); color: #fff; }
.caret-r { display: inline-block; transition: transform .25s ease; margin-left: 4px; font-size: .7rem; }
.pay-row.open .caret-r { transform: rotate(180deg); }

.oc-breakdown {
  margin: 6px 0 10px 48px;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 240px; overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}
.oc-breakdown.collapsed { max-height: 0; opacity: 0; margin: 0 0 0 48px; }
.oc-breakdown > div { display: flex; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.75); }
.oc-breakdown strong { color: #fff; font-weight: 600; }
.oc-breakdown em { font-style: normal; color: rgba(255,255,255,.5); }

.freq-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.freq-row small { color: rgba(255,255,255,.65); font-size: .82rem; }
.freq-row strong { color: #fff; font-size: 1.1rem; font-weight: 700; }

/* industry benchmarks */
.bench-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.bench-item {
  background: #fff; border-radius: var(--radius); padding: 18px;
  text-align: left; transition: transform .3s ease, box-shadow .3s ease;
}
.bench-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.bench-item .b-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 10px; }
.bench-item strong { display: block; color: var(--navy); font-size: .9rem; }
.b-range { color: var(--blue); font-weight: 700; margin: 4px 0 2px; font-size: 1rem; }
.bench-item small { color: var(--muted); font-size: .75rem; }
.bench-note { display: block; color: var(--muted); font-size: .75rem; margin-top: 16px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .oncost-grid { grid-template-columns: 1fr 1fr; }
  .bench-grid { grid-template-columns: 1fr 1fr 1fr; }
  .payroll-hero-visual { flex-direction: column; gap: 10px; }
  .ph-card, .ph-calc { transform: none; }
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .oncost-grid { grid-template-columns: 1fr; }
  .bench-grid { grid-template-columns: 1fr; }
  .big-num { font-size: 1.8rem; }
}

/* ============================================
   PROFIT MARGIN CALCULATOR
   ============================================ */

/* hero visual */
.pm-hero-visual { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.pm-overview {
  background: #fff; border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow-md); width: 260px; transform: rotate(-3deg);
}
.pm-overview small { color: var(--muted); font-size: .78rem; font-weight: 600; color: var(--navy); }
.pm-overview svg { width: 100%; height: 70px; display: block; margin-top: 8px; }
.pm-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.pm-lines span { display: block; height: 6px; border-radius: 3px; background: #eef2fa; }
.pm-lines span:first-child { width: 80%; background: var(--blue-2); }
.pm-lines span:nth-child(2) { width: 60%; }
.pm-donut-card {
  position: absolute; left: 12%; bottom: 8%;
  background: #fff; border-radius: 12px; padding: 12px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  transform: rotate(-4deg);
}
.pm-donut-card svg { width: 50px; height: 50px; }
.pm-donut-text strong { display: block; color: var(--navy); font-size: 1rem; font-weight: 800; }
.pm-donut-text small { color: var(--muted); font-size: .65rem; }
.pm-calc {
  background: var(--navy); border-radius: 14px; padding: 14px;
  width: 160px; box-shadow: var(--shadow-lg); transform: rotate(4deg);
}
.pm-screen { background: #f4f7fc; color: var(--navy); font-weight: 700; font-size: 1rem; text-align: right; padding: 8px 10px; border-radius: 5px; margin-bottom: 8px; }
.pm-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pm-keys span { background: var(--blue); color: #fff; border-radius: 5px; text-align: center; font-size: .78rem; font-weight: 600; padding: 7px 0; }
.pm-keys .zero { grid-column: span 2; }
.pm-keys .eq { background: var(--blue-2); }

/* results */
.pm-results { padding: 26px; }
.pm-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin-bottom: 10px;
  background: rgba(255,255,255,.03); border-radius: 10px;
  border: 1px solid rgba(255,255,255,.05);
}
.pm-row .grow { flex: 1; }
.pm-row strong { display: block; color: #fff; font-weight: 600; font-size: .92rem; }
.pm-row small { display: block; color: rgba(255,255,255,.55); font-size: .75rem; margin-top: 2px; }
.pm-amt { text-align: right; }
.pm-amt .amt { color: #fff; font-size: 1rem; font-weight: 700; }
.pm-amt .amt.blue { color: var(--blue-2); }
.pm-amt .amt.purple { color: #a78bfa; }
.pm-amt .pct { font-size: .85rem; font-weight: 700; margin-top: 2px; }
.pm-amt .pct.big { font-size: 1.3rem; font-weight: 800; }
.pm-amt .pct.green { color: #34d399; }
.pm-amt .pct.blue { color: var(--blue-2); }
.pm-amt .pct.purple { color: #a78bfa; }
.p-ic.purple { background: rgba(167,139,250,.18); color: #a78bfa; }

/* understanding section — coloured strong */
.pm-info .info-step strong.g { color: #16a34a; }
.pm-info .info-step strong.b { color: var(--blue); }
.pm-info .info-step strong.p { color: #7c3aed; }
.pm-info .info-step .i-ic.green { background: #dcfce7; color: #16a34a; }
.pm-info .info-step .i-ic.purple { background: #ede9fe; color: #7c3aed; }

/* benchmarks variant */
.pm-bench { grid-template-columns: repeat(4, 1fr); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .pm-bench { grid-template-columns: 1fr 1fr; }
  .pm-hero-visual { flex-direction: column; gap: 10px; }
  .pm-overview, .pm-calc { transform: none; }
  .pm-donut-card { position: relative; left: auto; bottom: auto; transform: none; }
}
@media (max-width: 720px) {
  .pm-bench { grid-template-columns: 1fr; }
  .pm-row { padding: 10px 12px; }
}

/* ============================================
   INCOME TAX CALCULATOR
   ============================================ */

/* hero visual */
.it-hero-visual { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.it-card {
  background: #fff; border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-md); width: 240px; transform: rotate(-3deg);
}
.it-card > small { color: var(--muted); font-size: .78rem; }
.it-value { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 4px 0 12px; }
.it-row { display: flex; gap: 14px; align-items: center; }
.it-lines { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.it-lines span { display: block; height: 6px; border-radius: 3px; background: #eef2fa; }
.it-lines span:first-child { width: 80%; background: var(--blue-2); }
.it-lines span:nth-child(2) { width: 60%; }
.it-lines span:nth-child(3) { width: 70%; }
.it-calc {
  background: var(--navy); border-radius: 14px; padding: 14px;
  width: 160px; box-shadow: var(--shadow-lg); transform: rotate(5deg);
}
.it-screen { background: #f4f7fc; color: var(--navy); font-weight: 700; font-size: 1rem; text-align: right; padding: 8px 10px; border-radius: 5px; margin-bottom: 8px; }
.it-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.it-keys span { background: var(--blue); color: #fff; border-radius: 5px; text-align: center; font-size: .78rem; font-weight: 600; padding: 7px 0; }
.it-keys .eq { background: var(--blue-2); }

/* type toggle */
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.type-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px; font-weight: 600; font-size: .9rem; color: var(--navy);
  cursor: pointer; transition: all .25s ease; font-family: inherit;
}
.type-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(47,109,255,.25); }

/* tax table */
.tax-table-section { padding: var(--section-y) 0 0; }
.tax-table-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.tax-table-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.tax-table-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.tax-table-wrap { overflow-x: auto; }
.tax-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tax-table th { text-align: left; padding: 12px 14px; color: var(--muted); font-weight: 600; font-size: .8rem; border-bottom: 1px solid var(--line); }
.tax-table td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.tax-table tr:last-child td { border-bottom: 0; }
.tax-table td:first-child { font-weight: 700; color: var(--navy); }
.tax-table td:last-child { color: var(--navy); font-weight: 600; }

/* tax tip */
.tax-tip-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.tax-tip-card .tip-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px;
}
.tax-tip-card h4 { font-size: 1.05rem; line-height: 1.2; }
.tax-tip-card p { font-size: .88rem; }

/* results — breakdown */
.it-breakdown-head { color: rgba(255,255,255,.85); font-weight: 700; margin-bottom: 10px; font-size: .95rem; }
.it-results .rw-list strong { white-space: nowrap; }
.it-notice {
  margin-top: 16px; padding: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; display: flex; gap: 12px; align-items: center;
}
.it-notice .i-ic {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(47,109,255,.18); color: var(--blue-2);
  display: grid; place-items: center; flex: none;
}
.it-notice small { display: block; color: rgba(255,255,255,.75); font-size: .8rem; margin-bottom: 4px; }
.it-notice .learn { color: var(--blue-2); font-size: .82rem; }
.freq-row.hl-green small { color: rgba(255,255,255,.65); }
.freq-row.hl-green strong { color: #34d399; font-size: 1.2rem; }

/* more calculators row */
.more-calcs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mc-item {
  background: #fff; border-radius: var(--radius); padding: 18px;
  text-align: left; color: var(--text); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mc-item .b-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 10px; }
.mc-item strong { display: block; color: var(--navy); font-size: .9rem; }
.mc-item small { color: var(--muted); font-size: .75rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .tax-table-grid { grid-template-columns: 1fr; }
  .more-calcs { grid-template-columns: 1fr 1fr 1fr; }
  .it-hero-visual { flex-direction: column; }
  .it-card, .it-calc { transform: none; }
}
@media (max-width: 720px) {
  .more-calcs { grid-template-columns: 1fr; }
  .type-toggle { grid-template-columns: 1fr; }
  .tax-table { font-size: .8rem; }
}

/* ============================================
   PRICING & MARKUP CALCULATOR
   ============================================ */

/* hero visual */
.pmk-hero-visual { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pmk-card {
  background: #fff; border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow-md); width: 280px; transform: rotate(-3deg);
}
.pmk-card small { color: var(--muted); font-size: .78rem; font-weight: 600; color: var(--navy); }
.pmk-value { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 4px 0 10px; }
.pmk-slider {
  height: 6px; background: var(--blue-soft); border-radius: 3px;
  position: relative; margin-bottom: 12px;
}
.pmk-slider span {
  position: absolute; left: 0; top: 0; height: 100%; width: 50%;
  background: var(--blue); border-radius: 3px;
}
.pmk-slider i {
  position: absolute; right: -8px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; background: var(--blue); border-radius: 50%;
  border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.pmk-card svg { width: 100%; height: 70px; display: block; }
.pmk-calc {
  background: var(--navy); border-radius: 14px; padding: 14px;
  width: 160px; box-shadow: var(--shadow-lg); transform: rotate(5deg);
}
.pmk-screen { background: #f4f7fc; color: var(--navy); font-weight: 700; font-size: 1rem; text-align: right; padding: 8px 10px; border-radius: 5px; margin-bottom: 8px; }
.pmk-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pmk-keys span { background: var(--blue); color: #fff; border-radius: 5px; text-align: center; font-size: .78rem; font-weight: 600; padding: 7px 0; }
.pmk-keys .eq { background: var(--blue-2); }
.pmk-dollar {
  position: absolute; right: -10px; bottom: 30px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #34d399; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800;
  box-shadow: var(--shadow-md);
}

/* OR divider */
.or-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 14px 0 4px; color: var(--muted); font-size: .8rem; font-weight: 600;
}
.or-divider::before, .or-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.priority-note { color: var(--blue); font-weight: 600; }

/* results — pricing specific */
.pmk-hero-result {
  text-align: center; padding: 22px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; margin-bottom: 16px;
}
.pmk-hero-result small { display: block; color: rgba(255,255,255,.75); font-size: .82rem; margin-bottom: 6px; }
.pmk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.pmk-mini {
  padding: 16px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px; text-align: center;
}
.pmk-mini small { display: block; color: rgba(255,255,255,.7); font-size: .78rem; margin-bottom: 6px; }
.pmk-mini .cr-big { font-size: 1.4rem; }

/* Understand the Difference cards */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.diff-card {
  background: #fff; border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.diff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.diff-card .i-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 6px;
}
.diff-card .i-ic.green { background: #dcfce7; color: #16a34a; }
.diff-card strong { color: var(--navy); font-size: 1rem; }
.diff-card p { font-size: .85rem; margin: 0 0 8px; }
.formula {
  background: var(--bg); padding: 10px 12px; border-radius: 8px;
  margin-top: auto;
}
.formula small { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 2px; }
.formula code {
  font-family: 'Inter', monospace; font-size: .78rem;
  color: var(--blue); font-weight: 600;
}

/* Scenario cards */
.scenario-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.scenario {
  background: #fff; border-radius: var(--radius); padding: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.scenario:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.scenario .b-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 10px; }
.scenario strong { display: block; color: var(--navy); font-size: .9rem; margin-bottom: 8px; }
.scenario ul { list-style: none; padding: 0; margin: 0; }
.scenario ul li { font-size: .78rem; color: var(--text); padding: 3px 0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr 1fr 1fr; }
  .pmk-hero-visual { flex-direction: column; gap: 10px; }
  .pmk-card, .pmk-calc { transform: none; }
  .pmk-dollar { position: relative; right: auto; bottom: auto; }
}
@media (max-width: 720px) {
  .scenario-grid { grid-template-columns: 1fr; }
  .pmk-two { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* trust points in hero */
.trust-points { display: flex; gap: 26px; margin-top: 24px; flex-wrap: wrap; }
.trust-points .tp { display: flex; gap: 10px; align-items: center; }
.trust-points .tp-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1rem; flex: none;
}
.trust-points strong { display: block; color: var(--navy); font-size: .82rem; }
.trust-points small { color: var(--muted); font-size: .72rem; }

/* hero visual */
.contact-hero-visual { position: relative; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.ch-card {
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-md); width: 320px;
}
.ch-card h5 { font-size: 1.05rem; line-height: 1.3; color: var(--navy); margin-bottom: 14px; font-weight: 700; }
.ch-mini-dash { display: flex; gap: 14px; align-items: center; }
.ch-mini-dash svg:first-child { flex: 1; height: 60px; }
.ch-donut-svg { width: 60px; height: 60px; flex: none; }
.ch-bars { display: flex; gap: 6px; align-items: flex-end; margin-top: 14px; height: 40px; }
.ch-bars span { flex: 1; background: var(--blue); border-radius: 3px 3px 0 0; }
.ch-bubble {
  position: absolute; top: 6%; right: 6%;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}
.ch-headset {
  position: absolute; right: 8%; bottom: 4%;
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}

/* help cards */
.help-section { padding: var(--section-y) 0; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.help-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.help-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.hc-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px;
}
.help-card h4 { font-size: 1.05rem; }
.help-card p { font-size: .88rem; }

/* form additions */
.form-sub { color: var(--muted); margin-bottom: 22px; font-size: .9rem; }
.req { color: #e54848; }
.input-wrap input::placeholder, textarea::placeholder { color: var(--muted); font-weight: 400; }
textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px; font-size: .95rem; color: var(--navy);
  font-family: inherit; resize: vertical; min-height: 110px;
  outline: 0; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,255,.12); }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 0; font-size: .82rem; color: var(--text);
  cursor: pointer; line-height: 1.5;
}
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent .cbx {
  width: 18px; height: 18px; border: 1.5px solid var(--line);
  border-radius: 4px; flex: none; margin-top: 1px;
  transition: background .2s ease, border-color .2s ease;
}
.consent input:checked + .cbx { background: var(--blue); border-color: var(--blue); }
.consent input:checked + .cbx::after {
  content: "✓"; color: #fff; font-size: .75rem; font-weight: 800;
  display: grid; place-items: center; width: 100%; height: 100%;
}
.consent .lk { color: var(--blue); text-decoration: underline; }
.mt-16 { margin-top: 16px; }
.secure-note { text-align: center; color: var(--muted); font-size: .78rem; margin: 14px 0 0; }
.form-success {
  background: #dcfce7; color: #15803d; border: 1px solid #86efac;
  padding: 14px 16px; border-radius: 10px; margin-top: 14px;
  font-weight: 600; font-size: .9rem; text-align: center;
}

/* schedule panel */
.schedule-panel { padding: 28px; }
.sp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; gap: 10px; flex-wrap: wrap; }
.sp-head h3 { color: #fff; font-size: 1.2rem; margin: 0; }
.sp-badge {
  background: rgba(47,109,255,.2); color: var(--blue-2);
  padding: 4px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
}
.sp-sub { color: rgba(255,255,255,.75); margin: 0 0 16px; font-size: .9rem; }
.sp-list { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.sp-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.9); font-size: .88rem;
}
.sp-list li span {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(47,109,255,.2); color: var(--blue-2);
  display: grid; place-items: center; font-size: .8rem; flex: none;
}
.sp-foot { color: rgba(255,255,255,.65); text-align: center; font-size: .8rem; margin: 12px 0 0; }

/* mini calendar */
.mini-cal {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 16px; margin-top: 8px;
}
.mc-nav { display: flex; justify-content: space-between; align-items: center; color: #fff; margin-bottom: 12px; }
.mc-nav strong { font-weight: 600; font-size: .95rem; }
.mc-nav button {
  background: transparent; border: 0; color: rgba(255,255,255,.7);
  font-size: 1.1rem; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: background .2s ease;
}
.mc-nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.mc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mc-head span { text-align: center; color: rgba(255,255,255,.5); font-size: .68rem; font-weight: 600; padding: 6px 0; }
.mc-days span {
  text-align: center; padding: 8px 0; border-radius: 6px;
  color: rgba(255,255,255,.85); font-size: .8rem; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.mc-days span:hover:not(.empty) { background: rgba(255,255,255,.1); }
.mc-days span.empty { cursor: default; }
.mc-days span.today { background: var(--blue); color: #fff; font-weight: 700; }
.mc-days span.selected { background: var(--blue-2); color: #fff; }

/* nav cta active */
.nav-cta.active-cta { box-shadow: 0 8px 22px rgba(47,109,255,.4); }

/* help centre card */
.help-centre-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; box-shadow: var(--shadow-sm);
}
.help-centre-card .hc-left { display: flex; align-items: center; gap: 16px; }
.hc-ic-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.4rem; flex: none;
}
.help-centre-card h4 { font-size: 1.05rem; margin-bottom: 2px; }
.help-centre-card p { margin: 0; font-size: .88rem; }
.help-centre-card .lk { color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .help-grid { grid-template-columns: 1fr; }
  .trust-points { gap: 16px; }
  .help-centre-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .ch-card { width: 100%; max-width: 320px; }
  .sp-head { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   BLOG PAGE
   ============================================ */

/* hero visual */
.blog-hero-visual { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.bh-articles {
  background: #fff; border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-md); width: 360px; transform: rotate(-2deg);
}
.bh-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .9rem; margin-bottom: 12px; }
.bh-logo { width: 24px; height: 24px; border-radius: 5px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .75rem; }
.bh-lines { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.bh-lines span { display: block; height: 6px; background: #eef2fa; border-radius: 3px; }
.bh-lines span:first-child { width: 80%; background: var(--blue-2); }
.bh-lines span:nth-child(2) { width: 60%; }
.bh-body { display: flex; gap: 12px; }
.bh-img { flex: 1; background: var(--blue-soft); border-radius: 8px; padding: 10px; }
.bh-img svg { width: 100%; height: auto; }
.bh-items { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bh-items span { display: block; height: 14px; background: var(--bg); border-radius: 4px; }
.bh-items span:nth-child(2) { background: var(--blue-soft); }
.bh-mini {
  position: absolute; left: 4%; bottom: 6%;
  background: #fff; border-radius: 10px; padding: 12px;
  box-shadow: var(--shadow-md); width: 100px; transform: rotate(-4deg);
}
.bh-mini svg { width: 100%; height: 30px; display: block; }
.bh-bubble {
  position: absolute; right: 6%; top: 4%;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}
.bh-li {
  position: absolute; right: 4%; bottom: 6%;
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; font-style: italic;
  box-shadow: var(--shadow-lg); font-family: Georgia, serif;
}

/* LinkedIn callout */
.li-callout-section { padding: 0 0 var(--section-y); }
.li-callout {
  background: #eef3ff; border-radius: var(--radius-lg); padding: 26px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
}
.li-icon-box {
  width: 80px; height: 80px; border-radius: 16px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 800; font-style: italic;
  font-family: Georgia, serif;
  box-shadow: var(--shadow-md);
}
.li-text h3 { font-size: 1.2rem; margin-bottom: 4px; }
.li-text p { margin: 0; font-size: .9rem; }
.li-action { text-align: right; }
.li-action small { display: block; color: var(--muted); font-size: .75rem; margin-top: 6px; }
.li-mini { font-style: italic; font-weight: 800; font-family: Georgia, serif; margin-right: 4px; }

/* LinkedIn feed */
.li-feed-section { padding: 0 0 var(--section-y); }
.li-feed-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.li-feed-head h2 { margin: 0 0 4px; font-size: 1.6rem; }
.li-feed-head p { margin: 0; font-size: .9rem; }
.li-feed-controls { display: flex; gap: 10px; align-items: center; }
.car-arrows { display: flex; gap: 8px; }
.li-embed { position: relative; }
.li-viewport { overflow: hidden; }
.li-track { display: flex; gap: 18px; transition: transform .5s ease; }

.li-card {
  flex: 0 0 calc((100% - 3 * 18px) / 4);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.li-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.li-card-head {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 10px; align-items: flex-start; margin-bottom: 12px;
}
.li-avatar {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.li-card-head strong { display: block; color: var(--navy); font-size: .88rem; }
.li-card-head small { display: block; color: var(--muted); font-size: .72rem; }
.li-card-head .li-icon {
  font-style: italic; font-weight: 800; font-family: Georgia, serif;
  color: var(--blue); font-size: 1.3rem;
}
.li-card-body { font-size: .85rem; color: var(--text); margin: 0 0 12px; min-height: 70px; }
.li-card-thumb {
  border-radius: 10px; padding: 16px; min-height: 160px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  overflow: hidden;
}
.li-card-thumb.dark { background: var(--navy); color: #fff; }
.li-card-thumb.light { background: #f4f7fc; color: var(--navy); }
.li-card-thumb h4 { font-size: 1.05rem; line-height: 1.2; margin: 0; color: #fff; }
.li-card-thumb h4.dark-text { color: var(--navy); }
.li-card-art { flex: none; width: 50%; max-width: 110px; }
.li-card-art svg { width: 100%; height: auto; display: block; }
.li-doc {
  background: #fff; border-radius: 8px; padding: 12px; flex: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.li-doc strong { color: var(--navy); font-size: 1.4rem; font-weight: 800; }
.li-doc span { display: block; height: 4px; background: #cfd8ef; border-radius: 2px; }
.li-doc span:first-of-type { width: 80%; }
.li-doc span:nth-of-type(2) { width: 60%; background: var(--blue-2); }
.li-doc span:nth-of-type(3) { width: 70%; }

.li-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line); margin-top: 12px;
}
.li-reacts { display: flex; align-items: center; gap: 0; }
.li-reacts span {
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .55rem;
  border: 2px solid #fff; margin-left: -4px;
}
.li-reacts span:first-child { margin-left: 0; background: #2f6dff; }
.li-reacts .r2 { background: #e54848; }
.li-reacts .r3 { background: #f59e0b; }
.li-reacts small { margin-left: 6px; color: var(--muted); font-size: .75rem; }
.li-card-foot > small { color: var(--muted); font-size: .75rem; }
.li-actions { display: flex; justify-content: space-around; padding-top: 8px; gap: 6px; }
.li-actions a { color: var(--muted); font-size: .8rem; font-weight: 600; padding: 6px 10px; border-radius: 6px; transition: background .2s ease, color .2s ease; }
.li-actions a:hover { background: var(--blue-soft); color: var(--blue); }

.li-fallback-msg { text-align: center; color: var(--muted); font-size: .88rem; margin: 26px 0 14px; }
.li-fallback-btn { text-align: center; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .li-callout { grid-template-columns: 1fr; text-align: left; }
  .li-action { text-align: left; }
  .li-card { flex: 0 0 calc((100% - 18px) / 2); }
}
@media (max-width: 720px) {
  .li-feed-head { flex-direction: column; align-items: flex-start; }
  .li-card { flex: 0 0 100%; }
  .bh-articles { width: 100%; max-width: 320px; }
}

/* ============================================
   FAQ PAGE
   ============================================ */

/* hero visual */
.faq-hero-visual { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.fh-window {
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-md); width: 380px;
}
.fh-window h4 { color: var(--blue); font-size: 1.3rem; margin: 0 0 14px; }
.fh-search {
  border: 1.5px solid var(--line); border-radius: 8px;
  height: 38px; display: flex; align-items: center; justify-content: flex-end;
  padding: 0 12px; margin-bottom: 16px;
}
.fh-search span { color: var(--blue); font-weight: 700; }
.fh-q { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.fh-q span {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f4f7fc; color: var(--blue);
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.fh-q i { display: block; height: 3px; background: var(--blue); border-radius: 2px; flex: 1; }
.fh-bubble {
  position: absolute; right: 6%; top: 4%;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}
.fh-mark {
  position: absolute; right: 4%; bottom: 4%;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 2.2rem; font-weight: 800;
  box-shadow: var(--shadow-lg);
}

/* category filter */
.faq-section { padding: var(--section-y) 0; }
.faq-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.faq-filter {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border: 1px solid var(--line);
  background: #fff; color: var(--navy);
  border-radius: 10px; font-weight: 600; font-size: .85rem;
  cursor: pointer; font-family: inherit;
  transition: all .25s ease;
}
.faq-filter:hover { border-color: var(--blue); color: var(--blue); }
.faq-filter.active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(47,109,255,.3); }

/* grid */
.faq-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: flex-start; }

/* accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; color: var(--navy); font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.f-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 700;
  flex: none;
}
.faq-item:not([open]) .f-toggle { background: var(--blue); }
.faq-item[open] .f-toggle { background: var(--blue); }
.f-arrow { margin-left: auto; color: var(--muted); font-size: .85rem; transition: transform .25s ease; }
.faq-item[open] .f-arrow { transform: rotate(180deg); }
.faq-item p {
  padding: 0 22px 22px 64px; margin: 0;
  color: var(--text); font-size: .9rem; line-height: 1.6;
  background: var(--bg);
  border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius);
}
.faq-item.hidden-cat { display: none; }

/* sidebar */
.faq-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.faq-side-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-md);
}
.faq-side-dark h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.lead-light { color: rgba(255,255,255,.95); font-weight: 600; margin-bottom: 6px; }
.faq-side-dark p { color: rgba(255,255,255,.75); font-size: .88rem; }
.faq-contact { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.faq-contact > div { display: flex; gap: 12px; align-items: flex-start; }
.fc-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(47,109,255,.2); color: var(--blue-2);
  display: grid; place-items: center; font-size: 1rem; flex: none;
}
.faq-contact small { display: block; color: rgba(255,255,255,.65); font-size: .75rem; }
.faq-contact strong { color: #fff; font-weight: 700; font-size: .9rem; }
.faq-side-dark .cr-line { margin: 20px 0; }
.faq-side-h { color: #fff; font-size: 1rem; margin: 0 0 6px; }

.faq-help-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: transform .3s ease, box-shadow .3s ease;
}
.faq-help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faq-help-card strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.faq-help-card p { font-size: .85rem; margin: 0 0 6px; }
.faq-help-card .learn { font-size: .85rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
}
@media (max-width: 720px) {
  .faq-filters { gap: 6px; }
  .faq-filter { padding: 8px 12px; font-size: .8rem; }
  .faq-item summary { padding: 14px 16px; font-size: .9rem; gap: 10px; }
  .faq-item p { padding: 0 16px 16px 52px; }
  .fh-window { width: 100%; max-width: 380px; }
}

/* ============================================
   CASE STUDIES PAGE
   ============================================ */

/* hero visual */
.cs-hero-visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.cs-overview {
  background: #fff; border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-md); width: 380px; transform: rotate(-2deg);
}
.cs-ov-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 12px; }
.cs-ov-img { background: var(--blue-soft); border-radius: 10px; padding: 10px; margin-bottom: 14px; }
.cs-ov-img svg { width: 100%; height: auto; display: block; }
.cs-ov-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.cs-ov-stats > div { background: #f4f7fc; border-radius: 8px; padding: 10px; text-align: center; }
.cs-ov-stats small { display: block; color: var(--muted); font-size: .68rem; margin-bottom: 4px; }
.cs-ov-stats strong { color: var(--navy); font-size: 1rem; }
.cs-stat-card {
  position: absolute; right: 4%; bottom: 6%;
  background: #fff; border-radius: 12px; padding: 14px;
  box-shadow: var(--shadow-md); width: 110px; transform: rotate(4deg);
}
.cs-stat-card svg { width: 100%; height: 40px; display: block; }

/* filter row reuses .faq-filters */
.cases-section { padding: var(--section-y) 0; }

/* case card grid */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--text); text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.case-card.hidden-cat { display: none; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }

.case-img {
  position: relative; height: 180px;
  background-size: cover; background-position: center;
  background-color: var(--blue-soft);
}
.case-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,58,0) 50%, rgba(14,26,58,0.45) 100%);
}
.case-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--blue);
  padding: 5px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* gradient backgrounds (visual placeholders matching industry feel) */
.retail-bg { background-image: linear-gradient(135deg, #f4b8c4 0%, #c1758d 50%, #4d2640 100%); }
.professional-bg { background-image: linear-gradient(135deg, #b5c4e6 0%, #5b8cff 50%, #2f4a8b 100%); }
.construction-bg { background-image: linear-gradient(135deg, #9fb4d4 0%, #6f88b3 50%, #2e3e58 100%); }
.healthcare-bg { background-image: linear-gradient(135deg, #cce6e8 0%, #9bd0d4 50%, #4a8e90 100%); }
.tech-bg { background-image: linear-gradient(135deg, #c9d3e8 0%, #7a8db2 50%, #2a3550 100%); }
.other-bg { background-image: linear-gradient(135deg, #efdfc6 0%, #c7a374 50%, #6b4a26 100%); }

.case-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-body h4 { font-size: 1.05rem; margin-bottom: 6px; }
.case-body > p { font-size: .85rem; margin-bottom: 16px; }
.case-metrics {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  padding: 14px; background: var(--bg); border-radius: 10px;
  margin-bottom: 14px;
}
.case-metrics > div { text-align: center; }
.cm-ic {
  width: 26px; height: 26px; margin: 0 auto 4px;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: .75rem;
}
.case-metrics strong { display: block; color: var(--blue); font-size: .85rem; font-weight: 800; }
.case-metrics small { color: var(--muted); font-size: .65rem; line-height: 1.2; }
.case-body .learn { margin-top: auto; font-size: .88rem; }

/* testimonial quote strip */
.case-quote {
  background: #eef3ff; border-radius: var(--radius);
  padding: 26px; margin-top: 30px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
}
.cq-mark {
  font-size: 3rem; line-height: 1; color: var(--blue);
  font-family: Georgia, serif; align-self: flex-start;
}
.case-quote p { margin: 0; color: var(--text); font-size: .92rem; line-height: 1.6; }
.cq-author { display: flex; gap: 12px; align-items: center; }
.cq-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.cq-author strong { display: block; color: var(--navy); font-size: .95rem; }
.cq-author small { display: block; color: var(--muted); font-size: .78rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .case-quote { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 720px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-metrics { padding: 10px; }
  .cs-overview { width: 100%; max-width: 380px; }
}

/* ============================================
   CASE STUDY DETAIL PAGE
   ============================================ */

/* hero */
.case-detail-hero { align-items: center; }
.case-pill.static {
  position: static; display: inline-block;
  background: var(--blue-soft); color: var(--blue);
  padding: 6px 14px; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
  margin-bottom: 16px; box-shadow: none;
}

.cd-image {
  width: 100%; min-height: 380px;
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-md);
}

/* metric row */
.cd-metrics { display: flex; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.cd-metrics > div { display: flex; gap: 12px; align-items: center; }
.cd-metrics .cm-ic {
  width: 40px; height: 40px; margin: 0;
  background: var(--blue-soft); color: var(--blue);
  border-radius: 10px; font-size: 1rem;
}
.cd-metrics strong { display: block; color: var(--navy); font-size: 1.2rem; font-weight: 800; line-height: 1.1; }
.cd-metrics small { color: var(--muted); font-size: .75rem; line-height: 1.3; }

/* sections */
.cd-section { padding: 50px 0; }

/* At a Glance */
.cd-glance {
  background: #eef3ff; border-radius: var(--radius-lg); padding: 32px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px;
}
.cdg-left { display: flex; gap: 18px; align-items: flex-start; }
.cdg-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; flex: none;
}
.cd-glance h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cd-glance p { font-size: .9rem; margin: 0; }
.cdg-right { display: flex; flex-direction: column; gap: 12px; }
.cdg-right > div {
  display: grid; grid-template-columns: 32px 110px 1fr; gap: 10px;
  align-items: center; font-size: .88rem;
}
.cdg-i {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(47,109,255,.1); color: var(--blue);
  display: grid; place-items: center; font-size: .9rem;
}
.cdg-right strong { color: var(--navy); font-weight: 600; }
.cdg-right span:not(.cdg-i) { color: var(--text); }

/* section heads */
.cd-head { margin-bottom: 22px; max-width: 900px; }
.cd-head h2 { margin-bottom: 8px; }
.cd-head p { margin: 0; font-size: .95rem; }

/* card grids */
.cd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cd-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cd-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.cd-card .cd-ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px;
}
.cd-card h4 { font-size: 1rem; }
.cd-card p { font-size: .85rem; margin: 0; }

/* results grid */
.cd-results-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch; }
.cd-metrics.big {
  background: #eef3ff; border-radius: var(--radius-lg);
  padding: 26px; gap: 20px; flex-direction: column; margin: 0;
  justify-content: center;
}
.cd-metrics.big > div { gap: 16px; }
.cd-metrics.big strong { color: var(--blue); font-size: 1.5rem; }
.case-quote.inline { margin: 0; grid-template-columns: auto 1fr; row-gap: 14px; }
.case-quote.inline .cq-author { grid-column: 1 / -1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .case-detail-hero { grid-template-columns: 1fr; }
  .cd-glance { grid-template-columns: 1fr; }
  .cd-grid-3, .cd-grid-4 { grid-template-columns: 1fr 1fr; }
  .cd-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cd-grid-3, .cd-grid-4 { grid-template-columns: 1fr; }
  .cd-metrics { gap: 18px; }
  .cdg-right > div { grid-template-columns: 32px 1fr; }
  .cdg-right > div > span:last-child { grid-column: 1 / -1; padding-left: 42px; }
  .cd-image { min-height: 240px; }
}

/* ============================================
   BRANDED EXPORT BUTTONS
   ============================================ */
.export-buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 24px;
}
.export-buttons:has(.copy) { grid-template-columns: 1fr 1fr 1fr; }
.btn-export {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px; border-radius: 10px; cursor: pointer;
  font-weight: 600; font-size: .82rem; font-family: inherit;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); color: #fff;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.btn-export:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.btn-export.pdf { background: var(--blue); border-color: var(--blue); }
.btn-export.pdf:hover { background: #1d52d4; }
.btn-export.csv:hover { border-color: var(--blue-2); color: var(--blue-2); }
.btn-export.btn-flash { background: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }

@media (max-width: 720px) {
  .export-buttons,
  .export-buttons:has(.copy) { grid-template-columns: 1fr; }
}

/* ============================================
   PRINT — hide UI, allow native print fallback
   ============================================ */
@media print {
  .site-header, .mobile-menu, .cta-band, .site-footer,
  .calc-form, .hero-visual, .breadcrumb, .hero-text .hero-ctas,
  .export-buttons, .copy-btn, .info-section, .use-cases-section,
  .builder-section, .addons-section, .benefits-section, .tax-table-section {
    display: none !important;
  }
  body, .calc-results, .calc-section, .container, .hero { background: #fff !important; color: #1a2240 !important; }
  .calc-results { box-shadow: none !important; border: 1px solid #e6ebf5 !important; padding: 24px !important; }
  .calc-results, .calc-results * { color: #1a2240 !important; }
  .cr-big.green, .cr-big.blue, .cr-big.purple, .rwh-value { color: #2f6dff !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   GLOBAL FOOTER (v2)
   ============================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,.75);
  padding: 0; margin-top: 0;
}

/* Newsletter band sits flush at the top of the footer */
.ft-newsletter {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px;
  align-items: center;
  padding: 40px var(--gutter);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-news-text h3 { color: #fff; font-size: 1.3rem; margin: 0 0 6px; line-height: 1.25; }
.ft-news-text p { color: rgba(255,255,255,.65); margin: 0; font-size: .9rem; }
.ft-news-form {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  position: relative;
}
.ft-news-form input {
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05); color: #fff;
  border-radius: 10px; padding: 13px 16px; font-size: .92rem;
  font-family: inherit; outline: 0;
  transition: border-color .2s ease, background .2s ease;
}
.ft-news-form input::placeholder { color: rgba(255,255,255,.5); }
.ft-news-form input:focus { border-color: var(--blue-2); background: rgba(255,255,255,.1); }
.ft-news-form button {
  border: 0; background: var(--blue); color: #fff;
  font-weight: 700; font-size: .92rem;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(47,109,255,.35);
}
.ft-news-form button:hover { background: #1d52d4; transform: translateY(-1px); }
.ft-news-form button:disabled { background: #4d6ba8; cursor: wait; transform: none; }
.ft-news-msg {
  grid-column: 1 / -1; font-size: .8rem; padding-top: 4px;
  min-height: 16px;
}
.ft-news-msg.ok { color: #7be3b3; }
.ft-news-msg.err { color: #ffb1b1; }

/* Top columns */
.ft-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px var(--gutter) 40px;
}
.ft-brand .footer-logo {
  height: 42px; margin-bottom: 14px;
  background: #fff; padding: 6px 10px; border-radius: 8px; display: inline-block;
}
.ft-brand p {
  color: rgba(255,255,255,.65); font-size: .88rem;
  max-width: 340px; margin: 0 0 18px;
}
.ft-socials { display: flex; gap: 10px; }
.ft-soc {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1; text-decoration: none;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .25s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ft-soc svg { display: block; }
.ft-soc:hover {
  background: var(--blue); border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(47,109,255,.4);
}
.ft-soc.li { font-weight: 800; font-family: Georgia, serif; font-size: 1.05rem; font-style: normal; }
.ft-soc.disabled { cursor: default; opacity: .5; }
.ft-soc.disabled:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); transform: none; box-shadow: none; }

.ft-col h5 {
  color: #fff; font-size: .92rem; font-weight: 700;
  margin: 0 0 14px; letter-spacing: .02em;
}
.ft-col a, .ft-col .ft-line {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 0; color: rgba(255,255,255,.65); font-size: .88rem;
  transition: color .2s ease, transform .2s ease;
}
.ft-col a:hover { color: #fff; transform: translateX(2px); }
.ft-ic {
  width: 22px; flex: none; color: var(--blue-2);
  font-size: .85rem; text-align: center;
}
.ft-contact .ft-line { cursor: default; }

/* Lower bar */
.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 18px var(--gutter);
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; color: rgba(255,255,255,.55);
}
.ft-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-legal a {
  color: rgba(255,255,255,.6); font-size: .78rem;
  transition: color .2s ease;
}
.ft-legal a:hover { color: var(--blue-2); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ft-newsletter { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 30px 36px; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .ft-top { grid-template-columns: 1fr; padding: 40px var(--gutter) 30px; }
  .ft-news-form { grid-template-columns: 1fr; }
  .ft-news-form button { width: 100%; }
  .ft-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

/* Hide deprecated grid styles so v1 footer markup (if any cached) collapses */
.footer-grid { display: none; }
.footer-bottom:not(.ft-bottom) { display: none; }

@media print {
  .site-footer { display: none !important; }
}

/* ============================================
   LEGAL PAGES (Privacy, Terms, Disclaimer, Cookies)
   Reusable layout — apply to any legal page.
   ============================================ */

/* hero visual */
.legal-hero-visual { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.lh-card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-md); width: 320px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lh-shield {
  width: 90px; height: 90px; border-radius: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff; display: grid; place-items: center;
  font-size: 2.4rem;
  box-shadow: 0 14px 30px rgba(47,109,255,.35);
}
.lh-shield.doc {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 18px;
}
.lh-lines { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.lh-lines span { display: block; height: 8px; background: #eef2fa; border-radius: 4px; }
.lh-lines span:first-child { width: 80%; background: var(--blue-2); }
.lh-lines span:nth-child(2) { width: 60%; }
.lh-mini { width: 100%; }
.lh-mini svg { width: 100%; height: 50px; display: block; }
.lh-lock {
  position: absolute; right: 6%; top: 6%;
  width: 50px; height: 50px; border-radius: 14px;
  background: #fff; color: var(--blue);
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow-md);
}
.lh-key {
  position: absolute; left: 4%; bottom: 6%;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
}

/* last updated band */
.legal-meta-section { padding: 30px 0 0; }
.legal-meta {
  background: var(--blue-soft); border-left: 4px solid var(--blue);
  border-radius: 10px; padding: 16px 22px;
  display: flex; align-items: center; gap: 16px;
}
.legal-meta .lm-ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1rem; flex: none;
}
.legal-meta strong { color: var(--navy); font-size: .92rem; }
.legal-meta small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* main legal layout (TOC + body) */
.legal-section { padding: 36px 0 var(--section-y); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: flex-start; }

.legal-toc {
  position: sticky; top: 90px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.legal-toc h5 {
  color: var(--navy); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 10px;
}
.legal-toc a {
  padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font-size: .88rem; font-weight: 500;
  border-left: 2px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.legal-toc a:hover { background: var(--blue-soft); color: var(--blue); border-left-color: var(--blue); }

/* body */
.legal-body { display: flex; flex-direction: column; gap: 28px; }
.legal-block {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 88px;
}
.legal-block h2 {
  color: var(--navy); font-size: 1.35rem;
  margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.legal-block p { color: var(--text); font-size: .95rem; line-height: 1.7; margin: 0 0 14px; }
.legal-block p:last-child { margin-bottom: 0; }

.legal-list { margin: 0 0 14px; padding: 0; list-style: none; }
.legal-list li {
  position: relative; padding: 8px 0 8px 30px;
  color: var(--text); font-size: .92rem; line-height: 1.6;
}
.legal-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  font-size: .7rem; font-weight: 800;
  display: grid; place-items: center;
}

.legal-card-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
  margin: 16px 0;
}
.legal-card-grid.two { grid-template-columns: 1fr 1fr; }
.legal-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.legal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--blue); }
.legal-card .lc-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1rem; margin-bottom: 10px;
}
.legal-card h4 { font-size: .92rem; margin: 0 0 4px; color: var(--navy); }
.legal-card p { font-size: .82rem; margin: 0; color: var(--muted); line-height: 1.5; }

/* callouts */
.legal-callout {
  background: var(--blue-soft); border-left: 3px solid var(--blue);
  padding: 14px 18px; border-radius: 8px;
  color: var(--navy); font-size: .9rem; margin: 14px 0 0 !important;
}
.legal-callout.warn { background: #fff4e5; border-left-color: #f59e0b; color: #92400e; }

/* contact card */
.legal-contact-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius); padding: 26px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 22px; align-items: center; margin-top: 16px;
}
.lcc-ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(47,109,255,.2); color: var(--blue-2);
  display: grid; place-items: center; font-size: 1.4rem; flex: none;
}
.lcc-text strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 8px; }
.lcc-text a {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0; color: rgba(255,255,255,.85); font-size: .88rem;
  transition: color .2s ease;
}
.lcc-text a:hover { color: var(--blue-2); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-card-grid, .legal-card-grid.two { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .legal-block { padding: 22px; }
  .legal-card-grid, .legal-card-grid.two { grid-template-columns: 1fr; }
  .legal-contact-card { grid-template-columns: 1fr; text-align: left; gap: 16px; }
  .legal-meta { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   COOKIE CONSENT BANNER + MODAL
   ============================================ */

/* shared button styles for consent UI */
.bm-btn {
  font-family: inherit; font-weight: 600; font-size: .85rem;
  padding: 10px 18px; border-radius: 8px; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.bm-btn.primary  { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 16px rgba(47,109,255,.3); }
.bm-btn.primary:hover  { background: #1d52d4; transform: translateY(-1px); }
.bm-btn.outline  { background: #fff; color: var(--navy); border-color: var(--line); }
.bm-btn.outline:hover  { border-color: var(--blue); color: var(--blue); }
.bm-btn.ghost    { background: transparent; color: var(--muted); }
.bm-btn.ghost:hover    { color: var(--navy); }

/* banner */
.bm-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px;
  z-index: 200;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(14,26,58,.22);
  padding: 0; opacity: 0; transform: translateY(20px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  max-width: 1100px; margin: 0 auto;
}
.bm-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.bm-banner-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 20px; align-items: center; padding: 18px 22px;
}
.bm-banner-text strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.bm-banner-text p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.bm-banner-text a { color: var(--blue); text-decoration: underline; }
.bm-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* modal */
.bm-modal-wrap {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,20,48,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.bm-modal-wrap.show { opacity: 1; visibility: visible; }
.bm-modal {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(14,26,58,.4);
  width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto;
  padding: 28px; position: relative;
  transform: scale(.97); transition: transform .25s ease;
}
.bm-modal-wrap.show .bm-modal { transform: scale(1); }
.bm-modal:focus { outline: none; }
.bm-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); border: 0; color: var(--navy);
  font-size: 1.3rem; cursor: pointer; line-height: 1;
  transition: background .2s ease;
}
.bm-close:hover { background: var(--line); }
.bm-modal h3 { color: var(--navy); font-size: 1.3rem; margin: 0 0 6px; }
.bm-sub { color: var(--muted); font-size: .88rem; margin: 0 0 18px; }

.bm-pref {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 16px; margin-bottom: 10px;
}
.bm-pref-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.bm-pref strong { color: var(--navy); font-size: .92rem; }
.bm-pref p { color: var(--muted); font-size: .8rem; margin: 0; line-height: 1.5; }

/* toggle switch */
.bm-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; position: relative; }
.bm-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bm-slider {
  width: 38px; height: 22px; background: var(--line);
  border-radius: 999px; position: relative;
  transition: background .25s ease;
}
.bm-slider::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.2);
  transition: transform .25s ease;
}
.bm-toggle input:checked + .bm-slider { background: var(--blue); }
.bm-toggle input:checked + .bm-slider::after { transform: translateX(16px); }
.bm-toggle.disabled { cursor: not-allowed; opacity: .65; }
.bm-toggle.disabled .bm-slider { background: var(--blue); }
.bm-toggle.disabled .bm-slider::after { transform: translateX(16px); }
.bm-toggle-label { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.bm-modal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; justify-content: flex-end; }

/* blocked content placeholder (data-consent gating) */
.bm-blocked { padding: 0; }
.bm-block-card {
  background: linear-gradient(135deg, var(--bg) 0%, var(--blue-soft) 100%);
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius); padding: 36px 24px;
  text-align: center; min-height: 220px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.bm-block-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 6px;
}
.bm-block-card h4 { color: var(--navy); font-size: 1.05rem; margin: 0; }
.bm-block-card p { color: var(--muted); font-size: .88rem; margin: 0 0 10px; max-width: 380px; }

/* RESPONSIVE */
@media (max-width: 720px) {
  .bm-banner { left: 10px; right: 10px; bottom: 10px; }
  .bm-banner-inner { grid-template-columns: 1fr; padding: 16px; }
  .bm-banner-actions { flex-direction: column; }
  .bm-banner-actions .bm-btn { width: 100%; }
  .bm-modal { padding: 22px; }
  .bm-modal-actions { flex-direction: column; }
  .bm-modal-actions .bm-btn { width: 100%; }
}

@media print {
  .bm-banner, .bm-modal-wrap { display: none !important; }
}

/* ============================================
   404 PAGE
   ============================================ */
.err-hero { padding-top: 80px; padding-bottom: 100px; overflow: hidden; }
.err-text .err-code {
  display: flex; gap: 6px; align-items: center;
  font-size: clamp(5rem, 12vw, 8.5rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: var(--navy); margin: 10px 0 8px;
}
.err-code .err-zero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: errPulse 3s ease-in-out infinite;
}
@keyframes errPulse {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
.err-text h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }

/* visual */
.err-visual { position: relative; min-height: 380px; }
.err-glow {
  position: absolute; inset: 10% 10% auto auto; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(47,109,255,.25) 0%, transparent 70%);
  filter: blur(10px); pointer-events: none; z-index: 0;
}
.err-card {
  position: absolute; background: #fff;
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  z-index: 1;
}
.err-card small { display: block; color: var(--muted); font-size: .75rem; }
.err-card strong { display: block; color: var(--navy); font-size: 1.3rem; font-weight: 800; margin: 4px 0 8px; }
.float-1 {
  top: 8%; left: 4%; width: 200px;
  animation: errFloat 6s ease-in-out infinite;
}
.float-2 {
  top: 32%; right: 4%; width: 240px;
  animation: errFloat 6s ease-in-out infinite -2s;
}
.float-3 {
  bottom: 8%; left: 24%; width: 130px; padding: 18px;
  animation: errFloat 6s ease-in-out infinite -4s;
}
@keyframes errFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.err-bars { display: flex; gap: 6px; align-items: flex-end; height: 50px; }
.err-bars span { flex: 1; background: linear-gradient(180deg, var(--blue), var(--blue-2)); border-radius: 3px 3px 0 0; opacity: .9; }
.err-bars span:nth-child(2) { background: var(--line); opacity: 1; }
.float-2 svg { width: 100%; height: 60px; display: block; }
.err-broken {
  margin-top: 6px; font-size: .72rem; color: #e54848; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.err-donut { position: relative; width: 90px; height: 90px; margin: 0 auto; }
.err-donut svg { width: 100%; height: 100%; }
.err-donut span {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--muted); font-weight: 700; font-size: .9rem;
}
.err-magnify {
  position: absolute; right: 18%; bottom: 20%;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem;
  box-shadow: 0 16px 36px rgba(47,109,255,.45);
  z-index: 2;
  animation: errFloat 5s ease-in-out infinite -1s;
}

/* popular pages grid */
.err-section { padding: var(--section-y) 0; background: var(--bg); }
.err-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.err-link-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  color: var(--text); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.err-link-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.elc-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.15rem;
  margin-bottom: 12px; transition: transform .3s ease;
}
.err-link-card:hover .elc-ic { transform: scale(1.08); }
.err-link-card strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.err-link-card p { font-size: .82rem; margin: 0; color: var(--muted); }

/* search band */
.err-search-section { padding: 0 0 var(--section-y); }
.err-search-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 36px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px;
  align-items: center; position: relative; overflow: hidden;
}
.err-search-card::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 16px 16px; opacity: .5; pointer-events: none;
}
.ess-text h3 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.ess-text p { color: rgba(255,255,255,.7); margin: 0; font-size: .9rem; }
.ess-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; position: relative; z-index: 1; }
.ess-field {
  position: relative; display: flex; align-items: center;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 0 14px;
  transition: border-color .2s ease, background .2s ease;
}
.ess-field:focus-within { border-color: var(--blue-2); background: rgba(255,255,255,.12); }
.ess-ic { color: rgba(255,255,255,.7); margin-right: 8px; }
.ess-field input {
  flex: 1; border: 0; background: transparent; color: #fff;
  padding: 13px 0; font-size: .92rem; font-family: inherit; outline: 0;
}
.ess-field input::placeholder { color: rgba(255,255,255,.5); }
.ess-form .err { grid-column: 1 / -1; color: #ffb1b1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .err-grid { grid-template-columns: 1fr 1fr; }
  .err-search-card { grid-template-columns: 1fr; }
  .err-visual { min-height: 340px; }
}
@media (max-width: 720px) {
  .err-hero { padding-bottom: 60px; }
  .err-grid { grid-template-columns: 1fr; }
  .err-visual { min-height: 280px; }
  .float-1 { width: 160px; }
  .float-2 { width: 180px; top: 38%; }
  .float-3 { width: 100px; }
  .err-magnify { width: 56px; height: 56px; font-size: 1.4rem; right: 8%; bottom: 8%; }
  .err-search-card { padding: 22px; }
  .ess-form { grid-template-columns: 1fr; }
  .ess-form .btn { width: 100%; justify-content: center; }
}

/* ============================================
   GLOBAL SEARCH — nav button, overlay, results page
   ============================================ */

/* nav button (auto-injected) */
.nav-search-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--navy); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; font-family: inherit;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  flex: none;
}
.nav-search-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* overlay */
.bm-search-wrap {
  position: fixed; inset: 0; z-index: 250;
  background: rgba(10,20,48,.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 80px 20px 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.bm-search-wrap.show { opacity: 1; visibility: visible; }
.bm-search-modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 720px;
  box-shadow: 0 30px 80px rgba(14,26,58,.5);
  max-height: 80vh; display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(-10px); transition: transform .25s ease;
}
.bm-search-wrap.show .bm-search-modal { transform: translateY(0); }
.bm-search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.bm-search-input-wrap .ic { color: var(--blue); font-size: 1.1rem; }
.bm-search-input-wrap input {
  flex: 1; border: 0; outline: 0; padding: 6px 0;
  font-size: 1.05rem; font-family: inherit; color: var(--navy);
}
.bm-search-input-wrap input::placeholder { color: var(--muted); }
.bm-search-input-wrap .bm-close {
  position: static; background: var(--bg); color: var(--navy);
  width: 30px; height: 30px; flex: none;
}

.bm-search-body { overflow-y: auto; padding: 14px 22px 18px; flex: 1; }
.bm-search-section { margin-top: 10px; }
.bm-search-section:first-child { margin-top: 0; }
.bm-search-section h6 {
  color: var(--muted); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.bm-search-section h6 button {
  background: transparent; border: 0; color: var(--blue); font-size: .7rem;
  cursor: pointer; font-family: inherit;
}
.bm-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bm-chip {
  background: var(--bg); border: 1px solid var(--line);
  color: var(--navy); padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; cursor: pointer; font-family: inherit;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.bm-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.bm-result-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.bm-result {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 10px;
  text-decoration: none; color: var(--text);
  transition: background .2s ease;
  border: 1px solid transparent;
}
.bm-result:hover, .bm-result.kb-focus { background: var(--bg); border-color: var(--line); }
.bm-result .br-ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1rem;
}
.bm-result .br-body { flex: 1; min-width: 0; }
.bm-result strong { display: block; color: var(--navy); font-size: .92rem; }
.bm-result strong mark, .bm-result p mark {
  background: #fef08a; color: var(--navy); padding: 0 2px; border-radius: 3px;
}
.bm-result p { font-size: .8rem; margin: 2px 0 0; color: var(--muted); }
.bm-result .br-type {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px;
  flex: none; align-self: flex-start;
}

.bm-empty {
  text-align: center; padding: 28px 16px; color: var(--muted);
}
.bm-empty strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: .95rem; }

.bm-search-foot {
  padding: 12px 22px; border-top: 1px solid var(--line);
  background: var(--bg); color: var(--muted); font-size: .75rem;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.bm-search-foot kbd {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 6px; font-size: .7rem; font-family: inherit; color: var(--navy);
}

/* SEARCH RESULTS PAGE */
.search-hero h1 { margin: 8px 0 8px; }
.search-page-form {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  margin-top: 18px; max-width: 640px;
}
.ess-field.light {
  background: #fff; border: 1.5px solid var(--line);
}
.ess-field.light input { color: var(--navy); }
.ess-field.light input::placeholder { color: var(--muted); }
.ess-field.light .ess-ic { color: var(--blue); }

.search-section { padding: var(--section-y) 0; }
.search-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 30px;
  align-items: flex-start;
}
.search-sidebar {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  position: sticky; top: 90px;
  box-shadow: var(--shadow-sm);
}
.search-filter-block { margin-bottom: 22px; }
.search-filter-block h5 {
  color: var(--navy); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 10px;
}
.search-types { display: flex; flex-direction: column; gap: 4px; }
.search-type {
  text-align: left; padding: 8px 12px; border-radius: 8px;
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
  color: var(--muted); font-weight: 500; font-size: .88rem;
  transition: background .2s ease, color .2s ease;
}
.search-type:hover { background: var(--bg); color: var(--navy); }
.search-type.active { background: var(--blue); color: #fff; }

.search-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.search-tag {
  background: var(--bg); border: 1px solid var(--line);
  color: var(--navy); padding: 6px 12px; border-radius: 999px;
  font-size: .78rem; cursor: pointer; font-family: inherit;
  transition: all .2s ease;
}
.search-tag:hover { border-color: var(--blue); color: var(--blue); }
.search-tag.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.search-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.search-card-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.search-card-ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1rem; flex: none;
}
.search-card .br-type {
  margin-left: auto;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px;
}
.search-card h4 { font-size: 1rem; margin: 0 0 4px; color: var(--navy); }
.search-card h4 mark, .search-card p mark { background: #fef08a; color: var(--navy); padding: 0 2px; border-radius: 3px; }
.search-card p { font-size: .85rem; margin: 0 0 12px; color: var(--text); }
.search-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.search-card-tags span {
  background: var(--bg); color: var(--muted); padding: 3px 8px;
  border-radius: 999px; font-size: .7rem;
}

.search-empty {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 50px 30px; text-align: center;
  grid-column: 1 / -1;
}
.search-empty-ic {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.8rem;
  margin: 0 auto 16px;
}
.search-empty h3 { color: var(--navy); margin: 0 0 8px; }
.search-empty p { color: var(--muted); margin: 0 0 18px; }
.search-empty .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .search-grid { grid-template-columns: 1fr; }
  .search-sidebar { position: static; }
  .search-types { flex-direction: row; flex-wrap: wrap; }
  .search-type { padding: 8px 14px; }
  .search-results { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bm-search-wrap { padding: 16px; }
  .bm-search-modal { max-height: 92vh; }
  .bm-search-input-wrap { padding: 14px 16px; }
  .nav-search-btn { width: 36px; height: 36px; }
  .search-page-form { grid-template-columns: 1fr; }
  .search-page-form .btn { width: 100%; justify-content: center; }
}

@media print {
  .nav-search-btn, .bm-search-wrap { display: none !important; }
}

/* ============================================
   RESPONSIVE AUDIT — global safety net + small-screen polish
   Single consolidated pass. Edits are additive, do not change
   the visual identity.
   ============================================ */

/* 1. Global overflow + image + text safety */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Allow grid/flex children to shrink properly */
.container,
.calc-grid > *, .calc-form, .calc-results,
.legal-grid > *, .legal-block,
.search-grid > *, .search-results,
.cd-results-grid > *, .case-quote, .case-quote.inline,
.ft-top > *, .ft-newsletter > *,
.cta-grid > *, .cta-with-icon > div,
.hero-text, .hero-visual { min-width: 0; }

/* Long text/URLs in cards shouldn't blow out the layout */
.legal-block, .legal-card, .faq-help-card, .lcc-text,
.bm-result, .search-card, .help-card, .core-card, .ind-card,
.case-card, .cd-card, .pkg, .diff-card, .scenario,
.value-card, .team-card, .ben, .improve-item, .ft-col,
.cdg-right > div { overflow-wrap: anywhere; word-break: break-word; }

/* 2. Lock scroll when overlays are open
   (set via JS — see scroll-lock additions) */
body.bm-scroll-lock { overflow: hidden; }

/* 3. Touch-target minimums on tappable controls */
.nav-links a, .mobile-menu a, .footer-grid a, .ft-col a,
.dots span, .car-btn, .nav-search-btn, .bm-chip, .bm-close,
.search-type, .search-tag, .faq-filter, .type-btn, .mode-btn,
.btn-export, .reset-btn, .ft-legal a, .ess-form button,
.t-next, .mc-nav button { min-height: 36px; }

/* iOS won't zoom focused inputs ≥16px */
@media (max-width: 720px) {
  input, select, textarea,
  .input-wrap input, .ess-field input, #bmSearchInput, #searchPageInput {
    font-size: 16px !important;
  }
  .nav-cta { display: none; }    /* mobile shows hamburger + search instead */
}

/* 4. Tighten container at very small widths */
@media (max-width: 480px) {
  :root { --gutter: 18px; --section-y: 52px; }
  h1 { line-height: 1.2; }
  .container, .nav-wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero { padding: 30px 0 48px; }
  .breadcrumb { font-size: .8rem; flex-wrap: wrap; }
}

@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .logo img { height: 36px; }
  .nav-search-btn { width: 34px; height: 34px; }
}

/* 5. Buttons + CTA action rows full-width on small mobile */
@media (max-width: 480px) {
  .cta-actions, .hero-ctas { flex-direction: column; align-items: stretch; }
  .cta-actions .btn, .hero-ctas .btn { justify-content: center; width: 100%; }
  .calc-actions { flex-direction: column; gap: 10px; }
  .calc-actions .btn, .calc-actions .reset-btn { width: 100%; justify-content: center; }
}

/* 6. Decorative absolute-positioned hero badges — collapse on tiny screens
   so they never overflow viewport */
@media (max-width: 480px) {
  .fh-bubble, .fh-mark,
  .bh-bubble, .bh-li, .bh-mini,
  .lh-lock, .lh-key,
  .ch-badge, .pmk-dollar,
  .rh-clock,
  .cs-stat-card,
  .err-magnify, .err-glow,
  .float-3 { display: none; }

  .err-visual { min-height: 200px; }
  .float-1 { left: 0; top: 6%; width: 140px; }
  .float-2 { right: 0; top: 38%; width: 160px; }
}

/* 7. Hero visuals: ensure inner cards/dashboards never push past viewport */
.hero-visual,
.calc-hero-visual, .runway-hero-visual, .payroll-hero-visual,
.pm-hero-visual, .pmk-hero-visual, .it-hero-visual,
.faq-hero-visual, .legal-hero-visual, .contact-hero-visual,
.blog-hero-visual, .cs-hero-visual, .tools-visual,
.err-visual { overflow: hidden; }

/* 8. Tables — explicit horizontal scroll affordance on mobile */
.tax-table-wrap { -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) {
  .tax-table-wrap { box-shadow: inset -8px 0 8px -8px rgba(14,26,58,.15); }
  .tax-table th, .tax-table td { white-space: nowrap; }
}

/* 9. Calculator panels — softer padding on mobile (already partly handled) */
@media (max-width: 480px) {
  .calc-form, .calc-results, .schedule-panel, .pmk-results, .pm-results {
    padding: 20px;
  }
  .cr-big { font-size: 1.55rem; }
  .cr-big.big-num { font-size: 1.75rem; }
  .pm-amt .pct.big { font-size: 1.15rem; }
  .pkg { padding: 18px 16px; }
  .builder-band, .how-to-band { padding: 22px 18px; }
}

/* 10. Footer column gaps tighter on tiny screens */
@media (max-width: 480px) {
  .ft-top { gap: 28px; padding: 32px var(--gutter) 24px; }
  .ft-newsletter { padding: 28px var(--gutter); gap: 16px; }
  .ft-news-text h3 { font-size: 1.1rem; }
  .ft-bottom { padding: 16px var(--gutter); font-size: .72rem; }
  .ft-legal { gap: 14px; justify-content: center; }
}

/* 11. Cookie consent on short screens */
@media (max-height: 640px) {
  .bm-modal { max-height: 94vh; }
  .bm-modal-wrap { padding: 10px; }
}

/* 12. Search overlay sits closer to top on mobile so input is reachable */
@media (max-width: 720px) {
  .bm-search-wrap { padding: 16px 12px; align-items: flex-start; }
  .bm-search-modal { max-height: calc(100vh - 32px); }
  .bm-search-foot { font-size: .68rem; }
}

/* 13. Industries / testimonials / LinkedIn carousels — keep arrows inside viewport */
@media (max-width: 720px) {
  .car-btn { width: 36px; height: 36px; font-size: 1.2rem; }
  .t-next { right: 4px; }
}

/* 14. Pricing builder estimates stay readable */
@media (max-width: 720px) {
  .est strong { font-size: 1.1rem; }
  .est { padding: 12px 6px; }
}

/* 15. Case-detail metric rows wrap cleanly */
@media (max-width: 480px) {
  .cd-metrics { gap: 14px; flex-wrap: wrap; }
  .cd-metrics > div { flex: 1 1 calc(50% - 14px); }
}

/* 16. Forms: textareas + selects edge alignment */
textarea, select, .input-wrap { max-width: 100%; }

/* 17. Hide scrollbar overlap artefacts on absolutely-positioned floats */
.hero, .calc-section, .err-hero { overflow: hidden; }

/* 18. Visible focus for keyboard nav (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.btn-primary:focus-visible, .btn-outline:focus-visible, .btn-dark:focus-visible {
  outline-offset: 3px;
}

/* ============================================
   Case studies empty state + Resources dashboard
   ============================================ */
.cases-empty {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 50px 30px; text-align: center;
  max-width: 720px; margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.cases-empty .ce-ic {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.8rem;
  margin: 0 auto 18px;
}
.cases-empty h3 { color: var(--navy); margin: 0 0 8px; }
.cases-empty p { color: var(--muted); margin: 0 0 22px; }

/* Resources hub dashboard cards */
.res-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 24px;
}
.res-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  color: var(--text); text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.res-card .rc-ic {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px;
  transition: transform .3s ease;
}
.res-card:hover .rc-ic { transform: scale(1.08); }
.res-card h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--navy); }
.res-card p { font-size: .88rem; margin: 0 0 14px; color: var(--muted); flex: 1; }
.res-card .learn { font-size: .88rem; }

@media (max-width: 1024px) {
  .res-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .res-grid { grid-template-columns: 1fr; gap: 14px; }
  .cases-empty { padding: 36px 22px; }
}

/* ============================================
   PRICING PAGE (v2) — 4-package + disabled-lever styling
   ============================================ */
.packages-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .packages-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .packages-grid.four { grid-template-columns: 1fr; } }

/* Greyed-out scaling option (lever not applicable to this package) */
.opt-row.disabled { opacity: .45; cursor: not-allowed; }
.opt-row.disabled select { cursor: not-allowed; pointer-events: none; color: var(--muted); }
.pkg.popular .opt-row.disabled { opacity: .35; }

/* In-card "Includes" small italic note (e.g. Billed Separately) */
.check-list li em { font-style: italic; color: var(--muted); font-weight: 400; }
.pkg.popular .check-list li em { color: rgba(255,255,255,.6); }

/* Setup fee strong */
.pkg-price .setup strong { color: var(--navy); font-weight: 700; }
.pkg.popular .pkg-price .setup strong { color: #fff; }

/* From price + GST per */
.pkg-price .per { display: inline; }

/* Build Your Package — 5 levers */
.builder-controls { grid-template-columns: repeat(5, 1fr) auto; }
@media (max-width: 1024px) {
  .builder-controls { grid-template-columns: 1fr 1fr 1fr; }
  .b-state { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 720px) {
  .builder-controls { grid-template-columns: 1fr; }
}

/* Estimate row — 4 packages */
.est-row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .est-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .est-row { grid-template-columns: 1fr; } }

/* Add-ons grid — single-card variant */
.addons-grid.one { grid-template-columns: 1fr; max-width: 520px; }
.addons-grid.one .addon { padding: 16px 18px; }

/* Builder addon label */
.est-label small {
  display: inline-block; margin-left: 8px;
  color: var(--blue-2); font-weight: 600; font-size: .8rem;
}

/* ===== Fixes batch — pricing scaling labels, popular dropdown options, footer icons ===== */

/* 1. Keep scaling option label text on a single line */
.opt-row { white-space: nowrap; }
.opt-row select { flex: 0 1 auto; min-width: 0; max-width: 55%; text-overflow: ellipsis; }

/* 3. Dropdown OPTION text dark on white (popular/dark card) — fixes white-on-white */
.pkg.popular .opt-row select { color: #fff; background: transparent; }
.pkg.popular .opt-row select option,
.pkg.popular .opt-row select optgroup {
  background: #fff !important;
  color: var(--navy) !important;
}
/* Same for builder selects (also on dark navy band) */
.builder-controls select option,
.builder-controls select optgroup {
  background: #fff !important;
  color: var(--navy) !important;
}

/* 5. Footer social icon centering — emoji baseline fix */
.ft-soc {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  line-height: 1;
}
.ft-soc > * { display: block; }
.ft-soc.li { padding-top: 1px !important; }   /* Georgia "in" sits slightly low */

/* ============================================
   PRICING — setup fee strikethrough + waived promo
   ============================================ */
.pkg-setup {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; font-size: .82rem;
  color: var(--muted); flex-wrap: wrap;
}
.pkg-setup > span:first-child { font-weight: 500; }
.setup-fee {
  color: var(--muted);
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(229,72,72,.65);
}
.setup-waived {
  background: #dcfce7;
  color: #15803d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pkg-promo {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: linear-gradient(135deg, #eef3ff 0%, #f4f7fc 100%);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  color: var(--navy);
  font-size: .78rem;
  line-height: 1.4;
}
.pkg-promo .pp-ic {
  font-size: .95rem;
  line-height: 1.2;
  flex: none;
}
.pkg-promo strong { color: var(--blue); font-weight: 700; }

/* Popular (dark navy) card variants */
.pkg.popular .pkg-setup { color: rgba(255,255,255,.7); }
.pkg.popular .setup-fee { color: rgba(255,255,255,.55); text-decoration-color: rgba(255,180,180,.7); }
.pkg.popular .setup-waived {
  background: rgba(52,211,153,.18);
  color: #6ee7b7;
}
.pkg.popular .pkg-promo {
  background: rgba(47,109,255,.16);
  border-left-color: var(--blue-2);
  color: rgba(255,255,255,.92);
}
.pkg.popular .pkg-promo strong { color: var(--blue-2); }

@media (max-width: 480px) {
  .pkg-setup { font-size: .78rem; gap: 6px; }
  .pkg-promo { font-size: .75rem; padding: 9px 10px; }
}

/* ============================================
   HOME pricing teaser — 4-package variant
   ============================================ */
.pricing-cards.four { grid-template-columns: repeat(4, 1fr); }
.pricing-cards.four .price-card h4 { font-size: 1rem; min-height: 44px; }
.pricing-cards.four .price-card > p { min-height: 60px; }
.pricing-cards .from-lbl { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 2px; }
.pricing-cards.four .price .amt { font-size: 1.6rem; }
.pricing-cards.four .price .per { font-size: .8rem; }
.price-card.popular .from-lbl { color: rgba(255,255,255,.7); }

@media (max-width: 1024px) {
  .pricing-cards.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pricing-cards.four { grid-template-columns: 1fr; }
}
