:root {
  --font: "Montserrat", Arial, sans-serif;

  --c-bg: #0a1315;
  --c-bg-alt: #0a2224;
  --c-teal: #007b81;
  --c-teal-dark: #064145;
  --c-teal-ddark: #0e2022;
  --c-adv-bg: #0f2123;
  --c-adv-head: rgba(6, 64, 69, 0.47);
  --c-service-bg: #07373b;
  --c-card-bg: #122224;
  --c-contacts-card: rgba(16, 37, 39, 0.75);
  --c-btn-line: #dadbde;
  --c-accent: #d7e15a;
  --c-accent-hover: #e8f26c;
  --c-text: #fff;
  --c-line: rgba(255, 255, 255, 0.3);

  --container: 1507px;
  --container-narrow: 1460px;
  --gutter: 16px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure, address {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

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

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

button {
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

[id] {
  scroll-margin-top: 16px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-title {
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--accent {
  color: #000;
  background: var(--c-accent);
}

.btn--accent:hover {
  background: var(--c-accent-hover);
}

.btn--teal {
  color: #fff;
  background: var(--c-teal);
}

.btn--teal:hover {
  background: #0a9aa1;
}

.btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 1100px) {
  .btn {
    min-height: 62px;
    font-size: clamp(15px, 0.97vw, 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
