:root {
  --dark: #1f2933;
  --yellow: #f5c400;
  --muted: #f6f6f6;
  --text: #6b7280;
  --max: 1100px;
}

/* ================= BASE ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.75;
  background: #fff;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo {
  height: 38px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.75;
  position: relative;
  padding-bottom: 6px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.25s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  width: 100%;
}

/* Mobile tap comfort */
@media (max-width: 640px) {
  .nav a {
    padding: 8px 4px;
  }
}

/* ================= HERO ================= */

.hero {
  padding: 120px 0 140px;
}

.hero-grid {
  display: grid;
  gap: 64px;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.yellow-block {
  width: 56px;
  height: 10px;
  background: var(--yellow);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.hero p {
  max-width: 520px;
  color: var(--text);
}

/* Mobile hero scale */
@media (max-width: 640px) {
  .hero {
    padding: 96px 0 120px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* ================= SECTIONS ================= */

.section {
  padding: 140px 0;
}

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

.section h2 {
  position: relative;
  padding-left: 28px;
  margin-bottom: 48px;
  line-height: 1.3;
}

.section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 36px;
  background: var(--yellow);
}

.section-intro {
  max-width: 640px;
  color: var(--text);
  margin-bottom: 56px;
}

/* ================= SPLIT (ABOUT) ================= */

.split {
  display: grid;
  gap: 56px;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.split p {
  margin-bottom: 24px;
}

/* ================= WHY UNGAII ================= */

.why-list {
  max-width: 680px;
  padding-left: 20px;
}

.why-list li {
  margin-bottom: 28px;
  color: var(--text);
  line-height: 1.65;
}

/* ================= SERVICES ================= */

.services {
  display: grid;
  gap: 40px;
}

.service {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 720px;
}

.service-icon {
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0; /* CRITICAL */
}

.service-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.service-body p {
  margin: 0;
  color: var(--text);
}

/* Mobile service comfort */
@media (max-width: 640px) {
  .service {
    gap: 16px;
  }
}

/* ================= TEAM ================= */

.team {
  display: grid;
  gap: 64px;
}

.member {
  display: flex;
  gap: 24px;
  max-width: 760px;
}

.member img {
  width: 120px;
}

.member span {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
}

/* Mobile team fix */
@media (max-width: 640px) {
  .member {
    flex-direction: column;
  }

  .member img {
    width: 160px;
  }
}

/* ================= CLIENTS ================= */

.clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 720px;
}

.client {
  text-align: center;
}

.client img {
  margin: 0 auto 12px;
}

.client span {
  font-size: 13px;
  color: var(--text);
}

/* Mobile client trust layout */
@media (max-width: 480px) {
  .clients {
    grid-template-columns: 1fr;
  }
}

/* ================= CONTACT & FOOTER ================= */

.contact {
  text-align: center;
}

.footer {
  padding: 56px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* ================= ACCESSIBILITY ================= */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= MOBILE HAMBURGER ================= */

.menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile menu behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 20px;
    background: #fff;
    border: 1px solid #eee;
    flex-direction: column;
    gap: 0;
    width: 200px;
    display: none;
    z-index: 20;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}
