:root {
  --navy: #0c2f50;
  --blue: #005cab;
  --yellow: #ffb410;
  --gold: #ffd65a;
  --red: #e21f2f;
  --green: #137a4a;
  --ink: #17202a;
  --muted: #5f6b7a;
  --line: #dde4ee;
  --panel: #ffffff;
  --soft: #f3f7fb;
  --shadow: 0 18px 45px rgba(18, 42, 72, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 180, 16, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 92, 171, 0.16), transparent 30%),
    var(--soft);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar {
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 32, 48, 0.1);
  display: flex;
  gap: 28px;
  height: 64px;
  justify-content: center;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 180px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--yellow), var(--red));
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  width: 42px;
}

.brand-mark.mini {
  font-size: 12px;
  height: 34px;
  width: 40px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.main-nav a {
  color: #2c3440;
  font-size: 15px;
  font-weight: 800;
  padding: 24px 0 21px;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--blue);
}

.top-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.top-actions a {
  color: #555f6b;
  font-size: 14px;
  font-weight: 700;
}

.login-link {
  color: #2b3440 !important;
}

.icon-btn {
  align-items: center;
  background: var(--yellow);
  border-radius: 6px;
  color: #fff !important;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 42px;
}

.icon-btn svg {
  height: 20px;
  width: 20px;
}

.hero {
  background: #f7bf2a;
  min-height: 330px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  animation: heroDrift 16s ease-in-out infinite alternate;
  background-image: linear-gradient(90deg, rgba(12, 47, 80, 0.86), rgba(12, 47, 80, 0.18)), url("./assets/support-hero.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.04);
}

.hero-inner {
  align-items: center;
  color: #fff;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 330px;
  padding: 42px 24px 96px;
  position: relative;
}

.hero-copyblock {
  max-width: 620px;
}

.eyebrow {
  color: #ffe59b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: 42px;
  line-height: 1.08;
  margin: 0;
  max-width: 590px;
}

.hero-copy {
  font-size: 17px;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 590px;
}

.hero-video-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 14, 35, 0.36);
  color: var(--navy);
  overflow: hidden;
  width: min(430px, 100%);
}

.hero-video-frame {
  aspect-ratio: 16 / 9;
  background: #0b1d31;
  overflow: hidden;
  width: 100%;
}

.hero-video-frame video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-video-actions {
  align-items: center;
  background: #fff;
  border-top: 1px solid rgba(12, 47, 80, 0.1);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 16px;
}

.hero-video-actions span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.hero-video-actions a {
  align-items: center;
  background: var(--yellow);
  border-radius: 7px;
  color: #111;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.tracking-panel {
  align-items: center;
  background: linear-gradient(135deg, var(--yellow), #ffbd1d);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(340px, 1fr) auto;
  margin: -54px auto 0;
  max-width: 1180px;
  min-height: 104px;
  padding: 18px 28px;
  position: relative;
  z-index: 5;
}

.tracking-title {
  align-items: center;
  color: #14380c;
  display: flex;
  gap: 12px;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.tracking-title svg {
  height: 28px;
  width: 28px;
}

.tracking-form {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(190px, 1fr) 112px auto 106px;
}

.tracking-form input {
  border: 1px solid rgba(15, 48, 75, 0.12);
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  height: 44px;
  min-width: 0;
  padding: 0 14px;
}

.captcha {
  align-items: center;
  background: #fff;
  border-radius: 7px;
  color: #17202a;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  min-width: 74px;
}

.primary-btn,
.promo-btn,
.card-btn {
  align-items: center;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.primary-btn {
  background: var(--blue);
  color: #fff;
  height: 44px;
  padding: 0 22px;
}

.quick-tools {
  display: flex;
  gap: 22px;
}

.quick-tools a {
  align-items: center;
  color: #14380c;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  min-width: 74px;
  text-align: center;
}

.quick-tools svg {
  height: 30px;
  width: 30px;
}

.notice {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 92, 171, 0.16);
  border-radius: 999px;
  color: #2b4058;
  display: flex;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  margin: 18px auto 0;
  max-width: 1180px;
  padding: 10px 16px;
}

.notice strong {
  color: var(--blue);
}

.content-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 280px;
  margin: 44px auto 70px;
  max-width: 1180px;
  padding: 0 0;
}

.section-heading p {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--blue);
  font-size: 27px;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(13, 35, 58, 0.08);
  overflow: hidden;
  min-height: 286px;
  padding: 0 24px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  box-shadow: 0 24px 55px rgba(13, 35, 58, 0.16);
  transform: translateY(-4px);
}

.service-media {
  aspect-ratio: 16 / 9;
  background: #edf4fb;
  margin: 0 -24px 24px;
  overflow: hidden;
  position: relative;
}

.service-media img,
.service-media video {
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  width: 100%;
}

.service-media video {
  background: #0c2f50;
  object-fit: contain;
  transform: none;
}

.service-video {
  background: linear-gradient(135deg, #071b31, #0c2f50);
}

.media-badge {
  background: rgba(12, 47, 80, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  left: 14px;
  padding: 7px 10px;
  position: absolute;
  top: 14px;
}

.service-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

.service-icon svg {
  height: 42px;
  width: 42px;
}

.service-icon.danger {
  color: var(--red);
}

.service-icon.success {
  color: #25753c;
}

.service-icon.blue {
  color: var(--blue);
}

.service-card h3 {
  color: #0d1722;
  font-size: 16px;
  line-height: 1.32;
  margin: 0 0 12px;
  min-height: 42px;
  text-transform: uppercase;
}

.service-card p {
  color: #394657;
  font-size: 14px;
  line-height: 1.58;
  margin: 0 0 18px;
}

.card-btn {
  background: var(--yellow);
  color: #101820;
  font-size: 14px;
  min-height: 42px;
  padding: 0 22px;
}

.promo-panel {
  background: linear-gradient(160deg, #ffcf4e 0%, #ffb410 45%, #0d67c4 46%, #0d67c4 100%);
  border-radius: 8px;
  color: #fff;
  min-height: 390px;
  overflow: hidden;
  padding: 34px 26px;
  position: relative;
}

.promo-panel::before {
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.55), transparent 36%);
  content: "";
  inset: 0;
  position: absolute;
}

.promo-panel > * {
  position: relative;
}

.promo-panel p:first-child {
  color: #0d4e91;
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.promo-panel h2 {
  color: #fff;
  font-size: 31px;
  line-height: 1.08;
  margin: 80px 0 12px;
  text-transform: uppercase;
}

.promo-copy {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.promo-btn {
  background: #fff;
  color: var(--blue);
  min-height: 44px;
  padding: 0 20px;
}

.floating-chat {
  align-items: center;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 34px rgba(0, 65, 130, 0.3);
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  position: fixed;
  right: 22px;
  z-index: 30;
}

.floating-chat svg {
  height: 22px;
  width: 22px;
}

.site-footer {
  align-items: center;
  background: var(--yellow);
  border-top: 3px solid var(--red);
  color: #151515;
  display: flex;
  gap: 14px;
  justify-content: center;
  min-height: 58px;
  padding: 14px 24px;
}

.site-footer span {
  color: #3d3522;
  font-size: 13px;
}

.primary-btn:hover,
.promo-btn:hover,
.card-btn:hover,
.floating-chat:hover {
  box-shadow: 0 10px 22px rgba(0, 65, 130, 0.18);
  transform: translateY(-1px);
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(12, 47, 80, 0.92), rgba(0, 92, 171, 0.72)),
    url("./assets/support-hero.png") center / cover;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 720px;
  padding: 30px;
  width: 100%;
}

.admin-card h1 {
  color: var(--navy);
  font-size: 30px;
  margin: 14px 0 10px;
}

.admin-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 22px;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form label {
  color: #243244;
  font-size: 14px;
  font-weight: 800;
  margin-top: 8px;
}

.admin-form input {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 15px;
  height: 46px;
  padding: 0 14px;
  width: 100%;
}

.admin-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-header .eyebrow {
  color: var(--red);
  margin: 0;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.form-message {
  color: var(--blue) !important;
  font-weight: 800;
  min-height: 20px;
}

.is-hidden {
  display: none;
}

@keyframes heroDrift {
  from {
    background-position: center center;
    transform: scale(1.04);
  }

  to {
    background-position: 56% 44%;
    transform: scale(1.08);
  }
}

@keyframes chatPulse {
  0%,
  100% {
    transform: translateY(0) scaleX(0.86);
  }

  50% {
    transform: translateY(-3px) scaleX(1);
  }
}

@keyframes floatBubble {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (max-width: 1080px) {
  .topbar {
    justify-content: flex-start;
  }

  .main-nav {
    display: none;
  }

  .tracking-panel,
  .content-grid,
  .notice {
    margin-left: 20px;
    margin-right: 20px;
  }

  .tracking-panel {
    grid-template-columns: 1fr;
  }

  .quick-tools {
    justify-content: space-between;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .promo-panel {
    min-height: 280px;
  }

  .promo-panel h2 {
    margin-top: 46px;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
    padding: 12px 16px;
  }

  .top-actions {
    gap: 10px;
  }

  .top-actions a:not(.icon-btn):not(.login-link) {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero-inner {
    padding: 32px 20px 84px;
  }

  .floating-chat {
    bottom: auto;
    font-size: 14px;
    min-height: 42px;
    padding: 0 14px;
    right: 14px;
    top: 76px;
  }

  h1 {
    font-size: 32px;
  }

  .tracking-panel {
    padding: 18px;
  }

  .tracking-form {
    grid-template-columns: 1fr;
  }

  .captcha {
    width: 100%;
  }

  .quick-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
