/* =========================================================
   Your Friend in Armenia — editorial redesign (Jost)
   Calm, warm, photographic. Inspired by reyou.life layout.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --cream: #f3efe7;
  --cream-2: #eae3d6;
  --card: #efeae0;
  --ink: #1b1a17;
  --ink-soft: #2c2a25;
  --muted: #716c62;
  --line: rgba(27, 26, 23, 0.16);
  --line-strong: rgba(27, 26, 23, 0.32);
  --accent: #9a2b22; /* pomegranate */
  --accent-2: #c4633a;

  --footer: #1a1916;
  --footer-ink: #e9e4d9;
  --footer-muted: #8d877b;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 60px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ---------- Shared type ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.h-display {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.h-display em {
  font-style: italic;
  font-weight: 300;
}
.h-display b {
  font-weight: 600;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
}

/* ---------- Arrow-circle ---------- */
.arrow-circle {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.arrow-circle svg {
  width: 17px;
  height: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 10px 0 24px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
}
.btn .ic svg {
  width: 15px;
  height: 15px;
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light .ic {
  background: var(--ink);
  color: var(--cream);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn-outline-light .ic {
  background: #fff;
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark .ic {
  background: var(--cream);
  color: var(--ink);
}
.btn:hover {
  transform: translateY(-1px);
}
/* text-only button (no trailing icon pill) — keep label centered */
.btn-plain {
  padding: 0 30px;
  justify-content: center;
}

/* =========================================================
   Scroll progress bar
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 200;
  transition: width 0.1s linear;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 2.6vw, 30px) var(--pad);
  pointer-events: none;
}
.site-header > * {
  pointer-events: auto;
}

.brand {
  position: relative;
  display: block;
  height: 30px;
}
.brand img {
  height: 30px;
  width: auto;
  transition: opacity 0.3s var(--ease);
}
.brand .logo-dark {
  position: absolute;
  inset: 0;
  opacity: 0;
}
/* Adaptive logo: dark wordmark when header sits over a light section */
body.head-light .brand .logo-light {
  opacity: 0;
}
body.head-light .brand .logo-dark {
  opacity: 1;
}

/* inline nav (top of page, over hero) */
.nav-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav-inline a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 400;
  padding: 9px 16px;
  border-radius: 30px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-inline a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-inline .cta {
  margin-left: 10px;
  height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  transition: filter 0.2s ease;
}
.nav-inline .cta:hover {
  background: #fff;
  filter: brightness(0.93);
}
body.scrolled .nav-inline {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

/* dock menu (appears on scroll, slides from right) */
.nav-dock {
  position: relative;
  opacity: 0;
  transform: translateX(130%);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
body.scrolled .nav-dock {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.dock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(27, 26, 23, 0.08);
}
.dock-toggle .plus {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.nav-dock.open .dock-toggle .plus,
.nav-dock:hover .dock-toggle .plus {
  transform: rotate(135deg);
}
.dock-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  padding: 14px;
  border-radius: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(27, 26, 23, 0.18);
  display: grid;
  gap: 2px;
  transform-origin: top right;
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-dock.open .dock-panel,
.nav-dock:hover .dock-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dock-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 16px;
  color: var(--ink);
  transition: background 0.2s ease;
}
.dock-panel a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dock-panel a:hover {
  background: var(--cream-2);
}
.dock-panel a:hover::after {
  opacity: 0.6;
  transform: translateX(0);
}
.dock-panel .dock-cta {
  margin-top: 6px;
  justify-content: center;
  background: var(--ink);
  color: var(--cream);
}
.dock-panel .dock-cta::after {
  display: none;
}
.dock-panel .dock-cta:hover {
  background: var(--accent);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-image: url("bg_new.png");
  background-image: -webkit-image-set(
    url("bg_new.webp") type("image/webp"),
    url("bg_new.png") type("image/png")
  );
  background-image: image-set(
    url("bg_new.webp") type("image/webp"),
    url("bg_new.png") type("image/png")
  );
  background-size: cover;
  background-position: center 35%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(13, 17, 28, 0.5) 0%,
      transparent 16%
    ),
    linear-gradient(
      100deg,
      rgba(13, 17, 28, 0.62) 0%,
      rgba(13, 17, 28, 0.26) 42%,
      rgba(13, 17, 28, 0.05) 70%
    ),
    linear-gradient(to top, rgba(13, 17, 28, 0.55) 0%, transparent 40%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  padding-bottom: clamp(48px, 7vh, 90px);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
}
.hero p.sub {
  max-width: 44ch;
  margin: 24px 0 34px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* small floating info card bottom-right */
.hero-card {
  position: absolute;
  right: var(--pad);
  bottom: clamp(48px, 7vh, 90px);
  z-index: 2;
  width: 268px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(243, 239, 231, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
}
.hero-card b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.hero-card span {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 3px;
}
.hero-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
}
.hero-card .arrow-circle {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* =========================================================
   Marquee trust strip
   ========================================================= */
.marquee {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 34px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-track span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   What we do (photo section + pillars)
   ========================================================= */
.whatwedo {
  position: relative;
  color: #fff;
  padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 6vw, 80px);
  background-size: cover;
  background-position: center;
}
.whatwedo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(40, 30, 24, 0.72),
    rgba(40, 30, 24, 0.84)
  );
}
.whatwedo > .container {
  position: relative;
  z-index: 2;
}
.whatwedo .head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.whatwedo .label {
  color: rgba(255, 255, 255, 0.78);
  justify-content: center;
}
.whatwedo h2 {
  margin: 18px 0 20px;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.whatwedo h2 em {
  font-style: italic;
  font-weight: 300;
}
.whatwedo .head p {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}
.whatwedo .head-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 6vw, 72px);
}
.pillar {
  padding: 30px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.pillar .pillar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 22px;
  font-weight: 500;
}
.pillar .pillar-ic {
  width: 40px;
  height: 40px;
  opacity: 0.92;
}
.pillar p {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}
.pillar a.more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.pillar a.more .arrow-circle {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* =========================================================
   Services list (Conditions-style rows)
   ========================================================= */
.services {
  padding: clamp(70px, 9vw, 120px) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}
.services-aside {
  align-self: start;
  position: sticky;
  top: 120px;
}
.services-aside h2 {
  margin-top: 18px;
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.services-aside h2 em {
  font-style: italic;
  font-weight: 300;
}
.services-aside p {
  margin: 18px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-weight: 300;
}
.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.5fr;
  gap: 30px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child {
  border-bottom: 1px solid var(--line);
}
.service-row .sr-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 10px;
}
.service-row .sr-title h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
}
.service-row .sr-img {
  height: 190px;
  border-radius: 6px;
  overflow: hidden;
}
.service-row .sr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-row .sr-desc {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 15.5px;
}
.service-row:hover .arrow-circle {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  position: relative;
  padding: clamp(60px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  color: #fff;
  background-size: cover;
  background-position: center;
}
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 36, 54, 0.74),
    rgba(54, 40, 44, 0.7)
  );
}
.testimonials > .container {
  position: relative;
  z-index: 2;
}
.testimonials .t-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.testimonials .label {
  color: rgba(255, 255, 255, 0.8);
}
.testimonials h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.testimonials h2 em {
  font-style: italic;
  font-weight: 300;
}
.t-note {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}
.t-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.t-track::-webkit-scrollbar {
  display: none;
}
.t-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 32%, 400px);
  padding: 28px 28px 30px;
  border-radius: 8px;
  background: rgba(20, 18, 24, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.t-card .who {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 22px;
}
.t-card .who span {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.62);
}
.t-card blockquote {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.4;
}
.t-card .stars {
  margin-top: auto;
  padding-top: 18px;
  color: #e2a64f;
  letter-spacing: 3px;
  font-size: 14px;
}
.t-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}
.t-dots {
  display: flex;
  gap: 8px;
}
.t-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.25s ease, width 0.25s ease;
}
.t-dots button.active {
  width: 24px;
  border-radius: 10px;
  background: #fff;
}
.t-arrows {
  display: flex;
  gap: 10px;
}
.t-arrows button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.t-arrows button:hover {
  background: #fff;
  color: var(--ink);
}

/* =========================================================
   Process
   ========================================================= */
.process {
  padding: clamp(70px, 9vw, 120px) 0;
}
.process .p-head {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.process h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.process h2 em {
  font-style: italic;
  font-weight: 300;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step .step-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.step .step-line .ln {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  position: relative;
}
.step .step-line .ln::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 5px solid transparent;
  border-left-color: var(--line-strong);
}
.step .step-line b {
  font-weight: 500;
  color: var(--ink);
}
.step-card {
  padding: 32px 30px 34px;
  border-radius: 8px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(160deg, #2a3f44, #1d2a30);
}
.step:nth-child(2) .step-card {
  background: linear-gradient(160deg, #2f3b58, #222b41);
}
.step:nth-child(3) .step-card {
  background: linear-gradient(160deg, #5a3340, #3a2530);
}
.step-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}
.step-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.84);
}
.step-card .num {
  margin-top: auto;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   CTA strip
   ========================================================= */
.cta {
  padding: clamp(60px, 8vw, 110px) 0;
}
.cta-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.cta h2 em {
  font-style: italic;
  font-weight: 300;
}
.cta p {
  margin: 18px auto 30px;
  max-width: 48ch;
  color: var(--muted);
  font-weight: 300;
  font-size: 17px;
}
.cta .hero-actions {
  justify-content: center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--footer);
  color: var(--footer-ink);
  padding: clamp(56px, 7vw, 90px) 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 7px 0;
  color: var(--footer-ink);
  font-weight: 300;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.newsletter form {
  display: flex;
  gap: 8px;
  max-width: 340px;
  margin-bottom: 30px;
}
.newsletter input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.newsletter input::placeholder {
  color: var(--footer-muted);
}
.newsletter button {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 500;
  transition: background 0.25s ease;
}
.newsletter button:hover {
  background: #fff;
}
.newsletter .follow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin: 0 0 12px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.socials a:hover {
  background: #fff;
  color: var(--ink);
}
.socials svg {
  width: 17px;
  height: 17px;
}
.locations {
  display: grid;
  gap: 12px;
}
.loc-card {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}
.loc-card b {
  font-weight: 500;
}
.loc-card span {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--footer-muted);
  margin-top: 4px;
}
/* logo now sits at the top of the newsletter column */
.newsletter .f-logo {
  display: inline-block;
  margin-bottom: 22px;
  line-height: 0;
}
.newsletter .f-logo img {
  height: 50px;
  width: auto;
}
/* language switcher moved under the Contacts column */
.footer-contacts .lang--footer {
  margin-top: 20px;
}
/* open the footer language menu downward in its new position */
.footer-contacts .lang--footer .lang-menu {
  top: calc(100% + 8px);
  bottom: auto;
  transform-origin: top right;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-copy {
  font-size: 13px;
  font-weight: 300;
  color: var(--footer-muted);
  line-height: 1.7;
}
.footer-meta {
  text-align: right;
  font-size: 13px;
  font-weight: 300;
  color: var(--footer-muted);
  line-height: 1.7;
}
.footer-credit {
  color: var(--footer-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(233, 228, 217, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer-credit:hover {
  color: #fff;
  text-decoration-color: var(--accent-2);
}

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .nav-inline {
    display: none;
  }
  .nav-dock {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .pillars {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .services-aside {
    position: static;
  }
  .service-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title title"
      "img desc";
    gap: 18px 24px;
  }
  .service-row .sr-title {
    grid-area: title;
  }
  .service-row .sr-img {
    grid-area: img;
  }
  .service-row .sr-desc {
    grid-area: desc;
  }
  .process .p-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .hero-card {
    display: none;
  }
  .hero h1 {
    font-size: clamp(38px, 12vw, 60px);
  }
  .hero-actions .btn,
  .cta .btn {
    width: 100%;
    justify-content: space-between;
  }
  .whatwedo .head-actions {
    flex-direction: column;
  }
  .whatwedo .head-actions .btn {
    width: 100%;
    justify-content: space-between;
  }
  .service-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "img"
      "desc";
  }
  .service-row .sr-img {
    height: 210px;
  }
  .t-card {
    flex-basis: 82%;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  /* full-width rows; Разделы + Контакты sit side by side below */
  .footer-top .newsletter,
  .footer-top .locations-col {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-meta {
    text-align: left;
  }
}

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

/* =========================================================
   Service detail pages (/uslugi/*.html)
   ========================================================= */
.svc-hero {
  position: relative;
  color: #fff;
  padding: 160px 0 64px;
  background-size: cover;
  background-position: center;
}
.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      105deg,
      rgba(13, 17, 28, 0.78),
      rgba(13, 17, 28, 0.4) 70%
    ),
    linear-gradient(to bottom, rgba(13, 17, 28, 0.55) 0%, transparent 22%);
}
.svc-hero > .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  opacity: 0.5;
}
.svc-hero .label {
  color: rgba(255, 255, 255, 0.82);
}
.svc-hero h1 {
  margin: 16px 0 18px;
  max-width: 16ch;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.svc-hero h1 em {
  font-style: italic;
  font-weight: 300;
}
.svc-hero .lead {
  max-width: 60ch;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}
.svc-hero .hero-actions {
  margin-top: 30px;
}

.svc-body {
  padding: clamp(56px, 7vw, 96px) 0;
}
.svc-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.svc-aside {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 22px;
}
.svc-facts {
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
}
.svc-facts h4 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.svc-facts dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.svc-facts .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.svc-facts .row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.svc-facts dt {
  color: var(--muted);
}
.svc-facts dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}
.svc-toc {
  display: grid;
  gap: 2px;
}
.svc-toc a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.svc-toc a:hover {
  background: var(--cream-2);
}

.svc-content > section {
  scroll-margin-top: 100px;
}
.svc-content > section + section {
  margin-top: 48px;
}
.svc-content h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.svc-content h2 em {
  font-style: italic;
  font-weight: 300;
}
.svc-content h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 26px 0 8px;
}
.svc-content p {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-soft);
}
.svc-content p b,
.svc-content li b {
  font-weight: 600;
  color: var(--ink);
}
.svc-content ul.ticks {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.svc-content ul.ticks li {
  position: relative;
  padding-left: 30px;
  font-weight: 300;
  color: var(--ink-soft);
}
.svc-content ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-grad, linear-gradient(120deg, #ffb24c, #ec4b5a))
    no-repeat center /
    11px
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
}

/* variant cards */
.svc-variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 6px;
}
.variant {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
}
.variant h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.variant p {
  margin: 0;
  font-size: 14.5px;
}
.variant .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(154, 43, 34, 0.08);
}

/* numbered steps */
.svc-steps {
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.svc-steps li {
  list-style: none;
  position: relative;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
}
.svc-steps li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--brand-grad, linear-gradient(120deg, #ffb24c, #ec4b5a));
}
.svc-steps b {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}
.svc-steps span {
  font-weight: 300;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  font-weight: 300;
  color: var(--ink-soft);
}

/* disclaimer */
.svc-note {
  margin-top: 40px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(154, 43, 34, 0.05);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-soft);
}

/* related services */
.related {
  padding: clamp(50px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 30px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.related-grid a:hover {
  background: var(--cream-2);
}
.related-grid a .arrow-circle {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

@media (max-width: 900px) {
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .svc-aside {
    position: static;
    grid-template-columns: 1fr;
  }
  .svc-toc {
    display: none;
  }
  .svc-variants {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage FAQ block */
.home-faq {
  padding: clamp(70px, 9vw, 120px) 0;
}
.home-faq .fh {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.home-faq .fh .label {
  justify-content: center;
}
.home-faq .fh h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.home-faq .fh h2 em {
  font-style: italic;
  font-weight: 300;
}
.home-faq .faq {
  max-width: 820px;
  margin: 0 auto;
}
.home-faq .more-link {
  text-align: center;
  margin-top: 28px;
}
.home-faq .more-link a {
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

/* FAQ page contact block */
.faq-cta {
  margin-top: 44px;
  padding: 40px 36px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--cream-2);
  text-align: center;
}
.faq-cta h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.faq-cta p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-weight: 300;
}
.faq-cta .hero-actions {
  justify-content: center;
}

/* =========================================================
   Language switcher (RU / EN / HY)
   ========================================================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 3px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button:hover {
  color: #fff;
}
.lang-switch button.active {
  background: #fff;
  color: var(--ink);
}
/* in the cream dropdown panel */
.lang-switch--dock {
  margin-top: 10px;
  justify-content: center;
  border-color: var(--line);
}
.lang-switch--dock button {
  color: var(--muted);
}
.lang-switch--dock button:hover {
  color: var(--ink);
}
.lang-switch--dock button.active {
  background: var(--ink);
  color: var(--cream);
}
/* footer variant */
.lang-switch--footer {
  margin-top: 18px;
}
/* nav-inline placement: sit before the CTA */
.nav-inline .lang-switch {
  margin-left: 6px;
}
@media (max-width: 1000px) {
  .nav-inline .lang-switch {
    display: none;
  }
}

/* =========================================================
   Language dropdown (.lang) — replaces old pill switcher
   ========================================================= */
/* hover bridge so the dock menu doesn't close in the gap */
.dock-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.lang {
  position: relative;
  flex: 0 0 auto;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(27, 26, 23, 0.08);
  transition: background 0.2s ease;
}
.lang-btn:hover {
  background: #fff;
}
.lang-globe {
  width: 17px;
  height: 17px;
  opacity: 0.8;
}
/* flag of the current language (fills via inline SVG from i18n.js) */
.lang-flag {
  display: inline-block;
  width: 21px;
  height: 14px;
  flex: 0 0 21px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(27, 26, 23, 0.12);
  line-height: 0;
}
.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lang--footer .lang-flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.lang-chev {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.lang.open .lang-chev {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(27, 26, 23, 0.18);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 60;
}
.lang.open .lang-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang-menu li {
  margin: 0;
}
.lang-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-menu button:hover {
  background: var(--cream-2);
}
.lang-menu button.active {
  color: var(--accent);
}
.lang-menu button.active::after {
  content: "✓";
  font-size: 13px;
}

/* inside the dock dropdown panel (cream) */
.lang--dock {
  width: 100%;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.lang--dock .lang-btn {
  width: 100%;
  justify-content: space-between;
  box-shadow: none;
}
.lang--dock .lang-menu {
  left: 0;
  right: 0;
  min-width: 0;
}

/* in the dark footer */
.lang--footer .lang-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--footer-ink);
  box-shadow: none;
}
.lang--footer .lang-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}
.lang--footer .lang-menu {
  top: auto;
  bottom: calc(100% + 8px);
  transform-origin: bottom right;
  background: #26241f;
  border-color: rgba(255, 255, 255, 0.14);
}
.lang--footer .lang-menu button {
  color: var(--footer-ink);
}
.lang--footer .lang-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .lang-btn {
    height: 44px;
    padding: 0 12px;
  }
  .header-right {
    gap: 8px;
  }
}

/* =========================================================
   Language: header corner dropdown (no layout shift),
   dock slider, footer contacts
   ========================================================= */
.site-lang {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.3s var(--ease);
}
/* white pill in the header + gentle darken on hover (no beige) */
.site-lang .lang-btn {
  background: #fff;
  border-color: rgba(27, 26, 23, 0.12);
  transition: filter 0.2s ease;
}
.site-lang .lang-btn:hover {
  background: #fff;
  filter: brightness(0.93);
}
body.scrolled .site-lang {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
@media (max-width: 1000px) {
  .site-lang {
    display: none;
  }
}

/* dock slider (segmented RU / EN / HY) inside the menu panel */
.lang-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 12px;
  padding: 3px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--cream-2);
}
.lang-slider button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 0;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.lang-slider button:hover {
  color: var(--ink);
}
.lang-slider button.active {
  background: var(--ink);
  color: var(--cream);
}

/* footer bottom: logo left, language + meta right */
.footer-end {
  display: flex;
  align-items: center;
  gap: 22px;
}
@media (max-width: 600px) {
  .footer-end {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* footer contact rows with icons */
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-line .ci {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  opacity: 0.65;
}

/* =========================================================
   Packages / pricing plans (home block + /pakety.html)
   ========================================================= */
.plans-sec {
  padding: clamp(70px, 9vw, 120px) 0;
}
.plans-head {
  max-width: 720px;
  margin: 0 auto clamp(38px, 5vw, 56px);
  text-align: center;
}
.plans-head h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}
.plans-head h2 em {
  font-style: italic;
  font-weight: 300;
}
.plans-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 17px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  position: relative;
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 26px 60px rgba(27, 26, 23, 0.14);
  background: #fff;
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  padding: 6px 14px;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan-name {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.plan-tag {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 300;
  font-size: 15px;
  min-height: 42px;
}
.plan-price {
  margin: 22px 0 4px;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.plan-price small {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 4px;
}
.plan-sub {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.plan-features {
  list-style: none;
  margin: 14px 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.plan-features li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-soft);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan-features li.muted {
  color: var(--muted);
}
.plan-features li.muted::before {
  background: var(--line-strong);
}
.plan .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.plans-note {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
}
.plans-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .plan--featured {
    order: -1;
  }
}

/* dark outline button (used on light package cards) */
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* With 7 nav links + CTA, collapse the inline nav into the dock menu a touch
   earlier so the header never crowds on small laptops. */
@media (max-width: 1240px) {
  .nav-inline {
    display: none;
  }
  .nav-dock {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* =========================================================
   Blog — list, article, comments, likes  (/blog/)
   ========================================================= */
.blog-hero h1,
.post-hero h1 {
  max-width: 22ch;
}
.post-hero .post-title {
  font-size: clamp(30px, 4.2vw, 54px);
  max-width: 26ch;
}
.post-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.post-info-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.post-info-item svg {
  width: 17px;
  height: 17px;
  opacity: 0.85;
}

.blog-list {
  padding: clamp(56px, 7vw, 96px) 0;
}
.blog-empty {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(27, 26, 23, 0.1);
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
  flex: 1;
}
.blog-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.blog-date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-rt {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.blog-card-body h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.blog-card-body > p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.blog-read {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  color: var(--ink);
}
.blog-read .arrow-circle {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.blog-read .arrow-circle svg {
  width: 14px;
  height: 14px;
}
.blog-card:hover .blog-read .arrow-circle {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Article body ---------- */
.post-container {
  max-width: 720px;
  margin-inline: auto;
}
/* Оглавление статьи с подсветкой по скроллу (как на keln.space/uslugi).
   Контент — строго по центру страницы, оглавление уходит в левое поле. */
.post-toc { display: none; }
.post-main { min-width: 0; }
@media (min-width: 1240px) {
  .post-container { max-width: none; display: grid; grid-template-columns: minmax(0,1fr) minmax(auto,720px) minmax(0,1fr); align-items: start; }
  .post-main { grid-column: 2; max-width: 720px; }
  .post-toc { display: block; grid-column: 1; justify-self: end; width: 190px; margin-right: clamp(20px,2.6vw,52px); position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 6px; }
}
.post-toc__title { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.post-toc a.sub { padding-left: 26px; font-size: 13px; }
.post-toc a:hover { color: var(--ink); }
.post-toc a.is-current { color: var(--accent); border-color: var(--accent); font-weight: 500; }
.post-content blockquote {
  margin: 26px 0;
  padding: 18px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(154, 43, 34, 0.05);
  border-radius: 0 10px 10px 0;
}
.post-content blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--ink-soft);
}
.post-content ol.post-ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  font-weight: 300;
  color: var(--ink-soft);
}
.post-content ol.post-ol li::marker {
  color: var(--accent);
  font-weight: 600;
}
.post-figure {
  margin: 28px 0;
}
.post-figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.post-figure figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Likes ---------- */
.post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.like-btn svg {
  width: 19px;
  height: 19px;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.like-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}
.like-btn:hover svg {
  transform: scale(1.12);
}
.like-btn.liked {
  background: rgba(154, 43, 34, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}
.like-btn.liked svg {
  fill: var(--accent);
}
.like-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.like-count {
  font-weight: 600;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.post-back:hover .arrow-circle {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.post-back .arrow-circle {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

/* ---------- Comments ---------- */
.comments {
  margin-top: 54px;
}
.comments-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.comment-head b {
  font-weight: 600;
}
.comment-head time {
  font-size: 13px;
  color: var(--muted);
}
.comment p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.comments-empty {
  color: var(--muted);
  font-weight: 300;
}
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
}
.comment-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.comment-form .comment-name {
  max-width: 340px;
}
.comment-form input[type="text"],
.comment-form textarea {
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.25s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.comment-form textarea {
  resize: vertical;
  min-height: 110px;
}
.comment-form .btn {
  align-self: flex-start;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}
.form-error {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(154, 43, 34, 0.4);
  border-radius: 12px;
  background: rgba(154, 43, 34, 0.07);
  color: var(--accent);
  font-size: 14px;
}

/* ---------- Home page: latest articles ---------- */
.home-blog {
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
}
.home-blog .bh {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
}
.home-blog .bh h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.home-blog .bh h2 em {
  font-style: italic;
  font-weight: 300;
}
.home-blog .bh p {
  margin: 10px 0 0;
  max-width: 56ch;
  font-weight: 300;
  color: var(--ink-soft);
}
.home-blog .bh .btn {
  flex: none;
}
.home-blog .blog-grid[hidden] {
  display: none;
}

/* =========================================================
   Blog admin  (/admin)
   ========================================================= */
.admin-body {
  background: var(--cream);
  min-height: 100vh;
}
.admin-body h1 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.admin-body h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 40px 0 16px;
}
.admin-auth {
  max-width: 420px;
  margin: 10vh auto 0;
  padding: 40px 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 70px rgba(27, 26, 23, 0.08);
}
.admin-auth img {
  width: 170px;
  height: auto;
}
.admin-auth h1 {
  margin: 6px 0 0;
}
.admin-auth p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-soft);
}
.admin-auth form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}
.admin-back {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.admin-back:hover {
  color: var(--ink);
}

.admin-body label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-body input[type="text"],
.admin-body input[type="password"],
.admin-body textarea,
.admin-body select {
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.25s ease;
}
.admin-body input:focus,
.admin-body textarea:focus,
.admin-body select:focus {
  outline: none;
  border-color: var(--accent);
}
.admin-body textarea {
  resize: vertical;
}

.admin-top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 231, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.admin-top-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: 14px clamp(20px, 3vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
}
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.admin-brand img {
  height: 26px;
  width: auto;
}
.admin-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  font-size: 14.5px;
}
.admin-top nav a {
  color: var(--ink-soft);
}
.admin-top nav a:hover {
  color: var(--accent);
}
.inline-form {
  display: inline;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 14.5px;
  cursor: pointer;
}
.linklike:hover {
  color: var(--accent);
}

.admin-main {
  max-width: 1240px;
  margin-inline: auto;
  padding: 36px clamp(20px, 3vw, 30px) 90px;
}
.admin-notice {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid rgba(60, 130, 70, 0.4);
  border-radius: 12px;
  background: rgba(60, 130, 70, 0.08);
  color: #3c6e46;
  font-size: 14px;
}
.admin-settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.admin-table th,
.admin-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-table a {
  font-weight: 500;
}
.admin-table a:hover {
  color: var(--accent);
}
.admin-slug {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 300;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-pub {
  border: 1px solid rgba(60, 130, 70, 0.45);
  color: #3c6e46;
  background: rgba(60, 130, 70, 0.07);
}
.badge-draft {
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.admin-row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}
.btn-mini {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.btn-mini:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream-2);
}
.btn-danger:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(154, 43, 34, 0.06);
}

.admin-comments {
  display: flex;
  flex-direction: column;
}
.admin-comment {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.admin-comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}
.admin-comment-head b {
  font-weight: 600;
}
.admin-comment-head span {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.admin-comment-head span a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-comment p {
  margin: 0;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

/* editor */
.admin-editor {
  margin-top: 6px;
}
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.admin-col-main,
.admin-col-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.admin-col-side {
  position: sticky;
  top: 84px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.45);
}
.admin-col-side h3 {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.field-hint {
  font-size: 12.5px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 300;
}
.field-hint b {
  color: var(--accent);
  font-weight: 500;
}
.admin-stats {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.cover-preview img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.editor-toolbar button,
.upload-label {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.editor-toolbar button:hover,
.upload-label:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#fContent {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.6;
  min-height: 420px;
}
.md-help summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
}
.md-help pre {
  margin: 10px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-soft);
  font-size: 13px;
  overflow-x: auto;
}
.editor-preview {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
}
.editor-preview-head {
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.editor-preview .post-content {
  padding: 22px 26px;
}
@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-col-side {
    position: static;
  }
  .admin-auth {
    margin: 6vh 20px 0;
    padding: 30px 24px;
  }
}


/* Плашка под пакетами: что входит во вводный созвон */
.plans-hint {
  margin-top: 22px;
  padding: 24px 26px;
  border: 1px solid var(--line, rgba(28,26,23,.14));
  border-radius: 18px;
  background: rgba(198, 122, 60, .05);
  display: grid;
  gap: 10px;
  max-width: 900px;
}
.plans-hint h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.plans-hint p { margin: 0; line-height: 1.65; }
@media (max-width: 700px) { .plans-hint { padding: 20px 18px; } }

/* ================= ФОРМА ЗАЯВКИ =================
   Раньше в блоке контактов была кнопка mailto: писем с неё почти не приходило.
   Теперь заявка уходит в телеграм-бот, а человек оставляет свой @username. */
.lead-form { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 680px; margin: 26px auto 0; text-align: left; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-field { display: flex; flex-direction: column; gap: 7px; }
.lead-field > span { font-size: .82rem; letter-spacing: .02em; color: var(--muted, #6b6b6b); }
.lead-field input, .lead-field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: inherit;
  padding: .82em 1em; border-radius: 14px;
  border: 1px solid var(--line, rgba(0,0,0,.14)); background: rgba(255,255,255,.7);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.lead-field textarea { resize: vertical; min-height: 96px; }
.lead-field input:focus, .lead-field textarea:focus {
  outline: none; border-color: currentColor;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06); background: #fff;
}
.lead-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2px; }
.lead-actions .btn { cursor: pointer; }
.lead-note { font-size: .82rem; color: var(--muted, #6b6b6b); line-height: 1.5; margin: 2px 0 0; }
.lead-status { margin: 0; font-size: .92rem; font-weight: 500; }
.lead-status.is-ok { color: #1a7f45; }
.lead-status.is-err { color: #b3261e; }
.lead-alt { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-size: .95rem; color: var(--muted, #6b6b6b); }
.lead-alt a { color: inherit; border-bottom: 1px solid rgba(0,0,0,.2); }
.lead-alt a:hover { border-color: currentColor; }
@media (max-width: 640px) {
  .lead-row { grid-template-columns: 1fr; }
  .lead-form { gap: 12px; margin-top: 20px; }
  .lead-actions .btn { flex: 1 1 100%; justify-content: center; }
}
.lead-msgs { display: none; }

/* ================= СЛОГАН + ОПЛАТА ================= */
.friends { padding: clamp(48px, 6vw, 82px) 0 0; }
.friends-slogan {
  margin: 0 auto; max-width: 22ch; text-align: center;
  font-family: var(--font-display, inherit); font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em;
}
.pay-note {
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 760px; margin: clamp(26px, 4vw, 44px) auto 0;
  padding: 22px 24px; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: 18px;
  background: rgba(255,255,255,.6);
}
.pay-note h3 { margin: 0 0 6px; font-size: 1.08rem; }
.pay-note p { margin: 0; color: var(--muted, #6b6b6b); font-size: .96rem; line-height: 1.55; }
.pay-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,0,0,.05); }
.pay-ic svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .friends { padding-top: 36px; }
  .pay-note { flex-direction: column; gap: 12px; padding: 18px; border-radius: 14px; }
  .pay-ic { width: 38px; height: 38px; }
}
