
:root {
  --background-color: #ffffff;
  --default-color: #142033;
  --heading-color: #0a2342;
  --accent-color: #246bfe;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --lm-navy: #071a34;
  --lm-blue: #246bfe;
  --lm-cyan: #4be1ff;
  --lm-orange: #e87532;
  --lm-green: #11a36a;
  --lm-red: #dc3545;
  --lm-amber: #f5a524;
  --lm-muted: #667085;
  --lm-soft: #f3f7ff;
  --lm-border: rgba(15, 41, 67, 0.12);
  --lm-shadow: 0 24px 70px rgba(7, 26, 52, 0.12);
}

body { background: #fff; }

p { line-height: 1.75; }

.header { padding: 18px 0; }
.header .header-container { border: 1px solid rgba(15, 41, 67, 0.08); box-shadow: 0 18px 50px rgba(7, 26, 52, 0.08); }
.lm-logo-mark { width: 42px; height: 42px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg, var(--lm-navy), var(--lm-blue)); margin-right: 10px; }
.lm-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.lm-logo-text strong { font-size: 22px; color: var(--heading-color); letter-spacing: -0.5px; }
.lm-logo-text small { font-size: 11px; color: var(--lm-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .9px; margin-top: 4px; }
.lm-header-cta { align-items: center; justify-content: center; border-radius: 999px; padding: 11px 18px; background: var(--lm-blue); color: #fff; font-weight: 800; box-shadow: 0 14px 30px rgba(36,107,254,.22); }
.lm-header-cta:hover { color: #fff; transform: translateY(-1px); background: #0b5cff; }
.navmenu a { font-weight: 700; }

.section { padding: 86px 0; }
.lm-section-title .lm-kicker, .lm-kicker, .lm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 900; color: var(--lm-blue); margin-bottom: 16px; }
.lm-kicker.light { color: #9fc3ff; }
.lm-section-title h2 { max-width: 860px; margin-left: auto; margin-right: auto; letter-spacing: -1.2px; }
.lm-section-title p { max-width: 840px; }

.btn { border-radius: 999px; padding: 13px 24px; font-weight: 800; }
.btn.btn-primary { background: var(--lm-blue); border-color: var(--lm-blue); box-shadow: 0 18px 36px rgba(36,107,254,.22); }
.btn.btn-primary:hover { background: #0b5cff; border-color: #0b5cff; transform: translateY(-1px); }
.btn.btn-outline { border: 1px solid rgba(7, 26, 52, .18); color: var(--heading-color); background: #fff; }
.btn.btn-outline:hover { background: var(--lm-navy); color: #fff; }
.btn.btn-submit { background: linear-gradient(135deg, var(--lm-blue), #103bd8); color: #fff; border: none; padding: 15px 24px; box-shadow: 0 18px 40px rgba(36,107,254,.25); }

.lm-hero { min-height: auto; padding: 110px 0 90px; position: relative; overflow: hidden; }
.lm-hero::before, .lm-page-hero::before, .lm-landing-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 10%, rgba(36,107,254,.12), transparent 34%), radial-gradient(circle at 90% 5%, rgba(75,225,255,.12), transparent 28%); pointer-events: none; }
.lm-hero .container, .lm-page-hero .container, .lm-landing-hero .container { position: relative; z-index: 2; }
.lm-hero h1, .lm-page-hero h1, .lm-landing-hero h1 { font-size: clamp(42px, 6vw, 78px); line-height: .96; letter-spacing: -3px; margin-bottom: 24px; }
.lm-page-hero.compact h1 { font-size: clamp(38px, 5vw, 64px); }
.lm-page-hero .lead, .lm-hero .lead, .lm-landing-hero .lead { color: #506078; font-size: 19px; max-width: 720px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lm-proof-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lm-proof-strip span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--lm-border); color: #344054; font-weight: 800; font-size: 13px; box-shadow: 0 8px 24px rgba(7,26,52,.05); }
.lm-proof-strip.dark-text span { background: rgba(255,255,255,.7); }
.lm-proof-strip.landing span { background: rgba(255,255,255,.12); color: #d7e7ff; border-color: rgba(255,255,255,.14); box-shadow: none; }

.lm-dashboard-frame { background: linear-gradient(180deg, #0a2342, #071a34); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 36px 90px rgba(7,26,52,.24); border-radius: 32px; padding: 20px; position: relative; overflow: hidden; color: #fff; }
.lm-dashboard-frame::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(75,225,255,.14); filter: blur(10px); right: -90px; top: -120px; }
.lm-dash-toolbar, .lm-dash-grid, .lm-table-card, .lm-dash-note { position: relative; z-index: 2; }
.lm-dash-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lm-dash-toolbar strong { display: block; color: #fff; font-size: 17px; }
.lm-dash-toolbar small { display: block; color: #a9bed8; margin-top: 4px; }
.lm-live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(17,163,106,.15); color: #7cffca; border: 1px solid rgba(124,255,202,.2); font-size: 12px; font-weight: 900; white-space: nowrap; }
.lm-dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 14px; }
.lm-dash-metric { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 16px; backdrop-filter: blur(12px); }
.lm-dash-metric span { display: block; color: #a9bed8; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.lm-dash-metric strong { display: block; font-size: 28px; color: #fff; margin-top: 8px; letter-spacing: -1px; }
.lm-dash-metric small { color: #c4d4ea; }
.lm-dash-metric.danger { background: rgba(220,53,69,.16); }
.lm-dash-metric.warning { background: rgba(245,165,36,.16); }
.lm-dash-metric.success { background: rgba(17,163,106,.16); }
.lm-table-card { background: rgba(255,255,255,.92); color: var(--heading-color); border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.28); }
.lm-table-head, .lm-table-row { display: grid; grid-template-columns: 1.4fr .8fr .7fr; gap: 12px; align-items: center; padding: 12px 14px; }
.lm-table-head { background: #eef4ff; color: #52637a; font-size: 12px; text-transform: uppercase; font-weight: 900; letter-spacing: .6px; }
.lm-table-row { border-top: 1px solid rgba(7,26,52,.08); font-size: 13px; }
.lm-table-row small { color: #667085; }
.lm-status { display: inline-flex; justify-content: center; border-radius: 999px; padding: 7px 9px; font-size: 11px; font-weight: 900; }
.lm-status.red { background: #ffe8ec; color: #b42318; }
.lm-status.amber { background: #fff3d6; color: #946200; }
.lm-status.green { background: #e7fff5; color: #067647; }
.lm-dash-note { margin-top: 14px; color: #b7c8df; display: flex; align-items: center; gap: 8px; font-size: 12px; }

.lm-problem-card, .lm-module-card, .lm-layer-card, .lm-detail-card, .lm-deploy-card, .lm-service-card, .lm-step-card, .lm-principle, .lm-check-card, .lm-fit-card, .lm-form-card, .lm-contact-card, .lm-legal-card { background: #fff; border: 1px solid var(--lm-border); border-radius: 26px; padding: 28px; box-shadow: 0 18px 46px rgba(7,26,52,.06); height: 100%; transition: .25s ease; }
.lm-problem-card:hover, .lm-module-card:hover, .lm-service-card:hover, .lm-check-card:hover { transform: translateY(-5px); box-shadow: var(--lm-shadow); }
.lm-problem-card i, .lm-module-card i, .lm-service-card i, .lm-deploy-card i, .lm-check-card i { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 18px; background: var(--lm-soft); color: var(--lm-blue); font-size: 24px; margin-bottom: 22px; }
.lm-problem-card h3, .lm-module-card h3, .lm-layer-card h3, .lm-detail-card h3, .lm-service-card h3 { font-size: 23px; letter-spacing: -.5px; margin-bottom: 12px; }
.lm-module-card { color: var(--default-color); display: block; }
.lm-module-card:hover h3 { color: var(--lm-blue); }

.lm-layer-card { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #f8fbff); }
.lm-layer-card.accent { background: linear-gradient(180deg, #0a2342, #071a34); color: #d7e7ff; border-color: rgba(255,255,255,.12); }
.lm-layer-card.accent h3 { color: #fff; }
.lm-layer-card span, .lm-detail-card span, .lm-step-card span, .lm-large-detail span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: var(--lm-blue); color: #fff; font-weight: 900; margin-bottom: 18px; }
.lm-layer-card ul, .lm-detail-card ul, .lm-fit-card ul, .lm-cta-card ul, .lm-large-detail ul { padding-left: 18px; margin: 18px 0 0; }
.lm-layer-card li, .lm-detail-card li, .lm-fit-card li, .lm-cta-card li, .lm-large-detail li { margin-bottom: 10px; }

.lm-audit-band, .lm-landing-final { background: linear-gradient(135deg, #071a34, #0a3a78); color: #d7e7ff; position: relative; overflow: hidden; }
.lm-audit-band::before, .lm-landing-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(75,225,255,.18), transparent 30%), radial-gradient(circle at 90% 70%, rgba(36,107,254,.28), transparent 30%); }
.lm-audit-band .container, .lm-landing-final .container { position: relative; z-index: 2; }
.lm-audit-band h2, .lm-landing-final h2 { color: #fff; font-size: clamp(32px, 4vw, 54px); letter-spacing: -1.8px; }
.lm-audit-band p, .lm-landing-final p { color: #c4d4ea; }
.lm-audit-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.lm-audit-steps div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 16px; }
.lm-audit-steps strong { display: block; color: #fff; margin-bottom: 6px; }
.lm-audit-steps span { color: #b9cce6; font-size: 13px; }
.lm-cta-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 30px; padding: 30px; color: #d7e7ff; backdrop-filter: blur(10px); }
.lm-cta-card h3 { color: #fff; font-size: 28px; }

.lm-industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lm-industry-grid div { border: 1px solid var(--lm-border); border-radius: 22px; padding: 22px 14px; text-align: center; background: #fff; box-shadow: 0 16px 40px rgba(7,26,52,.05); }
.lm-industry-grid i { display: block; color: var(--lm-blue); font-size: 30px; margin-bottom: 12px; }
.lm-industry-grid span { font-weight: 900; color: var(--heading-color); }

.lm-final-cta h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -1.7px; }
.lm-final-cta p { max-width: 740px; margin: 0 auto 24px; color: #5b687b; }

.lm-page-hero { padding: 110px 0 78px; position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #f8fbff); }
.lm-page-hero.compact { padding: 100px 0 70px; }
.lm-page-hero.compact .lead { max-width: 850px; }

.lm-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; }
.lm-flow > div { background: #fff; border: 1px solid var(--lm-border); border-radius: 24px; padding: 22px; min-height: 150px; box-shadow: 0 18px 46px rgba(7,26,52,.06); }
.lm-flow > i { display: flex; align-items: center; justify-content: center; color: var(--lm-blue); font-size: 24px; }
.lm-flow div i { display: block; color: var(--lm-blue); font-size: 28px; margin-bottom: 14px; }
.lm-flow strong { display: block; font-size: 18px; color: var(--heading-color); margin-bottom: 8px; }
.lm-flow span { color: #667085; font-size: 14px; }

.lm-detail-card { background: linear-gradient(180deg, #fff, #f8fbff); }
.lm-detail-card p, .lm-service-card p, .lm-step-card p, .lm-principle p, .lm-check-card p { color: #667085; }

.lm-deploy-card { text-align: left; }
.lm-deploy-card h3 { font-size: 24px; }
.lm-deploy-card p { color: #667085; }

.lm-service-card { position: relative; }
.lm-service-card.featured { border-color: rgba(36,107,254,.38); box-shadow: 0 24px 70px rgba(36,107,254,.15); }
.lm-service-card > span { position: absolute; right: 18px; top: 18px; background: var(--lm-blue); color: #fff; font-weight: 900; font-size: 11px; padding: 8px 10px; border-radius: 999px; }
.lm-service-card a { font-weight: 900; }
.lm-step-card span, .lm-principle strong { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: var(--lm-soft); color: var(--lm-blue); font-weight: 900; margin-bottom: 18px; }

.lm-accordion .accordion-item { border: 1px solid var(--lm-border); border-radius: 18px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 12px 34px rgba(7,26,52,.05); }
.lm-accordion .accordion-button { font-weight: 900; color: var(--heading-color); }
.lm-accordion .accordion-button:not(.collapsed) { background: var(--lm-soft); color: var(--lm-blue); box-shadow: none; }

.lm-large-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; background: #fff; border: 1px solid var(--lm-border); border-radius: 30px; padding: 34px; margin-bottom: 22px; box-shadow: 0 20px 54px rgba(7,26,52,.06); }
.lm-large-detail h2 { font-size: 34px; letter-spacing: -1px; }
.lm-large-detail p { color: #667085; font-size: 17px; }

.lm-image-panel { position: relative; }
.lm-image-panel img { box-shadow: var(--lm-shadow); }
.lm-image-badge { position: absolute; left: 24px; bottom: 24px; background: rgba(255,255,255,.92); border: 1px solid var(--lm-border); border-radius: 20px; padding: 16px 20px; box-shadow: 0 16px 45px rgba(7,26,52,.12); }
.lm-image-badge strong, .lm-image-badge span { display: block; }
.lm-image-badge span { color: #667085; font-size: 13px; margin-top: 4px; }
.lm-values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.lm-values-grid div { border: 1px solid var(--lm-border); background: #fff; border-radius: 18px; padding: 16px; font-weight: 900; display: flex; gap: 10px; align-items: center; }
.lm-values-grid i { color: var(--lm-blue); font-size: 22px; }

.lm-landing-page .header { position: absolute; left: 0; right: 0; background: transparent; }
.lm-landing-page .header .header-container { background: rgba(255,255,255,.95); }
.lm-landing-hero { background: linear-gradient(135deg, #061528, #0b2a55 60%, #0b5cff); color: #d7e7ff; padding: 138px 0 84px; position: relative; overflow: hidden; }
.lm-landing-hero h1 { color: #fff; }
.lm-landing-hero .lead { color: #d7e7ff; max-width: 760px; }
.lm-landing-bullets { display: grid; gap: 12px; margin: 28px 0; }
.lm-landing-bullets div { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; }
.lm-landing-bullets i { color: #7cffca; }
.lm-landing-form-card { background: #fff; color: var(--default-color); border-radius: 34px; padding: 30px; box-shadow: 0 34px 90px rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.18); }
.lm-landing-form-card h2, .lm-landing-form-card h3 { color: var(--heading-color); letter-spacing: -1px; }
.lm-landing-form-card p { color: #667085; }
.lm-form-tag { display: inline-flex; border-radius: 999px; padding: 8px 12px; background: var(--lm-soft); color: var(--lm-blue); font-weight: 900; text-transform: uppercase; letter-spacing: .9px; font-size: 11px; margin-bottom: 12px; }

.lm-form label { font-weight: 900; font-size: 13px; color: #344054; margin-bottom: 8px; }
.lm-form .form-control, .lm-form select { min-height: 48px; border-radius: 14px; border: 1px solid rgba(15,41,67,.15); background-color: #fff; }
.lm-form textarea.form-control { min-height: 116px; }
.lm-form .form-control:focus { box-shadow: 0 0 0 .25rem rgba(36,107,254,.12); border-color: rgba(36,107,254,.45); }
.lm-form-small { font-size: 12px; color: #667085; text-align: center; margin: 12px 0 0; line-height: 1.5; }
.lm-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600 !important; color: #667085 !important; line-height: 1.5; }
.lm-check input { margin-top: 4px; }
.lm-honeypot { position: absolute !important; left: -99999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }

.lm-check-card h3 { font-size: 21px; }
.lm-deliverable-list { display: grid; gap: 16px; }
.lm-deliverable-list > div { display: flex; gap: 16px; background: #fff; border: 1px solid var(--lm-border); border-radius: 22px; padding: 20px; box-shadow: 0 16px 40px rgba(7,26,52,.06); }
.lm-deliverable-list i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 16px; background: var(--lm-soft); color: var(--lm-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.lm-deliverable-list h3 { font-size: 21px; margin-bottom: 6px; }
.lm-deliverable-list p { margin: 0; color: #667085; }
.lm-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.lm-timeline-item { background: #fff; border: 1px solid var(--lm-border); border-radius: 26px; padding: 24px; box-shadow: 0 18px 46px rgba(7,26,52,.06); }
.lm-timeline-item span { display: inline-flex; padding: 8px 10px; border-radius: 999px; background: var(--lm-soft); color: var(--lm-blue); font-weight: 900; font-size: 12px; margin-bottom: 16px; }
.lm-timeline-item h3 { font-size: 23px; }
.lm-timeline-item p { color: #667085; margin-bottom: 0; }
.lm-fit-card h3 { display: flex; align-items: center; gap: 10px; }
.lm-fit-card.good { border-color: rgba(17,163,106,.28); }
.lm-fit-card.bad { border-color: rgba(220,53,69,.22); }
.lm-fit-card.good i { color: var(--lm-green); }
.lm-fit-card.bad i { color: var(--lm-red); }
.lm-landing-form-card.final { box-shadow: 0 24px 70px rgba(0,0,0,.2); }

.lm-contact-card { background: linear-gradient(180deg, #0a2342, #071a34); color: #d7e7ff; }
.lm-contact-card h2 { color: #fff; }
.lm-contact-card p { color: #bdd0e9; }
.lm-contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.lm-contact-item i { width: 44px; height: 44px; border-radius: 15px; background: rgba(255,255,255,.1); color: #7fc5ff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.lm-contact-item strong, .lm-contact-item span, .lm-contact-item a { display: block; }
.lm-contact-item strong { color: #fff; }
.lm-contact-item span, .lm-contact-item a { color: #bdd0e9; }

.lm-legal-card { max-width: 920px; margin: 0 auto; height: auto; }
.lm-legal-card h2 { margin-top: 28px; }
.lm-legal-card h2:first-child { margin-top: 0; }

.lm-footer { background: #071a34; color: #b9cbe2; padding: 64px 0 30px; }
.lm-footer .lm-footer-brand { color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -1px; display: inline-block; margin-bottom: 14px; }
.lm-footer h5 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.lm-footer a { display: block; color: #b9cbe2; margin-bottom: 10px; }
.lm-footer a:hover { color: #fff; }
.lm-footer-note { font-size: 12px; color: #8ea6c5; max-width: 560px; }
.lm-footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 22px; }
.lm-footer-bottom p { margin: 0; color: #8ea6c5; font-size: 13px; }

@media (max-width: 1199px) {
  .lm-flow { grid-template-columns: 1fr; }
  .lm-flow > i { transform: rotate(90deg); padding: 4px; }
  .lm-industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .lm-hero h1, .lm-page-hero h1, .lm-landing-hero h1 { letter-spacing: -2px; }
  .lm-audit-steps, .lm-timeline { grid-template-columns: repeat(2, 1fr); }
  .lm-large-detail { grid-template-columns: 1fr; }
  .lm-landing-page .header { position: sticky; }
  .lm-landing-hero { padding-top: 90px; }
}
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .lm-dash-grid, .lm-audit-steps, .lm-timeline, .lm-values-grid { grid-template-columns: 1fr; }
  .lm-table-head, .lm-table-row { grid-template-columns: 1fr; }
  .lm-industry-grid { grid-template-columns: repeat(2, 1fr); }
  .lm-footer-bottom { flex-direction: column; }
  .lm-landing-form-card { padding: 22px; border-radius: 26px; }
  .lm-logo-text small { display: none; }
}

/* ===== LeadMind v3 brand refresh ===== */
:root {
  --accent-color: #0b5e4e;
  --heading-color: #062c25;
  --default-color: #193d35;
  --lm-navy: #062c25;
  --lm-blue: #0b5e4e;
  --lm-cyan: #9fd6c8;
  --lm-orange: #d57f38;
  --lm-green: #12725e;
  --lm-soft: #f3faf7;
  --lm-border: rgba(6, 44, 37, 0.10);
  --lm-shadow: 0 24px 70px rgba(6, 44, 37, 0.11);
}
body { background: #fff; color: var(--default-color); }
.lm-logo-img { height: 44px; width: auto; display: block; }
.lm-footer-logo { height: 52px; width: auto; display: block; }
.lm-header-cta, .btn.btn-primary, .btn.btn-submit, .lm-step-card span, .lm-layer-card span, .lm-detail-card span, .lm-large-detail span { background: linear-gradient(135deg, #0b5e4e, #14856d) !important; border-color: #0b5e4e !important; }
.lm-header-cta, .btn.btn-primary, .btn.btn-submit { box-shadow: 0 18px 36px rgba(11,94,78,.22) !important; }
.lm-kicker, .lm-eyebrow, .lm-section-title .lm-kicker, .lm-service-card a, .lm-accordion .accordion-button:not(.collapsed), .lm-flow > i, .lm-flow div i, .lm-industry-grid i, .lm-deliverable-list i, .lm-contact-item i { color: var(--lm-blue) !important; }
.lm-hero::before, .lm-page-hero::before, .lm-landing-hero::before { background: radial-gradient(circle at 10% 10%, rgba(11,94,78,.10), transparent 34%), radial-gradient(circle at 90% 5%, rgba(159,214,200,.22), transparent 28%); }
.lm-landing-hero, .lm-audit-band, .lm-landing-final, .lm-contact-card, .lm-footer { background: linear-gradient(135deg, #062c25, #0b5e4e 58%, #11715f); }
.lm-landing-page .header .header-container { background: rgba(255,255,255,.96); }
.lm-dashboard-frame { border-color: rgba(11,94,78,.16); box-shadow: 0 28px 70px rgba(6,44,37,.12); }
.lm-dash-toolbar, .lm-live-pill, .lm-dash-metric, .lm-image-badge, .lm-form-tag { background-color: #f4faf7; }
.lm-status.green { background: rgba(11,94,78,.10); color: #0b5e4e; }
.lm-proof-strip span, .lm-image-badge, .lm-step-card, .lm-problem-card, .lm-module-card, .lm-service-card, .lm-detail-card, .lm-large-detail, .lm-form-card, .lm-fit-card, .lm-check-card, .lm-deploy-card, .lm-layer-card, .lm-contact-card, .lm-legal-card, .lm-accordion .accordion-item, .lm-timeline-item { border-color: rgba(6,44,37,.10); }

.lm-hero-shot, .lm-shot-card img, .lm-thumb-card img, .lm-inline-visual img, .lm-direct-visual img {
  width: 100%; border-radius: 26px; border: 1px solid var(--lm-border); box-shadow: var(--lm-shadow); background: #fff;
}
.lm-shot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.lm-shot-card { grid-column: span 4; background: #fff; border: 1px solid var(--lm-border); border-radius: 30px; padding: 16px; box-shadow: 0 18px 46px rgba(6,44,37,.06); }
.lm-shot-card.large { grid-column: span 6; }
.lm-shot-meta { padding: 14px 6px 6px; }
.lm-shot-meta strong { display: block; color: var(--heading-color); font-size: 20px; margin-bottom: 6px; }
.lm-shot-meta span { display: block; color: var(--lm-muted); font-size: 14px; }
.lm-hero-stack { display: grid; gap: 18px; }
.lm-hero-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lm-hero-chip { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--lm-border); border-radius: 999px; padding: 9px 14px; font-weight: 800; color: var(--heading-color); }
.lm-hero-chip i { color: var(--lm-blue); }
.lm-hero-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lm-hero-stat { background: #fff; border: 1px solid var(--lm-border); border-radius: 24px; padding: 18px; box-shadow: 0 16px 40px rgba(6,44,37,.05); }
.lm-hero-stat strong { display: block; font-size: 28px; color: var(--heading-color); }
.lm-hero-stat span { color: var(--lm-muted); font-size: 13px; font-weight: 700; }

.lm-thumb-card { background: #fff; border: 1px solid var(--lm-border); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 46px rgba(6,44,37,.06); height: 100%; }
.lm-thumb-card img { border-radius: 0; border: 0; box-shadow: none; display:block; }
.lm-thumb-card .lm-thumb-body { padding: 22px; }
.lm-thumb-card .lm-thumb-body h3 { font-size: 23px; margin-bottom: 10px; }
.lm-thumb-card .lm-thumb-body p { color: var(--lm-muted); margin-bottom: 12px; }
.lm-thumb-card .lm-thumb-link { font-weight: 900; color: var(--lm-blue); }

.lm-inline-form-band { background: linear-gradient(135deg, #062c25, #0d5f4e 58%, #13806a); border-radius: 34px; padding: 36px; color: #d9eee7; box-shadow: 0 28px 70px rgba(6,44,37,.16); }
.lm-inline-form-band h2, .lm-inline-form-band h3 { color: #fff; }
.lm-inline-form-band p { color: #c8e4db; }
.lm-inline-form-band .lm-landing-form-card { box-shadow: none; }

.lm-page-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.lm-page-kpis .kpi { background: #fff; border: 1px solid var(--lm-border); border-radius: 22px; padding: 20px; box-shadow: 0 16px 40px rgba(6,44,37,.05); }
.lm-page-kpis strong { display: block; font-size: 30px; color: var(--heading-color); margin-bottom: 6px; }
.lm-page-kpis span { font-weight: 700; color: var(--lm-muted); }

.lm-direct-page { background: #f7fbf9; }
.lm-direct-page .main { overflow-x: hidden; }
.lm-direct-hero { position: relative; padding: 72px 0 48px; background: radial-gradient(circle at 15% 10%, rgba(159,214,200,.28), transparent 30%), linear-gradient(180deg, #f7fbf9, #ffffff); }
.lm-direct-shell { max-width: 1320px; margin: 0 auto; padding: 0 18px; }
.lm-direct-hero-panel { background: #fff; border: 1px solid var(--lm-border); border-radius: 34px; padding: 28px; box-shadow: var(--lm-shadow); }
.lm-direct-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.lm-direct-brand img { height: 44px; width: auto; }
.lm-direct-badge { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: var(--lm-soft); color: var(--lm-blue); font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.lm-direct-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.lm-direct-hero h1 { font-size: clamp(38px, 5vw, 72px); letter-spacing: -2.6px; line-height: .96; margin-bottom: 20px; }
.lm-direct-hero p.lead { color: #50666a; font-size: 18px; max-width: 760px; }
.lm-direct-bullets { display: grid; gap: 12px; margin: 24px 0 28px; }
.lm-direct-bullets div { display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--heading-color); }
.lm-direct-bullets i { color: var(--lm-blue); }
.lm-direct-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 20px; }
.lm-direct-proof div { background: #f8fcfa; border: 1px solid var(--lm-border); border-radius: 20px; padding: 16px; }
.lm-direct-proof strong { display: block; font-size: 24px; color: var(--heading-color); }
.lm-direct-proof span { font-size: 13px; color: var(--lm-muted); font-weight: 700; }
.lm-direct-form-card { background: #fff; border: 1px solid var(--lm-border); border-radius: 30px; padding: 28px; box-shadow: 0 20px 60px rgba(6,44,37,.08); position: sticky; top: 24px; }
.lm-direct-form-card .lm-form-tag { background: var(--lm-soft); }
.lm-direct-stack { display: grid; gap: 18px; }
.lm-direct-section { padding: 72px 0; }
.lm-direct-section.alt { background: #f3faf7; }
.lm-direct-cta-band { background: linear-gradient(135deg, #062c25, #0b5e4e 58%, #11715f); color: #d7ece4; border-radius: 34px; padding: 38px; }
.lm-direct-cta-band h2 { color: #fff; }
.lm-direct-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.lm-direct-final { padding: 20px 0 84px; }

@media (max-width: 1199px) {
  .lm-shot-card { grid-column: span 6; }
  .lm-direct-hero-grid, .lm-large-detail { grid-template-columns: 1fr; }
  .lm-page-kpis, .lm-direct-proof, .lm-hero-stat-strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 991px) {
  .lm-shot-grid { grid-template-columns: repeat(2,1fr); }
  .lm-shot-card, .lm-shot-card.large { grid-column: auto; }
  .lm-page-kpis, .lm-hero-mini-grid, .lm-hero-stat-strip, .lm-direct-proof, .lm-direct-gallery { grid-template-columns: 1fr; }
  .lm-direct-form-card { position: static; }
}
@media (max-width: 767px) {
  .lm-logo-img { height: 38px; }
  .lm-footer-logo { height: 46px; }
  .lm-direct-hero-panel, .lm-inline-form-band { padding: 22px; }
}

/* ===== LeadMind ad landing clean rebuild ===== */
.lm-ad-page {
  background: #f4faf7;
  color: #193d35;
  overflow-x: hidden;
}
.lm-ad-page img { max-width: 100%; height: auto; }
.lm-ad-hero {
  padding: 28px 0 42px;
  background:
    radial-gradient(circle at 10% 0%, rgba(159,214,200,.35), transparent 32%),
    linear-gradient(180deg, #f4faf7 0%, #ffffff 100%);
}
.lm-ad-panel {
  background: #fff;
  border: 1px solid rgba(6,44,37,.10);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(6,44,37,.10);
  padding: 26px;
  overflow: hidden;
}
.lm-ad-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.lm-ad-topbar img { height: 38px; width: auto; }
.lm-ad-topbar span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 9px 13px;
  background: #eef8f4;
  color: #0b5e4e;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.lm-ad-kicker {
  display: inline-flex;
  color: #0b5e4e;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 14px;
}
.lm-ad-copy h1 {
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: .93;
  letter-spacing: -2.7px;
  color: #062c25;
  margin: 0 0 18px;
  max-width: 760px;
}
.lm-ad-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #536b64;
  max-width: 690px;
  margin-bottom: 22px;
}
.lm-ad-points {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}
.lm-ad-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #163d34;
}
.lm-ad-points i { color: #0b5e4e; }
.lm-ad-mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 700px;
}
.lm-ad-mini-kpis div {
  background: #f7fcfa;
  border: 1px solid rgba(6,44,37,.10);
  border-radius: 20px;
  padding: 15px;
}
.lm-ad-mini-kpis strong {
  display: block;
  font-size: 22px;
  color: #062c25;
}
.lm-ad-mini-kpis span {
  color: #607a73;
  font-size: 13px;
  font-weight: 700;
}
.lm-ad-form-card {
  background: #fff;
  border: 1px solid rgba(6,44,37,.12);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(6,44,37,.08);
}
.lm-ad-form-card h2 {
  color: #062c25;
  font-size: 30px;
  margin: 10px 0 8px;
}
.lm-ad-form-card p { color: #607a73; margin-bottom: 18px; }
.lm-ad-visual {
  margin-top: 28px;
  background: linear-gradient(135deg, #eef8f4, #ffffff);
  border: 1px solid rgba(6,44,37,.10);
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(6,44,37,.08);
}
.lm-ad-visual img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: left top;
  border-radius: 22px;
  border: 1px solid rgba(6,44,37,.10);
}
.lm-ad-section { padding: 58px 0; background: #fff; }
.lm-ad-section-soft { background: #f4faf7; }
.lm-ad-title {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.lm-ad-title span, .lm-ad-final-box span {
  color: #0b5e4e;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.lm-ad-title h2 {
  color: #062c25;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -1.2px;
  margin: 8px 0 0;
}
.lm-ad-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(6,44,37,.10);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 16px 42px rgba(6,44,37,.06);
}
.lm-ad-card i {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #eef8f4;
  color: #0b5e4e;
  margin-bottom: 16px;
  font-size: 20px;
}
.lm-ad-card h3 { color: #062c25; font-size: 22px; margin-bottom: 8px; }
.lm-ad-card p { color: #607a73; margin-bottom: 0; line-height: 1.65; }
.lm-ad-output-list { display: grid; gap: 12px; }
.lm-ad-output-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(6,44,37,.10);
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 850;
  color: #163d34;
}
.lm-ad-output-list i { color: #0b5e4e; font-size: 20px; }
.lm-ad-preview-card {
  background: #fff;
  border: 1px solid rgba(6,44,37,.10);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 22px 60px rgba(6,44,37,.08);
}
.lm-ad-preview-card img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: left top;
  border-radius: 22px;
  border: 1px solid rgba(6,44,37,.10);
}
.lm-ad-final { padding: 54px 0 70px; background: #fff; }
.lm-ad-final-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(135deg, #062c25, #0b5e4e 58%, #11715f);
  border-radius: 30px;
  padding: 34px;
  color: #d8eee7;
  box-shadow: 0 24px 70px rgba(6,44,37,.14);
}
.lm-ad-final-box span { color: #9fd6c8; }
.lm-ad-final-box h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); margin: 8px 0; }
.lm-ad-final-box p { margin: 0; color: #cfe9e1; }
@media (max-width: 991px) {
  .lm-ad-panel { padding: 20px; border-radius: 26px; }
  .lm-ad-copy h1 { font-size: 44px; letter-spacing: -1.6px; }
  .lm-ad-visual img { max-height: 340px; }
  .lm-ad-preview-card img { max-height: 320px; }
  .lm-ad-final-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .lm-ad-hero { padding: 16px 0 28px; }
  .lm-ad-topbar { align-items: flex-start; flex-direction: column; }
  .lm-ad-topbar img { height: 34px; }
  .lm-ad-copy h1 { font-size: 36px; line-height: 1; }
  .lm-ad-lead { font-size: 16px; }
  .lm-ad-mini-kpis { grid-template-columns: 1fr; }
  .lm-ad-form-card { padding: 20px; border-radius: 24px; }
  .lm-ad-visual { padding: 10px; border-radius: 22px; }
  .lm-ad-visual img { max-height: 240px; border-radius: 16px; }
  .lm-ad-section { padding: 42px 0; }
  .lm-ad-final-box { padding: 24px; border-radius: 24px; }
}


/* ===== LeadMind v5 controlled visuals + accent polish ===== */
:root {
  --lm-orange: #d57f38;
  --lm-orange-soft: rgba(213, 127, 56, .12);
  --lm-green-deep: #062c25;
  --lm-green-main: #0b5e4e;
  --lm-green-bright: #14856d;
}

/* Prevent dashboard screenshots from escaping the viewport */
html, body, .main {
  max-width: 100%;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}

/* Navigation: keep the template, add controlled orange life */
.navmenu a,
.navmenu a:focus {
  position: relative;
  transition: color .22s ease;
}
.navmenu a.active,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover > a {
  color: var(--lm-orange) !important;
}
.navmenu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lm-orange), #f0b47c);
  transform: translateX(-50%);
  transition: width .22s ease;
}
.navmenu a.active::after,
.navmenu li:hover > a::after {
  width: 22px;
}
.lm-header-cta {
  background: linear-gradient(135deg, var(--lm-green-main), var(--lm-green-bright)) !important;
  box-shadow: 0 18px 36px rgba(11,94,78,.20), inset 0 0 0 1px rgba(255,255,255,.18) !important;
}
.lm-header-cta:hover {
  background: linear-gradient(135deg, var(--lm-orange), #e69a59) !important;
  transform: translateY(-2px);
}

/* Global link polish without turning the site orange */
a:not(.btn):not(.lm-header-cta):not(.logo):not(.lm-footer-brand) {
  text-underline-offset: 5px;
}
.lm-thumb-link,
.lm-service-card a,
.lm-footer a:hover,
.lm-contact-item a:hover {
  color: var(--lm-orange) !important;
}
.lm-thumb-link::after,
.lm-service-card a::after {
  content: "  →";
  color: var(--lm-orange);
}

/* Hero/dashboard image controls */
.lm-hero-stack,
.lm-hero-mini-grid,
.lm-shot-grid,
.lm-direct-gallery {
  min-width: 0;
}
.lm-hero-shot,
img.lm-hero-shot,
.lm-inline-visual,
img.lm-inline-visual,
.lm-direct-visual,
img.lm-direct-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(6,44,37,.10);
  background: #fff;
  box-shadow: 0 20px 52px rgba(6,44,37,.10);
  object-fit: cover;
  object-position: left top;
}
.lm-hero-shot,
img.lm-hero-shot {
  max-height: 390px;
}
.lm-hero-mini-grid .lm-hero-shot,
.lm-hero-mini-grid img.lm-hero-shot {
  max-height: 210px;
}
.lm-inline-visual,
img.lm-inline-visual {
  max-height: 430px;
}
.lm-large-detail .lm-hero-mini-grid img {
  max-height: 300px;
}

/* Platform page: stable split cards, no escaping images */
.lm-large-detail {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 98% 0%, rgba(213,127,56,.09), transparent 30%),
    #fff;
  border-color: rgba(6,44,37,.10) !important;
}
.lm-large-detail > div {
  min-width: 0;
}
.lm-large-detail > div:has(img) {
  overflow: hidden;
  border-radius: 26px;
}
.lm-large-detail span {
  width: auto !important;
  height: auto !important;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px !important;
  background: var(--lm-orange-soft) !important;
  color: var(--lm-orange) !important;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: none !important;
}
.lm-large-detail h3 {
  color: var(--lm-green-deep);
  font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: -1.1px;
}
.lm-deliverable-list i,
.lm-flow div i {
  color: var(--lm-orange) !important;
}

/* Service cards: cleaner, less screenshot-heavy, stronger icons */
.lm-thumb-card {
  position: relative;
  border-radius: 30px;
  border-color: rgba(6,44,37,.10);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lm-thumb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213,127,56,.35);
  box-shadow: 0 28px 70px rgba(6,44,37,.10);
}
.lm-thumb-card img {
  width: 100%;
  height: 185px;
  max-height: 185px;
  object-fit: cover;
  object-position: left top;
  filter: saturate(.98) contrast(1.02);
}
.lm-thumb-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 158px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--lm-green-main), var(--lm-green-bright));
  box-shadow: 0 14px 34px rgba(11,94,78,.22);
  z-index: 2;
}
.lm-thumb-card::after {
  content: "↗";
  position: absolute;
  left: 39px;
  top: 171px;
  z-index: 3;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}
.lm-thumb-card .lm-thumb-body {
  padding-top: 40px;
}
.lm-thumb-card .lm-thumb-body h3 {
  color: var(--lm-green-deep);
  letter-spacing: -.55px;
}
.lm-thumb-card .lm-thumb-body p {
  min-height: 74px;
}

/* Implementation cards: make numbers feel designed, not default */
.lm-step-card {
  position: relative;
  overflow: hidden;
}
.lm-step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lm-orange), rgba(213,127,56,0), var(--lm-green-main));
  opacity: .85;
}
.lm-step-card span,
.lm-layer-card span,
.lm-detail-card span {
  background: linear-gradient(135deg, var(--lm-orange), #e7a366) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(213,127,56,.22) !important;
}
.lm-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(6,44,37,.10);
}

/* Section rhythm and accents */
.lm-section-title .title-shape {
  color: var(--lm-orange);
}
.lm-kicker,
.lm-eyebrow {
  color: var(--lm-orange) !important;
}
.lm-page-hero {
  background:
    radial-gradient(circle at 12% 12%, rgba(213,127,56,.10), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(11,94,78,.10), transparent 30%),
    #fff;
}
.lm-proof-strip span {
  background: rgba(255,255,255,.78);
}
.lm-proof-strip span i {
  color: var(--lm-orange) !important;
}

/* Architecture flow: prevent horizontal break on medium screens */
.lm-flow {
  overflow: hidden;
}
.lm-flow > div {
  min-width: 0;
}
.lm-flow > i {
  color: var(--lm-orange) !important;
}

/* Forms and CTA blocks */
.btn.btn-primary:hover,
.btn.btn-submit:hover {
  background: linear-gradient(135deg, var(--lm-orange), #e69a59) !important;
  border-color: var(--lm-orange) !important;
}
.lm-inline-form-band {
  background:
    radial-gradient(circle at 90% 0%, rgba(213,127,56,.22), transparent 32%),
    linear-gradient(135deg, #062c25, #0d5f4e 58%, #13806a) !important;
}

/* Mobile controls */
@media (max-width: 1199px) {
  .lm-large-detail {
    grid-template-columns: 1fr !important;
  }
  .lm-inline-visual,
  img.lm-inline-visual {
    max-height: 360px;
  }
}
@media (max-width: 991px) {
  .lm-hero-shot,
  img.lm-hero-shot {
    max-height: 330px;
  }
  .lm-hero-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lm-hero-mini-grid .lm-hero-shot,
  .lm-hero-mini-grid img.lm-hero-shot {
    max-height: 180px;
  }
  .lm-thumb-card img {
    height: 170px;
    max-height: 170px;
  }
}
@media (max-width: 767px) {
  .navmenu a::after {
    display: none;
  }
  .lm-hero-mini-grid {
    grid-template-columns: 1fr;
  }
  .lm-hero-shot,
  img.lm-hero-shot,
  .lm-inline-visual,
  img.lm-inline-visual {
    max-height: 245px;
    border-radius: 18px;
  }
  .lm-large-detail {
    padding: 22px !important;
    border-radius: 24px !important;
  }
  .lm-thumb-card img {
    height: 150px;
    max-height: 150px;
  }
  .lm-thumb-card::before {
    top: 125px;
  }
  .lm-thumb-card::after {
    top: 138px;
  }
}


/* ===== LeadMind v5 service page professional cards ===== */
.lm-service-pro-grid {
  align-items: stretch;
}
.lm-service-pro-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.11), transparent 32%),
    linear-gradient(180deg, #fff, #f9fcfb);
  border: 1px solid rgba(6,44,37,.10);
  box-shadow: 0 20px 54px rgba(6,44,37,.065);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lm-service-pro-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213,127,56,.34);
  box-shadow: 0 30px 76px rgba(6,44,37,.11);
}
.lm-service-pro-card.featured {
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.18), transparent 36%),
    linear-gradient(135deg, #062c25, #0b5e4e 66%, #14856d);
  color: #d9eee7;
}
.lm-service-pro-card.featured h3,
.lm-service-pro-card.featured a {
  color: #fff !important;
}
.lm-service-pro-card.featured p,
.lm-service-pro-card.featured li {
  color: #cde9df;
}
.lm-service-pro-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--lm-green-main), var(--lm-green-bright));
  color: #fff;
  font-size: 29px;
  margin-bottom: 22px;
  box-shadow: 0 16px 36px rgba(11,94,78,.22);
}
.lm-service-pro-card:nth-child(odd) .lm-service-pro-icon,
.lm-service-pro-card.featured .lm-service-pro-icon {
  background: linear-gradient(135deg, var(--lm-orange), #eba96f);
  box-shadow: 0 16px 36px rgba(213,127,56,.23);
}
.lm-service-pro-card h3 {
  font-size: 25px;
  color: var(--lm-green-deep);
  letter-spacing: -.7px;
  margin-bottom: 12px;
}
.lm-service-pro-card p {
  color: #607a73;
  line-height: 1.7;
  margin-bottom: 18px;
}
.lm-service-pro-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.lm-service-pro-card li {
  position: relative;
  padding-left: 22px;
  color: #49645d;
  font-weight: 740;
  font-size: 14px;
}
.lm-service-pro-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--lm-orange);
}
.lm-service-pro-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: var(--lm-orange) !important;
}
.lm-service-pro-card a::after {
  content: "→";
  transition: transform .18s ease;
}
.lm-service-pro-card:hover a::after {
  transform: translateX(4px);
}
.lm-service-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 900;
}
@media (max-width: 767px) {
  .lm-service-pro-card {
    padding: 24px;
    border-radius: 24px;
  }
  .lm-service-pro-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 25px;
  }
}

/* ===== LeadMind v6 sitewide orange polish: controlled accent, no layout break ===== */
:root {
  --lm-orange: #d57f38;
  --lm-orange-soft: #fff1e7;
  --lm-orange-border: rgba(213,127,56,.28);
  --lm-green-deep: #062c25;
  --lm-green-main: #0b5e4e;
  --lm-green-bright: #14856d;
  --lm-ink: #062c25;
  --lm-card-border: rgba(6,44,37,.10);
  --lm-card-shadow: 0 20px 58px rgba(6,44,37,.07);
}
html, body { overflow-x: hidden; }
.main, main, section, .container, .container-fluid { min-width: 0; }
img { max-width: 100%; }

/* Navigation and links: keep the clean template, add a small amount of warmth */
.navmenu a,
.navmenu a:focus { position: relative; transition: color .18s ease; }
.navmenu a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lm-orange), rgba(213,127,56,0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus { color: var(--lm-orange) !important; }
.navmenu a:hover::after,
.navmenu .active::after { transform: scaleX(1); }
.lm-header-cta {
  background: linear-gradient(135deg, var(--lm-orange), #eaa56c) !important;
  border-color: var(--lm-orange) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(213,127,56,.24) !important;
}
.lm-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(213,127,56,.30) !important;
}
a:not(.btn):not(.logo):not(.lm-module-card):not(.lm-footer-brand):not(.lm-thumb-link) {
  text-decoration-color: rgba(213,127,56,.30);
}

/* Hero sections: add subtle orange energy, keep green brand dominant */
.lm-hero,
.lm-page-hero,
.lm-ad-hero {
  background:
    radial-gradient(circle at 12% 12%, rgba(213,127,56,.12), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(11,94,78,.10), transparent 32%),
    linear-gradient(180deg, #fff, #f4faf7) !important;
}
.lm-hero h1 strong,
.lm-page-hero h1 strong,
.lm-ad-copy h1 strong { color: var(--lm-orange); }
.lm-kicker,
.lm-eyebrow,
.lm-ad-kicker,
.lm-section-title .lm-kicker,
.lm-ad-title span,
.lm-ad-final-box span { color: var(--lm-orange) !important; }
.lm-section-title .title-shape,
.title-shape { color: var(--lm-orange) !important; }

/* Dashboard imagery: never overflow, never dump full-width uncontrolled screenshots */
.lm-hero-stack,
.lm-direct-stack,
.lm-direct-gallery,
.lm-hero-mini-grid,
.lm-shot-grid,
.lm-large-detail,
.lm-ad-visual,
.lm-ad-preview-card { min-width: 0; max-width: 100%; overflow: hidden; }
.lm-hero-shot,
img.lm-hero-shot,
.lm-inline-visual,
img.lm-inline-visual,
.lm-direct-visual,
img.lm-direct-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: top left;
  border-radius: 26px;
  border: 1px solid rgba(6,44,37,.10);
  box-shadow: 0 22px 60px rgba(6,44,37,.10);
}
.lm-hero-stack > .lm-hero-shot { max-height: 430px; }
.lm-hero-mini-grid .lm-hero-shot { max-height: 210px; }
.lm-inline-visual,
img.lm-inline-visual { max-height: 420px; }
.lm-shot-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top left;
}
.lm-shot-card.large img { height: 310px; }
.lm-shot-card {
  overflow: hidden;
  border-color: rgba(6,44,37,.10) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lm-shot-card:hover {
  transform: translateY(-5px);
  border-color: rgba(213,127,56,.34) !important;
  box-shadow: 0 28px 72px rgba(6,44,37,.10);
}
.lm-shot-meta strong::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 99px;
  background: var(--lm-orange);
  vertical-align: middle;
}

/* Shared pro-card treatment for the rest of the site */
.lm-problem-card,
.lm-module-card,
.lm-industry-grid div,
.lm-principle-card,
.lm-check-card,
.lm-ad-card,
.lm-hero-stat,
.lm-contact-item,
.lm-contact-card,
.lm-form-card,
.lm-legal-card,
.lm-timeline-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lm-card-border) !important;
  box-shadow: var(--lm-card-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lm-problem-card::before,
.lm-module-card::before,
.lm-industry-grid div::before,
.lm-principle-card::before,
.lm-check-card::before,
.lm-ad-card::before,
.lm-hero-stat::before,
.lm-form-card::before,
.lm-contact-card::before,
.lm-legal-card::before,
.lm-timeline-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lm-orange), rgba(213,127,56,0), var(--lm-green-main));
}
.lm-problem-card:hover,
.lm-module-card:hover,
.lm-industry-grid div:hover,
.lm-principle-card:hover,
.lm-check-card:hover,
.lm-ad-card:hover,
.lm-hero-stat:hover,
.lm-contact-item:hover,
.lm-timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(213,127,56,.32) !important;
  box-shadow: 0 28px 76px rgba(6,44,37,.105);
}
.lm-problem-card > i,
.lm-module-card > i,
.lm-industry-grid i,
.lm-check-card > i,
.lm-ad-card > i,
.lm-contact-item > i,
.lm-principle-card > i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--lm-orange), #eda970);
  color: #fff !important;
  font-size: 27px;
  box-shadow: 0 15px 34px rgba(213,127,56,.22);
}
.lm-problem-card:nth-child(even) > i,
.lm-module-card:nth-child(even) > i,
.lm-check-card:nth-child(even) > i,
.lm-ad-card:nth-child(even) > i {
  background: linear-gradient(135deg, var(--lm-green-main), var(--lm-green-bright));
  box-shadow: 0 15px 34px rgba(11,94,78,.20);
}
.lm-module-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.10), transparent 32%),
    linear-gradient(180deg, #fff, #fbfdfc) !important;
}
.lm-module-card h3,
.lm-problem-card h3,
.lm-check-card h3,
.lm-ad-card h3 { letter-spacing: -.45px; }
.lm-module-card p,
.lm-problem-card p,
.lm-check-card p,
.lm-ad-card p { line-height: 1.7; }
.lm-module-card::after {
  content: "Explore →";
  display: inline-flex;
  margin-top: 16px;
  color: var(--lm-orange);
  font-weight: 900;
  letter-spacing: -.2px;
}

/* About/contact pages: more visual depth without changing layout */
.lm-about-story,
.lm-principles,
.lm-contact-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(213,127,56,.07), transparent 28%),
    inherit;
}
.lm-contact-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.19), transparent 32%),
    linear-gradient(135deg, #062c25, #0b5e4e 60%, #14856d) !important;
}
.lm-contact-item {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: none;
}
.lm-contact-item::before { background: linear-gradient(90deg, var(--lm-orange), rgba(255,255,255,0)); }
.lm-contact-item a,
.lm-contact-item span,
.lm-contact-card p { color: #d7eee6 !important; }
.lm-form-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.08), transparent 30%),
    #fff !important;
}
.lm-form-tag {
  color: var(--lm-orange) !important;
  background: var(--lm-orange-soft) !important;
}
.lm-form label { color: var(--lm-green-deep); font-weight: 800; }
.lm-form .form-control:focus {
  border-color: var(--lm-orange) !important;
  box-shadow: 0 0 0 .22rem rgba(213,127,56,.12) !important;
}

/* Landing pages: same v5 style, tighter and more orange, without extra length */
.lm-ad-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.12), transparent 30%),
    #fff !important;
  border-color: rgba(213,127,56,.18) !important;
}
.lm-ad-topbar span,
.lm-direct-badge {
  background: var(--lm-orange-soft) !important;
  color: var(--lm-orange) !important;
  border: 1px solid rgba(213,127,56,.18);
}
.lm-ad-points i,
.lm-ad-output-list i { color: var(--lm-orange) !important; }
.lm-ad-mini-kpis div {
  position: relative;
  overflow: hidden;
  border-color: rgba(6,44,37,.10) !important;
}
.lm-ad-mini-kpis div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lm-orange), rgba(213,127,56,0));
}
.lm-ad-form-card {
  border: 1px solid rgba(213,127,56,.20) !important;
  box-shadow: 0 24px 62px rgba(6,44,37,.10) !important;
}
.lm-ad-visual,
.lm-ad-preview-card {
  border-color: rgba(213,127,56,.16) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.08), transparent 30%),
    #f7fbf9 !important;
}
.lm-ad-visual img,
.lm-ad-preview-card img {
  width: 100%;
  max-width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: 20px;
}
.lm-ad-final-box,
.lm-audit-band,
.lm-final-cta .lm-contact-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(213,127,56,.25), transparent 30%),
    linear-gradient(135deg, #062c25, #0b5e4e 58%, #14856d) !important;
}
.lm-ad-final-box .btn,
.lm-audit-band .btn-light,
.lm-final-cta .btn-light {
  border: 0;
  color: var(--lm-green-deep) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
}
.lm-ad-final-box .btn:hover,
.lm-audit-band .btn-light:hover,
.lm-final-cta .btn-light:hover {
  background: var(--lm-orange) !important;
  color: #fff !important;
}
.btn.btn-primary,
.btn.btn-submit {
  background: linear-gradient(135deg, var(--lm-green-main), var(--lm-green-bright)) !important;
  border-color: var(--lm-green-main) !important;
}
.btn.btn-primary:hover,
.btn.btn-submit:hover {
  background: linear-gradient(135deg, var(--lm-orange), #eaa56c) !important;
  border-color: var(--lm-orange) !important;
}

/* Responsive safety */
@media (max-width: 1199px) {
  .lm-shot-card img, .lm-shot-card.large img { height: 245px; }
  .lm-ad-visual img, .lm-ad-preview-card img { max-height: 320px; }
}
@media (max-width: 991px) {
  .lm-hero-stack > .lm-hero-shot { max-height: 330px; }
  .lm-hero-mini-grid .lm-hero-shot { max-height: 180px; }
  .lm-shot-grid { grid-template-columns: 1fr 1fr !important; }
  .lm-shot-card, .lm-shot-card.large { grid-column: auto !important; }
  .lm-shot-card img, .lm-shot-card.large img { height: 210px; }
}
@media (max-width: 767px) {
  .navmenu a::after { display: none; }
  .lm-problem-card > i,
  .lm-module-card > i,
  .lm-industry-grid i,
  .lm-check-card > i,
  .lm-ad-card > i,
  .lm-contact-item > i,
  .lm-principle-card > i {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 23px;
  }
  .lm-shot-grid { grid-template-columns: 1fr !important; }
  .lm-shot-card img, .lm-shot-card.large img { height: 185px; }
  .lm-ad-visual img, .lm-ad-preview-card img { max-height: 230px; border-radius: 16px; }
  .lm-hero-stack > .lm-hero-shot,
  .lm-hero-mini-grid .lm-hero-shot,
  .lm-inline-visual,
  img.lm-inline-visual { max-height: 230px !important; }
}
