/* =========================================================
   panels.am — styles
   Two modes on <html data-mode="day|night">, switched by the hero toggle.
   Photo "scenes" stay cinematic (light text on photo) in both modes;
   the page around them follows the mode.
   ========================================================= */

:root {
  --font: "Manrope", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fade-dur: 1.1s;
  --radius: 16px;
  --wrap: 1200px;
  --accent: #f0a93b;            /* sun amber */
  --banner-h: 40px;             /* "site for sale" bar above the nav */

  /* scene (photo) tokens, same in both modes */
  --s-ink: #f4f1eb;
  --s-soft: rgba(244, 241, 235, .74);
  --s-faint: rgba(244, 241, 235, .46);
  --s-glass: rgba(14, 15, 19, .46);
  --s-glass-strong: rgba(14, 15, 19, .62);
  --s-line: rgba(255, 255, 255, .14);
}

/* ---------- Night (default) ---------- */
:root,
:root[data-mode="night"] {
  --bg: #0d0e11;
  --bg-alt: #121418;
  --surface: rgba(28, 30, 36, .62);
  --line: rgba(255, 255, 255, .09);
  --ink: #eeebe5;
  --ink-soft: rgba(238, 235, 229, .66);
  --ink-faint: rgba(238, 235, 229, .4);
  --btn-bg: #f4f1ea;
  --btn-ink: #121316;
  --glass: rgba(18, 19, 23, .48);
  --glass-line: rgba(255, 255, 255, .12);
  --hero-ink: #eeebe5;
  --hero-fade-from: #16171b;
  --hero-fade-to: #eeebe5;
  --hero-top: rgba(8, 9, 12, .55);
  --hero-bottom: #0d0e11;
  --nav-solid: rgba(13, 14, 17, .78);
  --accent-ink: var(--accent);
  --mist: rgba(150, 160, 175, .10);
  --scene-tint: rgba(8, 9, 12, .38);
  color-scheme: dark;
}

/* ---------- Day ---------- */
:root[data-mode="day"] {
  --bg: #eeeae3;
  --bg-alt: #e6e1d8;
  --surface: rgba(255, 253, 249, .62);
  --line: rgba(20, 22, 27, .1);
  --ink: #16181d;
  --ink-soft: rgba(22, 24, 29, .68);
  --ink-faint: rgba(22, 24, 29, .42);
  --btn-bg: #16181d;
  --btn-ink: #f6f3ee;
  --glass: rgba(255, 253, 249, .5);
  --glass-line: rgba(255, 255, 255, .6);
  --hero-ink: #16181d;
  --hero-fade-from: #f4efe8;
  --hero-fade-to: #16181d;
  --hero-top: rgba(244, 239, 232, .55);
  --hero-bottom: #eeeae3;
  --nav-solid: rgba(238, 234, 227, .8);
  --accent-ink: #a8600a;        /* darker amber, readable on light backgrounds */
  --mist: rgba(255, 255, 255, .55);
  --scene-tint: rgba(10, 11, 14, .22);
  color-scheme: light;
}

/* Colors glide between modes */
body, .nav, .section, .stats, .footer, .faq__list details, .scene__shade {
  transition: background-color var(--fade-dur) var(--ease), color var(--fade-dur) var(--ease), border-color var(--fade-dur) var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: calc(64px + var(--banner-h)); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; position: relative; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border-radius: 10px; border: 0;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform .25s var(--ease), background-color var(--fade-dur) var(--ease), color var(--fade-dur) var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--cta, .btn--solid { background: var(--btn-bg); color: var(--btn-ink); }
.btn--solid:hover, .btn--cta:hover { box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }
.btn--block { width: 100%; height: 52px; font-size: 15px; }
.btn--light { background: var(--s-ink); color: #121316; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink-faint); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .55);
}
.scene .glass { background: var(--s-glass); border-color: var(--s-line); }

/* ---------- Fog ---------- */
.fog {
  position: absolute; inset: -10% -30%; pointer-events: none; z-index: 0;
  mix-blend-mode: screen; opacity: .5; transition: opacity var(--fade-dur) var(--ease);
}
.fog--a {
  background:
    radial-gradient(40% 18% at 30% 42%, rgba(220, 225, 232, .35), transparent 70%),
    radial-gradient(35% 14% at 75% 36%, rgba(220, 225, 232, .28), transparent 70%);
  animation: drift 38s linear infinite alternate;
}
.fog--b {
  background:
    radial-gradient(45% 16% at 60% 88%, rgba(220, 225, 232, .3), transparent 70%),
    radial-gradient(30% 12% at 15% 80%, rgba(220, 225, 232, .22), transparent 70%);
  animation: drift 52s linear infinite alternate-reverse;
}
:root[data-mode="night"] .fog { opacity: .28; }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

/* page sections get a soft mist instead of photo fog */
.section > .fog { mix-blend-mode: normal; opacity: 1; }
.section > .fog--a { background: radial-gradient(50% 30% at 20% 20%, var(--mist), transparent 70%), radial-gradient(40% 25% at 85% 70%, var(--mist), transparent 70%); }
.section > .fog--b { background: radial-gradient(45% 28% at 80% 15%, var(--mist), transparent 70%), radial-gradient(40% 30% at 10% 85%, var(--mist), transparent 70%); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--hero-ink);
  transition: background-color .4s var(--ease), color var(--fade-dur) var(--ease), backdrop-filter .4s;
}
.nav.is-solid {
  background: var(--nav-solid);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav__inner {
  width: min(100% - 32px, 1320px); margin-inline: auto;
  height: 76px; display: flex; align-items: center; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.03em; }
.logo__mark { width: 30px; height: 30px; }
.logo__dot { color: var(--accent-ink); transition: color var(--fade-dur) var(--ease); }

.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav__links a { opacity: .78; transition: opacity .2s; white-space: nowrap; }
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 14px; margin-left: 28px; }

.lang { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lang a { padding: 5px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; opacity: .62; transition: opacity .2s, background-color .2s; }
.lang a:hover { opacity: 1; }
.lang a[aria-current="page"] { opacity: 1; background: var(--btn-bg); color: var(--btn-ink); }

.burger { display: none; width: 42px; height: 42px; border: 0; background: none; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; isolation: isolate; overflow: hidden;
  color: var(--hero-ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { position: absolute; inset: 0; transition: opacity var(--fade-dur) var(--ease); }
.hero__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

:root[data-mode="night"] .hero__img--day,
:root[data-mode="day"] .hero__img--night { opacity: 0; }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--hero-top) 0%, transparent 34%),
    linear-gradient(0deg, var(--hero-bottom) 0%, color-mix(in srgb, var(--hero-bottom) 72%, transparent) 14%, transparent 42%);
  transition: background var(--fade-dur) var(--ease);
}

.hero__content {
  width: min(100% - 32px, 1100px); margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
  padding: calc(clamp(112px, 15vh, 160px) + var(--banner-h)) 0 clamp(36px, 7vh, 72px);
}

.hero__title { font-size: clamp(38px, 6.4vw, 88px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.hero__kicker {
  display: table; margin: 0 auto 18px; padding: 7px 14px; border-radius: 999px;
  font-size: clamp(12px, 1.1vw, 14px); font-weight: 600; letter-spacing: .02em; line-height: 1.3;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: rise 1s var(--ease) both;
}
.hero__line { display: block; animation: rise 1s var(--ease) both; }
.hero__line + .hero__line { animation-delay: .12s; }
.hero__line--fade .fade {
  background: linear-gradient(90deg, var(--hero-fade-from) 0%, color-mix(in srgb, var(--hero-fade-from) 45%, var(--hero-fade-to)) 55%, var(--hero-fade-to) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__line--fade .hl { color: var(--hero-ink); white-space: nowrap; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 40px; animation: rise 1s .3s var(--ease) both; }

/* day / night switch */
.switch {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .55);
  transition: background-color var(--fade-dur) var(--ease), border-color var(--fade-dur) var(--ease);
}
.switch__btn {
  min-width: 148px; padding: 10px 22px 9px; border: 0; border-radius: 9px; background: transparent;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--hero-ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.switch__btn strong { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.switch__btn small { font-size: 11.5px; opacity: .7; }
.switch__btn[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.switch__btn:not([aria-selected="true"]):hover { background: color-mix(in srgb, var(--btn-bg) 12%, transparent); }

.hero__text { position: relative; max-width: 640px; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.55; color: color-mix(in srgb, var(--hero-ink) 86%, transparent); display: grid; }
.hero__text > span { grid-area: 1 / 1; transition: opacity .7s var(--ease), transform .7s var(--ease); }
:root[data-mode="day"] .hero__text-night,
:root[data-mode="night"] .hero__text-day { opacity: 0; transform: translateY(6px); pointer-events: none; }

/* =========================================================
   TITLES (hero-style: solid line + fading line)
   ========================================================= */
.title-block { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); position: relative; z-index: 1; }
.title-block--center { margin-inline: auto; text-align: center; }
.title { font-size: clamp(32px, 4.8vw, 66px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; }
.title > span { display: block; width: fit-content; }
.title-block--center .title > span { margin-inline: auto; }
.title__fade {
  background: linear-gradient(90deg, var(--fade-from, var(--ink-faint)) 0%, var(--fade-to, var(--ink)) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.scene .title { color: var(--s-ink); --fade-from: rgba(244, 241, 235, .28); --fade-to: var(--s-ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.scene .eyebrow { color: var(--s-soft); }
.lead { margin-top: 18px; font-size: 17px; max-width: 46ch; }
.scene .lead { color: var(--s-soft); }

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; padding: 8px 0 clamp(40px, 6vw, 72px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 600; letter-spacing: -.035em; line-height: 1; margin-bottom: 12px; }
.stat span { color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; display: block; max-width: 24ch; margin-inline: auto; }

/* =========================================================
   SCENES (rounded photo windows)
   ========================================================= */
.scene {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0 clamp(10px, 1.6vw, 24px);
  border-radius: clamp(22px, 2.6vw, 36px);
  padding: clamp(84px, 11vw, 150px) 0 clamp(28px, 4vw, 56px);
  color: var(--s-ink);
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column;
}
.scene + .scene, .section + .scene, .scene + .section { margin-top: clamp(10px, 1.6vw, 24px); }
.scene__media { position: absolute; inset: 0; z-index: -1; }
.scene__media img { width: 100%; height: 100%; object-fit: cover; }
.scene__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, .62) 0%, rgba(8, 9, 12, .12) 38%, rgba(8, 9, 12, .18) 60%, rgba(8, 9, 12, .78) 100%),
    var(--scene-tint);
}
.scene__content { flex: 1; display: flex; flex-direction: column; z-index: 1; }

/* how it works */
.scene--how .scene__media img { object-position: 60% 50%; }
.steps { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { border-radius: var(--radius); padding: 22px 22px 26px; }
.step__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #16120a; font-size: 12.5px; font-weight: 700; margin-bottom: 34px; }
.step h3 { font-size: 19px; margin-bottom: 10px; color: var(--s-ink); }
.step p { color: var(--s-soft); font-size: 14.5px; line-height: 1.55; }

/* calculators */
.scene--calc .scene__media img { object-position: 70% 50%; }
.calc { border-radius: 24px; padding: 8px; max-width: 1040px; width: 100%; margin: 0 auto; background: var(--s-glass-strong); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .06); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; border: 0; background: none; color: var(--s-soft);
  padding: 11px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab:hover { color: var(--s-ink); }
.tab[aria-selected="true"] { background: var(--s-ink); color: #121316; }

.cpanel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3.2vw, 40px); }
.cpanel[hidden] { display: none; }
.cpanel__intro { font-size: 15px; color: var(--s-soft); margin-bottom: 26px; max-width: 46ch; }
.field { display: block; margin-bottom: 22px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.field__label { font-size: 13.5px; font-weight: 600; color: var(--s-soft); }
.field__value { white-space: nowrap; font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--s-ink); }
.field__value small { font-size: 14px; color: var(--s-faint); font-weight: 500; margin-left: 3px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  border: 1px solid var(--s-line); background: rgba(255, 255, 255, .04); color: var(--s-soft);
  border-radius: 10px; padding: 8px 12px; font-size: 13.5px; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.seg button:hover { color: var(--s-ink); }
.seg button[aria-pressed="true"] { background: var(--s-ink); color: #121316; border-color: var(--s-ink); }
.cselect {
  width: 100%; font: inherit; font-size: 15px; font-weight: 600; color: var(--s-ink);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--s-line); border-radius: 10px; padding: 11px 12px;
}
.cselect option { color: #121316; }

.range { --p: 10%; width: 100%; height: 28px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255, 255, 255, .16) var(--p)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--s-ink); border: 6px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .2s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--s-ink); border: 6px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range__scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: var(--s-faint); }

.result { border-radius: 18px; padding: clamp(20px, 2.6vw, 30px); background: rgba(255, 255, 255, .06); border: 1px solid var(--s-line); display: flex; flex-direction: column; }
.result__big span { font-size: 13.5px; font-weight: 600; color: var(--s-soft); }
.result__big b { display: block; margin-top: 2px; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.result__big b small { font-size: .5em; color: var(--s-soft); letter-spacing: 0; margin-left: 4px; }
.result__list { margin: 20px 0 22px; display: grid; }
.result__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--s-line); }
.result__list dt { color: var(--s-soft); font-size: 14.5px; }
.result__list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; color: var(--s-ink); white-space: nowrap; }
.result .btn { margin-top: auto; }
.result__note { margin-top: 12px; font-size: 12px; color: var(--s-faint); line-height: 1.5; }
.bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; display: flex; margin-top: 14px; }
.bar i { display: block; height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.bar i + i { background: rgba(255, 255, 255, .35); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--s-soft); }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--accent); }
.legend span + span::before { background: rgba(255, 255, 255, .45); }

/* =========================================================
   PAGE SECTIONS (follow the mode)
   ========================================================= */
.section { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; }

/* prices & tariffs */
.lead.muted { color: var(--ink-soft); }
.title-block--center .lead { margin-inline: auto; }
.ptable {
  position: relative; z-index: 1; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ptable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 18px 22px; text-align: left; white-space: nowrap; }
.ptable thead th { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.ptable tbody tr + tr > * { border-top: 1px solid var(--line); }
.ptable tbody th { font-size: 18px; font-weight: 600; }
.ptable td { font-size: 15.5px; }
.ptable td:last-child, .ptable thead th:last-child { text-align: right; }
.ptable td b { font-size: 18px; font-weight: 600; color: var(--accent-ink); }
.ptable small { color: var(--ink-faint); font-size: 12.5px; }
.ptable tbody tr { transition: background-color .2s; }
.ptable tbody tr:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.prices__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 18px; }
.tariffs { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 90px); }
.tariffs__title, .cities__title { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; margin-bottom: 20px; }
.ptable--tariffs { max-width: 760px; }
.cities { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 90px); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--surface); border: 1px solid var(--line); }

/* why us — photo cards */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 22px; aspect-ratio: 3 / 4.2; color: var(--s-ink);
  display: flex; align-items: flex-end;
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .6);
}
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 9, 12, 0) 30%, rgba(8, 9, 12, .55) 62%, rgba(8, 9, 12, .9) 100%); }
.pcard:hover img { transform: scale(1.05); }
.pcard__body { padding: 22px 22px 24px; }
.pcard h3 { font-size: 19px; margin-bottom: 8px; }
.pcard p { font-size: 14.5px; color: var(--s-soft); line-height: 1.5; }

/* faq */
.faq { max-width: 860px; }
.faq__list { display: grid; gap: 10px; position: relative; z-index: 1; }
.faq__list details {
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  display: grid; place-items: center; border-radius: 50%; font-size: 20px; font-weight: 500; line-height: 1;
  background: var(--btn-bg); color: var(--btn-ink); transition: transform .3s var(--ease);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 60px 24px 24px; color: var(--ink-soft); }

/* contact */
.scene--contact { min-height: min(100svh, 920px); }
.scene--contact .scene__media img { object-position: 50% 60%; }
.scene--contact .scene__shade { background: linear-gradient(90deg, rgba(8, 9, 12, .72) 0%, rgba(8, 9, 12, .35) 55%, rgba(8, 9, 12, .2) 100%), linear-gradient(0deg, rgba(8, 9, 12, .55), transparent 40%), var(--scene-tint); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.contact__list { list-style: none; margin: 34px 0 0; padding: 6px 20px; border-radius: 16px; max-width: 440px; }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; }
.contact__list li + li { border-top: 1px solid var(--s-line); }
.contact__list li > span:first-child { color: var(--s-soft); }
.contact__list a, .contact__list li > span:last-child { font-weight: 600; text-align: right; }

.form { display: grid; gap: 14px; border-radius: 24px; padding: clamp(22px, 3vw, 36px); background: var(--s-glass-strong); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--s-soft); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--s-ink);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--s-line); border-radius: 10px; padding: 12px 14px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--s-faint); }
.form select option { color: #121316; }
.form textarea { resize: vertical; min-height: 92px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 169, 59, .2); }
.form .is-invalid { border-color: #ff6b6f; }
.form .btn { background: var(--s-ink); color: #121316; }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--s-soft); text-align: center; }
.form__status.is-ok { color: #6fdca6; }

/* footer */
.footer { padding: 40px 0 48px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__langs { display: flex; gap: 14px; font-size: 13px; font-weight: 600; }
.footer__langs a { opacity: .55; }
.footer__langs a[aria-current="page"], .footer__langs a:hover { opacity: 1; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .steps, .pcards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1120px) {
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: calc(76px + var(--banner-h)) 0 auto; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: var(--nav-solid); color: var(--ink);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: var(--nav-solid); color: var(--ink); }
  .nav__right { margin-left: auto; gap: 8px; }
}

@media (max-width: 920px) {
  .cpanel { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; align-items: start; }
  .scene { min-height: 0; }
}

@media (max-width: 760px) {
  .nav__inner { height: 64px; gap: 12px; }
  .nav__links { inset: calc(64px + var(--banner-h)) 0 auto; }
  .btn--cta { display: none; }
  .logo { font-size: 19px; }
  .logo__mark { width: 27px; height: 27px; }

  .hero__content { padding-top: calc(100px + var(--banner-h)); padding-bottom: 28px; }
  .switch__btn { min-width: 0; flex: 1; padding: 10px 14px 9px; }
  .switch { width: min(100%, 340px); }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 12px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .scene { padding-top: 72px; }
  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .step { padding: 18px 18px 20px; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
  .step__num { margin: 0; grid-row: span 2; }
  .step h3 { font-size: 17.5px; margin: 5px 0 6px; }

  .calc { padding: 6px; border-radius: 20px; }
  .tab { padding: 10px 12px; font-size: 13px; }
  .cpanel { padding: 20px 14px 14px; }

  .pcards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding: 0 16px 6px; scroll-padding-inline: 16px;
  }
  .pcards::-webkit-scrollbar { display: none; }
  .pcard { scroll-snap-align: start; }

  .faq__list summary { font-size: 16px; padding: 18px 56px 18px 18px; }

  /* tables become stacked cards */
  .ptable { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
  .ptable thead { display: none; }
  .ptable table, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable tbody tr { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; }
  .ptable tbody tr + tr { margin-top: 10px; }
  .ptable tbody tr + tr > * { border-top: 0; }
  .ptable th, .ptable td { padding: 8px 0; white-space: normal; text-align: right !important; display: flex; justify-content: space-between; gap: 12px; }
  .ptable td + td, .ptable th + td { border-top: 1px solid var(--line) !important; }
  .ptable th::before, .ptable td::before { content: attr(data-label); color: var(--ink-soft); font-size: 13.5px; font-weight: 500; text-align: left; }
  .ptable tbody th { font-size: 17px; }
  .prices__foot .btn { width: 100%; }
  .faq__list details p { padding: 0 18px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .scene--contact .scene__shade { background: linear-gradient(180deg, rgba(8, 9, 12, .7) 0%, rgba(8, 9, 12, .35) 45%, rgba(8, 9, 12, .7) 100%); }
}

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

/* =========================================================
   LANDING PAGES (src/page.html) + "Useful" links
   ========================================================= */
.page { padding-top: calc(76px + var(--banner-h)); }
.scene--page { min-height: min(88svh, 860px); padding-top: clamp(36px, 5vw, 72px); }
.scene--page .scene__media img { object-position: 50% 55%; }
.scene--page .scene__shade { background: linear-gradient(90deg, rgba(8, 9, 12, .66) 0%, rgba(8, 9, 12, .34) 55%, rgba(8, 9, 12, .14) 100%), linear-gradient(0deg, rgba(8, 9, 12, .62), transparent 42%), var(--scene-tint); }
.page-hero .title-block { margin-bottom: 26px; }
.scene--404 { min-height: min(72svh, 680px); justify-content: center; }
.scene--404 + .section--guides { padding-top: clamp(64px, 8vw, 110px); }
.page-hero .title { font-size: clamp(34px, 4.6vw, 62px); }
.page-hero .lead { max-width: 58ch; }
.crumbs { margin-bottom: 22px; font-size: 13px; color: var(--s-soft); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--s-faint); }
.crumbs a:hover { color: var(--s-ink); }
.page-hero__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.page-hero__bar .switch { margin-left: auto; }
.page-hero__bar .switch__btn { min-width: 112px; padding: 9px 18px; }
.btn--glass { background: var(--s-glass); color: var(--s-ink); border: 1px solid var(--s-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.page-hero__meta { margin-top: 14px; font-size: 12.5px; color: var(--s-soft); }
.facts { list-style: none; margin: auto 0 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fact { border-radius: var(--radius); padding: 18px 20px; }
.fact b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--s-ink); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--s-soft); }

.section--article { padding-top: clamp(64px, 8vw, 110px); }
.article { max-width: 900px; z-index: 1; }
.article h2 { font-size: clamp(26px, 3vw, 38px); margin: clamp(48px, 6vw, 72px) 0 18px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 20px; margin: 32px 0 10px; }
.article p, .article li { font-size: 17px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 84%, transparent); }
.article p + p { margin-top: 14px; }
.article ul, .article ol { margin: 14px 0; padding-left: 1.3em; display: grid; gap: 8px; }
.article li::marker { color: var(--accent-ink); }
.article b { font-weight: 600; color: var(--ink); }
.article a, .faq__list a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article .ptable { margin: 24px 0; overflow-x: auto; }
.article .ptable th, .article .ptable td { padding: 14px 18px; }
.callout { margin: 22px 0; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.callout p { font-size: 15.5px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.6; vertical-align: 2px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-ink); }
.calc__more { margin-top: 18px; text-align: center; font-size: 14.5px; }
.calc__more a { color: var(--s-ink); text-decoration: underline; text-underline-offset: 3px; opacity: .85; }

.section--faq + .section--guides { padding-top: 0; }
.guides { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.guide {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 58px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity .8s var(--ease), transform .4s var(--ease), border-color .3s;
}
.guide:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.guide__k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.guide h3 { font-size: 20px; }
.guide p { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.guide__go { position: absolute; left: 24px; bottom: 18px; font-size: 20px; transition: transform .3s var(--ease); }
.guide:hover .guide__go { transform: translateX(4px); }

.footer__nav { order: 10; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__nav a { color: var(--ink-soft); }
.footer__nav a:hover, .footer__nav a[aria-current="page"] { color: var(--ink); }

@media (max-width: 760px) {
  .page { padding-top: calc(64px + var(--banner-h)); }
  .scene--page { padding-top: 28px; }
  .scene--page .scene__shade { background: linear-gradient(180deg, rgba(8, 9, 12, .7) 0%, rgba(8, 9, 12, .45) 50%, rgba(8, 9, 12, .7) 100%), var(--scene-tint); }
  .page-hero__bar .btn { flex: 1 1 auto; }
  .page-hero__bar .switch { margin-left: 0; width: 100%; }
  .page-hero__bar .switch__btn { min-width: 0; flex: 1; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 8px; padding-top: 28px; }
  .fact { padding: 14px; }
  .article p, .article li { font-size: 16px; }
  .article .ptable { overflow: visible; }
  .article .ptable th, .article .ptable td { padding: 8px 0; }
}

/* =========================================================
   SITE FOR SALE (bar above the nav + #buy-site section)
   ========================================================= */
.sale-banner { height: var(--banner-h); background: var(--accent); color: #16120a; position: relative; z-index: 2; }
.sale-banner__inner {
  width: min(100% - 32px, 1320px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sale-banner p { display: flex; align-items: center; gap: 6px 14px; min-width: 0; font-size: 13.5px; line-height: 1.25; }
.sale-banner strong { font-weight: 700; }
.sale-banner p span { font-weight: 800; white-space: nowrap; }
.sale-banner a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 14px; border-radius: 8px;
  background: #16120a; color: #f6f3ee; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  transition: background-color .2s;
}
.sale-banner a:hover { background: #2b2418; }

.section--sale .fog { z-index: 0; }
.sale-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(320px, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sale-copy .title { font-size: clamp(30px, 4.2vw, 58px); }
.sale-price { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.sale-price b { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--accent-ink); }
.sale-price small { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.sale-form {
  position: relative; display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.sale-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.sale-form input, .sale-form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sale-form textarea { resize: vertical; min-height: 96px; }
.sale-form input::placeholder, .sale-form textarea::placeholder { color: var(--ink-faint); }
.sale-form input:focus, .sale-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.sale-form [aria-invalid="true"] { border-color: #e5484d; }
.sale-form button:disabled { opacity: .6; cursor: wait; }
.sale-form__privacy { font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
.sale-form__status { min-height: 1.4em; font-size: 14px; font-weight: 600; }
.sale-form__status.is-ok { color: #2f9e6a; }
.sale-form__status.is-error { color: #e5484d; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 920px) {
  .sale-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --banner-h: 52px; }
  .sale-banner__inner { gap: 10px; }
  .sale-banner p { flex-direction: column; align-items: flex-start; gap: 1px; font-size: 12px; }
  .sale-banner p span { font-size: 13px; }
  .sale-banner a { height: 32px; padding: 0 12px; font-size: 12px; }
}
