:root {
  --navy: #071a3a;
  --navy-2: #102f63;
  --crimson: #b91f35;
  --crimson-2: #e23d50;
  --white: #ffffff;
  --ink: #122033;
  --muted: #65728a;
  --line: #d9dfeb;
  --soft: #f4f7fb;
  --gold: #d8b25b;
  --shadow: 0 22px 70px rgba(7, 26, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 26, 58, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 232px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy), var(--navy-2) 52%, var(--crimson) 53%),
    var(--navy);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 25px rgba(7, 26, 58, 0.2);
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(7, 26, 58, 0.2));
}

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

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  color: #21324a;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

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

.nav-toggle {
  display: none;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 800;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--crimson);
  box-shadow: 0 14px 28px rgba(185, 31, 53, 0.22);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero {
  position: relative;
  min-height: 740px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 14, 34, 0.98) 0%, rgba(7, 26, 58, 0.78) 37%, rgba(7, 26, 58, 0.12) 70%),
    linear-gradient(180deg, rgba(7, 26, 58, 0.1), rgba(7, 26, 58, 0.4));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  padding: clamp(92px, 12vw, 150px) 0 80px clamp(18px, 6vw, 80px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--crimson-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.trust-band {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--white);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  color: var(--navy);
  font-size: 18px;
}

.trust-band .subscription-callout {
  color: var(--white);
  background: linear-gradient(135deg, var(--crimson), #8f1728);
}

.trust-band .subscription-callout strong {
  color: var(--white);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
}

.trust-band .subscription-callout span {
  color: rgba(255, 255, 255, 0.88);
}

.trust-band span {
  margin-top: 7px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 70px);
}

#packages {
  background:
    linear-gradient(180deg, #eef3fa 0%, #f8fafd 58%, #ffffff 100%);
  border-top: 1px solid #dfe6f1;
  border-bottom: 1px solid #dfe6f1;
}

.section-heading {
  width: min(840px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.package-grid {
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.package-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  overflow: visible;
  background: #ffe6eb;
  border: 1px solid #f3bac5;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(7, 26, 58, 0.08);
}

.package-card.featured {
  color: var(--ink);
  background: #dcecff;
  border-color: #a9c8f4;
  transform: translateY(-10px);
}

.package-card.premium {
  background: var(--white);
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

.package-card.featured .eyebrow,
.package-card.featured .muted,
.package-card.featured li {
  color: #39475e;
}

.package-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
}

.package-preview-button {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: -8px 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  transform-origin: center top;
  z-index: 1;
}

.package-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(7, 26, 58, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(7, 26, 58, 0.14);
  transform-origin: center top;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.featured .package-preview {
  border-color: rgba(7, 26, 58, 0.12);
}

.package-card:hover {
  z-index: 20;
}

.package-card:nth-child(3n + 1) .package-preview {
  transform-origin: left top;
}

.package-card:nth-child(3n) .package-preview {
  transform-origin: right top;
}

.package-preview-button:hover,
.package-preview-button:focus-visible {
  z-index: 30;
}

.package-preview-button:hover .package-preview,
.package-preview-button:focus-visible .package-preview {
  transform: scale(2.05);
  box-shadow: 0 34px 90px rgba(7, 26, 58, 0.34);
}

.preview-sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(7, 26, 58, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.package-preview-button:hover .preview-sound,
.package-preview-button:focus-visible .preview-sound,
.package-preview-button.sound-on .preview-sound {
  opacity: 1;
  transform: translateY(0);
}

.package-preview-button.sound-on .preview-sound {
  background: var(--crimson);
}

.package-preview-button.sound-on .preview-sound::before {
  content: "Sound on - ";
}

.price {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 18px 0 10px;
  padding: 10px 17px;
  color: var(--white);
  background: linear-gradient(135deg, var(--crimson), #8f1728);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(185, 31, 53, 0.2);
}

.featured .price {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 14px 28px rgba(7, 26, 58, 0.22);
}

.muted {
  color: var(--muted);
}

.package-card ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.package-card li {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  color: #39475e;
}

.package-card li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--crimson);
  border-radius: 50%;
}

.package-card .button {
  margin-top: auto;
}

.package-card.featured .button.secondary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.addon-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hardware-banner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.5fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(32px, 5vw, 58px) clamp(18px, 5vw, 70px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.98), rgba(12, 44, 94, 0.96)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 18px 19px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(7, 26, 58, 0.22);
}

.hardware-copy .eyebrow {
  color: #ff5d72;
}

.hardware-copy h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1;
}

.hardware-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.5vw, 18px);
}

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

.connection-card {
  min-height: 168px;
  padding: 16px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.connection-card strong,
.connection-card small {
  display: block;
}

.connection-card strong {
  margin-top: 13px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.05;
}

.connection-card small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.port-visual {
  position: relative;
  display: grid;
  width: 98px;
  height: 64px;
  place-items: center;
  margin: 0 auto;
  background: #eef3fa;
  border: 1px solid #ccd6e5;
  border-radius: 7px;
}

.port-visual::before,
.port-visual::after,
.port-visual i {
  content: "";
  position: absolute;
  display: block;
}

.port-visual.hdmi::before {
  width: 58px;
  height: 26px;
  background: var(--navy);
  clip-path: polygon(12% 0, 88% 0, 100% 35%, 88% 100%, 12% 100%, 0 35%);
}

.port-visual.hdmi i {
  width: 40px;
  height: 10px;
  background: #d7e2f2;
  border-radius: 2px;
}

.port-visual.usbc::before {
  width: 56px;
  height: 27px;
  background: var(--navy);
  border-radius: 999px;
}

.port-visual.usbc i {
  width: 37px;
  height: 10px;
  background: #d7e2f2;
  border-radius: 999px;
}

.port-visual.displayport::before {
  width: 56px;
  height: 30px;
  background: var(--navy);
  clip-path: polygon(0 0, 86% 0, 100% 18%, 100% 100%, 0 100%);
}

.port-visual.displayport i {
  width: 36px;
  height: 11px;
  background: #d7e2f2;
  border-radius: 2px;
}

.port-visual.vga::before {
  width: 58px;
  height: 30px;
  background: var(--navy);
  border-radius: 999px / 55%;
}

.port-visual.vga i {
  width: 36px;
  height: 14px;
  background:
    radial-gradient(circle, #d7e2f2 0 2px, transparent 2.5px) 0 0 / 12px 7px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--soft);
}

.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.industry-cloud span {
  padding: 10px 13px;
  color: #26364e;
  background: var(--white);
  border: 1px solid #e1e7f2;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card,
.gallery-card,
.portal-card,
.login-panel,
.contact-form,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 42px rgba(7, 26, 58, 0.07);
}

.step-card {
  padding: 22px;
}

.step-card span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.step-card h3 {
  margin: 18px 0 8px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  min-height: 290px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e8edf5;
  transform-origin: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
  z-index: 8;
}

.gallery-card:hover img {
  transform: scale(1.08);
  box-shadow: 0 24px 54px rgba(7, 26, 58, 0.22);
}

.mock-display {
  height: 132px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.92), rgba(16, 47, 99, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, 0.06) 14px 15px);
}

.mock-screen {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 0.65fr;
  gap: 9px;
  padding: 11px;
  background: #071226;
  border: 5px solid #0b1220;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mock-bars,
.mock-photo {
  border-radius: 4px;
}

.mock-bars {
  background:
    linear-gradient(var(--crimson), var(--crimson)) 12px 14px / 48px 7px no-repeat,
    linear-gradient(#ffffff, #ffffff) 12px 36px / 90px 5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 12px 51px / 70px 5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 12px 66px / 104px 5px no-repeat,
    rgba(255, 255, 255, 0.08);
}

.mock-photo {
  background:
    radial-gradient(circle at 35% 40%, #ffffff 0 18px, transparent 19px),
    linear-gradient(135deg, var(--crimson), #611321);
}

.gallery-card h3,
.gallery-card p {
  margin: 14px 16px 0;
}

.gallery-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.order-section,
.portal-section,
.admin-section {
  background: linear-gradient(180deg, #f8fafd, #eef3fa);
}

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

.order-form {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #24344b;
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

textarea {
  min-height: 94px;
  resize: vertical;
}

.package-select-label {
  gap: 8px;
}

.package-price-note {
  color: var(--crimson);
  font-size: 14px;
  font-weight: 900;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(16, 47, 99, 0.12);
}

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

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.form-footer p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.order-disclaimer {
  padding: 22px;
  background: #f7f9fd;
  border: 1px solid #d9e3f1;
  border-left: 5px solid var(--crimson);
  border-radius: 8px;
}

.order-disclaimer h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.order-disclaimer p {
  margin: 8px 0;
  color: var(--muted);
}

.checkbox-line {
  display: flex;
  grid-column: 1 / -1;
  grid-template-columns: none;
  gap: 11px;
  align-items: center;
  margin-top: 14px;
  font-size: 15px;
}

.checkbox-line input {
  width: 20px;
  height: 20px;
  accent-color: var(--crimson);
}

.mode-note {
  color: var(--navy) !important;
  font-weight: 850;
}

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

.custom-design-fields[hidden] {
  display: none;
}

.template-price {
  margin: -2px 0 10px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.subscription-plan {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(7, 26, 58, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.subscription-plan strong {
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.subscription-plan span {
  color: #39475e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.subscription-plan.starter-plan {
  background: #fff6f7;
  border-color: rgba(197, 26, 50, 0.2);
}

.portal-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 22px;
}

.login-panel,
.portal-card,
.contact-form,
.contact-card {
  padding: 24px;
}

.login-panel h3,
.portal-card h3,
.contact-card h3 {
  margin: 0 0 18px;
}

.login-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.portal-topline {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.status-pill {
  padding: 8px 11px;
  color: var(--navy);
  background: #eef3fa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.status-rail span {
  display: block;
  min-height: 46px;
  padding: 9px;
  color: var(--muted);
  background: #f4f7fb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.status-rail span.done,
.status-rail span.current {
  color: var(--white);
  background: var(--navy);
}

.status-rail span.current {
  background: var(--crimson);
}

.portal-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.portal-actions button,
.dashboard-toolbar button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#admin-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px;
  background: var(--navy);
}

#admin-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

#admin-tabs button.active,
#admin-tabs button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-panel {
  min-width: 0;
  padding: 20px;
}

.dashboard-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.metric {
  padding: 16px;
  background: #f4f7fb;
  border: 1px solid #e1e7f2;
  border-radius: 8px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--navy);
  font-size: 26px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e5eaf3;
  text-align: left;
  vertical-align: top;
}

.orders-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-list details {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.faq-list p {
  color: var(--muted);
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.map-placeholder {
  display: grid;
  height: 210px;
  margin: 20px 0;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 58, 0.9), rgba(185, 31, 53, 0.72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  border-radius: 8px;
  font-weight: 900;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  color: var(--crimson);
  font-weight: 900;
}

.legal-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.legal-strip article {
  padding: 34px clamp(18px, 5vw, 70px);
  background: #f8fafd;
}

.legal-strip h2 {
  margin: 0 0 8px;
  color: var(--navy);
}

.legal-strip p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.78);
  background: #06142d;
}

.site-footer .brand small,
.site-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  max-width: 680px;
  margin: 0;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 360px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: 0.2s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 0 12px;
    font-weight: 900;
  }

  .main-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .package-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .hardware-banner,
  .portal-layout,
  .dashboard {
    grid-template-columns: 1fr;
  }

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

  #admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(3, 14, 34, 0.96), rgba(7, 26, 58, 0.78), rgba(7, 26, 58, 0.34));
  }

  .hero-content {
    padding-top: 90px;
  }

  .trust-band,
  .package-grid,
  .connection-grid,
  .timeline,
  .gallery-grid,
  .order-form,
  .contact-grid,
  .legal-strip,
  .faq-list,
  .metrics,
  .status-rail,
  .portal-actions {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .dashboard-toolbar,
  #admin-tabs {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .form-footer,
  .portal-topline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero img {
    animation: heroDrift 18s ease-in-out infinite alternate;
  }

  .package-card,
  .gallery-card,
  .step-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .package-card:hover,
  .gallery-card:hover,
  .step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .package-card.featured:hover {
    transform: translateY(-14px);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}
