/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background-color: #fff;
  padding: 1rem 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
}

.logo span {
  display: block;
  font-size: 0.65rem;
  font-weight: normal;
  letter-spacing: 1px;
  color: #555;
}

.phone {
  font-size: 0.9rem;
  color: #444;
}

/* Burger Icon */
.burger {
  font-size: 1.8rem;
  cursor: pointer;
  display: block;
}

.mobile-nav{
  position: fixed;          /* было absolute */
  inset: 0;                 /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100dvh;           /* надёжная высота на iOS/Android */
  max-height: 100dvh;
  background: #fff;
  transform: translateY(-100%);
  transition: transform .3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  z-index: 9999;

  overflow-y: auto;         /* Включаем внутренний скролл */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

.mobile-nav.active{ transform: translateY(0); }

.mobile-nav .nav-header{
  position: sticky;         /* шапка меню фиксируется сверху */
  top: 0;
  background: #fff;
  z-index: 1;
  border-bottom: 1px solid #eee;
}

/* Кнопка выглядит как обычная ссылка */
.mobile-nav .mobile-sub-toggle{
  display:block;
  width:100%;
  text-align:left;
  padding: 1rem 0;
  background: transparent;
  border: 0;
  font: inherit;
  color:#333;
  cursor:pointer;
}

/* маленькая стрелочка */
.mobile-nav .mobile-sub-toggle .caret{
  float:right;
  width:10px; height:10px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform: rotate(45deg);
  margin-top: 6px;
}

/* Подменю скрыто по умолчанию */
.has-sub-mobile .mobile-submenu{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 0 0;           /* убираем паддинг, добавим внутри элементов */
}

/* было: max-height: 80vh; overflow: hidden; */
.has-sub-mobile.open .mobile-submenu{
  max-height: none;     /* показываем весь список */
  overflow: visible;    /* ничего не режем */
}

.mobile-nav .nav-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
  background:#fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Логотип */
.mobile-nav .nav-header .logo{
  font-size: 1.25rem;
  font-weight: 700;
  color:#0e3f56;
}
.mobile-nav .nav-header .logo span{
  font-weight:400;
  font-size: .9rem;
  color:#666;
  margin-left:4px;
}

/* Кнопка закрытия */
.mobile-nav .nav-header .close{
  font-size: 1.75rem;
  line-height: 1;
  cursor:pointer;
  color:#333;
  padding: .25rem .5rem;
  border-radius: 50%;
  transition: background .2s ease;
}
.mobile-nav .nav-header .close:hover{
  background:#f2f2f2;
}

/* Телефон */
.mobile-nav .nav-header .phone{
  font-size: .95rem;
  color:#0e3f56;
  font-weight:600;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:.4rem;
}
.mobile-nav .nav-header .phone i{
  color:#0e3f56;
  font-size:1rem;
}


/* Оформление списка внутри */
.mobile-submenu li{
  border-bottom: 1px solid #eee;
  padding: .85rem 0;
}

/* Заголовки категорий */
.mobile-submenu li strong{
  display:block;
  font-weight:700;
  color:#0e3f56;
  margin: .4rem 0;
  padding: .4rem 0;
  border-bottom: 1px solid #eee;
}

/* При открытии поворачиваем стрелку */
.has-sub-mobile.open .mobile-sub-toggle .caret{
  transform: rotate(225deg);
}

.close {
  font-size: 2rem;
  cursor: pointer;
}

.nav-header .phone {
  font-size: 0.85rem;
  color: #444;
}

.mobile-nav ul{ padding: 0 1.5rem; }

.mobile-nav li{ padding: 1rem 0; border-bottom: 1px solid #eee; }

.mobile-nav a{ font-size: 1rem; color: #333; }

/* Блокируем скролл страницы, когда меню открыто */
body.nav-open{ overflow: hidden; touch-action: none; }

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero h1 {
  font-size: 2.2rem;
  letter-spacing: 1px;
  color: #2b2b2b;
  margin-bottom: 0.5rem;
}

.hero .subtext {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.hero .description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn-book1 {
  display: inline-block;
  background-color: #9aae9f;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.btn-book1:hover {
  background-color: #7c9586;
}

.hero-image {
  margin-top: 2rem;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Welcome Section */
.welcome {
  background-color: #f9f9f9;
  padding: 2.5rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
}

.welcome-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.welcome-gallery img {
  width: 100%;
  border-radius: 8px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.welcome-grid img {
  width: 100%;
  border-radius: 8px;
}

.welcome-text {
  margin-top: 2rem;
  text-align: left;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}

.welcome-text p {
  margin-bottom: 1.2rem;
}

.welcome-text strong {
  font-weight: 600;
  color: #2b2b2b;
}

.promo {
  position: relative;
  background: url("images/promo-bg.jpg") no-repeat center top / cover;
  min-height: 85vh;
  display: flex;
  align-items: flex-end; /* текст у нижнего края */
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1rem;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.4) 30%,
    rgba(0,0,0,0) 70%
  );
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2; /* поверх градиента и фото */
  max-width: 600px;
}

.promo .highlight {
  background-color: rgba(255,255,255,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.promo .sub {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.promo .big {
  font-size: 2.5rem;
  font-weight: bold;
}

.promo .btn-book {
  margin-top: 1rem;
  background-color: #9aae9f;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 3px;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s ease;
}

.promo .btn-book:hover {
  background-color: #7c9586;
}

.promo-phone {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: #f0f0f0;
}
/* когда фото сильно «крупное» — можно точечно подвинуть только эту секцию
   <section class="promo" style="--safe-top: 60vh"> ... </section>
*/

.services-section {
  padding: 60px 20px;
  background: #f9f9fb;
  text-align: center;
}

.section-title {
  font-size: 24px;
  color: #444;
  margin-bottom: 20px;
  font-weight: 500;
}

.service-photo {
  margin: 30px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-subtitle {
  font-size: 18px;
  color: #0e3f56;
  margin-top: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
  text-align: left;
}

.service-list li {
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 22px;
}

.service-list li::before {
  content: "›";
  color: #6a9e88;
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 18px;
}

.popular-badge {
  background: #ff3e3e;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}


.why-choose {
  background-color: #e7f6fd;
  padding: 50px 20px;
  text-align: center;
}

.why-choose h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.4;
}

.why-choose h2 span {
  color: #24495c;
  font-weight: 700;
}

.why-choose p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.why-choose strong {
  font-weight: 600;
  color: #000;
}

.why-choose .why-image {
  margin-top: 30px;
}

.why-choose .why-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}


.skinbetter {
  background-color: #e8f0e4;
  padding: 60px 20px;
  text-align: center;
}

.skinbetter h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3d28;
  margin-bottom: 20px;
}

.skinbetter p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.skinbetter .product-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 12px;
}

.shop-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #2d5c2f;
  color: #fff;
  font-size: 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.shop-btn:hover {
  background-color: #1e3e20;
}


.team-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  padding-bottom: 30px;
}

.team-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: #555;
  margin-bottom: 30px;
}

.team-member img {
  width: 100%;
  max-width: 340px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 10px 0 5px;
}

.credentials {
  font-size: 16px;
  color: #5f98a2;
}

.team-btn {
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 40px; /* <-- вот это добавит отступ вниз */
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #2b2b2b;
  background-color: #e6f0f6;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #b6d3e0;
  transition: all 0.3s ease;
}

.team-btn:hover {
  background-color: #d2e8f3;
  color: #111;
}

/* ==== CTA — full-bleed фон + литая фотка ==== */
.cta-section {
  --bg1:#eaf4ef; --bg2:#d5e8df;
  --text:#1e2b23; --muted:#5f7266;
  --brand:#6f8f6e; --brand-dark:#597b57;

  position: relative;
  z-index: 0;

  /* РАСТЯГИВАЕМ НА ВСЮ ШИРИНУ */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  padding: clamp(48px,6vw,96px) 0 0;
  text-align: center;
}

/* Контейнер с внутренними отступами */
.cta-section .container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

/* Заголовки и тексты */
.cta-headline {
  margin: 28px 0 6px;
  font-size: clamp(28px,6vw,44px);
  font-weight: 800;
  color: #0f1f17;
}
.cta-subheadline {
  margin: 0 0 22px;
  font-size: clamp(14px,2.6vw,18px);
  color: #274234;
  opacity: .85;
}
.cta-subtext {
  font-size: clamp(16px,2.4vw,18px);
  font-weight: 600;
  color: var(--text);
}
.cta-subtext.small {
  margin-top: 8px;
  font-size: clamp(14px,2.2vw,16px);
  color: var(--muted);
}

/* Кнопка */
.btn-book {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 10px 22px rgba(111,143,110,.35);
  transition: transform .18s ease, box-shadow .18s ease, background .25s ease;
}
.btn-book:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-book:active { transform: translateY(0); }

/* Телефон */
.phone-number {
  display: inline-block;
  margin: 14px auto 28px;
  padding: 10px 16px;
  background: rgba(255,255,255,.7);
  color: #233128;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.8);
}

/* ЛИТАЯ ФОТОГРАФИЯ НА ВСЮ ШИРИНУ */
.cta-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 8px;
}
.cta-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Мобильные правки */
@media (max-width: 480px) {
  .btn-book {
    width: 52vw;
    min-width: 220px;
    max-width: 360px;
  }
  .cta-section {
    padding-top: max(56px, calc(48px + env(safe-area-inset-top)));
  }
  .cta-section .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}
.botox-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.botox-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.botox-section h2 {
  font-size: 26px;
  color: #3e3e3e;
  margin-bottom: 16px;
}

.botox-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 10px;
}

.btn-learn {
  background-color: #92aa93;
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-learn:hover {
  background-color: #7d987d;
}

.filler-section {
  background-color: #fefefe;
  padding: 60px 20px;
  text-align: center;
}

.filler-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.filler-section h2 {
  font-size: 26px;
  color: #3e3e3e;
  margin-bottom: 16px;
}

.filler-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
}

.btn-learn {
  background-color: #92aa93;
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-learn:hover {
  background-color: #7d987d;
}

.antiaging-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.antiaging-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.antiaging-section h2 {
  font-size: 26px;
  color: #3e3e3e;
  margin-bottom: 16px;
}

.antiaging-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
}

.btn-learn {
  background-color: #92aa93;
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-learn:hover {
  background-color: #7d987d;
}

.wellness-section {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.wellness-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.wellness-section h2 {
  font-size: 26px;
  color: #3e3e3e;
  margin-bottom: 16px;
}

.wellness-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
}

.reviews-section {
  background: #eaf6fd;
  padding: 60px 20px;
  text-align: center;
}

.reviews-section h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
}

.review-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}

.review-card h3 {
  font-size: 16px;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.google-icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
}

.stars {
  color: #f4b400;
  font-size: 18px;
  margin: 5px 0 10px;
}

.review-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

.show-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
}

.blog-section {
  background: #fff;
  padding: 60px 20px;
}

.blog-post {
  background: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  text-align: left;
}

.blog-post img {
  width: 100%;
  height: auto;
  display: block;
}

.post-date {
  font-size: 14px;
  color: #8ba387;
  margin: 15px 20px 5px;
}

.blog-post h3 {
  font-size: 20px;
  color: #444;
  margin: 5px 20px;
  font-weight: 600;
}

.excerpt {
  font-size: 15px;
  color: #555;
  margin: 10px 20px 20px;
  line-height: 1.5;
}

.learn-more {
  display: block;
  background-color: #8ba387;
  color: #fff;
  text-align: center;
  padding: 14px;
  font-weight: bold;
  text-decoration: none;
  border-top: 1px solid #e3e3e3;
}

.read-blog-wrapper {
  text-align: center;
  margin: 40px 0;
}
.read-blog-button {
  display: inline-block;
  padding: 12px 32px;
  background-color: #e6f2f6;
  color: #2b2b2b;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.read-blog-button:hover {
  background-color: #d0e8ef;
}

.treatment-carousel {
  background-color: #e8f6fb;
  padding: 40px 0;
}

.carousel {
  overflow: hidden;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 300%;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  border-radius: 10px;
}

.carousel-dots {
  text-align: center;
  margin-top: 15px;
}

.carousel-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dots .dot.active {
  background-color: #555;
}

.location-section {
  background-color: #e9f6e2;
  padding: 50px 20px;
  font-family: 'Poppins', sans-serif;
}

.location-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.location-img {
  width: 100%;
  border-radius: 25px;
  margin-bottom: 25px;
}

.location-text h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #3c3c3c;
}

.location-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.location-icon {
  margin-right: 5px;
  color: #73b258;
}

.footer {
  background-color: #758b92;
  color: white;
  text-align: center;
  padding: 50px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-call-btn {
  margin: 20px auto;
  display: inline-block;
  background-color: #c8ddb4;
  color: #333;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}
.footer-social {
  margin: 20px 0;
}

.footer-icon {
  color: white;
  margin: 0 10px;
  font-size: 18px;
  text-decoration: none;
}

.footer-location,
.footer-hours {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
}

.footer-location i,
.footer-hours i {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-map iframe {
  width: 100%;
  max-width: 400px;
  height: 250px;
  border-radius: 8px;
  margin-top: 30px;
  border: none;
}

.footer-bottom {
  font-size: 14px;
  margin-top: 40px;
  color: #d0d0d0;
}

.footer-bottom span {
  opacity: 0.7;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* Typography tweaks to match landing page vibe */
.display { font-weight: 700; letter-spacing: .5px; }
.subtext { color: var(--ly-muted); font-weight: 600; }
.description { color: #253046; line-height: 1.7; }

/* Breadcrumbs */
.crumbs { background: var(--ly-soft); border-block: 1px solid var(--ly-line); }
.crumbs .container { padding: .75rem 1rem; display:flex; gap:.5rem; align-items:center; }
.crumbs a { color: var(--ly-accent); text-decoration:none; }
.crumbs span { color: var(--ly-muted); }

/* Hero layout */
.hero--tight { padding-block: 48px; }
.hero__grid { display:grid; gap:32px; grid-template-columns: 1.1fr .9fr; align-items:center; }
@media (max-width:900px){ .hero__grid{ grid-template-columns:1fr; } }
.hero__cta { display:flex; gap:12px; margin-top:18px; }
.btn-ghost { border:1px solid var(--ly-accent); padding:.85rem 1.2rem; border-radius:999px; color:var(--ly-accent); display:inline-block; }

/* Photo frame component */
.photo-frame { background:linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg, rgba(42,132,255,.35), rgba(123,92,255,.35)) border-box; border:1px solid transparent; border-radius:20px; box-shadow: var(--ly-shadow); overflow:hidden; }
.photo-frame img { width:100%; height:auto; display:block; }
.photo-frame figcaption { padding:.6rem .9rem; font-size:.9rem; color:var(--ly-muted); background:#fff; }

/* Pricing section */
.pricing-section { padding:64px 0; background:#fff; }
.price-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:20px; }
@media (max-width:960px){ .price-grid{ grid-template-columns:1fr; } }
.price-card { background:var(--ly-card); border:1px solid var(--ly-line); border-radius:20px; padding:22px; box-shadow: var(--ly-shadow); position:relative; }
.price-card h3 { margin:0 0 10px; font-weight:700; }
.price { font-size:40px; font-weight:700; color:var(--ly-deep); margin:.25rem 0 1rem; }
.price span { font-size:.6em; margin-right:4px; color:var(--ly-muted); }
.checks { list-style:none; padding:0; margin:0 0 18px; display:grid; gap:8px; }
.checks i { color:#10b981; margin-right:8px; }
.ribbon { position:absolute; top:16px; right:16px; background:var(--ly-accent); color:#fff; padding:.35rem .6rem; font-size:.8rem; border-radius:8px; }

/* Add-ons row */
.addons { margin-top:26px; }
.addons h4 { margin:0 0 12px; font-weight:700; }
.addons-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:10px; }
@media (max-width:900px){ .addons-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.addon { display:flex; justify-content:space-between; align-items:center; padding:.8rem 1rem; border:1px dashed var(--ly-line); border-radius:12px; background: #fafcff; }
.addon em { color:var(--ly-deep); font-style:normal; font-weight:700; }

/* Service details */
.service-content { display:grid; grid-template-columns: .95fr 1.05fr; gap:28px; align-items:center; }
@media (max-width:960px){ .service-content{ grid-template-columns:1fr; } }

/* Features grid */
.features { padding:56px 0; background:var(--ly-soft); }
.features-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:18px; }
@media (max-width:960px){ .features-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.feature { background:#fff; border:1px solid var(--ly-line); border-radius:16px; padding:18px; text-align:left; box-shadow: var(--ly-shadow); }
.feature i { font-size:22px; margin-bottom:8px; color:var(--ly-accent); display:inline-block; }

/* Gallery */
.gallery { padding:56px 0; }
.gallery-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px; }
@media (max-width:960px){ .gallery-grid{ grid-template-columns:1fr; } }

/* Cards */
.cards { padding:48px 0; background:#fff; }
.cards-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:18px; }
@media (max-width:960px){ .cards-grid{ grid-template-columns:1fr; } }
.card { background:var(--ly-card); border:1px solid var(--ly-line); border-radius:16px; padding:20px; box-shadow: var(--ly-shadow); }
.bullets { margin:0; padding-left:18px; color:#253046; }

/* FAQ */
.faq { padding:48px 0; background:var(--ly-soft); }
.faq-item{
  background:#fff;
  border:1px solid var(--ly-line);
  border-radius:16px;
  padding:18px;
}


/* ===== FINAL DESKTOP POLISH (append at the very end) ===== */

/* 0) базовая дисциплина ширины и скролла */
html, body { overflow-x: hidden; }
.container { width: min(92%, 1160px); }

@media (min-width: 960px){
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 баланс */
    align-items: center;
    gap: 40px;
    padding: 80px 0;
  }
  .hero > .container {
    margin: 0;
    padding: 0;
  }
  .hero h1 {
    font-size: clamp(40px, 4vw, 60px);
    line-height: 1.1;
  }
  .hero-image {
    margin: 0;
    display: flex;
    justify-content: flex-start;
  }
  .hero-image img {
    max-width: 90%;
    height: auto;
    border-radius: 14px;
    display: block;
  }
}


/* 2) секционные изображения, которые вставлены как прямые дети секций
      (твои «огромные лица») — ограничиваем и центрируем */
@media (min-width: 900px){
  section > img{
    width: min(1100px, 92vw);
    height: auto;
    display: block;
    margin: 24px auto;
    border-radius: 12px;
  }
}

/* === Welcome секция с классами welcome1..welcome5 === */
/* Welcome секция без обрезания лица */
@media (min-width: 960px) {
  .welcome-gallery,
  .welcome-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .welcome-gallery img,
  .welcome-grid img {
    width: 100%;
    height: 350px;
    object-fit: contain; /* чтобы всё фото помещалось */
    background-color: #f9f9f9; /* фон за фото */
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: block;
  }

  /* Скрыть welcome1.jpg на ПК */
  .welcome1 {
    display: none !important;
  }
  .welcome2 {
    margin-right: -280px; /* регулируй под себя */
  }

  .welcome-gallery img:hover,
  .welcome-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
}

@media (min-width: 960px) {
  .welcome-text {
    margin-top: 2.5rem;
    text-align: left;
    color: #333;
    font-size: 1.05rem; /* чуть крупнее */
    line-height: 1.85; /* больше воздуха */
    max-width: 800px; /* ограничиваем ширину для лучшего чтения */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    font-family: 'Open Sans', sans-serif;
  }

  .welcome-text p {
    margin-bottom: 1.5rem;
  }

  .welcome-text strong {
    font-weight: 700;
    color: #000;
  }
}

@media (min-width: 960px) {
  .promo {
    min-height: 70vh;
    background-position: center 20%; /* сдвиг фона вверх */
  }

  .promo::before {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.45) 25%,
      rgba(0,0,0,0.1) 60%,
      rgba(0,0,0,0) 80%
    );
  }

  .promo .sub {
    font-size: 1.3rem;
  }

  .promo .big {
    font-size: 3rem;
  }
}

/* ===== PC version ===== */
@media (min-width: 960px) {
  .services-section {
    padding: 80px 60px;
    background: linear-gradient(135deg, #f9f9fb 0%, #ffffff 100%);
    text-align: center;
    border-radius: 20px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  }

  .section-title {
    font-size: 32px;
    color: #0e3f56;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
  }

  .service-photo {
    width: 260px;
    height: 260px;
    margin: 0 auto 40px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .service-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }

  .service-subtitle {
    font-size: 20px;
    color: #0e3f56;
    margin: 20px 0 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .service-list {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
  }

  .service-list li {
    font-size: 17px;
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    transition: background 0.2s ease;
  }

  .service-list li:hover {
    background: rgba(106, 158, 136, 0.05);
  }

  .service-list li::before {
    content: "›";
    color: #6a9e88;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
  }

  .popular-badge {
    background: #ff3e3e;
    color: #fff;
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: bold;
  }
}



/* ===== PC version of Why Choose ===== */
@media (min-width: 960px) {
  .why-choose {
    background: linear-gradient(135deg, #e7f6fd 0%, #ffffff 100%);
    padding: 80px 60px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  }

  .why-choose-content {
    flex: 1;
  }

  .why-choose h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0e3f56;
    line-height: 1.3;
  }

  .why-choose h2 span {
    color: #24495c;
    font-weight: 800;
  }

  .why-choose p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    max-width: 90%;
  }

  .why-choose strong {
    font-weight: 700;
    color: #000;
  }

  .why-choose .why-image {
    flex: 1;
    text-align: right;
  }

  .why-choose .why-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .why-choose .why-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  }
}

/* ===== PC version of Team Section ===== */
@media (min-width: 960px) {
  .team-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  }

  .team-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0e3f56;
    margin-bottom: 60px;
    position: relative;
  }

  .team-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #6a9e88;
    margin: 15px auto 0;
    border-radius: 2px;
  }

  .team-members {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: stretch; /* чтобы карточки были одной высоты */
  }

  .team-member {
    flex: 1 1 280px;
    max-width: 320px;
    text-align: center;
    display: flex;
    flex-direction: column; /* чтобы кнопки и текст внутри растягивались */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
  }

  .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  }

  .team-member img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
  }

  .team-member:hover img {
    transform: scale(1.03);
  }

  .team-member h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 10px 0 8px;
  }

  .credentials {
    font-size: 16px;
    color: #5f98a2;
    margin-bottom: 15px;
  }

  .bio {
    flex-grow: 1; /* описание занимает всё доступное место для выравнивания */
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .team-btn {
    display: inline-block;
    margin-top: 50px;
    margin-bottom: 20px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #6a9e88;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 20px rgba(106,158,136,0.3);
    transition: all 0.3s ease;
  }

  .team-btn:hover {
    background-color: #557e6d;
    box-shadow: 0 8px 25px rgba(106,158,136,0.4);
  }
}

@media (min-width: 960px) {
  .cta-section {
    --bg1:#eaf4ef; 
    --bg2:#d5e8df;
    --text:#1e2b23; 
    --muted:#5f7266;
    --brand:#6f8f6e; 
    --brand-dark:#597b57;

    position: relative;
    z-index: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
    padding: 80px 0 0; /* больше воздуха сверху */
    text-align: center;
  }

  /* Контейнер */
  .cta-section .container {
    max-width: 1100px; /* пошире для ПК */
    margin: 0 auto;
    padding: 0 30px;
  }

  /* Заголовки и тексты */
  .cta-headline {
    margin: 32px 0 10px;
    font-size: 54px;
    font-weight: 900;
    color: #0f1f17;
    letter-spacing: 1px;
  }

  .cta-subheadline {
    margin: 0 0 28px;
    font-size: 22px;
    color: #274234;
    opacity: .9;
  }

  .cta-subtext {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
  }

  .cta-subtext.small {
    margin-top: 12px;
    font-size: 18px;
    color: var(--muted);
  }

  /* Кнопка BOOK NOW */
  .btn-book {
    padding: 16px 38px;
    font-size: 18px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 0 12px 26px rgba(111,143,110,.35);
    transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
  }
  .btn-book:hover { background: var(--brand-dark); transform: translateY(-3px); }
  .btn-book:active { transform: translateY(0); }

  /* Телефон */
  .phone-number {
    display: inline-block;
    margin: 20px auto 40px;
    padding: 12px 20px;
    background: rgba(255,255,255,.75);
    color: #233128;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.85);
    font-size: 18px;
  }

  /* Фото на всю ширину */
  .cta-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 12px;
  }
  .cta-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* на ПК пусть фоном заполняет */
    border-radius: 0;
  }
}
@media (min-width: 960px) {
  /* Общие стили для всех секций услуг */
  .botox-section,
  .filler-section,
  .antiaging-section,
  .wellness-section {
    padding: 100px 60px;
    text-align: left;
  }

  /* Контейнер */
  .botox-section .container,
  .filler-section .container,
  .antiaging-section .container,
  .wellness-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Фото */
  .botox-image img,
  .filler-image img,
  .antiaging-image img,
  .wellness-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .botox-image img:hover,
  .filler-image img:hover,
  .antiaging-image img:hover,
  .wellness-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  }

  /* Заголовки */
  .botox-section h2,
  .filler-section h2,
  .antiaging-section h2,
  .wellness-section h2 {
    font-size: 38px;
    font-weight: 700;
    color: #0e3f56;
    margin-bottom: 20px;
  }

  /* Текст */
  .botox-section p,
  .filler-section p,
  .antiaging-section p,
  .wellness-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 28px;
    padding: 0;
  }

  /* Кнопка */
  .btn-learn {
    background-color: #92aa93;
    color: #fff;
    padding: 14px 34px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .btn-learn:hover {
    background-color: #7d987d;
    transform: translateY(-3px);
  }

  /* Чередование — фото слева/справа */
  .filler-section .container,
  .wellness-section .container {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* фото справа */
  }
  .filler-section .container > *,
  .wellness-section .container > * {
    direction: ltr;
  }
}


/* === 2) ДВЕ БОЛЬШИЕ ФОТО-ГОЛОВЫ: строим строкой и вменяемый размер === */
/* если в секции подряд идут два <img>, делаем из секции сетку 2x1 */
@media (min-width: 960px){
  section:has(> img + img){
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    justify-items: center;
    padding-block: 24px;     /* чуть воздуха */
  }
  section:has(> img + img) > img{
    width: 100%;
    max-width: 560px;        /* не больше этой ширины */
    max-height: 420px;       /* не выше этой высоты */
    object-fit: cover;
    border-radius: 14px;
    display: block;
  }
}

/* подстраховка, если вдруг :has не сработает в каком-то браузере */
@media (min-width: 960px){
  .faces-row, .double-photo, .two-photos{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items:center;
    justify-items:center;
  }
  .faces-row img, .double-photo img, .two-photos img{
    width:100%; max-width:560px; max-height:420px; object-fit:cover; border-radius:14px;
  }
}


/* === LIMIT extra-large face images === */
@media (min-width: 960px){
  section img {
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
  }
}


/* 4) Списки услуг — 2 колонки на ПК */
@media (min-width: 900px){
  .service-list{ max-width: 780px; column-count: 2; column-gap: 32px; }
  .service-list li{ break-inside: avoid; padding-right: 12px; }
}

/* 5) Крупные промо‑/продукт‑картинки — ограничить высоту */
@media (min-width: 900px){
  .botox-image img,
  .filler-image img,
  .antiaging-image img,
  .wellness-image img{
    max-width: 540px;
    max-height: 70vh;
    object-fit: cover;
    margin-inline:auto;
    border-radius:14px;
  }
}

/* 6) Отзывы и блог — аккуратные сетки */
@media (min-width: 900px){
  .reviews-section .container{
    display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:20px;
  }
  .reviews-section h2{ grid-column:1/-1; margin-bottom:10px; }
  .review-card{ margin:0; }
}
@media (min-width: 980px){
  .blog-section .container{
    display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:24px;
  }
  .blog-post{ margin:0; }
  .read-blog-wrapper{ grid-column:1/-1; }
}

/* ===== Location — PC layout ===== */
@media (min-width: 960px){
  .location-section{
    background: linear-gradient(135deg, #e9f6e2 0%, #f4fbef 100%);
    padding: 90px 40px;
    font-family: 'Poppins', sans-serif;
  }
  .location-content{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr; /* фото слева, текст справа */
    gap: 36px;
    align-items: center;
  }
  .location-img{
    width: 100%;
    border-radius: 22px;
    margin: 0;
    aspect-ratio: 4 / 3;      /* одинаковая высота на ПК */
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
  }
  .location-text h2{
    font-size: 36px;
    margin-bottom: 16px;
    color: #24495c;
    line-height: 1.25;
  }
  .location-text p{
    font-size: 18px;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 18px;
    max-width: 64ch;
  }
  .location-icon{ color:#5fb06a; margin-right:.4rem; }
}

/* ===== Footer — PC layout (расставляем существующие блоки по сетке) ===== */
@media (min-width: 960px){
  .footer{
    background-color:#758b92;
    color:#fff;
    padding: 70px 40px 30px;
    font-family:'Poppins',sans-serif;

    /* делаем сам footer сеткой и используем имеющиеся блоки как зоны */
    display:grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;
    grid-template-areas:
      "brand   brand   brand"
      "loc     hours   map"
      "bottom  bottom  bottom";
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
    text-align:left;
  }

  /* Брендовая зона (логотип + кнопка звонка) */
  .footer-inner{
    grid-area: brand;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: none;
    margin: 0;
    text-align:left;
  }
  .footer-logo{
    max-width: 160px;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
  }
  .footer-call-btn{
    margin: 0;
    padding: 14px 22px;
    border-radius: 10px;
    background:#c8ddb4;
    color:#1f2937;
    font-weight:700;
    transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
    box-shadow: 0 10px 24px rgba(200,221,180,.25);
  }
  .footer-call-btn:hover{ transform: translateY(-2px); box-shadow:0 14px 32px rgba(200,221,180,.35); }

  /* Локация / часы / карта — раскладываем по колонкам */
  .footer-location{ grid-area: loc; }
  .footer-hours{ grid-area: hours; }
  .footer-map{ grid-area: map; }

  .footer-location, .footer-hours{
    font-size: 16px;
    line-height: 1.7;
    color: #eef2f5;
  }
  .footer-location i, .footer-hours i{
    font-size: 18px;
    margin-bottom: 8px;
    opacity: .9;
  }

  .footer-map iframe{
    width: 100%;
    max-width: none;   /* снимаем ограничение 400px */
    height: 300px;
    border-radius: 12px;
    margin-top: 0;
    border: none;
    box-shadow: 0 10px 26px rgba(0,0,0,.15);
  }

  /* Низ футера */
  .footer-bottom{
    grid-area: bottom;
    font-size: 14px;
    margin-top: 8px;
    color: #dbe4ea;
    text-align:center;
  }
  .footer-bottom span{ opacity:.8; }
}

/* ===== Reviews — PC layout ===== */
@media (min-width: 960px){
  .reviews-section{
    background: linear-gradient(135deg,#eaf6fd 0%, #ffffff 100%);
    padding: 90px 40px;
    text-align: center;
  }

  .reviews-section .container{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
    align-items: stretch;
  }

  /* Заголовок на всю ширину сетки */
  .reviews-section h2{
    grid-column: 1 / -1;
    font-size: 34px;
    color: #0e3f56;
    margin: 0 0 10px;
    font-weight: 700;
  }

  /* Карточки — одинаковой высоты */
  .review-card{
    margin: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    padding: 22px;
    text-align: left;

    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .review-card:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0,0,0,.1);
  }

  .review-card h3{
    font-size: 18px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 6px;
  }

  .google-icon{
    width: 20px; height: 20px; margin-left: 10px; flex-shrink: 0;
  }

  .stars{
    color: #f4b400;
    font-size: 20px;
    margin: 6px 0 12px;
    letter-spacing: 1px;
  }

  .review-card p{
    font-size: 16.5px;
    color: #475569;
    line-height: 1.75;
    margin: 0;
  }
}

/* ===== Header — PC View ===== */
@media (min-width: 960px) {
  /* Прячем бургер и мобильное меню */
  .burger,
  .mobile-nav {
    display: none !important;
  }

  /* Делаем обычную нав-панель */
  .desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 3px 8px rgba(0,0,0,.04);
  }

  /* Лого слева */
  .desktop-nav .logo {
    max-height: 60px;
    display: block;
  }

  /* Меню */
  .desktop-menu {
    display: flex;
    gap: 28px;
  }
  .desktop-menu a {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 28px 0;
    position: relative;
  }
  .desktop-menu a:hover {
    color: #6a9e88;
  }
  .desktop-menu a::after {
    content: "";
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6a9e88;
    transition: width .3s ease;
  }
  .desktop-menu a:hover::after {
    width: 100%;
  }

  /* Телефон справа */
  .desktop-phone {
    font-size: 17px;
    font-weight: 700;
    color: #0e3f56;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(106,158,136,.08);
    padding: 10px 18px;
    border-radius: 8px;
    transition: background .3s ease;
  }
  .desktop-phone:hover {
    background: rgba(106,158,136,.15);
  }
  .desktop-phone i {
    color: #6a9e88;
    font-size: 20px;
  }
}

/* ==== Desktop header polish ==== */
@media (min-width: 960px) {
  /* показываем desktop-nav, прячем мобильный верх */
  .desktop-nav { display: grid; }
  .header-top,
  .mobile-nav { display: none !important; }

  /* сама шапка */
  .desktop-nav {
    --h: 76px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: var(--h);
    padding: 0 28px;
    border-bottom: 1px solid #eef1f3;
    background:#fff;
    position: sticky; top: 0; z-index: 100;
  }

  /* логотип */
  .desktop-nav .logo img {
    height: 34px;
    display: block;
  }
  /* если картинки-логотипа нет — текстовый логотип не развалится */
  .desktop-nav .logo { display:flex; align-items:center; gap:10px; font-weight:800; color:#0e3f56; text-decoration:none; }
  .desktop-nav .logo span { color:#6a9e88; font-weight:800; }

  /* меню */
  .desktop-menu {
    display: flex; gap: 28px;
  }
  .desktop-menu a {
    font-size: 15px; color:#354554; text-decoration:none; font-weight:600;
    padding: 8px 6px; border-radius: 8px; transition: .2s ease;
  }
  .desktop-menu a:hover { background:#f3f7f9; color:#0e3f56; }

  /* телефон справа как “кнопка” */
  .desktop-phone {
    justify-self: end;
    display: inline-flex; align-items:center; gap:10px;
    padding: 10px 14px; border-radius: 12px;
    background:#e8f2ec; color:#234138; font-weight:700; text-decoration:none;
    border:1px solid #d8e6de; transition:.2s ease;
  }
  .desktop-phone:hover { background:#dbeade; }
}

@media (min-width: 960px) {
  .desktop-menu a::after {
    content: "";
    position: absolute;
    bottom: 18px; /* <- из-за этого линия лезет на текст */
    left: 0;
    width: 0;
    height: 2px;
    background: #6a9e88;
    transition: width .3s ease;
  }
  .desktop-menu a:hover::after { width: 100%; }
}
@media (min-width: 960px){
  .desktop-menu a::after,
  .desktop-menu a:hover::after{
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}



/* корректный верхний отступ у hero, если шапка sticky */
@media (min-width: 960px) {
  .hero { padding-top: 28px; }
}



/* Мелкая подстройка для очень широких экранов */
@media (min-width: 1280px){
  .location-text h2{ font-size: 40px; }
  .footer-map iframe{ height: 340px; }

}

@media (min-width: 960px) {
  .hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
  .hero__copy {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 50px; /* меньшее смещение */
  }
}

/* 8) Карусель шире на десктопе */
@media (min-width: 900px){
  .treatment-carousel{ padding:56px 0; }
  .carousel{ max-width: 960px; }
  .carousel-slide{ padding: 0 20px; }
}

/* 9) Мелочь, но приятно */
@media (min-width: 1100px){
  .section-title{ font-size:28px; }
  .stars{ font-size:20px; }
  .popular-badge{ font-size:12px; padding:3px 10px; }
}

/* ===== Desktop Services Dropdown ===== */
@media (min-width: 960px){
  .desktop-nav { position: sticky; top: 0; z-index: 100; }
  .desktop-menu { position: relative; }

  .menu-item.has-sub {
    position: relative;
    display: flex;
    align-items: center;
  }

  .services-link {
    position: relative;
    padding: 8px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .services-link .caret{
    display:inline-block;
    width: 8px; height: 8px;
    border-right: 2px solid #6a9e88;
    border-bottom: 2px solid #6a9e88;
    transform: rotate(45deg);
    margin-top: 2px;
    transition: transform .2s ease;
  }

  /* Панель */
  .submenu{
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 22px;
    min-width: 760px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 26px 60px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    transform-origin: top center;
  }

  /* стрелочка-указатель */
  .menu-item.has-sub::after{
    content:"";
    position:absolute;
    left:50%; top: calc(100% + 8px);
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background:#fff;
    border-left:1px solid rgba(0,0,0,.06);
    border-top:1px solid rgba(0,0,0,.06);
    opacity:0; visibility:hidden; transition:.18s ease;
  }



  /* Контент внутри панели */
  .submenu-col h4{
    margin: 4px 0 10px;
    font-size: 14px;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #0e3f56;
  }
  .submenu-col a{
    display:block;
    padding: 8px 10px;
    margin: 2px 0;
    border-radius: 8px;
    color: #354554;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
  }
  .submenu-col a:hover{
    background:#f3f7f9;
    color:#0e3f56;
  }

  /* Чуть больше кликабельности и защита от “проклёва” */
  .menu-item.has-sub { padding-bottom: 14px; }
}


/* открытое состояние из JS */
@media (min-width:960px){
  .menu-item.has-sub.open .submenu{
    opacity:1; visibility:visible; pointer-events:auto;
    transform:translateX(-50%) translateY(0);
  }
  .menu-item.has-sub.open::after{ opacity:1; visibility:visible; }
  .menu-item.has-sub.open .services-link .caret{ transform:rotate(225deg); }

  /* убираем “прилипшую” подсветку */
  .services-link:focus,
  .services-link:active{
    background:transparent;
    outline:none;
    box-shadow:none;
  }
}
/* Открытое состояние (JS управляет классом .open) */
@media (min-width:960px){
  .menu-item.has-sub.open .submenu{
    opacity:1; visibility:visible; pointer-events:auto;
    transform:translateX(-50%) translateY(0);
  }
  .menu-item.has-sub.open::after{ opacity:1; visibility:visible; }
  .menu-item.has-sub.open .services-link .caret{ transform:rotate(225deg); }

  /* Кнопка не должна оставаться подсвеченной */
  .services-link:focus,
  .services-link:active{
    background:transparent; outline:none; box-shadow:none;
  }
}

/* === ВАЖНО: :hover работает ТОЛЬКО когда нет JS === */
@media (min-width:960px){
  html.no-js .menu-item.has-sub:hover .submenu,
  html.no-js .menu-item.has-sub:focus-within .submenu{
    opacity:1; visibility:visible; pointer-events:auto;
    transform:translateX(-50%) translateY(0);
  }
  html.no-js .menu-item.has-sub:hover::after,
  html.no-js .menu-item.has-sub:focus-within::after{ opacity:1; visibility:visible; }
  html.no-js .menu-item.has-sub:hover .services-link .caret{ transform:rotate(225deg); }
}

/* Выравниваем Services-кнопку под обычные ссылки */
.services-link {
  font: inherit;
  font-weight: 600;              /* как у ссылок */
  color: #354554;                /* тот же цвет, что у остальных */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;                      /* расстояние до caret */
  padding: 0 10px;               /* такой же внутренний отступ */
  line-height: 1.4;
  background: transparent;
  border: none;
  cursor: pointer;
  vertical-align: middle;        /* выравнивание по линии текста */
}

.services-link:hover {
  color: #0e3f56;                /* одинаковый hover с остальными */
}

.services-link .caret {
  margin-top: 2px;               /* подравнял стрелку */
}

@media (min-width:960px){
  .services-link {
    font-size: 15px;
    font-weight: 600;
    color: #354554;
    text-decoration: none;
    padding: 8px 6px;            /* такой же паддинг, как у ссылок */
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;     /* убираем “кнопочность” */
    border: none;
    cursor: pointer;

    line-height: 1.4;
  }

  .services-link:hover {
    background: #f3f7f9;
    color: #0e3f56;
  }

  .services-link:focus,
  .services-link:active {
    background: transparent;
    outline: none;
    box-shadow: none;
  }

  .services-link .caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor; /* цвет = цвет текста */
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin: 0; /* убираем лишний отступ */
    align-self: center; /* выравнивание по центру */
  }

  .menu-item.has-sub.open .services-link .caret {
    transform: rotate(225deg);
  }
}

/* === NAV ALIGN FIX (drop-in override) === */
@media (min-width: 960px){
  /* одинаковая высота кликабельной зоны у всех пунктов меню */
  .desktop-menu { display:flex; align-items:center; }
  .desktop-menu li { display:flex; align-items:center; }

  /* ссылки и Services выглядят одинаково */
  .desktop-menu a,
  .services-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    height: 44px;          /* единая высота */
    line-height: 44px;     /* базовая линия ровно по центру */
    padding: 0 12px;       /* одинаковые отступы */
    font-size: 15px;
    font-weight: 600;
    color:#354554;
    background: transparent;
    border: 0;
    border-radius: 8px;
    vertical-align: middle;
  }

  .desktop-menu a:hover,
  .services-link:hover{
    background:#f3f7f9;
    color:#0e3f56;
  }

  /* убираем тот самый лишний нижний паддинг у Services */
  .menu-item.has-sub{ padding: 0 !important; }

  /* стрелку центрируем, убираем сдвиг */
  .services-link .caret{
    width:8px; height:8px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform: rotate(45deg);
    margin:0;              /* было 2px сверху — долой */
    align-self:center;
  }

  /* на открытии просто вращаем, без сдвигов */
  .menu-item.has-sub.open .services-link .caret{
    transform: rotate(225deg);
  }

  /* на всякий случай — ни одной подчеркивающей линии снизу */
  .desktop-menu a::after{ content:none !important; }
}

html { scroll-behavior: smooth; }

/* чтобы не залезало под липкий header */
.welcome-text { scroll-margin-top: 90px; }  /* подгони под высоту шапки */


/* БАЗА: что видно по умолчанию на мобильном */
.desktop-nav { display: none; }          /* десктопную шапку прячем на мобиле */
.submenu { display: none; }              /* панель услуг не занимает места на мобиле */

/* если JS подключён — убираем класс no-js на старте (см. JS ниже) */
@media (min-width: 960px){
  .desktop-nav { display: grid; }        /* показать шапку только на десктопе */
  .burger, .mobile-nav, .header-top { display: none !important; }

  /* панель подменю по умолчанию спрятана, но позиционируется для десктопа */
  .submenu{
    display: grid;                       /* сетка включена */
    grid-template-columns: repeat(4, minmax(180px,1fr));
    gap: 22px;
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    transform: translateX(-50%) translateY(-6px);
    min-width: 760px;
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 26px 60px rgba(0,0,0,.12);
    opacity: 0; visibility: hidden; pointer-events: none;
    z-index: 400;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  /* открытое состояние (JS добавляет .open на .menu-item.has-sub) */
  .menu-item.has-sub.open .submenu{
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* === DESKTOP SUBMENU POLISH === */
@media (min-width: 960px){
  /* сама панель шире и центрируется; на маленьких экранах сжимается */
  .submenu{
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 980px;
    max-width: min(1160px, 86vw);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 26px 60px rgba(0,0,0,.12);
    display: grid;
    grid-template-columns: repeat(5, minmax(230px,1fr)); /* шире колонки */
    gap: 22px;
  }

  /* если вьюпорт узкий — переезжаем в 3 колонки, чтобы не ломать строки */
  @media (max-width: 1120px){
    .submenu{ grid-template-columns: repeat(3, minmax(230px,1fr)); }
  }

  .submenu-col h4{
    margin: 2px 0 10px;
    font-size: 13px;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #0e3f56;
  }

  /* ссылки в строку, ровная высота, без некрасивых переносов */
  .submenu-col a{
    display: flex;                /* даёт контроль над бейджем */
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    color:#354554;
    text-decoration:none;
    line-height: 1.35;
    word-break: keep-all;         /* не рвём слова */
    hyphens: manual;
    white-space: nowrap;          /* стараемся держать в одну строку */
    overflow: hidden;
    text-overflow: ellipsis;      /* если совсем не влезает */
    transition: background .15s ease, color .15s ease;
  }
  .submenu-col a:hover{ background:#f3f7f9; color:#0e3f56; }

  /* компактный бейдж — не ломает строку */
  .submenu-col a .popular-badge{
    flex: 0 0 auto;
    display: inline-block;
    margin-left: 2px;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1;
    border-radius: 6px;
    background:#ff3e3e;
    color:#fff;
  }
}
