/* =================================================================
   SCHINDLER UZBEKISTAN РІР‚вЂќ Design System
   Aesthetic: Refined editorial / Architectural luxury
   Palette: Onyx + Bone + Cinnabar (Schindler brand red)
   Typography: Fraunces (display, with optical sizing) + Inter Tight
   ================================================================= */

:root {
  /* Palette — Light / Minimalist */
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #f0f0f2;
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);

  --ink: #000000;
  --ink-2: #333333;
  --ink-3: #6e6e73;
  --ink-4: #999999;

  --accent: #e2001a;
  /* Schindler red */
  --accent-deep: #b30015;
  --accent-soft: rgba(226, 0, 26, 0.05);

  --logo-invert: 0;

  --gold: #c9a96b;
  /* warm metallic accent */

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spatial */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =============== Reset / Base =============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
  font-variation-settings: 'wght' 400;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

ul {
  list-style: none;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}



/* =============== Loader =============== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* lock page scroll during the intro (loader + elevator doors) */
body.intro-active {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

/* =============== ELEVATOR DOORS INTRO =============== */
.hero-doors {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  overflow: hidden;
}

.hero-doors.gone {
  display: none;
}

.hero-doors-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.018) 0 2px, transparent 2px 7px),
    linear-gradient(90deg, #f5f5f7 0%, #e7e7ea 50%, #f1f1f3 100%);
  transition: transform 1.25s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.hd-left {
  left: 0;
  box-shadow: inset -22px 0 40px -20px rgba(0, 0, 0, 0.25);
}

.hd-right {
  right: 0;
  box-shadow: inset 22px 0 40px -20px rgba(0, 0, 0, 0.25);
}

.hero-doors.open .hd-left { transform: translateX(-100%); }
.hero-doors.open .hd-right { transform: translateX(100%); }

.hero-doors-seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 24px rgba(226, 0, 26, 0.55);
  transition: opacity 0.35s ease;
}

.hero-doors.open .hero-doors-seam { opacity: 0; }

.hero-arrival {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-doors.open .hero-arrival {
  opacity: 0;
  transform: translateX(-50%) scale(0.9);
}

.hero-arrival-dir {
  color: var(--accent);
  font-size: 16px;
  animation: arrivalBlink 0.9s ease-in-out infinite;
}

.hero-arrival-num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
  font-feature-settings: 'tnum';
}

.hero-arrival-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--ink-3);
}

@keyframes arrivalBlink {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-doors { display: none; }
}

.loader-inner {
  width: min(420px, 80vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  color: var(--ink);
}

.loader-mark {
  width: 60px;
  height: 60px;
  color: var(--accent);
  animation: loaderRotate 2s linear infinite;
}

@keyframes loaderRotate {
  0% {
    transform: rotate(0);
  }

  50% {
    transform: rotate(180deg) scale(0.9);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: 0.08em;
  display: flex;
}

.loader-text span {
  display: inline-block;
  opacity: 0;
  animation: loaderLetter 1s var(--ease) forwards;
}

.loader-text span:nth-child(1) {
  animation-delay: 0.05s;
}

.loader-text span:nth-child(2) {
  animation-delay: 0.1s;
}

.loader-text span:nth-child(3) {
  animation-delay: 0.15s;
}

.loader-text span:nth-child(4) {
  animation-delay: 0.2s;
}

.loader-text span:nth-child(5) {
  animation-delay: 0.25s;
}

.loader-text span:nth-child(6) {
  animation-delay: 0.3s;
}

.loader-text span:nth-child(7) {
  animation-delay: 0.35s;
}

.loader-text span:nth-child(8) {
  animation-delay: 0.4s;
}

.loader-text span:nth-child(9) {
  animation-delay: 0.45s;
}

@keyframes loaderLetter {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  20% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.loader-bar {
  width: 100%;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--accent);
  width: 0;
  animation: loaderFill 1.6s var(--ease) forwards;
  animation-delay: 0.2s;
}

@keyframes loaderFill {
  to {
    width: 100%;
  }
}

/* =============== Navigation =============== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.3s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
  background: rgba(126, 124, 124, 0.644);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  /* Default: transparent bg over hero image — use white text */
  --nav-text: rgba(255, 255, 255, 0.92);
  --nav-text-dim: rgba(255, 255, 255, 0.55);
  --nav-border: rgba(255, 255, 255, 0.18);
  --nav-active-text: var(--ink);
  color: var(--nav-text);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-strong);
  /* Scrolled: light bg — use dark text */
  --nav-text: var(--ink-2);
  --nav-text-dim: var(--ink-4);
  --nav-border: var(--line-strong);
  --nav-active-text: var(--bg);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nav-text);
  transition: color 0.4s var(--ease);
}

.nav-logo-images {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo-dist {
  height: 80px;
  width: auto;
}

.nav-logo-sea {
  height: 76px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-primary {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nav-logo-sub {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-top: 4px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
  transition: color 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--nav-text-dim);
  margin-right: 4px;
  transition: color 0.4s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover {
  color: #ffffff;
}

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

.nav-links a:hover::before {
  color: var(--accent);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 4px;
  border: 1px solid var(--nav-border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: border-color 0.4s var(--ease);
}

.nav-lang span {
  padding: 4px 8px;
  color: var(--nav-text-dim);
  transition: color 0.4s var(--ease), background 0.2s;
  border-radius: 2px;
}

.nav-lang span.active {
  background: var(--nav-text);
  color: var(--nav-active-text);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.nav-lang span:not(.active):hover {
  color: var(--nav-text);
}

.nav-lang-topbar {
  display: none;
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 16px;
}

.nav-burger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-burger span {
  display: block;
  height: 1px;
  background: var(--nav-text);
  transition: background 0.4s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* =============== Buttons =============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.btn-large {
  padding: 18px 32px;
  font-size: 14px;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* Button label text-swap effect */
.btn-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2;
}

.btn-text {
  display: block;
  transition: transform 0.5s var(--ease);
}

.btn-state {
  display: inline-block;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:hover .btn-text:nth-child(1) {
  transform: translateY(-100%);
}

.btn:hover .btn-text:nth-child(2) {
  transform: translateY(-100%);
}

.btn-text:nth-child(2) {
  position: absolute;
  top: 100%;
  left: 0;
}

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 60px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #000;
}

.hero-image-bg, .testimonial-image-bg, .cta-image-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-image-bg {
  background-image:
    url('images/hero-bg.webp'),
    linear-gradient(135deg, #1a1d24 0%, #2b2f3a 38%, #4a3f3a 70%, #6b4a44 100%);
  filter: brightness(1) contrast(1.06) saturate(1.08);
}

/* vertical shaft guide-rails across hero */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(0, 0, 0, 0.05) calc(12.5% - 1px),
    rgba(0, 0, 0, 0.05) 12.5%);
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}

.testimonial-image-bg {
  background-image: url('images/boulevard(dreamcity).webp');
  filter: brightness(0.95) grayscale(1);
  opacity: 0.12;
}

.cta-image-bg {
  background-image: url('images/Hilton.webp');
  filter: brightness(0.3) grayscale(0.5);
}

.hero-image-bg::after, .cta-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero-image-bg::after {
  background:
    linear-gradient(to right,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.12) 34%,
      rgba(255,255,255,0) 62%),
    linear-gradient(to bottom,
      rgba(255,255,255,0.06) 0%,
      rgba(255,255,255,0.40) 44%,
      rgba(255,255,255,0.86) 76%,
      #ffffff 100%);
}

.cta-image-bg::after {
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.hero-rail {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  white-space: nowrap;
  z-index: 5;
}

.rail-tick {
  width: 24px;
  height: 1px;
  background: var(--ink-4);
  display: inline-block;
}

/* Meta in top-right */
.hero-meta {
  position: absolute;
  top: 110px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-align: right;
  z-index: 5;
}

.meta-row {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.meta-label {
  color: var(--ink-4);
}

.meta-value {
  color: var(--ink-2);
  font-feature-settings: 'tnum';
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  margin-bottom: 40px;
  animation: fadeUp 1.2s var(--ease-out) 0.6s both;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 152px);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variation-settings: 'opsz' 144;
  color: var(--ink);
  max-width: 14ch;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0.05em 0 0.02em;
}

.hero-title .word {
  display: inline-block;
  animation: heroWord 1.4s var(--ease-out) both;
  transform: translateY(110%);
}

.hero-title .line:nth-child(1) .word:nth-child(1) {
  animation-delay: 0.7s;
}

.hero-title .line:nth-child(1) .word:nth-child(2) {
  animation-delay: 0.8s;
}

.hero-title .line:nth-child(2) .word:nth-child(1) {
  animation-delay: 0.9s;
}

.hero-title .line:nth-child(2) .word:nth-child(2) {
  animation-delay: 1.0s;
}

.hero-title .line:nth-child(3) .word:nth-child(1) {
  animation-delay: 1.1s;
}

.hero-title .line:nth-child(3) .word:nth-child(2) {
  animation-delay: 1.2s;
}

.hero-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-variation-settings: 'opsz' 144;
}

@keyframes heroWord {
  to {
    transform: translateY(0);
  }
}

.hero-meta-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  animation: fadeUp 1.2s var(--ease-out) 1.4s both;
}

.hero-description {
  max-width: 480px;
}

.hero-description p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Floor indicator - signature visual */
.floor-indicator {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-30%);
  width: 230px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  z-index: 1;
  animation: fadeIn 1.5s var(--ease) 1.6s both;
}

.floor-display {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.floor-arrow {
  color: var(--accent);
  font-size: 14px;
  animation: floorArrow 2s ease-in-out infinite;
}

@keyframes floorArrow {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(-4px);
    opacity: 0.6;
  }
}

.floor-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  font-feature-settings: 'tnum';
  font-variation-settings: 'opsz' 144;
}

.floor-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
}

.floor-shaft {
  position: relative;
  height: 80px;
  margin: 16px 0;
  display: flex;
  align-items: center;
}

.floor-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.floor-cab {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 24px;
  height: 16px;
  background: var(--accent);
  animation: cabMove 4s ease-in-out infinite alternate;
}

.floor-cab::before,
.floor-cab::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4px;
  background: var(--ink-3);
}

.floor-cab::before {
  top: -4px;
}

.floor-cab::after {
  bottom: -4px;
}

@keyframes cabMove {
  0% {
    top: 0;
  }

  100% {
    top: calc(100% - 16px);
  }
}

.floor-marks {
  position: absolute;
  left: calc(50% + 14px);
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.floor-marks span {
  display: block;
  width: 4px;
  height: 1px;
  background: var(--ink-4);
}

.floor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.floor-stats>div {
  text-align: center;
}

.floor-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.floor-stats i {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--ink-4);
  margin-top: 2px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  z-index: 1; /* Keep it below content */
}

/* Fix overlap with long button text in Uzbek */
html[lang="uz"] .hero-scroll {
  display: none;
}

@media (max-width: 1100px) {
  .hero-scroll {
    display: none;
  }
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--line);
  overflow: hidden;
}

.scroll-line-fill {
  width: 100%;
  height: 30%;
  background: var(--ink);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(330%);
  }
}

/* =============== Marquee =============== */
.marquee {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.marquee-track span {
  flex-shrink: 0;
}

.marquee-track .dot-sep {
  color: var(--accent);
  font-style: normal;
  font-size: 0.5em;
  align-self: center;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =============== Section heads =============== */
section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

.section-head {
  margin-bottom: 80px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-num::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 18ch;
  font-variation-settings: 'opsz' 144;
}

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

.section-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 28px;
  line-height: 1.55;
}

/* =============== INTRO =============== */
.intro {
  background: var(--bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.intro-text .lead {
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 28px;
  font-weight: 400;
}

.intro-text p {
  color: var(--ink-2);
  margin-bottom: 28px;
  font-size: 17px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s, gap 0.3s;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.stat:hover {
  background: var(--bg-2);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}

.stat:hover::before {
  width: 100%;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-feature-settings: 'tnum';
  font-variation-settings: 'opsz' 144;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* =============== PRODUCTS =============== */
.products {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product {
  display: grid;
  grid-template-columns: 80px 1.1fr 0.9fr; /* text left, visual right */
  gap: 60px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product:last-child {
  border-bottom: 1px solid var(--line);
}

.product .product-info {
  order: 2;
}

.product .product-visual {
  order: 3;
}

/* Remove alternating reverse layout as per user preference for consistency */
.product.reverse {
  grid-template-columns: 80px 1.4fr 0.8fr;
}

.product.reverse .product-info {
  order: 2;
}

.product.reverse .product-visual {
  order: 3;
}

.product-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  align-self: start;
  padding-top: 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.product-info {
  max-width: 540px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144;
}

.project-stats b {
  font-size: 13px;
  color: #ffffff;
}

.product-desc {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 32px;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.product-specs li span {
  color: var(--ink-3);
}

.product-specs li b {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 500;
}

/* Product visual: animated lift shaft */
.product-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-shaft,
.escalator-svg {
  position: relative;
  z-index: 2;
}

.product-shaft {
  position: relative;
  width: 200px;
  height: 400px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}

.product-shaft.tall {
  height: 440px;
}

.product-shaft::before,
.product-shaft::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink-4);
}

.product-shaft::before {
  top: 0;
}

.product-shaft::after {
  bottom: 0;
}

.product-cab {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 130px;
  background: linear-gradient(180deg, #2a2a2c, #1c1c1e);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  animation: cabRide 8s ease-in-out infinite alternate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.product-cab.premium {
  background: linear-gradient(180deg, #3a3530, #1c1a18);
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(201, 169, 107, 0.2),
    0 4px 30px rgba(0, 0, 0, 0.5);
}

.product-cab-doors {
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 70%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #1a1a1c 49.5%, var(--accent) 49.5%, var(--accent) 50.5%, #1a1a1c 50.5%);
  border: 1px solid var(--line);
}

.product-cab.premium .product-cab-doors {
  background: linear-gradient(90deg, #14110d 49.5%, var(--gold) 49.5%, var(--gold) 50.5%, #14110d 50.5%);
}

.product-cab-light {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: cabLight 3s ease-in-out infinite;
}

.product-cab.premium .product-cab-light {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

@keyframes cabLight {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes cabRide {
  0% {
    top: 8%;
  }

  100% {
    top: calc(100% - 130px - 8%);
  }
}

.product-cables {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  height: 100%;
  width: 40px;
  background:
    linear-gradient(90deg, transparent 25%, var(--ink-4) 25%, var(--ink-4) 26%, transparent 26%),
    linear-gradient(90deg, transparent 49%, var(--ink-4) 49%, var(--ink-4) 50%, transparent 50%),
    linear-gradient(90deg, transparent 73%, var(--ink-4) 73%, var(--ink-4) 74%, transparent 74%);
  opacity: 0.4;
  pointer-events: none;
}

/* Escalator — SVG side profile */
.escalator-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  height: auto;
  overflow: visible;
}

.esc-skirt {
  fill: rgba(0, 0, 0, 0.025);
  stroke: var(--line-strong);
  stroke-width: 1;
}

.esc-step.a { fill: url(#escTreadA); }
.esc-step.b { fill: url(#escTreadB); }
.esc-step {
  stroke: rgba(0, 0, 0, 0.45);
  stroke-width: 1;
}

.esc-steps {
  animation: escMove 2.2s linear infinite;
}

@keyframes escMove {
  from { transform: translate(0, 0); }
  to   { transform: translate(64.38px, -40.44px); }
}

.esc-comb {
  fill: #16161a;
}

.esc-post {
  stroke: #2a2a30;
  stroke-width: 6;
  stroke-linecap: round;
}

.esc-rail {
  stroke: #2a2a30;
  stroke-width: 9;
  stroke-linecap: round;
}

.esc-rail-flow {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 30;
  animation: escRail 1.6s linear infinite;
}

@keyframes escRail {
  to { stroke-dashoffset: -32; }
}

.product-visual {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.product-tag-floating {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(140px, 16vw, 240px);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
  opacity: 0.9;
  font-variation-settings: 'opsz' 144;
  white-space: nowrap;
}

.product.reverse .product-tag-floating {
  left: 50%;
  right: auto;
}

/* =============== PROJECTS =============== */
.projects {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

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

.project {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.project:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.project-large {
  grid-column: span 2;
  grid-row: span 1;
}

.project-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.8s var(--ease);
}

.project:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
}

.project-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255, 255, 255, 0.04) 39px, rgba(255, 255, 255, 0.04) 40px);
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.project-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.project-year,
.project-tag {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.project-year {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.project-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 144;
}

.project-large .project-name {
  font-size: clamp(36px, 4vw, 64px);
}

.project-desc {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
  max-width: 50ch;
}

.project-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.project-stats b {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
}

.projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* =============== SERVICES =============== */
.services {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  padding: 48px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}

.service-card:hover {
  background: var(--bg-3);
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 32px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
  font-variation-settings: 'opsz' 144;
}

.service-desc {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.service-highlight {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
}

.service-highlight::before {
  transform: scaleY(1);
}

.service-highlight-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* =============== TECH =============== */
.tech {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-content .section-num {
  margin-bottom: 24px;
}

.tech-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 14ch;
  font-variation-settings: 'opsz' 144;
}

.tech-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.tech-lead {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 40px;
  max-width: 50ch;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tech-features li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tech-features li:last-child {
  border-bottom: none;
}

.feat-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.feat-check svg {
  width: 16px;
  height: 16px;
}

.tech-features b {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 500;
}

.tech-features span {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* Dashboard */
.tech-visual {
  position: relative;
}

.dashboard {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: dashScan 3s linear infinite;
}

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

  100% {
    transform: translateX(100%);
  }
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-4);
}

.dash-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-left: 12px;
  flex: 1;
}

.dash-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #4ade80;
}

.dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}

.dash-metric {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dash-metric:last-child,
.dash-metric:nth-last-child(2) {
  border-bottom: none;
}

.dash-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  margin-bottom: 8px;
}

.dash-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  font-variation-settings: 'opsz' 144;
  font-feature-settings: 'tnum';
}

.dash-value i {
  font-style: normal;
  font-size: 18px;
  color: var(--ink-3);
  margin-left: 4px;
}

.dash-bar {
  height: 2px;
  background: var(--line);
  margin-top: 12px;
  overflow: hidden;
}

.dash-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  animation: dashBar 1.4s var(--ease) forwards;
}

@keyframes dashBar {
  from {
    width: 0 !important;
  }
}

.dash-graph {
  grid-column: span 2;
  height: 100px;
  margin-top: 16px;
}

.dash-graph svg {
  width: 100%;
  height: 100%;
}

.dash-pulse {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
}

.dash-pulse-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: dashPulse 2s ease-out infinite;
}

.dash-pulse-ring:nth-child(2) {
  animation-delay: 1s;
}

@keyframes dashPulse {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.dash-pulse-core {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
}

/* =============== TESTIMONIAL =============== */
.testimonial {
  background: var(--bg-2);
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}

.testimonial .container {
  max-width: 880px;
}

.quote-mark {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin: 0 auto 32px;
  opacity: 0.6;
}

.quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.quote-avatar::after {
  content: 'TC';
  color: var(--ink);
}

.quote-name {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.quote-role {
  font-size: 13px;
  color: var(--ink-3);
}

/* =============== CTA =============== */
.cta {
  background: #000;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 15vw, 200px) 0;
}

.cta-image-bg {
  position: absolute;
  inset: 0;
  background: url('images/Hilton.webp') center/cover no-repeat fixed;
  filter: brightness(0.3) grayscale(0.5);
  z-index: 0;
}

.cta-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.cta-inner {
  position: relative;
  max-width: 880px;
  z-index: 2;
}

.cta-title {
  color: #fff;
}

.cta-sub {
  color: rgba(255,255,255,0.7);
}

.form-field label {
  color: rgba(255,255,255,0.5);
}

.form-field input, .form-field textarea {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.2);
}

.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  min-height: 100px;
  transition: all 0.4s var(--ease);
}

.form-field textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
}

.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 36ch;
  line-height: 1.6;
}

.cta-direct {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 100px;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 40px;
}

.cta-direct-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.cta-direct-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.cta-direct-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  transition: all 0.3s;
  font-variation-settings: 'opsz' 144;
}

.cta-direct-item:hover .cta-direct-value {
  color: var(--accent);
  transform: translateX(10px);
}

.cta-direct-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.cta-direct-item:first-child::before {
  display: none;
}

/* =============== FOOTER =============== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 100px 0 40px;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  color: var(--ink);
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.footer-tag {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.footer-marquee {
  flex: 1;
  max-width: 60%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.footer-marquee span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  animation: footerMarquee 30s linear infinite;
  white-space: nowrap;
}

@keyframes footerMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}

.footer-col a,
.footer-col span {
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  place-items: center;
  font-family: var(--font-mono);
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  transition: 0.3s var(--ease);
}
.footer-social img {
  width: 40px;
  height: 40px;
  display: block;
}


.footer-social a:first-child img {
  width: 60px;
  height: 60px;
}
.footer-social a:last-child img {
  width: 30px;
  height: 30px;
  border-radius: 15%;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-mega {
  font-family: var(--font-display);
  font-size: clamp(80px, 19vw, 280px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  text-align: center;
  margin-top: 80px;
  font-variation-settings: 'opsz' 144;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

/* =============== Animations / Reveal =============== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 
    opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Delay staggered reveals */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =============== Buttons Refinement =============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0; /* Sharp, editorial edges */
}

.btn-large {
  padding: 24px 56px;
  font-size: 14px;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(216, 58, 44, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
@media (max-width: 1100px) {
  .nav {
    padding: 14px 0;
  }
  
  .nav.scrolled {
    padding: 10px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: var(--bg);
    flex-direction: column;
    padding: 120px 40px 60px;
    gap: 10px;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    border-left: 1px solid var(--line);
    z-index: 1000;
    display: flex; /* Ensure it's flex but transformed */
  }

  /* backdrop-filter on a scrolled nav traps the fixed menu panel inside
     the bar — drop it while the menu is open so the panel fills the screen */
  .nav.menu-open {
    background: var(--bg);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav.menu-open .nav-links {
    transform: translateX(0);
  }

  /* menu panel is white — force dark text/icons regardless of nav state */
  .nav.menu-open .nav-links a,
  .nav.menu-open .nav-links a::before {
    color: var(--ink);
  }

  .nav.menu-open .nav-burger span {
    background: var(--ink);
  }

  .nav-links a {
    font-size: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-mobile-actions {
    display: flex;
  }

  .nav-burger {
    display: flex;
    position: relative;
    z-index: 1100;
  }

  .nav-lang-topbar {
    display: flex;
  }

  .nav.menu-open .nav-burger span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav.menu-open .nav-burger span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-cta {
    display: none; /* Hide on mobile to simplify, or move to links */
  }
  
  /* Show mobile CTA inside nav-links or keep visible but adjusted */
  .nav.menu-open .nav-btn-mobile {
    margin-top: 20px;
    display: inline-flex;
  }

  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }

  .nav.menu-open + .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .floor-indicator {
    display: none;
  }

  .hero-rail {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product {
    grid-template-columns: 60px 1.1fr 0.9fr;
    gap: 40px;
  }

  .product.reverse {
    grid-template-columns: 60px 1.1fr 0.9fr;
  }

  .product.reverse .product-info {
    order: 2;
  }

  .product.reverse .product-visual {
    order: 3;
  }

  .product-visual {
    height: 420px;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .project-large {
    grid-column: span 2;
  }

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

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-marquee {
    display: none;
  }
}

@media (max-width: 720px) {
  /* ---- HERO (mobile) ---- */
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 116px 0 48px;
  }

  .hero-meta { display: none; }      /* coords/time overlapped the title */
  .hero-scroll { display: none; }    /* scroll hint overlapped the buttons */

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
    padding: 6px 12px;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 46px);
    max-width: 100%;
    line-height: 1.0;
  }

  .hero-meta-bottom {
    grid-template-columns: 1fr;   /* stack description over buttons */
    gap: 26px;
    margin-top: 34px;
    padding-top: 26px;
  }

  .hero-description { max-width: 100%; }
  .hero-description p { font-size: 15px; }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .section-num {
    justify-content: center;
  }

  .section-title {
    font-size: 28px !important;
    width: 100%;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
    max-width: 90vw;
  }

  body {
    overflow-x: hidden;
  }
  
  .container {
    overflow: hidden;
  }

  .product-list {
    overflow: hidden;
  }

  .product {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 60px 0;
    text-align: center;
  }
  
  .product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .product-specs {
    align-self: stretch;
    word-break: break-word;
  }
  
  .product-specs li {
    font-size: 13px;
    padding: 12px 0;
  }
  
  .product.reverse {
    grid-template-columns: 1fr;
  }

  .product-num {
    display: none;
  }

  .product-visual {
    grid-column: 1;
    height: 360px;
  }
  
  .escalator-svg {
    max-width: 260px;
  }
  
  .product-tag-floating {
    font-size: 100px;
    opacity: 0.3;
  }
  
  /* ... existing styles ... */

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-large {
    grid-column: span 1;
  }

  .project {
    padding: 24px;
    min-height: 360px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-direct {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta .nav-btn {
    display: none;
  }

  .marquee-track {
    font-size: 32px;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============== Visual Accents / Info Center =============== */
.intro .lead {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  position: relative;
}

.intro .lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(216, 58, 44, 0.5), 0 0 60px rgba(216, 58, 44, 0.2);
}

.stat-featured {
  background: linear-gradient(135deg, rgba(216, 58, 44, 0.06), rgba(201, 169, 107, 0.04)) !important;
  position: relative;
}

.stat-featured::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  box-shadow: 0 0 20px rgba(216, 58, 44, 0.3);
}

.stat-featured .stat-num {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-featured .stat-label {
  color: var(--ink-2);
  font-weight: 500;
}

/* =============== Product Hover Info =============== */
.product-hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 20%);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

.product:hover .product-hover-info {
  transform: translateY(0);
  opacity: 1;
}

.hover-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.hover-info-row:last-child {
  border-bottom: none;
}

.hover-info-row span {
  color: var(--ink-3);
}

.hover-info-row b {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* =============== Floating Consultation CTA Container & Button =============== */
.floating-cta-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  pointer-events: none;
}

.floating-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 174px;
  height: 56px;
  padding: 16px 20px;
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow:
    0 8px 32px rgba(216, 58, 44, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    opacity 0.4s var(--ease),
    background 0.3s,
    width 0.4s var(--ease),
    height 0.4s var(--ease),
    border-radius 0.4s var(--ease),
    padding 0.4s var(--ease);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-cta-container.visible .floating-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-3px);
  box-shadow:
    0 14px 44px rgba(216, 58, 44, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.4);
}

.floating-cta-text {
  white-space: nowrap;
  opacity: 1;
  max-width: 100px;
  transition: max-width 0.4s var(--ease), opacity 0.3s var(--ease) 0.1s;
}

.floating-cta-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 60px;
  border: 2px solid var(--accent);
  animation: floatingPulse 2.5s ease-out infinite;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

@keyframes floatingPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Icons styling inside button */
.floating-cta-icon-wrapper {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-cta-icon-wrapper svg {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.floating-cta-icon-wrapper .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.floating-cta-icon-wrapper .icon-chat {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Expanded state on button */
.floating-cta-container.expanded .floating-cta {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 50%;
  transform: translateY(0);
}

.floating-cta-container.expanded .floating-cta:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.floating-cta-container.expanded .floating-cta-text {
  opacity: 0;
  max-width: 0;
  pointer-events: none;
  transition: max-width 0.4s var(--ease), opacity 0.2s var(--ease);
}

.floating-cta-container.expanded .floating-cta-icon-wrapper .icon-chat {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.floating-cta-container.expanded .floating-cta-icon-wrapper .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.floating-cta-container.expanded .floating-cta-pulse {
  opacity: 0;
}

/* =============== Consultation Panel =============== */
.floating-cta-panel {
  width: 380px;
  max-width: calc(100vw - 32px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transform-origin: bottom right;
  clip-path: circle(0px at 100% 100%);
  transition:
    transform 0.5s var(--ease),
    opacity 0.4s var(--ease),
    clip-path 0.5s var(--ease);
}



.floating-cta-container.expanded .floating-cta-panel {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: circle(200% at 100% 100%);
}

.floating-panel-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 6px;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}

.floating-panel-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 20px;
  line-height: 1.45;
}

.floating-panel-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Styling select element */
.form-field-select-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field-select-wrapper label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.form-field-select-wrapper select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 24px 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s var(--ease);
}

/* focus style РІР‚вЂњ accent colour when the dropdown is active */
.form-field-select-wrapper select:focus {
  border-color: var(--accent);
}

.form-field-select-wrapper::after {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 18px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  transform: rotate(45deg);
  pointer-events: none;
}



/* Success panel styling */
.floating-panel-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  color: var(--accent);
  margin-bottom: 20px;
}

.success-icon-wrapper svg {
  width: 100%;
  height: 100%;
}

.floating-panel-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 10px;
  color: var(--ink);
}

.floating-panel-success p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* =============== Constructor / Calculator =============== */
.constructor {
  margin-top: 100px;
  padding: 60px 48px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.constructor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}

.constructor::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(216, 58, 44, 0.06) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.constructor-header {
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.constructor-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 16px;
  font-variation-settings: 'opsz' 144;
}

.constructor-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.constructor-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 16px;
  line-height: 1.55;
}

.constructor-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.constructor-panel {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.constructor-panel:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(216, 58, 44, 0.08);
}

.constructor-panel-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.constructor-panel-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

.constructor-panel-fields {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.constructor-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.constructor-input-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  transition: border-color 0.3s var(--ease);
}

.constructor-input-group:focus-within {
  border-color: var(--accent);
}

.constructor-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-feature-settings: 'tnum';
  padding: 0;
  width: 100%;
  min-width: 0;
  outline: none;
  transition: color 0.3s;
}

.constructor-input-group input:read-only {
  color: var(--ink-2);
  cursor: default;
}

.constructor-input-group input:read-only:focus {
  outline: none;
}

.constructor-input-group input::-webkit-inner-spin-button,
.constructor-input-group input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.constructor-input-group input[type=number] {
  -moz-appearance: textfield;
}

.constructor-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--ink-4);
  flex-shrink: 0;
}

.constructor-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: none;
  border-right: none;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
  position: relative;
}

.constructor-swap::before,
.constructor-swap::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background: var(--line);
}

.constructor-swap::before {
  top: 0;
}

.constructor-swap::after {
  bottom: 0;
}

.constructor-swap:hover {
  color: var(--accent);
  background: var(--bg-3);
}

.constructor-swap svg {
  width: 24px;
  height: 24px;
  transition: transform 0.5s var(--ease-elastic);
}

.constructor-swap:hover svg {
  transform: rotate(180deg);
}

.constructor-swap.swapped svg {
  transform: rotate(180deg);
}

.constructor-swap.swapped:hover svg {
  transform: rotate(360deg);
}

.constructor-results {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 24px;
  padding: 20px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.constructor-result-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.constructor-result-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.constructor-result-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
  transition: color 0.3s;
}

.constructor-result-model {
  color: var(--accent);
}

.constructor-result-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  margin: 0 32px;
  flex-shrink: 0;
}

/* Constructor responsive */
@media (max-width: 1100px) {
  .constructor {
    padding: 40px 28px;
  }

  .constructor-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .constructor-swap {
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    border-top: none;
    border-bottom: none;
  }

  .constructor-swap::before,
  .constructor-swap::after {
    display: none;
  }

  .constructor-swap svg {
    transform: rotate(90deg);
  }

  .constructor-swap:hover svg {
    transform: rotate(270deg);
  }

  .constructor-swap.swapped svg {
    transform: rotate(270deg);
  }

  .constructor-swap.swapped:hover svg {
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .constructor {
    padding: 28px 20px;
    margin-top: 60px;
  }

  .constructor-panel {
    padding: 24px 20px;
  }

  .constructor-input-group input {
    font-size: 28px;
  }

  .constructor-results {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 0;
  }

  .constructor-result-divider {
    width: 100%;
    height: 1px;
    margin: 16px 0;
  }

  .floating-cta-container {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .floating-cta {
    width: 56px;
    height: 56px;
    padding: 16px;
    border-radius: 50%;
  }

  .floating-cta-text {
    display: none !important;
  }

  .floating-cta-pulse {
    border-radius: 50%;
  }

  .floating-cta-container.expanded .floating-cta {
    width: 56px;
    height: 56px;
  }

  .floating-cta-panel {
    width: calc(100vw - 40px);
  }

  .product-hover-info {
    display: none;
  }
}

/* ================================================================
   VISUAL ENHANCEMENTS & PREMIUM DEPTH
   ================================================================ */

/* Hero Image Layer */
.hero-image {
  position: absolute;
  inset: 0;
  background: url('images/Hilton.webp') center/cover no-repeat;
  opacity: 0.04;
  filter: grayscale(1) blur(2px);
  z-index: -1;
  pointer-events: none;
}

/* Section Background Text (Heritage) */
.section-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(100px, 20vw, 300px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  z-index: -1;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* Testimonial Background */
.testimonial {
  position: relative;
  overflow: hidden;
}

.testimonial-bg-image {
  position: absolute;
  inset: 0;
  background: url('images/tashkent-city.png') center/cover no-repeat;
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

/* CTA Background Image */
.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/mirabad-avenue.webp') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: overlay;
  z-index: -1;
}

/* Logo Interactions */
.nav-logo-mark {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.nav-logo:hover .nav-logo-mark {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(200, 66, 58, 0.3));
}

/* Footer Mega Watermark */
.footer-mega {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(100px, 25vw, 400px);
  font-weight: 700;
  color: rgba(0, 0, 0, 0.02);
  pointer-events: none;
  z-index: -1;
  letter-spacing: 0.1em;
}

.footer {
  position: relative;
  overflow: hidden;
}

/* Interaction: Link Underlines */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.all-projects-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.all-projects-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.apm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.apm-panel {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  margin: auto;
  border-radius: 16px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Modal Fix */
.all-projects-modal.active { opacity: 1; pointer-events: auto; visibility: visible; z-index: 10000; }
.all-projects-modal.active .apm-panel { transform: scale(1) translateY(0); opacity: 1; }
.all-projects-modal.open .apm-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Header Improvements */
.apm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  background: var(--bg);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.apm-header-left {
  max-width: 800px;
}

.apm-eyebrow {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent, #c8423a);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.apm-title {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.apm-title em {
  font-style: italic;
  font-weight: 400;
}

.apm-close {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.apm-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

/* New Modern Grid */
.apm-grid {
  flex: 1;
  overflow-y: auto;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  scrollbar-width: none;
}

.apm-grid::-webkit-scrollbar {
  display: none;
}

/* Project Card Requirement Implementation */
.project-card {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #161618;
  cursor: pointer;
}

/* =============== Form Styles =============== */
.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.3s var(--ease);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Consultation modal overrides */
.floating-cta-panel .form-field label {
  color: var(--ink-3);
}

.floating-cta-panel .form-field input,
.floating-cta-panel .form-field select {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.floating-cta-panel .form-field input:focus,
.floating-cta-panel .form-field select:focus {
  border-color: var(--ink);
}

.floating-cta-panel .form-field input::placeholder {
  color: var(--ink-4);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover img {
  transform: scale(1.08); /* Smooth hover zoom */
}

.project-card .project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 70%);
  transition: background 0.4s ease;
  z-index: 2;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 80%);
}

.project-card .project-overlay h3 {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px 0;
}

.project-card .project-overlay p {
  font-family: var(--font-sans, 'Inter Tight', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 500px;
}

@media (max-width: 1024px) {
  .apm-grid {
    grid-template-columns: 1fr;
    padding: 30px;
    gap: 30px;
  }
  .project-card {
    height: 450px;
  }
  .apm-header {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .project-overlay {
    padding: 30px;
  }
  .project-card {
    height: 400px;
  }
}

/* =============== PDF VIEWER MODAL =============== */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.pdf-modal.active {
  opacity: 1;
  visibility: visible;
}

.pdf-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(6px);
}

.pdf-panel {
  position: relative;
  width: min(1100px, 100%);
  height: min(92vh, 100%);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.985);
  transition: transform 0.5s var(--ease);
}

.pdf-modal.active .pdf-panel {
  transform: translateY(0) scale(1);
}

.pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.pdf-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.pdf-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}

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

.pdf-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.pdf-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.pdf-btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pdf-btn-accent:hover {
  background: var(--accent-deep, #b3000f);
  border-color: var(--accent-deep, #b3000f);
  color: #fff;
}

.pdf-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pdf-close:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.pdf-close svg {
  width: 18px;
  height: 18px;
}

.pdf-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #525659;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
}

.pdf-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 0;
}

.pdf-loader span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: pdfDot 1s ease-in-out infinite;
}

.pdf-loader span:nth-child(2) { animation-delay: 0.15s; }
.pdf-loader span:nth-child(3) { animation-delay: 0.3s; }

@keyframes pdfDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-7px); opacity: 1; }
}

@media (max-width: 720px) {
  .pdf-modal { padding: 0; }
  .pdf-panel { height: 100%; width: 100%; border: 0; border-radius: 0; }
  .pdf-header { flex-wrap: wrap; padding: 16px; gap: 14px; }
  .pdf-actions { width: 100%; justify-content: flex-start; }
  .pdf-btn { padding: 9px 12px; font-size: 10px; }
}

/* =============== PROJECTS CAROUSEL =============== */
.projects-carousel {
  position: relative;
}

.pc-viewport {
  overflow: hidden;
  touch-action: pan-y;   /* let our JS handle horizontal swipe, page keeps vertical scroll */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.pc-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.pc-card {
  flex: 0 0 auto;
  width: 400px;
  height: 480px;
  cursor: default;
}

.pc-card:hover {
  transform: none;
}

.pc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pc-arrow svg {
  width: 22px;
  height: 22px;
}

.pc-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pc-prev { left: -14px; }
.pc-next { right: -14px; }

.pc-prev:hover { transform: translateY(-50%) translateX(-2px); }
.pc-next:hover { transform: translateY(-50%) translateX(2px); }

@media (max-width: 720px) {
  .pc-card { width: 280px; height: 420px; }
  .pc-arrow { width: 46px; height: 46px; }
  .pc-prev { left: 4px; }
  .pc-next { right: 4px; }
  .pc-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* =============== LICENSES (photos) =============== */
.licenses-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 48px !important;
  align-content: start;
}

.license-photo {
  display: block;
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  border-radius: 4px;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.license-photo:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.license-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .licenses-grid { grid-template-columns: 1fr; padding: 24px !important; }
}

/* =============== PARTNERS STRIP =============== */
.partners {
  padding: 90px 0 100px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.partners-head {
  text-align: center;
  margin-bottom: 56px;
}

.partners-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.partners-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
  max-width: 22ch;
  margin: 0 auto;
}

.partners-marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 80px, #000 calc(100% - 80px), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partnersScroll 38s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo {
  flex: 0 0 auto;
  height: 56px;
  margin: 0 40px;
  display: flex;
  align-items: center;
}

.partner-logo img {
  max-height: 56px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.partner-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .partners { padding: 60px 0 70px; }
  .partner-logo { height: 42px; margin: 0 24px; }
  .partner-logo img { max-height: 42px; max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; flex-wrap: wrap; justify-content: center; }
}
