/* EVO Control public homepage. Palette follows evohse.com. */
:root {
    --eh-deep:   #003048;
    --eh-night:  #040922;
    --eh-teal:   #005f71;
    --eh-teal-2: #018b9e;
    --eh-mint:   #e6f0f2;
    --eh-amber:  #f5a320;
    --eh-green:  #65bc7b;
    --eh-ink:    #212934;
    --eh-muted:  #5b6675;
    --eh-line:   #dfe7ea;
    --eh-radius: 14px;
    --eh-wrap:   1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.evo-home {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--eh-ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.evo-home img { max-width: 100%; height: auto; display: block; }
.evo-home a { color: inherit; }
.evo-home h1, .evo-home h2, .evo-home h3 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; }
.evo-home p { margin: 0; }
.evo-home :focus-visible { outline: 3px solid var(--eh-amber); outline-offset: 3px; border-radius: 6px; }

.eh-wrap { width: 100%; max-width: var(--eh-wrap); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.eh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.eh-btn:hover { transform: translateY(-1px); }
.eh-btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.eh-btn--primary { background: var(--eh-teal); color: #fff !important; }
.eh-btn--primary:hover { background: var(--eh-deep); }
.eh-btn--amber { background: var(--eh-amber); color: var(--eh-night) !important; box-shadow: 0 8px 22px rgba(245,163,32,.35); }
.eh-btn--amber:hover { box-shadow: 0 10px 26px rgba(245,163,32,.45); }
.eh-btn--ghost { border-color: rgba(255,255,255,.55); color: #fff !important; }
.eh-btn--ghost:hover { background: rgba(255,255,255,.1); }
.eh-btn--light { background: #fff; color: var(--eh-deep) !important; }

/* Header */
.eh-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--eh-line);
}
.eh-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.eh-brand img { height: 44px; width: auto; }
.eh-menu-btn {
    display: none; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--eh-line); background: #fff; color: var(--eh-deep); font-size: 1.15rem; cursor: pointer;
}
.eh-nav { display: flex; align-items: center; gap: 28px; }
.eh-nav > a:not(.eh-btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--eh-ink); }
.eh-nav > a:not(.eh-btn):hover { color: var(--eh-teal); }

/* Hero */
.eh-hero {
    background:
        radial-gradient(900px 500px at 90% -10%, rgba(1,139,158,.45), transparent 60%),
        linear-gradient(160deg, var(--eh-deep) 0%, var(--eh-night) 100%);
    color: #fff; padding: 84px 0 96px; overflow: hidden;
}
.eh-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eh-eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--eh-teal-2); margin-bottom: 14px;
}
.eh-hero .eh-eyebrow { color: var(--eh-amber); }
.eh-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.eh-lead { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 34em; }
.eh-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.eh-fine { margin-top: 22px; font-size: .9rem; color: rgba(255,255,255,.7); }
.eh-fine i { color: var(--eh-green); margin-right: 6px; }

/* Hero mock dashboard */
.eh-mock {
    background: #fff; color: var(--eh-ink); border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0,0,0,.35); overflow: hidden;
    transform: rotate(-1.2deg);
}
.eh-mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--eh-mint); border-bottom: 1px solid var(--eh-line); }
.eh-dot { width: 10px; height: 10px; border-radius: 50%; background: #c9d5da; }
.eh-mock__title { margin-left: 8px; font-size: .82rem; font-weight: 700; color: var(--eh-teal); }
.eh-mock__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--eh-line); }
.eh-mock__stats div { background: #fff; padding: 16px 12px; text-align: center; }
.eh-mock__stats b { display: block; font-size: 1.55rem; font-weight: 800; color: var(--eh-deep); }
.eh-mock__stats small { font-size: .8rem; color: var(--eh-muted); font-weight: 600; }
.eh-mock__stats span { font-size: .72rem; color: var(--eh-muted); font-weight: 600; }
.eh-mock__list { list-style: none; margin: 0; padding: 8px 16px 14px; }
.eh-mock__list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--eh-line); font-size: .86rem; font-weight: 500; }
.eh-mock__list li:last-child { border-bottom: 0; }
.eh-mock__list i { width: 18px; color: var(--eh-teal-2); text-align: center; }
.eh-mock__list em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; white-space: nowrap; }
.eh-mock__list em.ok   { background: #e5f5ea; color: #2c7a45; }
.eh-mock__list em.wait { background: #fff2dc; color: #9a5d00; }
.eh-mock__list em.due  { background: #e3f1f4; color: var(--eh-teal); }

/* Sections */
.eh-section { padding: 96px 0; }
.eh-section--tint { background: var(--eh-mint); }
.eh-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eh-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; color: var(--eh-deep); }
.eh-head p { margin-top: 14px; color: var(--eh-muted); font-size: 1.08rem; }

/* Module grid */
.eh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eh-card {
    background: #fff; border: 1px solid var(--eh-line); border-radius: var(--eh-radius);
    padding: 24px 22px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.eh-card:hover { transform: translateY(-3px); border-color: rgba(1,139,158,.35); box-shadow: 0 14px 34px rgba(0,48,72,.1); }
.eh-card__icon {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 12px; background: var(--eh-mint); color: var(--eh-teal); font-size: 1.15rem; margin-bottom: 16px;
}
.eh-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--eh-deep); }
.eh-card p { margin-top: 8px; font-size: .93rem; color: var(--eh-muted); }

/* Steps */
.eh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.eh-steps li { background: #fff; border-radius: var(--eh-radius); padding: 30px 26px; border: 1px solid var(--eh-line); }
.eh-step__num {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--eh-amber); color: var(--eh-night); font-weight: 800; margin-bottom: 16px;
}
.eh-steps h3 { font-size: 1.2rem; font-weight: 800; color: var(--eh-deep); }
.eh-steps p { margin-top: 10px; color: var(--eh-muted); }

/* Platform */
.eh-platform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eh-prod {
    display: block; text-decoration: none; padding: 30px 26px; border-radius: var(--eh-radius);
    border: 1px solid var(--eh-line); background: #fff; transition: box-shadow .2s ease, transform .2s ease;
}
a.eh-prod:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,48,72,.1); }
.eh-prod > i { font-size: 1.6rem; color: var(--eh-teal-2); }
.eh-prod h3 { margin-top: 14px; font-size: 1.3rem; font-weight: 800; color: var(--eh-deep); }
.eh-prod p { margin-top: 8px; color: var(--eh-muted); }
.eh-prod span { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 700; color: var(--eh-teal); }
.eh-prod--here { background: linear-gradient(160deg, var(--eh-deep), var(--eh-teal)); border-color: transparent; }
.eh-prod--here > i, .eh-prod--here h3 { color: #fff; }
.eh-prod--here p { color: rgba(255,255,255,.82); }
.eh-here { background: var(--eh-amber); color: var(--eh-night) !important; padding: .3em .85em; border-radius: 999px; font-size: .8rem; }

/* CTA band */
.eh-band { background: linear-gradient(120deg, var(--eh-teal) 0%, var(--eh-deep) 100%); color: #fff; padding: 64px 0; }
.eh-band__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.eh-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; }
.eh-band p { margin-top: 8px; color: rgba(255,255,255,.82); }
.eh-band .eh-cta { margin-top: 0; }

/* Footer */
.eh-footer { background: var(--eh-night); color: rgba(255,255,255,.7); padding: 48px 0 28px; }
.eh-footer__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.eh-footer__brand img { height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; }
.eh-footer__brand p { margin-top: 12px; max-width: 26em; font-size: .92rem; }
.eh-footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.eh-footer__links a { text-decoration: none; font-weight: 600; color: #fff; font-size: .95rem; }
.eh-footer__links a:hover { color: var(--eh-amber); }
.eh-footer__legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Tablet */
@media (max-width: 1024px) {
    .eh-grid { grid-template-columns: repeat(3, 1fr); }
    .eh-hero__grid { gap: 40px; }
}

/* Small tablet / large phone */
@media (max-width: 860px) {
    .eh-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .eh-nav {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
        background: #fff; border-bottom: 1px solid var(--eh-line); box-shadow: 0 16px 30px rgba(0,0,0,.08);
    }
    .eh-nav.is-open { display: flex; }
    .eh-nav > a:not(.eh-btn) { padding: 14px 4px; border-bottom: 1px solid var(--eh-line); }
    .eh-nav .eh-btn { margin-top: 14px; }
    .eh-hero { padding: 56px 0 64px; }
    .eh-hero__grid { grid-template-columns: 1fr; }
    .eh-mock { transform: none; }
    .eh-grid { grid-template-columns: repeat(2, 1fr); }
    .eh-steps, .eh-platform { grid-template-columns: 1fr; }
    .eh-section { padding: 68px 0; }
    .eh-band__row { flex-direction: column; align-items: flex-start; }
}

/* Phone */
@media (max-width: 520px) {
    .eh-wrap { padding: 0 16px; }
    .eh-brand img { height: 38px; }
    .eh-grid { grid-template-columns: 1fr; }
    .eh-cta { flex-direction: column; align-items: stretch; }
    .eh-mock__stats { grid-template-columns: repeat(2, 1fr); }
    .eh-mock__list li { flex-wrap: wrap; }
    .eh-mock__list em { margin-left: 28px; }
    .eh-head { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .eh-btn, .eh-card, .eh-prod { transition: none; }
}
