/* ==========================================================================
   TOTAL BUILDING ADVISOR — Ultra-Luxury Architectural Stylesheet 2.0
   Paletă: Obsidian (#07080B) · Champagne Gold (#D4AF37 / #E5C158) · Alabaster (#F5F3EE)
   Tipografie: Cormorant Garamond + Plus Jakarta Sans
   ========================================================================== */

:root {
  --bg-obsidian: #07080B;
  --bg-elevated: #0D1017;
  --gold: #D4AF37;
  --gold-bright: #E5C158;
  --gold-dim: rgba(212, 175, 55, 0.22);
  --gold-glow: rgba(212, 175, 55, 0.16);
  --text-alabaster: #F5F3EE;
  --text-secondary: #D4CEC2;
  --text-muted: #9D9688;
  --glass-bg: rgba(7, 8, 11, 0.64);
  --glass-bg-hover: rgba(11, 14, 21, 0.78);
  --glass-border: rgba(212, 175, 55, 0.24);
  --glass-border-strong: rgba(229, 193, 88, 0.52);
  --blueprint-cyan: #5CE1FF;
  --blueprint-border: rgba(92, 225, 255, 0.4);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --nav-height: 76px;
  --container-max: 1240px;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Bază */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-obsidian);
  color: var(--text-alabaster);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: var(--bg-obsidian);
  color: var(--text-alabaster);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
  overflow-x: hidden;
}

.hero-title,
.section-title,
.card-title,
.guarantee-value,
.metric-value,
.contact-card-heading {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}

body.is-loading {
  overflow: hidden;
}

::selection {
  background: rgba(212, 175, 55, 0.34);
  color: var(--text-alabaster);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   CURSOR DE PRECIZIE ARHITECTURALĂ (Desktop fine pointer)
   ========================================================================== */
.custom-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .custom-cursor.is-visible {
    opacity: 1;
  }

  .cursor-ring {
    position: absolute;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1px solid rgba(229, 193, 88, 0.58);
    border-radius: 50%;
    transition: width 0.25s var(--ease-luxury), height 0.25s var(--ease-luxury),
                margin 0.25s var(--ease-luxury), border-color 0.25s ease,
                background-color 0.25s ease, border-radius 0.25s ease;
  }

  .cursor-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.85);
    transition: background-color 0.25s ease, transform 0.25s ease;
  }

  .cursor-coords {
    position: absolute;
    left: 22px;
    top: 14px;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: var(--blueprint-cyan);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .custom-cursor.is-hovering .cursor-ring {
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border-color: var(--gold-bright);
    background-color: rgba(212, 175, 55, 0.08);
  }

  .custom-cursor.is-hovering .cursor-dot {
    transform: scale(1.3);
  }

  body.inspection-mode .cursor-ring {
    border-color: rgba(92, 225, 255, 0.78);
    border-radius: 4px;
  }

  body.inspection-mode .cursor-dot {
    background: var(--blueprint-cyan);
    box-shadow: 0 0 12px var(--blueprint-cyan);
  }

  body.inspection-mode .cursor-coords {
    opacity: 0.92;
  }
}

/* ==========================================================================
   PRELOADER SPLIT-CURTAIN 2.0
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: visibility 0.9s ease;
}

.preloader-shutter {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: radial-gradient(circle at 50% 50%, #111521 0%, var(--bg-obsidian) 82%);
  transition: transform 0.95s var(--ease-luxury);
}

.preloader-shutter.top {
  top: 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.preloader-shutter.bottom {
  bottom: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

#preloader.is-done {
  visibility: hidden;
  pointer-events: none;
}

#preloader.is-done .preloader-shutter.top {
  transform: translateY(-102%);
}

#preloader.is-done .preloader-shutter.bottom {
  transform: translateY(102%);
}

#preloader.is-done .preloader-inner {
  opacity: 0;
  transform: scale(0.96);
}

.preloader-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  text-align: center;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.preloader-monogram {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.draw-rect {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawStroke 1.4s var(--ease-luxury) forwards;
}

.draw-arch {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawStroke 1.2s var(--ease-luxury) 0.25s forwards;
}

.draw-axis {
  opacity: 0;
  animation: fadeInSoft 0.8s ease 0.5s forwards;
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeInSoft {
  to { opacity: 0.85; }
}

.preloader-brand {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--text-alabaster);
}

.preloader-sub {
  margin: 7px 0 26px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.preloader-counter {
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 7.5vw, 5.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}

.preloader-track {
  width: 100%;
  height: 2px;
  background: rgba(245, 243, 238, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.7);
  transition: width 0.14s linear;
}

.preloader-status {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   SCENĂ FUNDAL FIXĂ: CANVAS + PARTICULE + SCRIM + FILM GRAIN + INSPECȚIE 2.0
   ========================================================================== */
#canvas-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-obsidian);
  pointer-events: none;
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
  /* Color grading cinematografic obsidian & gold */
  filter: contrast(1.13) saturate(1.08) brightness(0.88);
  transition: filter 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}

#ambient-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.canvas-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 46%, rgba(7, 8, 11, 0.12) 0%, rgba(7, 8, 11, 0.56) 76%),
    linear-gradient(90deg, rgba(7, 8, 11, 0.78) 0%, rgba(7, 8, 11, 0.36) 50%, rgba(7, 8, 11, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.62) 0%, rgba(7, 8, 11, 0.10) 24%, rgba(7, 8, 11, 0.28) 78%, rgba(7, 8, 11, 0.84) 100%);
  transition: background 0.65s ease;
}

.film-grain {
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Overlay Blueprint 2.0 (Mod Inspecție Tehnică) */
#inspection-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease-luxury), visibility 0.55s ease;
}

body.inspection-mode #hero-canvas {
  filter: grayscale(100%) contrast(165%) brightness(0.86) sepia(100%) hue-rotate(174deg) saturate(350%);
}

body.inspection-mode .canvas-scrim {
  background:
    radial-gradient(circle at 55% 48%, rgba(4, 22, 42, 0.18) 0%, rgba(4, 10, 20, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 12, 24, 0.55) 0%, rgba(4, 12, 24, 0.22) 50%, rgba(4, 10, 20, 0.74) 100%);
}

body.inspection-mode #inspection-overlay {
  opacity: 1;
  visibility: visible;
}

.inspection-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(92, 225, 255, 0.28) 50%, transparent 100%);
  transform: translateY(-100%);
  opacity: 0;
}

.inspection-pulse.is-sweeping {
  animation: pulseSweep 0.85s var(--ease-luxury) forwards;
}

@keyframes pulseSweep {
  0% { transform: translateY(-100%); opacity: 0.9; }
  100% { transform: translateY(100%); opacity: 0; }
}

.inspection-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(92, 225, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(92, 225, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(92, 225, 255, 0.17) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(92, 225, 255, 0.17) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px, 220px 220px, 220px 220px;
}

.inspection-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(92, 225, 255, 0.9) 50%, transparent 100%);
  box-shadow: 0 0 20px rgba(92, 225, 255, 0.8);
  animation: scanSweep 5.2s linear infinite;
}

@keyframes scanSweep {
  0% { top: -2%; opacity: 0; }
  8% { opacity: 0.9; }
  92% { opacity: 0.9; }
  100% { top: 102%; opacity: 0; }
}

.inspection-crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border: 1px dashed rgba(92, 225, 255, 0.25);
  border-radius: 50%;
}

.inspection-crosshair::before,
.inspection-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(92, 225, 255, 0.35);
}

.inspection-crosshair::before {
  left: 50%;
  top: -12px;
  bottom: -12px;
  width: 1px;
}

.inspection-crosshair::after {
  top: 50%;
  left: -12px;
  right: -12px;
  height: 1px;
}

.corner-mark {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: rgba(92, 225, 255, 0.65);
  border-style: solid;
}

.corner-mark.tl { top: 92px; left: 24px; border-width: 1.5px 0 0 1.5px; }
.corner-mark.tr { top: 92px; right: 24px; border-width: 1.5px 1.5px 0 0; }
.corner-mark.bl { bottom: 24px; left: 24px; border-width: 0 0 1.5px 1.5px; }
.corner-mark.br { bottom: 24px; right: 24px; border-width: 0 1.5px 1.5px 0; }

/* CAD Callout Pins sincronizate */
.cad-callout {
  position: absolute;
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1120px) {
  .cad-callout {
    display: flex;
  }
}

.cad-callout.pin-1 { top: 24%; right: 12%; }
.cad-callout.pin-2 { top: 47%; right: 8%; }
.cad-callout.pin-3 { top: 69%; right: 14%; }

.cad-node {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blueprint-cyan);
  box-shadow: 0 0 0 4px rgba(92, 225, 255, 0.2), 0 0 12px var(--blueprint-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}

.cad-line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--blueprint-cyan), rgba(92, 225, 255, 0.25));
}

.cad-tag {
  padding: 5px 10px;
  background: rgba(5, 16, 30, 0.84);
  border: 1px solid var(--blueprint-border);
  border-radius: var(--radius-sm);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #DCF8FF;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.inspection-hud {
  position: absolute;
  left: 32px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(5, 16, 30, 0.84);
  border: 1px solid var(--blueprint-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  color: #DDF7FF;
  font-variant-numeric: tabular-nums;
}

.hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blueprint-cyan);
  font-weight: 600;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blueprint-cyan);
  box-shadow: 0 0 10px var(--blueprint-cyan);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.hud-metrics {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hud-sep {
  opacity: 0.35;
}

.hud-key {
  padding: 2px 6px;
  border: 1px solid rgba(92, 225, 255, 0.4);
  border-radius: 3px;
  font-size: 0.6rem;
  color: var(--blueprint-cyan);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ==========================================================================
   NAVBAR MINIMALIST FIX + PROGRESS BAR
   ========================================================================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(245, 243, 238, 0.06);
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.82) 0%, rgba(7, 8, 11, 0.38) 100%);
  backdrop-filter: blur(12px);
  transition: background 0.35s ease, border-color 0.35s ease;
}

#navbar.is-scrolled {
  background: rgba(7, 8, 11, 0.9);
  border-bottom-color: rgba(212, 175, 55, 0.22);
}

.scroll-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 10px rgba(229, 193, 88, 0.65);
}

body.inspection-mode .scroll-progress-bar {
  background: linear-gradient(90deg, #279EC2, var(--blueprint-cyan));
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.75);
}

.nav-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-icon {
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-alabaster);
  white-space: nowrap;
}

.brand-divider {
  color: var(--gold);
  opacity: 0.75;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-luxury);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-alabaster);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-obsidian);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
  border-radius: var(--radius-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

.btn-gold-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  filter: brightness(1.06);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(245, 243, 238, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-alabaster);
  transition: transform 0.3s ease;
}

.mobile-menu-btn.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-menu-btn.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(7, 8, 11, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer.is-open {
  display: flex;
}

.drawer-link {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 243, 238, 0.08);
}

.drawer-cta {
  margin-top: 8px;
  width: 100%;
}

/* ==========================================================================
   RAIL VERTICAL & INDICATOR FAZĂ STÂNGA-JOS
   ========================================================================== */
#act-rail {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rail-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.rail-label {
  opacity: 0;
  text-align: right;
  white-space: nowrap;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.rail-item:hover .rail-label,
.rail-item.is-active .rail-label {
  opacity: 1;
  transform: translateX(0);
}

.rail-num {
  width: 20px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  opacity: 0.65;
}

.rail-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: transparent;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.rail-item.is-active {
  color: var(--gold-bright);
}

.rail-item.is-active .rail-dot {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(229, 193, 88, 0.55);
}

.phase-pill {
  position: fixed;
  left: 28px;
  bottom: 26px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(7, 8, 11, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s ease;
}

.phase-pill-code {
  color: var(--gold-bright);
  font-weight: 600;
}

.phase-pill-sep {
  opacity: 0.4;
}

body.inspection-mode .phase-pill {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   BUTON DISCRET DREAPTA-JOS: MOD INSPECȚIE TEHNICĂ
   ========================================================================== */
.inspection-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: rgba(7, 8, 11, 0.84);
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  color: var(--text-alabaster);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.25s ease;
}

.inspection-toggle:hover {
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.toggle-kbd {
  padding: 1px 6px;
  border: 1px solid rgba(245, 243, 238, 0.2);
  border-radius: 3px;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.toggle-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.inspection-mode .inspection-toggle {
  background: rgba(5, 18, 34, 0.92);
  border-color: var(--blueprint-cyan);
  color: #DDF7FF;
  box-shadow: 0 0 26px rgba(92, 225, 255, 0.28);
}

body.inspection-mode .inspection-toggle .toggle-kbd {
  border-color: rgba(92, 225, 255, 0.45);
  color: var(--blueprint-cyan);
}

body.inspection-mode .inspection-toggle .toggle-indicator {
  background: var(--blueprint-cyan);
  box-shadow: 0 0 10px var(--blueprint-cyan);
}

/* ==========================================================================
   SCENA DE SCROLL & SECȚIUNI EDITORIALE
   ========================================================================== */
#scroll-stage {
  position: relative;
  z-index: 10;
}

.act-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 96px;
}

.cinematic-spacer {
  height: 22vh;
  pointer-events: none;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-alabaster);
}

.section-title em,
.hero-title em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 500;
}

.section-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Butoane cu sheen auriu */
.btn-gold-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--bg-obsidian);
  border: 1px solid var(--gold-bright);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease-luxury), box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-gold-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease-luxury);
}

.btn-gold-primary:hover::before {
  left: 140%;
}

.btn-gold-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.34);
  filter: brightness(1.06);
}

.btn-glass-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: rgba(7, 8, 11, 0.58);
  color: var(--text-alabaster);
  border: 1px solid rgba(245, 243, 238, 0.28);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-glass-secondary:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(13, 16, 23, 0.84);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Carduri Glassmorphism + Molten-Gold Specular Spotlight */
.glass-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
  transform-style: preserve-3d;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.28s var(--ease-luxury);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 193, 88, 0.48), transparent);
  pointer-events: none;
  z-index: 2;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(229, 193, 88, 0.14),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover::after {
  opacity: 1;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

body.inspection-mode .glass-card {
  border-color: var(--blueprint-border);
}

body.inspection-mode .glass-card::before {
  background: linear-gradient(90deg, transparent, rgba(92, 225, 255, 0.58), transparent);
}

body.inspection-mode .glass-card::after {
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(92, 225, 255, 0.14),
    transparent 58%
  );
}

/* ==========================================================================
   ACTUL 01 — HERO
   ========================================================================== */
.act-hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 34px);
}

.hero-content {
  max-width: 710px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 24px;
  background: rgba(7, 8, 11, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.8vw, 4.75rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--text-alabaster);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-ribbon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: rgba(7, 8, 11, 0.62);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ribbon-item strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.ribbon-sep {
  color: rgba(212, 175, 55, 0.45);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-cue-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold-bright), transparent);
  animation: cueFloat 2.2s ease-in-out infinite;
}

@keyframes cueFloat {
  0%, 100% { transform: scaleY(0.7); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   ACTUL 02 — SERVICII (6 CARDURI GLASSMORPHISM)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-hover);
}

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

.card-index {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.card-icon {
  color: var(--gold);
  opacity: 0.9;
}

.card-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-alabaster);
}

.card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

/* ==========================================================================
   ACTUL 03 — PROCES (4 PAȘI) & GARANȚII REALE (4 CASETE)
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.step-card {
  padding: 24px 22px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.step-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-alabaster);
}

.step-desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.guarantee-card {
  padding: 26px 22px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.09) 0%, rgba(7, 8, 11, 0.78) 65%);
  border-color: rgba(212, 175, 55, 0.34);
}

.guarantee-card:hover {
  border-color: var(--gold-bright);
}

.guarantee-tag {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.guarantee-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.guarantee-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-alabaster);
}

/* ==========================================================================
   ACTUL 04 — ESTIMATOR RAPID DE DIRIGENȚIE 2.0
   ========================================================================== */
.estimator-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  padding: 36px;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.control-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.area-badge {
  padding: 5px 12px;
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-btn {
  text-align: left;
  padding: 15px 16px;
  background: rgba(245, 243, 238, 0.03);
  border: 1px solid rgba(245, 243, 238, 0.14);
  border-radius: var(--radius-sm);
  color: var(--text-alabaster);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.option-btn:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.option-btn.is-selected {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-bright);
}

.opt-title {
  font-size: 0.94rem;
  font-weight: 600;
}

.opt-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.gold-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--gold-bright) 0%,
    var(--gold-bright) var(--range-pct, 3.25%),
    rgba(245, 243, 238, 0.16) var(--range-pct, 3.25%),
    rgba(245, 243, 238, 0.16) 100%
  );
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.gold-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid var(--bg-obsidian);
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.65);
  cursor: pointer;
}

.gold-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 2px solid var(--bg-obsidian);
  box-shadow: 0 0 14px rgba(229, 193, 88, 0.65);
  cursor: pointer;
}

.area-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip {
  padding: 6px 12px;
  background: rgba(245, 243, 238, 0.04);
  border: 1px solid rgba(245, 243, 238, 0.14);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.preset-chip:hover,
.preset-chip.is-active {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.12);
}

.segmented-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.segment-btn {
  padding: 13px 12px;
  background: rgba(245, 243, 238, 0.03);
  border: 1px solid rgba(245, 243, 238, 0.14);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.segment-btn:hover {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--text-alabaster);
}

.segment-btn.is-selected {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  font-weight: 600;
}

/* Panou rezultat dreapta */
.estimator-result {
  padding: 28px;
  background: rgba(5, 6, 9, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.result-eyebrow {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 6px;
}

.result-summary-tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.result-metric-box {
  padding: 18px 0;
  border-top: 1px solid rgba(245, 243, 238, 0.1);
  border-bottom: 1px solid rgba(245, 243, 238, 0.1);
}

.metric-caption {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

.metric-note {
  margin: 0 0 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.intensity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(245, 243, 238, 0.1);
}

.intensity-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.intensity-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 16px;
}

.intensity-bars span {
  width: 5px;
  border-radius: 1px;
  background: rgba(245, 243, 238, 0.16);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.intensity-bars span:nth-child(1) { height: 6px; }
.intensity-bars span:nth-child(2) { height: 8px; }
.intensity-bars span:nth-child(3) { height: 11px; }
.intensity-bars span:nth-child(4) { height: 13px; }
.intensity-bars span:nth-child(5) { height: 16px; }

.intensity-bars span.is-lit {
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(229, 193, 88, 0.45);
}

.focus-heading {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-alabaster);
  margin-bottom: 10px;
}

.focus-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.focus-list li::marker {
  color: var(--gold-bright);
}

.result-disclaimer {
  margin: 0 0 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.result-disclaimer strong {
  color: var(--gold-bright);
}

/* ==========================================================================
   ACTUL 05 — CONTACT & CONVERSIE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-details-card {
  padding: 32px;
}

.contact-card-heading {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-alabaster);
}

.contact-card-lead {
  margin: 0 0 26px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(245, 243, 238, 0.03);
  border: 1px solid rgba(245, 243, 238, 0.1);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, background 0.25s ease;
}

a.contact-item:hover {
  border-color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.08);
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: var(--radius-sm);
  color: var(--gold-bright);
}

.contact-item-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-alabaster);
  word-break: break-word;
}

.contact-assurance {
  padding-top: 20px;
  border-top: 1px solid rgba(245, 243, 238, 0.1);
}

.assurance-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 10px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact-assurance p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Formular */
.contact-form {
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(5, 6, 9, 0.74);
  border: 1px solid rgba(245, 243, 238, 0.16);
  border-radius: var(--radius-sm);
  color: var(--text-alabaster);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field select option {
  background: #0D1017;
  color: var(--text-alabaster);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.form-field textarea {
  resize: vertical;
  min-height: 104px;
}

.prefill-pulse {
  animation: prefillHighlight 1.3s ease;
}

@keyframes prefillHighlight {
  0% { border-color: var(--gold-bright); box-shadow: 0 0 0 4px rgba(229, 193, 88, 0.35); }
  100% { border-color: rgba(245, 243, 238, 0.16); box-shadow: none; }
}

.form-actions {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-alabaster);
}

.btn-copy-summary {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--gold-bright);
  border-radius: var(--radius-sm);
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-copy-summary:hover {
  background: rgba(212, 175, 55, 0.16);
}

/* ==========================================================================
   FOOTER MINIMALIST
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(7, 8, 11, 0.9);
  backdrop-filter: blur(12px);
  padding: 30px 0 88px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-alabaster);
}

.footer-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps,
  .guarantees-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimator-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  #act-rail,
  .phase-pill {
    display: none;
  }
}

@media (max-width: 1020px) {
  .nav-links,
  .nav-actions .btn-gold-sm {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-container {
    padding: 0 20px;
  }

  .brand-divider,
  .brand-sub {
    display: none;
  }

  .act-section {
    padding: 104px 0 72px;
  }

  .cinematic-spacer {
    height: 12vh;
  }

  .services-grid,
  .process-steps,
  .guarantees-grid,
  .option-grid,
  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .segmented-group {
    grid-template-columns: 1fr;
  }

  .estimator-panel,
  .estimator-result,
  .contact-details-card,
  .contact-form {
    padding: 22px;
  }

  .inspection-toggle {
    right: 14px;
    bottom: 14px;
    padding: 10px 14px;
    font-size: 0.7rem;
  }

  .toggle-kbd {
    display: none;
  }

  .inspection-hud {
    left: 14px;
    right: 14px;
    bottom: 62px;
    font-size: 0.62rem;
    gap: 8px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inspection-scanline,
  .scroll-cue-line,
  .hud-dot,
  .pill-dot,
  .cad-node {
    animation: none;
  }
}
