/* ============================================================
   kamfms.com — Facility Management Services
   Syne + Onest (distinctive modern) — emmpe- prefix
   CSS Grid layout | Light bright palette
   Cobalt blue #1A5CFF + warm white #FAFBFF + slate #2A3245
   ============================================================ */

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* tokens */
:root {
  /* brand colors */
  --c-blue:       #1A5CFF;
  --c-blue-dark:  #1244CC;
  --c-blue-light: #E8EEFF;
  --c-slate:      #2A3245;
  --c-slate-mid:  #4A5568;
  --c-slate-soft: #718096;
  --c-white:      #FAFBFF;
  --c-surface:    #F4F6FC;
  --c-border:     #DCE1EE;
  --c-text:       #0D1117;
  --c-text-muted: #6B7A99;

  /* typography */
  --f-head: 'Syne', sans-serif;
  --f-body: 'Onest', sans-serif;

  /* spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4.5rem;
  --sp-4xl: 6rem;

  /* layout */
  --max-w:     1160px;
  --col-gap:   1.5rem;

  /* radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  20px;

  /* shadows */
  --sh-sm:  0 1px 3px rgba(26,92,255,.08), 0 1px 2px rgba(0,0,0,.04);
  --sh-md:  0 4px 16px rgba(26,92,255,.10), 0 2px 6px rgba(0,0,0,.06);
  --sh-lg:  0 12px 32px rgba(26,92,255,.12), 0 4px 12px rgba(0,0,0,.08);

  /* transitions */
  --tr-fast:   150ms ease;
  --tr-base:   250ms ease;
  --tr-slow:   400ms ease;

  /* z-index */
  --z-base:       1;
  --z-card:       2;
  --z-header:     100;
  --z-mobile:     200;
  --z-cookie:     300;
  --z-back-to-top:150;

  /* header */
  --header-h: 68px;

  /* logo */
  --logo-w: 160px;
  --logo-h: 40px;
}

/* base */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-slate);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--c-slate-mid); }
strong { color: var(--c-text); }

/* layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}
main { padding-top: var(--header-h); }

.emmpe-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap); }
.emmpe-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.emmpe-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }

/* section spacing */
.section { padding: var(--sp-4xl) 0; }
.section--sm { padding: var(--sp-3xl) 0; }
.section--alt { background: var(--c-surface); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  margin-bottom: var(--sp-md);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-blue);
}
.section-title { margin-bottom: var(--sp-md); }
.section-lead { font-size: 1.1rem; color: var(--c-slate-soft); max-width: 600px; }

/* header */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(250,251,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  z-index: var(--z-header);
  overflow: hidden;
}
#site-header .container { height: 100%; }
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-lg);
  overflow: hidden;
}
.emmpe-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.emmpe-logo img {
  max-width: var(--logo-w);
  max-height: var(--logo-h);
  width: auto;
  height: auto;
  display: block;
}
.footer-brand .emmpe-logo img {
  max-width: calc(var(--logo-w) * 0.9);
  max-height: calc(var(--logo-h) * 0.9);
  width: auto;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex: 1;
  justify-content: flex-end;
}
.nav-links a {
  font-family: var(--f-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-slate-mid);
  transition: color var(--tr-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-blue); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-slate);
  transition: transform var(--tr-base), opacity var(--tr-base);
}

/* mobile menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--c-white);
  z-index: var(--z-mobile);
  padding: var(--sp-2xl) var(--sp-xl);
  gap: var(--sp-lg);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility 0s linear var(--tr-base);
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility 0s linear 0s;
}
.mobile-menu a {
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-slate);
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--tr-fast);
}
.mobile-menu a:hover { color: var(--c-blue); }

/* hero — typographic variant B */
.emmpe-hero {
  background: var(--c-slate);
  color: var(--c-white);
  padding: var(--sp-4xl) 0 var(--sp-3xl);
  position: relative;
  overflow: hidden;
}
.emmpe-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,92,255,.25) 0%, transparent 65%);
  pointer-events: none;
}
.emmpe-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}
.emmpe-hero__label {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--sp-lg);
}
.emmpe-hero h1 {
  color: #ffffff;
  margin-bottom: var(--sp-lg);
}
.emmpe-hero h1 span { color: var(--c-blue); }
.emmpe-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: var(--sp-2xl);
  line-height: 1.7;
}
.emmpe-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--c-blue);
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--tr-fast), transform var(--tr-fast);
}
.emmpe-hero__cta:hover {
  background: var(--c-blue-dark);
  transform: translateY(-1px);
}
.emmpe-hero__right { position: relative; }
.emmpe-hero__stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.emmpe-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
}
.emmpe-stat__num {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--sp-xs);
}
.emmpe-stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
}

/* problem selector (homepage unique component) */
.emmpe-problem-selector {
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
}
.emmpe-problem-selector__title {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-lg);
}
.emmpe-problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}
.emmpe-problem-btn {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  text-align: left;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), transform var(--tr-fast);
  cursor: pointer;
}
.emmpe-problem-btn:hover,
.emmpe-problem-btn.active {
  border-color: var(--c-blue);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.emmpe-problem-btn__icon {
  width: 40px;
  height: 40px;
  background: var(--c-blue-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-blue);
}
.emmpe-problem-btn__icon svg { color: var(--c-blue); }
.emmpe-problem-btn__text strong {
  display: block;
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--c-slate);
}
.emmpe-problem-btn__text span {
  font-size: 0.82rem;
  color: var(--c-text-muted);
}
.emmpe-problem-answer {
  margin-top: var(--sp-lg);
  padding: var(--sp-lg);
  background: var(--c-blue-light);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--c-blue);
  display: none;
}
.emmpe-problem-answer.visible { display: block; }
.emmpe-problem-answer p {
  color: var(--c-slate);
  font-size: 0.95rem;
}
.emmpe-problem-answer a {
  color: var(--c-blue);
  font-weight: 600;
  text-decoration: underline;
}

/* service cards */
.emmpe-service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: box-shadow var(--tr-base), transform var(--tr-base);
  display: flex;
  flex-direction: column;
}
.emmpe-service-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.emmpe-service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--c-blue-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  color: var(--c-blue);
}
.emmpe-service-card__icon svg { color: var(--c-blue); }
.emmpe-service-card h3 { margin-bottom: var(--sp-sm); }
.emmpe-service-card p { font-size: 0.92rem; flex: 1; margin-bottom: var(--sp-lg); }
.emmpe-service-link {
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--tr-fast);
}
.emmpe-service-link:hover { gap: 8px; }

/* dispatch cards (blog) */
.emmpe-dispatch-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}
.emmpe-dispatch-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.emmpe-dispatch-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-surface);
}
.emmpe-dispatch-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.emmpe-dispatch-card:hover .emmpe-dispatch-card__img img { transform: scale(1.04); }
.emmpe-dispatch-card__body { padding: var(--sp-lg); flex: 1; display: flex; flex-direction: column; }
.emmpe-dispatch-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-sm);
}
.emmpe-dispatch-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  background: var(--c-blue-light);
  padding: 2px 8px;
  border-radius: var(--r-sm);
}
.emmpe-dispatch-card__date { font-size: 0.8rem; color: var(--c-text-muted); }
.emmpe-dispatch-card h3 { margin-bottom: var(--sp-sm); font-size: 1.05rem; flex: 1; }
.emmpe-dispatch-card p { font-size: 0.88rem; }

/* counter row (homepage JS) */
.emmpe-counter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.emmpe-counter-item {
  padding: var(--sp-2xl) var(--sp-xl);
  text-align: center;
  border-right: 1px solid var(--c-border);
}
.emmpe-counter-item:last-child { border-right: none; }
.emmpe-counter-item__num {
  font-family: var(--f-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}
.emmpe-counter-item__label {
  font-size: 0.85rem;
  color: var(--c-slate-soft);
  font-weight: 500;
}

/* accordion FAQ */
.emmpe-faq-item {
  border-bottom: 1px solid var(--c-border);
}
.emmpe-faq-item:first-child { border-top: 1px solid var(--c-border); }
.emmpe-faq-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--sp-lg) 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-slate);
  text-align: left;
  gap: var(--sp-md);
  transition: color var(--tr-fast);
}
.emmpe-faq-btn:hover { color: var(--c-blue); }
.emmpe-faq-btn svg {
  flex-shrink: 0;
  transition: transform var(--tr-base);
  color: var(--c-blue);
}
.emmpe-faq-item.open .emmpe-faq-btn svg { transform: rotate(45deg); }
.emmpe-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--tr-slow), padding var(--tr-base);
}
.emmpe-faq-answer p {
  padding-bottom: var(--sp-lg);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* tabs (JS interactive) */
.emmpe-tabs { margin-bottom: var(--sp-xl); }
.emmpe-tabs__nav {
  display: flex;
  gap: var(--sp-xs);
  border-bottom: 2px solid var(--c-border);
  margin-bottom: var(--sp-xl);
}
.emmpe-tabs__btn {
  padding: var(--sp-sm) var(--sp-lg);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-slate-soft);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}
.emmpe-tabs__btn.active {
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.emmpe-tabs__panel { display: none; }
.emmpe-tabs__panel.active { display: block; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--tr-fast), color var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-blue);
  color: #fff;
}
.btn--primary:hover { background: var(--c-blue-dark); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--c-blue);
  border: 2px solid var(--c-blue);
}
.btn--outline:hover { background: var(--c-blue-light); }
.btn--ghost {
  background: transparent;
  color: var(--c-slate-mid);
}
.btn--ghost:hover { color: var(--c-blue); }

/* breadcrumb */
.emmpe-breadcrumb {
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--c-border);
}
.emmpe-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
.emmpe-breadcrumb li { font-size: 0.85rem; color: var(--c-text-muted); }
.emmpe-breadcrumb li a { color: var(--c-blue); transition: opacity var(--tr-fast); }
.emmpe-breadcrumb li a:hover { opacity: 0.75; }
.emmpe-breadcrumb__sep { color: var(--c-border); }

/* article layout */
.emmpe-article {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-3xl);
  padding: var(--sp-3xl) 0;
  align-items: start;
}
.emmpe-article__body h2 { margin: var(--sp-xl) 0 var(--sp-md); }
.emmpe-article__body h3 { margin: var(--sp-lg) 0 var(--sp-sm); }
.emmpe-article__body p { margin-bottom: var(--sp-md); line-height: 1.8; }
.emmpe-article__body ul { margin: var(--sp-md) 0 var(--sp-md) var(--sp-xl); }
.emmpe-article__body ul li { list-style: disc; margin-bottom: var(--sp-xs); color: var(--c-slate-mid); }
.emmpe-article__hero {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-2xl);
  aspect-ratio: 16/9;
  background: var(--c-surface);
}
.emmpe-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.emmpe-article__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.emmpe-article__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  background: var(--c-blue-light);
  padding: 2px 10px;
  border-radius: var(--r-sm);
}
.emmpe-article__date { font-size: 0.85rem; color: var(--c-text-muted); }
.emmpe-article__author { font-size: 0.85rem; color: var(--c-text-muted); }

/* sidebar */
.emmpe-sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-xl)); }
.emmpe-sidebar-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  margin-bottom: var(--sp-lg);
}
.emmpe-sidebar-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}
.emmpe-related-link {
  display: block;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.88rem;
  color: var(--c-slate-mid);
  transition: color var(--tr-fast);
}
.emmpe-related-link:hover { color: var(--c-blue); }
.emmpe-related-link:last-child { border-bottom: none; }

/* contact form */
.emmpe-form { max-width: 640px; }
.emmpe-form-group { margin-bottom: var(--sp-lg); }
.emmpe-form-group label {
  display: block;
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-slate);
  margin-bottom: var(--sp-sm);
}
.emmpe-form-group input,
.emmpe-form-group textarea,
.emmpe-form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  appearance: none;
}
.emmpe-form-group input:focus,
.emmpe-form-group textarea:focus,
.emmpe-form-group select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(26,92,255,.12);
}
.emmpe-form-group textarea { resize: vertical; min-height: 140px; }
.emmpe-form-captcha {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}
.emmpe-captcha-label {
  font-size: 0.88rem;
  color: var(--c-slate-mid);
  margin-bottom: var(--sp-sm);
}
.emmpe-captcha-row {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.emmpe-captcha-question {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-slate);
}
.emmpe-captcha-row input {
  width: 80px;
  text-align: center;
  padding: 0.5rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-family: var(--f-head);
  font-weight: 700;
}
.emmpe-captcha-error {
  font-size: 0.82rem;
  color: #E53E3E;
  margin-top: var(--sp-sm);
  display: none;
}
.emmpe-captcha-error.visible { display: block; }
.emmpe-form-success {
  background: #F0FFF4;
  border: 1px solid #68D391;
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  display: none;
}
.emmpe-form-success.visible { display: block; }
.emmpe-form-success h3 { color: #276749; margin-bottom: var(--sp-sm); }
.emmpe-form-success p { color: #2F855A; }

/* scroll reveal */
.sr-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
}
.sr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* page hero (inner pages) */
.emmpe-page-hero {
  background: var(--c-surface);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  border-bottom: 1px solid var(--c-border);
}
.emmpe-page-hero__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-blue);
  margin-bottom: var(--sp-sm);
}
.emmpe-page-hero h1 { margin-bottom: var(--sp-md); }
.emmpe-page-hero__lead { font-size: 1.05rem; color: var(--c-slate-soft); max-width: 560px; }

/* services list (services page) */
.emmpe-service-entry {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-xl);
}
.emmpe-service-entry__header {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}
.emmpe-service-entry__icon {
  width: 56px;
  height: 56px;
  background: var(--c-blue-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-blue);
}
.emmpe-service-entry__icon svg { color: var(--c-blue); }
.emmpe-service-entry__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-blue);
  margin-bottom: 4px;
}
.emmpe-service-entry h3 { font-size: 1.3rem; }
.emmpe-service-entry__body p { margin-bottom: var(--sp-md); line-height: 1.75; }
.emmpe-service-entry__includes {
  margin: var(--sp-md) 0;
  padding-left: var(--sp-lg);
}
.emmpe-service-entry__includes li {
  list-style: disc;
  color: var(--c-slate-mid);
  font-size: 0.92rem;
  margin-bottom: var(--sp-xs);
}
.emmpe-service-note {
  background: var(--c-surface);
  border-left: 3px solid var(--c-border);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-top: var(--sp-md);
}

/* team / author */
.emmpe-author-bio {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  margin-top: var(--sp-2xl);
}
.emmpe-author-bio h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}
.emmpe-author-name {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--c-slate);
  font-size: 1rem;
  margin-bottom: 4px;
}
.emmpe-author-role { font-size: 0.82rem; color: var(--c-text-muted); margin-bottom: var(--sp-sm); }
.emmpe-author-bio p { font-size: 0.9rem; line-height: 1.7; }
.emmpe-author-bio a { color: var(--c-blue); text-decoration: underline; }

/* contact info block */
.emmpe-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
}
.emmpe-contact-info { }
.emmpe-contact-info h2 { margin-bottom: var(--sp-md); }
.emmpe-contact-info p { margin-bottom: var(--sp-lg); }
.emmpe-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  padding: var(--sp-lg);
  background: var(--c-surface);
  border-radius: var(--r-md);
}
.emmpe-contact-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--c-blue-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-blue);
}
.emmpe-contact-detail__icon svg { color: var(--c-blue); }
.emmpe-contact-detail__text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: 2px;
}
.emmpe-contact-detail__text a { color: var(--c-slate); transition: color var(--tr-fast); }
.emmpe-contact-detail__text a:hover { color: var(--c-blue); }

/* about / team section */
.emmpe-team-entry {
  display: flex;
  gap: var(--sp-lg);
  padding: var(--sp-xl);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-lg);
}
.emmpe-team-initials {
  width: 56px;
  height: 56px;
  background: var(--c-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.emmpe-team-entry__name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-slate);
}
.emmpe-team-entry__role {
  font-size: 0.8rem;
  color: var(--c-blue);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}
.emmpe-team-entry p { font-size: 0.9rem; line-height: 1.7; }
.emmpe-team-entry a { color: var(--c-blue); text-decoration: underline; }

/* legal pages */
.emmpe-legal { max-width: 760px; padding: var(--sp-3xl) 0; }
.emmpe-legal h2 { margin: var(--sp-2xl) 0 var(--sp-md); font-size: 1.2rem; }
.emmpe-legal p, .emmpe-legal li { font-size: 0.95rem; line-height: 1.8; color: var(--c-slate-mid); margin-bottom: var(--sp-md); }
.emmpe-legal ul { padding-left: var(--sp-xl); }
.emmpe-legal ul li { list-style: disc; }
.emmpe-legal a { color: var(--c-blue); text-decoration: underline; }

/* footer */
#site-footer {
  background: var(--c-slate);
  color: rgba(255,255,255,.75);
  padding: var(--sp-4xl) 0 var(--sp-2xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-3xl);
}
.footer-brand p {
  margin: var(--sp-lg) 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.45);
  margin-bottom: var(--sp-lg);
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,.65);
  padding: 4px 0;
  transition: color var(--tr-fast);
}
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.4); }
.footer-legal {
  display: flex;
  gap: var(--sp-lg);
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
  transition: color var(--tr-fast);
}
.footer-legal a:hover { color: #ffffff; }

/* cookie */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--c-slate);
  color: rgba(255,255,255,.85);
  z-index: var(--z-cookie);
  transform: translateY(100%);
  transition: transform var(--tr-slow);
  border-top: 2px solid var(--c-blue);
}
#cookie-banner.visible { transform: translateY(0); }
.emmpe-cookie-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  padding: var(--sp-lg) var(--sp-xl);
  flex-wrap: wrap;
}
.emmpe-cookie-text { flex: 1; font-size: 0.88rem; min-width: 200px; }
.emmpe-cookie-text a { color: var(--c-blue); text-decoration: underline; }
.emmpe-cookie-btns { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.emmpe-cookie-btns button {
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-sm);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.82rem;
  transition: background var(--tr-fast);
}
#cookie-accept {
  background: var(--c-blue);
  color: #fff;
}
#cookie-accept:hover { background: var(--c-blue-dark); }
#cookie-decline {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
}
#cookie-decline:hover { background: rgba(255,255,255,.18); }

/* back to top */
#back-to-top {
  position: fixed;
  bottom: var(--sp-xl);
  right: var(--sp-xl);
  width: 44px;
  height: 44px;
  background: var(--c-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-back-to-top);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--tr-base), transform var(--tr-base);
  box-shadow: var(--sh-md);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top svg { color: #fff; }

/* animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.emmpe-fadein { animation: fadeInUp 0.5s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* responsive */
@media (min-width: 1025px) {
  .nav-links { display: flex; }
  .hamburger  { display: none; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger  { display: flex; }
  .emmpe-hero__inner { grid-template-columns: 1fr; }
  .emmpe-hero__right { display: none; }
  .emmpe-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .emmpe-article { grid-template-columns: 1fr; }
  .emmpe-sidebar { position: static; }
  .emmpe-counter-row { grid-template-columns: repeat(2, 1fr); }
  .emmpe-counter-item:nth-child(2) { border-right: none; }
  .emmpe-counter-item:nth-child(3) { border-right: 1px solid var(--c-border); }
}

@media (max-width: 768px) {
  .emmpe-grid-2 { grid-template-columns: 1fr; }
  .emmpe-grid-3 { grid-template-columns: 1fr; }
  .container    { padding: 0 var(--sp-lg); }
  .section      { padding: var(--sp-3xl) 0; }
  .footer-grid  { grid-template-columns: 1fr; }
  .emmpe-contact-grid  { grid-template-columns: 1fr; }
  .emmpe-problem-grid  { grid-template-columns: 1fr; }
  .emmpe-counter-row   { grid-template-columns: 1fr 1fr; }
  .emmpe-counter-item  { border-right: 1px solid var(--c-border); }
  .emmpe-counter-item:nth-child(2n) { border-right: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .emmpe-hero { padding: var(--sp-3xl) 0 var(--sp-2xl); }
  .emmpe-stat-stack { grid-template-columns: 1fr; }
  .emmpe-team-entry { flex-direction: column; }
}
