:root {
  --cyan: #14a8d8;
  --cyan-deep: #0c7eab;
  --ink: #1c2830;
  --charcoal: #1b242c;
  --muted: #5c7080;
  --ice: #f7fbfd;
  --line: rgba(28, 40, 48, 0.12);
  --line-strong: rgba(28, 40, 48, 0.2);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: var(--sans); font-size: 16.5px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); }
p { text-wrap: pretty; }
::selection { background: #14a8d8; color: white; }

body.site { background: #fff; color: #425664; color-scheme: light; }
body.admin {
  --ice: #f4f8fb;
  --muted: #9eb0bd;
  --line: rgba(214, 232, 242, 0.12);
  --line-strong: rgba(214, 232, 242, 0.22);
  --ink: #122028;
  background: #0e141a;
  color: var(--ice);
  color-scheme: dark;
}
body.admin h1, body.admin h2, body.admin h3 { font-family: var(--serif); font-weight: 500; color: var(--ice); }

.skip { position: absolute; left: 16px; top: -48px; z-index: 80; background: white; color: var(--ink); padding: 8px 12px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.chrome { position: sticky; top: 0; z-index: 40; background: white; box-shadow: 0 1px 0 rgba(28, 40, 48, 0.08); }
.topbar { background: var(--charcoal); color: #d5e4ee; font-size: 13px; }
.topbar-row { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: white; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-header { background: white; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 52px; height: 52px; flex: none; overflow: hidden; border-radius: 8px; background: #fff; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { color: var(--charcoal); font-size: 18px; letter-spacing: 0.08em; }
.brand-text small { color: #6d808c; font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .nav-drop summary {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  background: transparent;
  border-radius: 0;
}
.site-nav > a:hover, .nav-drop summary:hover, .site-nav > a.is-active, .nav-drop.is-active summary { color: var(--cyan-deep); background: transparent; }
.site-nav > a.is-active, .nav-drop.is-active summary { box-shadow: inset 0 -2px 0 var(--cyan); }
.site-nav > a.btn-primary,
.site-nav > a.btn-primary:hover,
.site-nav > a.btn-primary:focus,
.site-nav > a.btn-primary:active {
  background: #0b6e96;
  color: #fff;
  box-shadow: none;
}
.site-nav > a.btn-primary:hover,
.site-nav > a.btn-primary:focus { background: var(--charcoal); }
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; cursor: pointer; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary:after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: #8aa0ac; transform: translateY(2px); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; display: grid; padding: 8px;
  background: white; border: 1px solid #e4ecef; box-shadow: 0 16px 40px rgba(20, 36, 48, 0.12);
  opacity: 0; visibility: hidden;
}
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel, .nav-drop[open] .nav-drop-panel { opacity: 1; visibility: visible; }
.nav-drop-panel a { text-decoration: none; padding: 10px 12px; color: var(--ink); font-size: 14.5px; }
.nav-drop-panel a:hover { background: #f3fbfe; color: var(--cyan-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.nav-toggle-lines, .nav-toggle-lines:before, .nav-toggle-lines:after { display: block; width: 18px; height: 1.5px; background: var(--charcoal); position: relative; }
.nav-toggle-lines { margin: 0 auto; }
.nav-toggle-lines:before, .nav-toggle-lines:after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines:before { top: -6px; }
.nav-toggle-lines:after { top: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 3px; text-decoration: none; font-weight: 700; cursor: pointer; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-primary { background: var(--cyan); color: white; }
.btn-primary:hover { background: var(--cyan-deep); }
.btn-light { background: white; color: var(--cyan-deep); }
.btn-ghost { background: transparent; color: white; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.band-paper .btn-ghost, .wizard .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px #c9d6de; }

.ha-hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(16, 26, 34, 0.88) 0%, rgba(16, 26, 34, 0.55) 48%, rgba(16, 26, 34, 0.15) 100%),
    url("/public/brc/callcenter2.jpg") center 42% / cover no-repeat;
}
.ha-hero-copy { padding: 72px 0 110px; }
.kicker { margin: 0 0 12px; color: #9ae6ff; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ha-hero h1 { margin: 0; max-width: 14ch; color: white; font-size: clamp(42px, 5.4vw, 68px); }
.ha-hero h1 span { color: #8fe4ff; }
.ha-hero p { max-width: 48ch; color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.ha-trio { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -70px; }
.ha-trio article { background: white; padding: 26px 22px 22px; box-shadow: 0 14px 36px rgba(20, 36, 48, 0.12); }
.ha-trio h2 { margin: 14px 0 8px; font-size: 22px; }
.ha-trio p { margin: 0 0 14px; color: var(--muted); }
.ha-trio a, .more { color: var(--cyan-deep); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ha-trio a svg, .more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ha-ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgba(20, 168, 216, 0.12); color: var(--cyan-deep); }
.ha-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.brand-stage { margin-top: 56px; background: #0b1438; }
.product-line figure { transition: transform 0.2s ease; }
.product-line a:hover figure { transform: translateY(-3px); }
.brand-film { display: block; }
.brand-film img { display: block; width: 100%; height: auto; }
.product-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0 36px; }
.product-line a { text-decoration: none; }
.product-line figure { margin: 0; min-height: 228px; display: grid; grid-template-rows: 1fr auto; align-items: center; padding: 18px 14px 14px; background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #e4edf2 78%); }
.product-line img { width: 100%; height: 168px; object-fit: contain; }
.product-line figcaption { text-align: center; color: #1b242c; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; }

.ha-banner { margin-top: 0; background: var(--cyan-deep); color: white; }
.ha-banner .wrap { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ha-banner h2 { margin: 0; color: white; font-size: clamp(26px, 3vw, 34px); max-width: 18ch; }

.ha-features { padding: 72px 0 28px; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2, .ha-process h2, .ha-watch h2 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 44px); }
.section-head p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.feature-grid article { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; }
.feature-grid h3 { margin: 0 0 6px; font-size: 22px; }
.feature-grid h3 a { color: inherit; text-decoration: none; }
.feature-grid p { margin: 0; color: var(--muted); }

.ha-quote { background: #f4f7f8; padding: 28px 0 72px; }
.quote-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; background: white; box-shadow: 0 18px 50px rgba(20, 36, 48, 0.08); }
.quote-intro { background: var(--charcoal); color: white; padding: 36px 32px; }
.quote-intro h2 { margin: 0 0 12px; color: white; font-size: clamp(32px, 3vw, 44px); }
.quote-intro p { color: #c5d6e0; }
.quote-intro ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.quote-intro li { display: flex; align-items: center; gap: 8px; }
.quote-intro svg { width: 18px; height: 18px; fill: none; stroke: #8fe4ff; stroke-width: 1.8; }
.wizard { padding: 26px 26px 22px; }
.wizard-meter { list-style: none; display: flex; gap: 8px; margin: 0 0 18px; padding: 0; }
.wizard-meter li { flex: 1; padding-bottom: 8px; border-bottom: 3px solid #e3ebef; color: #8aa0ac; font-size: 13px; font-weight: 700; }
.wizard-meter li.is-current { border-color: var(--cyan); color: var(--cyan-deep); }
.wizard-meter li.is-done { border-color: #8fd0ea; color: var(--ink); }
.step { display: none; }
.step.is-current { display: block; }
.step h3 { margin: 0 0 14px; font-size: 26px; }
.choice-hint { margin: -6px 0 12px; color: var(--muted); font-size: 14px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; place-items: center; min-height: 64px; padding: 8px; border: 1px solid #d7e2e8; text-align: center; font-weight: 700; color: var(--ink); cursor: pointer; background: white; }
.choice input:checked + span { border-color: var(--cyan); background: #f3fbfe; color: var(--cyan-deep); box-shadow: inset 0 0 0 1px var(--cyan); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.wizard-error { color: #9a3412; font-weight: 600; }

.ha-process { padding: 10px 0 72px; background: #f4f7f8; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; }
.steps li { background: white; padding: 24px; box-shadow: 0 8px 24px rgba(20, 36, 48, 0.05); }
.steps h3 { margin: 14px 0 8px; font-size: 26px; }
.steps p { margin: 0; color: var(--muted); }
.ha-watch { padding: 0 0 72px; }
.watch-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center; }
.watch-grid img { width: 100%; height: 360px; object-fit: cover; }
.watch-grid p { color: var(--muted); }

.page-hero { background: var(--charcoal); color: white; padding: 46px 0 40px; }
.page-hero h1 { margin: 0; color: white; font-size: clamp(36px, 5vw, 58px); max-width: 16ch; }
.page-hero.is-wide h1 { max-width: 18em; }
.page-hero .lead, .page-hero .section-kicker { color: #c5d6e0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; color: #9eb0bd; font-size: 14px; }
.crumbs a { color: white; text-decoration: none; }
.page-section { padding: 48px 0 72px; }
.band-paper { background: #f4f7f8; color: #314652; }
.band-paper h2, .band-paper h3 { color: var(--ink); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.split.align-start { align-items: start; }
.prose p { font-size: 18px; }
.prose h2 { margin: 32px 0 10px; font-size: 30px; }
.article-layout { max-width: 820px; }
.article-photo { margin: 0 0 8px; background: #eef3f6; border-radius: 18px; overflow: hidden; }
.article-photo img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: radial-gradient(ellipse at 50% 42%, #ffffff 0%, #e7eef3 80%); }
.article-cta { margin-top: 28px; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-card { display: block; padding: 22px 22px 20px; border: 1px solid #e1eaee; border-radius: 16px; background: white; text-decoration: none; color: inherit; }
.post-card h3 { margin: 6px 0 8px; font-size: 22px; }
.post-card p { margin: 0; color: var(--muted); }
.post-card:hover { border-color: #8fd0ea; }
.guide-more { margin: 18px 0 0; }
.related-posts { margin-top: 36px; }
.related-posts h2 { margin: 0 0 16px; }
.faq { margin-top: 28px; }
.faq h2 { margin: 0 0 8px; font-size: 28px; }
.faq details { border-bottom: 1px solid #e1eaee; padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.frame-photo { margin: 0; }
.frame-photo img { width: 100%; height: 380px; object-fit: cover; }
.frame-photo figcaption, .gallery figcaption, .fine { color: var(--muted); font-size: 13.5px; }
.principle-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.principle-row article { background: white; padding: 18px; box-shadow: 0 8px 24px rgba(20, 36, 48, 0.05); }
.ref-cta { margin-top: 28px; }
.ref-cta h2 { margin: 0 0 8px; }
.ref-cta p { margin: 0 0 14px; color: var(--muted); }
.ref-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.ref-list li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #e1eaee; }
.ref-list strong { font-weight: 600; color: var(--ink); }
.ref-list span { color: var(--muted); text-align: right; }
.principle-row h2 { margin: 0 0 8px; font-size: 28px; }
.principle-row p { margin: 0; color: var(--muted); }
.card-index { margin: 0 0 6px; color: var(--cyan-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.dossier { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid #e1eaee; }
.dossier:first-child { border-top: 0; }
.dossier h2 { margin: 0 0 8px; font-size: 32px; }
.dossier h2 a { color: inherit; text-decoration: none; }
.dossier-media .media, .dossier-media .cable-art { min-height: 240px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #ffffff 0%, #e7eef3 80%); }
.point-list { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: point; }
.point-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e1eaee; }
.point-list li:before { counter-increment: point; content: counter(point, decimal-leading-zero); color: var(--cyan-deep); font-size: 12px; font-weight: 700; padding-top: 4px; }
.places-title { margin: 26px 0 12px; font-size: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li, .chips-ink li { padding: 7px 12px; background: white; border: 1px solid #d7e2e8; color: var(--ink); font-size: 14px; }
.sticky-visual { display: grid; gap: 14px; position: sticky; top: 130px; }
.paper-card { overflow: hidden; }
.gallery-block, .related { margin-top: 42px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery .media { aspect-ratio: 1; min-height: 0; overflow: hidden; }
.gallery .media.is-contain { padding: 22px; }
.gallery .media.is-contain img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; padding: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.related-grid a { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 14px; background: white; text-decoration: none; font-weight: 700; box-shadow: 0 6px 18px rgba(20, 36, 48, 0.05); }
.related-grid svg { width: 16px; height: 16px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.8; }
.media { display: grid; place-items: center; min-height: 210px; }
.media.is-light { background: #f7fafb; }
.media.is-dark { background: #10161c; }
.media.is-contain img { max-height: 280px; max-width: 92%; object-fit: contain; }
.media.tall.is-contain img { max-height: 460px; }
.gallery .media { background: radial-gradient(ellipse at 50% 42%, #ffffff 0%, #e7eef3 80%); }
.gallery .media.is-dark { background: radial-gradient(ellipse at 50% 42%, #243140 0%, #10161c 78%); }
.media.is-cover img, .media.tall.is-cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.media.tall { min-height: 380px; overflow: hidden; }
.cable-art { position: relative; min-height: 210px; display: grid; place-items: center; overflow: hidden; background: #102029; }
.cable-art img { width: 84px; height: 84px; object-fit: contain; border-radius: 16px; background: #f4f7f8; position: relative; z-index: 1; }
.cable-art p { position: absolute; bottom: 14px; margin: 0; color: #d7eef8; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.cable { position: absolute; height: 2px; left: -10%; right: -10%; }
.c1 { top: 28%; background: linear-gradient(90deg, transparent, #5fd4f8, transparent); }
.c2 { top: 46%; background: linear-gradient(90deg, transparent, #f0c36a, transparent); }
.c3 { top: 62%; background: linear-gradient(90deg, transparent, #f08a7a, transparent); }
.c4 { top: 76%; background: linear-gradient(90deg, transparent, #9ad7c4, transparent); }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start; }
.form, .stack { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d5e0e6; background: white; color: var(--ink); border-radius: 0; padding: 12px 14px; outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(20, 168, 216, 0.16); }
.field small, .wizard-error { color: #9a3412; }
.has-error input, .has-error select, .has-error textarea { border-color: #c2410c; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.banner { padding: 14px 16px; margin-bottom: 14px; }
.banner.ok { background: #e5f6ee; color: #14532d; }
.banner.bad, .banner.warn { background: #fff4e8; color: #7c2d12; }
.contact-aside { background: var(--charcoal); color: white; padding: 28px 24px; position: sticky; top: 130px; }
.contact-logo { width: 112px; height: 112px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; margin: 0 0 16px; transform: none; }
.contact-aside h2 { margin: 0 0 10px; color: white; font-size: 28px; }
.contact-aside > p { margin: 0 0 18px; color: #c5d6e0; }
.place-picks { margin: 0; padding: 0; border: 0; }
.place-picks legend { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.place-picks-row { display: flex; flex-wrap: wrap; gap: 8px; }
.place-picks-row label { position: relative; }
.place-picks-row input { position: absolute; opacity: 0; }
.place-picks-row span { display: inline-grid; place-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #d7e2e8; background: white; font-weight: 700; cursor: pointer; }
.place-picks-row input:checked + span { border-color: var(--cyan); background: #f3fbfe; color: var(--cyan-deep); box-shadow: inset 0 0 0 1px var(--cyan); }
.place-picks-row input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.contact-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-aside li { display: flex; gap: 10px; align-items: flex-start; }
.contact-aside svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: #8fe4ff; stroke-width: 1.7; }
.contact-aside a { color: white; }
.contact-aside .fine { color: #c5d6e0; }
.not-found { min-height: 42vh; }

.site-footer { background: #151c22; color: #c5d4de; padding: 48px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.1fr; gap: 28px; }
.footer-brand p { color: #9eb0bd; max-width: 36ch; }
.site-footer h2 { margin: 8px 0 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #8fe4ff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer .brand-text strong { color: white; }
.site-footer .brand-text small { color: #9eb0bd; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #8aa0ac; font-size: 13px; }
.footer-base p { margin: 0; }
.footer-base a { color: #8aa0ac; }

body.nav-lock { overflow: hidden; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); background: #172129; border: 1px solid var(--line); border-radius: 28px; padding: 28px; }
.login-card .btn { width: 100%; }
.login-card h1 { font-size: 46px; margin: 12px 0; }
.login-logo { width: 84px; height: 84px; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { padding: 22px 16px; border-right: 1px solid var(--line); background: #0c1014; }
.admin-nav { display: grid; gap: 4px; margin-top: 22px; }
.admin-nav a, .admin-nav button {
  display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left;
  text-decoration: none; color: var(--ice); background: transparent; border: 0; border-radius: 12px; padding: 10px 12px; cursor: pointer;
}
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(95, 212, 248, 0.1); }
.admin-nav .count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 99px; background: #14a0d0; color: #042433; font-size: 12px; font-weight: 700; }
.admin-main { padding: 28px; }
.admin-main h1 { font-size: clamp(36px, 4vw, 52px); margin: 0 0 8px; }
.admin-lead { color: var(--muted); margin-top: 0; }
.stat-grid, .admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.panel { background: #172129; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.panel h2 { margin: 0 0 8px; font-size: 28px; }
.stat-grid strong { display: block; font-family: var(--serif); font-size: 42px; font-weight: 500; }
.stat-grid span, .muted { color: var(--muted); }
.message-list { display: grid; gap: 10px; }
.message { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px; border-radius: 16px; background: #121a21; border: 1px solid var(--line); text-decoration: none; }
.message.is-new { border-color: rgba(95, 212, 248, 0.45); }
.message b { display: block; }
.message small { color: var(--muted); }
.filters { display: flex; gap: 8px; margin: 12px 0 16px; }
.pill { text-decoration: none; border-radius: 999px; padding: 6px 12px; border: 1px solid var(--line); color: var(--muted); }
.pill.is-active { color: #042433; background: var(--cyan); border-color: transparent; }
.detail-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 14px; }
.detail-grid dt { color: var(--muted); font-size: 13px; }
.detail-grid dd { margin: 0 0 12px; }
.danger { background: transparent; color: #ffb4a8; border: 1px solid rgba(255, 180, 168, 0.4); border-radius: 999px; min-height: 36px; padding: 0 12px; cursor: pointer; }
.admin-main .field input, .admin-main .field textarea, .admin-main .field select, .login-card .field input { background: #0e141a; color: var(--ice); border-color: var(--line-strong); }
.service-edit { display: grid; gap: 12px; margin-top: 8px; }
.service-edit + .service-edit { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

:focus-visible { outline: 2px solid #14a8d8; outline-offset: 3px; }

@media (max-width: 980px) {
  .ha-trio, .feature-grid, .quote-grid, .watch-grid, .split, .contact-grid, .footer-grid, .detail-grid, .admin-shell { grid-template-columns: 1fr; }
  .product-line, .steps, .principle-row, .gallery, .related-grid, .stat-grid, .ref-list { grid-template-columns: 1fr 1fr; }
  .ha-trio { margin-top: 18px; }
  .ha-hero { min-height: 480px; }
  .ha-hero-copy { padding-bottom: 48px; }
  .sticky-visual, .contact-aside { position: static; }
  .admin-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    padding: 8px 16px 16px; background: white; border-bottom: 1px solid #e4ecef; box-shadow: 0 16px 30px rgba(20, 36, 48, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .nav-drop-panel { position: static; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 8px; }
  .nav-drop[open] .nav-drop-panel { display: grid; }
  .site-header, .bar { position: relative; }
  .site-nav .btn { width: 100%; }
}

@media (max-width: 680px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .ha-hero h1, .page-hero h1 { font-size: 38px; max-width: none; }
  .steps, .principle-row, .gallery, .related-grid, .form-row, .choice-grid, .stat-grid, .admin-nav, .footer-base, .ha-banner .wrap, .ref-list, .post-grid { grid-template-columns: 1fr; display: grid; }
  .product-line { grid-template-columns: 1fr 1fr; }
  .ha-banner .wrap { padding: 22px 0; }
  .dossier { grid-template-columns: 1fr; }
  .watch-grid img { height: 220px; }
  .topbar span { display: none; }
}
