/* Detectiv Particular București — stil propriu, fonturi auto-găzduite */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ss-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ss-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ss-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ss-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cg-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cg-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cg-latin-500-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cg-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cg-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cg-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cg-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cg-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0d11;
  --bg-alt: #12151c;
  --bg-card: #171b24;
  --ink: #f3eee4;
  --ink-soft: #d8d2c6;
  --muted: #9b9488;
  --line: rgba(196, 165, 116, 0.22);
  --gold: #c4a574;
  --gold-bright: #e0c392;
  --gold-dim: #8d7350;
  --ok: #8fbf9a;
  --err: #e08a8a;
  --focus: #e0c392;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  --radius: 14px;
  --header-h: 4.4rem;
  --cta-h: 4.4rem;
  --max: 72rem;
  --text: 1.0625rem;
  --leading: 1.7;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text);
  line-height: var(--leading);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; display: block; }
img { background: var(--bg-alt); }
a { color: var(--gold-bright); text-underline-offset: 0.18em; transition: color .25s ease; }
a:hover { color: #fff; }
strong { font-weight: 600; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--gold);
  color: #14110c;
  padding: 0.5rem 0.85rem;
  z-index: 400;
  border-radius: 6px;
  font-weight: 600;
}
.skip:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 17, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand svg { flex: 0 0 auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-text span {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
}
.nav-btn-bars,
.nav-btn-bars::before,
.nav-btn-bars::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--gold);
  position: relative;
  border-radius: 1px;
}
.nav-btn-bars::before,
.nav-btn-bars::after { content: ""; position: absolute; left: 0; }
.nav-btn-bars::before { top: -5px; }
.nav-btn-bars::after { top: 5px; }
.nav-btn:hover { border-color: var(--gold); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #12151ce6;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem 0 1rem;
}
.nav-toggle:checked ~ .site-nav { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 1.1rem 0.5rem;
  display: grid;
  gap: 0.1rem;
}
.site-nav a,
.sub-toggle {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.45rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
}
.site-nav a:hover,
.site-nav a[aria-current],
.sub-toggle:hover,
.sub-toggle[aria-current] { color: var(--gold-bright); background: rgba(196, 165, 116, 0.08); }
.site-nav .sub {
  padding: 0 0.4rem 0.4rem 0.9rem;
  display: none;
}
.has-sub.is-open > .sub,
.has-sub:hover > .sub,
.has-sub:focus-within > .sub { display: grid; }
.site-nav .sub a { font-weight: 500; font-size: 0.92rem; color: var(--muted); }
.nav-cta {
  margin: 0.4rem 1.1rem 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem;
}
main { padding-bottom: calc(var(--cta-h) + 1.6rem); }
@media (min-width: 900px) {
  main { padding-bottom: 0; }
}

.crumbs {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 1rem 1.15rem 0;
  max-width: var(--max);
  margin: 0 auto;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  color: var(--gold-dim);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-bright); }

/* Heroes */
.hero-visual {
  position: relative;
  min-height: min(92svh, 46rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #07080b;
  color: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img,
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  animation: kenburns 26s ease-out forwards;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 17, 0.18) 0%, rgba(11, 13, 17, 0.42) 42%, rgba(11, 13, 17, 0.94) 100%),
    linear-gradient(90deg, rgba(11, 13, 17, 0.55) 0%, rgba(11, 13, 17, 0.12) 58%, rgba(11, 13, 17, 0.35) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 7.5rem 1.15rem 3.2rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-copy h1,
.hero-page h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 7vw, 4.4rem);
  line-height: 1.08;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}
.hero-copy h1::after,
.hero-page h1::after {
  content: "";
  display: block;
  width: 4.25rem;
  height: 2px;
  background: var(--gold);
  margin: 1.05rem 0 1.15rem;
}
.lede {
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 1.25rem;
}
.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.05rem 0 0;
}

.hero-page {
  padding: 2.6rem 0 0.4rem;
}
.hero-page .lede { max-width: 42rem; }
.notfound { padding: 4.5rem 0 5rem; }

.facts-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 1.1rem 1.15rem;
}
.fact {
  padding: 0.85rem 0.2rem;
}
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
}
.fact span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 0.15rem; }
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
  font-family: inherit;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-primary {
  background: var(--gold);
  color: #14110c;
  box-shadow: 0 8px 24px rgba(196, 165, 116, 0.22);
}
.btn-primary:hover { background: var(--gold-bright); color: #14110c; transform: translateY(-1px); }
.btn-ghost,
.btn-secondary {
  background: rgba(243, 238, 228, 0.06);
  color: var(--ink);
  border-color: rgba(243, 238, 228, 0.16);
}
.btn-ghost:hover,
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-outline {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--gold);
}
.btn-outline:hover { background: rgba(196, 165, 116, 0.12); color: #fff; }
.btn:active { transform: translateY(0); }

/* Sections */
.section { padding: 3.1rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2,
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  margin: 0 0 0.85rem;
  line-height: 1.2;
  font-weight: 600;
}
.section h3,
.prose h3 {
  font-size: 1.12rem;
  margin: 1.4rem 0 0.4rem;
  font-weight: 600;
}
.prose p, .prose li, .section p, .section li { max-width: 44rem; }
.prose p, .section p { margin: 0 0 1rem; color: var(--ink-soft); }
.prose ul, .prose ol, .section ul, .section ol { padding-left: 1.2rem; }
.prose li, .section li { margin: 0.3rem 0; color: var(--ink-soft); }

.steps {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
.steps li {
  max-width: 44rem;
  position: relative;
  padding: 1.1rem 1.15rem 1.1rem 4.1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 600;
}
.steps h3 { margin: 0 0 0.3rem; }

/* Cards & media */
.cards, .grid-2 {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 740px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-media { grid-template-columns: repeat(3, 1fr); }
  .cards-contact { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.42);
}
.card h2, .card h3 { margin: 0 0 0.45rem; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--gold-bright); }
.card p:last-child { margin-bottom: 0; }
.card a.more {
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.card a.more:hover { color: var(--gold-bright); text-decoration: underline; }

.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media picture, .card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #0a0c10; }
.card-media img { transition: transform .7s ease; }
.card-media:hover img { transform: scale(1.06); }
.card-body { padding: 1.1rem 1.15rem 1.25rem; }

.split { display: grid; gap: 1.6rem; align-items: start; }
.split-photo { align-items: center; }
.split-media, .frame-img { width: 100%; }
.split-media img, .frame-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .split-photo { grid-template-columns: 1fr 1.15fr; gap: 2.4rem; }
}

.note { font-size: 0.92rem; color: var(--muted); }
.cta-band {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(196, 165, 116, 0.12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
}

/* FAQ */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.1rem 1rem;
  margin: 0.55rem 0;
  max-width: 50rem;
  transition: border-color .25s ease;
}
.faq details[open] { border-color: rgba(196, 165, 116, 0.45); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  color: var(--gold);
  font-weight: 700;
}
.faq details[open] summary::before { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--ink-soft); }

/* Forms */
.form-block { margin-top: 2.2rem; }
form label { display: block; font-weight: 600; margin: 0.9rem 0 0.3rem; }
form input, form select, form textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #10131a;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
form textarea { min-height: 9rem; resize: vertical; }
form input:focus, form textarea:focus, form select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1rem 0;
  font-weight: 500;
  max-width: 36rem;
}
.check input { width: auto; margin-top: 0.3rem; }
.form-msg {
  margin: 0.85rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  display: none;
}
.form-msg.ok { display: block; background: #16301f; color: var(--ok); }
.form-msg.err { display: block; background: #3a1a1a; color: var(--err); }

/* Footer */
.site-footer {
  background: #08090d;
  color: #cfc8bb;
  padding: 2.6rem 0 6.8rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .site-footer { padding-bottom: 2.4rem; }
}
.site-footer a { color: #f3eee4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.foot-grid { display: grid; gap: 1.6rem; }
@media (min-width: 740px) {
  .foot-grid { grid-template-columns: 1.45fr 1fr 1fr; }
}
.site-footer h2 {
  font-size: 0.78rem;
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-family: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.legal {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(196, 165, 116, 0.16);
  font-size: 0.85rem;
  color: #8f877b;
}

/* Mobile sticky CTAs */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(11, 13, 17, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.sticky-cta .btn { width: 100%; border-radius: 12px; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-media img, .hero-img { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn-primary:hover, .card-media:hover img { transform: none; }
}

@keyframes kenburns {
  from { transform: scale(1.14) translate3d(0, -1.4%, 0); }
  to { transform: scale(1.04) translate3d(0, 0, 0); }
}

@media (min-width: 980px) {
  .nav-btn { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }
  .site-nav ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }
  .site-nav a,
  .sub-toggle {
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
    width: auto;
  }
  .has-sub { position: relative; }
  .site-nav .sub {
    position: absolute;
    top: calc(100% - 0.1rem);
    left: 0;
    min-width: 17rem;
    padding: 0.45rem;
    background: #161a22;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 20;
  }
  .has-sub.is-open > .sub,
  .has-sub:hover > .sub,
  .has-sub:focus-within > .sub { display: grid; }
  .nav-cta { margin: 0 0 0 0.4rem; }
  .nav-cta .btn { min-height: 42px; padding: 0.4rem 0.95rem; font-size: 0.88rem; }
}
