/* =============================================================
   PR BIZ-HOMES GROUP · styles.css
   Luxury real-estate skin: warm near-black + ivory + champagne
   gold, editorial serif (Cormorant Garamond) + Inter.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Dark (default) surfaces */
  --bg:        #0f0e0b;
  --bg-2:      #14120e;
  --card:      #1a1712;
  --ivory:     #f1ebdf;
  --ivory-2:   #d8d1c0;
  --mute:      #99917e;
  --line:      rgba(241, 235, 223, 0.14);
  --line-soft: rgba(241, 235, 223, 0.09);

  /* Champagne gold */
  --gold:      #c3a05e;
  --gold-soft: #d9bd86;
  --gold-deep: #8f7434;
  --gold-dim:  rgba(195, 160, 94, 0.35);

  /* Cream (light) surfaces */
  --cream:      #f4efe5;
  --cream-card: #fdfaf3;
  --ink:        #211e18;
  --ink-2:      #423d33;
  --mute-cream: #6f6859;
  --line-cream: rgba(33, 30, 24, 0.15);
  --line-cream-soft: rgba(33, 30, 24, 0.09);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --nav-h:  80px;
  --radius: 3px;

  --shadow-card: 0 14px 40px -18px rgba(0, 0, 0, 0.5);
  --shadow-cream: 0 12px 36px -18px rgba(60, 48, 24, 0.25);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ivory);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: 0.005em;
}
::selection { background: var(--gold); color: #14120e; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--ivory); color: var(--bg);
  z-index: 9999; border-radius: 4px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* Defensive rule (gotcha A.4.5) — kept even though data-split is unused */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   2b. Language gate (first-visit overlay)
   ============================================================= */
.lang-gate {
  position: fixed; inset: 0;
  z-index: 1000;
  display: grid; place-items: center;
  padding: 1.25rem;
  background: rgba(10, 9, 6, 0.82);
  opacity: 1;
  transition: opacity 0.45s var(--ease-out);
}
@supports (backdrop-filter: blur(10px)) {
  .lang-gate {
    background: rgba(10, 9, 6, 0.66);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
  }
}
.lang-gate[hidden] { display: none; }
.lang-gate.is-leaving { opacity: 0; pointer-events: none; }

.lang-gate-card {
  width: min(500px, 100%);
  background: var(--cream-card);
  color: var(--ink);
  border: 1px solid rgba(195, 160, 94, 0.4);
  border-radius: 4px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.7);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  animation: gateIn 0.55s var(--ease-out) both;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.lang-gate-mark {
  display: inline-block;
  width: 46px; height: 40px;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}
.lang-gate-brand {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--mute-cream);
  margin-bottom: 1.4rem;
}
.lang-gate-title {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.lang-gate-sub {
  font-size: 0.92rem;
  color: var(--mute-cream);
  margin-bottom: 2rem;
}

.lang-gate-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
@media (min-width: 540px) {
  .lang-gate-options { grid-template-columns: 1fr 1fr; }
}
.lang-gate-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 1.15rem 1rem;
  border: 1px solid var(--line-cream);
  border-radius: var(--radius);
  background: transparent;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out),
              transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.lang-gate-btn:hover, .lang-gate-btn:focus-visible {
  border-color: var(--gold-deep);
  background: rgba(195, 160, 94, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cream);
}
.lang-gate-btn-label {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
}
.lang-gate-btn-sub {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--mute-cream);
}

.lang-gate-alt {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--mute-cream);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s var(--ease-out);
}
.lang-gate-alt:hover { color: var(--gold-deep); }

.lang-gate-note {
  margin-top: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-cream-soft);
  font-size: 0.66rem;
  line-height: 1.7;
  color: var(--mute-cream);
}

html.gate-open { overflow: hidden; }

/* =============================================================
   3. Reveal system
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* =============================================================
   4. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  color: var(--ivory);
  transition: background 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft),
              box-shadow 0.4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
/* Permanent scrim behind the transparent nav — guarantees legibility over
   any hero photo/crop, independent of scroll position. Fades out once the
   solid nav background takes over. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(6, 5, 3, 0.7) 0%, rgba(6, 5, 3, 0.34) 60%, transparent 100%);
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s var(--ease-soft);
}
.nav.is-solid::before { opacity: 0; }
.nav.is-solid {
  background: rgba(15, 14, 11, 0.88);
  border-bottom-color: var(--line-soft);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-solid {
    background: rgba(15, 14, 11, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.nav-brand { display: flex; align-items: center; gap: 0.8rem; }
.nav-brand-mark { flex: 0 0 auto; width: 34px; height: 30px; color: var(--gold); }
.nav-brand-mark svg { width: 100%; height: 100%; }
.nav-brand-name {
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  display: flex; flex-direction: column; line-height: 1.3;
  text-transform: uppercase;
}
.nav-brand-sub {
  font-weight: 400;
  font-size: 0.52rem;
  letter-spacing: 0.36em;
  color: var(--gold-soft);
  opacity: 0.9;
  text-shadow: 0 1px 10px rgba(5, 4, 2, 0.7);
}

.nav-links { display: none; gap: 2.3rem; }
.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-2);
  position: relative;
  text-shadow: 0 1px 10px rgba(5, 4, 2, 0.7);
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -7px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-side { display: flex; align-items: center; gap: 1.1rem; }

.lang {
  display: flex; gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(8, 7, 5, 0.55);
}
.lang-btn {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  padding: 0.36rem 0.66rem;
  border-radius: 1px;
  color: var(--ivory-2);
  text-shadow: 0 1px 8px rgba(5, 4, 2, 0.6);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.lang-btn:hover { color: var(--ivory); }
.lang-btn.is-active {
  color: #14120e;
  background: var(--gold);
}

.nav-cta {
  display: none;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  background: rgba(8, 7, 5, 0.55);
  color: var(--gold-soft);
  text-shadow: 0 1px 8px rgba(5, 4, 2, 0.6);
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out),
              color 0.3s, transform 0.3s var(--ease-out);
}
.nav-cta:hover {
  border-color: var(--gold);
  background: rgba(195, 160, 94, 0.1);
  color: var(--gold-soft);
  transform: translateY(-1px);
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.1rem 2.3rem;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.35s var(--ease-out), border-color 0.35s, color 0.35s;
}
.btn-primary {
  color: #17130c;
  background: linear-gradient(120deg, var(--gold-soft) 0%, var(--gold) 45%, var(--gold) 100%);
  background-size: 200% 100%;
  box-shadow: 0 14px 34px -14px rgba(195, 160, 94, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 90% 0;
  box-shadow: 0 18px 44px -14px rgba(195, 160, 94, 0.7);
}
.btn-ghost {
  color: var(--ivory);
  border: 1px solid rgba(241, 235, 223, 0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

/* =============================================================
   6. Hero — full-bleed photography, warm dark veil
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 7rem;
  isolation: isolate;
  color: var(--ivory);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.92) contrast(1.02);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 5, 3, 0.88) 0%, rgba(6, 5, 3, 0.62) 32%, rgba(13, 11, 8, 0.42) 58%, rgba(15, 14, 11, 0.94) 100%),
    linear-gradient(100deg, rgba(16, 13, 9, 0.7) 0%, rgba(16, 13, 9, 0.4) 55%, rgba(16, 13, 9, 0.22) 100%);
}

.hero-inner { max-width: 1200px; }

.hero-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: clamp(0.58rem, 1.3vw, 0.68rem);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2.2rem;
}
/* Solid-ish chip guarantees legibility regardless of the photo underneath —
   the gradient alone can't be tuned to work for every crop/viewport. */
.hero-kicker-text {
  padding: 0.5em 0.9em;
  background: rgba(6, 5, 3, 0.62);
  border-radius: 2px;
}
.hero-kicker::before {
  content: "";
  width: 44px; height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 600;
  line-height: 1.02;
  max-width: 17ch;
  text-shadow: 0 2px 30px rgba(8, 6, 3, 0.6);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

.hero-sub {
  max-width: 54ch;
  margin-top: 2rem;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ivory-2);
  text-shadow: 0 1px 16px rgba(8, 6, 3, 0.55);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem;
}

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.35rem var(--gutter);
  border-top: 1px solid rgba(241, 235, 223, 0.16);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(241, 235, 223, 0.6);
}
.hero-foot-item:not(.hero-scroll) { display: none; }
@media (min-width: 720px) {
  .hero-foot-item:not(.hero-scroll) { display: inline; }
}
.hero-scroll { display: flex; align-items: center; gap: 0.7rem; }
.hero-scroll-line {
  width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  animation: scrollPulse 2.6s var(--ease-soft) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.7); transform-origin: left; }
  50%      { opacity: 1; transform: scaleX(1); }
}

/* =============================================================
   7. Stats
   ============================================================= */
.stats { border-bottom: 1px solid var(--line-soft); background: var(--bg-2); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  padding: 2.8rem var(--gutter);
  border-bottom: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
/* Sans, not the display serif: Cormorant's old-style figures have
   mismatched glyph heights (the "3" has a descender, the "1" is short),
   which breaks alignment across a row of stats. Inter's lining figures
   are uniform, so every number reads at the same visual size. */
.stat-num {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.stat-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mute);
}
@media (min-width: 960px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .stat:last-child { border-right: 0; }
}

/* =============================================================
   8. Sections common
   ============================================================= */
.section-kicker {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.4rem;
}
.section-kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  flex: 0 0 auto;
}
.section-title {
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  color: var(--ivory);
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

/* =============================================================
   9. About — cream editorial interlude
   ============================================================= */
.about {
  padding: clamp(5.5rem, 12vw, 9rem) var(--gutter);
  background: var(--cream);
  color: var(--ink);
}
.about .section-kicker { color: var(--gold-deep); }
.about .section-kicker::before { background: var(--gold-deep); }
.about .section-title { color: var(--ink); }
.about .section-title em { color: var(--gold-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.2rem;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 5rem; }
}

.about-manifesto {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.9vw, 2.05rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 44ch;
  color: var(--ink-2);
}
.about-body {
  margin-top: 1.5rem;
  font-size: 0.98rem;
  color: var(--mute-cream);
  max-width: 58ch;
}
.about-legacy {
  margin-top: 2.2rem;
  padding-left: 1.4rem;
  border-left: 2px solid var(--gold-deep);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  color: var(--gold-deep);
  max-width: 30ch;
}

.about-figure {
  margin: 0;
  position: relative;
}
.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 20px 20px 0 rgba(143, 116, 52, 0.16), var(--shadow-cream);
}
.about-figure figcaption {
  margin-top: 1.4rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute-cream);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.pillar {
  background: var(--cream-card);
  border: 1px solid var(--line-cream-soft);
  border-top: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 2rem 1.9rem 2.2rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out);
}
.pillar:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold-deep);
  box-shadow: var(--shadow-cream);
}
.pillar-num {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
}
.pillar h3 {
  font-size: 1.45rem;
  margin: 0.9rem 0 0.6rem;
  color: var(--ink);
}
.pillar p { color: var(--mute-cream); font-size: 0.92rem; max-width: 40ch; }
@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1280px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   10. Services (expanding rows) — dark
   ============================================================= */
.services { padding: clamp(5.5rem, 12vw, 9rem) var(--gutter); background: var(--bg); }
.service-list { margin-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); }

.service { border-bottom: 1px solid var(--line); }

.service-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 0.3rem;
  text-align: left;
  transition: padding 0.4s var(--ease-out);
}
.service-head:hover { padding-left: 1rem; }

.service-num {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.service-name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ivory);
  transition: color 0.35s var(--ease-out);
}
.service-tag {
  display: none;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}
.service-toggle {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--mute);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.45s var(--ease-out), color 0.3s, border-color 0.3s, background 0.3s;
}
.service-head:hover .service-toggle {
  color: #17130c;
  border-color: var(--gold);
  background: var(--gold);
}
.service.is-open .service-toggle {
  transform: rotate(45deg);
  color: #17130c;
  border-color: var(--gold);
  background: var(--gold);
}
.service.is-open .service-name {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.service.is-open .service-body { grid-template-rows: 1fr; }
.service-body-inner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: center;
}
.service.is-open .service-body-inner { padding-bottom: 2.4rem; }
.service-body-inner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  filter: saturate(0.9) contrast(1.03);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
}
.service-body-inner img:hover { transform: scale(1.015); filter: saturate(1.05); }
.service-body-inner p { color: var(--mute); max-width: 48ch; font-size: 0.98rem; }

@media (min-width: 720px) {
  .service-tag { display: block; text-align: right; margin-right: 1.4rem; }
  .service-head { grid-template-columns: 3.4rem 1fr auto auto; }
  .service-body-inner { grid-template-columns: minmax(0, 470px) 1fr; gap: 3.5rem; }
}

/* =============================================================
   11. Panorama
   ============================================================= */
.panorama {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--ivory);
}
.panorama-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.panorama-tint {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 14, 11, 0.86) 0%, rgba(15, 13, 9, 0.5) 50%, rgba(15, 14, 11, 0.9) 100%);
}
.panorama-quote {
  padding: 6.5rem var(--gutter);
  text-align: center;
}
.panorama-quote p {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 2px 30px rgba(8, 6, 3, 0.8);
}
.panorama-quote em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

/* =============================================================
   11b. Testimonials marquee — dark
   ============================================================= */
.testimonials {
  padding: clamp(5.5rem, 12vw, 9rem) 0;
  background: var(--bg-2);
  overflow: clip;
}
.testimonials .section-kicker,
.testimonials .section-title { padding-inline: var(--gutter); }

.marquee {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.marquee-row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLeft 75s linear infinite;
}
.marquee-row[data-dir="rtl"] .marquee-track {
  animation-name: marqueeRight;
  animation-duration: 85s;
}
.marquee-row:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  gap: 1.25rem;
  padding-right: 1.25rem;
}
@keyframes marqueeLeft {
  to { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.t-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: min(390px, 78vw);
  flex: 0 0 auto;
  padding: 1.8rem 1.9rem 1.7rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.t-stars {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
}
.t-quote {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ivory-2);
}
.t-name {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
}
.t-meta {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mute);
}

/* =============================================================
   12. Contact + form — cream finale
   ============================================================= */
.contact {
  position: relative;
  padding: clamp(5.5rem, 12vw, 9rem) var(--gutter);
  background: var(--cream);
  color: var(--ink);
  isolation: isolate;
}
.contact .section-kicker { color: var(--gold-deep); }
.contact .section-kicker::before { background: var(--gold-deep); }
.contact .section-title { color: var(--ink); }
.contact .section-title em { color: var(--gold-deep); }
.contact-sub { color: var(--mute-cream); max-width: 48ch; margin-bottom: 3.2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 580px) 1fr; gap: 5rem; }
}

.cta-form {
  display: flex; flex-direction: column; gap: 1.4rem;
  background: var(--cream-card);
  border: 1px solid var(--line-cream-soft);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.7rem, 4vw, 2.7rem);
  box-shadow: var(--shadow-cream);
}

.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute-cream);
}
.field-optional {
  letter-spacing: 0.1em;
  text-transform: none;
  font-weight: 400;
  opacity: 0.75;
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-cream);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.field textarea {
  resize: vertical;
  min-height: 6rem;
  line-height: 1.6;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(111, 104, 89, 0.45); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(195, 160, 94, 0.2);
}

.consent {
  display: flex; align-items: flex-start; gap: 0.8rem;
  cursor: pointer;
  margin-top: 0.2rem;
}
.consent input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.consent-box {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1px solid var(--mute-cream);
  border-radius: 2px;
  position: relative;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.consent-box::after {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 1px;
  background: #fff;
  clip-path: polygon(14% 46%, 38% 68%, 86% 16%, 100% 30%, 40% 94%, 0 60%);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.consent input:checked + .consent-box {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.consent input:checked + .consent-box::after { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .consent-box {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
.consent-text { font-size: 0.78rem; color: var(--mute-cream); line-height: 1.6; }

.btn-submit { position: relative; margin-top: 0.4rem; align-self: flex-start; min-width: 200px; }
.btn-submit-check {
  position: absolute;
  width: 20px; height: 20px;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.cta-form.is-done .btn-submit-label { opacity: 0; }
.cta-form.is-done .btn-submit-check { opacity: 1; transform: scale(1); }
.cta-form.is-sending .btn-submit { opacity: 0.65; pointer-events: none; }
.btn-submit-label { transition: opacity 0.25s var(--ease-out); }

.form-status {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  min-height: 1.3em;
}
.form-status.is-error { color: #a8382e; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line-cream-soft);
  border-left: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  background: var(--cream-card);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
}
a.contact-card:hover {
  border-left-color: var(--gold-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cream);
}
.contact-card-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute-cream);
}
.contact-card-value {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

/* =============================================================
   13. Footer — black with gold hairline
   ============================================================= */
.footer {
  padding: 3.2rem var(--gutter) 2.4rem;
  background: #0a0906;
  color: var(--ivory);
  border-top: 1px solid var(--gold-dim);
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.footer-brand {
  font-weight: 500;
  letter-spacing: 0.22em;
  font-size: 0.88rem;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 2rem;
}
.footer-langs {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.74rem;
  color: var(--mute);
}
.footer-credits a { color: var(--ivory-2); }
.footer-credits a:hover { color: var(--gold-soft); }

/* =============================================================
   14. Credits page
   ============================================================= */
.page-credits main {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 5rem;
}
.page-credits h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.page-credits main > p { color: var(--mute); margin-bottom: 2.4rem; }
.credits-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.credits-list li {
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-dim);
  border-radius: var(--radius);
  background: var(--bg-2);
  font-size: 0.85rem;
  color: var(--mute);
}
.credits-list a { color: var(--ivory-2); text-decoration: underline; text-underline-offset: 3px; }
.credits-list a:hover { color: var(--gold-soft); }
.credits-back {
  display: inline-block;
  margin: 1.7rem var(--gutter) 0;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mute);
}
.credits-back:hover { color: var(--gold-soft); }

/* =============================================================
   15. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line { animation: none; }
  /* hovers, count-ups, marquee (slow) and reveals stay active */
}
