:root {
  --ink: #101113;
  --ink-soft: #2d3034;
  --paper: #fbfaf7;
  --white: #ffffff;
  --muted: #6f746f;
  --line: #ddd8cc;
  --panel: #f1eee6;
  --gold: #b99548;
  --gold-soft: #e2c987;
  --teal: #176d67;
  --red: #9d2d2a;
  --shadow: 0 18px 45px rgba(16, 17, 19, 0.11);
}

/* Direction premium Luxovue 2026 */
:root {
  --ink: #07111f;
  --ink-soft: #263245;
  --paper: #f8f5ee;
  --white: #ffffff;
  --muted: #6d716f;
  --line: #ddd3bf;
  --panel: #eee8dc;
  --gold: #cda34d;
  --gold-soft: #f1d58a;
  --teal: #9a742e;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.14);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(205, 163, 77, 0.08), transparent 30rem),
    var(--paper);
}

.site-header {
  color: var(--white);
  background: rgba(7, 17, 31, 0.94);
  border-bottom-color: rgba(241, 213, 138, 0.24);
}

.nav-wrap {
  min-height: 88px;
}

.brand {
  min-width: 260px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  background: #07111f;
  border-color: rgba(241, 213, 138, 0.35);
  border-radius: 14px;
}

.brand-name {
  color: var(--gold-soft);
  font-size: 1.04rem;
}

.brand-tag {
  color: rgba(255, 255, 255, 0.62);
}

.main-nav {
  color: rgba(255, 255, 255, 0.76);
  gap: 18px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.main-nav .nav-focus {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(241, 213, 138, 0.28);
}

.main-nav .nav-focus:hover,
.main-nav .nav-focus:focus-visible {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.solid-button {
  color: #17120a;
  background: linear-gradient(135deg, #f5dc98 0%, #c79637 55%, #f0cf77 100%);
  border-color: rgba(255, 232, 164, 0.7);
  box-shadow: 0 10px 26px rgba(172, 126, 38, 0.22);
}

.outline-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(205, 163, 77, 0.55);
}

.site-header .ghost-button,
.site-header .outline-button {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(241, 213, 138, 0.34);
}

.site-header .solid-button {
  white-space: nowrap;
}

.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(205, 163, 77, 0.2), transparent 26rem),
    linear-gradient(135deg, #07111f 0%, #0d1c31 56%, #07111f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 48%, rgba(241, 213, 138, 0.05) 48.2%, transparent 48.7%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 690px;
  padding: 82px 0 70px;
}

.hero-copy h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(3rem, 6.2vw, 6.35rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.18rem;
}

.section-kicker {
  color: #a67625;
  letter-spacing: 0.18em;
}

.hero .section-kicker,
.response-hero .section-kicker,
.response-aside .section-kicker,
.payment-reassurance .section-kicker {
  color: var(--gold-soft);
}

.hero .outline-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(241, 213, 138, 0.46);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -12px 20px 20px -12px;
  border: 1px solid rgba(241, 213, 138, 0.42);
  border-radius: 22px;
}

.hero-media img {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(241, 213, 138, 0.22);
  border-radius: 18px;
}

.hero-media figcaption {
  border-color: rgba(241, 213, 138, 0.26);
  border-radius: 12px;
}

.metric-strip span {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(241, 213, 138, 0.17);
  border-radius: 12px;
}

.metric-strip strong {
  color: var(--gold-soft);
}

.section {
  padding: 96px 0;
}

.section-heading h2 {
  letter-spacing: -0.025em;
}

.quick-menu a,
.offer-card,
.tariff-card,
.response-card,
.tool-panel,
.media-card,
.review-card {
  border-radius: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.quick-menu a:hover,
.offer-card:hover,
.response-card:hover,
.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 163, 77, 0.65);
  box-shadow: var(--shadow);
}

.offer-card.emphasized {
  background: linear-gradient(145deg, #07111f, #12243d);
  border-color: rgba(241, 213, 138, 0.45);
}

.tariff-card {
  background: rgba(255, 255, 255, 0.8);
}

.payment-reassurance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 28px;
  padding: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(205, 163, 77, 0.2), transparent 22rem),
    var(--ink);
  border: 1px solid rgba(241, 213, 138, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.payment-reassurance h3,
.payment-reassurance p {
  margin: 0;
}

.payment-reassurance h3 {
  margin-top: 7px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.payment-reassurance p:not(.section-kicker) {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.payment-reassurance-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.payment-reassurance .outline-button {
  color: var(--gold-soft);
  background: transparent;
  border-color: rgba(241, 213, 138, 0.4);
}

.agency-study-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 18%, rgba(205, 163, 77, 0.18), transparent 26rem),
    #e9e1d2;
}

.agency-study-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 54px;
  align-items: center;
}

.study-qr-card {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 26px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(150deg, #07111f, #142b49);
  border: 1px solid rgba(241, 213, 138, 0.4);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.study-qr-card > span {
  color: var(--gold-soft);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.study-qr-code {
  width: 210px;
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: 13px;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: var(--white);
  border: 5px solid var(--gold-soft);
  border-radius: 12px;
}

.study-qr-code svg {
  width: 100%;
  height: auto;
}

.study-url-note {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.response-heading {
  margin-top: 70px;
}

.admin-intro-card {
  margin-bottom: 18px;
  padding: 18px;
  background: #fff8e7;
  border: 1px solid rgba(205, 163, 77, 0.42);
  border-radius: 12px;
}

.admin-intro-card p {
  margin: 5px 0 0;
  color: var(--muted);
}

.response-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(205, 163, 77, 0.2), transparent 24rem),
    linear-gradient(135deg, #07111f, #122640);
}

.response-hero p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.response-aside {
  background:
    radial-gradient(circle at 100% 0, rgba(205, 163, 77, 0.18), transparent 16rem),
    var(--ink);
  border: 1px solid rgba(241, 213, 138, 0.25);
  border-radius: 18px;
}

.response-form {
  border-color: rgba(205, 163, 77, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.study-hero {
  padding: 78px 0 54px;
}

.study-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.study-trust-row span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(241, 213, 138, 0.24);
  border-radius: 999px;
  font-size: 0.86rem;
}

.study-layout {
  grid-template-columns: minmax(270px, 0.62fr) minmax(520px, 1.38fr);
}

.study-aside {
  position: sticky;
  top: 112px;
}

.study-highlight {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-soft), #c79538);
  border-radius: 12px;
}

.study-highlight span {
  font-size: 0.88rem;
}

.study-form {
  gap: 18px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 16px;
  color: var(--white);
  background: var(--ink);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-section-title > span {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.form-section-title div {
  display: grid;
}

.form-section-title small {
  color: rgba(255, 255, 255, 0.62);
}

.study-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.study-checkboxes legend {
  padding: 0 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

.study-checkboxes label {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 9px;
  padding: 11px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 8px;
}

.study-checkboxes label:has(input:checked) {
  background: #fff7df;
  border-color: var(--gold);
}

.study-checkboxes input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.form-submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: #fff8e7;
  border: 1px solid rgba(205, 163, 77, 0.44);
  border-radius: 12px;
}

.form-submit-panel > div {
  display: grid;
  gap: 4px;
}

.form-submit-panel span {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1060px) {
  .agency-study-lead,
  .payment-reassurance,
  .study-layout {
    grid-template-columns: 1fr;
  }

  .study-qr-card {
    max-width: 360px;
  }

  .study-aside {
    position: static;
  }

  .main-nav {
    background: #0b192b;
    border-color: rgba(241, 213, 138, 0.28);
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .hero-layout {
    min-height: auto;
    padding: 58px 0 46px;
  }

  .hero-copy h1 {
    font-size: 3.05rem;
  }

  .hero-media img {
    min-height: 300px;
  }

  .hero-media::before {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .study-checkboxes {
    grid-template-columns: 1fr;
  }

  .form-submit-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-reassurance,
  .study-qr-card {
    padding: 22px;
  }

  .study-qr-card {
    max-width: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(185, 149, 72, 0.22);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-name {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.32em;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--teal);
  border-color: var(--teal);
}

.main-nav .nav-focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  white-space: nowrap;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.main-nav .nav-focus:hover,
.main-nav .nav-focus:focus-visible {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.solid-button,
.outline-button,
.ghost-button,
.danger-button,
.file-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 16px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.solid-button {
  color: var(--white);
  background: var(--ink);
}

.outline-button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.ghost-button {
  color: var(--ink);
  background: transparent;
  border-color: rgba(16, 17, 19, 0.15);
}

.danger-button {
  color: var(--white);
  background: var(--red);
}

.file-button {
  position: relative;
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  overflow: hidden;
}

.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.solid-button:hover,
.outline-button:hover,
.ghost-button:hover,
.danger-button:hover,
.file-button:hover {
  transform: translateY(-1px);
}

.compact {
  min-height: 38px;
  padding: 8px 12px;
}

.full {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.icon-button {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.icon-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(16, 17, 19, 0.05), transparent 42%),
    var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions,
.tv-actions,
.heading-tools,
.backup-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(16, 17, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.metric-strip span {
  display: grid;
  gap: 3px;
  min-height: 70px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-strip strong {
  color: var(--teal);
  font-size: 1.15rem;
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--panel);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
}

.section-heading p:not(.section-kicker) {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.quick-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.quick-menu a,
.offer-card,
.media-card,
.review-card,
.guide-card,
.response-card,
.tool-panel,
.contact-form,
.contact-block,
.remote-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 17, 19, 0.06);
}

.quick-menu a {
  min-height: 172px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.quick-menu span {
  color: var(--gold);
  font-weight: 900;
}

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

.guide-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 22px;
}

.guide-card span {
  color: var(--gold);
  font-weight: 900;
}

.guide-card h3,
.guide-card p {
  margin: 0;
}

.guide-card p,
.guide-note p {
  color: var(--muted);
}

.guide-page .section-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.guide-note {
  margin-top: 18px;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.guide-note h2 {
  margin: 0 0 8px;
}

.guide-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.quick-menu strong {
  font-size: 1.2rem;
}

.quick-menu small,
.panel-note,
.media-card p,
.review-card p,
.offer-card p,
.remote-panel p {
  color: var(--muted);
}

.segmented {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.segmented.wide {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

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

.segmented button {
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.segmented button.active {
  background: var(--ink);
  color: var(--white);
}

.media-search {
  display: grid;
  gap: 8px;
  margin: -10px 0 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-search label {
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.media-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

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

.media-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #17191c;
}

.media-thumb img,
.media-thumb video,
.media-thumb iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.dialog-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050507;
}

.dialog-media-frame video,
.dialog-media-frame img,
.dialog-media-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
}

.video-qr-watermark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(82%, 310px);
  padding: 7px;
  color: var(--white);
  background: rgba(5, 5, 7, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.video-qr-code {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  padding: 4px;
  background: var(--white);
  border-radius: 6px;
}

.video-qr-code svg {
  width: 100%;
  height: 100%;
}

.video-qr-label {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.video-qr-label strong,
.video-qr-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-qr-label strong {
  color: var(--gold-soft);
  font-size: 0.76rem;
}

.video-qr-label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
}

.media-thumb .video-qr-watermark {
  right: 8px;
  bottom: 8px;
  gap: 0;
  padding: 5px;
}

.media-thumb .video-qr-code {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.media-thumb .video-qr-label {
  display: none;
}

.media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  background: linear-gradient(135deg, #111315, #28433f);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(16, 17, 19, 0.78);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.media-content {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.media-content h3,
.offer-card h3,
.review-card h3,
.tool-panel h3 {
  margin: 0;
}

.media-content p,
.review-card p,
.offer-card p {
  margin: 0;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.estimator-layout,
.reviews-layout,
.contact-layout,
.tv-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.tool-panel {
  padding: 24px;
}

.estimator-copy {
  align-self: stretch;
}

.estimator-benefits {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.estimator-benefits span {
  display: grid;
  gap: 3px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.estimator-benefits strong {
  color: var(--teal);
}

.estimator-panel {
  display: grid;
  gap: 16px;
}

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

.estimator-fields label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 700;
}

.range-label {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 -6px;
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.check-row small {
  display: block;
  margin-top: 2px;
  color: var(--teal);
  font-weight: 800;
}

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

.price-box {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.price-box strong {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.price-box small {
  color: rgba(255, 255, 255, 0.72);
}

.estimate-summary {
  display: grid;
  gap: 5px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.estimate-summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.price-box .outline-button {
  color: var(--ink);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

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

.offer-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.offer-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.offer-card li + li {
  margin-top: 4px;
}

.offer-card .solid-button {
  width: max-content;
  margin-top: 6px;
}

.offer-card span {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
}

.offer-card strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.12rem;
}

.offer-card.emphasized {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.offer-card.emphasized p {
  color: rgba(255, 255, 255, 0.72);
}

.offer-card.emphasized ul {
  color: rgba(255, 255, 255, 0.72);
}

.offer-card.emphasized strong,
.offer-card.emphasized span {
  color: var(--gold-soft);
}

.offer-card.emphasized .solid-button {
  color: var(--ink);
  background: var(--gold-soft);
}

.offer-profile-tabs {
  max-width: 420px;
}

.tariff-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  margin-top: 18px;
}

.tariff-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 17, 19, 0.06);
}

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

.tariff-card h3,
.tariff-card p {
  margin: 0;
}

.tariff-card p {
  color: var(--muted);
}

.tariff-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tariff-table th,
.tariff-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.tariff-table tr:last-child th,
.tariff-table tr:last-child td {
  border-bottom: 0;
}

.tariff-table th {
  color: var(--ink-soft);
  font-weight: 700;
}

.tariff-table td {
  width: 150px;
  color: var(--ink);
  font-weight: 900;
}

.options-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.options-list li {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.options-list span {
  color: var(--muted);
}

.options-list strong {
  color: var(--ink);
}

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

.response-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 24px;
}

.response-card span {
  color: var(--gold);
  font-weight: 900;
}

.response-card h3,
.response-card p {
  margin: 0;
}

.response-card p {
  color: var(--muted);
}

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

.review-card {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.stack-form,
.admin-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.stack-form label,
.admin-form label,
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

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

.tv-section {
  color: var(--white);
  background: #070809;
}

.tv-section .section-kicker {
  color: var(--gold-soft);
}

.tv-section p {
  color: rgba(255, 255, 255, 0.76);
}

.remote-panel {
  padding: 24px;
  color: var(--ink);
}

.remote-panel > span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
}

.remote-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

kbd {
  display: grid;
  min-height: 54px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.contact-layout {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-block {
  padding: 26px;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.contact-block .section-kicker {
  color: var(--gold-soft);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.64);
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.span-2 {
  grid-column: 1 / -1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-layout {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(16, 17, 19, 0.66);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 17, 19, 0.86);
  font-size: 1.7rem;
  line-height: 1;
}

.media-dialog {
  width: min(980px, calc(100% - 28px));
}

#dialogMedia {
  overflow: hidden;
  color: var(--white);
  background: #050507;
  border-radius: 8px;
}

#dialogMedia img,
#dialogMedia video,
#dialogMedia iframe {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 0;
  background: #050507;
}

.dialog-caption {
  padding: 18px;
}

.dialog-caption .dialog-meta {
  color: var(--gold-soft);
  font-weight: 800;
}

.qr-dialog {
  width: min(920px, calc(100% - 24px));
}

.qr-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  background: var(--paper);
  border-radius: 8px;
}

.qr-code-box {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-code-box svg {
  width: 100%;
  max-width: 250px;
  height: auto;
}

.qr-info {
  display: grid;
  align-content: start;
  gap: 14px;
}

.qr-info h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.qr-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.qr-details div {
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-details dt,
.qr-details dd {
  margin: 0;
}

.qr-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.qr-details dd {
  margin-top: 4px;
  font-weight: 800;
}

.qr-link-label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-dialog {
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100vh - 36px);
}

.admin-shell {
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  max-height: calc(100vh - 36px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
}

.admin-side {
  padding: 26px;
  color: var(--white);
  background: var(--ink);
}

.admin-side img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: 8px;
}

.admin-side h2 {
  margin: 0 0 10px;
}

.admin-side p {
  color: rgba(255, 255, 255, 0.72);
}

.admin-status {
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--gold-soft);
  font-weight: 800;
}

.admin-content {
  overflow: auto;
  padding: 28px;
}

.login-panel {
  max-width: 420px;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-panel h3 {
  margin: 0;
}

.login-panel p {
  margin: 0;
  color: var(--muted);
}

.admin-tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  background: var(--paper);
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.admin-tabs button.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

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

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-item h4,
.admin-item p {
  margin: 0;
}

.admin-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.backup-actions {
  margin-bottom: 16px;
}

#configPreview {
  min-height: 360px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  max-width: min(520px, calc(100% - 28px));
  transform: translate(-50%, 140%);
  padding: 12px 16px;
  color: var(--white);
  background: rgba(16, 17, 19, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease;
}

.toast.show {
  transform: translate(-50%, 0);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.tv-body {
  overflow: hidden;
  background: #050507;
}

.tv-app {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: var(--white);
  background: #050507;
}

.tv-header,
.tv-footer {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(10px);
}

.tv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tv-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.tv-header-actions {
  display: flex;
  gap: 10px;
}

.tv-small-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.tv-stage {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.tv-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  height: 5px;
  background: rgba(255, 255, 255, 0.16);
}

.tv-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold-soft);
}

.tv-media {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  background: #050507;
}

.tv-media-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  background: #050507;
}

.tv-media img,
.tv-media video,
.tv-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.tv-media video {
  object-fit: contain;
}

.tv-media-inner .video-qr-watermark.for-tv {
  right: 34px;
  top: 34px;
  bottom: auto;
  padding: 10px;
  gap: 10px;
  background: rgba(5, 5, 7, 0.76);
}

.tv-media-inner .video-qr-code {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
}

.tv-media-inner .video-qr-label strong {
  font-size: 1rem;
}

.tv-media-inner .video-qr-label span {
  font-size: 0.9rem;
}

.tv-caption {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  z-index: 2;
  max-width: 860px;
  padding: 22px;
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.88), rgba(5, 5, 7, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.tv-caption p,
.tv-caption h1,
.tv-caption span {
  margin: 0;
}

.tv-caption p {
  color: var(--gold-soft);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tv-caption h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.02;
}

.tv-caption span {
  display: block;
  max-width: 720px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.tv-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 62px;
  height: 82px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(5, 5, 7, 0.62);
  border-radius: 8px;
  font-size: 3rem;
  line-height: 1;
}

.tv-prev {
  left: 20px;
}

.tv-next {
  right: 20px;
}

.tv-counter,
.tv-help {
  color: rgba(255, 255, 255, 0.7);
}

.response-body {
  min-height: 100vh;
}

.response-hero {
  padding: 64px 0 34px;
  background: var(--panel);
}

.response-hero h1 {
  margin: 10px 0 0;
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.04;
}

.response-hero p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.response-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: start;
}

.response-aside {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.response-aside h2,
.response-aside p {
  margin: 0;
}

.response-aside p,
.response-aside li {
  color: rgba(255, 255, 255, 0.72);
}

.response-aside ul {
  margin: 0;
  padding-left: 18px;
}

.response-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 17, 19, 0.06);
}

.response-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 700;
}

.response-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1060px) {
  .hero-layout,
  .estimator-layout,
  .reviews-layout,
  .contact-layout,
  .tv-layout,
  .tariff-layout,
  .response-layout {
    grid-template-columns: 1fr;
  }

  .quick-menu,
  .offer-grid,
  .guide-grid,
  .response-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav-wrap {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    letter-spacing: 0.2em;
  }

  .brand-tag {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: stretch;
  }

  .header-actions > * {
    flex: 1;
  }

  .hero-layout {
    padding: 44px 0 38px;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .metric-strip,
  .quick-menu,
  .offer-grid,
  .guide-grid,
  .response-grid,
  .media-grid,
  .review-grid,
  .options-list,
  .option-grid,
  .estimator-fields,
  .contact-form,
  .admin-form,
  .response-form {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .heading-tools,
  .footer-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .segmented.wide.three,
  .offer-profile-tabs {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-media figcaption {
    position: static;
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
    margin-top: 10px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .media-search > div,
  .qr-shell,
  .qr-details {
    grid-template-columns: 1fr;
  }

  .admin-side {
    display: none;
  }

  .admin-content {
    padding: 18px;
  }

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

  .admin-actions {
    justify-content: start;
  }

  .tv-header,
  .tv-footer {
    padding: 12px;
    flex-wrap: wrap;
  }

  .tv-header-actions {
    width: 100%;
  }

  .tv-header-actions > * {
    flex: 1;
  }

  .tv-media {
    min-height: calc(100vh - 190px);
  }

  .tv-media-inner {
    min-height: calc(100vh - 190px);
  }

  .tv-media-inner .video-qr-watermark.for-tv {
    right: 14px;
    top: 14px;
  }

  .tv-media-inner .video-qr-code {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .tv-caption {
    left: 14px;
    right: 14px;
    bottom: 16px;
  }

  .tv-nav {
    display: none;
  }
}

/* Overrides placés en fin de feuille pour garantir la direction premium. */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(205, 163, 77, 0.08), transparent 30rem),
    var(--paper);
}

.site-header {
  color: var(--white);
  background: rgba(7, 17, 31, 0.94);
  border-bottom-color: rgba(241, 213, 138, 0.24);
}

.nav-wrap { min-height: 98px; }
.brand {
  min-width: 310px;
  padding: 5px 13px 5px 6px;
  border: 1px solid rgba(241, 213, 138, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-logo {
  width: 112px;
  height: 54px;
  padding: 3px;
  object-fit: cover;
  background: #f8f1df;
  border: 2px solid #e9c66f;
  border-radius: 10px;
  box-shadow:
    0 0 0 3px rgba(241, 213, 138, 0.12),
    0 9px 22px rgba(0, 0, 0, 0.42),
    inset 0 0 14px rgba(205, 163, 77, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-logo {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(241, 213, 138, 0.2),
    0 13px 28px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(241, 213, 138, 0.16);
}

.brand-name {
  color: var(--gold-soft);
  text-shadow: 0 2px 10px rgba(205, 163, 77, 0.22);
}
.brand-tag { color: rgba(255, 255, 255, 0.62); }

.main-nav {
  color: rgba(255, 255, 255, 0.76);
  gap: 18px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-soft);
  border-color: var(--gold);
}

.site-header .ghost-button,
.site-header .outline-button {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(241, 213, 138, 0.34);
}

.solid-button {
  color: #17120a;
  background: linear-gradient(135deg, #f5dc98 0%, #c79637 55%, #f0cf77 100%);
  border-color: rgba(255, 232, 164, 0.7);
  box-shadow: 0 10px 26px rgba(172, 126, 38, 0.22);
}

.outline-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(205, 163, 77, 0.55);
}

.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(205, 163, 77, 0.2), transparent 26rem),
    linear-gradient(135deg, #07111f 0%, #0d1c31 56%, #07111f 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 690px;
  padding: 82px 0 70px;
}

.hero-copy h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(3rem, 6.2vw, 6.35rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.18rem;
}

.hero .outline-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.hero-media img {
  position: relative;
  min-height: 470px;
  border-radius: 18px;
}

.metric-strip span {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(241, 213, 138, 0.17);
  border-radius: 12px;
}

.metric-strip strong { color: var(--gold-soft); }
.section { padding: 96px 0; }
.section-kicker { color: #a67625; }

.response-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(205, 163, 77, 0.2), transparent 24rem),
    linear-gradient(135deg, #07111f, #122640);
}

.response-hero p:not(.section-kicker) { color: rgba(255, 255, 255, 0.7); }

.response-aside {
  background:
    radial-gradient(circle at 100% 0, rgba(205, 163, 77, 0.18), transparent 16rem),
    var(--ink);
  border-radius: 18px;
}

.response-form {
  border-color: rgba(205, 163, 77, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 1060px) {
  .main-nav {
    background: #0b192b;
    border-color: rgba(241, 213, 138, 0.28);
  }
}

@media (max-width: 760px) {
  .nav-wrap { min-height: auto; }
  .brand { min-width: 0; padding: 4px 8px 4px 4px; }
  .brand-logo { width: 82px; height: 42px; border-radius: 8px; }
  .hero-layout { min-height: auto; padding: 58px 0 46px; }
  .hero-copy h1 { font-size: 3.05rem; }
  .hero-media img { min-height: 300px; }
  .section { padding: 70px 0; }
}
