/* ==========================================================
   EVOLIFT MMC — site styles
   Concept: the page is a building. Each section is a floor,
   and a lift panel on the right shows where you are.
   ========================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02AF, U+0259, U+018F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0c1f3f;
  --navy-deep: #07142b;
  --navy-line: #1f3358;
  --gold: #b08f4a;
  --gold-soft: #dcc796;
  --steel: #e6e9ee;
  --paper: #f6f7f9;
  --white: #ffffff;
  --ink: #12203a;
  --mute: #5b6578;
  --line: #d5d9e1;
  --radius-s: 6px;
  --radius-m: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.028em; font-weight: 750; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-deep); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: .9em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost.on-light:hover { background: var(--steel); }
.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(246,247,249,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 168px; flex: none; }
.brand img { width: 100%; height: auto; }
@media (max-width: 420px) { .brand { width: 140px; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--mute); padding: 6px 0; position: relative; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--mute); }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.header .btn { padding: .7em 1.15em; font-size: 14.5px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .icon { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header .btn { display: none; }
  .lang { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .nav {
    /* the header's backdrop-filter makes it the containing block, so size the panel explicitly */
    position: fixed; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overflow-y: auto; margin: 0;
    flex-direction: column; gap: 0; padding: 12px var(--gutter) 32px; background: var(--paper);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 22px; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
  .nav a.active::after { display: none; }
  .nav .nav-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
  .header .nav-extra .btn { display: inline-flex; font-size: 16px; padding: .95em 1.3em; border: 1px solid transparent; justify-content: center; }
  .header .nav-extra .btn-navy { color: var(--white); }
  .header .nav-extra .btn-ghost { border-color: currentColor; }
}
@media (min-width: 901px) { .nav .nav-extra { display: none; } }

/* ---------- Lift panel (floor indicator) ---------- */
.lift-panel {
  position: fixed; right: 22px; top: 50%; z-index: 40; transform: translateY(-50%);
  background: var(--navy-deep); border: 1px solid #2a4170; border-radius: 30px;
  padding: 14px 9px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 20px 40px -20px rgba(7,20,43,.6);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.lift-panel.ready { opacity: 1; pointer-events: auto; }
.lift-display {
  width: 40px; height: 48px; border-radius: 10px; background: #020a18; border: 1px solid var(--navy-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold-soft);
  font-variant-numeric: tabular-nums; margin-bottom: 4px;
}
.lift-display .arrow { font-size: 10px; line-height: 1; height: 10px; opacity: .25; transition: opacity .2s; }
.lift-display .arrow.on { opacity: 1; }
.lift-display .num { font-weight: 800; font-size: 20px; line-height: 1; text-shadow: 0 0 8px rgba(220,199,150,.55); }
.lift-panel a {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  font-size: 12.5px; font-weight: 700; color: #9aa6bd; border: 1px solid var(--navy-line); position: relative;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.lift-panel a:hover { color: var(--white); border-color: #3a5180; }
.lift-panel a.active { color: var(--gold-soft); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,143,74,.18), inset 0 0 10px rgba(176,143,74,.25); }
.lift-panel a .tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  background: var(--navy-deep); color: var(--white); font-size: 13px; padding: 5px 10px; border-radius: var(--radius-s);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.lift-panel a:hover .tip, .lift-panel a:focus-visible .tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 1180px) { .lift-panel { display: none; } }

/* ---------- Floor heading (section label) ---------- */
.floor-label { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--mute); margin-bottom: 22px; }
.floor-label .btn-num {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.dark .floor-label { color: #a9b4c8; }
.dark .floor-label .btn-num { color: var(--gold-soft); border-color: var(--gold); }
.h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--mute); max-width: 56ch; }
.dark .lead { color: #b6c0d2; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.dark { background: var(--navy-deep); color: var(--white); }
.sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.hero.revealed .hero-img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,43,.35) 0%, rgba(7,20,43,.25) 35%, rgba(7,20,43,.92) 100%), linear-gradient(90deg, rgba(7,20,43,.55), transparent 70%); }
.hero-in { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 8vw, 88px); width: 100%; }
.hero h1 { font-size: clamp(46px, 8.4vw, 116px); font-weight: 800; letter-spacing: -.045em; line-height: .98; max-width: 11ch; }
.hero-sub { margin-top: 26px; font-size: clamp(17px, 1.8vw, 21px); color: #d6dce7; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: clamp(48px, 7vw, 80px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: 15px; color: #c3cbd9; }
.hero-foot strong { color: var(--white); font-weight: 700; }
.hero-foot a { text-decoration: none; }
.hero-foot a:hover strong { color: var(--gold-soft); }
.hero-in > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.hero.revealed .hero-in > * { opacity: 1; transform: none; }
.hero.revealed .hero-in > :nth-child(2) { transition-delay: .1s; }
.hero.revealed .hero-in > :nth-child(3) { transition-delay: .2s; }
.hero.revealed .hero-in > :nth-child(4) { transition-delay: .3s; }

/* Lift doors that open on page load */
.doors { position: absolute; inset: 0; z-index: 5; display: flex; pointer-events: none; }
.door {
  flex: 1; position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #6f7884 0%, #c9ced6 28%, #eef1f4 46%, #aab1bb 64%, #7c8590 100%);
  transition: transform 1.5s var(--ease);
}
.door-l { box-shadow: inset -1px 0 0 rgba(0,0,0,.35); }
.door-r { box-shadow: inset 1px 0 0 rgba(255,255,255,.4); }
.door-l::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 3px; background: var(--gold); }
.doors-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6;
  display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: var(--navy-deep); color: var(--gold-soft); font-weight: 800; font-size: 15px; letter-spacing: .02em;
  transition: opacity .35s;
}
.doors-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero.revealed .door-l { transform: translateX(-101%); }
.hero.revealed .door-r { transform: translateX(101%); }
.hero.revealed .doors-badge { opacity: 0; }
.hero.done .doors { display: none; }

/* ---------- Services ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; align-items: start; padding: 28px 0; text-decoration: none; }
.svc-thumb { position: relative; display: block; width: 104px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--steel); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-row:hover .svc-thumb img { transform: scale(1.06); }
.svc-thumb .svc-ico { position: absolute; left: 6px; bottom: 6px; width: 32px !important; height: 32px !important; }
.svc-thumb .svc-ico .icon { width: 17px !important; height: 17px !important; }
.svc-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background-color .25s, color .25s, border-color .25s; }
.svc-ico .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.svc-row h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 3px; }
.svc-row p { color: var(--mute); margin-top: 6px; font-size: 16px; }
.svc-go { margin-top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); transition: color .25s, transform .25s; }
.svc-row:hover .svc-ico { background: var(--navy); color: var(--gold-soft); border-color: var(--navy); }
.svc-row:hover .svc-go { color: var(--gold); transform: translate(3px, -3px); }
.svc-row:hover h3 { color: var(--navy); }
@media (max-width: 860px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.proj-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-filter button { border: 1px solid var(--navy-line); background: transparent; color: #b6c0d2; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.proj-filter button:hover { color: var(--white); border-color: #3a5180; }
.proj-filter button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.proj-filter .count { opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--navy); border-radius: var(--radius-m); overflow: hidden; margin-bottom: 28px; }
.feature-media { position: relative; min-height: 420px; background: #000; }
.feature-media video, .feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(176,143,74,.16); color: var(--gold-soft); }
.tag.muted { background: rgba(255,255,255,.08); color: #c3cbd9; }
.feature h3 { font-size: clamp(28px, 3.2vw, 40px); }
.feature p { color: #c3cbd9; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius-s); overflow: hidden; margin-top: 6px; }
.specs div { background: var(--navy); padding: 14px 14px; }
.specs strong { display: block; font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.specs span { font-size: 13.5px; color: #a9b4c8; }
.feature .place { font-size: 15px; color: #a9b4c8; display: flex; gap: 8px; align-items: center; }
.feature-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 920px) { .feature { grid-template-columns: 1fr; } .feature-media { min-height: 0; aspect-ratio: 16 / 10; } }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.proj-card { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; display: flex; flex-direction: column; }
.proj-card .ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; background: var(--navy); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj-card:hover img { transform: scale(1.04); }
.proj-card .ph .tag { position: absolute; left: 12px; top: 12px; background: rgba(7,20,43,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.proj-card h3 { font-size: 20px; letter-spacing: -.015em; margin-top: 16px; }
.proj-card .meta { color: #a9b4c8; font-size: 15px; margin-top: 4px; }
.proj-card .scope { color: var(--gold-soft); font-size: 14.5px; margin-top: 8px; font-weight: 600; }
.proj-card:hover h3 { color: var(--gold-soft); }
.proj-note { margin-top: 40px; color: #8794ab; font-size: 14.5px; max-width: 70ch; }
.proj-card[hidden], .feature[hidden] { display: none; }
@media (max-width: 980px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

/* Project dialog */
dialog.proj-dialog {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--radius-m);
  background: var(--white); color: var(--ink); overflow: auto;
}
dialog.proj-dialog::backdrop { background: rgba(7,20,43,.78); backdrop-filter: blur(4px); }
dialog[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.dlg-grid { display: grid; grid-template-columns: 1.3fr 1fr; }
.dlg-media { background: var(--navy-deep); position: relative; }
.dlg-main { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.dlg-thumbs { display: flex; gap: 8px; padding: 10px; }
.dlg-thumbs button { border: 2px solid transparent; padding: 0; border-radius: var(--radius-s); overflow: hidden; width: 76px; height: 56px; cursor: pointer; background: none; opacity: .65; }
.dlg-thumbs button[aria-current="true"] { border-color: var(--gold); opacity: 1; }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 16px; }
.dlg-body .tag { background: rgba(176,143,74,.14); color: #8a6c2e; }
.dlg-body h3 { font-size: 30px; }
.dlg-body .place { color: var(--mute); display: flex; gap: 8px; align-items: center; font-size: 15.5px; }
.dlg-body .desc { color: #36425a; }
.dlg-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dlg-body li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15.5px; }
.dlg-body li .icon { color: var(--gold); margin-top: 3px; }
.dlg-body .addr { font-size: 14.5px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 14px; }
.dlg-body .caption { font-size: 14px; color: var(--mute); font-style: italic; }
.dlg-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.dlg-video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.dlg-video.portrait { aspect-ratio: auto; height: min(68vh, 620px); object-fit: contain; }
.dlg-thumbs { flex-wrap: wrap; }
.dlg-thumbs button { position: relative; }
.dlg-thumbs video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dlg-thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); background: rgba(7,20,43,.35); }
.dlg-thumbs .play .icon { fill: currentColor; width: 18px; height: 18px; }
@media (max-width: 820px) { .dlg-grid { grid-template-columns: 1fr; } .dlg-body { padding: 24px 20px; } }

/* ---------- About ---------- */
.about { background: var(--steel); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-years {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px; background: var(--navy-deep); color: var(--white);
  border-radius: var(--radius-m); padding: 20px 22px; display: flex; gap: 16px; align-items: center;
}
.about-years strong { font-size: 52px; line-height: 1; font-weight: 800; color: var(--gold-soft); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.about-years span { font-size: 14.5px; color: #c3cbd9; line-height: 1.4; }
.about-copy p + p { margin-top: 16px; }
.about-copy .lead { margin-top: 26px; }
.values { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; gap: 0; border-top: 1px solid #c9ced8; }
.values li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #c9ced8; }
.values .icon { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.5; margin-top: 2px; }
.values strong { display: block; font-size: 17px; }
.values span { color: var(--mute); font-size: 15.5px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 4 / 3; } }

/* ---------- Applications ---------- */
.apps { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.app-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.app-tab { text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 26px 0 26px 22px; cursor: pointer; position: relative; }
.app-tab::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px; border-radius: 2px; background: var(--line); transition: background-color .25s; }
.app-tab[aria-selected="true"]::before { background: var(--gold); }
.app-tab strong { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--mute); transition: color .25s; }
.app-tab span { display: block; color: var(--mute); font-size: 15.5px; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s, opacity .35s; }
.app-tab[aria-selected="true"] strong { color: var(--ink); }
.app-tab[aria-selected="true"] span { max-height: 80px; opacity: 1; }
.app-tab:hover strong { color: var(--ink); }
.app-view { position: relative; border-radius: var(--radius-m); overflow: hidden; min-height: 440px; background: var(--navy); }
.app-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.app-view img.on { opacity: 1; }
.apps-note { margin-top: 18px; font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .apps { grid-template-columns: 1fr; } .app-view { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Service band ---------- */
.band { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid var(--navy-line); border-radius: 50%; }
.band-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 56px; align-items: center; position: relative; }
.band h2 { font-size: clamp(30px, 4vw, 48px); max-width: 18ch; }
.band p { color: #b6c0d2; margin-top: 14px; max-width: 48ch; }
.band-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.band-phone { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; display: inline-flex; gap: 14px; align-items: center; font-variant-numeric: tabular-nums; }
.band-phone:hover { color: var(--gold-soft); }
.band-phone .icon { color: var(--gold); width: 30px; height: 30px; }
.band-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) { .band-in { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; text-decoration: none; align-items: center; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 50%; background: var(--steel); display: grid; place-items: center; color: var(--navy); }
.contact-list small { display: block; font-size: 14px; color: var(--mute); font-weight: 600; }
.contact-list b { font-weight: 700; font-size: 17px; }
.contact-list a:hover b { color: var(--gold); }
.next-step { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius-m); background: var(--steel); font-size: 15.5px; color: #36425a; }
.next-step strong { display: block; color: var(--ink); margin-bottom: 4px; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.5vw, 40px); }
.mode { display: grid; grid-template-columns: 1fr 1fr; background: var(--steel); padding: 4px; border-radius: 999px; margin-bottom: 26px; }
.mode button { border: 0; background: none; padding: 11px 10px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--mute); }
.mode button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.form h3 { font-size: 26px; }
.form > p { color: var(--mute); margin-top: 6px; font-size: 15.5px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; }
.field label .opt { font-weight: 500; color: var(--mute); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; width: 100%; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(176,143,74,.18); }
.field .err { font-size: 13.5px; color: #b42318; display: none; }
.field.invalid input, .field.invalid select { border-color: #b42318; }
.field.invalid .err { display: block; }
.form-submit { margin-top: 24px; width: 100%; }
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--mute); text-align: center; }
.preview { margin-top: 22px; border: 1px solid var(--gold); background: #fbf8f1; border-radius: var(--radius-m); padding: 20px; }
.preview[hidden] { display: none; }
.preview strong { display: flex; align-items: center; gap: 8px; }
.preview strong .icon { color: var(--gold); }
.preview pre { white-space: pre-wrap; font: inherit; font-size: 15px; color: #36425a; margin: 12px 0 16px; padding: 14px; background: var(--white); border-radius: 10px; border: 1px solid var(--line); }
.preview-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #b6c0d2; padding: 64px 0 28px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.footer .foot-logo { width: 190px; height: auto; }
.footer h4 { margin: 0 0 14px; color: var(--white); font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 14px; color: #8794ab; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Service detail page ---------- */
.svc-hero { padding: calc(var(--header-h) + 48px) 0 0; }
.crumbs { display: flex; gap: 8px; font-size: 14.5px; color: var(--mute); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.svc-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; }
.svc-hero .lead { margin-top: 22px; }
.svc-hero .hero-actions { margin-top: 30px; }
.svc-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); }
.svc-body h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.svc-body .desc { font-size: 18px; color: #36425a; max-width: 60ch; }
.scope { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; border-top: 1px solid var(--line); }
.scope li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.scope li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.sectors { background: var(--steel); border-radius: var(--radius-m); padding: 28px; align-self: start; }
.sectors h3 { font-size: 19px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.sectors .btn { margin-top: 26px; width: 100%; }
.other-svc { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.other-svc a { display: flex; flex-direction: column; gap: 10px; background: var(--paper); padding: 22px; text-decoration: none; height: 100%; font-weight: 700; transition: background-color .2s; }
.other-svc a:hover { background: var(--white); color: var(--navy); }
.other-svc .icon { width: 24px; height: 24px; color: var(--gold); stroke-width: 1.5; }
@media (max-width: 900px) { .svc-hero-grid, .svc-body { grid-template-columns: 1fr; } .other-svc { grid-template-columns: 1fr 1fr; } }

/* ---------- Service slideshow ---------- */
.slider { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--navy-deep); }
.slides { position: relative; aspect-ratio: 16 / 11; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.slide.on img { transform: scale(1); }
.slide.contain { background: var(--white); }
.slide.contain img { object-fit: contain; padding: 6%; transform: none; }
.slider-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(7,20,43,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white);
}
.slide-count { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 42px; }
.dots { display: flex; gap: 6px; flex: 1; }
.dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.35); cursor: pointer; transition: background-color .3s, width .3s; }
.dots button[aria-current="true"] { background: var(--gold); width: 36px; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.arrows button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* ---------- Feature blocks: reels and alternation ---------- */
#projFeature { display: grid; gap: 28px; margin-bottom: 28px; }
#projFeature .feature { margin-bottom: 0; }
.feature.flip { grid-template-columns: 1fr 1.25fr; }
.feature.flip .feature-media { order: 2; }
.reels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: var(--navy-deep); }
.reels video { position: static !important; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: #000; }
.feature.has-reels .feature-media { min-height: 480px; }
.feat-scope { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.feat-scope li { display: flex; gap: 10px; align-items: flex-start; color: #d6dce7; font-size: 15.5px; }
.feat-scope .icon { color: var(--gold); margin-top: 3px; }
.has-video { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--gold); color: var(--navy-deep); }
.has-video .icon { fill: currentColor; width: 12px; height: 12px; }
@media (max-width: 920px) {
  .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .feature.has-reels .feature-media { min-height: 0; aspect-ratio: auto; }
  .reels { position: static; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .reels video { aspect-ratio: 9 / 16; height: auto; scroll-snap-align: start; }
}

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,247,249,.95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: .85em 1em; }
  body { padding-bottom: 76px; }
  body:has(.nav.open) .mobile-bar { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .doors { display: none; }
}
