:root {
  --bg: #0c1118;
  --bg-elevated: #141c27;
  --bg-card: #1a2433;
  --text: #e8edf4;
  --text-muted: #8b9cb3;
  --accent: #2dd4a8;
  --accent-dim: #1a9e7a;
  --accent-glow: rgba(45, 212, 168, 0.25);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font: "Onest", system-ui, sans-serif;
  --header-h: 72px;
  --max-w: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 17, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav__phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(26, 158, 122, 0.12), transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding-block: 4rem 6rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
}

.hero__main {
  min-width: 0;
}

.hero__side {
  min-width: 0;
}

.hero__side-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__side-accent {
  color: var(--accent);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(45, 212, 168, 0.1);
  border: 1px solid rgba(45, 212, 168, 0.25);
  border-radius: 999px;
}

.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: var(--accent);
}

.hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Sections */
.section {
  padding-block: 5rem;
}

.section--alt {
  background: var(--bg-elevated);
}

.section__header {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(45, 212, 168, 0.35);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: rgba(45, 212, 168, 0.12);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.about__list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  border-radius: 6px;
}

/* Contact */
.contact {
  text-align: center;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin-inline: auto;
  text-align: left;
}

.contact__box,
.contact__map-card {
  padding: 2rem 1.75rem;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.contact__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__map-card {
  display: flex;
  flex-direction: column;
}

.contact__address {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  margin: 0.35rem 0 1rem;
}

.contact__map {
  flex: 1;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.contact__map-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.2s;
}

.contact__map-link:hover {
  opacity: 0.8;
}

.contact__hint--spaced {
  margin-top: 1.5rem;
}

.contact__phone {
  display: inline-block;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 1rem 0 1.5rem;
  transition: opacity 0.2s;
}

.contact__phone:hover {
  opacity: 0.85;
}

.contact__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer strong {
  color: var(--text);
  font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__phone {
    justify-content: center;
    margin-top: 0.75rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__side-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  .contact__layout {
    grid-template-columns: 1fr;
  }

  .contact__box {
    text-align: center;
  }
}
