/* =========================================================
   Denta Lux Digital Lab — landing (DentaLab platform)
   ========================================================= */

:root {
  --bg: #09090a;
  --bg-2: #0e0e10;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(214, 178, 106, 0.14);
  --line-strong: rgba(214, 178, 106, 0.38);
  --gold: #d6b26a;
  --gold-light: #f1d99c;
  --gold-dark: #a7803d;
  --grad-gold: linear-gradient(135deg, #f6e4ab 0%, #d6b26a 38%, #a7803d 70%, #e9cd8a 100%);
  --grad-gold-soft: linear-gradient(135deg, rgba(246, 228, 171, 0.16), rgba(167, 128, 61, 0.06));
  --text: #ede7da;
  --muted: #a8a194;
  --muted-2: #7c766b;
  --danger: #ef8a7f;
  --success: #8fd3a6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --container: 1200px;
  --header-h: 76px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-brand: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::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(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(214, 178, 106, 0.35); color: #fff; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: #111;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
i[data-icon] { display: inline-flex; font-style: normal; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--grad-gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-title em,
.hero-title em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-text {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 640px;
}

.section { padding: 112px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(214, 178, 106, 0.06), transparent 70%),
    var(--bg-2);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
}
.section-head .section-text { margin: 0 auto; }
.section-head-left { align-items: flex-start; text-align: left; margin-left: 0; }
.section-head-left .section-text { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, filter 0.25s;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-gold {
  background: var(--grad-gold);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #15120c;
  box-shadow: 0 8px 24px rgba(214, 178, 106, 0.22);
}
.btn-gold:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(214, 178, 106, 0.32);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--gold-light);
}
.btn-ghost:hover {
  background: rgba(214, 178, 106, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 0.98rem; }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { color: var(--gold-light); border-color: var(--line-strong); background: rgba(214, 178, 106, 0.08); }
.icon-btn .ic { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
body.nav-open .site-header {
  background: rgba(9, 9, 10, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 0 12px rgba(214, 178, 106, 0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.main-nav a:not(.btn):hover,
.main-nav a.active { color: var(--gold-light); }
.main-nav a.active::after,
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-mobile-actions { display: none; }

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.lang-switch button {
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch button:hover { color: var(--gold-light); }
.lang-switch button[aria-pressed="true"] { background: var(--grad-gold); color: #15120c; }

.header-cta,
.header-login { min-height: 42px; padding: 10px 20px; font-size: 0.86rem; }
.header-login .ic { width: 1em; height: 1em; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(214, 178, 106, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 178, 106, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -260px; top: -260px;
  background: radial-gradient(circle, rgba(214, 178, 106, 0.16), transparent 62%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}
.hero-content { display: flex; flex-direction: column; gap: 26px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero-text { color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats > div { padding-right: 16px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: 0.78rem; color: var(--muted); line-height: 1.35; margin-top: 6px; }
.hero-stats dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  white-space: nowrap;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.hero-stats dd small { font-size: 0.55em; margin-left: 2px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 540px;
  justify-self: center;
  display: grid;
  place-items: center;
}
.hero-logo {
  position: relative;
  width: 78%;
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(214, 178, 106, 0.18));
  animation: float 7s ease-in-out infinite;
}
.visual-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 178, 106, 0.2), transparent 65%);
  filter: blur(10px);
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.orbit-1 { inset: 2%; border-style: dashed; animation: spin 80s linear infinite; }
.orbit-2 { inset: 13%; border-color: rgba(214, 178, 106, 0.22); }
.orbit-1::before,
.orbit-2::before {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
  top: 50%; left: -4px;
}
.orbit-2::before { top: 12%; left: 82%; }
.orbit-2 { animation: spin 50s linear infinite reverse; }

.pixels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pixels span {
  position: absolute;
  width: var(--s, 8px);
  height: var(--s, 8px);
  background: var(--grad-gold);
  border-radius: 1px;
  opacity: 0;
  animation: pixel var(--d, 6s) ease-in-out var(--delay, 0s) infinite;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(20, 20, 22, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  max-width: 250px;
}
.fc-1 { left: -6%; bottom: 1%; animation: float 8s ease-in-out infinite 1s; }
.fc-2 { right: -2%; top: 10%; animation: float 9s ease-in-out infinite 0.4s; }
.fc-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
}
.fc-text { display: flex; flex-direction: column; line-height: 1.3; }
.fc-text b { font-size: 0.82rem; font-weight: 600; }
.fc-text small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pixel {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  20% { opacity: 0.9; }
  70% { opacity: 0.6; }
  100% { opacity: 0; transform: translate(var(--tx, 20px), var(--ty, -40px)) scale(1); }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (shared) ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(214, 178, 106, 0.06);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
}
.card-icon .ic { width: 26px; height: 26px; stroke-width: 1.4; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: 1.08rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px 22px;
  cursor: pointer;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% -10%, rgba(214, 178, 106, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.service-card p { color: var(--muted); font-size: 0.88rem; flex-grow: 1; }
.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.service-price { font-size: 0.86rem; font-weight: 600; color: var(--gold-light); }
.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s, gap 0.2s;
}
.more-btn .ic { width: 16px; height: 16px; }
.service-card:hover .more-btn { color: var(--gold-light); gap: 9px; }

/* ---------- Prices ---------- */
.prices-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.prices-main { min-width: 0; }
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.tab:hover { color: var(--gold-light); border-color: var(--line-strong); }
.tab[aria-selected="true"] { background: var(--grad-gold); border-color: transparent; color: #15120c; font-weight: 600; }

.price-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  transition: background-color 0.2s;
  animation: rowIn 0.45s var(--ease) both;
}
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row:hover { background: rgba(214, 178, 106, 0.04); }
.price-name { font-weight: 500; font-size: 0.97rem; }
.price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted-2);
}
.price-meta span { display: inline-flex; align-items: center; gap: 5px; }
.price-meta .ic { width: 14px; height: 14px; }
.price-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-light);
  white-space: nowrap;
  text-align: right;
}
.add-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(214, 178, 106, 0.06);
  color: var(--gold-light);
  transition: background-color 0.2s, transform 0.2s, color 0.2s;
}
.add-btn:hover { background: var(--gold); color: #15120c; transform: scale(1.06); }
.add-btn .ic { width: 18px; height: 18px; }
.add-btn .count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #15120c;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.add-btn.in-calc { background: rgba(214, 178, 106, 0.18); }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.calc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(214, 178, 106, 0.12), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.calc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.calc-head h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.calc-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
}
.calc-empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}
.calc-list { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; margin-right: -6px; padding-right: 6px; }
.calc-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.calc-item-name { font-size: 0.86rem; font-weight: 500; line-height: 1.35; }
.calc-item-sum { font-size: 0.86rem; font-weight: 600; color: var(--gold-light); white-space: nowrap; text-align: right; }
.calc-item-row { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.stepper button {
  width: 32px; height: 30px;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  display: grid; place-items: center;
  transition: background-color 0.2s;
}
.stepper button:hover { background: rgba(214, 178, 106, 0.12); }
.stepper button .ic { width: 15px; height: 15px; }
.stepper output { min-width: 30px; text-align: center; font-size: 0.86rem; font-weight: 600; }
.calc-item .unit-price { font-size: 0.75rem; color: var(--muted-2); }
.calc-remove {
  border: 0; background: none; padding: 4px;
  color: var(--muted-2);
  display: grid; place-items: center;
  border-radius: 6px;
  transition: color 0.2s;
}
.calc-remove:hover { color: var(--danger); }
.calc-remove .ic { width: 16px; height: 16px; }
.calc-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
.calc-total output {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}
.calc-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.calc-actions .btn { white-space: normal; text-align: center; }
.calc-note { margin-top: 14px; font-size: 0.76rem; color: var(--muted-2); line-height: 1.5; }

/* ---------- Technology ---------- */
.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: center;
}
.tech-main .section-head { margin-bottom: 36px; }
.tech-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tech-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
}
.tech-item .card-icon { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; }
.tech-item .card-icon .ic { width: 22px; height: 22px; }
.tech-item h3 { font-size: 0.96rem; font-weight: 600; margin-bottom: 4px; }
.tech-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

.spec-card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(214, 178, 106, 0.16), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}
.spec-mark { width: 110px; height: 110px; margin: 0 auto 14px; filter: drop-shadow(0 0 20px rgba(214, 178, 106, 0.25)); }
.spec-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 18px; }
.spec-list { text-align: left; }
.spec-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.spec-list dt { font-size: 0.82rem; color: var(--muted); }
.spec-list dd { font-size: 0.88rem; font-weight: 600; color: var(--gold-light); text-align: right; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step { padding: 30px 28px; overflow: hidden; }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 178, 106, 0.55);
}
.step:hover .step-num {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0;
}
.step h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }
.step::after {
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.step:hover::after { transform: scaleX(1); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.member {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  overflow: hidden;
}
.member::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: radial-gradient(260px 110px at 50% 0%, rgba(214, 178, 106, 0.14), transparent 75%);
  pointer-events: none;
}
.avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 104px; height: 104px;
  margin-bottom: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(246, 228, 171, 0.18), transparent 60%),
    linear-gradient(160deg, #1d1d20, #121214);
  box-shadow: inset 0 0 0 1px rgba(214, 178, 106, 0.35), 0 12px 30px rgba(0, 0, 0, 0.45);
}
.avatar::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(214, 178, 106, 0.35);
  transition: transform 1.2s var(--ease);
}
.member:hover .avatar::before { transform: rotate(90deg); }
.avatar span {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.member h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.member .role { color: var(--gold); font-size: 0.86rem; font-weight: 500; }
.member .exp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}
.member .exp .ic { width: 15px; height: 15px; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.tag {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Partner ---------- */
.partner { padding: 96px 0; position: relative; }
.partner-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(214, 178, 106, 0.14), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, rgba(214, 178, 106, 0.08), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.partner-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.partner-head .section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.partner-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}
.partner-item .card-icon { width: 44px; height: 44px; border-radius: 12px; }
.partner-item .card-icon .ic { width: 21px; height: 21px; }
.partner-item h3 { font-size: 1rem; font-weight: 600; }
.partner-item p { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-container { max-width: 880px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background-color 0.3s;
}
.faq-item[open] { border-color: var(--line-strong); background: rgba(214, 178, 106, 0.04); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-toggle {
  position: relative;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--gold-light);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Order ---------- */
.order-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.order-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.order-side h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; line-height: 1.2; }
.order-steps { display: flex; flex-direction: column; gap: 16px; }
.order-steps li { display: flex; gap: 14px; align-items: flex-start; }
.order-steps li span {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #15120c;
  font-weight: 700;
  font-size: 0.82rem;
}
.order-steps p { font-size: 0.9rem; color: var(--muted); padding-top: 4px; }
.order-quick { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.order-quick-title { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.quick-link .ic { color: var(--gold); }
.quick-link:hover { border-color: var(--line-strong); color: var(--gold-light); background: rgba(214, 178, 106, 0.05); }

.order-form {
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(214, 178, 106, 0.08), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-bottom: 26px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label,
.field .label { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.field abbr { color: var(--gold); text-decoration: none; border: 0; cursor: help; }
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-strong); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(214, 178, 106, 0.12);
}
.field input[type="date"] { color-scheme: dark; }
.field [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(239, 138, 127, 0.1) !important; }
.field-error { min-height: 0; font-size: 0.78rem; color: var(--danger); }
.field-error:empty { display: none; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap select option { background: #18181b; color: var(--text); }
.select-wrap > i {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
}
.select-wrap > i .ic { width: 18px; height: 18px; }

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.dropzone > i { color: var(--gold); }
.dropzone > i .ic { width: 30px; height: 30px; stroke-width: 1.3; }
.dropzone span { font-size: 0.92rem; color: var(--text); }
.dropzone u { color: var(--gold-light); text-underline-offset: 3px; }
.dropzone small { font-size: 0.75rem; color: var(--muted-2); }
.dropzone:hover,
.dropzone.dragover { border-color: var(--gold); background: rgba(214, 178, 106, 0.06); }
#fFiles:focus-visible + .file-list,
.dropzone:focus-within { outline: none; }
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-list:empty { display: none; }
.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.85rem;
}
.file-item > .ic { color: var(--gold); }
.file-item .file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .file-size { color: var(--muted-2); font-size: 0.78rem; white-space: nowrap; }
.file-item .icon-btn { width: 30px; height: 30px; }
.file-item .icon-btn .ic { width: 15px; height: 15px; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 0.88rem; color: var(--muted); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  color: transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.check-box .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.check input:checked + .check-box { background: var(--grad-gold); border-color: transparent; color: #15120c; }
.check input:focus-visible + .check-box { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check-box { border-color: var(--danger); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.calc-attach {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--grad-gold-soft);
  font-size: 0.86rem;
}
.calc-attach[hidden] { display: none; }
.calc-attach > i { color: var(--gold-light); }
.calc-attach span { flex: 1; }

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(21, 18, 12, 0.3);
  border-top-color: #15120c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.is-loading .btn-spinner { display: inline-block; }
.is-loading .ic { display: none; }
.is-loading { pointer-events: none; opacity: 0.85; }

/* ---------- Connect (buyurtma oqimi) ---------- */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  counter-reset: none;
}
.connect-step { padding: 32px 28px 30px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.connect-step h3 { font-size: 1.12rem; font-weight: 600; }
.connect-step p { color: var(--muted); font-size: 0.92rem; }
.connect-num {
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 178, 106, 0.4);
}
.connect-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.prices-empty {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}
@media (max-width: 980px) {
  .connect-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .connect-cta { flex-direction: column; }
  .connect-cta .btn { width: 100%; }
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-list li { display: flex; gap: 16px; padding: 14px 0; }
.contact-list li + li { border-top: 1px solid var(--line); }
.c-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--grad-gold-soft);
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
}
.c-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.c-value { display: block; font-size: 1rem; font-weight: 500; }
a.c-value:hover { color: var(--gold-light); }
.c-muted { font-size: 0.85rem; color: var(--muted); }
.c-links { display: flex; gap: 16px; margin-top: 6px; font-size: 0.82rem; }
.c-links a { color: var(--gold-light); border-bottom: 1px solid var(--line-strong); }
.c-links a:hover { border-color: var(--gold-light); }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 600;
}
.open-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-badge.open { color: var(--success); background: rgba(143, 211, 166, 0.1); }
.open-badge.closed { color: var(--danger); background: rgba(239, 138, 127, 0.1); }
.open-badge:empty { display: none; }
.contact-list li.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 22px; }
.contact-actions .btn { flex: 1 1 180px; }

.map-wrap {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.88) sepia(0.18);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 340px; }
.footer-title { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a,
.footer-plain { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links .ic { color: var(--gold); width: 17px; height: 17px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: center;
}

/* ---------- Floating & overlays ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 22, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #15120c; }

.toast-region {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 300;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(24, 24, 27, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  pointer-events: auto;
  animation: toastIn 0.35s var(--ease);
}
.toast > .ic { color: var(--gold-light); }
.toast.error > .ic { color: var(--danger); }
.toast .toast-action {
  border: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(214, 178, 106, 0.14);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.toast.hide { opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(214, 178, 106, 0.14), transparent 70%),
    var(--surface);
  color: var(--text);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.modal-sm { width: min(440px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn 0.4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal-body { position: relative; padding: 38px 34px 32px; display: flex; flex-direction: column; gap: 14px; }
.modal-body.center { align-items: center; text-align: center; }
.modal-close { position: absolute; top: 16px; right: 16px; }
.modal-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--grad-gold-soft); border: 1px solid var(--line-strong); color: var(--gold-light); }
.modal-icon .ic { width: 28px; height: 28px; stroke-width: 1.4; }
.modal h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.15; padding-right: 30px; }
.modal-body.center h3 { padding-right: 0; }
.modal p { color: var(--muted); font-size: 0.95rem; }
.check-list { display: flex; flex-direction: column; gap: 9px; }
.check-list li { display: flex; gap: 10px; font-size: 0.92rem; }
.check-list .ic { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }
.modal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 4px;
}
.modal-meta > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.2); }
.modal-meta dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.modal-meta dd { font-size: 0.86rem; font-weight: 600; color: var(--gold-light); }
.result-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; margin-bottom: 4px; }
.result-icon .ic { width: 36px; height: 36px; stroke-width: 2; }
.result-icon.ok { background: var(--grad-gold); color: #15120c; box-shadow: 0 0 0 10px rgba(214, 178, 106, 0.1); }
.result-icon.fail { background: rgba(239, 138, 127, 0.12); color: var(--danger); box-shadow: 0 0 0 10px rgba(239, 138, 127, 0.06); }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; width: 100%; }
.modal-actions .btn { flex: 1 1 160px; }
.modal p b { color: var(--gold-light); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .burger { display: inline-block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 24px 24px 32px;
    background: rgba(9, 9, 10, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) {
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
  }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-mobile-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .nav-mobile-actions .btn { flex: 1 1 200px; }
  .header-actions { margin-left: auto; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .spec-card { max-width: 520px; width: 100%; margin: 0 auto; }
}

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-content { order: 2; text-align: center; align-items: center; }
  .hero-content .eyebrow::before { display: none; }
  .hero-text { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 1; max-width: 400px; }
  .hero-stats { width: 100%; }
  .hero { padding-top: calc(var(--header-h) + 24px); }

  .features-grid,
  .process-grid,
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices-layout { grid-template-columns: minmax(0, 1fr); }
  .calc { position: relative; top: 0; }
  .partner-inner { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  .order-side { position: relative; top: 0; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .map-wrap { min-height: 360px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.02rem; }
  .brand-sub { font-size: 0.52rem; letter-spacing: 0.3em; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .lang-switch button { min-width: 32px; height: 28px; padding: 0 6px; font-size: 0.7rem; }
  .burger { width: 40px; height: 40px; }
  .header-login { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 12px; }
  .header-login span { display: none; }
  .header-login .ic { width: 18px; height: 18px; }
  .burger span { left: 11px; right: 11px; }
  .burger span:nth-child(1) { top: 13px; }
  .burger span:nth-child(2) { top: 19px; }
  .burger span:nth-child(3) { top: 25px; }
  .burger[aria-expanded="true"] span:nth-child(1),
  .burger[aria-expanded="true"] span:nth-child(3) { top: 19px; }

  .hero-visual { max-width: 330px; }
  .float-card { padding: 9px 12px; gap: 9px; max-width: 200px; }
  .fc-icon { width: 32px; height: 32px; border-radius: 10px; }
  .fc-text b { font-size: 0.72rem; }
  .fc-text small { font-size: 0.65rem; }
  .fc-1 { left: -2%; bottom: -2%; }
  .fc-2 { right: -2%; top: 4%; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .hero-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stats > div { text-align: center; padding: 0 8px; }
  .hero-stats > div + div { padding-left: 8px; }

  .features-grid,
  .services-grid,
  .process-grid,
  .team-grid,
  .tech-list,
  .partner-grid { grid-template-columns: minmax(0, 1fr); }
  .feature, .step { padding: 24px; }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .step-num { grid-row: 1 / span 2; margin: 0; font-size: 2.6rem; }
  .step h3 { margin-top: 4px; }

  .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 16px; }
  .price-row .price-value { grid-column: 1; grid-row: 2; text-align: left; font-size: 1.2rem; }
  .price-row .add-btn { grid-column: 2; grid-row: 1 / span 2; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .calc { padding: 22px 18px; }

  .partner { padding: 64px 0; }
  .partner-inner { padding: 28px 20px; border-radius: 24px; }
  .order-form { padding: 22px 16px; }
  .order-side { padding: 24px 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-list { padding: 20px; }
  .map-wrap { min-height: 300px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .modal-body { padding: 32px 20px 24px; }
  .modal h3 { font-size: 1.6rem; }
  .modal-meta { grid-template-columns: minmax(0, 1fr); }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pixels { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
