/* ––––––––– HERO ––––––– */

section.hero {
  position: relative;
  padding-top: calc(var(--section-padding) + var(--header-height));

  background-position: center center;
  background-size: cover;
  isolation: isolate;
}

section.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(2, 25, 45, 0) 0%, rgba(2, 25, 45, 0.6) 114.62%);
  z-index: -1;

  pointer-events: none;
  user-select: none;
}
section.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
  z-index: -1;

  pointer-events: none;
  user-select: none;
}

section.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 4rem;
}
section.hero .container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 40%;
  height: 2px;
  background-color: var(--btn-bg);

}
section.hero .container img {
  max-width: 220px;
  margin-bottom: 1rem;
}
section.hero .container h1 {
  font-family: var(--font-playfair);
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--color-white);
  margin-bottom: 1rem;
}
section.hero .container p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--color-white);
}

/* –––––––––––– CONTACTS –––––––––––– */

section.contacts {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

section.contacts .container .title {
  color: var(--color-white);
}

section.contacts .container > div {
  display: grid;
  gap: 3rem;
}
section.contacts .container > div .info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
section.contacts .container > div .info > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
section.contacts .container > div .info > div div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
section.contacts .container > div .info > div div span {
  font-weight: 600;
  font-size: clamp(1.25rem, 1.0897rem + 0.5128vw, 1.5rem);
  line-height: 1;
  margin-bottom: 20px;
}
section.contacts .container > div .info > div div ul {
  display: grid;
  gap: 8px;
}
section.contacts .container > div .info > div div ul li {
  font-size: var(--text-base);
}
section.contacts .container > div .info > div div ul li span {
  font-size: var(--text-base);
  font-weight: 700;
}

section.contacts .container > div .info > div div a {
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1;
  color: var(--color-white);
  transition: color 0.3s var(--ease);
}
@media (hover: hover) {
  section.contacts .container > div .info > div div a:hover {
    color: var(--btn-bg-hover);
  }
}
section.contacts .container > div .info > div div a:active {
  color: var(--btn-bg-active);
}

section.contacts .container > div .info .socials-container {
  display: grid;
  gap: 1rem;
}
section.contacts .container > div .info .socials-container > span {
  font-weight: 600;
  font-size: clamp(1.25rem, 1.0897rem + 0.5128vw, 1.5rem);
  line-height: 1;
}
section.contacts .container > div .info .socials-container .socials {
  justify-content: start;
}

section.contacts .container > div .form {
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-self: center;
}
section.contacts .container > div .form h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--color-white);
}
section.contacts .container > div .form p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-white);
}

section.contacts .container > div .form form {
  display: grid;
  gap: 20px;
}
section.contacts .container > div .form form input,
section.contacts .container > div .form form textarea {
  font-weight: 500;
  font-size: var(--text-base);
  line-height: 1;
  color: var(--color-white);

  border: 1px solid var(--color-white);
  border-radius: 10px;
  background-color: transparent;
  padding: 12px 8px;

  transition: 0.3s var(--ease);
}
section.contacts .container > div .form form .checkbox-consent label {
  line-height: 1;
  align-items: unset;
}
section.contacts .container > div .form form .checkbox-consent .checkbox {
  width: 20px;
  height: 20px;
  background-color: var(--btn-bg);
  border: 1px solid var(--btn-bg);
}
section.contacts .container > div .form form .checkbox-consent .checkbox::before,
section.contacts .container > div .form form .checkbox-consent .checkbox::after {
  background-color: var(--color-secondary);
}

section.contacts .container > div .form form .btn {
  width: 100%;
}

@media screen and (min-width: 768px) {
  section.contacts .container > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* –––––––––––– LOCATION –––––––––––– */

section.location .title {
  text-align: center;
}
section.location .title::before,
section.location .title::after {
  content: none;
}

section.location iframe {
  margin-top: 2rem;
  width: 100%;
}