/* CallingMouse landing — дизайн-система в духе Calendly (Refero style MD) */
:root {
  --ink: #0b3558;            /* navy ink — весь текст */
  --slate: #476788;          /* вторичный текст */
  --signal: #006bff;         /* primary CTA */
  --signal-dark: #0057d6;
  --canvas: #fbfcfe;
  --tint: #f2f5fa;           /* холодный каменный */
  --card: #ffffff;
  --line: #e2e9f3;           /* hairline 1px */
  --radius-card: 24px;
  --radius-sm: 16px;
  --radius-btn: 8px;
  --shadow-1: 0 1px 2px rgba(11, 53, 88, .06), 0 4px 12px rgba(0, 107, 255, .06);
  --shadow-2: 0 2px 4px rgba(11, 53, 88, .06), 0 16px 40px rgba(0, 107, 255, .12);
  --pink: #ff7ab8;
  --cyan: #67e8f9;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-weight: 700; font-size: 15px; line-height: 1.4;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--signal); color: #fff;
  box-shadow: 0 2px 4px rgba(11,53,88,.08), 0 8px 20px rgba(0,107,255,.25);
}
.btn--primary:hover { background: var(--signal-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn--secondary { background: var(--ink); color: #fff; }
.btn--secondary:hover { background: #123f68; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn--lg { padding: 14px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 252, 254, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header--scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.header__inner {
  display: flex; align-items: center; gap: 32px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__logo { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--shadow-1); }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.nav { display: flex; gap: 26px; }
.nav__link { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--slate); white-space: nowrap; }
.nav__link:hover { color: var(--signal); }
.header__actions { display: flex; gap: 12px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px; }
.mobile-menu.open { display: flex; }
.mobile-menu__link { text-decoration: none; font-weight: 700; font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__actions { display: flex; gap: 12px; padding-top: 14px; }
.mobile-menu__actions .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; padding: 7px 16px; margin-bottom: 22px;
  background: #e8f1ff; color: var(--signal);
  border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero__sub { font-size: 18px; color: var(--slate); max-width: 34em; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__trust { font-size: 14px; color: var(--slate); font-weight: 600; }

.hero__visual { position: relative; min-height: 420px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; z-index: 0; }
.blob--pink { width: 280px; height: 280px; background: var(--pink); top: -30px; right: 10px; }
.blob--cyan { width: 220px; height: 220px; background: var(--cyan); bottom: -10px; left: 30px; }

.call-card {
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-2);
  padding: 26px; max-width: 400px; margin: 40px auto 0;
}
.call-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.call-card__avatar { width: 52px; height: 52px; border-radius: 16px; }
.call-card__name { font-weight: 800; font-size: 16px; }
.call-card__status { font-size: 13.5px; color: var(--slate); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.wave { display: flex; align-items: center; gap: 5px; height: 56px; margin-bottom: 18px; }
.wave span {
  flex: 1; border-radius: 3px; background: linear-gradient(180deg, var(--signal), #7db4ff);
  animation: wave 1.2s ease-in-out infinite;
}
.wave span:nth-child(odd) { animation-delay: calc(var(--i, 0) * .05s); }
@keyframes wave { 0%,100% { height: 22%; } 50% { height: 100%; } }
.call-card__transcript p { font-size: 14px; color: var(--slate); margin-bottom: 8px; }
.call-card__transcript p b { color: var(--ink); }

.chip {
  position: absolute; z-index: 2;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-2);
  padding: 12px 18px; font-size: 14px; font-weight: 700;
  animation: float 4s ease-in-out infinite;
}
.chip--1 { top: 8px; left: 0; }
.chip--2 { bottom: 24px; right: 0; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section__title {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.15; text-align: center; margin-bottom: 12px;
}
.section__sub { text-align: center; color: var(--slate); font-size: 18px; margin-bottom: 48px; }

/* ---------- Cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-1);
  padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card__icon { font-size: 34px; margin-bottom: 16px; }
.card__title { font-size: 20px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.card__text { color: var(--slate); font-size: 15.5px; }
.wordmark {
  display: inline-block; padding: 8px 18px; margin-bottom: 18px;
  background: var(--ink); color: #fff; border-radius: var(--radius-btn);
  font-weight: 800; font-size: 16px; letter-spacing: .01em;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-1);
  padding: 30px 24px; position: relative;
}
.step__num {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--signal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(0,107,255,.3);
}
.step__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step__text { color: var(--slate); font-size: 15px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-1);
  padding: 26px 22px; transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature__icon { font-size: 28px; margin-bottom: 12px; }
.feature__title { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.feature__text { color: var(--slate); font-size: 14.5px; }

/* ---------- Pricing ---------- */
.periods {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.period {
  padding: 10px 22px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--card);
  font-weight: 700; font-size: 15px; color: var(--slate); cursor: pointer;
  transition: all .15s ease;
}
.period:hover { border-color: var(--signal); color: var(--signal); }
.period.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-2);
  padding: 44px 40px; text-align: center; position: relative; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: -70px; right: -70px;
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--cyan); opacity: .35; filter: blur(2px);
}
.price-card__name { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.price-card__value { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.price-card__value small { font-size: 20px; font-weight: 700; color: var(--slate); }
.price-card__per { color: var(--slate); font-weight: 600; margin: 6px 0 26px; min-height: 24px; }
.price-card__list { list-style: none; text-align: left; max-width: 420px; margin: 0 auto 32px; }
.price-card__list li { padding: 9px 0 9px 34px; position: relative; font-size: 15.5px; font-weight: 600; }
.price-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #e8f7ee; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.price-card__cta { width: 100%; max-width: 420px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-1);
  overflow: hidden;
}
.faq__q {
  padding: 20px 24px; font-weight: 800; font-size: 17px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: #e8f1ff; color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--slate); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta { background: var(--ink); padding: 88px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; top: -90px; left: 8%;
  width: 300px; height: 300px; border-radius: 50%;
  background: var(--pink); opacity: .28; filter: blur(2px);
}
.cta::after {
  content: ""; position: absolute; bottom: -110px; right: 6%;
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--signal); opacity: .35; filter: blur(2px);
}
.cta__inner { text-align: center; position: relative; z-index: 1; }
.cta__title { color: #fff; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.cta__sub { color: #b9cbe0; font-size: 18px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 36px; }
.footer__brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__note { width: 100%; color: var(--slate); font-size: 14.5px; margin-top: 6px; }
.footer__h { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.footer__line { color: var(--slate); font-size: 14.5px; margin-bottom: 6px; }
.footer__line a { color: var(--signal); text-decoration: none; font-weight: 600; }
.footer__line a:hover { text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  color: var(--slate); font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header__actions { display: none; }
  .burger { display: block; margin-left: auto; }
  .brand { margin-right: 0; }
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { min-height: 380px; }
  .cards3 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .price-card { padding: 32px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .chip--1 { left: -6px; }
  .chip--2 { right: -6px; }
}

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: transparent;
  color: var(--ink); font-family: inherit;
  font-weight: 800; font-size: 14px; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.lang__btn:hover { border-color: var(--signal); color: var(--signal); }
.lang__caret { font-size: 10px; line-height: 1; }
.lang__menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 176px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2); padding: 8px; z-index: 60;
}
.lang.open .lang__menu { display: block; }
.lang__opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: none; background: none; border-radius: 10px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--ink); cursor: pointer; text-align: left;
}
.lang__opt:hover { background: var(--tint); }
.lang__opt.is-active { color: var(--signal); }
.lang__code { font-weight: 800; font-size: 12px; color: var(--slate); width: 28px; }
.lang__opt.is-active .lang__code { color: var(--signal); }
.mobile-menu__langs { display: flex; gap: 8px; padding: 14px 0 4px; }
.mlang {
  flex: 1; padding: 10px 0; border-radius: var(--radius-btn);
  border: 1px solid var(--line); background: var(--card);
  font-family: inherit; font-weight: 800; font-size: 13.5px;
  color: var(--slate); cursor: pointer;
}
.mlang.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
