* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  background: #ececec;
  color: #222;
}

/* ---------- PAGE ---------- */

.page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- CARD ---------- */

.card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ---------- REBRANDING ---------- */

.rebranding {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.rb-eyebrow {
  font-size: 16px;
  color: #666;
}

.rb-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
}

.rb-logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.rb-logo-wide {
  max-height: 70px;
  width: auto;
  border-radius: 14px;
}

.rb-arrow {
  font-size: 42px;
  font-weight: 600;
}

.rb-subtitle {
  font-size: 15px;
  font-weight: 500;
}

.rb-link {
  font-size: 16px;
  color: #444;
  text-decoration: none;
}

.rb-link:hover {
  text-decoration: underline;
}

.rb-button {
  padding: 10px 22px;
  background: linear-gradient(#c94a4a, #a12f2f);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.rb-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  max-width: 760px;
}

/* ---------- SECTION TITLE ---------- */

.section-title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---------- DIRECTIONS ---------- */

.directions-wrap {
  width: 100%;
  background: #ececec;
  padding: 20px 20px 40px;
}

.directions {
  max-width: 900px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  gap: 80px;
}

.direction-item {
  width: 240px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.direction-item img {
  width: 200px;
  height: 200px;
  border-radius: 14px;
  object-fit: cover;
}

.direction-item strong {
  font-size: 14px;
  font-weight: 600;
}

.direction-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* ---------- CONTACTS ---------- */

.contacts-wrap {
  width: 100%;
  padding: 20px 20px 40px;
}

.contacts-inner {
  max-width: 520px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 50px;

  text-align: center;
}

.contacts-col p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.contacts-col a {
  color: #555;
  text-decoration: none;
}

.icon-mail a {
  text-decoration: underline;
}

.icon-phone::before,
.icon-mail::before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;

  background-size: contain;
  background-repeat: no-repeat;

  transform: translateY(2.5px);
}

.icon-phone::before {
  background-image: url("img/phone.svg");
}

.icon-mail::before {
  background-image: url("img/mail.svg");
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

  .rb-logos {
    flex-direction: column;
  }

  .directions {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .direction-item {
    max-width: 240px;
  }

  .direction-item img {
    width: 180px;
    height: 180px;
  }

  .contacts-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
}

