html {
  font-size: 16px;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f5ee;
  color: #1e2b1f;
}

a { text-decoration: none; }

.ev-navbar {
  background: linear-gradient(90deg, #1f4d2c 0%, #355f2d 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.brand-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.brand-text {
    font-weight: 800;
    letter-spacing: .04em;
    font-size: 2.22rem;
}
.brand-text small { display: block; font-size: .88rem; font-weight: 500; opacity: .85; letter-spacing: .02em; }

.navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,.92); font-weight: 600; }
.navbar-dark .navbar-nav .nav-link:hover { color: #fff; }
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .show > .nav-link { color: #fff; }

.language-switcher {
  position: relative;
}

.language-switcher .dropdown {
  min-width: 102px;
}

.language-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 999px;
  padding: .58rem .95rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.language-switcher-toggle::after {
  margin-left: .15rem;
}

.language-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,.14);
}

.language-switcher-menu {
  min-width: 7rem;
  padding: .45rem;
  border-radius: 16px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  font-weight: 700;
  border-radius: 12px;
  padding: .6rem .75rem;
}

.language-switcher-dark .language-switcher-toggle {
  background-color: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
}

.language-switcher-dark .language-switcher-toggle:hover,
.language-switcher-dark .language-switcher-toggle:focus {
  background-color: rgba(255,255,255,.16);
  color: #fff;
}

.language-switcher-light .language-switcher-toggle {
  background-color: #fff;
  color: #355f2d;
  border: 1px solid rgba(53,95,45,.18);
}

.language-switcher-light .language-switcher-toggle:hover,
.language-switcher-light .language-switcher-toggle:focus {
  background-color: #fff;
  color: #355f2d;
}

.language-switcher-dark .dropdown-menu {
  border: 1px solid rgba(255,255,255,.14);
}

.language-switcher-light .dropdown-menu {
  border: 1px solid rgba(53,95,45,.12);
}

.language-switcher .dropdown-item.active,
.language-switcher .dropdown-item:active {
  background: rgba(53,95,45,.10);
  color: #17351e;
}

.dropdown-menu {
  border: 1px solid rgba(53,95,45,.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(21, 41, 20, 0.12);
  padding: .45rem;
}

.dropdown-item {
  border-radius: 12px;
  font-weight: 600;
  padding: .65rem .9rem;
}

.dropdown-item.active, .dropdown-item:active {
  background: #355f2d;
}

.btn-evinsis {
  background: #f0b83a;
  color: #17351e;
  border-radius: 999px;
  font-weight: 700;
  padding: .7rem 1.1rem;
}
.btn-evinsis:hover { background: #f6c553; color: #17351e; }

.btn-outline-evinsis {
  border: 2px solid #355f2d;
  color: #355f2d;
  border-radius: 999px;
  font-weight: 700;
  padding: .7rem 1.1rem;
}

.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top right, rgba(240,184,58,.22), transparent 22%), linear-gradient(180deg, #fffef9 0%, #f7f5ee 100%);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
}
.hero p.lead { font-size: 1.18rem; color: #4b5b4c; }

.section { padding: 4.5rem 0; }
.section-alt { background: #f0ede2; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: #7c6b38;
  font-weight: 800;
}

.feature-card,
.metric-card,
.panel-card,
.contact-card,
.brand-highlight-card,
.sector-card,
.sector-summary-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(21, 41, 20, 0.08);
  border: 1px solid rgba(53,95,45,.08);
  padding: 1.5rem;
  height: 100%;
}

.feature-card h3, .metric-card h3, .panel-card h3, .contact-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.brand-highlight-card {
  background: linear-gradient(135deg, rgba(53,95,45,.08) 0%, rgba(240,184,58,.12) 100%);
  border: 1px solid rgba(53,95,45,.12);
}

.brand-highlight-card h3 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 900;
  color: #1f4d2c;
}

.brand-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .75rem;
}

.sector-card {
  display: block;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sector-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(21, 41, 20, 0.13);
  border-color: rgba(53,95,45,.2);
}

.sector-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.sector-card p {
  color: #4b5b4c;
  margin: .75rem 0 1.1rem;
}

.sector-pill {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(53,95,45,.1);
  color: #355f2d;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sector-feature-card { min-height: 100%; }

.sector-hero {
  background: radial-gradient(circle at top left, rgba(240,184,58,.18), transparent 26%), linear-gradient(180deg, #fffef9 0%, #f7f5ee 100%);
}

.sector-summary-card {
  display: grid;
  gap: .9rem;
  background: linear-gradient(135deg, #355f2d 0%, #1f4d2c 100%);
  color: #eff7ed;
}

.sector-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sector-summary-row:last-child { border-bottom: 0; }

.sector-summary-value {
  font-size: 1.4rem;
  font-weight: 900;
}

.feature-visual {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1rem;
  background: #f5f2e8;
  border: 1px solid rgba(53,95,45,.08);
}

.metric-number { font-size: 2.2rem; font-weight: 900; color: #355f2d; }

.logo-hero {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(21, 41, 20, 0.09);
}

.platform-hero-card {
  background: #fff;
  border-radius: 30px;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(21, 41, 20, 0.08);
  border: 1px solid rgba(53,95,45,.08);
}
.platform-visual {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.dashboard-shell {
  background: #14311e;
  border-radius: 28px;
  padding: 1.25rem;
  color: #edf5eb;
}

.dashboard-top, .dashboard-grid { display: grid; gap: 1rem; }
.dashboard-top { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 1rem; }
.dashboard-grid { grid-template-columns: 1.2fr .8fr; }

.dashboard-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 1rem;
}

.bar-chart {
  display: flex;
  gap: .8rem;
  align-items: flex-end;
  min-height: 190px;
  padding-top: 1rem;
}
.bar {
  flex: 1;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #f0b83a 0%, #7ba05b 100%);
  position: relative;
}
.bar span {
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  color: #e6efe4;
  font-size: .8rem;
}

.metric-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}

.status-pill {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(46,125,50,.25);
  font-size: .85rem;
  font-weight: 700;
}
.status-pill.alert { background: rgba(240,184,58,.24); }

.soft-label {
  padding: .32rem .68rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .8rem;
  color: #dce8da;
}

.action-list li + li { margin-top: .65rem; }

.plot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.plot-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  gap: .45rem;
}
.plot-card small { color: rgba(237,245,235,.88); }

.mini-state {
  display: inline-block;
  width: fit-content;
  font-size: .78rem;
  font-weight: 800;
  padding: .25rem .55rem;
  border-radius: 999px;
}
.mini-state.ok { background: rgba(34,197,94,.18); color: #b4f7c5; }
.mini-state.warn { background: rgba(240,184,58,.22); color: #ffe8a8; }

.mobile-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.25rem;
}
.phone-frame {
  background: #1a1f1a;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(21,41,20,.16);
}
.phone-screen {
  background: linear-gradient(180deg, #fefcf4 0%, #f4efe2 100%);
  border-radius: 26px;
  padding: 1rem;
  min-height: 560px;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 1rem;
  color: #365a33;
}
.phone-card {
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(53,95,45,.08);
  border-radius: 18px;
  padding: .9rem;
  margin-bottom: .9rem;
  box-shadow: 0 10px 24px rgba(21,41,20,.05);
}
.phone-card.accent {
  background: linear-gradient(135deg, #355f2d 0%, #264e2a 100%);
  color: #fff;
}
.phone-card.accent p, .phone-card.accent small { color: rgba(255,255,255,.9); }
.phone-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(53,95,45,.08);
}
.phone-line:last-child { border-bottom: 0; }
.phone-list { margin: .6rem 0 0; padding-left: 1rem; }
.phone-list li + li { margin-top: .45rem; }

.contact-form .form-control, .contact-form .form-select {
  border-radius: 14px;
  padding: .85rem 1rem;
  border: 1px solid rgba(53,95,45,.18);
}

.contact-person-card {
  background: #fff;
  border: 1px solid rgba(53,95,45,.08);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(21, 41, 20, 0.08);
  height: 100%;
}

.contact-person-card h3 {
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-person-tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(240,184,58,.18);
  color: #7c6b38;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-person-meta {
  color: #516151;
  font-weight: 600;
}

.site-footer { padding: 1.2rem 0 2rem; color: #516151; }
.footer-links a { color: #355f2d; font-weight: 600; }
.footer-links .language-switcher { margin-right: .25rem; }

@media (max-width: 991px) {
  .dashboard-grid,
  .metric-stack,
  .mobile-showcase,
  .plot-grid { grid-template-columns: 1fr; }
}
