/* ===== Базовые переменные ===== */
:root{
  --teal:#0f766e;
  --teal-d:#0b5d57;
  --aqua:#14b8a6;
  --coral:#ff6b4a;
  --coral-d:#f5512b;
  --sun:#ff9f1c;
  --ink:#0f172a;
  --muted:#64748b;
  --sand:#fbf7f0;
  --line:#e9e4dc;
  --tg:#229ED9;
  --tg-d:#1b87bb;
  --shadow:0 14px 38px -12px rgba(15,23,42,.22);
  --shadow-sm:0 6px 18px -8px rgba(15,23,42,.20);
  --radius:20px;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);
  background:var(--sand);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{font-family:'Manrope',sans-serif;line-height:1.12;letter-spacing:-.02em}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 20px}
.ic{width:1.15em;height:1.15em;fill:currentColor;flex:none}

/* ===== Кнопки ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:'Manrope',sans-serif;font-weight:700;font-size:15px;
  padding:13px 22px;border-radius:14px;cursor:pointer;border:none;
  transition:transform .15s ease,box-shadow .2s ease,filter .15s ease;
  white-space:nowrap;line-height:1;min-height:46px;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn--lg{font-size:17px;padding:17px 30px;border-radius:16px}
.btn--sm{font-size:13.5px;padding:10px 16px;border-radius:12px}
.btn--tg{background:linear-gradient(135deg,var(--tg),var(--tg-d));color:#fff;box-shadow:0 10px 22px -10px rgba(34,158,217,.8)}
.btn--tg:hover{box-shadow:0 16px 28px -10px rgba(34,158,217,.9)}

/* ===== Шапка ===== */
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(251,247,240,.85);backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;transition:.25s;
}
.header.scrolled{background:rgba(255,255,255,.92);border-bottom-color:var(--line);box-shadow:0 6px 20px -14px rgba(0,0,0,.3)}
.header__inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:8px;font-family:'Manrope';font-weight:700;font-size:21px}
.logo__mark{font-size:22px}
.logo__text b{color:var(--teal)}
.logo--light .logo__text,.logo--light{color:#fff}
.logo--light .logo__text b{color:var(--aqua)}
.header__meta{display:flex;align-items:center;gap:16px}
.online{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--muted)}
.online i{width:8px;height:8px;border-radius:50%;background:#25d366;box-shadow:0 0 0 0 rgba(37,211,102,.6);animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)}70%{box-shadow:0 0 0 8px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}

/* ===== Навигация ===== */
.nav{display:flex;gap:26px;margin:0 auto 0 36px}
.nav a{font-family:'Manrope';font-weight:600;font-size:15px;color:var(--ink);opacity:.8;transition:.15s;position:relative}
.nav a:hover{opacity:1;color:var(--teal)}
.nav a::after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:2px;background:var(--teal);transition:width .2s}
.nav a:hover::after{width:100%}

/* ===== Hero ===== */
.hero{position:relative;color:#fff;overflow:hidden;isolation:isolate}
.hero__bg{
  position:absolute;inset:0;z-index:-2;
  background:url('../assets/img/hero.jpg') center/cover no-repeat;
  transform:scale(1.05);
}
.hero__overlay{
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(11,93,87,.55) 0%,rgba(15,23,42,.55) 40%,rgba(15,23,42,.78) 100%);
}
.hero__inner{padding:64px 20px 84px;text-align:center;max-width:820px;display:flex;flex-direction:column;align-items:center}
.hero__badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(6px);
  padding:8px 16px;border-radius:100px;font-size:14px;font-weight:600;margin-bottom:22px;
}
.hero__title{font-size:clamp(32px,6vw,56px);font-weight:800}
.hero__title span{color:var(--sun)}
.hero__sub{font-size:clamp(16px,2.4vw,20px);margin:20px auto 0;max-width:620px;color:rgba(255,255,255,.92)}
.hero__cta{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:34px}
.hero__trust{list-style:none;display:flex;gap:10px 26px;flex-wrap:wrap;justify-content:center;margin-top:30px;font-size:14.5px;font-weight:500;color:rgba(255,255,255,.92)}

/* ===== Преимущества ===== */
.perks{margin-top:-44px;position:relative;z-index:10}
.perks__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.perk{
  background:#fff;border-radius:16px;padding:22px 20px;box-shadow:var(--shadow-sm);
  border:1px solid var(--line);
}
.perk__ic{font-size:26px;display:block;margin-bottom:10px}
.perk b{font-family:'Manrope';font-size:16px;display:block;margin-bottom:3px}
.perk p{font-size:13.5px;color:var(--muted);line-height:1.45}

/* ===== Секции ===== */
.section-head{text-align:center;max-width:640px;margin:0 auto 40px}
.section-head h2{font-size:clamp(26px,4vw,38px);font-weight:800}
.section-head p{color:var(--muted);margin-top:12px;font-size:16px}
.section-head--light h2,.section-head--light p{color:#fff}
.section-head--light p{color:rgba(255,255,255,.85)}
.listings{padding:74px 0}

/* ===== Карточки ===== */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{
  background:#fff;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;
  transition:transform .2s ease,box-shadow .25s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.card__media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#eef2f1}
.card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .card__media img{transform:scale(1.06)}
.card__tag{
  position:absolute;top:12px;z-index:2;
  font-size:12.5px;font-weight:700;font-family:'Manrope';
  padding:6px 12px;border-radius:100px;color:#fff;backdrop-filter:blur(4px);
}
.card__tag--hit{left:12px;background:linear-gradient(135deg,var(--coral),var(--coral-d));box-shadow:0 6px 14px -6px rgba(245,81,43,.8)}
.card__tag--deal{left:12px;background:linear-gradient(135deg,var(--teal),var(--aqua))}
.card__tag--rating{right:12px;background:rgba(15,23,42,.72)}
.card__body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.card__loc{font-size:13px;font-weight:600;color:var(--teal);margin-bottom:7px;text-transform:uppercase;letter-spacing:.03em}
.card__title{font-size:19px;font-weight:700;line-height:1.22}
.card__specs{display:flex;flex-wrap:wrap;gap:6px 12px;margin:12px 0;font-size:13px;color:var(--muted);font-weight:500}
.card__desc{font-size:14px;color:#475569;line-height:1.5;margin-bottom:16px}
.card__foot{margin-top:auto;padding-top:6px}
.card__price{margin-bottom:14px;font-size:13.5px;color:var(--muted)}
.card__price b{font-family:'Manrope';font-size:26px;font-weight:800;color:var(--ink)}
.card__btns{display:grid;grid-template-columns:1fr;gap:10px}
.card__btns .btn{width:100%;padding:13px 14px;font-size:15px}

/* ===== Шаги ===== */
.steps{background:linear-gradient(135deg,var(--teal),var(--teal-d));padding:74px 0;color:#fff}
.steps__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:980px;margin:0 auto}
.step{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:30px 26px;text-align:center}
.step__num{
  width:50px;height:50px;border-radius:50%;margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;
  font-family:'Manrope';font-weight:800;font-size:22px;
  background:linear-gradient(135deg,var(--sun),var(--coral));color:#fff;
}
.step b{font-family:'Manrope';font-size:18px;display:block;margin-bottom:8px}
.step p{font-size:14.5px;color:rgba(255,255,255,.85);line-height:1.5}

/* ===== Финальный CTA ===== */
.final{padding:80px 0}
.final__inner{
  background:linear-gradient(135deg,#fff,#fff7ef);
  border:1px solid var(--line);border-radius:28px;
  padding:56px 32px;text-align:center;max-width:860px;margin:0 auto;
  box-shadow:var(--shadow);position:relative;overflow:hidden;
}
.final__inner::before{content:"";position:absolute;top:-60px;right:-60px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(255,159,28,.18),transparent 70%)}
.final__inner h2{font-size:clamp(26px,4vw,38px);font-weight:800}
.final__inner>p{color:var(--muted);max-width:560px;margin:14px auto 0;font-size:16.5px}
.final__cta{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin:32px 0 16px}
.final__note{font-size:14px;font-weight:600;color:var(--teal)}

/* ===== FAQ ===== */
.faq{padding:74px 0;background:#fff}
.faq__list{max-width:780px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq__item{border:1px solid var(--line);border-radius:14px;background:var(--sand);overflow:hidden;transition:.2s}
.faq__item[open]{box-shadow:var(--shadow-sm);background:#fff}
.faq__item summary{
  cursor:pointer;list-style:none;padding:18px 22px;font-family:'Manrope';font-weight:700;font-size:16.5px;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"+";font-size:24px;color:var(--teal);font-weight:600;flex:none;transition:transform .2s}
.faq__item[open] summary::after{transform:rotate(45deg)}
.faq__item>div{padding:0 22px 20px;color:#475569;font-size:15px;line-height:1.6}

/* ===== Отзывы ===== */
.reviews{padding:74px 0;background:linear-gradient(180deg,var(--sand),#fff)}
.reviews__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.review{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px 24px;
  box-shadow:var(--shadow-sm);margin:0;display:flex;flex-direction:column;gap:14px;
}
.review__stars{color:#ffb800;font-size:18px;letter-spacing:2px}
.review blockquote{margin:0;font-size:15.5px;line-height:1.6;color:#334155;flex:1}
.review figcaption{font-size:14px;color:var(--muted)}
.review figcaption b{font-family:'Manrope';color:var(--ink)}
@media(max-width:980px){.reviews__grid{grid-template-columns:1fr;max-width:520px;margin:0 auto}}

/* ===== Подвал ===== */
.footer{background:var(--ink);color:#fff;padding:46px 0 90px}
.footer__inner{text-align:center;max-width:680px;margin:0 auto}
.footer__inner p{color:rgba(255,255,255,.65);font-size:14.5px;margin:14px 0}
.footer__inner small{color:rgba(255,255,255,.4);font-size:12.5px}
.footer .logo{justify-content:center}
.footer__nav{display:flex;flex-wrap:wrap;gap:8px 18px;justify-content:center;margin:18px 0 22px}
.footer__nav a{color:rgba(255,255,255,.7);font-size:13.5px;transition:.15s}
.footer__nav a:hover{color:var(--aqua)}
.footer__legal{color:rgba(255,255,255,.55);font-size:12.5px;line-height:1.5;margin:4px 0 10px}

/* ===== Внутренние страницы (районы / статьи) ===== */
.page-hero{
  position:relative;color:#fff;text-align:center;overflow:hidden;isolation:isolate;
  padding:58px 20px;background:linear-gradient(135deg,var(--teal),var(--teal-d));
}
.page-hero__inner{max-width:780px;margin:0 auto;position:relative;z-index:2}
.page-hero h1{font-size:clamp(28px,5vw,44px);font-weight:800}
.page-hero p{margin-top:14px;font-size:clamp(15px,2.2vw,18px);color:rgba(255,255,255,.9)}
.page-hero .hero__cta{margin-top:26px}
.breadcrumbs{font-size:13px;padding:14px 0;color:var(--muted)}
.breadcrumbs a{color:var(--teal);font-weight:600}
.breadcrumbs span{margin:0 7px;opacity:.5}
.prose{max-width:760px;margin:0 auto;padding:36px 0}
.prose h2{font-size:26px;font-weight:800;margin:34px 0 14px}
.prose h3{font-size:20px;font-weight:700;margin:26px 0 10px}
.prose p{font-size:16.5px;line-height:1.72;color:#334155;margin-bottom:16px}
.prose ul{margin:0 0 18px 4px;padding-left:22px}
.prose li{font-size:16px;line-height:1.65;color:#334155;margin-bottom:8px}
.prose strong{color:var(--ink)}
.prose a{color:var(--teal);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.facts{list-style:none;padding:0;margin:14px 0 4px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.facts li{
  background:var(--sand);border:1px solid var(--line);border-radius:12px;
  padding:13px 16px;font-size:15px;color:#334155;margin:0;line-height:1.4;
}
@media(max-width:680px){.facts{grid-template-columns:1fr}}
.callout{
  background:linear-gradient(135deg,#fff,#fff7ef);border:1px solid var(--line);
  border-radius:18px;padding:26px 28px;margin:30px 0;text-align:center;box-shadow:var(--shadow-sm);
}
.callout b{font-family:'Manrope';font-size:19px;display:block;margin-bottom:6px}
.callout p{font-size:15px;color:var(--muted);margin-bottom:18px}
.callout .hero__cta{margin:0;justify-content:center}
.section-wrap{padding:56px 0}
.section-wrap--alt{background:#fff}
.hub{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hubcard{
  display:block;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .25s;color:inherit;
}
.hubcard:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.hubcard__media{aspect-ratio:16/10;overflow:hidden;background:#eef2f1}
.hubcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hubcard:hover .hubcard__media img{transform:scale(1.06)}
.hubcard__body{padding:18px 20px}
.hubcard__tag{font-size:12px;font-weight:700;color:var(--teal);text-transform:uppercase;letter-spacing:.04em}
.hubcard__body h3{font-size:18px;font-weight:700;margin:6px 0 8px;line-height:1.25}
.hubcard__body p{font-size:14px;color:var(--muted);line-height:1.5}
.hubcard__more{display:inline-block;margin-top:12px;color:var(--teal);font-weight:700;font-size:14px}

/* ===== Плавающие кнопки ===== */
.floats{position:fixed;right:18px;bottom:22px;z-index:80;display:flex;flex-direction:column;gap:12px}
.float{
  width:56px;height:56px;border-radius:50%;color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px -6px rgba(0,0,0,.4);transition:transform .15s;
}
.float .ic{width:28px;height:28px}
.float:hover{transform:scale(1.08)}
.float--tg{background:linear-gradient(135deg,var(--tg),var(--tg-d));animation:float-pulse-tg 2.6s infinite}
@keyframes float-pulse-tg{0%{box-shadow:0 10px 26px -6px rgba(0,0,0,.4),0 0 0 0 rgba(34,158,217,.5)}70%{box-shadow:0 10px 26px -6px rgba(0,0,0,.4),0 0 0 14px rgba(34,158,217,0)}100%{box-shadow:0 10px 26px -6px rgba(0,0,0,.4),0 0 0 0 rgba(34,158,217,0)}}

/* ===== Мобильная панель ===== */
.mobilebar{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:90;
  gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.95);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);box-shadow:0 -6px 20px -12px rgba(0,0,0,.3);
}
.mobilebar .btn{flex:1;padding:14px 8px}

/* ===== Появление при скролле ===== */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ===== Иконочная система (линейные SVG) ===== */
.ico{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* логотип-знак */
.logo__mark{width:30px;height:30px;display:inline-flex;flex:none;font-size:0}
.logo__mark svg{width:100%;height:100%;display:block}

/* преимущества — иконка в цветной плитке */
.perk__ic{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px;background:rgba(15,118,110,.10);color:var(--teal)}
.perk__ic .ico{width:24px;height:24px;stroke-width:1.8}
.perks__grid .perk:nth-child(2) .perk__ic{background:rgba(255,107,74,.12);color:var(--coral)}
.perks__grid .perk:nth-child(3) .perk__ic{background:rgba(20,184,166,.14);color:#0d9488}
.perks__grid .perk:nth-child(4) .perk__ic{background:rgba(255,159,28,.16);color:#d98200}

/* карточки: характеристики, локация, теги */
.card__specs span{display:inline-flex;align-items:center;gap:5px}
.card__specs .ico{width:15px;height:15px;stroke:var(--teal)}
.card__loc{display:flex;align-items:center;gap:5px}
.card__loc .ico{width:14px;height:14px}
.card__tag{display:inline-flex;align-items:center;gap:5px}
.card__tag .ico{width:13px;height:13px;stroke-width:2.1}

/* hero-триггеры и финальная строка */
.hero__trust li{display:inline-flex;align-items:center;gap:7px}
.hero__trust .ico{width:17px;height:17px;stroke-width:2}
.final__note{display:flex;justify-content:center;align-items:center;gap:6px}
.final__note .ico{width:16px;height:16px}

/* ===== Адаптив ===== */
@media(max-width:980px){
  .perks__grid{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
  .steps__grid{grid-template-columns:1fr;max-width:460px}
  .nav{gap:18px;margin-left:24px}
  .hub{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .nav{display:none}
  .hub{grid-template-columns:1fr;max-width:420px;margin:0 auto}
  .header__meta .online{display:none}
  .hero__inner{padding:44px 18px 40px}
  .cards{grid-template-columns:1fr;max-width:420px;margin:0 auto}
  .perks{margin-top:18px}          /* без наложения на текст hero */
  .perks__grid{gap:12px}
  .perk{padding:18px 16px}
  .listings{padding:54px 0}
  .floats{display:none}
  .mobilebar{display:flex}
  .final__inner{padding:42px 22px}
  .final__cta{width:100%;max-width:360px;margin-left:auto;margin-right:auto}
  .final__cta .btn{width:100%}
  .hero__cta{flex-direction:column;width:100%;max-width:360px}
  .hero__cta .btn{width:100%}
  /* — мобильная типографика и отступы — */
  .container{padding:0 16px}
  .section-head{margin-bottom:28px}
  .section-head p{font-size:15px}
  .reviews,.faq,.steps{padding:48px 0}
  .final{padding:52px 0}
  .card__title{font-size:18px}
  .card__desc{font-size:14.5px}
  .hero__trust{gap:8px 18px;font-size:13.5px}
  .hero__sub{font-size:16px}
  .steps__grid{gap:14px}
  .step{padding:24px 20px}
  .page-hero{padding:44px 16px}
  .prose{padding:28px 0}
  .prose p,.prose li{font-size:16px}
  /* крупная и удобная нижняя кнопка */
  .mobilebar .btn{font-size:16px;min-height:52px;border-radius:14px}
}
@media(max-width:400px){
  .hero__title{font-size:30px}
  .btn--lg{font-size:16px;padding:15px 22px}
  .card__body{padding:16px 16px 18px}
  .hero__badge{font-size:12.5px;padding:7px 13px}
}
