:root {
  --emka-radius: 14px;
  --emka-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --emka-surface: #0f1720;
  --emka-border: #1f2937;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--wp--preset--color--text);
  background: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--emka-surface);
}

.section-soft {
  background: linear-gradient(180deg, rgba(0, 194, 199, 0.08), transparent 60%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--emka-border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.site-title,
.site-title:visited {
  color: var(--wp--preset--color--text);
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  padding: 0;
  margin: 0;
}

.menu a {
  color: var(--wp--preset--color--text);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--wp--preset--color--accent);
  color: #041316;
  box-shadow: var(--emka-shadow);
}

.btn-outline {
  border: 1px solid var(--wp--preset--color--accent);
  color: var(--wp--preset--color--accent);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.12) 1px, transparent 1px, transparent 40px);
  opacity: 0.25;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--wp--preset--color--muted);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--wp--preset--font-family--heading);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0 0 1rem;
}

.hero-card {
  padding: 2rem;
  border-radius: var(--emka-radius);
  background: rgba(15, 23, 32, 0.95);
  box-shadow: var(--emka-shadow);
  border: 1px solid var(--emka-border);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 194, 199, 0.12);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.text-link {
  color: var(--wp--preset--color--accent);
  font-weight: 600;
}

.content {
  max-width: 760px;
}

.content-body {
  margin-top: 1.5rem;
}

.services-row,
.steps-row,
.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-card,
.step-card,
.feature-card {
  background: rgba(15, 23, 32, 0.9);
  border: 1px solid var(--emka-border);
  border-radius: var(--emka-radius);
  padding: 1.5rem;
}

.section-title {
  font-family: var(--wp--preset--font-family--heading);
  margin-bottom: 0.75rem;
}

.muted {
  color: var(--wp--preset--color--muted);
}

.testimonials {
  background: linear-gradient(135deg, rgba(0, 194, 199, 0.12), rgba(15, 23, 32, 0.95));
  border-top: 1px solid var(--emka-border);
  border-bottom: 1px solid var(--emka-border);
}

.testimonial-card {
  background: rgba(6, 8, 11, 0.85);
  border: 1px solid var(--emka-border);
  border-radius: var(--emka-radius);
  padding: 1.75rem;
}

.portfolio-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  border: 1px solid var(--emka-border);
  border-radius: var(--emka-radius);
  overflow: hidden;
  background: rgba(15, 23, 32, 0.9);
}

.card-link {
  color: inherit;
  display: block;
}

.card-media img {
  width: 100%;
  height: auto;
  display: block;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  margin: 0 0 0.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--wp--preset--color--accent);
  color: #041316;
  font-weight: 700;
  font-size: 1.4rem;
}

.cta {
  background: linear-gradient(180deg, rgba(0, 194, 199, 0.08), rgba(15, 23, 32, 0.95));
  border-top: 1px solid var(--emka-border);
  border-bottom: 1px solid var(--emka-border);
}

.commitments-list {
  display: grid;
  gap: 1.5rem;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--emka-border);
  background: #0a0e12;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pagination {
  margin-top: 2rem;
}

.archive-header,
.content-header {
  margin-bottom: 2rem;
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr;
  }

  .header-cta {
    justify-self: start;
  }

  .menu {
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
