:root {
  --bg: #f8f4ec;            /* Warm cream / "Сливки" */
  --bg-soft: #efe9dc;
  --surface: rgba(255, 253, 248, 0.86);
  --surface-strong: rgba(255, 253, 248, 0.96);
  --ink: #0c2248;           /* Crisp deep royal navy */
  --ink-navy: #6e1423;      /* Premium wine Bordeaux for section titles & italic accents */
  --ink-muted: #1e3357;     /* Crisp, high-contrast legible navy-slate for all screens */
  --accent: #7a1728;        /* Rich Bordeaux for chapter dividers & indices */
  --gold: #b59254;          /* Refined champagne gold trim */
  --line: rgba(110, 20, 35, 0.16);
  --line-strong: rgba(110, 20, 35, 0.34);
  --platinum: #7a1728;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 20px;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background: radial-gradient(circle at 75% 18%, #fbf9f4 0%, var(--bg) 52%, #ece5d8 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Luxury Fill + Particle Dissolve Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s ease;
  will-change: opacity;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#preloader-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Disabled fullscreen SVG feTurbulence overlay for locked 60-120fps GPU compositing */
.grain-overlay {
  display: none;
}

/* Architectural Celestial Atlas Background */
.atlas-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  color: rgba(20, 28, 43, 0.13);
}

.ambient-glow {
  position: absolute;
  top: 50%;
  right: 6%;
  width: 720px;
  height: 720px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.78) 0%, rgba(226, 232, 242, 0.28) 42%, rgba(245, 241, 232, 0) 72%);
}

.atlas-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.atlas-coord {
  position: absolute;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(26, 29, 36, 0.32);
  font-weight: 500;
}

.atlas-coord.top-left {
  top: 112px;
  left: 36px;
}

.atlas-coord.bottom-left {
  bottom: 26px;
  left: 36px;
}

/* Fixed 3D Canvas — isolated GPU layer */
#astro-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

main, .site-header, .site-footer {
  position: relative;
  z-index: 10;
}

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

/* Header — crisp frosted cream without heavy GPU backdrop-filter readback over WebGL */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: min(1240px, calc(100% - 40px));
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 244, 236, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(12, 34, 72, 0.06);
  border-radius: 999px;
  z-index: 50;
  contain: layout style;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b303a, #9da5b4);
  box-shadow: 0 0 0 3px rgba(26, 29, 36, 0.08);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-muted);
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}

.lang-btn.active {
  color: var(--ink);
  font-weight: 600;
}

.header-cta {
  text-decoration: none;
  background: var(--ink-navy);
  color: #f7f4ed;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #232d42;
}

/* Sections */
.section {
  padding: 120px 0;
  position: relative;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(122, 23, 40, 0.32);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.section-title em {
  font-style: italic;
  color: var(--ink);
}

.section-title.center {
  text-align: center;
}

/* HERO */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-navy);
  font-weight: 600;
  margin-bottom: 24px;
}

.eyebrow-line {
  width: 34px;
  height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-line.italic {
  font-style: italic;
  padding-left: 0;
  color: var(--ink-navy);
}

.hero-lead {
  max-width: 560px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 36px;
  line-height: 1.68;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 999px;
  background: var(--ink-navy);
  color: #f7f4ed;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 10px 30px rgba(20, 28, 43, 0.16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #222e46;
  box-shadow: 0 14px 36px rgba(20, 28, 43, 0.24);
}

.btn-primary.large {
  padding: 18px 34px;
  font-size: 15px;
}

.btn-primary.full-width {
  width: 100%;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  background: rgba(255, 253, 249, 0.92);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(255, 253, 249, 0.98);
  border-color: var(--ink);
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.metric-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.metric-label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
}

.metric-divider {
  width: 1px;
  height: 46px;
  background: var(--line-strong);
}

.hero-visual-spacer {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.scroll-line span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: scrollPulse 2.2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* SECTION 2: ABOUT — Large Alfiya Portrait (~1/2 page) + Crisp Text on Right */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 52px;
  align-items: center;
}

/* Editorial Cutout Portrait Standing in the Center of the Large Rotating Zodiac Wheel */
.portrait-stage {
  position: relative;
  margin-top: 8px;
  width: min(540px, 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-zodiac-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  animation: slowHaloSpin 68s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes slowHaloSpin {
  from { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
  to { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}

.portrait-cutout {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 94%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.portrait-cutout img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(110, 20, 35, 0.14));
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
}

/* Compact, ultra-readable quote tucked cleanly into the bottom-left under Alfiya */
.about-quote-compact {
  margin-top: 18px;
  max-width: 480px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 253, 248, 0.92);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 10px 26px rgba(12, 34, 72, 0.04);
}

.about-quote-compact p {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.58;
  color: var(--ink);
}

.about-right-title {
  font-size: clamp(26px, 2.8vw, 38px);
  margin-bottom: 22px;
}

.glass-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(181, 146, 84, 0.24);
  box-shadow: 0 18px 48px rgba(26, 29, 36, 0.05);
  border-radius: var(--radius);
  padding: 40px;
}

.editorial-p {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.75;
}

.quote-bar {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 0.8;
  color: var(--platinum);
}

.quote-bar p {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.48;
  color: var(--ink-navy);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.principle-card {
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.principle-num {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--platinum);
  display: block;
  margin-bottom: 10px;
}

.principle-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.principle-card p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* SECTION 3: ASSEMBLY STAGE — clean separation between 3D wheel & readable text! */
.assembly-section {
  min-height: 135vh;
  display: flex;
  align-items: center;
}

.assembly-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Night-Sky Starry Header Card for 02 / Точка сборки */
.assembly-header.night-sky-card {
  text-align: center;
  max-width: 820px;
  width: 100%;
  padding: 36px 40px 32px;
  border-radius: 26px;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid rgba(212, 180, 122, 0.42);
  box-shadow: 0 28px 70px rgba(7, 18, 42, 0.24);
  background:
    radial-gradient(1.5px 1.5px at 12% 24%, rgba(255, 255, 255, 0.92), transparent),
    radial-gradient(1.2px 1.2px at 26% 76%, rgba(236, 212, 162, 0.85), transparent),
    radial-gradient(2px 2px at 42% 18%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.2px 1.2px at 58% 82%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.8px 1.8px at 74% 26%, rgba(242, 220, 178, 0.92), transparent),
    radial-gradient(1.3px 1.3px at 88% 68%, rgba(255, 255, 255, 0.88), transparent),
    radial-gradient(1px 1px at 18% 58%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 84% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 66% 14%, rgba(236, 212, 162, 0.78), transparent),
    radial-gradient(1.4px 1.4px at 93% 42%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 7% 78%, rgba(236, 212, 162, 0.72), transparent),
    radial-gradient(ellipse at 50% 0%, #173366 0%, #0b1c3d 55%, #071229 100%);
}

.night-sky-card .section-index {
  color: #e9cfa0;
  border-bottom-color: rgba(233, 207, 160, 0.38);
}

.night-sky-card .section-title {
  color: #ffffff;
}

.night-sky-card .section-title em {
  color: #f3dfb8;
}

.night-sky-sub {
  margin-top: 18px;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(243, 223, 184, 0.9);
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(233, 207, 160, 0.28);
}

.assembly-stage-spacer {
  width: 100%;
  height: min(62vh, 520px);
  pointer-events: none;
}

.filter-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Interactive Question Filter — solid crisp surface so 3D wheel never interferes with reading */
.question-filter-wrap {
  width: min(920px, 100%);
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 28px 70px rgba(12, 34, 72, 0.08);
  position: relative;
  z-index: 6;
  margin-top: 24px;
}

.filter-tabs {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  width: 100%;
}

.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #621120 0%, #7d192b 100%);
  box-shadow: 0 8px 22px rgba(110, 20, 35, 0.22);
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.36s ease,
    box-shadow 0.36s ease;
}

.tab-indicator.is-blue {
  background: linear-gradient(135deg, #0d2b5c 0%, #1c4a94 100%);
  box-shadow: 0 8px 22px rgba(13, 43, 92, 0.26);
}

.filter-tab {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-tab:hover:not(.active) {
  color: var(--ink);
}

.filter-tab.active {
  background: transparent;
  color: #f7f4ed;
}

.filter-panel {
  display: none;
}

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

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

.q-chip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(245, 241, 232, 0.65);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.q-chip.muted {
  color: var(--ink-muted);
}

.q-status {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.q-status.ok {
  background: var(--ink-navy);
  color: #f7f4ed;
}

.q-status.no {
  background: #143875;
  color: #ffffff;
}

/* SECTION 4: SERVICES */
.services-section {
  background: linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, rgba(245, 241, 232, 0.88) 12%, rgba(245, 241, 232, 0.94) 100%);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 28px;
}

/* Prominent Royal Navy Honesty Callout Banner */
.honesty-banner {
  margin-bottom: 42px;
  padding: 30px 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0d234a 0%, #16366e 100%);
  border: 1px solid rgba(212, 180, 122, 0.45);
  border-left: 5px solid var(--gold);
  box-shadow: 0 22px 54px rgba(10, 26, 56, 0.2);
}

.honesty-banner-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.4;
  color: #faf6ee;
}

.honesty-banner-text em {
  font-style: italic;
  color: #f3dfb8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(26, 29, 36, 0.07);
}

.service-card.featured {
  background: linear-gradient(155deg, #5e111e 0%, #7d192b 100%);
  color: #faf6ee;
  border-color: rgba(212, 180, 122, 0.42);
}

.service-card.featured .service-desc,
.service-card.featured .service-list li,
.service-card.featured .service-num {
  color: rgba(246, 243, 236, 0.76);
}

.service-card.featured .service-badge {
  background: rgba(255, 255, 255, 0.12);
  color: #f6f3ec;
}

.service-card.featured .btn-card {
  background: #f5f1e8;
  color: var(--ink-navy);
}

.service-card.featured .btn-card:hover {
  background: #ffffff;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.service-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 29, 36, 0.07);
  color: var(--ink);
  font-weight: 600;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink-muted);
}

.service-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--ink-muted);
}

.service-list li::before {
  content: '—';
  margin-right: 10px;
  opacity: 0.5;
}

.service-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.service-card.featured .service-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.price-val {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ink-navy);
  color: #f7f4ed;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-card:hover {
  transform: translateY(-1px);
  background: #26334d;
}

/* Wide Forecast Card */
.wide-card, .rect-card {
  grid-column: span 2;
}

.wide-card-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: stretch;
}

.forecast-selector {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, #5e111e 0%, #7d192b 100%);
  box-shadow: 0 12px 28px rgba(110, 20, 35, 0.22);
  pointer-events: none;
  z-index: 0;
  will-change: transform, height;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.f-opt {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.52);
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--ink);
  transition:
    color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    background-color 0.32s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: left;
}

.f-opt:hover:not(.active) {
  border-color: var(--line-strong);
  background: rgba(255, 253, 249, 0.92);
  transform: translateX(3px);
}

.f-opt:active {
  transform: scale(0.992);
}

.f-opt.active {
  background: transparent;
  color: #f6f3ec;
  border-color: transparent;
}

.f-title {
  font-size: 14px;
  font-weight: 500;
}

.f-price {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.forecast-summary {
  background: rgba(245, 241, 232, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.summary-price {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--ink-navy);
}

.summary-desc {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 26px;
  line-height: 1.6;
}

/* Rectification Card */
.rect-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.rect-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rect-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: rgba(245, 241, 232, 0.6);
  font-size: 14px;
  transition: all 0.22s ease;
}

.rect-row:hover {
  background: var(--ink-navy);
  color: #f6f3ec;
  border-color: var(--ink-navy);
}

.rect-row strong {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.rect-row.free-row {
  background: rgba(20, 28, 43, 0.06);
  border-style: dashed;
  cursor: default;
}

.rect-row.free-row:hover {
  background: rgba(20, 28, 43, 0.06);
  color: var(--ink);
  border-color: var(--line);
}

/* SECTION 5: CASES */
.cases-section {
  background: rgba(245, 241, 232, 0.92);
}

.cases-header {
  margin-bottom: 48px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.case-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 14px;
}

.case-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.cases-disclaimer {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* SECTION 6: FINAL (transparent so 3D zodiac sculptures fly crisply around the CTA!) */
.final-section {
  background: linear-gradient(180deg, rgba(245, 241, 232, 0.92) 0%, rgba(245, 241, 232, 0.15) 26%, rgba(245, 241, 232, 0) 100%);
  padding: 150px 0 130px;
}

.final-inner {
  text-align: center;
  max-width: 780px;
}

.final-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 22px;
}

.final-title em {
  font-style: italic;
  color: var(--ink-navy);
}

.final-sub {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 36px;
}

.final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.final-channel-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

/* Universal Messenger Picker Modal (Telegram · WhatsApp · MAX) */
.messenger-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease;
}

.messenger-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 24, 48, 0.46);
}

.mm-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #faf6ee;
  border: 1px solid rgba(181, 146, 84, 0.45);
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 32px 80px rgba(12, 24, 48, 0.28);
  transform: translate3d(0, 14px, 0) scale(0.97);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.messenger-modal.open .mm-dialog {
  transform: translate3d(0, 0, 0) scale(1);
}

.mm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.9);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.mm-close:hover {
  background: var(--ink-navy);
  color: #faf6ee;
}

.mm-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.mm-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 8px;
  padding-right: 28px;
}

.mm-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.mm-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mm-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.mm-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5e111e 0%, #7d192b 100%);
  border-color: transparent;
  color: #faf6ee;
}

.mm-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mm-btn strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.mm-btn small {
  display: block;
  font-size: 12px;
  opacity: 0.72;
  margin-top: 2px;
}

.mm-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(110, 20, 35, 0.08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.22s ease, color 0.22s ease;
}

.mm-icon-max {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
}

.mm-btn:hover .mm-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #faf6ee;
}

.mm-arrow {
  font-size: 18px;
  opacity: 0.75;
}

/* FOOTER */
.site-footer {
  background: rgba(245, 241, 232, 0.96);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .hero-grid, .about-grid, .wide-card-grid, .rect-card {
    grid-template-columns: 1fr;
  }
  .services-grid, .cases-grid, .principles-grid, .q-chip-grid {
    grid-template-columns: 1fr;
  }
  .wide-card, .rect-card { grid-column: span 1; }
  .hero-visual-spacer { min-height: 280px; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header { padding: 10px 16px; }
  .section { padding: 84px 0; }
  .glass-card, .service-card { padding: 26px; }
  .hero-metrics { gap: 16px; flex-wrap: wrap; }
  .hero-lead, .editorial-p, .service-desc, .case-card p {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
  }
  .hero-content {
    background: rgba(248, 245, 239, 0.92);
    padding: 22px 18px;
    border-radius: 20px;
  }
}
