/* ============================================================
   LA CAPELA — SERVICII FUNERARE MEDIAȘ · v3
   Design: NOIR & OR — negru solemn, auriu fin, editorial
   Serif: Cormorant Garamond · Sans: Outfit
   ============================================================ */

:root {
  --bg:        #07080a;
  --bg-1:      #0b0d10;
  --bg-2:      #101216;
  --surface:   #13161b;
  --raise:     #1a1e24;
  --ink:       #f1eee6;
  --ink-2:     #d9d5cb;
  --muted:     #a29b8d;
  --faint:     #6f6a5e;
  --line:      rgba(241, 238, 230, 0.09);
  --line-2:    rgba(241, 238, 230, 0.16);
  --gold:      #c9a35c;
  --gold-br:   #e6c47e;
  --gold-dk:   #8f6b2c;
  --gold-line: rgba(214, 178, 96, 0.26);
  --white:     #ffffff;
  --sh-sm: 0 16px 40px -20px rgba(0,0,0,.75);
  --sh-md: 0 40px 80px -36px rgba(0,0,0,.9);
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans:  "Outfit", "Segoe UI", system-ui, sans-serif;
  --r: 3px;
  --wrap: 1280px;
  --ease: cubic-bezier(.2,.8,.25,1);
  --spd: 340ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 560px at 82% -10%, rgba(201,163,92,.06), transparent 62%),
    radial-gradient(900px 700px at -12% 30%, rgba(255,255,255,.018), transparent 55%),
    var(--bg);
  color: var(--ink-2);
  font: 300 17px/1.78 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
::selection { background: rgba(214,178,96,.30); color: #fff; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: #fff; color: #000; padding: 10px 18px; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.display-1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .99; letter-spacing: -0.01em; font-weight: 500; }
.display-2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.04; }
.display-3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.7; max-width: 60ch; font-weight: 300; }
.serif-i { font-style: italic; }
.text-muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }
em, .em { font-family: var(--serif); font-style: italic; }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.kicker::before { content: ""; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker::after { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.kicker--center::before { display: none; }
.kicker--center::after { display: none; }

/* ---------- layout scaffolding ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4.5vw, 52px); }
.section { padding-block: clamp(88px, 10vw, 150px); position: relative; }
.section--soft { background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.section--surface { background: var(--bg-1); }
.section--dark {
  background:
    radial-gradient(110% 130% at 16% 0%, rgba(201,163,92,.09), transparent 45%),
    linear-gradient(180deg, #0a0c0f, #060709);
  border-block: 1px solid var(--line);
}
.section--dark .lead { color: var(--ink-2); }
.section--flush { padding-top: 0; }
.sec-head { max-width: 800px; margin-bottom: clamp(50px, 6vw, 84px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .kicker { margin-bottom: 22px; }
.sec-head h2 { margin-bottom: 20px; }
.sec-head p { color: var(--muted); max-width: 62ch; }
.sec-head--center p { margin-inline: auto; }
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.g-12 { grid-template-columns: repeat(12, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-12 { grid-column: span 12; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 13.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 34px; border-radius: var(--r);
  border: 1px solid transparent; white-space: nowrap;
  transition: transform var(--spd) var(--ease), background-color var(--spd), border-color var(--spd), color var(--spd), box-shadow var(--spd);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 16px; height: 16px; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-br), var(--gold));
  color: #191206;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 24px 52px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--ghost-g { border-color: rgba(214,178,96,.5); color: var(--gold-br); background: rgba(214,178,96,.03); }
.btn--ghost-g:hover { background: rgba(214,178,96,.12); border-color: var(--gold-br); transform: translateY(-2px); }
.btn--ghost-l { border-color: rgba(241,238,230,.3); color: var(--ink); }
.btn--ghost-l:hover { border-color: rgba(241,238,230,.75); background: rgba(255,255,255,.04); }
.btn--ghost-d { border-color: rgba(241,238,230,.3); color: var(--ink); }
.btn--ghost-d:hover { border-color: var(--gold-br); color: var(--gold-br); background: rgba(214,178,96,.06); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 7px;
  border-bottom: 1px solid rgba(241,238,230,.2);
  transition: color var(--spd), border-color var(--spd), gap var(--spd);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--spd) var(--ease); }
.link-arrow:hover { color: var(--gold-br); border-color: rgba(214,178,96,.55); gap: 18px; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow--light { color: var(--ink); }
.link-arrow--light:hover { color: var(--gold-br); border-color: rgba(214,178,96,.55); }
.tel-link { color: inherit; font-weight: 600; }
.tel-link:hover { color: var(--gold-br); }

/* ---------- topbar ---------- */
.site-top { background: #040506; border-bottom: 1px solid var(--line); color: #8f8a7f; }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.site-top__left { display: flex; align-items: center; gap: 28px; }
.site-top__item { display: inline-flex; align-items: center; gap: 9px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.site-top__item svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.site-top a:hover { color: var(--gold-br); }
.site-top__badge { color: var(--gold); display: inline-flex; align-items: center; gap: 10px; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.site-top__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(214,178,96,.4); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214,178,96,.4); } 70% { box-shadow: 0 0 0 10px rgba(214,178,96,0); } 100% { box-shadow: 0 0 0 0 rgba(214,178,96,0); } }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(7,8,10,.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--spd);
}
.site-head.is-stuck { box-shadow: 0 24px 60px -30px rgba(0,0,0,.9); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 16px; position: relative; }
.brand__logo { height: 42px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 27px; color: var(--ink); letter-spacing: .03em; line-height: 1; }
.brand__tag { font: 600 9.5px/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-top: 8px; display: block; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  font: 500 13.5px/1 var(--sans); letter-spacing: .05em;
  color: var(--ink-2); padding: 11px 15px; border-radius: 2px;
  position: relative; transition: color var(--spd);
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 1px;
  background: linear-gradient(90deg, var(--gold-br), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform var(--spd) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 16px; }
.nav__cta .btn { padding: 14px 22px; letter-spacing: .1em; }
.nav__cta svg { width: 14px; height: 14px; }

.burger { display: none; width: 46px; height: 46px; position: relative; z-index: 130; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px auto; transition: transform var(--spd), opacity var(--spd); }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 120; background: var(--bg); padding: 120px 30px 44px;
  display: none; overflow-y: auto;
}
.mobile-nav.is-open { display: block; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.mobile-nav a.mnav { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: 32px; line-height: 1.25; color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a.mnav small { font: 600 11px var(--sans); color: var(--gold); letter-spacing: .26em; }
.mobile-nav a.mnav:hover { color: var(--gold-br); }
.mobile-nav__cta { margin-top: 38px; display: grid; gap: 14px; }
body.locked { overflow: hidden; }

/* ---------- hero (noir split) ---------- */
.hero { position: relative; overflow: hidden; background: #050607; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 14% 4%, rgba(201,163,92,.10), transparent 55%),
    radial-gradient(700px 500px at 95% 110%, rgba(201,163,92,.06), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 5vw, 90px); align-items: center; min-height: min(660px, 88svh); padding-block: clamp(90px, 10vw, 128px) clamp(70px, 8vw, 104px); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 11.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.hero__eyebrow::before { content: ""; width: 52px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__title { max-width: 13ch; margin-bottom: 30px; color: #f4f1ea; }
.hero__title .serif-i { color: var(--gold-br); }
.hero__sub { max-width: 54ch; color: var(--ink-2); margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__note { margin-top: 34px; display: flex; gap: 30px; flex-wrap: wrap; font: 500 12px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.hero__note span { display: inline-flex; align-items: center; gap: 10px; }
.hero__note svg { width: 15px; height: 15px; color: var(--gold); }
.hero__side { position: relative; }
.hero__fig {
  position: relative; padding: 10px;
  border: 1px solid rgba(214,178,96,.32);
  background: linear-gradient(160deg, rgba(214,178,96,.14), rgba(214,178,96,.02) 34%), #0b0d10;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), inset 0 0 60px rgba(0,0,0,.5);
}
.hero__fig img { width: 100%; aspect-ratio: 4 / 5.1; object-fit: cover; filter: saturate(.82) contrast(1.06) brightness(.96); }
.hero__fig figcaption { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; color: rgba(241,238,230,.85); font: 500 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.9); }
.hero__fig figcaption i { font-style: normal; color: var(--gold-br); }
.hero__fig::after {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}
.hero__orn {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-br);
}
.hero__orn--top { top: -18px; left: 34px; }
.hero__orn--top::before, .hero__orn--top::after { content: ""; width: 26px; height: 1px; background: var(--gold); }

/* entry animation */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__eyebrow { animation: rise .85s var(--ease) both; }
.hero__title { animation: rise .95s .1s var(--ease) both; }
.hero__sub { animation: rise .95s .22s var(--ease) both; }
.hero__cta { animation: rise .95s .34s var(--ease) both; }
.hero__note { animation: rise .95s .46s var(--ease) both; }
.hero__side { animation: rise 1s .3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .hero__eyebrow, .hero__title, .hero__sub, .hero__cta, .hero__note, .hero__side { animation: none; } }

/* ---------- page hero (inner) ---------- */
.page-hero { position: relative; background: linear-gradient(165deg, #0d1013 0%, #07080a 70%); color: var(--ink); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .9;
  background:
    radial-gradient(700px 460px at 88% -10%, rgba(201,163,92,.13), transparent 60%),
    radial-gradient(520px 400px at -5% 100%, rgba(201,163,92,.07), transparent 55%);
}
.page-hero__inner { position: relative; z-index: 2; padding-block: clamp(92px, 11vw, 150px) clamp(70px, 8vw, 108px); }
.crumbs { display: flex; gap: 12px; align-items: center; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--faint); margin-bottom: 28px; }
.crumbs a:hover { color: var(--gold-br); }
.crumbs svg { width: 11px; height: 11px; }
.crumbs .on { color: var(--gold); }
.page-hero h1 { color: #f4f1ea; font-size: clamp(2.9rem, 6vw, 4.9rem); max-width: 19ch; margin-bottom: 24px; }
.page-hero .lead { color: var(--ink-2); max-width: 66ch; }
.page-hero .hero__note { margin-top: 34px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__body { grid-column: 1 / span 6; }
.split__media { grid-column: 7 / span 6; }
.split--rev .split__body { grid-column: 7 / span 6; }
.split--rev .split__media { grid-column: 1 / span 6; }
.split h2 { margin-bottom: 26px; }
.split p + p { margin-top: 16px; }
.split .lead { margin-bottom: 28px; }
.stack { display: grid; gap: 24px; margin: 32px 0 38px; }
.stack__item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.stack__ic { width: 38px; height: 38px; margin-top: 3px; color: var(--gold); display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 50%; }
.stack__ic svg { width: 18px; height: 18px; }
.stack h4 { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 5px; letter-spacing: .01em; }
.stack p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* media compositions */
.media { position: relative; }
.media__frame { position: relative; border-radius: var(--r); overflow: hidden; background: #0e1013; box-shadow: var(--sh-md); }
.media__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(241,238,230,.07); border-radius: var(--r); pointer-events: none; }
.media__frame img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform 1.3s var(--ease); filter: saturate(.9) contrast(1.05); }
.media:hover .media__frame img { transform: scale(1.035); }
.media__frame--sq img { aspect-ratio: 1 / 1; }
.media__frame--wide img { aspect-ratio: 16 / 9.5; }
.media__frame--port img { aspect-ratio: 3 / 4; }
.media__frame--auto img { aspect-ratio: auto; }
.media__off { position: absolute; z-index: 2; border-radius: var(--r); overflow: hidden; border: 8px solid var(--bg); box-shadow: var(--sh-md); }
.media__off img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.media__off--br { right: -7%; bottom: -9%; width: min(48%, 250px); }
.media__off--bl { left: -7%; bottom: -10%; width: min(46%, 235px); }
.media__off--tl { left: -6%; top: -8%; width: min(44%, 225px); }
.media__off--tr { right: -6%; top: -7%; width: min(44%, 230px); }
.media__badge {
  position: absolute; z-index: 3; left: 50%; bottom: -20px; transform: translateX(-50%);
  display: flex; gap: 12px; align-items: center; white-space: nowrap;
  background: #101318; color: var(--ink); border: 1px solid rgba(214,178,96,.4);
  padding: 14px 24px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: var(--sh-md);
}
.media__badge svg { width: 17px; height: 17px; color: var(--gold); }
.media__cap { margin-top: 18px; display: flex; align-items: center; gap: 14px; font: 500 11px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--faint); }
.media__cap::before { content: ""; width: 30px; height: 1px; background: var(--gold); }

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(180deg, var(--bg-1), #07080a); border-block: 1px solid var(--line); }
.fact { padding: 42px 32px 44px; border-left: 1px solid var(--line); position: relative; }
.fact:first-child { border-left: 0; }
.fact::before { content: attr(data-n); position: absolute; top: 38px; right: 30px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); opacity: .8; }
.fact__ic { color: var(--gold); margin-bottom: 20px; display: flex; }
.fact__ic svg { width: 26px; height: 26px; }
.fact h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--ink); letter-spacing: .01em; margin-bottom: 9px; }
.fact p { font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 34ch; }

/* ---------- index (service index) ---------- */
.index { border-top: 1px solid rgba(214,178,96,.24); }
.index__row {
  display: grid; grid-template-columns: 108px 1.15fr 1fr auto auto; gap: clamp(18px, 3vw, 40px);
  align-items: center; padding: clamp(26px, 3.4vw, 40px) 10px;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--spd);
  position: relative;
}
.index__row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold), transparent); transition: width .7s var(--ease); }
.index__row:hover { background: linear-gradient(90deg, rgba(214,178,96,.045), transparent 60%); }
.index__row:hover::after { width: 100%; }
.index__num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 44px; color: var(--gold); opacity: .9; line-height: 1; }
.index__title h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; color: var(--ink); }
.index__title p { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 60ch; }
.index__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 11.5px/1 var(--sans); letter-spacing: .04em; border: 1px solid var(--line-2); border-radius: 2px; padding: 10px 14px; color: var(--ink-2); background: rgba(16,18,22,.7); }
.chip--dark { border-color: rgba(241,238,230,.2); color: var(--ink-2); }
.index__thumb { width: 118px; height: 118px; border-radius: var(--r); overflow: hidden; position: relative; }
.index__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05) brightness(.9); transition: transform .9s var(--ease), filter .6s; }
.index__row:hover .index__thumb img { transform: scale(1.07); filter: saturate(.95) brightness(1); }
.index__go { width: 54px; height: 54px; border: 1px solid rgba(214,178,96,.4); display: grid; place-items: center; color: var(--gold); transition: all var(--spd) var(--ease); }
.index__go svg { width: 19px; height: 19px; }
.index__row:hover .index__go { background: var(--gold); border-color: var(--gold); color: #151006; transform: translateX(4px); }

/* ---------- band (statement) ---------- */
.band { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.band__body { grid-column: 1 / span 6; }
.band__media { grid-column: 7 / span 6; }
.band--rev .band__body { grid-column: 7 / span 6; }
.band--rev .band__media { grid-column: 1 / span 6; order: -1; }
.band__body h2 { color: var(--ink); margin-bottom: 28px; }
.band__body p { color: var(--ink-2); }
.band__body p + p { margin-top: 18px; }
.band__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 30px; margin: 32px 0 38px; }
.band__list li { color: var(--ink-2); font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; line-height: 1.55; }
.band__list svg { width: 14px; height: 14px; color: var(--gold); flex: none; transform: translateY(1px); }

/* ---------- gallery thumbs ---------- */
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 26px; }
.thumbs a { position: relative; overflow: hidden; border-radius: var(--r); display: block; aspect-ratio: 4/5; background: #101216; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.94); transition: transform .9s var(--ease), filter .6s; }
.thumbs a:hover img { transform: scale(1.08); filter: saturate(1) brightness(1.02); }
.thumbs a::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 34px; color: #e8d9ae; background: rgba(5,6,8,.5); opacity: 0; transition: opacity var(--spd); }
.thumbs a:hover::after { opacity: 1; }

/* ---------- CTA ---------- */
.cta-dark {
  background:
    radial-gradient(80% 140% at 10% 0%, rgba(201,163,92,.13), transparent 55%),
    radial-gradient(60% 120% at 96% 100%, rgba(201,163,92,.08), transparent 55%),
    linear-gradient(180deg, #090a0d, #050607);
  color: var(--ink);
}
.cta-dark .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(44px, 6vw, 96px); align-items: center; }
.cta-dark h2 { color: #f4f1ea; margin-bottom: 20px; }
.cta-dark p { color: var(--ink-2); }
.cta-dark__phone { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 3.8vw, 3.1rem); color: var(--gold-br); display: flex; align-items: center; gap: 18px; margin-bottom: 10px; letter-spacing: .01em; }
.cta-dark__phone:hover { color: #f4dba0; }
.cta-dark__phone svg { width: 34px; height: 34px; }
.cta-dark__right { border-left: 1px solid rgba(241,238,230,.12); padding-left: clamp(28px, 3.4vw, 54px); display: grid; gap: 20px; }
.cta-row { display: flex; gap: 18px; align-items: center; }
.cta-row__ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold); }
.cta-row__ic svg { width: 20px; height: 20px; }
.cta-row b { display: block; font: 600 16px/1.35 var(--sans); color: var(--ink); }
.cta-row span { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: block; }
.cta-row a:hover b { color: var(--gold-br); }

/* ---------- map ---------- */
.map-sec { padding: 0; }
.map-head { padding: clamp(70px, 8vw, 110px) 0 clamp(40px, 5vw, 60px); text-align: center; }
.map-frame { position: relative; }
.map-frame iframe { display: block; width: 100%; height: 460px; border: 0; filter: grayscale(1) invert(.9) hue-rotate(185deg) brightness(.9) contrast(1.05); transition: filter .8s; }
.map-frame:hover iframe { filter: grayscale(.15) invert(0) hue-rotate(0) brightness(1); }

/* ---------- cards & galleries ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.pcard { background: linear-gradient(180deg, var(--surface), #111318); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--spd) var(--ease), border-color var(--spd), box-shadow var(--spd); }
.pcard:hover { transform: translateY(-7px); border-color: rgba(214,178,96,.4); box-shadow: var(--sh-md); }
.pcard__img { position: relative; background: linear-gradient(180deg, #f2f0ea, #ddd9cf); overflow: hidden; }
.pcard__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.pcard__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; padding: 8px 12px; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__code { font: 600 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.pcard h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--ink); }
.pcard p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.pcard__note { font-size: 12.5px; color: var(--faint); display: flex; gap: 9px; align-items: center; }
.pcard__note svg { width: 13px; height: 13px; color: var(--gold); flex: none; }

.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(38px, 4vw, 54px); }
.tab { font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 14px 24px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); transition: all var(--spd); }
.tab:hover { border-color: var(--gold); color: var(--gold-br); }
.tab.is-on { background: linear-gradient(135deg, var(--gold-br), var(--gold)); border-color: transparent; color: #191206; }
.tab .cnt { opacity: .65; margin-left: 6px; font-weight: 500; }

.masonry { columns: 3; column-gap: 16px; }
.masonry > a, .masonry > figure { break-inside: avoid; margin: 0 0 16px; display: block; position: relative; border-radius: var(--r); overflow: hidden; background: #0e1013; cursor: zoom-in; }
.masonry img { width: 100%; filter: saturate(.88) contrast(1.04) brightness(.96); transition: transform .9s var(--ease), filter .6s; }
.masonry a:hover img { transform: scale(1.05); filter: saturate(1) brightness(1.03); }
.masonry__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(4,5,7,.88)); color: #eee7d2; font: 500 11.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: all var(--spd); }
.masonry > a:hover .masonry__cap { opacity: 1; transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,5,7,.96); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.is-open { display: flex; animation: fadeIn .3s; }
.lightbox img { max-width: min(1180px, 92vw); max-height: 84vh; object-fit: contain; box-shadow: var(--sh-md); }
.lightbox button { position: absolute; color: #ddd5c2; font-size: 30px; line-height: 1; width: 52px; height: 52px; }
.lightbox #lb-close { top: 26px; right: 30px; font-size: 38px; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); font-size: 44px; }
.lightbox .lb-prev { left: 12px; }
.lightbox .lb-next { right: 12px; }
.lightbox button:hover { color: var(--gold-br); }
.lightbox .lb-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--faint); font: 500 13px var(--sans); letter-spacing: .26em; }

/* ---------- service rows ---------- */
.serv { display: grid; grid-template-columns: 108px 1fr 1.2fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(30px, 4vw, 46px) 0; border-bottom: 1px solid var(--line); }
.serv:first-of-type { border-top: 1px solid rgba(214,178,96,.2); }
.serv__num { font-family: var(--serif); font-style: italic; font-size: clamp(2.7rem, 4.4vw, 3.8rem); color: transparent; -webkit-text-stroke: 1px var(--gold); line-height: 1; }
.serv__body h3 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); margin-bottom: 12px; }
.serv__body p { color: var(--muted); font-size: 15.5px; }
.serv--has-img .serv__pic { border-radius: var(--r); overflow: hidden; grid-column: 3; }
.serv--has-img .serv__pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ---------- docs / notes / legal ---------- */
.doc-card { background: linear-gradient(180deg, var(--surface), #101216); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(30px, 4vw, 52px); }
.doc-card + .doc-card { margin-top: 28px; }
.doc-card h2 { margin-bottom: 28px; }
.doc-card h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--ink); margin: 32px 0 16px; }
.doc-card h3:first-of-type { margin-top: 0; }
.doc-list { list-style: none; display: grid; gap: 12px; }
.doc-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); padding: 15px 18px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); line-height: 1.55; }
.doc-list li svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 2px; }
.doc-list--cols { grid-template-columns: 1fr 1fr; }
.doc-list li b { color: var(--ink); font-weight: 600; }
.note { border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(214,178,96,.08), transparent); padding: 22px 26px; font-size: 15.5px; color: var(--ink-2); line-height: 1.7; }
.note b { color: var(--ink); }
.note--dark { border-left-color: var(--gold); background: rgba(214,178,96,.06); color: var(--ink-2); }
.note a { color: var(--gold-br); text-decoration: underline; text-underline-offset: 3px; }

.legal { max-width: 900px; margin-inline: auto; }
.legal .doc { font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.legal .doc h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 46px 0 16px; color: var(--ink); }
.legal .doc h2:first-child { margin-top: 0; }
.legal .doc h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin: 32px 0 10px; color: var(--ink); }
.legal .doc p { margin-bottom: 15px; color: var(--ink-2); }
.legal .doc ul, .legal .doc ol { padding-left: 24px; margin-bottom: 16px; }
.legal .doc li { margin-bottom: 7px; }
.legal .doc a { color: var(--gold-br); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.tag-legal { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 11px 15px; }

/* ---------- contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.icard { background: linear-gradient(180deg, var(--surface), #101216); border: 1px solid var(--line); border-top: 1px solid rgba(214,178,96,.34); border-radius: var(--r); padding: clamp(30px, 3.4vw, 42px); display: grid; gap: 15px; justify-items: start; transition: transform var(--spd) var(--ease), box-shadow var(--spd); }
.icard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.icard__ic { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold); }
.icard__ic svg { width: 23px; height: 23px; }
.icard h3 { font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
.icard p { font-size: 15px; color: var(--muted); }
.icard a.big { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--gold-br); }
.icard a.big:hover { color: #f0d79a; }
.form-card { background: linear-gradient(180deg, var(--surface), #101216); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 3.6vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 9px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { font: 300 15px/1.5 var(--sans); color: var(--ink); background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r); padding: 15px 17px; width: 100%; transition: border-color var(--spd), background var(--spd); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #0a0c0f; }
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--faint); }
.form-note { margin-top: 18px; font-size: 12.5px; color: var(--faint); }

/* ---------- footer ---------- */
.site-foot { background: #040506; border-top: 1px solid var(--line); }
.site-foot__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(30px, 4vw, 64px); padding: clamp(70px, 8vw, 110px) 0 60px; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 24px; filter: brightness(1.1); }
.foot-brand p { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 40ch; }
.foot-h { font: 600 11.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.foot-col ul { list-style: none; display: grid; gap: 12px; }
.foot-col a { font-size: 15px; color: var(--ink-2); transition: color var(--spd), padding-left var(--spd); }
.foot-col a:hover { color: var(--gold-br); padding-left: 4px; }
.foot-contact { display: grid; gap: 18px; }
.foot-contact div { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.foot-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.foot-contact a { color: var(--ink); font-weight: 600; }
.foot-contact a:hover { color: var(--gold-br); }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 42px; height: 42px; border: 1px solid rgba(241,238,230,.18); display: grid; place-items: center; color: var(--ink); transition: all var(--spd); }
.foot-social a:hover { background: var(--gold); border-color: var(--gold); color: #141006; }
.foot-social svg { width: 17px; height: 17px; }
.site-foot__bottom { border-top: 1px solid var(--line); padding: 24px 0; }
.site-foot__bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--faint); }
.site-foot__bottom a { color: var(--ink-2); }
.site-foot__bottom a:hover { color: var(--gold-br); }
.site-foot__bottom .legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.to-top { display: inline-flex; align-items: center; gap: 9px; font: 600 11px var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2); }
.to-top:hover { color: var(--gold-br); }
.to-top svg { width: 13px; height: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .index__row { grid-template-columns: 80px 1fr auto; }
  .index__tags { grid-column: 2 / -1; }
  .index__thumb { display: none; }
  .index__num { font-size: 34px; }
  .site-foot__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .hero__side { max-width: 480px; }
  .g-3, .g-4 { grid-template-columns: 1fr 1fr; }
  .split, .band, .cta-dark .wrap { grid-template-columns: 1fr; }
  .split__body, .split__media, .band__body, .band__media { grid-column: auto; }
  .split--rev .split__media { order: -1; }
  .serv { grid-template-columns: 70px 1fr; }
  .serv--has-img .serv__pic { grid-column: 1 / -1; order: 3; margin-top: 8px; }
  .masonry { columns: 2; }
  .info-grid { grid-template-columns: 1fr; }
  .doc-list--cols, .form-grid, .band__list { grid-template-columns: 1fr; }
  .cta-dark__right { border-left: 0; padding-left: 0; border-top: 1px solid rgba(241,238,230,.12); padding-top: 32px; }
  .site-top__item--hide { display: none; }
  .site-top .wrap { justify-content: center; }
}
@media (max-width: 580px) {
  .facts { grid-template-columns: 1fr; }
  .site-foot__main { grid-template-columns: 1fr; }
  .index__row { grid-template-columns: 1fr; gap: 16px; }
  .index__num { font-size: 30px; }
  .index__go { display: none; }
  .cards { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 1; }
  .btn { width: 100%; }
  .hero__cta .btn { width: auto; }
  .brand__tag { display: none; }
  .crumb-hide { display: none; }
  .hero__fig img { aspect-ratio: 4 / 4.6; }
}

/* ---------- hardening: vertical centering (header + icon glyphs) ---------- */
.site-head .wrap > * { align-self: center; }
.nav, .nav__links, .nav__links li { display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; }
.nav__cta { display: flex; align-items: center; }
.icard__ic, .cta-row__ic, .fact__ic, .stack__ic, .media__badge, .foot-social a, .icard__ic, .hero__orn {
  display: flex; align-items: center; justify-content: center;
}
.icard__ic svg, .cta-row__ic svg, .fact__ic svg, .stack__ic svg, .foot-social svg, .media__badge svg { flex: none; }

/* ---------- bulletproof centering (v4) ---------- */
.site-head .wrap { align-items: center !important; }
.brand, .nav, .nav__cta { align-self: center !important; }
.nav__links li a { display: inline-flex; align-items: center; }
.icard__ic, .cta-row__ic {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.icard__ic svg, .cta-row__ic svg { flex: none !important; margin: auto !important; }
