*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f4ef;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --border: #d8d7d0;
  --container: 1400px;
  --pad: 40px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Google Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.nav-logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.nav-logo span { font-weight: 300; color: var(--muted); }

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: normal;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px var(--pad);
  flex-direction: column;
  gap: 28px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 28px;
  font-weight: 300;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.reveal { opacity: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 60px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

h2 { line-height: 1.0; }

#hero-section {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-top {
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-tags { display: flex; gap: 12px; margin-bottom: 40px; width: 100%; }

.tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 14px;
  color: var(--muted);
}

.hero-heading {
  font-size: 72px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  perspective: 1000px;
  width: 100%;
}

.hero-sub {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 14px 28px;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.hero-cta:hover { background: var(--text); color: var(--bg); }
.hero-cta .arrow { transition: transform 0.25s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

.hero-visual {
  flex: 1;
  margin-top: 40px;
  background: #1a1a1a;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-visual-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  z-index: 1;
  white-space: nowrap;
}

.hero-visual-num, .hero-visual-num2 {
  position: absolute;
  bottom: 24px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.hero-visual-num { right: 32px; }
.hero-visual-num2 { left: 32px; }

section { padding: 80px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-heading {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.about-right { padding-top: 8px; }
.about-right p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num { font-size: 48px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; }

.about-photo { margin-top: 80px; height: 500px; overflow: hidden; width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.services-list { list-style: none; }

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 30px 40px;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: background 0.2s;
}

.service-item:first-child { border-top: 1px solid var(--border); }
.service-item:hover { background: #f0efe8; }
.service-num { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.service-title { font-size: clamp(22px, 2.5vw, 34px); font-weight: 300; letter-spacing: -0.01em; margin-bottom: 8px; }
.service-desc { font-size: 14px; color: var(--muted); max-width: 560px; }
.service-arrow { font-size: 22px; color: var(--border); transition: color 0.2s, transform 0.2s; }
.service-item:hover .service-arrow { color: var(--text); transform: translateX(6px); }

.projects-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.projects-heading { font-size: clamp(36px, 5vw, 72px); font-weight: 300; letter-spacing: -0.01em; }

.projects-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.projects-link:hover { color: var(--text); border-color: var(--text); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.project-card {
  background: #111;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 0.7;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.4s;
  z-index: 1;
}

.project-card:hover .project-overlay { background: rgba(0, 0, 0, 0.6); }
.project-card:hover img { transform: scale(1.05); }
.project-id { font-size: 11px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); position: relative; z-index: 2; }
.project-info { position: relative; z-index: 2; }
.project-name { font-size: 20px; font-weight: 300; letter-spacing: -0.01em; margin-bottom: 6px; color: #fff; }
.project-meta { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.project-arrow { position: absolute; top: 28px; right: 28px; font-size: 18px; color: rgba(255, 255, 255, 0.35); transition: color 0.2s, transform 0.2s; z-index: 2; }
.project-card:hover .project-arrow { color: #fff; transform: translate(4px, -4px); }

.clients-heading { font-size: clamp(36px, 5vw, 72px); font-weight: 300; letter-spacing: -0.01em; margin-bottom: 60px; max-width: 700px; }
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: #d8d7d0; border: 1px solid #d8d7d0; }
.client-logo-item { background: var(--bg); padding: 48px 40px; display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.client-logo-item:hover { background: #0a0a0a; }
.client-logo-item img { width: 120px; height: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: all 0.3s; }
.client-logo-item:hover img { filter: grayscale(100%) invert(1); opacity: 1; }

#contacts-section { padding-bottom: 120px; }
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 7vw, 140px);
  align-items: start;
}
.contacts-layout h2 {
  font-size: clamp(56px, 9vw, 72px);
  font-weight: 300;
  letter-spacing: -0.01em;
  justify-self: start;
}
.contacts-side { display: flex; flex-direction: column; align-items: flex-start; justify-self: end; }

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--bg);
  background: var(--text);
  padding: 18px 36px;
  transition: opacity 0.2s;
}

.contact-btn:hover { opacity: 0.8; }
.contact-btn .arrow { transition: transform 0.2s; }
.contact-btn:hover .arrow { transform: translateX(4px); }

.contacts-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.contacts-details p { font-size: 15px; color: var(--muted); }
.contacts-details a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }

.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-simple-logo { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-simple-copy { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  :root { --pad: 24px; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 20px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero-heading { font-size: clamp(32px, 7vw, 60px); }
  .hero-tags .tag:nth-child(3) { display: none; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo-item { height: 130px; padding: 0; }
  .service-item { padding: 20px 16px; flex-wrap: wrap; grid-template-columns: 1fr; gap: 12px; }
  .service-arrow { display: none; }
  .contacts-layout { grid-template-columns: 1fr; gap: 32px; }
  .contacts-side { justify-self: start; }
  .footer-simple { flex-direction: column; gap: 12px; text-align: center; }
}
