/* =====================================================================
   PattayaRente — дизайн-система «Telegram Day»
   Светлый, воздушный стиль: небо, белые «острова», пилюли-кнопки,
   мотив бумажного самолётика и пунктирных траекторий.
   Шрифты: Unbounded (акциденция) + Golos Text (текст).
   ===================================================================== */

:root {
  /* Палитра Telegram (дневная) */
  --sky:      #2AABEE;
  --sky-2:    #229ED9;
  --azure:    #0088CC;
  --grad:     linear-gradient(135deg, #2AABEE 0%, #1E96D1 60%, #0088CC 100%);
  --grad-soft:linear-gradient(180deg, #EAF6FE 0%, #FFFFFF 100%);

  /* Нейтральные */
  --ink:      #10293D;
  --muted:    #5B7590;
  --cloud:    #F4FAFE;
  --mist:     #E4F2FC;
  --line:     #D9EAF6;
  --white:    #FFFFFF;

  /* Акценты */
  --sun:      #FFB84D;
  --mint:     #2FBE7E;
  --deep:     #0B3355;

  /* Шрифты */
  --f-display: "Unbounded", "Golos Text", sans-serif;
  --f-body:    "Golos Text", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Геометрия */
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --pill: 999px;
  --container: 1180px;

  /* Тени */
  --sh-sm: 0 1px 2px rgba(16, 41, 61, .05), 0 6px 20px rgba(16, 41, 61, .07);
  --sh-md: 0 2px 6px rgba(16, 41, 61, .06), 0 18px 44px rgba(16, 41, 61, .12);
  --sh-tg: 0 8px 26px rgba(34, 158, 217, .38);

  --ease: cubic-bezier(.2, .8, .25, 1);
}

/* ------------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol { padding-left: 1.2em; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.14; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.02rem, 1.8vw, 1.22rem); line-height: 1.3; }
h4 { font-weight: 700; }
p  { color: var(--muted); }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--cloud { background: var(--cloud); }
.section--mist  { background: linear-gradient(180deg, var(--mist), var(--cloud)); }

/* Заголовок секции */
.s-head { max-width: 640px; margin-bottom: clamp(30px, 4.5vw, 52px); }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head h2 { margin-top: 14px; }
.s-head p { margin-top: 12px; font-size: 1.05rem; }

/* Бейдж-«чип» над заголовком */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 7px 16px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--azure);
  box-shadow: var(--sh-sm);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ------------------------------ Кнопки ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--pill); padding: 16px 30px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }

.btn--tg { background: var(--grad); color: #fff; box-shadow: var(--sh-tg); }
.btn--tg:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(34, 158, 217, .48); }

.btn--ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { border-color: var(--sky); color: var(--azure); transform: translateY(-2px); }

.btn--white { background: var(--white); color: var(--azure); box-shadow: 0 10px 28px rgba(6, 42, 66, .28); }
.btn--white:hover { transform: translateY(-2px); }

.btn--sm { padding: 12px 20px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ------------------------------ Шапка ------------------------------- */
.header { position: fixed; inset: 14px 0 auto; z-index: 90; pointer-events: none; }
.header__inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 234, 246, .9);
  border-radius: var(--pill);
  padding: 10px 12px 10px 20px;
  box-shadow: var(--sh-sm);
  transition: box-shadow .3s;
}
.header.is-scrolled .header__inner { box-shadow: var(--sh-md); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--sh-tg);
}
.logo__mark svg { width: 21px; height: 21px; transform: rotate(-8deg); }
.logo__text em { font-style: normal; color: var(--azure); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text em { color: #9BDCFF; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  padding: 10px 15px; border-radius: var(--pill);
  font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: background .25s, color .25s;
}
.nav > a:hover { background: var(--mist); color: var(--azure); }
.nav__cta { display: none; }

.header__right { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); position: relative; }
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: .3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ------------------------------- Хиро ------------------------------- */
.hero {
  position: relative;
  padding: clamp(120px, 16vw, 176px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(56% 46% at 84% 4%, rgba(42, 171, 238, .16), transparent 70%),
    radial-gradient(40% 36% at 4% 30%, rgba(34, 158, 217, .12), transparent 70%),
    linear-gradient(180deg, #EAF6FE 0%, #FFFFFF 86%);
  overflow: hidden;
}
/* пунктирная траектория самолётика */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M-40 470 C 240 380, 420 210, 640 240 S 1050 120, 1260 60" fill="none" stroke="%232AABEE" stroke-opacity=".28" stroke-width="2.5" stroke-dasharray="2 12" stroke-linecap="round"/></svg>') center / cover no-repeat;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.hero h1 { margin: 18px 0 16px; }
.hero h1 .accent {
  background: linear-gradient(120deg, #35B6F5, #0088CC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); max-width: 480px; }
.hero__lead strong { white-space: nowrap; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.fact { display: grid; gap: 2px; }
.fact b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.fact span { font-size: .86rem; color: var(--muted); }

/* Фото-композиция справа */
.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(9, 58, 90, .30);
  transform: rotate(1.6deg);
}
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.float { position: absolute; background: var(--white); border-radius: 18px; box-shadow: var(--sh-md); z-index: 2; }
.float--chat {
  top: -26px; left: -18px;
  display: flex; gap: 12px; align-items: center;
  padding: 12px 18px 12px 12px;
  animation: bob 5.5s ease-in-out infinite;
}
.float--chat .ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  position: relative;
}
.float--chat .ava svg { width: 20px; height: 20px; transform: rotate(-8deg); }
.float--chat .ava::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--mint); border: 2.5px solid #fff;
}
.float--chat b { display: block; font-size: .9rem; line-height: 1.25; }
.float--chat span { font-size: .78rem; color: var(--muted); }

.float--price {
  right: -14px; bottom: 68px;
  padding: 14px 20px;
  border: 1px dashed var(--sky);
  animation: bob 6.5s ease-in-out .8s infinite;
}
.float--price .num { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--azure); }
.float--price small { display: block; font-size: .78rem; color: var(--muted); }

.float--rate {
  left: 26px; bottom: -22px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  animation: bob 6s ease-in-out .4s infinite;
}
.float--rate .stars { display: flex; gap: 2px; color: var(--sun); }
.float--rate .stars svg { width: 15px; height: 15px; }
.float--rate b { font-size: .9rem; }
.float--rate span { display: block; font-size: .76rem; color: var(--muted); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* --------------------------- Бегущая строка -------------------------- */
.ticker { background: var(--grad); color: #fff; overflow: hidden; padding: 15px 0; }
.ticker__track { display: flex; gap: 44px; width: max-content; animation: ticker 30s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 44px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; white-space: nowrap; }
.ticker__item svg { width: 15px; height: 15px; opacity: .85; transform: rotate(-8deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------- Карточки жилья -------------------------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prop {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prop:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.prop__media { position: relative; }
.prop__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prop__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  padding: 7px 14px; border-radius: var(--pill);
  box-shadow: var(--sh-tg);
}
.prop__price {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
  border-radius: var(--pill); padding: 8px 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--azure);
}
.prop__price small { font-family: var(--f-body); font-weight: 600; font-size: .74rem; color: var(--muted); }
.prop__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.prop__geo { display: flex; align-items: center; gap: 7px; font-size: .88rem; }
.prop__geo svg { width: 15px; height: 15px; color: var(--sky); }
.prop__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip {
  background: var(--cloud); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 5px 12px;
  font-size: .78rem; font-weight: 600; color: var(--muted);
}
.prop__body .btn { margin-top: auto; }

.props__more { text-align: center; margin-top: 40px; }

/* ------------------------------- Шаги -------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--f-display); font-weight: 700; font-size: 2rem;
  background: linear-gradient(120deg, #35B6F5, #0088CC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 12px;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -20px; width: 20px;
  border-top: 2px dashed var(--sky); opacity: .5;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; }

/* ------------------------------- Бенто -------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 20px; }
.tile {
  border-radius: var(--r-lg); padding: 26px;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.tile h3 { font-size: 1.05rem; }
.tile p { font-size: .9rem; }
.tile__icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--mist); color: var(--azure);
  margin-bottom: auto;
}
.tile__icon svg { width: 23px; height: 23px; }

.tile--hero {
  grid-column: span 2; grid-row: span 2;
  background: var(--grad); border: 0; color: #fff; justify-content: flex-end;
}
.tile--hero h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: #fff; }
.tile--hero p { color: rgba(255, 255, 255, .85); font-size: 1rem; max-width: 380px; }
.tile--hero .tile__plane {
  position: absolute; top: -30px; right: -34px; width: 200px; height: 200px;
  color: rgba(255, 255, 255, .16); transform: rotate(14deg);
}
.tile--hero .tile__plane svg { width: 100%; height: 100%; }
.tile--hero .btn { align-self: flex-start; margin-top: 16px; }

.tile--num b { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; color: var(--azure); line-height: 1; }

.tile--photo { padding: 0; border: 0; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ------------------------------ Районы -------------------------------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.area:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--sky); }
.area__icon {
  width: 48px; height: 48px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: var(--sh-tg);
}
.area__icon svg { width: 23px; height: 23px; }
.area p { font-size: .9rem; flex: 1; }
.area__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.area__price { font-weight: 700; font-size: .9rem; color: var(--azure); }
.area__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--sky-2); }
.area__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.area:hover .area__go svg { transform: translateX(4px); }

/* ------------------------------ Отзывы -------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.review__top { display: flex; align-items: center; gap: 13px; }
.review__ava {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--mist); color: var(--azure);
  font-weight: 800; font-size: 1.05rem;
}
.review__top b { display: block; line-height: 1.3; }
.review__top span { font-size: .8rem; color: var(--muted); }
.review__stars { display: flex; gap: 3px; color: var(--sun); }
.review__stars svg { width: 16px; height: 16px; }
.review p { font-size: .95rem; flex: 1; }
.review__obj {
  align-self: flex-start;
  background: var(--cloud); border: 1px dashed var(--line);
  border-radius: var(--pill); padding: 6px 14px;
  font-size: .78rem; font-weight: 600; color: var(--muted);
}

/* -------------------------------- FAQ --------------------------------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: box-shadow .3s;
}
.faq__item[open] { box-shadow: var(--sh-sm); border-color: var(--sky); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  list-style: none; cursor: pointer;
  padding: 19px 22px;
  font-weight: 700; font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--mist); transition: transform .35s var(--ease), background .3s; }
.faq__x::before, .faq__x::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 12px; height: 2px; border-radius: 2px; background: var(--azure);
}
.faq__x::after { transform: rotate(90deg); }
.faq__item[open] .faq__x { transform: rotate(45deg); background: var(--grad); }
.faq__item[open] .faq__x::before, .faq__item[open] .faq__x::after { background: #fff; }
.faq__a { padding: 0 22px 20px; }
.faq__a p { font-size: .96rem; }

/* ---------------------------- CTA-панель ------------------------------ */
.cta {
  position: relative; overflow: hidden;
  background: var(--grad); border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center; color: #fff;
  box-shadow: 0 30px 70px rgba(11, 80, 120, .35);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><path d="M-20 330 C 200 260, 330 140, 520 170 S 760 80, 830 40" fill="none" stroke="white" stroke-opacity=".3" stroke-width="2" stroke-dasharray="2 11" stroke-linecap="round"/></svg>') center / cover no-repeat;
}
.cta__art {
  position: absolute; top: -44px; right: -40px;
  width: 210px; height: 210px; color: rgba(255, 255, 255, .14);
  transform: rotate(14deg); pointer-events: none;
}
.cta__art svg { width: 100%; height: 100%; }
.cta h2 { position: relative; color: #fff; max-width: 640px; margin-inline: auto; }
.cta p { position: relative; color: rgba(255, 255, 255, .88); max-width: 560px; margin: 14px auto 0; }
.cta__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.cta__note { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.cta__note svg { width: 17px; height: 17px; }

/* ------------------------------- Футер -------------------------------- */
.footer {
  background: linear-gradient(160deg, #0E5E93 0%, var(--deep) 70%);
  color: #CBE6F8; padding: clamp(52px, 7vw, 84px) 0 34px;
  margin-top: 0;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: #9CC8E4; font-size: .93rem; margin: 16px 0 22px; max-width: 340px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { color: #fff; margin-bottom: 6px; font-size: .95rem; }
.footer__col a { font-size: .92rem; color: #9CC8E4; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding-top: 24px; display: grid; gap: 8px; }
.footer__legal p { font-size: .8rem; color: #7FAECB; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: #fff; }

/* --------------------------- Плавающие CTA ---------------------------- */
.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--sh-tg);
  transition: transform .3s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab svg { width: 27px; height: 27px; transform: rotate(-8deg); }
.fab__ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--sky);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobilebar__price { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.mobilebar__price strong { font-family: var(--f-display); color: var(--azure); font-size: 1.06rem; }

/* --------------------------- Внутренние страницы ---------------------- */
.page-hero {
  padding: clamp(120px, 15vw, 168px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(50% 55% at 90% 0%, rgba(42, 171, 238, .14), transparent 70%),
    linear-gradient(180deg, #EAF6FE 0%, #FFFFFF 100%);
}
.page-hero h1 { max-width: 780px; margin-top: 16px; }
.page-hero .lead { max-width: 660px; margin-top: 14px; font-size: 1.08rem; }
.page-hero .hero__actions { margin-top: 26px; }

.crumbs { margin-bottom: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; font-size: .84rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.crumbs a { color: var(--sky-2); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li[aria-current] { color: var(--muted); }

/* Статья / текстовые страницы */
.article { max-width: 760px; margin-inline: auto; }
.article > * + * { margin-top: 1.1em; }
.article h2 { margin-top: 1.8em; font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.article h3 { margin-top: 1.5em; font-family: var(--f-body); font-weight: 800; font-size: 1.12rem; }
.article ul, .article ol { color: var(--muted); display: grid; gap: .45em; }
.article li::marker { color: var(--sky); font-weight: 700; }
.article img { border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.article blockquote {
  border-left: 3px solid var(--sky); background: var(--cloud);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 22px; color: var(--muted); font-size: .98rem;
}
.article .note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--mist); border-radius: var(--r-md); padding: 18px 20px;
  font-size: .95rem; color: var(--ink);
}
.article .note svg { width: 20px; height: 20px; color: var(--azure); margin-top: 2px; }

/* Таблица цен */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table.prices { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
table.prices th, table.prices td { padding: 13px 18px; text-align: left; }
table.prices thead th {
  background: var(--grad); color: #fff; font-weight: 700; font-size: .88rem;
  letter-spacing: .03em;
}
table.prices tbody tr:nth-child(even) { background: var(--cloud); }
table.prices td { color: var(--muted); border-top: 1px solid var(--line); }
table.prices td:first-child { color: var(--ink); font-weight: 600; }
table.prices .p { color: var(--azure); font-weight: 700; white-space: nowrap; }

/* Список преимуществ с галочками */
.checks { display: grid; gap: 12px; list-style: none; padding: 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks svg { width: 21px; height: 21px; color: var(--mint); margin-top: 2px; }
.checks b { color: var(--ink); }

/* Карточки статей блога */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--sky); }
.post__meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.post__tag {
  background: var(--mist); color: var(--azure);
  border-radius: var(--pill); padding: 5px 13px; font-weight: 700;
}
.post h3 { font-size: 1.15rem; }
.post p { font-size: .93rem; flex: 1; }
.post__go { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--sky-2); }
.post__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.post:hover .post__go svg { transform: translateX(4px); }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .float--chat, .float--price, .float--rate { animation: none; }
}

/* ---------------------------- Адаптивность ---------------------------- */
@media (max-width: 1060px) {
  /* ВАЖНО: без backdrop-filter на шапке — иначе фиксированное меню
     позиционируется относительно пилюли, а не окна */
  .header__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .96); }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(244, 250, 254, .985);
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  }
  .nav.is-open { opacity: 1; pointer-events: auto; z-index: 95; }
  .nav > a { font-size: 1.35rem; font-weight: 700; padding: 12px 26px; }
  .nav__cta { display: block; margin-top: 18px; }
  .burger { display: block; z-index: 96; position: relative; }
  .burger.is-open { background: var(--white); }
  .header__tg { display: none; }

  .props { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero__lead { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .header { inset: 10px 0 auto; }
  .header__inner { padding: 8px 8px 8px 16px; }
  .logo__text { font-size: .95rem; }

  .props { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero { grid-column: span 1; }
  .areas { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }

  .float--chat { left: -6px; }
  .float--price { right: -6px; }
  .hero__facts { gap: 18px; }

  .fab { display: none; }
  .mobilebar { display: flex; }
  body { padding-bottom: 74px; }
  .footer { padding-bottom: 90px; }
}
