:root {
  --red: #cf171f;
  --red-dark: #a91118;
  --red-soft: #fff2f3;
  --ink: #17191c;
  --steel: #48525c;
  --muted: #66717c;
  --line: #d9dde2;
  --soft: #f7f7f6;
  --mist: #f0f1f2;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(34, 42, 50, 0.1);
  --page-gutter: clamp(18px, 4vw, 54px);
  --floating-bottom: 22px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--soft) 52%, #ffffff 100%);
  overflow-x: hidden;
}

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

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 10px var(--page-gutter);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 25, 28, 0.08);
  box-shadow: 0 14px 36px rgba(28, 33, 39, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 112px;
  height: 58px;
  object-fit: contain;
}

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

.brand strong {
  font-size: 18px;
  line-height: 1.12;
}

.brand small {
  margin-top: 4px;
  color: var(--red);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav > a,
.dropdown-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: #30363c;
  font-weight: 700;
}

.site-nav > a:hover,
.dropdown-trigger:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 310px;
  padding: 8px;
  display: grid;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--steel);
  font-weight: 700;
}

.dropdown-panel a:hover {
  background: var(--red-soft);
  color: var(--red-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 160ms ease, color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-links a:hover {
  color: var(--red);
  border-color: rgba(207, 23, 31, 0.32);
  box-shadow: 0 10px 22px rgba(207, 23, 31, 0.14);
  transform: translateY(-2px);
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

main {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.trust-strip,
.section {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

[id] {
  scroll-margin-top: 96px;
}

.hero {
  min-height: auto;
}

.hero-slider {
  position: relative;
  display: block;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
  box-shadow: 0 22px 60px rgba(23, 25, 28, 0.12);
}

.slides {
  position: relative;
  min-height: auto;
  width: 100%;
  margin: 0;
  height: clamp(420px, 54vh, 620px);
  min-height: 0;
  aspect-ratio: auto;
  max-height: none;
  border-bottom: 1px solid rgba(23, 25, 28, 0.1);
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(207, 23, 31, 0.1), transparent 38%),
    linear-gradient(180deg, #101214 0%, #050607 100%);
  box-shadow: 0 20px 48px rgba(23, 25, 28, 0.16);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.018);
  transition: opacity 760ms ease, transform 900ms ease, visibility 760ms ease;
}

.slide::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 6, 7, 0.28), rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.28)),
    var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: blur(14px) saturate(1.08);
  transform: scale(1.04);
}

.slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.012);
  transition: transform 5200ms ease;
  z-index: 1;
}

.slide.active img {
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.08));
}

.slide-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

.slide-copy p:not(.eyebrow),
.section-heading p,
.text-stack,
.support-panel > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.primary,
.secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary {
  color: var(--white);
  background: linear-gradient(180deg, #e11d26 0%, var(--red-dark) 100%);
  box-shadow: 0 14px 28px rgba(207, 23, 31, 0.18);
}

.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.slider-controls {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 25, 28, 0.12);
  box-shadow: var(--shadow);
  margin: 12px 0 0 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.hero-quick-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 16px 0;
}

.slider-arrow,
.slider-dots button {
  border: 0;
  cursor: pointer;
}

.slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #aeb5bd;
}

.slider-dots button.active {
  width: 28px;
  background: var(--red);
}

@media (max-height: 820px) and (min-width: 901px) {
  .slides {
    height: clamp(390px, 54vh, 560px);
  }
}

@media (min-height: 980px) and (min-width: 1200px) {
  .slides {
    height: clamp(500px, 54vh, 680px);
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
  margin-bottom: 32px;
}

.trust-strip div {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(34, 42, 50, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trust-strip div:hover,
.contact-grid article:hover,
.query-form:hover {
  transform: translateY(-4px);
  border-color: rgba(207, 23, 31, 0.28);
  box-shadow: 0 20px 50px rgba(34, 42, 50, 0.12);
}

.trust-strip strong {
  font-size: 24px;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(54px, 7vw, 86px);
  border-top: 1px solid rgba(23, 25, 28, 0.08);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding: clamp(44px, 5vw, 68px) var(--page-gutter);
  background:
    linear-gradient(135deg, #ffffff 0%, #f7f7f6 100%);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: 0 16px 42px rgba(34, 42, 50, 0.08);
}

.split-section > *,
.support-panel > *,
.query-section > *,
.contact-grid > *,
.product-carousel,
.product-track {
  min-width: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.text-stack {
  display: grid;
  gap: 16px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 24px;
}

.product-carousel {
  position: relative;
  display: grid;
  align-items: center;
}

.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 156px) / 3);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 62px 28px;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, #22262b, #111315);
  box-shadow: 0 14px 34px rgba(23, 25, 28, 0.24);
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-arrow:hover {
  background: linear-gradient(180deg, #e11d26, var(--red-dark));
  box-shadow: 0 16px 40px rgba(207, 23, 31, 0.28);
}

.product-arrow-left {
  left: 0;
}

.product-arrow-right {
  right: 0;
}

.product-card {
  position: relative;
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(34, 42, 50, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  overflow: hidden;
  scroll-snap-align: start;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 16px 0 16px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(207, 23, 31, 0.42);
  box-shadow: 0 24px 56px rgba(34, 42, 50, 0.14);
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-image {
  min-height: 150px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  background:
    linear-gradient(135deg, #ffffff, #edf1f4);
  border: 1px dashed var(--line);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.product-card:hover .product-image {
  background: linear-gradient(135deg, #fff7f7, #f3f4f5);
  color: var(--red-dark);
  border-color: rgba(207, 23, 31, 0.22);
}

.product-index {
  color: var(--red);
  font-weight: 900;
}

.product-card h3 {
  font-size: 21px;
  line-height: 1.18;
}

.product-card p {
  color: var(--muted);
  line-height: 1.56;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 46px);
  padding: clamp(44px, 5vw, 68px) var(--page-gutter);
  background: var(--white);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  grid-column: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  gap: 14px;
}

.contact-grid article {
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 42, 50, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-grid span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.contact-grid strong {
  line-height: 1.45;
}

.contact-grid a {
  transition: color 160ms ease, text-decoration-color 160ms ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  color: var(--red-dark);
  text-decoration-color: currentColor;
}

.query-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: clamp(44px, 5vw, 68px) var(--page-gutter);
  background:
    linear-gradient(135deg, #17191c 0%, #30363c 100%);
  border-radius: 0;
  color: #ffffff;
}

.query-copy {
  display: grid;
  gap: 12px;
}

.query-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.query-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.query-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.query-form label span {
  color: var(--muted);
  font-weight: 400;
}

.query-form input,
.query-form select,
.query-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.query-form textarea {
  min-height: 126px;
  resize: vertical;
}

.query-form input:focus,
.query-form select:focus,
.query-form textarea:focus {
  outline: 2px solid rgba(207, 23, 31, 0.16);
  border-color: var(--red);
}

.query-wide {
  grid-column: 1 / -1;
}

.query-status {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--muted);
  font-weight: 800;
}

.query-status.success {
  color: #128c42;
}

.query-status.error {
  color: var(--red-dark);
}

.query-form button:disabled {
  cursor: wait;
  filter: grayscale(0.25);
  opacity: 0.7;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 10px var(--page-gutter);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 25, 28, 0.08);
  box-shadow: 0 14px 36px rgba(28, 33, 39, 0.08);
}

.portal-shell,
.admin-shell {
  width: 100%;
  padding: clamp(24px, 4vw, 46px) var(--page-gutter);
}

.portal-hero {
  display: grid;
  gap: 12px;
  padding: clamp(34px, 5vw, 58px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(23, 25, 28, 0.96), rgba(75, 83, 91, 0.92)),
    radial-gradient(circle at 90% 20%, rgba(207, 23, 31, 0.35), transparent 36%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portal-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.portal-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.55;
}

.request-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.mode-card {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 42, 50, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mode-card span {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mode-card strong {
  color: var(--steel);
  line-height: 1.4;
}

.mode-card:hover,
.mode-card.active {
  transform: translateY(-4px);
  border-color: rgba(207, 23, 31, 0.32);
  background: linear-gradient(135deg, #ffffff, #fff4f4);
  box-shadow: 0 20px 46px rgba(34, 42, 50, 0.12);
}

.portal-card {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-action-row .secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.ticket-form h2,
.admin-update-form h2 {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 22px;
}

.ticket-form label,
.admin-form label,
.admin-update-form label,
.track-form input,
.ticket-form input,
.ticket-form select,
.ticket-form textarea,
.admin-form input,
.admin-update-form input,
.admin-update-form select,
.admin-update-form textarea,
.list-tools input,
.list-tools select {
  font: inherit;
}

.ticket-form label,
.admin-form label,
.admin-update-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.ticket-form label span,
.admin-update-form label span {
  color: var(--muted);
  font-weight: 400;
}

.ticket-form input,
.ticket-form select,
.ticket-form textarea,
.admin-form input,
.admin-update-form input,
.admin-update-form select,
.admin-update-form textarea,
.track-form input,
.list-tools input,
.list-tools select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ticket-form textarea,
.admin-update-form textarea {
  min-height: 128px;
  resize: vertical;
}

.tracking-card {
  display: grid;
  gap: 16px;
}

.track-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.track-result {
  min-height: 44px;
  padding: 14px;
  color: var(--steel);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.track-result strong,
.track-result span {
  display: block;
}

.admin-page {
  background: #f3f4f5;
}

.admin-login {
  width: min(440px, 100%);
  margin: 7vh auto;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-login img {
  width: 170px;
  height: 86px;
  object-fit: contain;
}

.admin-login h1 {
  margin: 8px 0 18px;
}

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

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.dashboard-header,
.dashboard-actions,
.ticket-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stats article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 42, 50, 0.06);
}

.dashboard-stats span,
.detail-fields span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

.ticket-list-panel,
.ticket-detail-panel {
  min-height: 560px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.list-tools {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
  margin-bottom: 12px;
}

.ticket-list {
  display: grid;
  gap: 10px;
  max-height: 690px;
  overflow: auto;
}

.ticket-row {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 13px;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.ticket-row:hover,
.ticket-row.active {
  border-color: rgba(207, 23, 31, 0.35);
  background: var(--red-soft);
}

.ticket-row span,
.ticket-pill {
  width: fit-content;
  padding: 4px 8px;
  color: var(--red-dark);
  background: var(--red-soft);
  border: 1px solid rgba(207, 23, 31, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-row small {
  color: var(--muted);
}

.empty-ticket,
.empty-list {
  color: var(--muted);
}

.ticket-detail {
  display: grid;
  gap: 16px;
}

.ticket-detail-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ticket-detail-head h2 {
  margin-top: 8px;
}

.ticket-detail-head > strong {
  color: var(--red);
}

.detail-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-fields div {
  padding: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-fields strong {
  display: block;
  margin-top: 6px;
  line-height: 1.42;
}

.technician-card {
  display: grid;
  gap: 14px;
}

.technician-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.technician-list span {
  padding: 8px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.technician-list small {
  color: var(--muted);
  font-weight: 400;
}

.compact-link {
  white-space: nowrap;
}

.ghost-button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--steel);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 22px var(--page-gutter);
  color: #ffffff;
  background: var(--ink);
  font-weight: 700;
}

.page-scroll-controls {
  position: fixed;
  left: 22px;
  bottom: var(--floating-bottom);
  z-index: 50;
  display: grid;
  gap: 10px;
  transition: bottom 180ms ease;
}

.page-scroll {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(180deg, #e31d27 0%, var(--red-dark) 100%);
  box-shadow: 0 16px 34px rgba(207, 23, 31, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  cursor: pointer;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease, background 160ms ease, visibility 160ms ease;
}

.page-scroll:hover,
.page-scroll:focus-visible {
  background:
    linear-gradient(180deg, #22262b 0%, #111315 100%);
  box-shadow: 0 18px 42px rgba(23, 25, 28, 0.34), 0 0 22px rgba(207, 23, 31, 0.22);
  transform: translateY(-3px);
}

.page-scroll.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.94);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: var(--floating-bottom);
  z-index: 50;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 25%, #6ff2a1 0%, #25d366 40%, #128c42 100%);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition: bottom 180ms ease, transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.28);
  animation: whatsappPulse 1.8s infinite;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-float:hover {
  filter: brightness(1.05);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.5), 0 0 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-pop {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translate(10px, -50%);
  min-width: 188px;
  padding: 13px 15px;
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fffa 100%);
  border: 1px solid rgba(37, 211, 102, 0.24);
  box-shadow: 0 18px 42px rgba(34, 42, 50, 0.16);
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.whatsapp-pop::before {
  content: "ELITE Support";
  display: block;
  color: #128c42;
  font-size: 12px;
  line-height: 1;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.whatsapp-pop::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateY(-50%) rotate(-45deg);
}

.whatsapp-float:hover .whatsapp-pop {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

@keyframes whatsappPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.92);
  }
  70% {
    opacity: 0;
    transform: scale(1.18);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    width: 100%;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding-top: 8px;
    margin-left: 0;
    order: 4;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .social-links {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .nav-dropdown,
  .dropdown-panel {
    position: static;
  }

  .dropdown-panel {
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 4px;
  }

  .split-section,
  .support-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: auto;
    max-height: none;
  }

  .slides {
    width: 100%;
    height: clamp(330px, 48vh, 480px);
    min-height: 0;
    max-height: none;
  }

  .slider-controls {
    padding: 8px;
    gap: 9px;
    margin-top: 10px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .hero-quick-actions .primary,
  .hero-quick-actions .secondary {
    flex: 1 1 170px;
  }

  .query-section,
  .query-form {
    grid-template-columns: 1fr;
  }

  .slide::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.08));
  }

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

  .product-track {
    grid-auto-columns: calc((100% - 108px) / 2);
    padding-inline: 46px;
  }

  .product-arrow-left {
    left: 0;
  }

  .product-arrow-right {
    right: 0;
  }
}

@media (max-width: 620px) {
  main {
    padding-inline: 0;
  }

  .site-header {
    min-height: auto;
    padding: 9px 14px;
    column-gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 54px;
  }

  .menu-toggle {
    position: absolute;
    top: 15px;
    right: 14px;
    display: block;
    z-index: 25;
    border-color: rgba(207, 23, 31, 0.42);
    box-shadow: 0 8px 18px rgba(207, 23, 31, 0.12);
  }

  .menu-toggle span {
    background: var(--red-dark);
  }

  .brand img {
    width: 92px;
    height: 48px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  .social-links a {
    width: 34px;
    height: 34px;
  }

  .hero-slider {
    padding: 8px 0 14px;
  }

  .slides {
    height: clamp(250px, 34vh, 340px);
  }

  .hero-quick-actions {
    padding-inline: 9px;
  }

  .hero-quick-actions .primary,
  .hero-quick-actions .secondary {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .slide img {
    object-fit: cover;
    object-position: center;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
    width: 100%;
    max-width: calc(100vw - 80px);
  }

  .section {
    padding-block: 42px;
    overflow: hidden;
  }

  .split-section,
  .support-panel,
  .query-section {
    padding: 32px 14px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .product-track {
    grid-auto-columns: minmax(230px, 82%);
    padding-inline: 46px;
  }

  .product-arrow {
    width: 40px;
    height: 50px;
    font-size: 34px;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 82px;
    padding-right: 82px;
  }

  .page-scroll-controls {
    left: 18px;
    gap: 8px;
  }

  .page-scroll {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .whatsapp-float {
    right: 18px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-pop {
    display: none;
  }
}

@media (max-width: 900px) {
  .portal-header,
  .dashboard-header,
  .ticket-detail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .request-mode,
  .ticket-form,
  .admin-update-form,
  .track-form,
  .admin-grid,
  .detail-fields {
    grid-template-columns: 1fr;
  }

  .support-actions {
    grid-column: 1;
  }

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

  .list-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .portal-shell,
  .admin-shell {
    padding: 18px 14px;
  }

  .portal-header .brand {
    padding-right: 0;
  }

  .portal-hero {
    padding: 28px 18px;
  }

  .portal-hero h1 {
    font-size: 34px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .dashboard-actions button,
  .track-form button {
    width: 100%;
  }

  .ticket-list-panel,
  .ticket-detail-panel {
    min-height: auto;
  }
}
