/*
  ECS Homepage Visual Refresh V2
  New visual direction: warm, human-centered small-business technology.
  This is intentionally separate from global.css and main.css to keep rollback simple.
*/
:root {
  --ecs-v2-orange: #f4611e;
  --ecs-v2-orange-light: #f7941e;
  --ecs-v2-ink: #191919;
  --ecs-v2-paper: #fbf8f3;
  --ecs-v2-muted: #696762;
  --ecs-v2-line: #e8e1d7;
  --ecs-v2-purple: #5a56a8;
}

.ecs-smb-home { background: #fff; color: var(--ecs-v2-ink); }
.ecs-smb-home .wrap { max-width: 1320px; }
.ecs-smb-home section[id] { scroll-margin-top: 92px; }
.ecs-smb-home .section-head { max-width: 790px; margin-bottom: 42px; }
.ecs-smb-home .section-head h2 { color: var(--ecs-v2-ink); letter-spacing: -.8px; line-height: 1.15; }
.ecs-smb-home .section-head p { color: var(--ecs-v2-muted); font-size: 15px; line-height: 1.8; }
.ecs-smb-home .eyebrow { color: var(--ecs-v2-orange); }

/* Hero: warm editorial layout + licensed small-business photo + ECS UI overlays. */
.ecs-smb-home .ecs-smb-hero-v2 {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(58px, 7vw, 92px) 0 74px;
  color: var(--ecs-v2-ink);
  background: radial-gradient(circle at 83% 4%, rgba(247,148,30,.13), transparent 27%),
              linear-gradient(115deg, #fff 0%, #fff 48%, #fff8ef 100%);
}
.ecs-smb-home .ecs-smb-hero-v2:before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px;
  left: -260px; bottom: -255px; border: 1px solid rgba(244,97,30,.18); border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(244,97,30,.035), 0 0 0 72px rgba(244,97,30,.025);
  background: none; mask-image: none;
}
.ecs-smb-home .ecs-smb-hero-grid { grid-template-columns: minmax(0,.92fr) minmax(440px,1.08fr); gap: clamp(32px,5vw,72px); }
.ecs-smb-home .ecs-kicker { color: #bd4a13; background: #fff1e4; border-color: #f5d3b7; letter-spacing: .09em; }
.ecs-smb-home .ecs-kicker:before { background: var(--ecs-v2-orange); box-shadow: 0 0 0 4px rgba(244,97,30,.12); }
.ecs-smb-home .ecs-smb-hero-copy h1 { max-width: 650px; margin: 23px 0 20px; color: var(--ecs-v2-ink); font-size: clamp(40px,4.5vw,64px); line-height: 1.04; letter-spacing: -2.3px; font-weight: 800; }
.ecs-smb-home .ecs-smb-hero-copy h1 span { display: inline; color: var(--ecs-v2-orange); }
.ecs-smb-home .ecs-smb-lead { max-width: 560px; color: #5e5a55; font-size: 16px; line-height: 1.85; }
.ecs-smb-home .ecs-smb-hero-actions { margin-top: 30px; gap: 12px; }
.ecs-smb-home .ecs-btn { min-height: 50px; padding: 13px 21px; border-radius: 9px; font-size: 15px; }
.ecs-smb-home .ecs-btn-primary { background: linear-gradient(120deg,var(--ecs-v2-orange-light),var(--ecs-v2-orange)); color: #fff; box-shadow: 0 10px 22px rgba(244,97,30,.2); }
.ecs-smb-home .ecs-btn-primary:hover { color: #fff; box-shadow: 0 14px 28px rgba(244,97,30,.28); }
.ecs-smb-home .ecs-btn-secondary { background: #fff; border-color: #ded7cf; color: #24211e; }
.ecs-smb-home .ecs-btn-secondary:hover { color: var(--ecs-v2-orange); background: #fff8f1; border-color: #f1bd98; }
.ecs-smb-home .ecs-hero-points { margin-top: 27px; gap: 11px 18px; color: #605c57; font-size: 13px; }
.ecs-smb-home .ecs-hero-points i { background: #ffede0; color: #d94f12; }

.ecs-smb-home .ecs-photo-hero { display: block; min-height: 510px; height: clamp(450px,42vw,560px); border: 8px solid #fff; border-radius: 28px; background: #f1e5d8; box-shadow: 0 26px 70px rgba(54,38,24,.15); }
.ecs-smb-home .ecs-hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 48% 50%; border-radius: 20px; }
.ecs-smb-home .ecs-photo-tint { position: absolute; inset: 0; border-radius: 20px; background: linear-gradient(115deg,rgba(31,22,15,.03) 30%,rgba(31,22,15,.25) 100%); pointer-events: none; }
.ecs-smb-home .ecs-photo-ui-card { position: absolute; z-index: 2; width: min(245px,58%); padding: 15px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 18px 38px rgba(26,20,15,.2); color: #292723; }
.ecs-smb-home .ecs-photo-inquiry { top: 26px; left: -34px; }
.ecs-smb-home .ecs-photo-agent { right: -26px; bottom: 40px; width: min(256px,61%); }
.ecs-smb-home .ecs-photo-ui-top { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.ecs-smb-home .ecs-photo-ui-top b { color: #24211e; font-size: 10px; }
.ecs-smb-home .ecs-photo-ui-top small { margin-left: auto; color: #969087; font-size: 8px; }
.ecs-smb-home .ecs-status-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2ca66a; box-shadow: 0 0 0 3px rgba(44,166,106,.12); }
.ecs-smb-home .ecs-photo-ui-card strong { display: block; margin-bottom: 4px; font-size: 13px; }
.ecs-smb-home .ecs-photo-ui-muted { display: block; color: #77716a; font-size: 9px; line-height: 1.55; }
.ecs-smb-home .ecs-photo-ui-tag { display: inline-block; margin-top: 11px; padding: 5px 8px; border-radius: 5px; background: #fff0e4; color: #b84d17; font-size: 8px; font-weight: 700; }
.ecs-smb-home .ecs-photo-chat-bubble { margin: 4px 0 10px; padding: 10px 11px; border-radius: 9px 9px 9px 2px; background: #f6f2ff; color: #4c467a; font-size: 10px; line-height: 1.5; }
.ecs-smb-home .ecs-photo-caption { position: absolute; left: 23px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.ecs-smb-home .ecs-photo-caption i { width: 20px; height: 1px; background: rgba(255,255,255,.7); }

/* Benefit strip: simpler, more editorial. */
.ecs-smb-home .ecs-benefit-strip { padding: 25px 0; background: #fff; border-top: 1px solid #f2eee8; border-bottom: 1px solid #eee8df; }
.ecs-smb-home .ecs-benefit-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.ecs-smb-home .ecs-benefit-grid>div { padding-left: 16px; border-left: 2px solid var(--ecs-v2-orange); }
.ecs-smb-home .ecs-benefit-grid b { color: #24211e; font-size: 13px; }
.ecs-smb-home .ecs-benefit-grid span { color: #77716a; font-size: 12px; line-height: 1.6; }

/* AI: give it its own strong, near-black brand moment. */
.ecs-smb-home .ecs-ai-showcase { background: #191919; padding: 92px 0; }
.ecs-smb-home .ecs-ai-showcase .section-head h2 { color: #fff; }
.ecs-smb-home .ecs-ai-showcase .section-head p { color: #c8c5c0; }
.ecs-smb-home .ecs-kicker-light { color: #ffc18d; background: rgba(244,97,30,.12); border-color: rgba(244,97,30,.25); }
.ecs-smb-home .ecs-kicker-light:before { background: #ff8a43; }
.ecs-smb-home .ecs-ai-benefit>span { background: rgba(244,97,30,.13); color: #ffad73; border: 1px solid rgba(244,97,30,.28); }
.ecs-smb-home .ecs-ai-benefit p { color: #c4c0bb; }
.ecs-smb-home .ecs-ai-showcase .ecs-text-link { color: #ffb783; }
.ecs-smb-home .ecs-ai-showcase .ecs-text-link:hover { color: #fff; }
.ecs-smb-home .ecs-live-demo-panel { border-color: #393633; box-shadow: 0 25px 65px rgba(0,0,0,.35); }
.ecs-smb-home .ecs-demo-avatar { background: linear-gradient(135deg,#f7941e,#f4611e); }
.ecs-smb-home .ecs-live-quick button { border-color: #ead9c8; color: #9e4a19; }
.ecs-smb-home .ecs-live-quick button:hover { border-color: var(--ecs-v2-orange); background: #fff5ed; }
.ecs-smb-home .ecs-agent-type-card { border-radius: 13px; border-color: #3a3733; background: #242321; }
.ecs-smb-home .ecs-agent-type-card h3 { color: #fff; }
.ecs-smb-home .ecs-agent-type-card p { color: #c5c0ba; }
.ecs-smb-home .ecs-agent-visual { border-radius: 9px; }

/* Services: white canvas, restrained lines and orange details. */
.ecs-smb-home .ecs-smb-services { padding: 92px 0; background: #fff; }
.ecs-smb-home .ecs-services-grid { gap: 15px; }
.ecs-smb-home .ecs-service-card { min-height: 260px; padding: 28px 26px; border: 1px solid #ebe5dd; border-radius: 13px; box-shadow: none; }
.ecs-smb-home .ecs-service-card:hover { transform: translateY(-4px); border-color: #f1bc98; box-shadow: 0 16px 35px rgba(47,35,24,.08); }
.ecs-smb-home .ecs-service-icon { width: 44px; height: 44px; border-radius: 11px; background: #fff0e4; color: #d65317; }
.ecs-smb-home .ecs-service-featured { background: #fff5ec; border-color: #f2c6a8; }
.ecs-smb-home .ecs-service-featured .ecs-service-icon { background: #f4611e; color: #fff; }
.ecs-smb-home .ecs-service-featured h3 { color: #24211e; }
.ecs-smb-home .ecs-service-featured p { color: #69615a; }
.ecs-smb-home .ecs-service-card h3 { color: #24211e; font-size: 18px; }
.ecs-smb-home .ecs-service-card p { color: #706b65; font-size: 14px; }
.ecs-smb-home .ecs-service-card a,.ecs-smb-home .ecs-service-featured a { color: #c64e15; }
.ecs-smb-home .ecs-capability-note { color: #77716a; }

/* Industries: photographic tiles, not another icon-card grid. */
.ecs-smb-home .ecs-industries { padding: 94px 0; background: #f7f3ed; }
.ecs-smb-home .ecs-industries .section-head h2 { color: #201d19; }
.ecs-smb-home .ecs-industries .section-head p { color: #6e6962; }
.ecs-smb-home .ecs-industry-grid-v2 { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; align-items: stretch; }
.ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid #e8dfd4; border-radius: 13px; background: #fff; box-shadow: 0 10px 26px rgba(53,39,25,.055); }
.ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card:hover { transform: translateY(-5px); border-color: #e9b18c; background: #fff; }
.ecs-smb-home .ecs-industry-photo { display: block; width: 100%; max-width: none; height: 350px; object-fit: inherit; background: #e9e0d5; }
.ecs-smb-home .ecs-industry-card:nth-child(1) .ecs-industry-photo { object-position: 50% 52%; }
.ecs-smb-home .ecs-industry-card:nth-child(2) .ecs-industry-photo { object-position: 50% 47%; }
.ecs-smb-home .ecs-industry-card:nth-child(3) .ecs-industry-photo { object-position: 50% 43%; }
.ecs-smb-home .ecs-industry-card:nth-child(4) .ecs-industry-photo { object-position: 50% 58%; }
.ecs-smb-home .ecs-industry-content { display: flex; flex: 1; flex-direction: column; padding: 19px 19px 21px; }
.ecs-smb-home .ecs-industry-index { margin-bottom: 8px; color: #c9531b; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card h3 { margin-bottom: 7px; color: #211e1a; font-size: 17px; line-height: 1.35; }
.ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card p { min-height: 78px; margin: 0; color: #6e6861; font-size: 13px; line-height: 1.65; }
.ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 15px; color: #c64e15; font-size: 12px; font-weight: 800; }
.ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-symbol { display: none; }

/* Products: show software as an ECS asset, not a stock-photo service. */
.ecs-smb-home .ecs-products { padding: 94px 0; background: #fff; }
.ecs-smb-home .ecs-product-card { border-color: #e9e2d9; border-radius: 14px; box-shadow: 0 12px 30px rgba(42,31,20,.055); }
.ecs-smb-home .ecs-product-visual { height: 210px; background: #f5f1eb; }
.ecs-smb-home .ecs-product-saas .ecs-product-visual { background: linear-gradient(135deg,#fff0e3,#f5f0e8); }
.ecs-smb-home .ecs-product-top span:first-child { background: #f4611e; }
.ecs-smb-home .ecs-product-sidebar { background: #1d1b1a; }
.ecs-smb-home .ecs-product-label { color: #c9531b; }
.ecs-smb-home .ecs-product-card h3 { color: #211e1a; }
.ecs-smb-home .ecs-product-card p { color: #6e6861; }
.ecs-smb-home .ecs-product-card>a { color: #c64e15; }
.ecs-smb-home .ecs-product-card>a:hover { color: #5a56a8; }

/* Keep demos, case studies and the rest of the existing site intact, while warming their canvas. */
.ecs-smb-home .live-demos { background: #f8f5f0; }
.ecs-smb-home .portfolio { background: #fff; }
.ecs-smb-home .ecs-workflow { background: #f7f3ed; }
.ecs-smb-home .ecs-workflow-grid article { border-color: #e8e0d6; box-shadow: none; }
.ecs-smb-home .ecs-flow-icon { background: #fff0e4; color: #c9531b; }
.ecs-smb-home .ecs-flow-arrow { color: #e36d2c; }
.ecs-smb-home .final-cta { background: linear-gradient(110deg,#f7941e 0%,#f4611e 100%); }

@media (max-width: 1100px) {
  .ecs-smb-home .ecs-smb-hero-grid { grid-template-columns: minmax(0,.95fr) minmax(370px,1.05fr); gap: 28px; }
  .ecs-smb-home .ecs-photo-inquiry { left: -16px; }
  .ecs-smb-home .ecs-photo-agent { right: -12px; }
  .ecs-smb-home .ecs-industry-grid-v2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .ecs-smb-home .ecs-smb-hero-grid { grid-template-columns: 1fr; }
  .ecs-smb-home .ecs-smb-hero-copy { max-width: 760px; }
  .ecs-smb-home .ecs-photo-hero { width: min(100%,700px); margin: 16px auto 0; min-height: 440px; height: 480px; }
  .ecs-smb-home .ecs-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .ecs-smb-home .ecs-smb-hero-v2 { padding: 48px 0 50px; }
  .ecs-smb-home .ecs-smb-hero-copy h1 { font-size: clamp(35px,10vw,46px); line-height: 1.07; letter-spacing: -1.4px; }
  .ecs-smb-home .ecs-smb-lead { font-size: 14px; }
  .ecs-smb-home .ecs-smb-hero-actions { display: grid; grid-template-columns: 1fr; }
  .ecs-smb-home .ecs-smb-hero-actions .ecs-btn { width: 100%; }
  .ecs-smb-home .ecs-hero-points { display: grid; gap: 9px; }
  .ecs-smb-home .ecs-photo-hero { min-height: 340px; height: 350px; border-width: 5px; border-radius: 20px; }
  .ecs-smb-home .ecs-hero-photo,.ecs-smb-home .ecs-photo-tint { border-radius: 14px; }
  .ecs-smb-home .ecs-photo-ui-card { width: 56%; padding: 10px 11px; }
  .ecs-smb-home .ecs-photo-inquiry { top: 12px; left: -5px; }
  .ecs-smb-home .ecs-photo-agent { right: -4px; bottom: 37px; }
  .ecs-smb-home .ecs-photo-ui-top { margin-bottom: 7px; gap: 5px; }
  .ecs-smb-home .ecs-photo-ui-top b { font-size: 9px; }
  .ecs-smb-home .ecs-photo-ui-top small { font-size: 7px; }
  .ecs-smb-home .ecs-photo-ui-card strong { font-size: 10px; }
  .ecs-smb-home .ecs-photo-ui-muted { font-size: 7px; }
  .ecs-smb-home .ecs-photo-ui-tag { margin-top: 7px; font-size: 6px; }
  .ecs-smb-home .ecs-photo-chat-bubble { font-size: 8px; padding: 7px; margin-bottom: 7px; }
  .ecs-smb-home .ecs-photo-caption { left: 13px; bottom: 12px; gap: 6px; font-size: 6px; }
  .ecs-smb-home .ecs-benefit-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .ecs-smb-home .ecs-benefit-grid b { font-size: 12px; }
  .ecs-smb-home .ecs-benefit-grid span { font-size: 10.5px; }
  .ecs-smb-home .ecs-ai-showcase,.ecs-smb-home .ecs-smb-services,.ecs-smb-home .ecs-industries,.ecs-smb-home .ecs-products { padding: 62px 0; }
  .ecs-smb-home .ecs-industry-grid-v2 { grid-template-columns: 1fr 1fr; gap: 11px; }
  .ecs-smb-home .ecs-industry-photo { height: 116px; }
  .ecs-smb-home .ecs-industry-content { padding: 13px 12px 15px; }
  .ecs-smb-home .ecs-industry-index { font-size: 7px; }
  .ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card h3 { font-size: 13px; }
  .ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card p { min-height: 94px; font-size: 11px; }
  .ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card a { font-size: 10px; }
}
@media (max-width: 380px) {
  .ecs-smb-home .ecs-industry-grid-v2 { grid-template-columns: 1fr; }
  .ecs-smb-home .ecs-industry-photo { height: 170px; }
  .ecs-smb-home .ecs-industry-grid-v2 .ecs-industry-card p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ecs-smb-home .ecs-industry-card,.ecs-smb-home .ecs-service-card { transition: none; }
  .ecs-smb-home .ecs-industry-card:hover,.ecs-smb-home .ecs-service-card:hover { transform: none; }
}

.site-header {
    background: linear-gradient(180deg,var(--navy) 0%,#0c2039 100%) !important;
}