.contact-modern {
  --contact-ink: #14213d;
  --contact-muted: #66738f;
  --contact-line: #e6ebf5;
  --contact-blue: #4d72f2;
  box-sizing: border-box;
  overflow: hidden;
  padding-top: 62px;
  background: #f6f8fd;
  color: var(--contact-ink);
}

.contact-modern *,
.contact-modern *::before,
.contact-modern *::after {
  box-sizing: border-box;
}

.contact-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.contact-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(90, 220, 255, .36), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(159, 112, 255, .42), transparent 30%),
    linear-gradient(122deg, #0f2455 0%, #294fc9 45%, #684bdd 78%, #a648ce 100%);
  color: #fff;
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

.contact-hero::after {
  position: absolute;
  right: -220px;
  bottom: -420px;
  width: 850px;
  height: 850px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(255, 255, 255, .03), 0 0 0 200px rgba(255, 255, 255, .02);
  content: "";
}

.contact-hero-orb {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.contact-hero-orb-one {
  top: 80px;
  left: 48%;
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .75), rgba(96, 230, 255, .08));
  box-shadow: 0 22px 60px rgba(11, 20, 82, .28);
}

.contact-hero-orb-two {
  right: 5%;
  bottom: 78px;
  width: 28px;
  height: 28px;
  background: linear-gradient(145deg, #77eaff, #ff8dc8);
  box-shadow: 0 12px 28px rgba(28, 18, 94, .3);
}

.contact-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: 82px;
  align-items: center;
  min-height: 560px;
  padding: 72px 0;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .78);
}

.contact-kicker span {
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #67e8ff, #d39bff);
}

.contact-hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.5px;
  color: #fff;
}

.contact-hero-copy h1 em {
  font-style: normal;
  color: #9cf0ff;
}

.contact-hero-copy > p {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .8);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-btn {
  display: inline-flex;
  min-width: 150px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-btn:hover { transform: translateY(-2px); }

.contact-btn-primary,
.contact-btn-primary:hover,
.contact-btn-primary:focus {
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 17, 82, .24);
  color: #405ad9;
}

.contact-btn-secondary,
.contact-btn-secondary:hover,
.contact-btn-secondary:focus {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.contact-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}

.contact-hero-badges span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.contact-hero-badges strong {
  font-size: 15px;
  color: #fff;
}

.contact-live-panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
  box-shadow: 0 28px 70px rgba(16, 17, 88, .25);
  backdrop-filter: blur(18px);
}

.contact-panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .76);
}

.contact-panel-top small {
  margin-left: auto;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, .52);
}

.contact-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #63f3c5;
  box-shadow: 0 0 0 6px rgba(99, 243, 197, .12);
}

.contact-live-panel h2 {
  margin: 25px 0 24px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.contact-panel-list {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(13, 27, 86, .14);
}

.contact-panel-list a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}

.contact-panel-list a:last-child { border-bottom: 0; }
.contact-panel-list a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.contact-panel-list span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.contact-panel-list strong { overflow: hidden; font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.contact-panel-list i { font-style: normal; text-align: right; color: #8fefff; }

.contact-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-size: 11px;
  color: rgba(255, 255, 255, .58);
}

.contact-panel-foot strong { font-size: 12px; color: #fff; }

.contact-main {
  padding: 78px 0 90px;
  background:
    radial-gradient(circle at 2% 20%, rgba(75, 184, 255, .1), transparent 22%),
    radial-gradient(circle at 98% 72%, rgba(166, 86, 231, .09), transparent 24%),
    #f6f8fd;
}

.contact-section-heading { max-width: 700px; }
.contact-section-heading > span,
.contact-mini-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #5e73e8;
}

.contact-section-heading h2,
.contact-company-copy h2,
.contact-service-card h2,
.contact-ready h2 {
  margin: 0;
  font-weight: 750;
  color: var(--contact-ink);
}

.contact-section-heading h2 { font-size: 36px; }
.contact-section-heading p { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: var(--contact-muted); }

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.contact-channel-card {
  --channel-accent: #5274ed;
  --channel-soft: #eef2ff;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--contact-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(39, 57, 117, .065);
  transition: transform .22s ease, box-shadow .22s ease;
}

.contact-channel-card::after {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--channel-soft);
  content: "";
}

.contact-channel-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(39, 57, 117, .12); }
.contact-channel-purple { --channel-accent: #8658e9; --channel-soft: #f2ecff; }
.contact-channel-cyan { --channel-accent: #159dcc; --channel-soft: #e9f9fd; }
.contact-channel-orange { --channel-accent: #e8832c; --channel-soft: #fff3e7; }

.contact-channel-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--channel-soft);
  font-size: 16px;
  font-weight: 800;
  color: var(--channel-accent);
}

.contact-channel-status {
  position: absolute;
  top: 25px;
  right: 22px;
  z-index: 1;
  max-width: 115px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--channel-accent);
}

.contact-channel-card h3 { margin: 28px 0 10px; font-size: 20px; color: var(--contact-ink); }
.contact-channel-card p { min-height: 48px; margin: 0; font-size: 13px; line-height: 1.75; color: var(--contact-muted); }
.contact-channel-card > a { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid #edf0f6; }
.contact-channel-card > a strong { min-width: 0; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; color: var(--contact-ink); }
.contact-channel-card > a span { flex: 0 0 auto; font-size: 11px; color: var(--channel-accent); }

.contact-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
  gap: 20px;
  margin-top: 54px;
}

.contact-company-card,
.contact-service-card {
  border: 1px solid var(--contact-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(39, 57, 117, .065);
}

.contact-company-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  padding: 30px;
}

.contact-company-mark {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 18%, rgba(99, 233, 255, .5), transparent 32%),
    linear-gradient(145deg, #203b96, #5d55dd 68%, #a452d0);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -4px;
  color: rgba(255, 255, 255, .94);
}

.contact-company-copy { padding: 8px 0 2px; }
.contact-company-copy h2 { font-size: 25px; line-height: 1.45; }
.contact-company-copy > p { margin: 12px 0 20px; font-size: 13px; line-height: 1.8; color: var(--contact-muted); }

.contact-company-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-company-details div {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f9fd;
}

.contact-company-details span,
.contact-company-details strong,
.contact-company-details a { display: block; }
.contact-company-details span { margin-bottom: 5px; font-size: 10px; color: #8b96ab; }
.contact-company-details strong,
.contact-company-details a { overflow: hidden; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; color: #26344f; }

.contact-service-card { padding: 30px; }
.contact-service-card h2 { margin-bottom: 22px; font-size: 25px; }
.contact-time-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #edf0f6; }
.contact-time-line span { font-size: 12px; color: var(--contact-muted); }
.contact-time-line strong { font-size: 12px; color: var(--contact-ink); }
.contact-service-card > p { margin: 20px 0 16px; font-size: 12px; line-height: 1.75; color: var(--contact-muted); }
.contact-service-card > a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #526ce5; }
.contact-service-card > a span { transition: transform .2s ease; }
.contact-service-card > a:hover span { transform: translateX(4px); }

.contact-ready {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.5fr);
  gap: 44px;
  align-items: center;
  margin-top: 20px;
  padding: 34px;
  border: 1px solid var(--contact-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .75);
}

.contact-ready h2 { font-size: 24px; line-height: 1.5; }
.contact-ready ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-ready li { display: flex; gap: 12px; min-width: 0; }
.contact-ready li > span { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: #7183e8; }
.contact-ready li strong { display: block; margin-bottom: 5px; font-size: 13px; color: var(--contact-ink); }
.contact-ready li p { margin: 0; font-size: 11px; line-height: 1.65; color: var(--contact-muted); }

.contact-modern + #footer-line1 { display: none; }

@media (max-width: 1080px) {
  .contact-modern { padding-top: 50px; }
  .contact-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 44px; }
  .contact-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-info-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-shell { width: min(100% - 28px, 620px); }
  .contact-hero { min-height: 0; }
  .contact-hero-layout { display: block; min-height: 0; padding: 58px 0 54px; }
  .contact-hero-copy h1 { font-size: 42px; letter-spacing: -1.5px; }
  .contact-hero-copy > p { font-size: 15px; line-height: 1.75; }
  .contact-live-panel { max-width: none; margin-top: 42px; padding: 25px 22px; border-radius: 22px; }
  .contact-live-panel h2 { font-size: 25px; }
  .contact-main { padding: 54px 0 64px; }
  .contact-section-heading h2 { font-size: 29px; }
  .contact-channel-grid { grid-template-columns: 1fr; }
  .contact-channel-card { min-height: 280px; }
  .contact-company-card { grid-template-columns: 1fr; padding: 22px; }
  .contact-company-mark { min-height: 150px; }
  .contact-company-details { grid-template-columns: 1fr; }
  .contact-ready { grid-template-columns: 1fr; gap: 24px; padding: 25px 22px; }
  .contact-ready ol { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .contact-modern { padding-top: 48px; }
  .contact-hero-layout { padding-top: 48px; }
  .contact-hero-copy h1 { font-size: 36px; }
  .contact-hero-actions { display: grid; grid-template-columns: 1fr; }
  .contact-btn { width: 100%; }
  .contact-hero-badges { gap: 10px 16px; }
  .contact-panel-list a { grid-template-columns: 70px minmax(0, 1fr) 16px; padding: 0 12px; }
  .contact-panel-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .contact-service-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modern *,
  .contact-modern *::before,
  .contact-modern *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
