/* ==========================================================================
   Fonts — self-hosted variable fonts (no render-blocking third-party CSS).
   unicode-range means a subset only downloads when the page uses it; the
   Kyrgyz letters ң ү ө live in cyrillic-ext.
   ========================================================================== */
@font-face{ font-family:"Inter"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url(../assets/fonts/inter-cyrillic-ext.woff2) format("woff2");
  unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face{ font-family:"Inter"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url(../assets/fonts/inter-cyrillic.woff2) format("woff2");
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family:"Inter"; font-style:normal; font-weight:400 700; font-display:swap;
  src:url(../assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:"Manrope"; font-style:normal; font-weight:500 800; font-display:swap;
  src:url(../assets/fonts/manrope-cyrillic-ext.woff2) format("woff2");
  unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face{ font-family:"Manrope"; font-style:normal; font-weight:500 800; font-display:swap;
  src:url(../assets/fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family:"Manrope"; font-style:normal; font-weight:500 800; font-display:swap;
  src:url(../assets/fonts/manrope-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Hyundai Elevator Kyrgyzstan — Design Tokens
   ========================================================================== */
:root{
  --green: #009944;
  --green-dark: #007a37;
  --yellow: #FABE00;
  --navy: #002e62;
  --navy-dark: #001c3d;

  --ink: #10161d;
  --ink-soft: #4a5563;
  --line: #e3e7ec;
  --surface: #ffffff;
  --surface-tint: #f5f7f9;

  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-sm: .2s;
  --dur-md: .35s;

  --shadow-sm: 0 2px 10px rgba(16,22,29,.06);
  --shadow-md: 0 12px 32px rgba(16,22,29,.10);
  --shadow-lg: 0 24px 60px rgba(16,22,29,.16);

  --header-h: 84px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 90px; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration:none; }
ul, dl{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,dl,dt,dd{ margin:0; }
button{ font: inherit; color: inherit; background:none; border:none; cursor:pointer; }
input, textarea{ font: inherit; }

h1,h2,h3{ font-family: var(--font-head); color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
h2{ font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.6rem); line-height: 1.15; }
h3{ font-size: 1.2rem; line-height: 1.3; }

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

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out), background-color var(--dur-sm) var(--ease-out);
  white-space: nowrap;
}
.btn svg{ width: 1.1em; height: 1.1em; }
.btn-primary{
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,153,68,.28);
}
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,153,68,.34); }
.btn-primary:active{ transform: translateY(0); }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover{ border-color: var(--navy); background: rgba(0,46,98,.05); }
.btn-sm{ padding: .6rem 1.2rem; font-size: .85rem; }
.btn-block{ width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  inset-inline: 0;
  top:0;
  z-index: 500;
  height: var(--header-h);
  display:flex;
  align-items:center;
  /* Solid on phones: a backdrop blur on a fixed bar has to be recomputed on
     every scroll frame, which is a classic source of mobile jank. */
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-md) var(--ease-out), border-color var(--dur-md), background-color var(--dur-md);
}
.site-header.is-scrolled{
  height: 68px;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px){
  .site-header{
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
  }
  .site-header.is-scrolled{ background: rgba(255,255,255,.9); }
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
}
.brand{ display:flex; align-items:center; gap:.6rem; flex-shrink:0; }
.brand-mark{ width: 34px; height: 34px; }
.brand-text{ display:flex; flex-direction:column; line-height:1; font-family: var(--font-head); }
.brand-text strong{ font-weight:800; font-size: .95rem; color: var(--navy); letter-spacing: .02em; }
.brand-text em{ font-style:normal; font-weight:600; font-size: .62rem; color: var(--ink-soft); letter-spacing: .16em; }
.brand-text--light strong{ color:#fff; }
.brand-text--light em{ color: rgba(255,255,255,.6); }

.main-nav{ display:flex; align-items:center; gap: 28px; }
.main-nav a{
  position: relative;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color var(--dur-sm);
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:2px; background: var(--green);
  transition: right var(--dur-md) var(--ease-out);
}
.main-nav a:hover{ color: var(--navy); }
.main-nav a:hover::after{ right:0; }

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

.ig-link{
  display:flex; align-items:center; justify-content:center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--navy);
  transition: background-color var(--dur-sm), color var(--dur-sm);
}
.ig-link svg{ width: 22px; height: 22px; }
.ig-link:hover{ background: rgba(0,46,98,.06); color: var(--green-dark); }
.ig-link:focus-visible, .floor-ind:focus-visible, .video-facade:focus-visible{
  outline: 2px solid var(--green); outline-offset: 3px;
}

.nav-social{ display:none; }
.lang-switch{ display:flex; border:1.5px solid var(--line); border-radius: 999px; padding:3px; gap:2px; }
.lang-btn{ padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight:700; color: var(--ink-soft); transition: background var(--dur-sm), color var(--dur-sm); }
.lang-btn.is-active{ background: var(--navy); color:#fff; }

.nav-toggle{ display:none; flex-direction:column; justify-content:center; gap:5px; width:38px; height:38px; }
.nav-toggle span{ display:block; height:2px; border-radius:2px; background: var(--navy); transition: transform var(--dur-md) var(--ease-out), opacity var(--dur-sm); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  /* svh, not dvh: dvh changes as a phone's address bar hides and shows,
     which resized the hero mid-scroll and shoved everything below it. */
  min-height: 100vh;
  min-height: 100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top: var(--header-h);
  overflow:hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
}
.hero-bg{ position:absolute; inset:0; z-index:0; }
/* Soft glows drawn as radial gradients — the same look as a blurred disc
   without a filter the GPU must re-run every frame. */
.hero-glow{ position:absolute; border-radius:50%; pointer-events:none; }
.hero-glow--green{
  width:760px; height:760px; top:-260px; right:-260px;
  background: radial-gradient(closest-side, rgba(0,153,68,.34), rgba(0,153,68,.14) 55%, rgba(0,153,68,0));
}
.hero-glow--yellow{
  width:640px; height:640px; bottom:-230px; left:-220px;
  background: radial-gradient(closest-side, rgba(250,190,0,.30), rgba(250,190,0,.12) 55%, rgba(250,190,0,0));
}
/* Desktop-only parallax drift, driven by the browser's own scroll timeline
   (off the main thread); browsers without support simply skip it. */
@supports (animation-timeline: scroll()){
  @media (hover: hover) and (prefers-reduced-motion: no-preference){
    .hero-glow--green{ animation: glowDriftDown linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .hero-glow--yellow{ animation: glowDriftUp linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes glowDriftDown{ to{ transform: translate3d(0, 90px, 0); } }
@keyframes glowDriftUp{ to{ transform: translate3d(0, -60px, 0); } }
.hero-shaft{ position:absolute; inset:0; width:100%; height:100%; opacity:.12; color: var(--navy); }
.hero-shaft line{ stroke: currentColor; stroke-width:1.5; }

.hero-inner{ position:relative; z-index:1; padding-block: 60px 40px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-weight:700; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase;
  color: var(--green-dark);
  background: rgba(0,153,68,.09);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-title{ max-width: 16ch; font-size: clamp(2.3rem, 1.7rem + 2.6vw, 4.2rem); line-height:1.06; }
.hero-title .accent{ color: var(--green); }
.hero-sub{ margin-top: 22px; max-width: 46ch; font-size: 1.1rem; color: var(--ink-soft); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 34px; }

.hero-stats{ display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin-top: 64px; max-width: 760px; }
.stat-num{ font-family: var(--font-head); font-weight:800; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem); color: var(--navy); font-variant-numeric: tabular-nums; }
.stat dd{ font-size:.82rem; color: var(--ink-soft); margin-top:4px; line-height:1.3; }

.scroll-cue{
  position:absolute; bottom: 28px; left:50%; transform: translateX(-50%);
  width:36px; height:36px; border-radius:50%; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center; color: var(--ink-soft);
  animation: bob 2.2s var(--ease-in-out) infinite;
}
.scroll-cue svg{ width:16px; height:16px; }
@keyframes bob{ 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,6px);} }

/* ==========================================================================
   Sections
   ========================================================================== */
.section{ padding-block: 100px; }
.section-tint{ background: var(--surface-tint); }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow{ margin-bottom: 14px; }
.section-lead{ margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); }

/* About */
.about-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items:start; }
.about-copy p{ color: var(--ink-soft); font-size:1.05rem; margin-bottom: 20px; }
.about-features{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature-icon{ width:30px; height:30px; color: var(--green); margin-bottom: 14px; }
.feature h3{ margin-bottom: 8px; font-size: 1.05rem; }
.feature p{ color: var(--ink-soft); font-size: .92rem; }

/* Services */
.services-grid{ display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.service-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: transform var(--dur-md) var(--ease-out), box-shadow var(--dur-md) var(--ease-out), border-color var(--dur-md);
}
@media (hover: hover){
  .service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
}
.service-icon{
  width:56px; height:56px; border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color:#fff; margin-bottom: 22px;
}
.service-icon svg{ width:26px; height:26px; }
.service-card h3{ margin-bottom: 10px; }
.service-card p{ color: var(--ink-soft); font-size: .95rem; }

/* ==========================================================================
   Models (Модельный ряд) — dark premium showcase
   ========================================================================== */
.models-section{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0,153,68,.18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(250,190,0,.10), transparent 60%),
    var(--navy-dark);
  color:#fff;
  overflow:hidden;
}
.models-section h2{ color:#fff; }
.models-section .section-lead{ color: rgba(255,255,255,.65); }
.models-section .eyebrow{ background: rgba(255,255,255,.1); color: var(--yellow); }

.models-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom: 44px;
}
.model-tab{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color:#fff;
  text-align:left;
  transition: border-color var(--dur-sm), background var(--dur-sm), transform var(--dur-sm) var(--ease-out);
  min-height: 44px;
}
.model-tab strong{ font-family: var(--font-head); font-weight:800; font-size:1rem; letter-spacing:.02em; }
.model-tab span{ font-size:.72rem; color: rgba(255,255,255,.55); }
@media (hover: hover){
  .model-tab:hover{ border-color: rgba(255,255,255,.45); transform: translateY(-2px); }
}
.model-tab.is-active{
  border-color: var(--green);
  background: rgba(0,153,68,.16);
}
.model-tab.is-active span{ color: rgba(255,255,255,.75); }

.model-stage{
  display:grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 56px;
  align-items:start;
}
.model-visual{ position:relative; }
.model-photo{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  aspect-ratio: 520/600;
  background: #0a1626;
}
.model-photo img{
  width:100%; height:100%;
  object-fit: cover;
}
.model-speed-track{
  position:absolute;
  top: 8%; bottom: 8%;
  right: -22px;
  width: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.12);
  overflow:hidden;
}
.model-speed-fill{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--yellow), var(--green));
  transform-origin: bottom;
  transition: transform .8s var(--ease-in-out);
}

.model-info{ padding-top: 8px; }
.model-class{
  font-size:.85rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}
.model-name{
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3.2rem);
  color:#fff;
  line-height:1;
  margin-bottom: 18px;
}
.model-desc{
  color: rgba(255,255,255,.72);
  max-width: 54ch;
  margin-bottom: 30px;
  min-height: 3.2em;
}
.model-feats{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-bottom: 28px;
}
.model-feats li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  font-size: .95rem;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}
.model-feats li::before{
  content:"";
  flex-shrink:0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat,
    var(--green);
}
.model-feats strong{ color:#fff; font-weight:700; }

.model-specs{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 22px;
}
.model-spec dt{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color: rgba(255,255,255,.5);
  margin-bottom:6px;
}
.model-spec dd{
  font-family: var(--font-head);
  font-weight:800;
  font-size: 1.15rem;
  color:#fff;
  white-space: nowrap;
}
.model-use{
  font-size:.9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
  max-width: 60ch;
}
.model-use-label{ color: rgba(255,255,255,.85); font-weight:600; margin-right:.4em; }

@media (prefers-reduced-motion: no-preference){
  @keyframes modelSwapIn{
    from{ opacity:0; transform: translateY(14px); }
    to{ opacity:1; transform: translateY(0); }
  }
  .model-swap-in{ animation: modelSwapIn .45s var(--ease-out) both; }
  .model-swap-in--late{ animation: modelSwapIn .45s var(--ease-out) .08s both; }
}

@media (max-width: 900px){
  .model-stage{ grid-template-columns: 1fr; gap: 32px; }
  .model-photo{ max-width: 420px; }
  .model-speed-track{ display:none; }
  .model-specs{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Projects */
.projects-grid{ display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.project-card{ margin:0; }
.project-frame{
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(135deg, var(--surface-tint) 0 12px, #ececef 12px 24px);
  border: 1.5px dashed var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft);
  font-size:.85rem;
  font-weight:600;
  overflow:hidden;
  position:relative;
  transition: border-color var(--dur-md);
}
.project-frame.has-photo{ border-style: solid; padding: 0; }
.project-frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-md) var(--ease-out);
}
@media (hover: hover){
  .project-card:hover .project-frame{ border-color: var(--green); }
  .project-card:hover .project-frame img{ transform: scale(1.06); }
}

/* Elevator doors — two brushed-steel leaves part as a card scrolls into
   view (armed by JS with .doors, opened per card with .is-open). The photo
   settles from a slight zoom using the separate `scale` property, so it
   composes with the hover zoom on `transform`. */
.projects-grid.doors .project-frame.has-photo::before,
.projects-grid.doors .project-frame.has-photo::after{
  content:"";
  position:absolute; top:0; bottom:0; width:50%;
  z-index:2;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.035) 1px 3px),
    linear-gradient(180deg, #e2e6ea 0%, #c6ccd3 55%, #b1b8c0 100%);
  transition: transform 1.1s cubic-bezier(.7,0,.25,1) var(--door-delay, 120ms);
}
.projects-grid.doors .project-frame.has-photo::before{
  left:0;
  box-shadow: inset -1px 0 0 rgba(0,0,0,.3), inset -10px 0 14px -12px rgba(0,0,0,.4);
}
.projects-grid.doors .project-frame.has-photo::after{
  right:0;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.6), inset 10px 0 14px -12px rgba(0,0,0,.3);
}
.projects-grid.doors .project-card.is-open .project-frame::before{ transform: translate3d(-101%,0,0); }
.projects-grid.doors .project-card.is-open .project-frame::after{ transform: translate3d(101%,0,0); }
.projects-grid.doors .project-frame img{
  scale: 1.08;
  transition: transform var(--dur-md) var(--ease-out), scale 1.6s var(--ease-out) var(--door-delay, 120ms);
}
.projects-grid.doors .project-card.is-open .project-frame img{ scale: 1; }
.project-card figcaption{ margin-top: 14px; font-weight:700; color: var(--navy); font-size:.98rem; }
.project-card figcaption small{ display:block; font-weight:500; color: var(--ink-soft); font-size:.8rem; margin-top:2px; }

/* Clients marquee */
.marquee{ margin-top: 20px; overflow:hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; width: max-content; gap: 64px; padding-block: 10px; animation: marquee 28s linear infinite; }
.marquee-track span{ font-family: var(--font-head); font-weight:700; font-size:1.3rem; color: var(--ink-soft); opacity:.7; white-space:nowrap; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
.marquee.is-paused .marquee-track{ animation-play-state: paused; }

/* Catalogs */
.catalogs-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.catalog-card{
  position: relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 6px;
  padding: 28px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: transform var(--dur-md) var(--ease-out), box-shadow var(--dur-md) var(--ease-out), border-color var(--dur-md);
}
@media (hover: hover){
  .catalog-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
}
.catalog-badge{
  position:absolute; top: 20px; right: 22px;
  font-size:.68rem; font-weight:800; letter-spacing:.06em;
  color: var(--green-dark);
  background: rgba(0,153,68,.1);
  padding: 4px 9px; border-radius: 6px;
}
.catalog-icon{
  width: 48px; height: 48px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  color:#fff;
  margin-bottom: 14px;
}
.catalog-icon svg{ width: 24px; height: 24px; }
.catalog-name{ font-family: var(--font-head); font-weight:800; font-size: 1.2rem; color: var(--navy); }
.catalog-desc{ font-size:.9rem; color: var(--ink-soft); }
.catalog-action{
  display:flex; align-items:center; gap:10px;
  margin-top: 16px;
  font-weight:700; font-size:.9rem; color: var(--green-dark);
}
.catalog-action::after{
  content:"";
  width: 16px; height: 16px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17L17 7M9 7h8v8' fill='none' stroke='%23007a37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--dur-sm) var(--ease-out);
}
.catalog-card:hover .catalog-action::after{ transform: translate(2px,-2px); }
.catalog-size{ color: var(--ink-soft); font-weight:500; font-size:.8rem; }

@media (max-width: 860px){
  .catalogs-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .catalogs-grid{ grid-template-columns: 1fr; }
}

/* Contact */
.contact-section{ background: var(--navy); color:#fff; }
.contact-section .eyebrow{ background: rgba(255,255,255,.12); color: var(--yellow); }
.contact-section h2{ color:#fff; }
.contact-lead{ color: rgba(255,255,255,.72); margin-top:16px; max-width:44ch; font-size:1.05rem; }
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:start; }
.contact-list{ margin-top: 36px; display:flex; flex-direction:column; gap: 22px; }
.contact-list li{ display:flex; gap:16px; align-items:flex-start; }
.contact-list svg{ width:22px; height:22px; flex-shrink:0; color: var(--yellow); margin-top:2px; }
.contact-list div{ display:flex; flex-direction:column; gap:2px; }
.contact-label{ font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color: rgba(255,255,255,.5); font-weight:700; }
.contact-list a{ font-weight:600; transition: color var(--dur-sm); }
.contact-list a:hover{ color: var(--yellow); }

.contact-form{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row{ margin-bottom: 18px; display:flex; flex-direction:column; gap:8px; }
.form-row label{ font-size:.85rem; font-weight:600; color: rgba(255,255,255,.8); }
.form-row input, .form-row textarea{
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color:#fff;
  transition: border-color var(--dur-sm), background var(--dur-sm);
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder{ color: rgba(255,255,255,.4); }
.form-row input:focus, .form-row textarea:focus{ outline:none; border-color: var(--yellow); background: rgba(255,255,255,.12); }
.form-note{ margin-top:14px; font-size:.78rem; color: rgba(255,255,255,.45); text-align:center; }
.contact-form .btn-primary{ background: var(--green); margin-top: 6px; }
.contact-form .btn-primary:hover{ background: var(--green-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy-dark); color: rgba(255,255,255,.7); padding-block: 60px 28px; }
.footer-inner{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.footer-brand .brand-mark{ width:32px; height:32px; }
.footer-brand p{ font-size:.9rem; color: rgba(255,255,255,.5); max-width: 30ch; margin-top:6px; }
.footer-nav{ display:flex; flex-direction:column; gap: 12px; }
.footer-nav a{ font-size:.92rem; transition: color var(--dur-sm); }
.footer-nav a:hover{ color: var(--yellow); }
.footer-contact{ display:flex; flex-direction:column; gap:8px; }
.footer-contact .contact-label{ color: rgba(255,255,255,.4); margin-bottom:4px; }
.footer-contact a{ font-weight:600; }
.footer-contact a:hover{ color: var(--yellow); }
.footer-contact .footer-ig{ display:inline-flex; align-items:center; gap:8px; margin-top: 10px; font-weight:600; }
.footer-ig svg{ width:20px; height:20px; flex-shrink:0; }
.footer-bottom{ display:flex; justify-content:space-between; gap: 16px; flex-wrap:wrap; padding-top: 24px; font-size:.8rem; color: rgba(255,255,255,.4); }

/* WhatsApp floating action button */
.whatsapp-fab{
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height:58px;
  border-radius:50%;
  background: var(--green);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(0,153,68,.4);
  z-index: 400;
  transition: transform var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm);
}
.whatsapp-fab svg{ width:28px; height:28px; }
.whatsapp-fab:hover{ transform: scale(1.08); box-shadow: 0 14px 36px rgba(0,153,68,.5); }

/* ==========================================================================
   Motion — hero entrance & scroll reveals
   .js-motion is set in <head> before first paint, only where
   IntersectionObserver exists and reduced motion isn't requested; without
   it every element is simply visible.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference){
  .hero-in{ animation: heroIn .9s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
}
@keyframes heroIn{ from{ opacity: 0; translate: 0 26px; } }

.js-motion .reveal-up:not(.is-in){
  opacity: 0;
  /* Failsafe: if the script never takes over, show the content anyway. */
  animation: revealFailsafe .01s linear 3s forwards;
}
.js-motion.motion-ready .reveal-up:not(.is-in){ animation: none; }
.js-motion .reveal-up.is-in{ animation: revealUp .75s var(--ease-out) var(--reveal-delay, 0ms) backwards; }
/* Only a `from`: the animation ends on the element's own resting style, so
   there is nothing to snap back to when it finishes. `translate` is its own
   property, so it never fights a card's hover `transform`. */
@keyframes revealUp{ from{ opacity: 0; translate: 0 22px; } }
@keyframes revealFailsafe{ to{ opacity: 1; } }

/* ==========================================================================
   Floor indicator — an elevator position display (built by main.js)
   ========================================================================== */
.floor-ind{
  position: fixed;
  left: calc(18px + env(safe-area-inset-left, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 300;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 15px 9px 11px;
  border-radius: 14px;
  background: linear-gradient(180deg, #111a27, #070b12);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 10px 30px rgba(5,10,20,.35), inset 0 1px 0 rgba(255,255,255,.06);
  color: #fff;
  opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity .35s var(--ease-out), translate .35s var(--ease-out);
}
.floor-ind.is-visible{ opacity: 1; translate: none; pointer-events: auto; }
/* On touch screens it lights up while you move and steps aside when you stop. */
@media (hover: none){
  .floor-ind.is-visible.is-idle{ opacity: 0; translate: 0 12px; pointer-events: none; transition-duration: .6s; }
}

.floor-shaft{ position: relative; width: 4px; height: 32px; border-radius: 2px; background: rgba(255,255,255,.1); }
.floor-car{
  position: absolute; left: 0; top: 0;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0,153,68,.85);
  transform: translate3d(0, 0, 0); /* top of the shaft; travels down as you scroll down */
}

/* Direction lantern — lit green like a real Hyundai hall lantern while moving */
.floor-dir{ display:flex; width: 12px; height: 10px; color: var(--green); opacity: .25; transition: opacity .3s, rotate .3s var(--ease-out); }
.floor-dir svg{ width: 12px; height: 10px; filter: drop-shadow(0 0 4px rgba(0,153,68,.9)); }
.floor-ind[data-dir="down"] .floor-dir{ rotate: 180deg; }
.floor-ind.is-moving .floor-dir{ opacity: 1; }

.floor-read{ display:flex; flex-direction:column; line-height: 1; }
.floor-num{
  font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,.45);
  /* LED dot-matrix: the digits show through a fine grid of dots */
  -webkit-mask-image: radial-gradient(circle closest-side, #000 72%, transparent 88%);
  mask-image: radial-gradient(circle closest-side, #000 72%, transparent 88%);
  -webkit-mask-size: 3px 3px;
  mask-size: 3px 3px;
}
.floor-num.roll-up{ animation: floorRollUp .45s var(--ease-out); }
.floor-num.roll-down{ animation: floorRollDown .45s var(--ease-out); }
@keyframes floorRollUp{ from{ opacity: 0; translate: 0 60%; } }
@keyframes floorRollDown{ from{ opacity: 0; translate: 0 -60%; } }
.floor-name{
  margin-top: 5px;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); white-space: nowrap;
}

/* ==========================================================================
   Video — poster facade, real player loads on play
   ========================================================================== */
.video-frame{
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a1626;
  box-shadow: var(--shadow-lg);
}
.video-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-facade{ position:absolute; inset:0; display:block; color:#fff; }
.video-facade img{ width:100%; height:100%; object-fit:cover; transition: scale .6s var(--ease-out); }
.video-facade::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:45%;
  background: linear-gradient(0deg, rgba(5,12,24,.72), rgba(5,12,24,0));
}
.video-play{
  position:absolute; left:50%; top:50%; z-index:1;
  translate: -50% -50%;
  width: 84px; height: 84px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--green); color:#fff;
  box-shadow: 0 0 0 10px rgba(0,153,68,.24), 0 16px 40px rgba(0,0,0,.35);
  transition: transform var(--dur-md) var(--ease-out), box-shadow var(--dur-md);
}
.video-play svg{ width:34px; height:34px; margin-left:4px; }
@media (hover: hover){
  .video-facade:hover img{ scale: 1.03; }
  .video-facade:hover .video-play{ transform: scale(1.08); box-shadow: 0 0 0 16px rgba(0,153,68,.18), 0 16px 40px rgba(0,0,0,.35); }
}
.video-meta{
  position:absolute; left:24px; right:24px; bottom:20px; z-index:1;
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  font-size:.85rem; font-weight:600;
}
.video-dur{ font-variant-numeric: tabular-nums; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 6px; font-size:.78rem; }

/* Visually hidden, still read by screen readers */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

@media (max-width: 860px){
  .main-nav{
    position: fixed; inset: 68px 16px auto 16px;
    background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    flex-direction:column; align-items:stretch; gap:0; padding: 10px;
    transform: translateY(-12px); opacity:0; visibility:hidden; pointer-events:none;
    transition: transform var(--dur-md) var(--ease-out), opacity var(--dur-md);
  }
  .main-nav.is-open{ transform: translateY(0); opacity:1; visibility:visible; pointer-events:auto; }
  .main-nav a{ padding: 14px 10px; border-radius: 10px; }
  .main-nav a:hover{ background: var(--surface-tint); }
  .main-nav a::after{ display:none; }
  .main-nav .nav-social{
    display:flex; align-items:center; gap:10px;
    margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px;
    color: var(--navy);
  }
  .nav-social svg{ width:20px; height:20px; }
  .nav-toggle{ display:flex; }
  .header-cta{ display:none; }

  .hero-stats{ grid-template-columns: repeat(2,minmax(0,1fr)); }
  .services-grid{ grid-template-columns: 1fr; }
  .projects-grid{ grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-features{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .container{ padding-inline: 18px; }
  .section{ padding-block: 72px; }
  .hero-stats{ grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .projects-grid{ grid-template-columns: 1fr; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .contact-form{ padding: 26px 22px; }
  .footer-bottom{ flex-direction:column; }

  .header-actions{ gap: 8px; }
  .video-frame{ border-radius: var(--radius-md); }
  .video-play{ width:64px; height:64px; }
  .video-play svg{ width:26px; height:26px; }
  .video-meta{ left:14px; right:14px; bottom:12px; font-size:.75rem; }
}

/* The header needs ≥357px with the Instagram icon; on the narrowest phones
   it's reachable from the menu, contacts and footer instead. */
@media (max-width: 359px){
  .ig-link{ display:none; }
}
