h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

.contact-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  background: radial-gradient(900px 400px at 50% 10%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(110deg, var(--blue1), var(--blue2));
  color: #fff;
  padding: 72px 0 64px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.03em;
}

.hero p {
  margin: 12px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
}

.info {
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid var(--border);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0 30px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  background: var(--card);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--text);
  background: rgba(228, 106, 16, 0.14);
}

.card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

.main {
  padding: 54px 0 80px;
  background: var(--bg);
}

.main-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: start;
}

.panel h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sub {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.form {
  margin-top: 22px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 14px;
}

label span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  background: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

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

input:focus,
textarea:focus {
  background: var(--card);
  border-color: rgba(228, 106, 16, 0.45);
  box-shadow: 0 0 0 4px rgba(228, 106, 16, 0.18);
}

.btn {
  width: 100%;
  margin-top: 8px;
  height: 48px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(110deg, var(--blue1), var(--blue2));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 26px rgba(228, 106, 16, 0.28);
}

.btn:hover {
  filter: brightness(.96);
}

.btn-ico {
  display: grid;
  place-items: center;
}

.right h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.photo {
  border-radius: var(--radius);
  height: 260px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  background:
    linear-gradient(rgba(0, 0, 0, .18), rgba(0, 0, 0, .18)),
    url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=1400&q=70");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  background-blend-mode: multiply;
}

.services {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: var(--card);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.services h3 {
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.services ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.services li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  line-height: 1.5;
}

.services li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(228, 106, 16, 0.18);
  color: var(--blue1);
  font-weight: 900;
  flex: 0 0 auto;
}


html[data-theme="dark"] .info {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .card {
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] .photo {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .services li::before {
  background: rgba(228, 106, 16, 0.22);
}

@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-grid {
    grid-template-columns: 1fr;
  }

  .photo {
    height: 240px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .row {
    grid-template-columns: 1fr;
  }

  .photo {
    height: 230px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 14px;
  }

  .hero {
    padding: 54px 0 48px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 40px 0 56px;
  }

  .photo {
    height: 210px;
  }

  .bf-nav {
    display: none;
  }

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