:root {
  --background: #07080d;
  --foreground: #f6f8ff;
  --muted: #aab2c7;
  --muted-dark: #5f687b;
  --panel: #111520;
  --paper: #f3f5fb;
  --ink: #080a10;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 10, 16, 0.14);
  --blue: #1e7bff;
  --purple: #7957ff;
  --hot: #adff2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

.hero {
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.96) 0%, rgba(7, 8, 13, 0.82) 45%, rgba(7, 8, 13, 0.38) 100%),
    url("assets/hp-tuning-dyno-hero.png");
  background-color: #090a10;
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0) 0%, #07080d 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px);
  bottom: 0;
  content: "";
  height: 38%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  background: #f6f8ff;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.14rem;
}

.nav-links {
  align-items: center;
  color: #d7dcea;
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  border-color: var(--blue);
  color: #ffffff;
  outline: none;
}

.nav-links a.active {
  border-color: var(--hot);
}

.hero-content {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(5rem, 10vw, 8rem);
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--hot);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: #ffffff;
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 1.35rem;
  max-width: 850px;
  text-transform: uppercase;
}

h2 {
  color: inherit;
  font-size: clamp(2.2rem, 4.7vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

h3 {
  color: inherit;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.hero-text {
  color: #dce3f5;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.9rem 1.2rem;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.primary {
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #ffffff;
}

.primary:hover,
.primary:focus-visible {
  background: var(--purple);
  border-color: var(--purple);
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.secondary:hover,
.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

.full {
  width: 100%;
}

.hero-strip {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 2rem;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  left: 50%;
  max-width: calc(1180px - clamp(2rem, 8vw, 6rem));
  overflow: hidden;
  position: absolute;
  transform: translateX(-50%);
  width: calc(100% - clamp(2rem, 8vw, 6rem));
  z-index: 1;
}

.hero-strip div {
  background: rgba(17, 21, 32, 0.86);
  border-right: 1px solid var(--line);
  min-height: 6.2rem;
  padding: 1rem;
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip span,
.service-card span,
.booking-card li,
.prep-list li,
.process-list li,
.package-card p,
.intro-band p,
.section-heading p,
.process-grid p,
.prep-grid p,
.footer {
  color: var(--muted);
  line-height: 1.65;
}

.hero-strip span,
.service-card span {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.hero-strip strong {
  color: #ffffff;
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.intro-band {
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  padding: clamp(3rem, 6vw, 5rem) max(clamp(1rem, 4vw, 3rem), calc((100vw - 1180px) / 2 + clamp(1rem, 4vw, 3rem)));
}

.intro-band h2 {
  color: var(--ink);
  max-width: 760px;
}

.intro-band p {
  color: var(--muted-dark);
  font-size: 1.05rem;
}

.section {
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.section-heading {
  margin-bottom: 1.8rem;
  max-width: 780px;
}

.section-heading.split {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  max-width: none;
}

.section-heading.split p {
  margin-bottom: 0;
}

.service-grid,
.package-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.package-card,
.booking-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 100%;
}

.service-card {
  padding: 1.15rem;
}

.service-card span {
  color: var(--hot);
}

.service-card p {
  margin-bottom: 0;
}

.process-band {
  background: var(--paper);
  color: var(--ink);
}

.process-grid {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.process-grid h2,
.process-grid h3 {
  color: var(--ink);
}

.process-grid p {
  color: var(--muted-dark);
}

.process-list,
.prep-list,
.booking-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 0.85rem;
}

.process-list li {
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  padding: 1rem;
}

.process-list li::before {
  align-items: center;
  background: var(--blue);
  border-radius: 7px;
  color: #ffffff;
  content: counter(process);
  counter-increment: process;
  display: inline-flex;
  font-weight: 900;
  height: 2.4rem;
  justify-content: center;
  width: 2.4rem;
}

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

.package-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.package-card p {
  flex: 1;
}

.package-card strong {
  color: var(--hot);
  display: block;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.price-section {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.price-section:first-of-type {
  margin-top: 0;
}

.service-note + .price-section {
  margin-top: 0;
}

.service-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: 1rem;
}

.service-note strong {
  color: #ffffff;
}

.price-notes {
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
  line-height: 1.5;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

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

.media-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.dyno-result-card {
  display: flex;
  flex-direction: column;
}

.dyno-result-media {
  display: grid;
  gap: 0;
}

.dyno-result-media .media-subframe + .media-subframe {
  border-top: 1px solid var(--line);
}

.media-frame {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: #05060a;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

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

.graph-frame img {
  object-fit: contain;
}

.graph-preview {
  display: block;
  height: 100%;
  width: 100%;
}

.media-file-link {
  align-items: center;
  background: rgba(30, 123, 255, 0.18);
  border: 1px solid rgba(30, 123, 255, 0.32);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.media-copy {
  padding: 1rem;
}

.media-copy span {
  color: var(--hot);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.media-copy p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.45rem;
}

.booking-band {
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.94), rgba(7, 8, 13, 0.86)),
    repeating-linear-gradient(45deg, rgba(30, 123, 255, 0.18) 0 1px, transparent 1px 26px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.booking-grid {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.booking-grid p {
  color: #d8deee;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
}

.booking-card {
  padding: 1.25rem;
}

.booking-card li {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}

.booking-card li:last-child {
  border-bottom: 0;
}

.booking-form {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.1rem;
}

.booking-form label {
  color: #ffffff;
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.35rem;
  text-transform: uppercase;
}

.booking-form label span {
  color: var(--hot);
  font-size: 0.68rem;
  margin-left: 0.2rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  min-height: 2.8rem;
  padding: 0.72rem 0.8rem;
  width: 100%;
}

.booking-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: rgba(220, 227, 245, 0.52);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(30, 123, 255, 0.24);
}

.booking-form select option {
  background: #111520;
  color: #ffffff;
}

.wide-field,
.booking-form .form-error,
.booking-form .button {
  grid-column: 1 / -1;
}

.waiver-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.waiver-box h3 {
  margin-bottom: 0;
}

.waiver-box p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.waiver-list {
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
  line-height: 1.5;
  margin: 0;
  max-height: 18rem;
  overflow: auto;
  padding: 0 0.25rem 0 1.15rem;
}

.waiver-list li {
  padding-right: 0.5rem;
}

.form-error {
  color: #ffb5b5;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.prep-grid {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
}

.prep-list {
  display: grid;
  gap: 0.8rem;
}

.prep-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 3.2rem;
  position: relative;
}

.prep-list li::before {
  background: var(--purple);
  border-radius: 7px;
  color: #ffffff;
  content: "OK";
  font-size: 0.7rem;
  font-weight: 900;
  left: 1rem;
  line-height: 1.55rem;
  position: absolute;
  text-align: center;
  top: 1rem;
  width: 1.7rem;
}

.cta-band {
  background: var(--paper);
  color: var(--ink);
}

.cta-content {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.cta-content h2 {
  color: var(--ink);
  margin-bottom: 0;
}

.footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.form-success,
.notice.success {
  color: #b7ff84;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.45;
  margin: 1rem 0 0;
}

.policy-note {
  border-left: 4px solid var(--hot);
  color: #ffffff;
  font-weight: 800;
  padding-left: 1rem;
}

.admin-body {
  background:
    linear-gradient(180deg, rgba(30, 123, 255, 0.14), rgba(7, 8, 13, 0) 18rem),
    var(--background);
}

.admin-shell {
  margin: 0 auto;
  max-width: 1360px;
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-topbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-topbar .brand {
  color: #ffffff;
}

.admin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-actions span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-hero {
  align-items: end;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 1.5rem;
}

.admin-hero h1,
.login-panel h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 0.7rem;
}

.admin-hero p,
.login-panel p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.admin-stats {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 420px;
}

.stat-card,
.admin-panel,
.booking-editor,
.login-panel {
  background: rgba(17, 21, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-card {
  padding: 1rem;
}

.stat-card span {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.stat-card strong {
  color: #ffffff;
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.notice {
  border: 1px solid rgba(183, 255, 132, 0.32);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
}

.notice.error {
  border-color: rgba(255, 181, 181, 0.32);
  color: #ffb5b5;
  font-weight: 900;
}

.admin-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.admin-side {
  display: grid;
  gap: 1rem;
}

.admin-panel {
  padding: 1rem;
}

.admin-panel h2,
.booking-editor h2 {
  font-size: 1.25rem;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.admin-panel p,
.empty-state {
  color: var(--muted);
  line-height: 1.6;
}

.admin-form,
.booking-edit-form,
.login-form {
  display: grid;
  gap: 0.75rem;
}

.admin-form.two-col,
.booking-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form label,
.booking-edit-form label,
.content-editor label,
.login-form label {
  color: #ffffff;
  display: grid;
  font-size: 0.75rem;
  font-weight: 900;
  gap: 0.35rem;
  text-transform: uppercase;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.booking-edit-form input,
.booking-edit-form select,
.booking-edit-form textarea,
.content-editor input,
.content-editor textarea,
.login-form input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  min-height: 2.7rem;
  padding: 0.7rem 0.75rem;
  width: 100%;
}

.check-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  justify-content: flex-start;
}

.check-row input {
  min-height: 0;
  width: auto;
}

.admin-form textarea,
.booking-edit-form textarea,
.content-editor textarea {
  min-height: 5rem;
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.booking-edit-form input:focus,
.booking-edit-form select:focus,
.booking-edit-form textarea:focus,
.content-editor input:focus,
.content-editor textarea:focus,
.login-form input:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(30, 123, 255, 0.24);
}

.admin-form select option,
.booking-edit-form select option {
  background: #111520;
}

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

.admin-button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

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

.content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.content-tabs a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.65rem 0.8rem;
  text-transform: uppercase;
}

.content-editor {
  display: grid;
  gap: 1rem;
}

.content-section {
  scroll-margin-top: 1rem;
}

.content-fields {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  margin: 0;
  padding: 1rem;
}

.content-fieldset legend {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 0.35rem;
  text-transform: uppercase;
}

.muted-help {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-edit-grid {
  display: grid;
  gap: 1rem;
}

.service-edit-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
}

.sticky-save {
  align-items: center;
  background: rgba(7, 8, 13, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 0.8rem;
  position: sticky;
  z-index: 5;
}

.button.danger {
  background: #ff3b45;
  border: 1px solid #ff3b45;
  color: #ffffff;
}

.button.danger:hover,
.button.danger:focus-visible {
  background: #c92731;
  border-color: #c92731;
}

.button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.blocked-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.blocked-list li {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  padding: 0.6rem;
}

.blocked-list span {
  color: #ffffff;
  font-weight: 900;
}

.media-list {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.media-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem;
}

.media-list strong,
.media-list span {
  display: block;
}

.media-list strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.media-summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.65rem;
}

.media-list span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.media-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bookings-column {
  display: grid;
  gap: 1rem;
}

.booking-editor {
  padding: 1rem;
}

.booking-editor header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.booking-editor h3 {
  margin-bottom: 0.3rem;
}

.booking-meta {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.linked-media {
  background: rgba(30, 123, 255, 0.12);
  border: 1px solid rgba(30, 123, 255, 0.24);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
}

.linked-media strong {
  color: #ffffff;
  width: 100%;
}

.linked-media a {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.45rem 0.65rem;
}

.status-badge {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.35rem 0.55rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pending {
  background: rgba(255, 200, 87, 0.18);
  color: #ffd98a;
}

.status-confirmed {
  background: rgba(30, 123, 255, 0.2);
  color: #9fc4ff;
}

.status-completed {
  background: rgba(183, 255, 132, 0.16);
  color: #b7ff84;
}

.status-canceled {
  background: rgba(255, 181, 181, 0.16);
  color: #ffb5b5;
}

.login-page {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 2rem);
}

.login-panel {
  margin: 0 auto;
  max-width: 520px;
  padding: clamp(1.25rem, 4vw, 2rem);
  width: 100%;
}

.login-panel .brand {
  margin-bottom: 1.5rem;
}

@media (max-width: 980px) {
.hero {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-strip {
    bottom: auto;
    left: auto;
    margin: 0 clamp(1rem, 4vw, 3rem) 2rem;
    position: relative;
    transform: none;
    width: auto;
  }

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

  .intro-band,
  .section-heading.split,
  .process-grid,
  .booking-grid,
  .prep-grid,
  .admin-hero,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    min-width: 0;
  }
}

.compact-hero {
  min-height: auto;
}

.compact-hero .hero-content {
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(3rem, 8vw, 5rem);
}

.compact-hero .hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.compact-band {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.split-cta {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.split-cta h2 {
  margin-bottom: 0;
}

.page-booking {
  border-top: 1px solid var(--line);
}

.empty-public-state {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.empty-public-state h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

@media (max-width: 720px) {
  .topbar,
  .admin-topbar,
  .cta-content,
  .split-cta,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-strip,
  .service-grid,
  .media-grid,
  .package-grid,
  .booking-form,
  .admin-stats,
  .admin-form.two-col,
  .booking-edit-form,
  .content-fields,
  .service-edit-card {
    grid-template-columns: 1fr;
  }

  .hero-strip div {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }
}
