body.contacts-page {
  --ct-blue: #103f73;
  --ct-blue-deep: #092f5b;
  --ct-orange: #f16b00;
  --ct-paper: #fffaf3;
  --ct-muted: #68798a;
}

body.contacts-page .header__nav-link.is-current,
body.contacts-page .header-mobile-menu__link.is-current {
  color: var(--ct-orange);
}

.ct-main {
  padding-bottom: 1px;
}

.ct-hero {
  position: relative;
  display: flex;
  width: calc(100% - 80px);
  max-width: 1580px;
  min-height: 680px;
  margin: 16px auto 0;
  padding: 148px 64px 68px;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: var(--ct-blue-deep);
  box-shadow: var(--ab-shadow);
}

.ct-hero__image,
.ct-hero__veil {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
}

.ct-hero__image {
  z-index: -2;
  right: 0;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.ct-hero__veil {
  z-index: -1;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(9, 47, 91, 0.97) 0%,
    rgba(9, 47, 91, 0.94) 26%,
    rgba(9, 47, 91, 0.8) 43%,
    rgba(9, 47, 91, 0.48) 58%,
    rgba(9, 47, 91, 0.16) 72%,
    rgba(9, 47, 91, 0) 88%
  );
}

.ct-hero__copy {
  width: min(720px, 55%);
}

.ct-hero .ab-breadcrumb {
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.62);
}

.ct-hero .ab-breadcrumb a {
  color: inherit;
}

.ct-hero .ab-eyebrow {
  gap: 0;
  color: rgba(255, 255, 255, 0.78);
}

.ct-hero h1 {
  max-width: 760px;
  margin-top: 9px;
  color: #fff;
  font-size: clamp(52px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
}

.ct-hero h1 span,
.ct-section h2 span {
  color: var(--ct-orange);
}

.ct-hero__lead {
  max-width: 640px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 21px;
  line-height: 1.62;
}

.ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ct-hero__button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.ct-hero__button:hover,
.ct-hero__button:focus-visible {
  transform: translateY(-2px);
}

.ct-hero__button--primary {
  color: #fff;
  background: var(--ct-orange);
  box-shadow: 0 14px 30px rgba(241, 107, 0, 0.25);
}

.ct-hero__button--secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

@media (min-width: 1281px) {
  .ct-hero {
    min-height: 0;
    aspect-ratio: 2.4 / 1;
  }
}

@media (max-width: 1200px) {
  .ct-hero h1 {
    margin-top: 7px;
  }
}

.ct-cards,
.ct-section {
  width: calc(100% - 120px);
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

.ct-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ct-card {
  display: grid;
  min-height: 300px;
  padding: 36px;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 46px rgba(34, 62, 90, 0.08);
  backdrop-filter: blur(16px);
}

.ct-card:nth-child(2),
.ct-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 194, 143, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.68);
}

.ct-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(9, 47, 91, 0.1));
}

.ct-card__label {
  color: var(--ct-orange);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-card h2 {
  margin-top: 13px;
  color: var(--ct-blue);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.ct-card h2 a {
  color: inherit;
}

.ct-card--phone h2 {
  display: grid;
  gap: 4px;
}

.ct-card--phone h2 a {
  display: block;
}

.ct-card p {
  margin-top: 12px;
  color: var(--ct-muted);
  font-size: 17px;
  line-height: 1.62;
}

.ct-card > div > a {
  display: inline-flex;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
  color: var(--ct-blue);
  font-size: 17px;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.ct-card > div > a:hover,
.ct-card > div > a:focus-visible {
  color: var(--ct-orange);
  transform: translateX(2px);
}

.ct-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.ct-messengers a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  border: 1px solid rgba(16, 63, 115, 0.14);
  border-radius: 999px;
  color: var(--ct-blue);
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.ct-messengers a:hover,
.ct-messengers a:focus-visible {
  color: #fff;
  border-color: var(--ct-blue);
  background: var(--ct-blue);
}

.ct-section {
  margin-top: 118px;
}

.ct-section__head {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.ct-section h2 {
  margin-top: 13px;
  color: var(--ct-blue);
  font-size: 44px;
  font-weight: 600;
  line-height: 55.5px;
}

.ct-map__address {
  padding-left: 28px;
  border-left: 3px solid var(--ct-orange);
}

.ct-map__address strong {
  color: var(--ct-blue);
  font-size: 21px;
}

.ct-map__address p {
  margin-top: 8px;
  color: var(--ct-muted);
  font-size: 17px;
  line-height: 1.55;
}

.ct-map__address a {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  color: var(--ct-orange);
  font-size: 16px;
  font-weight: 600;
}

.ct-map__frame {
  height: 620px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--ab-shadow);
}

.ct-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 22px;
}

.ct-message {
  display: grid;
  margin-bottom: 70px;
  padding: 10px;
  grid-template-columns: minmax(340px, 0.76fr) minmax(560px, 1.24fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow: var(--ab-shadow);
}

.ct-message__copy {
  display: flex;
  padding: clamp(44px, 5vw, 72px);
  flex-direction: column;
  border-radius: 23px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 169, 97, 0.25), transparent 32%),
    linear-gradient(145deg, var(--ct-blue-deep), #14578e);
}

.ct-message__copy .ab-section__label {
  color: #ffad67;
}

.ct-message__copy h2 {
  color: #fff;
}

.ct-message__copy h2 span {
  color: #ffad67;
}

.ct-message__copy > p:not(.ab-section__label) {
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.65;
}

.ct-company {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding-top: 54px;
}

.ct-company span {
  color: #ffad67;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ct-company strong {
  font-size: 21px;
}

.ct-company a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.ct-form {
  display: grid;
  gap: 20px;
  padding: clamp(38px, 5vw, 68px);
}

.ct-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ct-form label {
  display: grid;
  gap: 9px;
}

.ct-form label > span {
  color: var(--ct-blue);
  font-size: 15px;
  font-weight: 600;
}

.ct-form input,
.ct-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 63, 115, 0.14);
  border-radius: 16px;
  outline: none;
  color: #17334e;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.82);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.ct-form input {
  height: 58px;
  padding: 0 18px;
}

.ct-form textarea {
  min-height: 150px;
  padding: 16px 18px;
  resize: vertical;
}

.ct-form input:focus,
.ct-form textarea:focus {
  border-color: rgba(241, 107, 0, 0.65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(241, 107, 0, 0.08);
}

.ct-form__footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.ct-form__footer button {
  min-height: 58px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--ct-orange), #ff8b37);
  box-shadow: 0 14px 30px rgba(241, 107, 0, 0.22);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ct-form__footer button:hover,
.ct-form__footer button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(241, 107, 0, 0.3);
}

.ct-form__footer p {
  color: #7b8794;
  font-size: 14px;
  line-height: 1.45;
}

body.contacts-page .sv-footer {
  grid-template-columns: 210px minmax(190px, 1fr) minmax(210px, auto) auto auto;
  background: rgba(255, 252, 247, 0.82);
}

body.contacts-page .sv-footer__phones {
  display: grid;
  gap: 4px;
  color: var(--ct-blue);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

body.contacts-page .sv-footer__phones a {
  color: inherit;
}

body.contacts-page .sv-footer__phones a:hover,
body.contacts-page .sv-footer__phones a:focus-visible {
  color: var(--ct-orange);
}

@media (max-width: 1280px) {
  .ct-hero {
    width: calc(100% - 48px);
    padding-right: 42px;
    padding-left: 42px;
  }

  .ct-cards,
  .ct-section {
    width: calc(100% - 80px);
  }

  .ct-card {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 30px;
  }

  .ct-card img {
    width: 96px;
    height: 96px;
  }

  .ct-message {
    grid-template-columns: minmax(320px, 0.72fr) minmax(500px, 1.28fr);
  }

  body.contacts-page .sv-footer {
    grid-template-columns: 180px minmax(160px, 1fr) minmax(190px, auto) auto auto;
  }

  body.contacts-page .sv-footer__phones {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 1100px) {
  body.contacts-page .sv-footer {
    grid-template-columns: 1fr 1fr;
  }

  body.contacts-page .sv-footer__phones {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 980px) {
  .ct-cards {
    grid-template-columns: 1fr;
  }

  .ct-card {
    min-height: 260px;
  }

  .ct-section__head,
  .ct-message {
    grid-template-columns: 1fr;
  }

  .ct-section__head {
    align-items: start;
    gap: 28px;
  }

  .ct-map__address {
    max-width: 600px;
  }

  .ct-map__frame {
    height: 520px;
  }

  .ct-company {
    margin-top: 30px;
    padding-top: 0;
  }

  body.contacts-page .sv-footer {
    grid-template-columns: 1fr 1fr;
  }

  body.contacts-page .sv-footer__phones {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .ct-hero {
    width: calc(100% - 24px);
    min-height: 660px;
    margin-top: 8px;
    padding: 120px 28px 46px;
    align-items: flex-start;
    border-radius: 22px;
  }

  .ct-hero__image {
    object-position: 68% center;
  }

  .ct-hero__veil {
    width: 100%;
    background: linear-gradient(
      90deg,
      rgba(9, 47, 91, 0.97) 0%,
      rgba(9, 47, 91, 0.92) 58%,
      rgba(9, 47, 91, 0.58) 76%,
      rgba(9, 47, 91, 0.12) 100%
    );
  }

  .ct-hero__copy {
    width: 100%;
  }

  .ct-cards,
  .ct-section {
    width: calc(100% - 32px);
  }

  .ct-section {
    margin-top: 84px;
  }

  .ct-map__frame {
    height: 440px;
    border-radius: 24px;
  }
}

@media (max-width: 768px) {
  .ct-hero h1 {
    margin-top: 5px;
  }
}

@media (max-width: 640px) {
  body.contacts-page .sv-footer {
    grid-template-columns: 1fr;
  }

  .ct-hero h1 {
    font-size: 44px;
    line-height: 48px;
  }

  .ct-hero__lead {
    font-size: 18px;
  }

  .ct-hero__actions {
    display: grid;
  }

  .ct-hero__button {
    width: 100%;
  }

  .ct-card {
    min-height: 0;
    padding: 26px 22px;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    border-radius: 20px;
  }

  .ct-card img {
    width: 78px;
    height: 78px;
  }

  .ct-card h2 {
    font-size: 22px;
  }

  .ct-card p,
  .ct-card > div > a {
    font-size: 16px;
  }

  .ct-section h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .ct-map__frame {
    height: 380px;
    padding: 7px;
  }

  .ct-message {
    padding: 7px;
    border-radius: 24px;
  }

  .ct-message__copy,
  .ct-form {
    padding: 30px 24px;
  }

  .ct-form__row,
  .ct-form__footer {
    grid-template-columns: 1fr;
  }

  .ct-form__footer button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .ct-hero h1 {
    margin-top: 3px;
  }
}

@media (max-width: 430px) {
  .ct-hero {
    padding-right: 22px;
    padding-left: 22px;
  }

  .ct-hero h1 {
    font-size: 38px;
    line-height: 42px;
  }

  .ct-card {
    grid-template-columns: 1fr;
  }

  .ct-card img {
    width: 92px;
    height: 92px;
  }

  .ct-map__frame {
    height: 330px;
  }
}
