:root {
  --blue: #3461ff;
  --blue-soft: #7ba3ff;
  --graphite: #1b1f2a;
  --gray: #e6e8ec;
  --white: #ffffff;
  --text: #1b1f2a;
  --text-muted: #5b6170;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(27, 31, 42, 0.12);
  --font: "Inter", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header — light sticky */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 232, 236, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--graphite);
  flex-shrink: 0;
}

.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.logo__tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.icon-btn:hover {
  background: #f3f4f7;
}

.header__cta {
  display: none;
}

.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray);
  border-radius: 10px;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

/* Hero — light + photo */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 55%);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.45;
  animation: fadeIn 1s ease both;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 32%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.12) 64%, transparent 78%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 22%, rgba(255, 255, 255, 0.65) 100%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero__content {
  max-width: 560px;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a91a1;
  opacity: 0;
  animation: rise 0.7s ease-out 0.1s forwards;
}

.hero__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--graphite);
  opacity: 0;
  animation: rise 0.7s ease-out 0.2s forwards;
}

.hero__title span {
  color: var(--blue);
}

.hero__text {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 38ch;
  opacity: 0;
  animation: rise 0.7s ease-out 0.35s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.7s ease-out 0.5s forwards;
}

.hero__bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(230, 232, 236, 0.95);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.hero__bar-grid {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 0;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero__feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #c9d4ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f4f7ff;
}

.hero__feature-icon svg {
  width: 22px;
  height: 22px;
}

.hero__feature strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--graphite);
}

.hero__feature span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(52, 97, 255, 0.28);
}

.btn--primary:hover {
  background: #2a52e8;
}

.btn--outline {
  background: var(--white);
  border-color: #d5d9e2;
  color: var(--graphite);
}

.btn--outline:hover {
  border-color: #b8becc;
  background: #fafbfc;
}

.btn--dark {
  background: var(--graphite);
  color: var(--white);
}

.btn--dark:hover {
  background: #10131a;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--gray {
  background: #f5f6f8;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--graphite);
}

.section__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.catalog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.cat {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cat:hover {
  border-color: #c7d0ff;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.cat__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #eef2ff, #dfe8ff);
  color: var(--blue);
}

.cat__icon svg {
  width: 26px;
  height: 26px;
}

.cat__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.cat__meta {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cat__arrow {
  color: var(--blue);
  opacity: 0.7;
}

.services {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.service p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.request {
  display: grid;
  gap: 2rem;
}

.request__panel {
  background: var(--graphite);
  color: var(--white);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  background-image:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(52, 97, 255, 0.35), transparent 55%);
}

.request__panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.request__panel p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36ch;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--blue-soft);
  background: rgba(255, 255, 255, 0.1);
}

.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23fff' stroke-opacity='.6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form select option {
  color: var(--graphite);
}

.form__note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.form__ok {
  display: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(52, 97, 255, 0.25);
  color: #dfe8ff;
  font-size: 0.95rem;
}

.form__ok.is-visible {
  display: block;
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--gray);
  background: var(--white);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--graphite);
}

.footer__brand .logo__mark {
  width: 32px;
  height: 32px;
}

.footer__copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.45;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  padding: 6rem 1.5rem 2rem;
  display: none;
  flex-direction: column;
  gap: 1.15rem;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  color: var(--graphite);
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-drawer__close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray);
  border-radius: 10px;
  background: var(--white);
  color: var(--graphite);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero__media img {
    opacity: 1;
    animation: fadeInDesk 1s ease both;
  }

  @keyframes fadeInDesk {
    from {
      opacity: 0;
      transform: scale(1.03);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .hero__media::after {
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 28%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.18) 58%, transparent 72%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 25%, rgba(255, 255, 255, 0.5) 100%);
  }

  .hero__bar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.35rem 0;
  }

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

  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .request {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }

  .request__panel {
    padding: 2.5rem;
  }
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__layout {
    padding: 4.5rem 0 3rem;
  }

  .hero__content {
    max-width: 520px;
  }
}
