:root {
  --bg: #090c13;
  --panel: #101521;
  --panel-2: #171c28;
  --surface: #f2f2f4;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #d8d9de;
  --copy: #ced0d6;
  --dark-copy: #5c6270;
  --accent: #e4b23f;
  --accent-strong: #d8a22a;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(67, 91, 145, 0.45), transparent 18%),
    radial-gradient(circle at 82% 8%, rgba(228, 178, 63, 0.12), transparent 16%),
    linear-gradient(180deg, #05070d 0%, #0a0d16 100%);
  color: var(--text);
  font-family: "Open Sans", sans-serif;
}

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

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

.page-shell {
  width: min(100%, 1024px);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(11, 15, 24, 0.98), rgba(8, 10, 16, 0.98));
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 12px 36px;
  min-height: 88px;
  background: rgba(9, 12, 19, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.logo-wrap img {
  width: 217px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #efc554 0%, #d5a334 100%);
  color: #231b0b;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(212, 162, 42, 0.24);
}

.button:hover {
  background: linear-gradient(180deg, #f4cb5a 0%, #d29d2a 100%);
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9rem;
}

.panel-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(96, 123, 182, 0.22), transparent 18%),
    radial-gradient(circle at 84% 22%, rgba(228, 178, 63, 0.14), transparent 20%),
    linear-gradient(180deg, #0c1018 0%, #090d15 100%);
}

.section-background {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.section-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 7% 16%, rgba(83, 115, 180, 0.3) 0%, transparent 16%),
    radial-gradient(circle at 12% 32%, rgba(90, 123, 190, 0.14) 0%, transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(228, 178, 63, 0.2) 0%, transparent 18%),
    linear-gradient(90deg, rgba(8, 12, 19, 0.92) 0%, rgba(8, 12, 19, 0.8) 36%, rgba(8, 12, 19, 0.45) 66%, rgba(8, 12, 19, 0.28) 100%);
}

.hero-background {
  background:
    radial-gradient(circle at 8% 20%, rgba(111, 137, 199, 0.26) 0%, transparent 14%),
    radial-gradient(circle at 14% 8%, rgba(126, 152, 214, 0.16) 0%, transparent 24%),
    radial-gradient(circle at 85% 32%, rgba(233, 182, 71, 0.28) 0%, transparent 18%),
    linear-gradient(90deg, rgba(9, 13, 22, 0.42), rgba(9, 13, 22, 0.28)),
    linear-gradient(180deg, #0e121b 0%, #0b0f17 100%);
}

.about-background {
  background:
    radial-gradient(circle at 11% 18%, rgba(98, 124, 182, 0.22) 0%, transparent 16%),
    radial-gradient(circle at 86% 26%, rgba(228, 178, 63, 0.24) 0%, transparent 18%),
    linear-gradient(90deg, rgba(9, 13, 22, 0.3), rgba(9, 13, 22, 0.2)),
    linear-gradient(180deg, #0d111a 0%, #0a0e16 100%);
}

.section-content {
  position: relative;
  z-index: 1;
}

.hero-layout,
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 1rem;
  padding: 26px 34px 0;
}

.hero-copy {
  padding: 36px 0 72px;
}

.hero-copy h1,
.about-copy h2,
.services-heading h2,
.quote-intro h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: 3.3rem;
  letter-spacing: -0.03em;
}

.hero-copy h1 span,
.about-copy h2 span {
  color: var(--accent);
}

.hero-copy p,
.about-copy > p:last-of-type,
.quote-intro > p:last-of-type {
  margin: 1rem 0 1.75rem;
  color: var(--copy);
  font-size: 1.55rem;
  line-height: 1.45;
}

.hero-image-wrap {
  align-self: end;
}

.hero-image-wrap img {
  width: 100%;
  transform: translateY(20px);
}

.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: linear-gradient(180deg, #f5f5f7 0%, #ededf0 100%);
  color: #141922;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card {
  padding: 28px 20px 26px;
  text-align: center;
  border-right: 1px solid rgba(18, 24, 33, 0.08);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ececf2 0%, #dde0ea 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #434a5c;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--dark-copy);
  font-size: 0.96rem;
  line-height: 1.5;
}

.about-layout {
  padding-top: 20px;
}

.about-copy {
  padding: 28px 0 54px 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.about-copy h2 {
  font-size: 3rem;
  letter-spacing: -0.03em;
}

.about-copy > p:last-of-type {
  max-width: 33rem;
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
}

.about-image-wrap {
  align-self: end;
}

.about-image-wrap img {
  width: 100%;
}

.services-section {
  padding: 0 34px 42px;
  background:
    radial-gradient(circle at 10% 10%, rgba(107, 129, 184, 0.16), transparent 18%),
    radial-gradient(circle at 82% 14%, rgba(228, 178, 63, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(7, 10, 16, 0.98), rgba(8, 10, 15, 1));
}

.services-heading {
  padding: 8px 0 16px;
  text-align: center;
}

.services-heading h2 {
  font-size: 2.35rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.service-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26, 31, 43, 0.9), rgba(16, 19, 29, 0.95));
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.94 / 1;
  object-fit: cover;
}

.service-card h3 {
  margin: 0;
  padding: 10px 8px 12px;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
}

.quote-section {
  padding: 56px 34px 72px;
  background:
    linear-gradient(180deg, #f4f4f6 0%, #ececf1 100%);
  color: #161b26;
}

.telegram-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 44px 34px;
  background:
    radial-gradient(circle at 15% 20%, rgba(106, 130, 186, 0.18), transparent 20%),
    linear-gradient(180deg, #111622 0%, #0b1019 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.telegram-copy {
  max-width: 42rem;
}

.telegram-copy h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 2.1rem;
  line-height: 1.1;
}

.telegram-copy p:last-child {
  margin: 0.9rem 0 0;
  color: var(--copy);
  font-size: 1rem;
  line-height: 1.6;
}

.telegram-button {
  white-space: nowrap;
}

.quote-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.quote-intro .eyebrow {
  color: #5b6170;
}

.quote-intro h2 {
  font-size: 2.4rem;
}

.quote-intro > p:last-of-type {
  color: #5d6270;
  font-size: 1rem;
  margin-bottom: 0;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 28px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(19, 24, 35, 0.12);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(24, 31, 44, 0.12);
  border-radius: 10px;
  background: #f9fafc;
  color: #141922;
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(228, 178, 63, 0.4);
  border-color: rgba(228, 178, 63, 0.75);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: 20px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1.4rem;
    padding-bottom: 6px;
  }

  .hero-layout,
  .about-layout,
  .quote-form,
  .features-strip,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .about-layout,
  .services-section,
  .quote-section,
  .telegram-section {
    padding-inline: 20px;
  }

  .telegram-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .about-copy {
    padding-bottom: 1.5rem;
  }

  .hero-copy h1,
  .about-copy h2,
  .services-heading h2,
  .quote-intro h2 {
    font-size: 2.3rem;
  }

  .hero-copy p {
    font-size: 1.1rem;
  }

  .feature-card {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 24, 33, 0.08);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .logo-wrap img {
    width: 180px;
  }

  .site-nav {
    gap: 1rem;
    font-size: 0.82rem;
  }

  .hero-copy h1,
  .about-copy h2,
  .services-heading h2,
  .quote-intro h2 {
    font-size: 1.9rem;
  }

  .button,
  .button-small {
    width: 100%;
  }
}
