/* ==========================================================
   Homeprojectmedia landing page
   Photos: drop files into /images using the names below.
   Without them, the gradient fallbacks are shown.
     images/hero.jpg      hero background
     images/bathroom.jpg  bathroom cards
     images/kitchen.jpg   kitchen cards
     images/roofing.jpg   roofing cards
     images/gutters.jpg   gutter cards
     images/pricing.jpg   pricing background (optional)
   ========================================================== */

:root {
  --navy: #061a35;
  --navy-2: #0a2447;
  --navy-3: #0f3060;
  --green: #79d94f;
  --green-dark: #5fc233;
  --blue: #1f63c6;
  --ink: #0d1f3a;
  --muted: #56657c;
  --line: #dfe6ef;
  --soft: #f3f6fa;
  --white: #ffffff;
  --gold: #f2b01e;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(8, 28, 58, 0.10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", "Brush Script MT", cursive;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--green); color: #06210f; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- Icons ---------- */
.i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-sm { width: 14px; height: 14px; }
.i-lg { width: 28px; height: 28px; stroke-width: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 8px;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #06210f; }
.btn-green:hover { background: #8be862; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(6,26,53,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { border-color: #2f74dd; color: var(--blue); background: #fff; }
.btn-outline:hover { background: #eef4ff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.28); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand-mark { width: 46px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.brand-tag { margin-top: 4px; font-size: 9.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #9fb4d0; }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; }
.primary-nav a, .dd-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 26px 12px; background: none; border: 0; cursor: pointer;
  color: #e3ebf7; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: color .2s;
}
.primary-nav a:hover, .dd-toggle:hover { color: #fff; }
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 14px; height: 3px; border-radius: 2px; background: var(--green);
}
.nav-cta-mobile { display: none; }

.has-dd { position: relative; }
.dd {
  display: none; position: absolute; top: calc(100% - 8px); left: 0; min-width: 220px; z-index: 60;
  background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.dd a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); font-size: 14px; }
.dd a:hover { background: var(--soft); color: var(--ink); }
.has-dd:hover > .dd, .has-dd.open > .dd { display: block; }
.has-dd.open .dd-toggle .i, .has-dd:hover .dd-toggle .i { transform: rotate(180deg); }
.dd-toggle .i { transition: transform .2s; }

.header-cta { flex: none; padding: 11px 18px; font-size: 14px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 1.5px solid rgba(255,255,255,.3); border-radius: 8px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    linear-gradient(90deg, rgba(6,26,53,.94) 0%, rgba(6,26,53,.78) 38%, rgba(6,26,53,.25) 100%),
    url("images/hero.jpg") center / cover no-repeat, url("images/hero.jpeg") center / cover no-repeat, url("images/hero.webp") center / cover no-repeat, url("images/hero.png") center / cover no-repeat,
    linear-gradient(120deg, #061a35 0%, #0d2d57 45%, #1d4d73 100%);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px;
  padding: 58px 0 44px; align-items: start;
}
.hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 3.7rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; }
.hero h1 .accent { color: var(--green); }
.hero-lede { max-width: 56ch; margin-top: 22px; font-size: 16px; line-height: 1.55; color: #e9f0fa; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-card {
  justify-self: end; width: min(100%, 300px); margin-top: 30px;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px 22px 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #2aa24a; }
.script { font-family: var(--script); font-size: 24px; line-height: 1; color: var(--ink); }
.hero-card h2 { font-size: 19px; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.checks { margin-top: 14px; display: grid; gap: 9px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #243752; }
.check-dot {
  width: 20px; height: 20px; padding: 4px; border-radius: 50%; flex: none;
  background: #2aa24a; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

.trust-strip { background: rgba(4,18,38,.82); border-top: 1px solid rgba(255,255,255,.1); }
.trust-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 18px 0; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: 12.5px; line-height: 1.35; color: #e3ebf7; }
.trust-list .i { color: #fff; }

/* ---------- Shared section bits ---------- */
.section { padding: 56px 0; }
.section-head.center { text-align: center; }
.section h2, .pricing h2, .cta h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sub { color: var(--muted); font-size: 15px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2fae4f; margin-bottom: 8px; }
.eyebrow-lines { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-lines::before, .eyebrow-lines::after { content: ""; width: 22px; height: 2px; background: #2fae4f; }
.eyebrow-dash { display: flex; align-items: center; gap: 10px; color: var(--green); }
.eyebrow-dash::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.eyebrow-blue { color: var(--blue); }

/* ---------- Image placeholders (with fallbacks) ---------- */
.m-bath    { background: url("images/bathroom.jpg") center / cover no-repeat, url("images/bathroom.jpeg") center / cover no-repeat, url("images/bathroom.webp") center / cover no-repeat, url("images/bathroom.png") center / cover no-repeat, linear-gradient(135deg, #b9c9dc 0%, #e8eef5 55%, #cdd9e7 100%); }
.m-kitchen { background: url("images/kitchen.jpg") center / cover no-repeat, url("images/kitchen.jpeg") center / cover no-repeat, url("images/kitchen.webp") center / cover no-repeat, url("images/kitchen.png") center / cover no-repeat, linear-gradient(135deg, #cdbfa9 0%, #efe7da 55%, #d5c7b0 100%); }
.m-roof    { background: url("images/roofing.jpg") center / cover no-repeat, url("images/roofing.jpeg") center / cover no-repeat, url("images/roofing.webp") center / cover no-repeat, url("images/roofing.png") center / cover no-repeat, linear-gradient(135deg, #7f93ab 0%, #c3d0de 55%, #8ea2b8 100%); }
.m-gutter  { background: url("images/gutters.jpg") center / cover no-repeat, url("images/gutters.jpeg") center / cover no-repeat, url("images/gutters.webp") center / cover no-repeat, url("images/gutters.png") center / cover no-repeat, linear-gradient(135deg, #a8b6a2 0%, #dbe4d6 55%, #b4c2ae 100%); }

/* ---------- Industries ---------- */
.industries { background: #fff; }
.industries h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--navy); margin-top: 4px; }
.industries .sub { margin-top: 8px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.industry-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #edf1f6; transition: box-shadow .2s, transform .2s; }
.industry-card:hover { box-shadow: 0 14px 32px rgba(8,28,58,.16); transform: translateY(-3px); }
.card-media { height: 168px; }
.card-body { position: relative; padding: 14px 18px 18px; }
.card-icon {
  position: absolute; top: -26px; left: 18px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--navy);
  border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(8,28,58,.14);
}
.card-body h3 { margin-left: 64px; font-size: 15px; font-weight: 700; line-height: 1.25; min-height: 26px; display: flex; align-items: center; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 10px; }
.card-foot p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.round-arrow {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #e8f0fd; color: var(--blue); transition: background-color .2s, color .2s;
}
.round-arrow:hover { background: var(--blue); color: #fff; }

/* ---------- How it works (Our Lead Generation System) ---------- */
.how { background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%); padding: 46px 0 52px; border-top: 1px solid #eef2f7; }
.how-head { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.how-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.how h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--navy); }
.how-sub { margin-top: 10px; font-size: 15.5px; color: var(--muted); }

.how-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; }
.how-card {
  position: relative; text-align: center; padding: 24px 18px 22px;
  background: #fff; border: 1px solid #e3e9f2; border-radius: 12px;
  box-shadow: 0 6px 20px rgba(8,28,58,.06);
}
.how-card:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -24px; width: 14px; height: 14px; margin-top: -7px;
  border-top: 2px solid #9aa9bf; border-right: 2px solid #9aa9bf; transform: rotate(45deg);
}
.how-card:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; right: -29px; width: 24px; height: 2px; margin-top: -1px; background: #9aa9bf;
}
.how-icon { position: relative; display: block; width: 56px; height: 56px; margin: 0 auto 12px; }
.how-icon svg { width: 56px; height: 56px; }
.how-num {
  position: absolute; left: -10px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700;
  border: 2px solid #fff;
}
.how-card h3 { font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.how-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ---------- Case studies ---------- */
.cases { background: var(--soft); padding-top: 46px; }
.cases-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cases h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--navy); }
.cases .sub { margin-top: 6px; font-size: 13.5px; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.case-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e8edf4; }
.case-media { position: relative; height: 92px; }
.case-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 5px; background: rgba(6,26,53,.92); color: #fff; font-size: 11px; font-weight: 600; }
.case-body { padding: 14px 16px 16px; }
.case-body h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 12px 0 12px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dd { font-size: 16px; font-weight: 800; color: var(--navy); }
.stats dt { font-size: 10px; color: var(--muted); line-height: 1.25; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--blue); }
.text-link:hover { text-decoration: underline; }

/* ---------- Pricing ---------- */
.pricing {
  color: #fff; padding: 50px 0 54px;
  background:
    linear-gradient(90deg, rgba(6,26,53,.96), rgba(6,26,53,.82)),
    url("images/pricing.jpg") center / cover no-repeat, url("images/pricing.jpeg") center / cover no-repeat, url("images/pricing.webp") center / cover no-repeat, url("images/pricing.png") center / cover no-repeat,
    linear-gradient(135deg, #061a35, #0d2d57);
}
.pricing-grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; }
.pricing h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 2px; }
.pricing-intro > p { margin-top: 12px; font-size: 14px; color: #cdd9ea; }
.mini-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 30px; }
.mini-icons li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 10.5px; line-height: 1.25; color: #dbe5f3; }
.mini-icons .i-lg { width: 24px; height: 24px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: 10px; padding: 20px 18px 18px; border: 2px solid transparent; }
.plan h3 { font-size: 18px; font-weight: 700; }
.plan .plan-blue { color: var(--blue); }
.plan-for { margin-top: 2px; font-size: 12px; color: var(--muted); }
.price { margin: 12px 0 14px; font-size: 13px; color: var(--muted); }
.price span { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan ul { display: grid; gap: 8px; margin-bottom: 18px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; color: #34465f; }
.tick { width: 14px; height: 14px; margin-top: 1px; flex: none; fill: none; stroke: #2fae4f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.btn-plan { width: 100%; padding: 11px 14px; font-size: 13.5px; border-color: #2f74dd; color: var(--blue); background: #fff; }
.btn-plan:hover { background: #eef4ff; }
.btn-plan-solid { width: 100%; padding: 11px 14px; font-size: 13.5px; }
.plan-featured { border-color: var(--green); box-shadow: 0 0 0 4px rgba(121,217,79,.18); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 3px 14px; border-radius: 999px; background: var(--green); color: #06210f; font-size: 11.5px; font-weight: 700; white-space: nowrap;
}

/* ---------- Testimonials ---------- */
.testimonials { background: #fff; padding: 40px 0; }
.testimonial-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: center; }
.testimonials h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: var(--navy); }
.testimonial-intro > p:last-child { margin-top: 8px; color: var(--muted); font-size: 14px; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.quote { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(8,28,58,.07); }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1c4b86, #0d2d57); color: #fff; font-weight: 700; font-size: 16px; }
.quote blockquote { font-size: 13px; line-height: 1.5; color: #34465f; font-style: italic; }
.quote figcaption { margin-top: 10px; display: flex; flex-direction: column; font-size: 12px; }
.quote figcaption strong { color: var(--navy); }
.quote figcaption span { color: #2fae4f; font-size: 11px; }
.stars { display: flex; gap: 2px; margin-top: 6px; color: var(--gold); }
.stars .i { width: 14px; height: 14px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(90deg, var(--navy), var(--navy-3)); color: #fff; padding: 30px 0; }
.cta-grid { display: grid; grid-template-columns: 1.3fr 1.2fr auto; gap: 30px; align-items: center; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-copy > p:last-child { margin-top: 6px; font-size: 14px; color: #cdd9ea; }
.cta-points { display: flex; justify-content: space-around; gap: 16px; }
.cta-points li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-align: center; }
.cta-points .i-lg { width: 34px; height: 34px; color: var(--green); }
.cta-action { text-align: center; }
.cta-action p { margin-top: 10px; font-size: 12px; color: #aebfd6; }

/* ---------- Footer ---------- */
.site-footer { background: #041429; color: #aebfd6; }
.footer-inner { display: flex; align-items: center; gap: 28px; padding: 26px 0 20px; flex-wrap: wrap; }
.brand-sm .brand-mark { width: 38px; height: 33px; }
.brand-sm .brand-name { font-size: 16px; }
.brand-sm .brand-tag { font-size: 8px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-inline: auto; font-size: 12.5px; }
.footer-nav a:hover { color: #fff; }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; border-radius: 8px; transition: background-color .2s; }
.social a:hover { background: rgba(255,255,255,.12); }
.social .i-lg { width: 22px; height: 22px; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11.5px; }
.legal { display: flex; gap: 12px; }
.legal a:hover { color: #fff; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .header-cta span, .header-cta { font-size: 13px; padding: 10px 14px; }
  .primary-nav a, .dd-toggle { padding-inline: 9px; }
  .how-steps { gap: 28px; }
  .how-card { padding-inline: 14px; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 14px 24px rgba(0,0,0,.3);
  }
  .primary-nav.open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .primary-nav a, .dd-toggle { width: 100%; padding: 14px 4px; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); }
  .primary-nav a.is-active::after { display: none; }
  .primary-nav a.is-active { color: var(--green); }
  .dd { position: static; box-shadow: none; background: rgba(255,255,255,.06); margin: 4px 0 8px; }
  .dd a { color: #e3ebf7; border-bottom: 0; padding: 10px 12px; }
  .dd a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .has-dd:hover > .dd { display: none; }
  .has-dd.open > .dd { display: block; }
  .nav-cta-mobile { display: block; padding-top: 14px; }
  .primary-nav .nav-cta-mobile .btn {
    background: var(--green); color: #06210f; border: 1.5px solid transparent;
    padding: 13px 22px; justify-content: center; font-weight: 600;
  }
  .primary-nav .nav-cta-mobile .btn:hover { background: #8be862; color: #06210f; }

  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-card { justify-self: start; margin-top: 4px; }
  .trust-list { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }

  .industry-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .pricing-intro > p { max-width: 54ch; }
  .mini-icons { max-width: 520px; }
  .cta-grid { grid-template-columns: 1fr; text-align: left; }
  .cta-points { justify-content: flex-start; gap: 36px; }
  .cta-action { text-align: left; }
}

@media (max-width: 1020px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .how-card::before, .how-card::after { display: none !important; }
}

@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .how-card::before, .how-card::after { display: none !important; }
  .plans { grid-template-columns: 1fr; gap: 26px; }
  .quotes { grid-template-columns: 1fr; }
  .cases-head .btn { width: 100%; }
}

@media (max-width: 560px) {
  .how-steps { grid-template-columns: 1fr; }
  .industry-grid, .case-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.15rem; }
  .hero-actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
  .mini-icons { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .footer-nav { margin-inline: 0; gap: 14px 20px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 40px; height: 35px; }
}


/* ==========================================================
   Case Studies page
   ========================================================== */
.cd-banner { position: relative; height: 190px; }
.cd-banner .case-tag { top: 14px; left: 18px; font-size: 12px; padding: 5px 12px; }
.cd-body { padding: 24px 28px 28px; }
.cd-body h3 { margin: 26px 0 10px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.cd-notice {
  margin-bottom: 16px; padding: 10px 14px; border-radius: 8px; border: 1px solid #f1d58a; background: #fff8e1;
  font-size: 12.5px; color: #6b5200;
}
.cd-notice code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.cd-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.cd-body h2 { margin-top: 4px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.15; }
.cd-platforms { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #2fae4f; }
.cd-summary { margin-top: 12px; max-width: 70ch; font-size: 15px; color: #34465f; }

.cd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.cd-kpis div { padding: 16px 14px; border-radius: 10px; background: var(--navy); color: #fff; text-align: center; }
.cd-kpis div:first-child { background: linear-gradient(135deg, #1b4f2a, #2c8a3f); }
.cd-kpis span { display: block; font-size: 12px; color: #cfe0f5; }
.cd-kpis div:first-child span { color: #d9f5d0; }
.cd-kpis strong { display: block; margin-top: 4px; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }

.cd-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.cd-cols p { font-size: 14px; color: #34465f; }
.cd-list { display: grid; gap: 8px; padding-left: 0; }
.cd-list li { position: relative; padding-left: 22px; font-size: 14px; color: #34465f; line-height: 1.45; }
.cd-list li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 6px; height: 11px;
  border-right: 2.5px solid #2fae4f; border-bottom: 2.5px solid #2fae4f; transform: rotate(40deg) scale(.8); transform-origin: center;
}
.cd-setup { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cd-setup div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 14px; font-size: 13px; }
.cd-setup div:nth-child(odd) { background: var(--soft); }
.cd-setup dt { font-weight: 700; color: var(--navy); }
.cd-setup dd { color: #34465f; }

.cd-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cd-metrics div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.cd-metrics dt { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.cd-metrics dd { margin-top: 2px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }

.cd-funnel { display: grid; gap: 14px; }
.cd-funnel-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.cd-funnel-top strong { font-weight: 800; }
.cd-bar { height: 12px; margin-top: 6px; border-radius: 999px; background: #e8eef6; overflow: hidden; }
.cd-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1f63c6, #3c8cf0); }
.cd-funnel li:last-child .cd-bar i { background: linear-gradient(90deg, #2fae4f, #79d94f); }
.cd-funnel small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }


@media (max-width: 820px) {
  .cd-cols { grid-template-columns: 1fr; gap: 0; }
  .cd-kpis { grid-template-columns: repeat(2, 1fr); }
  .cd-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cd-body { padding: 20px 18px 24px; }
  .cd-setup div { grid-template-columns: 1fr; gap: 2px; }
  .cd-foot .btn, .cd-nav,   .cd-metrics dd { font-size: 18px; }
}


html.cs-page { scroll-padding-top: 150px; }

.page-hero { color: #fff; padding: 54px 0 46px; background: linear-gradient(120deg, #061a35 0%, #0d2d57 55%, #17406e 100%); }
.page-hero .eyebrow { color: var(--green); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; max-width: 18ch; }
.page-hero p.lede { margin-top: 14px; max-width: 62ch; font-size: 16px; color: #dbe6f5; }
.page-hero .hero-actions { margin-top: 22px; }

.cs-jump { position: sticky; top: 74px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.cs-jump ul { display: flex; gap: 10px; padding: 12px 0; overflow-x: auto; scrollbar-width: thin; }
.cs-jump a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--navy);
  transition: background-color .2s, border-color .2s, color .2s;
}
.cs-jump a:hover { border-color: #2f74dd; color: var(--blue); }
.cs-jump a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.cs-main { background: var(--soft); padding: 34px 0 60px; }
.cs-wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }
.cs-empty { padding: 40px 0; text-align: center; color: var(--muted); }

.cs-glance { background: #fff; border-radius: 16px; padding: 24px 24px 20px; box-shadow: var(--shadow); border: 1px solid #e8edf4; }
.cs-glance h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); margin-bottom: 14px; }
.cs-table-wrap { overflow-x: auto; }
.cs-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
.cs-table th, .cs-table td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cs-table thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cs-table tbody th { font-weight: 700; }
.cs-table tbody th a { color: var(--navy); }
.cs-table tbody th a:hover { color: var(--blue); text-decoration: underline; }
.cs-table td { font-weight: 600; color: var(--navy); }
.cs-table td small { font-weight: 500; color: var(--muted); }
.cs-table tbody tr:last-child th, .cs-table tbody tr:last-child td { border-bottom: 0; }

.cs-article { margin-top: 28px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e8edf4; }
.cs-main .cd-notice { margin-bottom: 20px; }
.cd-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
  .cs-glance { padding: 18px 14px 14px; }
  .cs-jump { top: 74px; }
  .cd-foot .btn { width: 100%; }
}


/* ---------- Free trial banner (above pricing) ---------- */
.trial { padding: 28px 0; background: #fff; }
.trial-card {
  display: grid; grid-template-columns: auto 1.35fr 1fr auto; align-items: center; gap: 0;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  border: 2px solid var(--green); border-radius: 16px; color: #fff;
  padding: 22px 28px; box-shadow: var(--shadow);
}
.trial-icon { width: 84px; height: 84px; color: var(--green); padding-right: 22px; box-sizing: content-box; }
.trial-icon svg { width: 100%; height: 100%; display: block; }
.trial-copy { padding: 0 28px; border-left: 1.5px solid rgba(121,217,79,.55); border-right: 1.5px solid rgba(121,217,79,.55); }
.trial-copy h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 800; color: #fff; }
.trial-copy h2 .accent { color: var(--green); }
.trial-copy p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.88); }
.trial-points { list-style: none; margin: 0; padding: 0 26px; display: grid; gap: 12px; }
.trial-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.trial-tick {
  width: 24px; height: 24px; flex: none; padding: 5px; border-radius: 50%;
  background: var(--green); fill: none; stroke: #06210f; stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.trial-action { display: grid; gap: 14px; justify-items: stretch; max-width: 270px; }
.trial-action .btn { padding: 14px 20px; }
.trial-action p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.85); }
.trial-action p .i { width: 24px; height: 24px; flex: none; color: #fff; }

@media (max-width: 1100px) {
  .trial-card { grid-template-columns: auto 1fr; gap: 22px 0; }
  .trial-copy { border-right: 0; }
  .trial-points { grid-column: 1 / -1; padding: 18px 0 0; border-top: 1.5px solid rgba(121,217,79,.35); grid-template-columns: repeat(3, 1fr); }
  .trial-action { grid-column: 1 / -1; max-width: none; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
}
@media (max-width: 720px) {
  .trial-card { grid-template-columns: 1fr; padding: 22px 18px; text-align: center; justify-items: center; }
  .trial-icon { width: 70px; height: 70px; padding: 0 0 4px; }
  .trial-copy { padding: 14px 0; border: 0; }
  .trial-points { grid-template-columns: 1fr; justify-items: start; padding-top: 16px; width: 100%; max-width: 330px; }
  .trial-action { grid-template-columns: 1fr; width: 100%; max-width: 330px; }
  .trial-action p { justify-content: center; text-align: left; }
}
