﻿/* Contacts page */

.contacts-hero,
.contacts-main,
.contacts-map,
.contacts-hours {
  font-family: var(--font-main);
}

.contacts-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 810px;
  padding: 98px 0;
  background: url("../images/contacts-hero-new.webp") center / cover no-repeat;
  color: #fff;
}

.contacts-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 38%, rgba(246, 178, 77, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.76) 100%);
  z-index: 1;
}

.contacts-hero .container,
.contacts-main .container,
.contacts-map .container,
.contacts-hours .container {
  width: min(1280px, calc(100vw - 80px));
  max-width: 1280px;
  margin: 0 auto;
}

.contacts-hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(810px - 196px);
}

.contacts-hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 70px;
}

.contacts-hero__content {
  max-width: 760px;
}

.contacts-hero__label {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: #f6b24d;
}

.contacts-hero__title {
  margin: 0 0 26px;
  font-size: 58px;
  line-height: 1.04;
  font-weight: 700;
  color: #fff;
}

.contacts-hero__text {
  max-width: 720px;
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}

.contacts-hero__card {
  padding: 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(6, 39, 35, 0.82);
  border: 1px solid rgba(246, 178, 77, 0.28);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.contacts-hero__card > span {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.contacts-hero__card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  color: #f6b24d;
}

.contacts-hero__card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

/* Main contacts */

.contacts-main {
  padding: 62px 0;
  background: #faf8f4;
}

.contacts-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.contacts-section-head {
  margin-bottom: 26px;
}

.contacts-section-head p {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #d49b38;
}

.contacts-section-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  color: #141414;
}

.contacts-info__list {
  display: grid;
  gap: 14px;
}

.contacts-info__item {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  color: #111;
  text-decoration: none;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.contacts-info__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #082f2b;
  color: #f6b24d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts-info__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts-info__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: #141414;
}

.contacts-info__item small {
  display: block;
  font-size: 15px;
  color: #5a5148;
}

.contacts-socials {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(246, 178, 77, 0.14), transparent 30%),
    #082f2b;
  color: #fff;
}

.contacts-socials h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.contacts-socials__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contacts-socials__links a {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

/* Form */

.contacts-form {
  scroll-margin-top: 28px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.contacts-form h2 {
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.1;
}

.contacts-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contacts-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.contacts-form label span {
  font-size: 14px;
  font-weight: 700;
  color: #4b453e;
}

.contacts-form input,
.contacts-form select,
.contacts-form textarea {
  width: 100%;
  border: 1px solid #e2d9cc;
  border-radius: 12px;
  background: #faf8f4;
  outline: none;
  padding: 0 14px;
  font-family: var(--font-main);
  font-size: 15px;
  color: #111;
}

.contacts-form input,
.contacts-form select {
  height: 50px;
}

.contacts-form textarea {
  height: 130px;
  padding-top: 13px;
  resize: vertical;
}

.contacts-form button {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  background: #f6b24d;
  color: #111;
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.contacts-form__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6258;
}

/* Map */

.contacts-map {
  padding: 0 0 58px;
  background: #faf8f4;
}

.contacts-map__inner {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.contacts-map__content {
  padding: 34px;
}

.contacts-map__content p {
  margin: 0 0 8px;
  color: #d49b38;
  font-size: 15px;
  font-weight: 700;
}

.contacts-map__content h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.12;
  color: #141414;
}

.contacts-map__content span {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: #4d4740;
}

.contacts-map__box {
  min-height: 330px;
  background: #ddd;
}

.contacts-map__box iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
  display: block;
}

/* Hours */

.contacts-hours {
  padding: 0 0 62px;
  background: #faf8f4;
}

.contacts-hours__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 18px;
}

.contacts-hours__card,
.contacts-hours__cta {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.contacts-hours__card h3,
.contacts-hours__cta h2 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.1;
  color: #141414;
}

.contacts-hours__card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contacts-hours__card li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece4d8;
}

.contacts-hours__card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contacts-hours__card span {
  font-size: 16px;
  color: #4d4740;
}

.contacts-hours__card strong {
  font-size: 16px;
  color: #111;
}

.contacts-hours__cta {
  background:
    radial-gradient(circle at 82% 18%, rgba(246, 178, 77, 0.16), transparent 28%),
    #082f2b;
  color: #fff;
}

.contacts-hours__cta h2 {
  color: #fff;
}

.contacts-hours__cta p {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.contacts-hours__cta a {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  background: #f6b24d;
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}

/* Adaptive */

@media (max-width: 1100px) {
  .contacts-hero__inner,
  .contacts-main__grid,
  .contacts-map__inner,
  .contacts-hours__grid {
    grid-template-columns: 1fr;
  }

  .contacts-hero__card {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .contacts-hero .container,
  .contacts-main .container,
  .contacts-map .container,
  .contacts-hours .container {
    width: min(100% - 32px, 1280px);
  }

  .contacts-hero {
    min-height: 620px;
    padding: 96px 0 72px;
  }

  .contacts-hero .container {
    min-height: calc(620px - 168px);
  }

  .contacts-hero__title {
    font-size: 38px;
  }

  .contacts-hero__text {
    font-size: 17px;
  }

  .contacts-main {
    padding: 44px 0;
  }

  .contacts-section-head h2,
  .contacts-form h2,
  .contacts-map__content h2,
  .contacts-hours__card h3,
  .contacts-hours__cta h2 {
    font-size: 28px;
  }

  .contacts-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacts-form,
  .contacts-map__content,
  .contacts-hours__card,
  .contacts-hours__cta {
    padding: 22px;
  }

  .contacts-hours__card li {
    flex-direction: column;
    gap: 6px;
  }

  .contacts-hours__cta a {
    width: 100%;
    justify-content: center;
  }
}
