.service-center-page {
  --service-navy: #08265a;
  --service-dark: #041a3f;
  --service-gold: #e8a900;
  --service-gold-dark: #c98d00;
  --service-blue: #0d5ed7;
  --service-soft: #f4f8fd;
  --service-line: #dbe5f1;
  --service-muted: #5f6d82;
  --service-ink: #102142;
  background: #f7faff;
}

.service-main {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 42%, #ffffff 100%);
}

.service-hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  isolation: isolate;
  background: var(--service-dark);
}

.service-hero-media,
.service-hero-media img,
.service-hero-overlay {
  position: absolute;
  inset: 0;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.service-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 26, 63, 0.98) 0%, rgba(8, 38, 90, 0.88) 36%, rgba(8, 38, 90, 0.42) 65%, rgba(8, 38, 90, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 26, 63, 0.15), rgba(4, 26, 63, 0.35));
}

.service-hero-content {
  position: relative;
  z-index: 2;
  min-height: 310px;
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.service-hero-copy {
  width: min(620px, 100%);
  color: #ffffff;
}

.service-eyebrow {
  margin: 0 0 10px;
  color: #ffcb3b;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.75rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-hero p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 750;
}

.service-workspace {
  padding: 34px 0 56px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}

.service-left {
  display: grid;
  gap: 18px;
}

.service-panel,
.help-box {
  background: #ffffff;
  border: 1px solid var(--service-line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(8, 38, 90, 0.08);
}

.service-panel {
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.heading-icon,
.help-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--service-blue);
  background: #eef5ff;
  border: 1px solid #cfe0fa;
  border-radius: 8px;
}

.heading-icon svg,
.help-icon svg,
.quick-card svg,
.not-sure-box svg,
.phone-card svg,
.upload-drop svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-heading h2,
.help-box h2 {
  margin: 0;
  color: var(--service-navy);
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.panel-heading p,
.help-box p {
  margin: 6px 0 0;
  color: var(--service-muted);
  font-weight: 650;
}

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

.quick-card {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px 10px;
  color: var(--service-navy);
  background: #ffffff;
  border: 1px solid var(--service-line);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.quick-card:hover,
.quick-card:focus-visible {
  transform: translateY(-2px);
  border-color: #8cb7f5;
  box-shadow: 0 12px 24px rgba(8, 38, 90, 0.1);
  outline: none;
}

.quick-card.is-selected {
  border-color: var(--service-gold);
  background: linear-gradient(180deg, #fffdf7, #ffffff);
  box-shadow: 0 0 0 2px rgba(232, 169, 0, 0.13);
}

.quick-card.is-selected::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--service-gold);
  box-shadow: inset 0 0 0 4px var(--service-gold);
}

.quick-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #0d4cad;
  background: #f3f8ff;
  border: 1px solid #d8e8fb;
  border-radius: 8px;
}

.quick-card strong {
  max-width: 140px;
  color: var(--service-navy);
  font-size: 0.91rem;
  line-height: 1.18;
}

.not-sure-box {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 15px;
  color: var(--service-navy);
  background: #eef6ff;
  border: 1px solid #dbeafa;
  border-radius: 8px;
}

.not-sure-box > span {
  color: var(--service-blue);
}

.not-sure-box strong,
.not-sure-box p {
  margin: 0;
}

.not-sure-box p {
  margin-top: 3px;
  color: #29405f;
  font-size: 0.9rem;
  font-weight: 650;
}

.help-box {
  padding: 24px;
  color: var(--service-navy);
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.help-box .help-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
}

.phone-card {
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(320px, 100%);
  margin-top: 18px;
  padding: 0 18px;
  color: var(--service-navy);
  background: #ffffff;
  border: 1px solid var(--service-line);
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(8, 38, 90, 0.08);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 950;
}

.phone-card svg {
  color: var(--service-blue);
}

.hours {
  margin-top: 16px !important;
  color: var(--service-navy) !important;
}

.help-cta {
  width: min(320px, 100%);
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--service-dark), var(--service-navy));
  border-radius: 8px;
  font-weight: 950;
}

.ticket-panel {
  padding: 26px;
}

.ticket-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 26px;
  color: var(--service-muted);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.ticket-steps span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.ticket-steps span + span::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 50%;
  width: calc(100% + 12px);
  height: 1px;
  background: #cbd8e8;
  z-index: 0;
}

.ticket-steps strong {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--service-blue);
  border-radius: 999px;
  font-size: 0.95rem;
}

.ticket-steps span:nth-child(n + 2) strong {
  color: var(--service-muted);
  background: #ffffff;
  border: 1px solid #cbd8e8;
}

.service-form-message {
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 850;
}

.service-form-message.success {
  color: #165f21;
  background: #edf9ee;
  border: 1px solid #bfe7c4;
}

.service-form-message.error {
  color: #981f2d;
  background: #fff1f3;
  border: 1px solid #f0c5ca;
}

.service-ticket-form {
  display: grid;
  gap: 20px;
}

.service-ticket-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.service-ticket-form legend {
  margin: 0 0 12px;
  color: var(--service-navy);
  font-size: 1rem;
  font-weight: 950;
}

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

.service-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-form-grid .wide {
  grid-column: 1 / -1;
}

.service-ticket-form label {
  display: grid;
  gap: 7px;
  color: var(--service-navy);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-ticket-form em {
  color: #d5293d;
  font-style: normal;
}

.service-ticket-form input,
.service-ticket-form select,
.service-ticket-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--service-ink);
  background: #ffffff;
  border: 1px solid #cfdbea;
  border-radius: 7px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  outline: none;
}

.service-ticket-form textarea {
  min-height: 144px;
  padding-top: 13px;
  resize: vertical;
}

.service-ticket-form input:focus,
.service-ticket-form select:focus,
.service-ticket-form textarea:focus {
  border-color: var(--service-blue);
  box-shadow: 0 0 0 3px rgba(13, 94, 215, 0.12);
}

.form-hp {
  position: absolute;
  left: -9999px;
}

.selected-request {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 250px);
  gap: 14px;
  align-items: end;
  padding: 15px;
  background: linear-gradient(135deg, #f1f7ff, #ffffff);
  border: 1px solid #d5e4f5;
  border-radius: 8px;
}

.selected-request > div span {
  display: block;
  color: var(--service-muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.selected-request > div strong {
  display: block;
  margin-top: 2px;
  color: var(--service-navy);
  font-size: 1.02rem;
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.upload-drop {
  min-height: 80px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 16px;
  color: #526176;
  background: #fbfdff;
  border: 1px dashed #b8c7d9;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

.upload-drop strong {
  color: var(--service-navy);
  font-size: 0.95rem;
}

.upload-drop small {
  color: var(--service-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.submit-ticket-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  color: var(--service-dark);
  background: linear-gradient(180deg, #f3bf22, var(--service-gold));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(201, 141, 0, 0.22);
  cursor: pointer;
  font-weight: 950;
}

.service-consent {
  margin: -4px auto 0;
  max-width: 660px;
  color: var(--service-muted);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 650;
}

@media (max-width: 1080px) {
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-left {
    order: 1;
  }

  .ticket-panel {
    order: 2;
  }
}

@media (max-width: 760px) {
  .service-hero,
  .service-hero-content {
    min-height: 280px;
  }

  .service-hero-overlay {
    background: linear-gradient(90deg, rgba(4, 26, 63, 0.96), rgba(8, 38, 90, 0.76));
  }

  .service-workspace {
    padding: 18px 0 36px;
  }

  .service-panel,
  .ticket-panel,
  .help-box {
    padding: 18px;
  }

  .panel-heading {
    gap: 11px;
  }

  .quick-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-card {
    min-height: 118px;
  }

  .ticket-steps {
    gap: 8px;
    font-size: 0.72rem;
  }

  .service-form-grid,
  .service-form-grid.three,
  .selected-request {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .quick-card-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 92px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .quick-card strong {
    max-width: none;
  }

  .ticket-steps {
    display: none;
  }
}
