:root {
  --bg: #000000;
  --surface: #0b0b0b;
  --surface-2: #111111;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.55);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--text);
  text-decoration: none;
}

.page-glow {
  position: fixed;
  inset: -20% auto auto 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  transition: color var(--transition);
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover,
.contact-links a:hover {
  color: #ffffff;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width var(--transition);
}

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

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
}

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

.hero {
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-block;
  color: var(--soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.84rem;
  margin-bottom: 20px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 22px 0 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-line {
  width: 56px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 26px 0 26px;
}

.hero-copy p,
.section-head p,
.service-card p,
.project-card p,
.contact-box p,
.contact-links a,
.stat-label,
.check-list li,
.site-footer p {
  color: var(--muted);
}

.hero-copy p {
  font-size: 1.15rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  font-weight: 700;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-primary {
  background: #ffffff;
  color: #000000;
}

.btn-primary:hover {
  background: #eaeaea;
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255, 255, 255, 0.05);
}

.mini-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mini-highlights span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}

.floating-top {
  top: 18px;
  left: 18px;
}

.floating-bottom {
  right: 18px;
  bottom: 18px;
}

.stats-panel {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card,
.content-box,
.service-card,
.project-card,
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 28px 22px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-label {
  display: block;
  margin-top: 8px;
}

.section-head {
  max-width: 820px;
}

.section-head h3,
.contact-box h3 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.compact-head {
  margin-bottom: 28px;
}

.about-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.content-box,
.service-card,
.project-card {
  padding: 30px;
}

.content-box h4,
.service-card h4,
.project-card h4 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
}

.quote-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-box p {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1.5;
}

.quote-box span {
  color: var(--soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.project-card {
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.service-card:hover,
.project-card:hover,
.content-box:hover,
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.project-number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--soft);
  margin-bottom: 16px;
}

.contact-box {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-links a {
  word-break: break-word;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 24px 0 34px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-box,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    padding-top: 44px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 26px), var(--max-width));
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand {
    font-size: 1.15rem;
  }

  .hero-copy p,
  .section-head p,
  .service-card p,
  .project-card p,
  .contact-box p,
  .contact-links a,
  .stat-label {
    font-size: 0.98rem;
  }

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

  .btn {
    width: 100%;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .content-box,
  .service-card,
  .project-card,
  .contact-box,
  .stat-card {
    padding: 22px;
  }

  .floating {
    font-size: 0.74rem;
    padding: 8px 10px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
