.by-contact-page {
  --ct-blue: #102e72;
  --ct-blue2: #173f91;
  --ct-red: #e2231a;
  --ct-ink: #172b4e;
  --ct-soft: #eff5ff;
  color: var(--ct-ink);
  font-family: inherit;
}
.by-contact-page *,
.by-contact-page *:before,
.by-contact-page *:after {
  box-sizing: border-box;
}
.by-contact-page a {
  text-decoration: none;
}
.by-contact-hero {
    background-image: url('../../images/contact.webp');
    background-position: center;
    background-size: cover;
  color: white;
  overflow: hidden;
  position: relative;
}
.by-contact-hero:before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -90px;
  top: -260px;
  border: 80px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
}
.by-contact-hero-inner {
  position: relative;
  padding-top: 22px;
  padding-bottom: 68px;
}
.by-contact-breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #072d89;
  margin-bottom: 52px;
}
.by-contact-breadcrumb a {
  color: #072d89;
}
.by-contact-breadcrumb i {
  font-size: 9px;
}
.by-contact-eyebrow,
.by-contact-heading span,
.by-contact-panel-head span,
.by-contact-bottom span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #072d89;
}
.by-contact-hero h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 12px 0 16px;
}
.by-contact-hero p {
  color: #072d89;
  max-width: 670px;
  line-height: 1.85;
  margin-bottom: 28px;
}
.by-contact-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.by-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}
.by-contact-btn-red {
  background: var(--ct-red);
  color: white !important;
}
.by-contact-btn-red:hover {
  background: #c61a14;
  transform: translateY(-2px);
}
.by-contact-btn-light {
  background: white;
  color: var(--ct-blue) !important;
}
.by-contact-btn-light:hover {
  background: #e6f0ff;
}
.by-contact-hero-aside {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  backdrop-filter: blur(8px);
}
.by-contact-aside-icon {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 27px;
  border-radius: 14px;
}
.by-contact-hero-aside strong {
  font-size: 18px;
}
.by-contact-hero-aside a {
  color: white;
  font-size: 23px;
  font-weight: 800;
}
.by-contact-hero-aside small {
  color: #cbdcf6;
}
.by-contact-section {
  padding: 64px 0;
}
.by-contact-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 27px;
}
.by-contact-heading span {
  color: #2859b4;
}
.by-contact-heading h2 {
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 800;
  color: #102c6d;
  margin: 7px 0 9px;
}
.by-contact-heading p {
  font-size: 14px;
  color: #64748b;
}
.by-contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.by-contact-quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  background: white;
  border: 1px solid #dce6f4;
  border-radius: 14px;
  padding: 25px 22px;
  box-shadow: 0 8px 24px rgba(14, 54, 114, 0.035);
  transition: 0.2s ease;
  color: var(--ct-ink);
}
.by-contact-quick-card:hover {
  border-color: #8fb5ee;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(14, 54, 114, 0.11);
}
.by-contact-quick-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf2ff;
  color: #16428e;
  font-size: 23px;
}
.by-contact-quick-line {
  color: #059c56;
  background: #e7f8ef;
}
.by-contact-quick-card strong {
  color: #5a6981;
  font-size: 13px;
}
.by-contact-quick-card b {
  color: #102d71;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.by-contact-quick-card small {
  margin-top: auto;
  color: #3765ac;
  font-size: 12px;
}
.by-contact-details-section {
  background: var(--ct-soft);
}
.by-contact-detail-panel,
.by-contact-action-panel {
  border-radius: 16px;
  height: 100%;
  padding: 32px;
}
.by-contact-detail-panel {
  background: white;
  border: 1px solid #dce5f2;
}
.by-contact-panel-head span {
  color: #356bbf;
}
.by-contact-panel-head h2 {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  color: #102d71;
  margin: 8px 0 28px;
}
.by-contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #edf1f7;
}
.by-contact-detail-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: #eef5ff;
  color: #16458f;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.by-contact-detail-row > div {
  min-width: 0;
}
.by-contact-detail-row strong {
  display: block;
  font-size: 14px;
  color: #102e72;
  margin-bottom: 5px;
}
.by-contact-detail-row p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #53647c;
  line-height: 1.75;
}
.by-contact-detail-row a {
  color: #1957ac;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.by-contact-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 25px;
}
.by-contact-phones a {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.by-contact-phones span {
  color: #66768e;
  font-size: 12px;
}
.by-contact-phones b {
  color: #17356d;
  font-size: 14px;
}
.by-contact-socials {
  display: flex;
  gap: 9px;
  margin-top: 19px;
}
.by-contact-socials a {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #143d84;
}
.by-contact-action-panel {
  background: linear-gradient(150deg, #122e70, #0c2459);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.by-contact-action-top {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #aec9f5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.by-contact-action-top i {
  font-size: 28px;
  color: #fff;
}
.by-contact-action-panel h2 {
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.4;
  margin: 20px 0 12px;
  color: #ffffff;
}
.by-contact-action-panel p {
  font-size: 14px;
  line-height: 1.8;
  color: #cbdcf9;
}
.by-contact-action-links {
  display: grid;
  gap: 10px;
  margin: 14px 0 27px;
}
.by-contact-action-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #fff;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 650;
}
.by-contact-action-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}
.by-contact-action-links a span {
  flex: 1;
}
.by-contact-action-quote {
  margin-top: auto;
  align-self: flex-start;
}
.by-contact-bottom {
  background: white;
  padding: 39px 0;
}
.by-contact-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.by-contact-bottom span {
  color: #3165b5;
}
.by-contact-bottom h2 {
  color: #102c6d;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 800;
  margin: 7px 0;
}
.by-contact-bottom p {
  color: #66758a;
  font-size: 13px;
  margin: 0;
}
@media (max-width: 991.98px) {
  .by-contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .by-contact-hero-inner {
    padding-bottom: 45px;
  }
  .by-contact-breadcrumb {
    margin-bottom: 30px;
  }
}
@media (max-width: 575.98px) {
  .by-contact-section {
    padding: 44px 0;
  }
  .by-contact-hero-inner {
    padding-bottom: 38px;
  }
  .by-contact-hero-aside {
    padding: 20px;
  }
  .by-contact-hero-aside a {
    font-size: 20px;
  }
  .by-contact-quick-grid {
    gap: 10px;
  }
  .by-contact-quick-card {
    padding: 18px 13px;
  }
  .by-contact-quick-card b {
    font-size: 14px;
  }
  .by-contact-detail-panel,
  .by-contact-action-panel {
    padding: 23px 19px;
  }
  .by-contact-phones {
    grid-template-columns: 1fr;
  }
  .by-contact-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .by-contact-btn {
    width: 100%;
  }
  .by-contact-hero-actions .by-contact-btn {
    width: auto;
    flex: 1;
  }
}
