/* =========================================================
   Estate Mantra — homepage
   ========================================================= */
html { scroll-behavior: smooth; }
body.em-home {
    background: var(--em-paper); color: var(--em-ink); font-family: var(--em-sans);
    font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; margin: 0;
}
.em-home h1, .em-home h2, .em-home h3, .em-home h4 { font-family: var(--em-heading); color: inherit; margin: 0; font-weight: 600; }
.em-home p { margin: 0; }
.em-home a { text-decoration: none; }
.em-home img { max-width: 100%; }
.em-home section[id] { scroll-margin-top: 90px; }

.em-serif { font-family: var(--em-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.em-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--em-sans);
    font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--em-muted);
}
.em-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--em-accent); }
.em-section { padding: 120px 0; }
.em-section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.em-section-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; margin-top: 18px; }
.em-section-head h2 .em-serif { font-size: 1.08em; }
.em-section-head p { color: var(--em-muted); font-size: 17px; max-width: 460px; }
.em-center { text-align: center; }
.em-center .em-section-head { grid-template-columns: 1fr; justify-items: center; }

/* ---------- Reveal ---------- */
.em-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.em-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .em-reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Hero (light, slider) ---------- */
.em-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 480px at 85% 10%, rgba(215,168,90,.16), transparent 60%),
        radial-gradient(700px 420px at 0% 100%, rgba(23,23,23,.04), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f8f7f3 100%);
    border-bottom: 1px solid var(--em-line);
}
.em-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(23,23,23,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,23,23,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.em-hero .em-hero-inner { position: relative; z-index: 2; padding: 80px 24px 36px; }
.em-slides { position: relative; display: grid; }
.em-slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.em-slide.on { opacity: 1; visibility: visible; }
.em-slide .em-copy > * { transform: translateY(14px); opacity: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s ease; }
.em-slide.on .em-copy > * { transform: none; opacity: 1; }
.em-slide.on .em-copy > *:nth-child(2) { transition-delay: .08s; }
.em-slide.on .em-copy > *:nth-child(3) { transition-delay: .16s; }
.em-slide.on .em-copy > *:nth-child(4) { transition-delay: .24s; }
.em-slide.on .em-copy > *:nth-child(5) { transition-delay: .32s; }
.em-slide .em-visual { transform: translateY(18px) scale(.985); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.em-slide.on .em-visual { transform: none; }

.em-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--em-line); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 13px; color: var(--em-ink-2); box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.em-pill b { background: var(--em-ink); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; letter-spacing: .04em; font-weight: 600; }
.em-hero h1, .em-hero .h1-like { font-family: var(--em-heading); font-size: clamp(38px, 4.5vw, 64px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 500; margin-top: 24px; color: var(--em-ink); }
.em-hero h1 .em-serif, .em-hero .h1-like .em-serif { color: var(--em-accent); font-size: 1.06em; }
.em-hero-sub { max-width: 520px; color: var(--em-muted); font-size: 18px; margin-top: 22px; line-height: 1.6; }
.em-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.em-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 14px; color: var(--em-muted); }
.em-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.em-hero-meta i { color: var(--em-accent); font-size: 13px; }

.em-visual { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.em-visual-card { position: relative; background: #fff; border: 1px solid var(--em-line); border-radius: 26px; box-shadow: 0 40px 90px rgba(30,25,15,.12); padding: 26px; width: 100%; max-width: 560px; }
.em-visual-card img { display: block; width: 100%; height: auto; }
.em-visual-card.soft { background: linear-gradient(160deg, #fbf6ec, #f1ebdd); }
.em-visual-card.blend img { mix-blend-mode: multiply; }
.em-visual-card.phone { max-width: 420px; padding: 30px 30px 0; overflow: hidden; display: flex; justify-content: center; background: linear-gradient(160deg, #fbf6ec, #efe7d6); }
.em-visual-card.phone img { width: auto; max-height: 440px; }

.em-float { position: absolute; z-index: 3; background: #fff; color: var(--em-ink); border: 1px solid var(--em-line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(30,25,15,.12); display: flex; gap: 12px; align-items: center; min-width: 230px; animation: emFloat 6s ease-in-out infinite; }
.em-float .ic { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--em-accent-soft); color: var(--em-accent); flex: none; }
.em-float .ic.dark { background: #171717; color: #fff; }
.em-float .ic.green { background: #e8f6ee; color: #1e7a3e; }
.em-float b { display: block; font-family: var(--em-heading); font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.em-float small { display: block; color: var(--em-muted); font-size: 12px; line-height: 1.35; }
.em-float .tag { margin-left: auto; font-size: 11px; font-weight: 600; background: #eaf6ee; color: #1e7a3e; padding: 4px 8px; border-radius: 999px; align-self: flex-start; }
.em-f-tl { left: -26px; top: 26px; }
.em-f-br { right: -18px; bottom: 30px; animation-delay: -3s; }
.em-f-bl { left: -30px; bottom: 60px; animation-delay: -2s; }
@keyframes emFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.em-hero-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--em-line); }
.em-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.em-tab { position: relative; overflow: hidden; background: none; border: 0; padding: 12px 4px 14px; margin-right: 22px; font-family: var(--em-sans); font-size: 14px; font-weight: 500; color: var(--em-muted); cursor: pointer; text-align: left; }
.em-tab span { display: block; font-size: 11px; letter-spacing: .12em; color: #a5a5a0; margin-bottom: 2px; }
.em-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--em-line); }
.em-tab i.bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--em-accent); z-index: 1; }
.em-tab.on { color: var(--em-ink); }
.em-tab.on i.bar { animation: emBar var(--em-dur, 6500ms) linear forwards; }
.em-hero.paused .em-tab.on i.bar { animation-play-state: paused; }
@keyframes emBar { to { width: 100%; } }
.em-arrows { display: flex; gap: 8px; }
.em-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--em-line); background: #fff; color: var(--em-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.em-arrow:hover { background: var(--em-ink); color: #fff; border-color: var(--em-ink); }

/* ---------- Proof / stats ---------- */
.em-proof { padding: 56px 0 24px; }
.em-proof-grid { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--em-line); padding-bottom: 48px; }
.em-proof-label { font-size: 14px; color: var(--em-muted); max-width: 210px; padding-right: 24px; }
.em-stat { padding: 0 28px; border-left: 1px solid var(--em-line); }
.em-stat b { display: block; font-family: var(--em-heading); font-size: clamp(32px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.em-stat b sup { font-size: .5em; color: var(--em-accent); top: -.8em; }
.em-stat span { display: block; margin-top: 10px; color: var(--em-muted); font-size: 14px; }

/* ---------- Sources strip ---------- */
.em-sources { padding: 40px 0 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.em-sources > span { font-size: 13px; color: var(--em-muted); letter-spacing: .04em; }
.em-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.em-chip { font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--em-line); color: var(--em-ink-2); display: inline-flex; gap: 8px; align-items: center; }
.em-chip i { color: var(--em-muted); }

/* ---------- Workspace / pipeline mock ---------- */
.em-board { background: #fff; border: 1px solid var(--em-line); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.06); overflow: hidden; }
.em-board-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--em-line); background: #fafaf8; }
.em-board-top i.dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e2de; display: inline-block; }
.em-board-top .url { margin-left: 14px; font-size: 12.5px; color: var(--em-muted); background: #fff; border: 1px solid var(--em-line); border-radius: 8px; padding: 5px 12px; }
.em-board-body { display: grid; grid-template-columns: 210px 1fr; min-height: 520px; }
.em-side { border-right: 1px solid var(--em-line); padding: 20px 14px; background: #fcfcfb; }
.em-side .who { display: flex; gap: 10px; align-items: center; padding: 6px 8px 18px; }
.em-side .av { width: 34px; height: 34px; border-radius: 50%; background: var(--em-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.em-side .who b { font-size: 13.5px; display: block; line-height: 1.2; }
.em-side .who small { font-size: 12px; color: var(--em-muted); }
.em-side a { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--em-ink-2) !important; padding: 9px 10px; border-radius: 10px; }
.em-side a.on { background: var(--em-soft); color: var(--em-ink) !important; font-weight: 600; }
.em-side a i { width: 16px; color: var(--em-muted); }
.em-main { padding: 24px 26px; overflow: hidden; min-width: 0; }
.em-main-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.em-main-head h4 { font-size: 20px; letter-spacing: -0.02em; }
.em-main-head small { color: var(--em-muted); font-size: 13px; display: block; }
.em-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.em-kpi { border: 1px solid var(--em-line); border-radius: 14px; padding: 14px 16px; }
.em-kpi small { color: var(--em-muted); font-size: 12.5px; }
.em-kpi b { display: block; font-family: var(--em-heading); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.em-kpi em { font-style: normal; font-size: 12px; color: #1e7a3e; }
.em-cols { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 12px; }
.em-col { background: var(--em-soft); border-radius: 14px; padding: 12px; }
.em-col h5 { font-family: var(--em-sans); font-size: 12.5px; font-weight: 600; color: var(--em-ink-2); margin: 2px 4px 10px; display: flex; justify-content: space-between; }
.em-col h5 span { color: var(--em-muted); font-weight: 500; }
.em-lead { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 8px; border: 1px solid #ecece8; transition: transform .2s ease, box-shadow .2s ease; }
.em-lead:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.em-lead b { font-size: 13.5px; display: block; }
.em-lead small { font-size: 12px; color: var(--em-muted); display: block; }
.em-lead .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12px; }
.em-lead .src { padding: 3px 8px; border-radius: 999px; background: var(--em-soft); color: var(--em-ink-2); font-weight: 500; }
.em-lead .amt { font-weight: 700; font-family: var(--em-heading); }
.em-lead.hot { border-color: rgba(184,135,58,.45); box-shadow: 0 0 0 3px rgba(184,135,58,.08); }

.em-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.em-step { display: flex; gap: 14px; }
.em-step b { font-family: var(--em-heading); font-size: 13px; width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--em-line); display: inline-flex; align-items: center; justify-content: center; }
.em-step h4 { font-size: 16px; margin-bottom: 4px; }
.em-step p { font-size: 14.5px; color: var(--em-muted); }

/* ---------- Features ---------- */
.em-features { background: var(--em-soft); }
.em-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #dcdcd7; border-left: 1px solid #dcdcd7; }
.em-feat { padding: 34px 28px 38px; border-right: 1px solid #dcdcd7; border-bottom: 1px solid #dcdcd7; background: transparent; transition: background .25s ease; position: relative; }
.em-feat:hover { background: #fff; }
.em-feat .num { font-family: var(--em-heading); font-size: 13px; color: var(--em-muted); letter-spacing: .04em; }
.em-feat .ico { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--em-line); display: flex; align-items: center; justify-content: center; margin: 26px 0 22px; }
.em-feat .ico img { width: 30px; height: 30px; object-fit: contain; filter: grayscale(1) contrast(1.4) brightness(.7); transition: filter .25s ease; }
.em-feat:hover .ico img { filter: none; }
.em-feat:hover .ico { background: var(--em-accent-soft); border-color: transparent; }
.em-feat h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 10px; }
.em-feat p { font-size: 14.5px; color: var(--em-muted); line-height: 1.6; }

/* ---------- Ecosystem ---------- */
.em-eco { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.em-eco-media { background: linear-gradient(160deg, #f1f1ee, #e8e7e2); border-radius: 28px; padding: 48px 36px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.em-eco-media img { width: 100%; max-width: 560px; mix-blend-mode: multiply; }
.em-eco-media .badge { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 14px; padding: 12px 16px; font-size: 13px; box-shadow: 0 14px 30px rgba(0,0,0,.08); display: flex; gap: 10px; align-items: center; }
.em-eco-media .badge i { color: var(--em-accent); }
.em-eco-list { display: flex; flex-direction: column; }
.em-eco-item { padding: 26px 0; border-bottom: 1px solid var(--em-line); display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.em-eco-item:first-child { border-top: 1px solid var(--em-line); }
.em-eco-item i { width: 48px; height: 48px; border-radius: 50%; background: var(--em-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.em-eco-item h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.em-eco-item p { color: var(--em-muted); font-size: 15px; }

/* ---------- Mobile (light warm) ---------- */
.em-mobile { background: linear-gradient(160deg, #fbf7ef 0%, #f3ecde 100%); color: var(--em-ink); overflow: hidden; border-top: 1px solid #efe5d1; border-bottom: 1px solid #efe5d1; }
.em-mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.em-mobile h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; margin: 20px 0 22px; }
.em-mobile h2 .em-serif { color: var(--em-accent); }
.em-mobile p.lead { color: var(--em-muted); font-size: 17px; max-width: 480px; }
.em-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.em-store { display: inline-flex; align-items: center; gap: 12px; background: var(--em-ink); color: #fff !important; border-radius: 14px; padding: 10px 20px 10px 16px; transition: transform .2s ease, box-shadow .2s ease; }
.em-store:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.em-store i { font-size: 24px; }
.em-store small { display: block; font-size: 11px; line-height: 1; color: rgba(255,255,255,.65); }
.em-store b { display: block; font-size: 16px; line-height: 1.2; font-family: var(--em-heading); }
.em-rating { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 26px; border-top: 1px solid #e7dcc5; }
.em-rating b { font-family: var(--em-heading); font-size: 44px; font-weight: 500; letter-spacing: -0.04em; }
.em-rating .stars { color: var(--em-accent); font-size: 14px; letter-spacing: 2px; }
.em-rating small { display: block; color: var(--em-muted); font-size: 13px; }
.em-phone-wrap { position: relative; display: flex; justify-content: center; }
.em-phone-wrap::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 68%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.em-phone-wrap img { position: relative; max-height: 580px; width: auto; filter: drop-shadow(0 34px 50px rgba(60,45,20,.25)); }
.em-mini { position: absolute; background: #fff; border: 1px solid var(--em-line); border-radius: 14px; padding: 12px 16px; font-size: 13px; color: var(--em-muted); box-shadow: 0 16px 36px rgba(30,25,15,.10); }
.em-mini b { display: block; font-family: var(--em-heading); font-size: 20px; color: var(--em-ink); }
.em-mini-1 { left: 4%; top: 22%; }
.em-mini-2 { right: 4%; bottom: 20%; }

/* ---------- Why us ---------- */
.em-why { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.em-why-sticky { position: sticky; top: 120px; }
.em-why-sticky h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; margin: 18px 0 20px; }
.em-why-sticky p { color: var(--em-muted); font-size: 17px; }
.em-why-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.em-why-nums div { background: var(--em-soft); border-radius: 16px; padding: 18px; }
.em-why-nums b { display: block; font-family: var(--em-heading); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.em-why-nums small { color: var(--em-muted); font-size: 13px; line-height: 1.3; display: block; }
.em-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.em-why-item { border: 1px solid var(--em-line); border-radius: 18px; padding: 22px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.em-why-item:hover { border-color: #cfcfca; transform: translateY(-2px); }
.em-why-item i { color: var(--em-accent); font-size: 18px; }
.em-why-item h4 { font-size: 16.5px; margin: 14px 0 6px; letter-spacing: -0.01em; }
.em-why-item p { color: var(--em-muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Solutions ---------- */
.em-sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.em-sol { border-radius: 24px; padding: 34px 30px; background: #fff; border: 1px solid var(--em-line); display: flex; flex-direction: column; min-height: 360px; }
.em-sol.dark { background: linear-gradient(165deg, #fbf6ec, #f3ead8); border-color: #eadbbd; box-shadow: 0 24px 50px rgba(120,90,30,.10); }
.em-sol .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--em-muted); font-weight: 600; }
.em-sol.dark .k { color: #8a6224; }
.em-sol h3 { font-size: 26px; letter-spacing: -0.03em; font-weight: 500; margin: 18px 0 14px; line-height: 1.15; }
.em-sol p { color: var(--em-muted); font-size: 15px; }

.em-sol ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.em-sol li { display: flex; gap: 10px; }
.em-sol li i { color: var(--em-accent); margin-top: 5px; font-size: 12px; }
.em-sol .em-btn { margin-top: auto; align-self: flex-start; }
.em-sol ul + .em-btn { margin-top: 30px; }

/* ---------- Testimonials (carousel) ---------- */
.em-testi { background: var(--em-soft); overflow: hidden; }
.em-car { position: relative; }
.em-car-track { display: flex; gap: 18px; transition: transform .6s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.em-quote { flex: 0 0 calc((100% - 36px) / 3); box-sizing: border-box; background: #fff; border-radius: 22px; padding: 30px; border: 1px solid #e6e6e1; display: flex; flex-direction: column; }
.em-quote .stars { color: var(--em-accent); font-size: 12px; letter-spacing: 2px; }
.em-quote h4 { font-family: var(--em-serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.15; margin: 14px 0 12px; letter-spacing: -0.01em; }
.em-quote p { color: var(--em-ink-2); font-size: 15px; line-height: 1.65; }
.em-quote .by { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--em-line); }
.em-quote p + .by { margin-top: 22px; }
.em-quote .by span.av { width: 40px; height: 40px; border-radius: 50%; background: var(--em-accent-soft); color: #8a6224; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--em-heading); }
.em-quote .by b { display: block; font-size: 14.5px; }
.em-quote .by small { color: var(--em-muted); font-size: 13px; }
.em-car-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.em-dots { display: flex; gap: 8px; }
.em-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #d3d3cd; padding: 0; cursor: pointer; transition: .3s; }
.em-dots button.on { width: 28px; background: var(--em-ink); }

/* ---------- Plans ---------- */
.em-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
.em-plan { border-radius: 26px; padding: 40px; border: 1px solid var(--em-line); background: #fff; display: flex; flex-direction: column; }
.em-plan.dark { background: #fff; border: 1.5px solid var(--em-ink); box-shadow: 0 30px 60px rgba(0,0,0,.08); position: relative; }
.em-plan .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--em-muted); display: flex; justify-content: space-between; }

.em-plan .k em { font-style: normal; background: var(--em-accent-soft); color: var(--em-accent); padding: 3px 10px; border-radius: 999px; letter-spacing: .06em; }
.em-plan .price { font-family: var(--em-heading); font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 26px 0 6px; }
.em-plan .price small { font-size: 16px; letter-spacing: 0; color: var(--em-muted); font-weight: 500; }
.em-plan.dark .price { font-family: var(--em-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--em-accent-2); }
.em-plan > p { color: var(--em-muted); font-size: 15px; }

.em-plan ul { list-style: none; margin: 28px 0 34px; padding: 26px 0 0; border-top: 1px solid var(--em-line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }

.em-plan li { display: flex; gap: 12px; }
.em-plan li i { color: var(--em-accent); margin-top: 5px; font-size: 13px; }
.em-plan .em-btn { margin-top: auto; }
.em-plan .call { margin-top: 14px; font-size: 14px; color: var(--em-muted); text-align: center; }
.em-plan .call a { color: var(--em-ink) !important; font-weight: 600; }

/* ---------- Tools ---------- */
.em-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.em-tool { border: 1px solid var(--em-line); border-radius: 18px; padding: 22px; background: #fff; color: var(--em-ink) !important; display: flex; flex-direction: column; gap: 26px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; cursor: pointer; text-align: left; font: inherit; }
.em-tool:hover { border-color: var(--em-ink); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.06); }
.em-tool .t { display: flex; justify-content: space-between; align-items: center; }
.em-tool .t i:first-child { width: 42px; height: 42px; border-radius: 12px; background: var(--em-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.em-tool .t i:last-child { color: var(--em-muted); font-size: 13px; transform: rotate(-45deg); transition: transform .2s ease; }
.em-tool:hover .t i:last-child { transform: rotate(-45deg) translateX(3px); color: var(--em-ink); }
.em-tool b { font-family: var(--em-heading); font-size: 16px; display: block; }
.em-tool small { color: var(--em-muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.em-faq { display: grid; grid-template-columns: 300px 1fr; gap: 60px; }
.em-faq-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 120px; align-self: start; }
.em-faq-tabs button { text-align: left; background: none; border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; font-family: var(--em-sans); font-size: 15px; font-weight: 500; color: var(--em-muted); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: .2s; }
.em-faq-tabs button:hover { color: var(--em-ink); }
.em-faq-tabs button.on { background: #fff; border-color: var(--em-line); color: var(--em-ink); box-shadow: 0 8px 20px rgba(0,0,0,.04); }
.em-faq-tabs button span { font-size: 12px; color: var(--em-muted); }
.em-faq-panel { display: none; }
.em-faq-panel.on { display: block; }
.em-faq details { border-bottom: 1px solid var(--em-line); }
.em-faq details:first-child { border-top: 1px solid var(--em-line); }
.em-faq summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--em-heading); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.em-faq summary::-webkit-details-marker { display: none; }
.em-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--em-line); display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 20px; transition: .2s; }
.em-faq details[open] summary::after { content: "–"; background: var(--em-ink); color: #fff; border-color: var(--em-ink); }
.em-faq details p { color: var(--em-muted); padding: 0 60px 24px 0; font-size: 15.5px; line-height: 1.7; }
.em-faq details p a { color: var(--em-accent) !important; text-decoration: underline; }

/* ---------- Clients ---------- */
.em-clients { padding: 70px 0; border-top: 1px solid var(--em-line); }
.em-clients p { text-align: center; color: var(--em-muted); font-size: 14px; margin-bottom: 30px; }
.em-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.em-marquee-track { display: flex; gap: 70px; width: max-content; animation: emMarquee 36s linear infinite; align-items: center; }
.em-marquee-track img { height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; mix-blend-mode: multiply; }
.em-marquee-track img:hover { filter: none; opacity: 1; }
@keyframes emMarquee { to { transform: translateX(-50%); } }

/* ---------- Final CTA (light) ---------- */
.em-wrap.em-cta-outer { padding-bottom: 100px; }
.em-cta { border-radius: 30px; background: linear-gradient(135deg, #fbf6ec 0%, #f2e8d4 100%); border: 1px solid #ebdcbf; color: var(--em-ink); padding: 90px 40px; text-align: center; position: relative; overflow: hidden; }
.em-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(138,98,36,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(138,98,36,.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); }
.em-cta > * { position: relative; }
.em-cta h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; margin: 20px auto 20px; max-width: 860px; }
.em-cta h2 .em-serif { color: var(--em-accent); }
.em-cta p { color: var(--em-muted); font-size: 17px; max-width: 520px; margin: 0 auto; }
.em-cta .em-hero-actions { justify-content: center; }

/* ---------- About ---------- */
.em-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.em-about-media { position: relative; }
.em-about-media .ph { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.3; background: var(--em-soft); }
.em-about-media .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-about-media .cert { position: absolute; right: -22px; bottom: 34px; background: #fff; border: 1px solid var(--em-line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 44px rgba(0,0,0,.10); display: flex; gap: 12px; align-items: center; max-width: 250px; }
.em-about-media .cert i { width: 44px; height: 44px; border-radius: 12px; background: var(--em-accent-soft); color: var(--em-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.em-about-media .cert b { font-family: var(--em-heading); font-size: 14px; display: block; }
.em-about-media .cert small { font-size: 12.5px; color: var(--em-muted); }
.em-about h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; margin: 18px 0 22px; }
.em-about p.lead { color: var(--em-muted); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.em-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.em-values div { border: 1px solid var(--em-line); border-radius: 16px; padding: 18px; background: #fff; }
.em-values i { color: var(--em-accent); }
.em-values b { display: block; font-family: var(--em-heading); font-size: 15.5px; margin: 10px 0 4px; }
.em-values small { color: var(--em-muted); font-size: 13.5px; line-height: 1.5; display: block; }

/* ---------- Contact ---------- */
.em-contact { background: var(--em-soft); }
.em-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.em-cinfo { display: flex; flex-direction: column; gap: 12px; }
.em-ccard { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--em-line); border-radius: 18px; padding: 20px 22px; color: var(--em-ink) !important; transition: border-color .2s ease, transform .2s ease; }
a.em-ccard:hover { border-color: var(--em-ink); transform: translateY(-2px); }
.em-ccard i { width: 44px; height: 44px; border-radius: 12px; background: var(--em-accent-soft); color: var(--em-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.em-ccard small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--em-muted); font-weight: 600; }
.em-ccard b { display: block; font-family: var(--em-heading); font-size: 16.5px; font-weight: 600; margin-top: 3px; line-height: 1.35; }
.em-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--em-line); flex: 1; min-height: 210px; background: #e9e8e3; }
.em-map iframe { width: 100%; height: 100%; min-height: 210px; border: 0; display: block; filter: grayscale(.35); }
.em-cform { background: #fff; border: 1px solid var(--em-line); border-radius: 24px; padding: 36px; box-shadow: 0 30px 70px rgba(0,0,0,.05); }
.em-cform h3 { font-family: var(--em-heading); font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.em-cform > p { color: var(--em-muted); font-size: 15px; margin-bottom: 24px; }
.em-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.em-field select, .em-field textarea { width: 100%; border-radius: 12px; border: 1px solid var(--em-line); background: #fafaf8; padding: 12px 14px; font: inherit; font-size: 15px; box-sizing: border-box; outline: none; transition: .2s; color: var(--em-ink); }
.em-field select { height: 48px; padding: 0 12px; }
.em-field textarea { min-height: 120px; resize: vertical; }
.em-field select:focus, .em-field textarea:focus { border-color: var(--em-ink); background: #fff; }
.em-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.em-consent { font-size: 12.5px; color: var(--em-muted); margin-top: 12px; }
.em-consent a { color: var(--em-ink) !important; text-decoration: underline !important; }
.em-alert { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.em-alert.ok { background: #eaf6ee; color: #1e6b38; border: 1px solid #cde9d6; }
.em-alert.err { background: #fbeceb; color: #9b2c22; border: 1px solid #f2d0cc; }

/* ---------- Policy pages ---------- */
.em-page-hero { background: linear-gradient(180deg, #fff, #f8f7f3); border-bottom: 1px solid var(--em-line); padding: 70px 0 56px; }
.em-crumb { font-size: 13.5px; color: var(--em-muted); margin-bottom: 18px; }
.em-crumb a { color: var(--em-muted) !important; }
.em-crumb a:hover { color: var(--em-ink) !important; }
.em-page-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; }
.em-page-hero p { color: var(--em-muted); font-size: 17px; margin-top: 16px; max-width: 640px; }
.em-legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 60px; padding: 64px 0 100px; align-items: start; }
.em-legal-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 6px; }
.em-legal-nav a { padding: 12px 14px; border-radius: 12px; color: var(--em-muted) !important; font-size: 15px; border: 1px solid transparent; }
.em-legal-nav a:hover { color: var(--em-ink) !important; }
.em-legal-nav a.on { background: #fff; color: var(--em-ink) !important; border-color: var(--em-line); font-weight: 600; }
.em-legal-nav .help { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--em-accent-soft); font-size: 14px; color: var(--em-ink-2); }
.em-legal-nav .help b { display: block; font-family: var(--em-heading); margin-bottom: 6px; }
.em-legal-nav .help a { padding: 0; color: #8a6224 !important; font-weight: 600; }
.em-prose { max-width: 760px; font-size: 16.5px; line-height: 1.8; color: var(--em-ink-2); }
.em-prose h3 { font-family: var(--em-heading); font-size: 22px; letter-spacing: -0.02em; color: var(--em-ink); margin: 40px 0 12px; font-weight: 600; }
.em-prose h3:first-child { margin-top: 0; }
.em-prose p { margin: 0 0 16px; }
.em-prose ul, .em-prose ol { margin: 0 0 18px; padding-left: 22px; }
.em-prose li { margin-bottom: 10px; padding-left: 4px; }
.em-prose li::marker { color: var(--em-accent); }
.em-prose ol > li { margin-bottom: 18px; }
.em-prose ol > li > strong:first-child { display: block; color: var(--em-ink); font-family: var(--em-heading); font-size: 17px; margin-bottom: 4px; }
.em-prose .em-contact-box { margin-top: 40px; padding: 24px; border: 1px solid var(--em-line); border-radius: 18px; background: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14.5px; }
.em-prose .em-contact-box small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--em-muted); font-weight: 600; }
.em-prose .em-contact-box a { color: var(--em-ink) !important; font-weight: 600; }

/* ---------- Brochure modal ---------- */
.em-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(15,15,15,.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 16px; }
.em-modal.show { display: flex; }
.em-modal-box { background: #fff; border-radius: 22px; width: 100%; max-width: 440px; padding: 32px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.em-modal-box h3 { font-family: var(--em-heading); font-size: 24px; letter-spacing: -0.02em; margin: 0 0 6px; }
.em-modal-box > p { color: var(--em-muted); font-size: 14.5px; margin-bottom: 22px; }
.em-modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--em-line); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.em-field { margin-bottom: 14px; }
.em-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.em-field input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--em-line); background: #fafaf8; padding: 0 14px; font: inherit; font-size: 15px; box-sizing: border-box; outline: none; transition: .2s; }
.em-field input:focus { border-color: var(--em-ink); background: #fff; }
.em-modal-box .em-btn { width: 100%; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .em-f-tl { left: 0; } .em-f-br { right: 0; } .em-f-bl { left: 0; }
}
@media (max-width: 1100px) {
    .em-feat-grid { grid-template-columns: repeat(2, 1fr); }
    .em-tools { grid-template-columns: repeat(2, 1fr); }
    .em-cols { grid-template-columns: repeat(4, 190px); }
    .em-main { overflow-x: auto; }
}
@media (max-width: 991px) {
    .em-section { padding: 84px 0; }
    .em-section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
    .em-proof-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
    .em-proof-label { grid-column: 1 / -1; max-width: none; }
    .em-stat:nth-child(2n) { border-left: 0; padding-left: 0; }
    .em-board-body { grid-template-columns: 1fr; }
    .em-side { display: none; }
    .em-kpis { grid-template-columns: repeat(2, 1fr); }
    .em-steps { grid-template-columns: 1fr; }
    .em-eco, .em-mobile-grid, .em-why, .em-faq { grid-template-columns: 1fr; gap: 44px; }
    .em-why-sticky, .em-faq-tabs { position: static; }
    .em-faq-tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
    .em-faq-tabs button { white-space: nowrap; border-color: var(--em-line); }
    .em-faq-tabs button span { display: none; }
    .em-sol-grid { grid-template-columns: 1fr; }
    .em-sol { min-height: 0; }
    .em-plans { grid-template-columns: 1fr; }
    .em-mini { display: none; }
}
@media (max-width: 600px) {
    .em-hero-sub { font-size: 16.5px; }
    .em-hero-actions .em-btn { flex: 1 1 100%; }
    .em-stat { padding: 0 16px; }
    .em-feat-grid { grid-template-columns: 1fr; }
    .em-tools { grid-template-columns: 1fr; }
    .em-why-list { grid-template-columns: 1fr; }
    .em-why-nums { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .em-why-nums div { padding: 14px 12px; }
    .em-why-nums b { font-size: 22px; }
    .em-plan { padding: 30px 24px; }
    .em-faq summary { font-size: 16.5px; }
    .em-faq details p { padding-right: 0; }
    .em-eco-media { padding: 28px 18px; }
    .em-eco-media .badge { display: none; }
    .em-phone-wrap img { max-height: 460px; }
}

/* Guard against Bootstrap reboot link styles loaded by header.php */
.em-home a:hover, .em-home a:focus { text-decoration: none; }
.em-home .em-section-head p a:hover { color: var(--em-accent) !important; }
.em-home button:focus { outline: none; }
.em-home button:focus-visible, .em-home a:focus-visible { outline: 2px solid var(--em-accent); outline-offset: 3px; }
.em-faq > *, .em-why > *, .em-eco > *, .em-mobile-grid > * { min-width: 0; }
.em-faq details p { overflow-wrap: anywhere; }
@media (max-width: 600px) {
    .em-feat { padding: 24px 22px 26px; }
    .em-feat .ico { margin: 14px 0 14px; width: 46px; height: 46px; }
    .em-wa { bottom: 16px; right: 14px; width: 50px; height: 50px; font-size: 24px; }
}

@media (max-width: 991px) {
    .em-hero .em-hero-inner { padding: 44px 20px 28px; }
    .em-slide { grid-template-columns: 1fr; gap: 34px; }
    .em-visual { min-height: 0; }
    .em-float { display: flex; }
    .em-f-tl, .em-f-bl { left: -6px; } .em-f-br { right: -6px; }
    .em-tab { margin-right: 14px; }
    .em-quote { flex-basis: calc((100% - 18px) / 2); }
    .em-about, .em-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .em-about-media .cert { right: 12px; }
    .em-legal-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
    .em-legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .em-legal-nav .help { display: none; }
}
@media (max-width: 600px) {
    .em-hero h1, .em-hero .h1-like { font-family: var(--em-heading); font-size: 38px; }
    .em-visual-card { padding: 14px; border-radius: 20px; }
    .em-visual-card.phone { padding: 20px 20px 0; }
    .em-visual-card.phone img { max-height: 330px; }
    .em-float { min-width: 0; padding: 9px 11px; transform-origin: left; }
    .em-float small { display: none; }
    .em-float .tag { display: none; }
    .em-f-tl { top: -14px; } .em-f-br { bottom: -14px; }
    .em-f-bl { display: none; }
    .em-hero-ctrl { margin-top: 30px; }
    .em-tabs { display: none; }
    .em-hero-ctrl { justify-content: center; }
    .em-quote { flex-basis: 100%; }
    .em-values { grid-template-columns: 1fr; }
    .em-frow { grid-template-columns: 1fr; gap: 0; }
    .em-cform { padding: 24px 20px; }
    .em-cta { padding: 64px 22px; border-radius: 22px; }
    .em-wrap.em-cta-outer { padding-bottom: 70px; }
    .em-prose .em-contact-box { grid-template-columns: 1fr; }
    .em-about-media .cert { position: static; margin-top: -40px; margin-left: 14px; position: relative; }
}
.em-mobile-dots { display: none; }
.em-car { overflow: hidden; margin: -4px; padding: 4px; }
@media (max-width: 600px) {
    .em-tools { grid-template-columns: 1fr 1fr; gap: 10px; }
    .em-tool { padding: 16px; gap: 18px; }
    .em-tool small { font-size: 12.5px; }
}

/* =========================================================
   v3 — Dark hero slider + dark CTA (balanced light/dark)
   ========================================================= */
.em-hero {
    margin: 12px 12px 0; border-radius: 28px; border-bottom: 0; color: #f4f4f2;
    background:
        radial-gradient(800px 460px at 82% 18%, rgba(215,168,90,.22), transparent 62%),
        radial-gradient(600px 400px at 0% 100%, rgba(255,255,255,.05), transparent 60%),
        #131313;
}
.em-hero::before {
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
}
.em-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: url('../images/em-skyline.svg') right bottom / cover no-repeat; opacity: .35;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.em-hero h1, .em-hero .h1-like { color: #f7f7f5; }
.em-hero h1 .em-serif, .em-hero .h1-like .em-serif { color: var(--em-accent-2); }
.em-hero-sub { color: rgba(255,255,255,.68); }
.em-hero-meta { color: rgba(255,255,255,.6); }
.em-hero-meta i { color: var(--em-accent-2); }
.em-pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); box-shadow: none; }
.em-pill b { background: var(--em-accent); color: #fff; }
.em-visual-card { border-color: rgba(255,255,255,.08); box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.em-float { border-color: transparent; box-shadow: 0 20px 44px rgba(0,0,0,.45); }
.em-hero-ctrl { border-top-color: rgba(255,255,255,.1); }
.em-tab { color: rgba(255,255,255,.5); }
.em-tab span { color: rgba(255,255,255,.35); }
.em-tab::after { background: rgba(255,255,255,.12); }
.em-tab.on { color: #fff; }
.em-tab i.bar { background: var(--em-accent-2); }
.em-arrow { background: transparent; color: #fff; border-color: rgba(255,255,255,.2); }
.em-arrow:hover { background: #fff; color: var(--em-ink); border-color: #fff; }
.em-car-ctrl .em-arrow { background: #fff; color: var(--em-ink); border-color: var(--em-line); }
.em-car-ctrl .em-arrow:hover { background: var(--em-ink); color: #fff; border-color: var(--em-ink); }

.em-cta { background: #131313; border-color: #131313; color: #fff; }
.em-cta::before { background: url('../images/em-skyline.svg') center bottom / cover no-repeat; opacity: .5; -webkit-mask-image: none; mask-image: none; }
.em-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(215,168,90,.22), transparent 65%); pointer-events: none; }
.em-cta .em-eyebrow { color: rgba(255,255,255,.55); }
.em-cta h2 .em-serif { color: var(--em-accent-2); }
.em-cta p { color: rgba(255,255,255,.66); }

/* Stats band: dark strip for rhythm */
.em-proof-grid .em-stat b sup { color: var(--em-accent); }

@media (max-width: 600px) {
    .em-hero { margin: 8px 8px 0; border-radius: 22px; }
    .em-hero::after { opacity: .2; }
}

/* v4 — softer, lighter charcoal (not pure black) */
.em-hero {
    background:
        radial-gradient(900px 520px at 85% 15%, rgba(225,182,110,.30), transparent 62%),
        radial-gradient(700px 460px at 0% 100%, rgba(255,255,255,.08), transparent 60%),
        linear-gradient(135deg, #2e2b27 0%, #38332c 55%, #453d31 100%);
}
.em-hero::before { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); }
.em-hero::after { opacity: .18; }
.em-hero-sub { color: rgba(255,255,255,.76); }
.em-hero-meta { color: rgba(255,255,255,.7); }
.em-visual-card { box-shadow: 0 34px 80px rgba(0,0,0,.32); }
.em-cta {
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(225,182,110,.30), transparent 65%),
        linear-gradient(135deg, #2e2b27 0%, #3d372e 100%);
    border-color: #3a342c;
}
.em-cta::before { opacity: .2; }
.em-cta::after { display: none; }
.em-cta p { color: rgba(255,255,255,.75); }

/* v5 — full-width black hero (no side margin) */
.em-hero {
    margin: 0; border-radius: 0;
    background:
        radial-gradient(900px 520px at 85% 12%, rgba(215,168,90,.18), transparent 62%),
        radial-gradient(700px 460px at 0% 100%, rgba(255,255,255,.04), transparent 60%),
        linear-gradient(180deg, #161616 0%, #111111 100%);
}
.em-hero::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
.em-hero::after { opacity: .3; }
.em-cta {
    background: radial-gradient(700px 360px at 50% 0%, rgba(215,168,90,.2), transparent 65%), #151515;
    border-color: #151515;
}
.em-cta::before { opacity: .35; }
@media (max-width: 600px) { .em-hero { margin: 0; border-radius: 0; } }

/* v6 — About visual */
.em-about-media .ph { aspect-ratio: 5 / 4; box-shadow: 0 30px 70px rgba(0,0,0,.12); }
.em-about-media .badge2 { position: absolute; left: -22px; top: 30px; background: #151515; color: #fff; border-radius: 18px; padding: 14px 18px 14px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 20px 44px rgba(0,0,0,.25); max-width: 290px; }
.em-about-media .badge2 img { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.em-about-media .badge2 b { display: block; font-family: var(--em-heading); font-size: 14px; }
.em-about-media .badge2 small { color: rgba(255,255,255,.62); font-size: 12.5px; line-height: 1.35; display: block; }
@media (max-width: 991px) { .em-about-media .badge2 { left: 12px; } }
@media (max-width: 600px) { .em-about-media .badge2 { position: relative; left: auto; top: auto; margin: -36px 14px 0; } }

/* v7 — LMS + SMS products */
.em-anchor { position: absolute; margin-top: -90px; }
.em-prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.em-prod { background: #fff; border: 1px solid var(--em-line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(0,0,0,.05); }
.em-prod.dark { background: radial-gradient(600px 300px at 90% 0%, rgba(215,168,90,.16), transparent 60%), #151515; color: #f4f4f2; border-color: #151515; }
.em-prod-top { display: flex; gap: 14px; align-items: center; }
.em-prod-tag { width: 54px; height: 54px; border-radius: 16px; background: var(--em-accent-soft); color: #8a6224; display: inline-flex; align-items: center; justify-content: center; font-family: var(--em-heading); font-weight: 800; font-size: 15px; letter-spacing: .04em; flex: none; }
.em-prod.dark .em-prod-tag { background: var(--em-accent); color: #fff; }
.em-prod-top h3 { font-size: 24px; letter-spacing: -0.03em; font-weight: 600; }
.em-prod.dark .em-prod-top h3 { color: #fff; }
.em-prod-top small { color: var(--em-muted); font-size: 13px; }
.em-prod.dark .em-prod-top small { color: rgba(255,255,255,.55); }
.em-prod-desc { color: var(--em-muted); font-size: 15.5px; margin: 16px 0 20px !important; }
.em-prod.dark .em-prod-desc { color: rgba(255,255,255,.68); }
.em-shot { margin: 0 0 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--em-line); background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.em-prod.dark .em-shot { border-color: rgba(255,255,255,.1); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.em-shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f6f5f1; border-bottom: 1px solid var(--em-line); }
.em-shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdcd6; display: inline-block; }
.em-shot-bar span { margin-left: 10px; font-size: 11.5px; color: var(--em-muted); background: #fff; border: 1px solid var(--em-line); border-radius: 6px; padding: 3px 10px; }
.em-shot img { display: block; width: 100%; height: auto; }
.em-prod-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14.5px; }
.em-prod-list li { display: flex; gap: 9px; line-height: 1.45; color: var(--em-ink-2); }
.em-prod.dark .em-prod-list li { color: rgba(255,255,255,.82); }
.em-prod-list i { color: var(--em-accent); font-size: 12px; margin-top: 4px; }
.em-prod.dark .em-prod-list i { color: var(--em-accent-2); }
.em-prod-cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* hero screenshot cards */
.em-visual-card.em-hero-shot { padding: 0; overflow: hidden; max-width: 600px; background: #fff; }
.em-visual-card.em-hero-shot img { width: 100%; }

/* SMS flow */
.em-smsflow { background: #fff; border-top: 1px solid var(--em-line); }
.em-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: s; }
.em-flow-step { position: relative; background: var(--em-paper); border: 1px solid var(--em-line); border-radius: 20px; padding: 22px 18px; transition: border-color .2s, transform .2s; }
.em-flow-step:hover { border-color: var(--em-ink); transform: translateY(-2px); }
.em-flow-step .n { position: absolute; top: 16px; right: 16px; font-family: var(--em-heading); font-size: 12px; color: var(--em-muted); }
.em-flow-step i { width: 44px; height: 44px; border-radius: 12px; background: #151515; color: var(--em-accent-2); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.em-flow-step h4 { font-size: 16px; margin: 16px 0 6px; letter-spacing: -0.01em; }
.em-flow-step p { color: var(--em-muted); font-size: 13.5px; line-height: 1.5; }
.em-flow-step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 42px; width: 6px; height: 6px; border-top: 2px solid #c9c9c2; border-right: 2px solid #c9c9c2; transform: rotate(45deg); z-index: 1; }

@media (max-width: 1100px) { .em-flow { grid-template-columns: repeat(3, 1fr); } .em-flow-step::after { display: none; } }
@media (max-width: 991px) { .em-prod-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .em-prod { padding: 22px 18px; border-radius: 22px; }
    .em-prod-list { grid-template-columns: 1fr; }
    .em-flow { grid-template-columns: 1fr 1fr; gap: 10px; }
    .em-flow-step { padding: 18px 14px; }
}

/* v8 — tighter vertical rhythm */
.em-section { padding: 84px 0; }
.em-section-head { margin-bottom: 44px; }
.em-proof { padding: 44px 0 8px; }
@media (max-width: 991px) { .em-section { padding: 64px 0; } .em-section-head { margin-bottom: 32px; } }
@media (max-width: 600px) { .em-section { padding: 52px 0; } }

/* v8 — screenshots in the dark hero: dark frame, no white surround */
.em-visual-card.em-hero-shot { background: #1b1b1b; border-color: #2b2b2b; border-radius: 18px; }
.em-hero .em-shot-bar { background: #1b1b1b; border-bottom-color: #2b2b2b; }
.em-hero .em-shot-bar i { background: #3a3a3a; }
.em-hero .em-shot-bar span { background: #242424; border-color: #333; color: rgba(255,255,255,.55); }
.em-visual-card.em-hero-shot img { display: block; }
/* product cards: tighter frame */
.em-shot { border-radius: 14px; }
.em-prod.dark .em-shot { background: #1b1b1b; }
.em-prod.dark .em-shot-bar { background: #1b1b1b; border-bottom-color: #2b2b2b; }
.em-prod.dark .em-shot-bar i { background: #3a3a3a; }
.em-prod.dark .em-shot-bar span { background: #242424; border-color: #333; color: rgba(255,255,255,.55); }

/* v9 — free plan condition */
.em-plan .price .em-star { font-size: .45em; color: var(--em-accent); top: -1em; margin-left: 2px; }
.em-plan-note { text-align: center; color: var(--em-muted); font-size: 13px; margin: 22px auto 0 !important; max-width: 760px; line-height: 1.6; }
.em-plan-note a { color: var(--em-ink) !important; text-decoration: underline !important; }

/* v9 — inventory highlight */
.em-inv { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; background: radial-gradient(700px 360px at 100% 0%, rgba(215,168,90,.16), transparent 60%), #151515; color: #f4f4f2; border-radius: 28px; padding: 44px; }
.em-inv-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--em-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.em-inv-badge i { font-size: 11px; }
.em-inv h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; color: #fff; margin: 18px 0 14px; }
.em-inv h3 .em-serif { color: var(--em-accent-2); }
.em-inv-copy > p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.65; margin-bottom: 18px !important; }
.em-inv ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.em-inv li { display: flex; gap: 9px; line-height: 1.45; }
.em-inv li i { color: var(--em-accent-2); font-size: 12px; margin-top: 4px; }
.em-inv-card { background: #fff; color: var(--em-ink); border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.em-inv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.em-inv-head b { font-family: var(--em-heading); font-size: 17px; display: block; }
.em-inv-head small { color: var(--em-muted); font-size: 12.5px; }
.em-inv-btn { background: var(--em-ink); color: #fff; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 8px 14px; display: inline-flex; gap: 6px; align-items: center; }
.em-inv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.em-inv-stats div { border: 1px solid var(--em-line); border-radius: 12px; padding: 10px 12px; }
.em-inv-stats small { display: block; font-size: 11.5px; color: var(--em-muted); }
.em-inv-stats b { font-family: var(--em-heading); font-size: 22px; font-weight: 700; }
.em-inv-stats b.g { color: #1e7a3e; } .em-inv-stats b.o { color: #b8873a; } .em-inv-stats b.r { color: #171717; }
.em-inv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.em-inv-grid .u { border-radius: 9px; padding: 11px 0; text-align: center; font-family: var(--em-heading); font-size: 12.5px; font-weight: 700; transition: transform .15s; cursor: default; }
.em-inv-grid .u:hover { transform: translateY(-2px); }
.em-inv-grid .u.a { background: #eaf6ee; color: #1e6b38; border: 1px solid #cde9d6; }
.em-inv-grid .u.h { background: #f6efe2; color: #8a6224; border: 1px solid #ecdcbc; }
.em-inv-grid .u.b { background: #171717; color: #fff; border: 1px solid #171717; }
.em-inv-legend { display: flex; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--em-muted); }
.em-inv-legend span { display: inline-flex; align-items: center; gap: 6px; }
.em-inv-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.em-inv-legend i.a { background: #cde9d6; } .em-inv-legend i.h { background: #ecdcbc; } .em-inv-legend i.b { background: #171717; }
.em-prod-list li.hl { grid-column: 1 / -1; background: rgba(215,168,90,.14); border: 1px solid rgba(215,168,90,.35); border-radius: 12px; padding: 10px 12px; }
.em-prod-list li.hl b { color: #fff; }
@media (max-width: 991px) { .em-inv { grid-template-columns: 1fr; gap: 30px; padding: 30px; } }
@media (max-width: 600px) {
    .em-inv { padding: 24px 18px; border-radius: 22px; }
    .em-inv ul { grid-template-columns: 1fr; }
    .em-inv-card { padding: 16px; }
    .em-inv-stats { grid-template-columns: repeat(2, 1fr); }
    .em-inv-grid { gap: 5px; } .em-inv-grid .u { padding: 9px 0; font-size: 11px; }
}

/* v10 — bigger, more attractive dashboard shots in hero */
.em-slide .em-visual { perspective: 1800px; }
.em-slide .em-visual .em-visual-card.em-hero-shot {
    width: 124%; max-width: none; margin-right: -24%;
    transform: rotateY(-9deg) rotateX(3deg) translateZ(0); transform-origin: left center;
    border-radius: 16px; box-shadow: 0 50px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06), 0 0 80px rgba(215,168,90,.18);
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.em-slide.on .em-visual .em-visual-card.em-hero-shot:hover { transform: rotateY(-4deg) rotateX(1deg); }
.em-slide .em-visual::before { content: ""; position: absolute; width: 70%; height: 70%; right: -10%; top: 15%; background: radial-gradient(circle, rgba(215,168,90,.28), transparent 65%); filter: blur(10px); pointer-events: none; }
.em-slide .em-visual .em-hero-shot ~ .em-f-br { right: -40px; bottom: 6px; }
.em-slide .em-visual .em-hero-shot ~ .em-f-tl { left: -30px; top: 6px; }
@media (max-width: 1200px) {
    .em-slide .em-visual .em-visual-card.em-hero-shot { width: 112%; margin-right: -12%; }
}
@media (max-width: 991px) {
    .em-slide .em-visual .em-visual-card.em-hero-shot { width: 100%; margin-right: 0; transform: none; }
    .em-slide .em-visual .em-hero-shot ~ .em-f-br { right: -6px; bottom: -14px; }
    .em-slide .em-visual .em-hero-shot ~ .em-f-tl { left: -6px; top: -14px; }
}
/* desktop mockup with real LMS screen */
.em-eco-media img.em-mon { mix-blend-mode: normal; max-width: 600px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.em-slide .em-visual .em-visual-card.em-hero-shot { width: 116%; margin-right: -16%; }
@media (max-width: 1200px) { .em-slide .em-visual .em-visual-card.em-hero-shot { width: 108%; margin-right: -8%; } }
@media (max-width: 991px) { .em-slide .em-visual .em-visual-card.em-hero-shot { width: 100%; margin-right: 0; } }

/* v11 — back to original size, no 3D tilt (keeps screenshots sharp) */
.em-slide .em-visual { perspective: none; }
.em-slide .em-visual .em-visual-card.em-hero-shot,
.em-slide.on .em-visual .em-visual-card.em-hero-shot:hover {
    width: 100%; max-width: 600px; margin-right: 0; transform: none; transition: none;
    box-shadow: 0 34px 80px rgba(0,0,0,.32);
}
.em-slide .em-visual::before { display: none; }
.em-slide .em-visual .em-hero-shot ~ .em-f-br { right: -18px; bottom: 30px; }
.em-slide .em-visual .em-hero-shot ~ .em-f-tl { left: -26px; top: 26px; }
.em-visual-card.em-hero-shot img { image-rendering: auto; }
@media (max-width: 1200px) { .em-slide .em-visual .em-visual-card.em-hero-shot { width: 100%; margin-right: 0; } }
@media (max-width: 991px) {
    .em-slide .em-visual .em-hero-shot ~ .em-f-br { right: -6px; bottom: -14px; }
    .em-slide .em-visual .em-hero-shot ~ .em-f-tl { left: -6px; top: -14px; }
}
