/* dr-luchin.css — все стили лендинга (самодостаточный CSS для переноса на отдельный сайт) */

:root{
  --primary:#2f6fa3;
  --primary-dark:#1f527a;
  --accent:#5fa8d3;
  --soft:#f4f9fc;
  --text:#213547;
  --muted:#5f7283;

  /* Согласование с Bootstrap 5 */
  --bs-primary: #2f6fa3;
  --bs-primary-rgb: 47, 111, 163;
  --bs-link-color: var(--primary-dark);
  --bs-link-hover-color: #174065;
  --bs-body-color: var(--text);
  --bs-focus-ring-color: rgba(47, 111, 163, .25);
  --bs-border-color: rgba(0, 0, 0, .08);
}

html{ scroll-behavior: smooth; }

body{
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--text);
  background:#fff;
}

/* Утилиты (раньше частично в promo_style_orange.css) */
.rounded-2xl{ border-radius: 1.2rem; }
.shadow-soft{ box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.section-pad{ padding-top: 4rem; padding-bottom: 4rem; }
.navbar .nav-link{ font-weight: 500; }

/* Ограничение ширины текстовых блоков (инлайн-стили перенесены сюда) */
.luchin-measure{ max-width: 760px; }
.luchin-measure--sm{ max-width: 720px; }

.navbar{
  backdrop-filter:saturate(180%) blur(16px);
  background:rgba(255,255,255,.88);
  border-bottom:1px solid rgba(33,53,71,.06);
}
.navbar .navbar-brand{ color: var(--text); }
.navbar .nav-link{ color: #344050; }
.navbar .nav-link:hover,
.navbar .nav-link:focus{ color: var(--primary-dark); }

.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  border:none;
  box-shadow:0 10px 24px rgba(47,111,163,.22);
  --bs-btn-color:#fff;
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-bg: #174065;
  --bs-btn-active-border-color: #174065;
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--primary-dark),var(--primary));
}
.btn-outline-primary{
  color:var(--primary);
  border-color:rgba(47,111,163,.28);
  --bs-btn-color: var(--primary-dark);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-hover-color:#fff;
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  --bs-btn-active-color:#fff;
}
.btn-outline-primary:hover{
  background:var(--primary);
  border-color:var(--primary);
  color: #fff;
}

.hero{
  background:
    radial-gradient(circle at top left, rgba(95,168,211,.16), transparent 34%),
    linear-gradient(180deg,#ffffff 0%, #f6fbff 100%);
  padding:8rem 0 4.5rem;
}
.hero-card, .info-card, .review-card, .cta-card{
  border:none;
  border-radius:24px;
  box-shadow:0 16px 40px rgba(31,82,122,.08);
}
.hero-photo{
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(24,47,66,.16);
  background:#fff;
}
.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:440px;
}
.eyebrow{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  font-size:.9rem;
  padding:.55rem .9rem;
  border-radius:999px;
  background:#eaf5fb;
  color:var(--primary-dark);
  font-weight:600;
}
.section{ padding:5rem 0; }
.section-soft{ background:var(--soft); }
.section-title{ font-size:clamp(1.9rem,3vw,2.8rem); font-weight:800; letter-spacing:-.03em; }
.lead-muted{ color:var(--muted); }
.badge-soft{
  background:#eef7fc;
  color:var(--primary-dark);
  padding:.7rem 1rem;
  border-radius:999px;
  font-weight:600;
}
.icon-wrap{
  width:52px;height:52px;border-radius:16px;
  display:grid;place-items:center;
  background:#e8f3fa;color:var(--primary-dark);
  font-size:1.3rem;font-weight:700;
  flex:0 0 auto;
}
.icon-wrap--max{
  background:transparent;
  padding:0;
}
.icon-wrap--max img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:16px;
}
#services .list-check li{ margin-bottom:.85rem; }
#services .list-check li::marker{ color:var(--primary); }

.list-check li{ margin-bottom:.5rem; }
.list-check i{ color: var(--primary); }

.review-card{
  height:100%;
  background:#fff;
}
.rating{ color:#f0a500; letter-spacing:.12em; font-size:1rem; }
.stat{
  background:#fff;
  border-radius:20px;
  padding:1.1rem 1.2rem;
  height:100%;
  box-shadow:0 12px 26px rgba(31,82,122,.06);
}
.stat .num{
  font-size:1.8rem;
  font-weight:800;
  color:var(--primary-dark);
}
.cta-card{
  background:linear-gradient(135deg,#1f527a 0%, #2f6fa3 55%, #68aed7 100%);
  color:#fff;
  overflow:hidden;
  position:relative;
}
.cta-card:before{
  content:'';
  position:absolute;
  inset:auto -40px -40px auto;
  width:220px;height:220px;border-radius:50%;
  background:rgba(255,255,255,.08);
}
.form-control, .form-select{
  min-height:52px;
  border-radius:14px;
  border-color:#d7e5ef;
}
.form-floating>label{ color:#6c757d; }
.form-control:focus{
  border-color: rgba(47, 111, 163, .5);
  box-shadow: 0 0 0 .25rem rgba(47, 111, 163, .25);
}
.form-check-input:focus{
  border-color: rgba(47, 111, 163, .5);
  box-shadow: 0 0 0 .25rem rgba(47, 111, 163, .25);
}
.form-check-input:checked{
  background-color: var(--primary);
  border-color: var(--primary);
}
.required-asterisk::after{ content:" *"; color:#dc3545; }

.mini-note{ font-size:.92rem; color:#eff7ff; opacity:.9; }
footer{ background:#10293d; color:#d7e7f3; }
footer a{ color:#fff; }
.doctor-meta span{
  display:inline-block;
  margin:.25rem .35rem .25rem 0;
  padding:.55rem .8rem;
  border-radius:999px;
  background:#fff;
  color:var(--primary-dark);
  font-size:.92rem;
  font-weight:600;
  box-shadow:0 8px 18px rgba(31,82,122,.06);
}

.map-embed{
  position: relative;
  min-height: 340px;
  border: 0;
  border-radius: 1rem;
}
#contacts .map-embed{ min-height:500px; }

/* Баннер cookie: тёмная подложка и контрастный текст (устойчиво к сбоям text-bg-* у .toast) */
.toast-cookie.toast{
  position:fixed;
  right:1rem;
  left:1rem;
  bottom:1rem;
  z-index:2000;
  max-width:min(42rem, calc(100vw - 2rem));
  margin-inline:auto;
  border-radius:1rem !important;
  box-shadow:0 14px 40px rgba(16,41,61,.4);
  border:1px solid rgba(95,168,211,.28) !important;
  background:linear-gradient(145deg,#1f527a 0%,#10293d 55%,#0d2230 100%) !important;
  color:#e8f2fa !important;
  --bs-toast-bg:transparent;
  --bs-toast-color:#e8f2fa;
  --bs-toast-border-width:0;
}
.toast-cookie .toast-body{
  color:inherit !important;
}
.toast-cookie .toast-body .link-light{
  color:#9dc8ef !important;
  text-decoration-color:rgba(157,200,239,.55);
}
.toast-cookie .toast-body .link-light:hover,
.toast-cookie .toast-body .link-light:focus{
  color:#fff !important;
  text-decoration-color:#fff;
}

.bg-brand{
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  color: #fff !important;
}

.card{ border-color: rgba(0, 0, 0, .06); }
.border{ border-color: rgba(0, 0, 0, .08) !important; }

.badge.bg-light.text-dark.border{
  border-color: rgba(47, 111, 163, .35) !important;
}

.text-brand{ color: var(--primary) !important; }

::-webkit-scrollbar{ height:10px; width:10px; }
::-webkit-scrollbar-thumb{
  background: linear-gradient(var(--accent), var(--primary-dark));
  border-radius: 8px;
}
::-webkit-scrollbar-track{ background:#f1f1f1; }

@media (max-width: 575.98px){
  .section-pad{ padding-top:3rem; padding-bottom:3rem; }
}

/* Плавающие кнопки мессенджеров (MAX + Telegram) */
.messenger-float-stack{
  position:fixed;
  right:max(1rem, env(safe-area-inset-right));
  bottom:max(1rem, env(safe-area-inset-bottom));
  z-index:1090;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.75rem;
}
@keyframes messengerFabIn{
  from{
    opacity:0;
    transform:translateY(12px) scale(.92);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}
.messenger-float-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:3.5rem;
  height:3.5rem;
  border-radius:50%;
  text-decoration:none;
  animation:messengerFabIn .4s ease both;
  transition:box-shadow .2s ease;
}
@media (prefers-reduced-motion: reduce){
  .messenger-float-btn{
    animation:none;
    opacity:1;
    transform:translateY(0) scale(1);
  }
}
.messenger-float-btn--telegram{
  background:linear-gradient(145deg,#229ed9 0%,#0088cc 100%);
  color:#fff !important;
  box-shadow:0 10px 28px rgba(0,136,204,.4);
}
.messenger-float-btn--telegram:hover,
.messenger-float-btn--telegram:focus-visible{
  color:#fff !important;
  box-shadow:0 12px 32px rgba(0,136,204,.5);
}
.messenger-float-btn--max{
  overflow:hidden;
  padding:0;
  box-shadow:0 10px 28px rgba(31,82,122,.22);
}
.messenger-float-btn--max:hover,
.messenger-float-btn--max:focus-visible{
  box-shadow:0 12px 32px rgba(31,82,122,.3);
}
.messenger-float-btn--max img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.messenger-float-btn:focus-visible{
  outline:3px solid rgba(47,111,163,.45);
  outline-offset:3px;
}
.messenger-float-btn--telegram .bi-telegram{
  font-size:1.65rem;
  line-height:1;
}
