/* ===================================================
   RA|RÉ — Responsive
   Breakpoints: tablet ≤1024px · mobile ≤767px
   =================================================== */

/* ─── GLOBAL: Premium button shape (replaces full-pill) ─── */
.pill-btn { border-radius: 10px !important; }
.mobile-nav-cta { border-radius: 10px !important; }
.sec-promos .promo-arr { border-radius: 50% !important; }
.promo-arr { border-radius: 50% !important; }

/* ─── HAMBURGER BUTTON ─────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; flex-shrink: 0;
  z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: #F3EEE8; border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity   0.25s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV OVERLAY ─────────────────────────── */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: #102f27;
  display: flex; flex-direction: column;
  padding: 0 clamp(20px, 6vw, 60px);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  height: 100dvh;
  max-height: 100dvh;
}
.mobile-nav-overlay.is-open { transform: translateX(0); }

.mobile-nav-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0 36px;
  border-bottom: 1px solid rgba(253,252,248,0.12);
  flex-shrink: 0;
}
.mobile-nav-top a { display: flex; align-items: center; }
.mobile-nav-top img { height: 28px; width: auto; }
.mobile-nav-close {
  background: none; border: none; cursor: pointer; padding: 6px;
  display: flex; align-items: center; justify-content: center;
}

.mobile-nav-links {
  display: flex; flex-direction: column;
  flex: 1; padding: 12px 0;
}
.mobile-nav-links a {
  font-size: clamp(24px, 7vw, 40px); font-weight: 500;
  color: #F3EEE8; text-decoration: none; font-style: normal;
  letter-spacing: -0.02em; line-height: 1;
  padding: 18px 0;
  border-bottom: 1px solid rgba(253,252,248,0.08);
  transition: color 0.2s;
  display: block;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:active { color: #568673; }
.mobile-nav-links a[style*="opacity:0.5"] { color: rgba(253,252,248,0.5) !important; }

.mobile-nav-bottom {
  padding: 32px 0 40px;
  display: flex; flex-direction: column; gap: 16px;
  flex-shrink: 0;
}
.mobile-nav-phone {
  font-size: 22px; font-weight: 500; color: #F3EEE8;
  text-decoration: none; letter-spacing: -0.02em;
}
.mobile-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #568673; color: #F3EEE8;
  border-radius: 100px; padding: 18px 32px;
  font-size: 18px; font-weight: 500; text-decoration: none;
  letter-spacing: -0.02em; font-family: inherit; border: none; cursor: pointer;
  transition: background 0.2s;
}
.mobile-nav-cta:hover { background: #4a7262; }

/* ─── HOMEPAGE PROMO CARDS — override styles.css collision ──── */
/* styles.css redefines .promo-card as an image flip-card with
   aspect-ratio:3/4. We scope to .sec-promos to restore the
   homepage bordered card design. */

/* ── Homepage promo cards — photo-top + white body (same as promos.html) ── */
.sec-promos .promo-card {
  position: static !important;
  display: flex !important; flex-direction: column !important;
  justify-content: flex-start !important;
  aspect-ratio: unset !important; overflow: hidden !important;
  border: none !important; border-radius: 20px !important; padding: 0 !important;
  height: auto !important; min-height: unset !important; background: #fff !important;
  text-decoration: none !important; cursor: pointer !important;
  box-shadow: 0 2px 20px rgba(53,40,26,0.08), 0 1px 4px rgba(53,40,26,0.05) !important;
  transition: box-shadow 0.35s, transform 0.35s !important;
}
.sec-promos .promo-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 52px rgba(53,40,26,0.15), 0 4px 14px rgba(53,40,26,0.08) !important;
}
.sec-promos .promo-card__img-wrap {
  position: relative !important; height: 220px !important;
  overflow: hidden !important; flex-shrink: 0 !important;
}
.sec-promos .promo-card__img {
  position: static !important; inset: unset !important;
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94) !important;
  display: block !important;
}
.sec-promos .promo-card:hover .promo-card__img { transform: scale(1.05) !important; }
.sec-promos .promo-card__img-overlay {
  position: absolute !important; inset: 0 !important;
  background: linear-gradient(to bottom, transparent 30%, rgba(16,47,39,0.5) 100%) !important;
  pointer-events: none !important;
}
.sec-promos .promo-card__body {
  padding: 18px 20px 20px !important;
  display: flex !important; flex-direction: column !important; flex: 1 !important;
}
.sec-promos .promo-card__top {
  background: transparent !important; padding: 0 !important;
  display: flex !important; justify-content: flex-end !important;
  align-items: center !important; margin-top: auto !important;
  position: static !important; z-index: auto !important;
}
.sec-promos .promo-tag {
  background: #568673 !important; color: #F3EEE8 !important;
  border: none !important; border-radius: 100px !important;
  padding: 9px 15px !important; font-size: 15px !important;
  font-weight: 500 !important; letter-spacing: -0.01em !important;
  line-height: 1 !important; margin-bottom: 0 !important;
  display: inline-block !important; backdrop-filter: none !important;
}
.sec-promos .promo-arr {
  color: #35281a !important; font-size: 15px !important;
  width: 36px !important; height: 36px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(53,40,26,0.18) !important;
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; flex-shrink: 0 !important;
  transition: background 0.2s, border-color 0.2s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.sec-promos .promo-card:hover .promo-arr {
  background: #568673 !important; border-color: #568673 !important;
  color: #fff !important; transform: rotate(-45deg) !important;
}
.sec-promos .promo-card__btm {
  flex: 1 !important; display: flex !important;
  flex-direction: column !important; gap: 7px !important;
  padding: 0 0 14px !important; position: static !important; z-index: auto !important;
}
.sec-promos .promo-card__title {
  font-size: 19px !important; font-weight: 500 !important;
  color: #35281a !important; letter-spacing: -0.02em !important;
  line-height: 1.25 !important; font-family: inherit !important; margin-bottom: 0 !important;
}
.sec-promos .promo-card__desc {
  font-size: 14px !important; color: #71685d !important;
  letter-spacing: -0.01em !important; line-height: 1.45 !important;
}

/* ─── TABLET ≤1024px ─────────────────────────────── */
@media (max-width: 1024px) {

  /* ── Global section spacing (tablet) ── */
  .sec-start, .sec-about, .sec-adv, .sec-promos,
  .sec-interior, .sec-results, .sec-booking, .sec-founder,
  .sec-spec, .sec-contacts { padding: 72px 0; }
  .sec-dir { padding: 72px 0 60px; }
  .spec-heading { margin-bottom: 48px; }

  /* Show hamburger; hide desktop nav */
  .nav-hamburger { display: flex; }
  .site-header__nav,
  .site-header__cta { display: none !important; }
  .site-hd__nav,
  .site-hd__cta { display: none !important; }
  /* Phone icon: push logo right so phone+burger are adjacent */
  .site-header__actions { gap: 16px; }
  .site-hd__actions { gap: 16px; }
  .site-hd__logo { margin-right: auto !important; }
  .site-header__logo { margin-right: auto !important; }

  /* ── Hero ── */
  .hero { height: clamp(480px, 65vw, 720px); }
  .hero__cta { padding: 22px 56px; }

  /* ── Services ── */
  .svc-cards { flex-wrap: wrap; }
  .svc-card { flex: 1 1 calc(50% - 12px); min-height: 220px; }

  /* ── About (index.html) ── */
  .about-inner { gap: 48px; }
  .about-photos { width: 44vw; min-width: 300px; height: clamp(380px, 52vw, 520px); }
  .about-ph--1 { width: 48%; height: 55%; }
  .about-ph--2 { top: 58%; width: 48%; height: 42%; }
  .about-ph--3 { left: 52%; width: 48%; height: 100%; }

  /* ── Directions mosaic ── */
  .dir-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 380px 260px 260px;
  }
  .dir-mosaic__card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .dir-mosaic__card:nth-child(2) { grid-column: 1;     grid-row: 2; }
  .dir-mosaic__card:nth-child(3) { grid-column: 2;     grid-row: 2; }
  .dir-mosaic__card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }

  /* ── Spec slider ── */
  .spec-card { flex: 0 0 calc(50% - 12px); }

  /* ── Spec grid (specialists/index.html) ── */
  .spec-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Founder ── */
  .founder-inner { gap: 56px; }
  .founder-photo { width: 360px; height: 490px; flex-shrink: 0; }

  /* ── Promos ── */
  .promo-cards { flex-wrap: wrap; }
  .promo-card { flex: 1 1 calc(50% - 12px); height: auto; min-height: 280px; }
  .sec-promos .promo-card { height: 300px !important; min-height: unset !important; }

  /* ── Service intro + desc-text buttons → stretch on tablet ── */
  .svc-intro-text .pill-btn,
  .desc-text .pill-btn {
    align-self: stretch !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 18px 28px !important;
    font-size: 18px !important;
  }

  /* ── Booking ── */
  .booking-inner { gap: 48px; }
  .booking-text { flex: 0 0 300px; }

  /* ── Contacts ── */
  .contacts-grid { min-height: 0 !important; grid-template-columns: 1fr !important; }
  .contacts-map { height: 360px !important; }
  .contacts-left { padding: 60px clamp(20px, 4.5vw, 72px); }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* ── Specialist detail hero ── */
  .spec-hero-inner { gap: 40px; }
  .spec-hero__photo { width: 340px; height: 460px; }

  /* ── Spec booking ── */
  .spec-booking-form { flex: 0 0 420px; }

  /* ── Spec other grid ── */
  .other-spec-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Spec services ── */
  .spec-svc-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Spec reviews ── */
  .spec-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── MOBILE ≤767px ─────────────────────────────── */
@media (max-width: 767px) {

  /* ── Global section spacing ── */
  .sec-start, .sec-about, .sec-adv, .sec-promos,
  .sec-interior, .sec-results, .sec-booking, .sec-founder,
  .sec-spec, .sec-contacts, .sec-cta,
  .sec-spec-page, .sec-articles, .sec-gallery, .sec-contact,
  .sec-edu, .sec-spec-svcs, .sec-spec-booking, .sec-spec-reviews,
  .sec-other-spec, .sec-video { padding: 60px 0; }
  .sec-dir { padding: 60px 0 48px; }
  .spec-hero { padding: 48px 0 60px; }

  /* ── Typography ── */
  .sec-h { font-size: clamp(26px, 7.5vw, 44px); }

  /* ── Hero ── */
  .hero { height: 100svh; min-height: 560px; }
  .hero__body { gap: 36px; padding-bottom: 64px; }
  .hero__body--left {
    align-items: center; text-align: center;
  }
  .hero__body--left .hero__headline { align-items: center; max-width: 100%; }
  .hero__body--left .hero__title,
  .hero__body--left .hero__sub { text-align: center; }
  .hero__title { font-size: clamp(26px, 8vw, 44px); }
  .hero__sub { font-size: clamp(15px, 4vw, 22px); max-width: 100%; }
  .hero__cta { padding: 18px 40px; font-size: clamp(16px, 4.5vw, 22px); width: 100%; justify-content: center; }
  .hero__controls { bottom: 20px; gap: 16px; }
  .hero__counter { font-size: 16px; }

  /* ── Services/Start ── */
  .sec-start .sec-h { margin-bottom: 40px; }
  .svc-cards { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .svc-card { min-height: 160px; }
  .svc-card__top { font-size: 20px; }
  .svc-card__name { font-size: 20px; }
  .svc-card__desc { font-size: 16px; }
  .sec-start__cta { padding: 14px 28px; font-size: 18px; }

  /* ── About (index.html mosaic) ── */
  .about-inner { flex-direction: column; gap: 40px; }
  .about-photos {
    width: 100% !important;
    height: 280px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 136px 136px;
    gap: 8px;
  }
  .about-ph {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important; height: 100% !important;
  }
  .about-ph--1 { grid-column: 1; grid-row: 1 / 3; }
  .about-ph--2 { grid-column: 2; grid-row: 1; }
  .about-ph--3 { grid-column: 2; grid-row: 2; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .about-stat__n { font-size: 36px; }
  .about-stat__l { font-size: 17px; }
  .about-body { font-size: 17px; }

  /* ── Advantages ── */
  .adv-row { flex-direction: column; gap: 40px; }
  .adv-item { padding: 0 0 40px; }
  .adv-item + .adv-item {
    border-top: 1px solid rgba(86,134,115,0.3);
    padding-top: 40px;
  }
  .adv-item + .adv-item::before { display: none; }
  .adv-icon { height: 130px; }
  .adv-icon img { max-height: 130px; max-width: 180px; }
  .adv-label { font-size: 20px; }

  /* ── Directions mosaic ── */
  .dir-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 240px 240px 240px;
  }
  .dir-mosaic__card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .dir-mosaic__card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .dir-mosaic__card:nth-child(3) { grid-column: 1; grid-row: 3; }
  .dir-mosaic__card:nth-child(4) { grid-column: 1; grid-row: 4; }
  .dir-mosaic__card { padding: 24px; }
  .dir-mosaic__card:nth-child(1) { padding: 28px; }
  .dir-head { margin-bottom: 32px; }
  .dir-heading { font-size: clamp(24px, 7vw, 40px); }
  .dir-all { font-size: 15px; }

  /* ── Spec slider (1 card visible) ── */
  .spec-card { flex: 0 0 78vw; height: 420px; }
  .spec-card__name { font-size: 20px; }
  .spec-card__role { font-size: 15px; }
  .spec-heading { margin-bottom: 40px; }
  .spec-dots { margin-top: 40px; }

  /* ── Spec grid (specialists/index.html) ── */
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid .spec-card { height: 380px; flex: none; }
  .sec-spec-page { padding: 60px 0; }

  /* ── Founder ── */
  .founder-inner { flex-direction: column; gap: 36px; }
  .founder-photo { width: 100%; height: clamp(300px, 75vw, 480px); }
  .founder-cnt { gap: 28px; }
  .founder-top { gap: 36px; }
  .founder-qi img { height: 36px; }
  .founder-quote { font-size: 17px; }
  .founder-name { font-size: clamp(28px, 8vw, 48px); }

  /* ── Promos ── */
  .promo-cards { flex-direction: column; gap: 12px; }
  .promo-card { height: auto; min-height: 0; }
  .sec-promos .promo-card { height: 260px !important; min-height: unset !important; }
  .sec-promos .promo-tag { font-size: 14px !important; padding: 8px 12px !important; }
  .sec-promos .promo-card__title { font-size: 17px !important; }
  .sec-promos .promo-card__desc { display: none !important; }
  .promo-card__desc { font-size: 16px; }
  .promos-cta { padding: 14px 28px; font-size: 20px; }

  /* ── Interior slider ── */
  .interior-img { height: clamp(220px, 55vw, 380px); }

  /* ── Results ── */
  .result-page { flex-direction: column; gap: 20px; }
  .result-photo { height: clamp(200px, 55vw, 380px); }
  .result-lbl { font-size: 18px; }

  /* ── Booking ── */
  .booking-inner { flex-direction: column; gap: 40px; }
  .booking-text { flex: none; width: 100%; }
  .booking-heading { font-size: clamp(26px, 7.5vw, 48px); margin-bottom: 16px; }
  .booking-desc { font-size: 17px; }
  .booking-field input { font-size: 18px; }
  .booking-svc-sel { font-size: 18px; }
  .booking-submit { font-size: 18px; padding: 20px; margin-top: 32px; }
  .booking-row { flex-direction: column; }

  /* ── Contacts ── */
  .contacts-grid { min-height: 0 !important; grid-template-columns: 1fr !important; }
  .contacts-left { padding: 48px clamp(20px, 4.5vw, 72px) 44px !important; gap: 0 !important; justify-content: flex-start !important; flex-direction: column; display: flex; }
  .contacts-left > .contacts-heading { margin-bottom: 32px !important; }
  .contacts-bottom { gap: 24px !important; }
  .contacts-heading { font-size: clamp(26px, 7vw, 44px); max-width: 100%; }
  .contacts-info p { font-size: 17px; }
  .contacts-links { flex-direction: column; gap: 10px; }
  .contacts-links a { font-size: 17px; }
  .contacts-map { height: 320px !important; order: -1; }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-col h3 { font-size: 22px; margin-bottom: 16px; }
  .footer-phone { font-size: 24px; }
  .footer-copy { font-size: 17px; margin-top: 28px; }
  .footer-links a { font-size: 16px; }

  /* ── Specialist DETAIL hero ── */
  .spec-hero-inner { flex-direction: column; gap: 32px; }
  .spec-hero__photo {
    width: 100% !important; flex-shrink: 1;
    height: clamp(300px, 90vw, 480px);
    border-radius: 16px;
  }
  .spec-hero__name { font-size: clamp(32px, 9vw, 60px); }
  .spec-hero__role { font-size: 14px; }
  .spec-hero__stats { gap: 20px; flex-wrap: wrap; }
  .spec-stat__num { font-size: 36px; }
  .spec-stat__label { font-size: 14px; }
  .spec-hero__bio { font-size: 16px; }
  .spec-hero__tags { gap: 8px; }
  .spec-tag { font-size: 13px; padding: 7px 14px; }
  .spec-hero__actions { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── Spec services grid ── */
  .spec-svc-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .spec-svc-card { padding: 24px 20px; }

  /* ── Spec reviews ── */
  .spec-reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .spec-rev-card { padding: 24px; }

  /* ── Spec booking ── */
  .spec-booking-inner { flex-direction: column; gap: 36px; }
  .spec-booking-form { flex: none; width: 100%; padding: 32px 24px; }
  .spec-booking-text h2 { font-size: clamp(26px, 7.5vw, 48px); }
  .spec-booking-text p { font-size: 16px; }

  /* ── Other specialists grid ── */
  .other-spec-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .other-spec-card { height: 260px; }
  .other-spec-card__name { font-size: 17px; }
  .other-spec-card__role { font-size: 13px; }

  /* ── Video section ── */
  .video-inner { flex-direction: column; gap: 32px; }
  .video-frame { width: 100%; height: clamp(190px, 55vw, 315px); flex-shrink: 1; }

  /* ── Education section ── */
  .edu-item { gap: 16px; padding: 24px 0; }
  .edu-year { width: 72px; font-size: 15px; }
  .edu-title { font-size: 18px; }
  .edu-desc { font-size: 15px; }

  /* ── Inner hero (subpages) ── */
  .inner-hero { height: clamp(220px, 50vw, 360px); }
  .inner-hero__title { font-size: clamp(36px, 9vw, 72px); }
  .inner-hero__cnt { padding-bottom: 40px; }

  /* ── Page hero (about page) ── */
  .page-hero { height: clamp(220px, 50vw, 360px); }
  .page-hero__title { font-size: clamp(36px, 9vw, 72px); }

  /* ── About page specific ── */
  .about-photo-wrap { height: clamp(200px, 55vw, 360px); }
  .about-text__heading { font-size: clamp(26px, 7.5vw, 48px); }
  .about-text__body { font-size: 16px; }

  /* ── Gallery ── */
  .gallery-slide { padding: 0; border-radius: 12px; overflow: hidden; }

  /* ── Articles ── */
  .articles-grid { grid-template-columns: 1fr !important; }
  .article-card { min-height: 260px; }

  /* ── Contact section (about page) ── */
  .contact-details { flex-direction: column; gap: 24px; }
  .contact-heading { font-size: clamp(26px, 7.5vw, 48px); }

  /* ── CTA section ── */
  .cta-heading { font-size: clamp(26px, 7.5vw, 48px); }
  .cta-sub { font-size: 16px; }

  /* ── Gift/Certificates ── */
  .gift-cards { flex-direction: column !important; gap: 12px; }
  .gift-card { flex: none !important; }

  /* ── Booking form (subpages) ── */
  .booking-left { flex: none; width: 100%; }
  .form-row { flex-direction: column; gap: 0; }
}

/* ===================================================
   RA|RÉ — Page-specific responsive: tablet + mobile
   Appended after base breakpoints so cascade wins
   =================================================== */

/* ─── TABLET ≤1024px — page extras ─────────────────── */
@media (max-width: 1024px) {

  /* ── Services page grid → 1 col on tablet ── */
  .svc-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .svc-big-card { min-height: 0; }
  .svc-big-card__img { height: 280px; }
  .svc-big-card__title { font-size: clamp(20px, 2.4vw, 32px) !important; }

  /* ── Promos page grid → 2 cols on tablet ── */
  .promo-cards-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px; margin-top: 56px; }
  .promo-card__img { height: 200px; }
  .promo-card__title { font-size: 20px !important; }
  .promo-card__desc { font-size: 16px !important; }

  /* ── Footer — shrink heavy type ── */
  .footer-logo img { height: 80px !important; }
  .footer-col h3 { font-size: 24px !important; margin-bottom: 16px !important; }
  .footer-phone { font-size: 26px !important; }
  .footer-copy { font-size: 18px !important; }
  .footer-links a { font-size: 16px !important; }

  /* ── CTA section ── */
  .sec-cta { padding: 80px 0 !important; }
  .cta-heading { font-size: clamp(30px, 4.2vw, 60px) !important; margin-bottom: 36px !important; }

  /* ── Prices page ── */
  .sec-prices { padding: 80px 0; }
  .price-block__title { font-size: clamp(22px, 2.5vw, 36px) !important; }
  .price-table td { font-size: 17px; padding: 16px 0; }

  /* ── Header sub-pages (site-hd) ── */
  .site-hd { padding: 22px var(--gutter); }
}

/* ─── MOBILE ≤767px — page extras ──────────────────── */
@media (max-width: 767px) {

  /* ── Index: tighten heavy section margins ── */
  .sec-start { padding: 56px 0 !important; }
  .sec-start .sec-h { margin-bottom: 36px !important; }
  .sec-about { padding: 56px 0 !important; }
  .sec-adv   { padding: 56px 0 !important; }
  .sec-dir   { padding: 56px 0 36px !important; }
  .sec-spec  { padding: 56px 0 !important; }
  .sec-founder { padding: 56px 0 !important; }
  .sec-results  { padding: 56px 0 !important; }
  .sec-interior { padding: 56px 0 !important; }
  .sec-booking  { padding: 56px 0 !important; }

  /* ── Index svc-card: styled compact cards ── */
  .svc-card {
    border-radius: 16px !important;
    box-shadow: 0 2px 14px rgba(53,40,26,0.07) !important;
    border-color: rgba(53,40,26,0.14) !important;
    padding: 22px 18px !important;
  }
  .svc-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px !important;
  }
  .svc-card__name { font-size: 19px !important; }
  .svc-card__top  { font-size: 19px !important; }

  /* ── Price block: visual accent on section titles ── */
  .price-block__title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    letter-spacing: -0.01em;
  }

  /* ── Spec grid on specialists page ── */
  .spec-grid { grid-template-columns: 1fr !important; }
  .spec-grid .spec-card { height: 360px !important; }

  /* ── Mobile booking section: compact submit button ── */
  .booking-submit { margin-top: 24px !important; font-size: 17px !important; padding: 18px !important; }

  /* ── Services page: 1-column cards, hide long lists ── */
  .svc-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .svc-big-card {
    min-height: 0;
    border-radius: 18px !important;
    border: 1px solid rgba(53,40,26,0.12) !important;
    box-shadow: 0 2px 16px rgba(53,40,26,0.06), 0 1px 4px rgba(53,40,26,0.04) !important;
    overflow: hidden;
  }
  .svc-big-card__img { height: clamp(200px, 54vw, 260px); position: relative; }
  .svc-big-card__body {
    padding: 20px 18px 22px;
    justify-content: center !important;
    gap: 0;
  }
  .svc-big-card__title { font-size: 20px !important; line-height: 1.15; }
  .svc-big-card__arr { font-size: 24px !important; color: var(--c-accent, #568673) !important; }
  .svc-big-card__list { display: none !important; }  /* too much text on mobile */
  .svc-big-card__top { margin-bottom: 0 !important; align-items: center !important; }
  .sec-services { padding: 56px 0; }
  .sec-services .sec-h { margin-bottom: 36px; }

  /* ── Promos page: single column, hide description ── */
  .promo-cards-grid { grid-template-columns: 1fr !important; gap: 14px; margin-top: 36px; }
  .promo-card {
    border-radius: 18px !important;
    border: 1px solid rgba(53,40,26,0.12) !important;
    box-shadow: 0 2px 16px rgba(53,40,26,0.06) !important;
    overflow: hidden;
  }
  .promo-card__img { height: clamp(200px, 54vw, 260px); }
  .promo-card__body { padding: 18px 18px 20px; gap: 10px; }
  .promo-card__desc { display: none !important; } /* hide on mobile */
  .promo-card__title { font-size: 19px !important; line-height: 1.2; }
  .promo-tag { font-size: 17px !important; padding: 10px 14px !important; }
  .promo-arr { font-size: 22px !important; color: var(--c-accent, #568673) !important; }
  .sec-promos-page { padding: 56px 0; }

  /* ── Prices page: table → stacked rows ── */
  .sec-prices { padding: 56px 0; }
  .price-block { margin-bottom: 40px; }
  .price-block__title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
  }
  .price-table      { display: block; width: 100%; }
  .price-table tbody { display: block; }
  .price-table tr {
    display: flex;
    flex-direction: column;
    padding: 14px 0;
    border-bottom: 1px solid rgba(53,40,26,0.1);
  }
  .price-table tr:last-child { border-bottom: none; }
  .price-table td {
    display: block;
    padding: 0;
    width: 100% !important;
    border: none;
    vertical-align: top;
  }
  .price-table td:first-child {
    font-size: 15px;
    line-height: 1.45;
    white-space: normal;
    color: var(--c-text, #35281a);
  }
  .price-table td:last-child {
    text-align: left !important;
    font-size: 17px;
    font-weight: 600;
    color: var(--c-accent, #568673);
    white-space: normal !important;
    margin-top: 5px;
  }
  .price-note { font-size: 12px; }
  .price-disclaimer { padding: 20px; margin-top: 24px; border-radius: 12px; }
  .price-disclaimer p { font-size: 14px; line-height: 1.55; }

  /* ── About page: booking form + contact section ── */
  .booking-inner    { grid-template-columns: 1fr !important; gap: 32px !important; }
  .form-row         { grid-template-columns: 1fr !important; gap: 16px !important; }
  .sec-contact      { grid-template-columns: 1fr !important; }
  .contact-map      { min-height: 280px !important; }
  .contact-info     { padding: 48px var(--gutter) !important; gap: 32px !important; }
  .about-stats      { grid-template-columns: 1fr !important; border-bottom: none !important; }
  .about-stat       { border-right: none !important; border-bottom: 1px solid rgba(53,40,26,0.12) !important; padding: 20px 0 !important; }
  .about-stat:last-child { border-bottom: none !important; }
  .about-stat__n    { font-size: clamp(40px, 11vw, 64px) !important; }
  .booking-form     { padding: 24px 20px !important; border-radius: 16px !important; }

  /* ── About page: compress photo, truncate long body text ── */
  .about-photo-wrap {
    height: clamp(180px, 50vw, 300px) !important;
    margin-bottom: 36px !important;
    border-radius: 10px !important;
  }
  .about-text { gap: 24px !important; }
  .about-text__heading { font-size: clamp(26px, 7.5vw, 44px) !important; }
  .about-text__body {
    font-size: 15px;
    line-height: 1.65;
    max-height: none;
    overflow: visible;
  }
  .about-text__body::after { display: none; }

  /* ── Founder: show only first quote paragraph ── */
  .founder-quote p:nth-child(n+2) { display: none; }

  /* ── Inner hero (all sub-pages) ── */
  .inner-hero { height: clamp(180px, 44vw, 290px) !important; }
  .inner-hero__title { font-size: clamp(30px, 8.5vw, 52px) !important; }
  .inner-hero__cnt { padding-bottom: 24px !important; }

  /* ── Page hero (about) ── */
  .page-hero { height: clamp(180px, 44vw, 290px) !important; }
  .page-hero__title { font-size: clamp(30px, 8.5vw, 52px) !important; }

  /* ── CTA section all pages ── */
  .sec-cta { padding: 60px 0 !important; }
  .cta-heading { font-size: clamp(26px, 7.5vw, 44px) !important; margin-bottom: 28px !important; }

  /* ── Footer all pages — consistent compact style ── */
  .site-footer { padding: 52px 0 36px !important; }
  .footer-grid { gap: 28px !important; }
  .footer-logo { margin-bottom: 14px !important; }
  .footer-logo img { height: 52px !important; }
  .footer-tagline { font-size: 14px !important; margin-bottom: 14px !important; }
  .footer-phone { font-size: 20px !important; margin-bottom: 4px !important; }
  .footer-addr { font-size: 14px !important; }
  .footer-col h3 { font-size: 18px !important; margin-bottom: 12px !important; }
  .footer-links { gap: 10px !important; }
  .footer-links a { font-size: 14px !important; }
  .footer-copy { font-size: 13px !important; margin-top: 20px !important; }

  /* ── Sub-page header ── */
  .site-hd { padding: 18px var(--gutter); }
  .site-hd__logo img { height: 28px !important; }

  /* ── About page: contact section ── */
  .sec-contact { padding: 56px 0 !important; }

  /* ── Articles ── */
  .sec-articles { padding: 56px 0 !important; }

  /* ── Certificates ── */
  .sec-edu { padding: 56px 0 !important; }

  /* ════════════════════════════════════════════════
     CERTIFICATES PAGE
  ════════════════════════════════════════════════ */
  .sec-gift { padding: 56px 0 !important; }
  .sec-gift p { font-size: 16px !important; margin-bottom: 28px !important; max-width: 100% !important; }
  .gift-cards { grid-template-columns: 1fr !important; gap: 14px !important; margin-top: 32px !important; }
  .gift-card { padding: 28px 22px !important; gap: 16px !important; }
  .gift-amount { font-size: clamp(44px, 13vw, 64px) !important; }
  .gift-label { font-size: 15px !important; }
  .gift-btn { font-size: 16px !important; padding: 14px 28px !important; }

  /* ════════════════════════════════════════════════
     REVIEWS PAGE
  ════════════════════════════════════════════════ */
  .sec-platforms { padding: 48px 0 !important; }
  .platforms-grid { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 28px !important; }
  .platform-card { padding: 22px 18px !important; }
  .platform-card__name { font-size: 17px !important; }
  .platform-card__score { font-size: 36px !important; }
  .platform-card__stars { font-size: 18px !important; }
  .platform-card__count { font-size: 15px !important; }
  .sec-reviews { padding: 56px 0 !important; }
  .sec-reviews .sec-h { margin-bottom: 36px !important; }
  .reviews-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .review-card { padding: 22px 18px !important; gap: 14px !important; border-radius: 14px !important; }
  .review-text { font-size: 15px !important; line-height: 1.55 !important; }
  .review-name { font-size: 15px !important; }
  .review-stars { font-size: 16px !important; }

  /* ════════════════════════════════════════════════
     SPECIALISTS INDEX PAGE
  ════════════════════════════════════════════════ */
  .sec-spec-page { padding: 56px 0 !important; }
  .sec-spec-page .sec-h { margin-bottom: 36px !important; }
  .spec-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .spec-card__photo { height: clamp(280px, 80vw, 380px) !important; }
  .spec-card__name { font-size: 20px !important; }
  .spec-card__role { font-size: 14px !important; }
  .spec-card__info { padding: 18px 20px 22px !important; }

  /* ════════════════════════════════════════════════
     SERVICE DETAIL PAGES (smas, injections, laser…)
  ════════════════════════════════════════════════ */
  /* bullets */
  .sec-bullets { padding: 56px 0 !important; }
  .bullets-grid { grid-template-columns: 1fr !important; gap: 20px !important; margin-top: 36px !important; }
  .bullet-title { font-size: 18px !important; }
  .bullet-text { font-size: 15px !important; }

  /* description (photo + text) */
  .sec-desc { padding: 56px 0 !important; }
  .desc-inner { flex-direction: column !important; gap: 32px !important; }
  .desc-photo { width: 100% !important; height: clamp(240px, 68vw, 380px) !important; flex-shrink: 1 !important; }
  .desc-body { font-size: 15px !important; line-height: 1.6 !important; }
  .svc-list li { font-size: 15px !important; }

  /* before/after */
  .sec-before-after { padding: 56px 0 !important; }
  .ba-grid { grid-template-columns: 1fr !important; gap: 20px !important; margin-top: 36px !important; }

  /* service promo band */
  .sec-promo-svc { padding: 56px 0 !important; }
  .promo-inner { flex-direction: column !important; gap: 28px !important; align-items: flex-start !important; }
  .promo-text h2 { font-size: clamp(24px, 7vw, 40px) !important; margin-bottom: 10px !important; }
  .promo-text p { font-size: 15px !important; }
  .promo-cta { align-items: flex-start !important; }
  .promo-phone { font-size: 18px !important; }

  /* service reviews grid */
  .sec-svc-reviews { padding: 56px 0 !important; }
  .svc-reviews-grid { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 36px !important; }
  .svc-rev-text { font-size: 15px !important; }
  .svc-rev-card { padding: 22px 18px !important; }

  /* service specialists grid */
  .sec-svc-specs { padding: 56px 0 !important; }
  .svc-spec-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; margin-top: 36px !important; }
  .svc-spec-card { height: 260px !important; }
  .svc-spec-name { font-size: 16px !important; }
  .svc-spec-role { font-size: 13px !important; }

  /* service price table */
  .sec-price { padding: 56px 0 !important; }
  .sec-price .price-table { margin-top: 36px !important; }

  /* service booking form */
  .sec-booking { padding: 56px 0 !important; }
  .booking-inner { flex-direction: column !important; gap: 32px !important; }
  .booking-form { flex: none !important; width: 100% !important; padding: 24px 18px !important; }
  .booking-text h2 { font-size: clamp(24px, 7.5vw, 40px) !important; }
  .booking-text p { font-size: 15px !important; }
  .booking-contact a { font-size: 20px !important; }
  .form-input, .form-select, .form-textarea { font-size: 16px !important; padding: 13px 14px !important; }

  /* FAQ */
  .sec-faq { padding: 56px 0 !important; }
  .faq-list { margin-top: 36px !important; }
  .faq-question { font-size: 16px !important; padding: 18px 0 !important; }
  .faq-answer-inner { font-size: 15px !important; }

  /* pairs/combos */
  .sec-pairs { padding: 56px 0 !important; }
  .pairs-grid { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 36px !important; }
  .pair-card { padding: 22px 18px !important; }
  .pair-card__title { font-size: 18px !important; }
  .pair-card__desc { font-size: 14px !important; }

  /* video */
  .sec-video-svc { padding: 56px 0 !important; }
  .video-wrap { margin-top: 28px !important; }
}

/* ─── TABLET ≤1024px — additional pages ────────────────────── */
@media (max-width: 1024px) {

  /* ── Certificates ── */
  .gift-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .gift-amount { font-size: clamp(52px, 7vw, 88px) !important; }

  /* ── Reviews ── */
  .reviews-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }

  /* ── Specialists ── */
  .spec-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .spec-card__photo { height: 340px !important; }

  /* ── Service detail ── */
  .bullets-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
  .desc-inner { flex-direction: column !important; gap: 36px !important; }
  .desc-photo { width: 100% !important; height: clamp(300px, 45vw, 500px) !important; }
  .ba-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .svc-reviews-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .svc-spec-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
  .pairs-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
  .booking-inner { flex-direction: column !important; gap: 40px !important; }
  .booking-form { flex: none !important; width: 100% !important; max-width: 600px !important; }

  /* ── Promo detail pages (tablet) ── */
  .promo-layout { grid-template-columns: 1fr 320px !important; gap: 48px !important; }
  .promo-heading { font-size: clamp(28px, 4vw, 56px) !important; }
  .promo-desc { font-size: 18px !important; }

  /* ── About page booking (tablet) ── */
  .booking-inner { grid-template-columns: 1fr 1fr !important; }
  .form-row { grid-template-columns: 1fr 1fr !important; }
  .about-stats { grid-template-columns: repeat(3, 1fr) !important; }

  /* ── Footer grid — force 2-col at tablet (overrides inline CSS) ── */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }

  /* ── Specialist detail hero — reduce photo, keep side-by-side ── */
  .spec-hero-inner { gap: 40px !important; }
  .spec-hero__photo { width: 280px !important; height: 380px !important; flex-shrink: 0 !important; }
  .spec-hero__name { font-size: clamp(32px, 4vw, 64px) !important; }

  /* ── svc-intro layout (laser, injections, skin, lifts, spa pages) ── */
  .svc-intro-inner { flex-direction: column !important; gap: 40px !important; }
  .svc-intro-photo { width: 100% !important; height: clamp(280px, 45vw, 480px) !important; }
  .svc-body { font-size: 18px !important; }
  .svc-list li { font-size: 17px !important; }
}

/* ─── GLOBAL overflow guard ─────────────────────────────────── */
/* Applied at all widths — prevents any stray element from      */
/* creating horizontal scroll (especially on subpages where     */
/* responsive.css loads before inline <style>)                  */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden !important; }
}

/* ─── MOBILE ≤767px — FINAL overrides (must be last) ───────── */
/* Ensures mobile 1-col rules beat any preceding ≤1024px block  */
@media (max-width: 767px) {
  /* grids → 1 col */
  .gift-cards        { grid-template-columns: 1fr !important; }
  .reviews-grid      { grid-template-columns: 1fr !important; }
  .platforms-grid    { grid-template-columns: 1fr !important; }
  .spec-grid         { grid-template-columns: 1fr !important; }
  .bullets-grid      { grid-template-columns: 1fr !important; }
  .ba-grid           { grid-template-columns: 1fr !important; }
  .svc-reviews-grid  { grid-template-columns: 1fr !important; }
  .pairs-grid        { grid-template-columns: 1fr !important; }

  /* specialist detail */
  .spec-svc-grid     { grid-template-columns: 1fr !important; gap: 12px !important; margin-top: 32px !important; }
  .spec-reviews-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .spec-rev-card     { padding: 22px 18px !important; }
  .spec-rev-text     { font-size: 15px !important; }
  .other-spec-grid   { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .other-spec-card   { height: 240px !important; }

  /* specialist hero → column */
  .spec-hero-inner   { flex-direction: column !important; gap: 28px !important; }
  .spec-hero__photo  { width: 100% !important; height: clamp(280px, 85vw, 420px) !important; }
  .spec-hero__name   { font-size: clamp(32px, 9vw, 56px) !important; }
  .spec-hero__stats  { gap: 20px !important; flex-wrap: wrap !important; }
  .spec-stat__num    { font-size: 36px !important; }
  .spec-hero__bio    { font-size: 15px !important; }
  .spec-hero__actions{ flex-direction: column !important; align-items: flex-start !important; }
  .spec-hero         { padding: 48px 0 56px !important; }

  /* specialist booking → column */
  .spec-booking-inner{ flex-direction: column !important; gap: 32px !important; }
  .spec-booking-form { flex: none !important; width: 100% !important; padding: 24px 18px !important; }
  .spec-booking-text h2 { font-size: clamp(24px, 7.5vw, 40px) !important; }
  .spec-booking-contact a { font-size: 20px !important; }
  .sec-spec-booking  { padding: 56px 0 !important; }
  .sec-spec-svcs     { padding: 56px 0 !important; }
  .sec-spec-reviews  { padding: 56px 0 !important; }
  .sec-other-spec    { padding: 56px 0 !important; }
  .sec-video         { padding: 56px 0 !important; }
  .sec-edu           { padding: 56px 0 !important; }

  /* flex → column */
  .desc-inner        { flex-direction: column !important; }
  .desc-photo        { width: 100% !important; height: clamp(240px, 68vw, 360px) !important; }
  .promo-inner       { flex-direction: column !important; }
  .booking-inner     { flex-direction: column !important; }
  .booking-form      { width: 100% !important; max-width: 100% !important; }
  .gift-amount       { font-size: clamp(44px, 13vw, 64px) !important; }

  /* ── Footer: force 1-col on ALL subpages ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-col h3  { font-size: 18px !important; margin-bottom: 10px !important; }
  .footer-links   { gap: 10px !important; }
  .footer-links a { font-size: 14px !important; }
  .footer-phone   { font-size: 20px !important; }
  .footer-copy    { font-size: 13px !important; margin-top: 16px !important; }
  .footer-logo img{ height: 52px !important; }
  .site-footer    { padding: 48px 0 32px !important; }

  /* ── Video frame: full width on mobile ── */
  .video-inner  { flex-direction: column !important; gap: 28px !important; }
  .video-frame  { width: 100% !important; flex-shrink: 1 !important;
                  height: clamp(190px, 55vw, 310px) !important; }

  /* ── Prevent any remaining wide fixed elements ── */
  .wrap, .container { overflow-x: hidden !important; }
  img { max-width: 100% !important; }

  /* ── Specialist detail hero → full column on mobile ── */
  .spec-hero        { padding: 48px 0 56px !important; }
  .spec-hero-inner  { flex-direction: column !important; gap: 24px !important; }
  .spec-hero__photo { width: 100% !important; height: clamp(260px, 80vw, 400px) !important; flex-shrink: 1 !important; }
  .spec-hero__name  { font-size: clamp(30px, 8.5vw, 52px) !important; }
  .spec-hero__stats { gap: 20px !important; flex-wrap: wrap !important; }
  .spec-stat__num   { font-size: 36px !important; }
  .spec-hero__bio   { font-size: 15px !important; }
  .spec-hero__actions { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }

  /* ── Education timeline → stack year above content ── */
  .edu-item  { flex-direction: column !important; gap: 4px !important; padding: 20px 0 !important; }
  .edu-year  { width: auto !important; font-size: 14px !important; }
  .edu-title { font-size: 16px !important; overflow-wrap: break-word !important; }
  .edu-desc  { font-size: 14px !important; overflow-wrap: break-word !important; }

  /* ── svc-intro layout mobile ── */
  .sec-svc-intro    { padding: 56px 0 !important; }
  .svc-intro-inner  { flex-direction: column !important; gap: 28px !important; }
  .svc-intro-photo  { width: 100% !important; height: clamp(220px, 62vw, 340px) !important; }
  .svc-body         { font-size: 15px !important; line-height: 1.6 !important; }
  .svc-list li      { font-size: 15px !important; }
  .svc-intro-text   { gap: 24px !important; }

  /* ── Specialists grid mobile — 1 col ── */
  .spec-grid        { grid-template-columns: 1fr !important; gap: 16px !important; }
  .spec-card__photo { height: clamp(240px, 70vw, 320px) !important; }
  .spec-card__name  { font-size: 18px !important; }
  .spec-card__role  { font-size: 14px !important; }

  /* ════════════════════════════════════════════════
     PROMO DETAIL PAGES (first-visit, smas-lifting…)
  ════════════════════════════════════════════════ */
  .sec-promo          { padding: 56px 0 !important; }
  .promo-layout       { grid-template-columns: 1fr !important; gap: 40px !important; }
  .promo-card         { position: static !important; padding: 28px 24px !important; }
  .promo-badge        { font-size: 20px !important; padding: 12px 22px !important; margin-bottom: 24px !important; }
  .promo-heading      { font-size: clamp(26px, 8vw, 44px) !important; margin-bottom: 20px !important; }
  .promo-desc         { font-size: 16px !important; margin-bottom: 32px !important; }
  .promo-benefit      { font-size: 16px !important; gap: 12px !important; }
  .promo-benefit__icon{ width: 22px !important; height: 22px !important; flex-shrink: 0 !important; }
  .promo-terms        { margin-top: 32px !important; padding-top: 32px !important; }
  .promo-terms h3     { font-size: 20px !important; margin-bottom: 16px !important; }
  .promo-terms ul li  { font-size: 15px !important; }
  .promo-card__price  { font-size: 40px !important; }
  .promo-card__price-note { font-size: 15px !important; margin-bottom: 20px !important; }
  .promo-benefits     { gap: 12px !important; margin-bottom: 32px !important; }

  /* ── promos.html page responsive ── */
  .sec-promos-page    { padding: 56px 0 !important; }
}

/* ── ABOUT PAGE — final mobile overrides (must beat all tablet rules) ── */
@media (max-width: 767px) {
  .booking-inner  { grid-template-columns: 1fr !important; }
  .form-row       { grid-template-columns: 1fr !important; gap: 16px !important; }
  .sec-contact    { grid-template-columns: 1fr !important; }
  .contact-map    { min-height: 280px !important; }
  .about-stats    { grid-template-columns: 1fr !important; }
  .about-stat     { border-right: none !important; border-bottom: 1px solid rgba(53,40,26,0.12) !important; padding: 20px 0 !important; }
  .about-stat:last-child { border-bottom: none !important; }
  .about-stat__n  { font-size: clamp(44px, 12vw, 72px) !important; }
  .booking-form   { padding: 24px 20px !important; border-radius: 16px !important; }
  .sec-booking    { padding: 48px 0 !important; }
}

/* ── GLOBAL MOBILE POLISH — final block ─────────────────────────── */
@media (max-width: 767px) {

  /* Nav: phone icon + logo alignment */
  .site-hd { justify-content: flex-start !important; }
  .site-header { justify-content: flex-start !important; }

  /* All pill buttons — prevent 2-line wrapping */
  .pill-btn { white-space: nowrap !important; }
  .form-submit { white-space: normal !important; }

  /* Mobile nav CTA button — reduce height */
  .mobile-nav-cta { padding: 14px 28px !important; font-size: 17px !important; }

  /* Hero CTA compact */
  .hero__cta { padding: 16px 28px !important; font-size: 16px !important; }

  /* CTA sections — smaller buttons on mobile */
  .sec-cta .pill-btn { font-size: 16px !important; padding: 14px 28px !important; }
  .sec-cta a[href^="tel"] { font-size: 17px !important; }

  /* Service page intro button — centered, compact */
  .svc-intro-text .pill-btn {
    align-self: stretch !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    text-align: center !important;
  }
  /* smas.html: CTA in sec-bullets */
  .sec-bullets .wrap > a.pill-btn {
    align-self: stretch !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
  }

  /* service pages: zones/prices list → compact on mobile */
  .sec-procedures { padding: 48px 0 !important; }
  .proc-list { margin-top: 28px !important; }
  .proc-row { gap: 14px !important; padding: 16px 0 !important; }
  .proc-desc { display: none !important; }
  .proc-name { font-size: 15px !important; }
  .proc-price { font-size: 15px !important; }

  /* Services page: specialist cards — horizontal scroll */
  .svc-spec-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    margin-top: 32px !important;
    padding-bottom: 8px !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
  }
  .svc-spec-grid::-webkit-scrollbar { display: none; }
  .svc-spec-card {
    flex: 0 0 180px !important;
    height: 220px !important;
    scroll-snap-align: start !important;
    border-radius: 14px !important;
  }
  .svc-spec-name { font-size: 15px !important; }
  .svc-spec-role { font-size: 12px !important; }

  /* About gallery — left padding for visual indent */
  .gallery-heading { padding-left: var(--gutter) !important; }
  .gallery-track { padding-left: var(--gutter) !important; }

  /* Homepage promo cards mobile — photo cards */
  .sec-promos .promo-card { height: 240px !important; min-height: unset !important; }
  .sec-promos .promo-card__top { padding: 16px 16px 0 !important; }
  .sec-promos .promo-card__btm { padding: 0 16px 16px !important; }
  .sec-promos .promo-card__title { font-size: 16px !important; }
  .sec-promos .promo-tag { font-size: 13px !important; padding: 7px 11px !important; }
  .sec-promos .promo-arr { width: 28px !important; height: 28px !important; font-size: 13px !important; }

  /* desc-text button (smas.html) — stretch and center on mobile */
  .desc-text .pill-btn {
    align-self: stretch !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
  }

  /* sec-promo-svc button compact */
  .sec-promo-svc .pill-btn {
    font-size: 16px !important;
    padding: 14px 24px !important;
  }

  /* sec-cta: button full-width + centered on mobile */
  .sec-cta .pill-btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 16px !important;
    padding: 16px 24px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }
}

/* ── PROC-LIST tablet ── */
@media (max-width: 1024px) {
  .proc-row { gap: 20px !important; }
  .proc-name { font-size: 15px !important; }
  .proc-price { font-size: 15px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   RA|RÉ — BEAUTIFUL RESPONSIVE v2
   Красивая планшетная и мобильная адаптация с анимациями
   Tablet ≤1024px · Mobile ≤767px
═══════════════════════════════════════════════════════════════ */

/* ── PAGE LOAD FADE-IN ─────────────────────────────────────── */
@keyframes rr-page-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1024px) {
  body { animation: rr-page-in 0.45s cubic-bezier(0.25,0.46,0.45,0.94) both; }
}

/* ── READING PROGRESS BAR ──────────────────────────────────── */
.rr-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #568673 0%, #8ab5a3 100%);
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  will-change: width;
}

/* ── HEADER SCROLL EFFECT ──────────────────────────────────── */
@media (max-width: 1024px) {
  .site-hd,
  .site-header {
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, transform 0.32s cubic-bezier(0.4,0,0.2,1) !important;
    will-change: background, transform;
  }
  .site-hd.is-scrolled,
  .site-header.is-scrolled {
    background: rgba(16,47,39,0.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 1px 24px rgba(0,0,0,0.22) !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}


/* ═══════════════════════════════════════════════════════
   ARTICLE INNER PAGES — TABLET ≤1024px
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .article-hero { height: clamp(300px, 38vw, 460px) !important; }
  .article-title {
    font-size: clamp(28px, 4.5vw, 56px) !important;
    max-width: 86% !important;
  }
  .article-hero__cnt { padding-bottom: 52px !important; }
  .article-breadcrumb { font-size: 15px !important; }

  .sec-article { padding: 64px 0 88px !important; }
  .article-layout {
    grid-template-columns: 1fr 260px !important;
    gap: 52px !important;
  }
  .article-body { font-size: 18px !important; line-height: 1.72 !important; }
  .article-body h2 { font-size: clamp(22px, 2.8vw, 34px) !important; margin: 44px 0 18px !important; }
  .article-meta { margin-bottom: 40px !important; }
  .sidebar-cta { padding: 28px 24px !important; border-radius: 18px !important; }
  .sidebar-cta__title { font-size: 20px !important; }
}

/* ═══════════════════════════════════════════════════════
   ARTICLE INNER PAGES — MOBILE ≤767px
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Hero */
  .article-hero { height: clamp(240px, 60vw, 340px) !important; }
  .article-hero__overlay {
    background: linear-gradient(to bottom, rgba(16,47,39,0.18), rgba(16,47,39,0.72)) !important;
  }
  .article-title {
    font-size: clamp(24px, 7.8vw, 42px) !important;
    max-width: 100% !important;
    line-height: 1.08 !important;
  }
  .article-hero__cnt { padding-bottom: 28px !important; }
  .article-breadcrumb { font-size: 13px !important; margin-bottom: 10px !important; gap: 6px !important; }

  /* Section */
  .sec-article { padding: 44px 0 60px !important; }

  /* Layout: single column */
  .article-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Meta */
  .article-meta {
    margin-bottom: 28px !important;
    padding-bottom: 20px !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }
  .article-tag { font-size: 13px !important; padding: 7px 13px !important; }
  .article-date { font-size: 14px !important; }

  /* Body */
  .article-body {
    font-size: 16px !important;
    line-height: 1.74 !important;
  }
  .article-body h2 {
    font-size: clamp(20px, 6.2vw, 28px) !important;
    margin: 36px 0 14px !important;
  }
  .article-body p { margin-bottom: 1.25em !important; }
  .article-body ul { margin-left: 1.1em !important; margin-bottom: 1.2em !important; }
  .article-body li { font-size: 15px !important; margin-bottom: 0.5em !important; }
  .article-tip {
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }
  .article-photo {
    margin-bottom: 32px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }
  .article-photo img {
    height: clamp(180px, 58vw, 280px) !important;
    object-position: center top !important;
  }
  .back-link { font-size: 15px !important; }

  /* Sidebar: below content, not sticky */
  .article-sidebar {
    position: static !important;
    margin-top: 44px !important;
    padding-top: 44px !important;
    border-top: 1px solid rgba(53,40,26,0.1) !important;
  }
  .sidebar-cta {
    border-radius: 16px !important;
    padding: 22px 18px !important;
    gap: 14px !important;
  }
  .sidebar-cta__title { font-size: 18px !important; line-height: 1.25 !important; }
  .sidebar-cta .pill-btn {
    padding: 14px 20px !important;
    font-size: 16px !important;
    justify-content: center !important;
  }
  .sidebar-cta__tel { font-size: 15px !important; margin-top: -4px !important; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE FLOATING CTA ON ARTICLE PAGES
   (injected by JS — .rr-float-cta)
═══════════════════════════════════════════════════════ */
.rr-float-cta {
  display: none;
}
@media (max-width: 767px) {
  .rr-float-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: #102f27;
    padding: 14px 20px 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -8px 32px rgba(16,47,39,0.28);
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
    border-radius: 16px 16px 0 0;
  }
  .rr-float-cta.is-visible {
    transform: translateY(0);
  }
  .rr-float-cta__text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(253,252,248,0.65);
    line-height: 1.3;
    flex: 1;
  }
  .rr-float-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #568673;
    color: #F3EEE8;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .rr-float-cta__btn:active { background: #4a7262; transform: scale(0.97); }
  /* Push article content up so CTA doesn't overlap */
  .sec-article { padding-bottom: 80px !important; }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED MOBILE CARD ANIMATIONS
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Cards: touch-press feedback */
  .article-card:active,
  .svc-big-card:active,
  .spec-card:active,
  .promo-card:active,
  .pair-card:active {
    transform: scale(0.985) !important;
    transition: transform 0.12s ease !important;
  }

  /* Specialist cards on service pages: horizontal scroll polish */
  .svc-spec-grid {
    /* smooth momentum scroll on iOS */
    -webkit-overflow-scrolling: touch !important;
  }
  .svc-spec-grid::after {
    content: '';
    flex: 0 0 1px; /* ensures last card isn't cut */
  }

  /* Last card (Все специалисты) in horizontal scroll */
  .svc-spec-grid .svc-spec-card:last-child {
    flex: 0 0 168px !important;
    min-width: 168px !important;
    border: 1.5px solid rgba(253,252,248,0.18) !important;
  }
  .svc-spec-grid .svc-spec-card:last-child > div > p {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }
  .svc-spec-grid .svc-spec-card:last-child span {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }
}

/* ═══════════════════════════════════════════════════════
   MOBILE STAT COUNTERS — smooth entrance
═══════════════════════════════════════════════════════ */
@keyframes rr-count-in {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 767px) {
  .about-stat__n.rr-counted {
    animation: rr-count-in 0.55s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  .spec-stat__num.rr-counted {
    animation: rr-count-in 0.55s cubic-bezier(0.34,1.56,0.64,1) both;
  }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED MOBILE SECTION AESTHETICS
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* Section headings: elegant sizing */
  .sec-h {
    font-size: clamp(24px, 7.2vw, 40px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
  }

  /* Hero CTA: pill shape, full feel */
  .hero__cta {
    border-radius: 10px !important;
    font-size: 16px !important;
    padding: 16px 32px !important;
    letter-spacing: -0.01em !important;
  }

  /* Article grid on articles index: gap */
  .articles-grid {
    gap: 14px !important;
  }
  .article-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: 0 3px 20px rgba(53,40,26,0.1), 0 1px 5px rgba(53,40,26,0.06) !important;
  }
  .article-card__img { height: 220px !important; }
  .article-card__title { font-size: 18px !important; line-height: 1.25 !important; }
  .article-card__excerpt { font-size: 14px !important; }
  .article-card__body { padding: 20px 18px 22px !important; }

  /* Specialists index page cards */
  .spec-grid .spec-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 24px rgba(16,47,39,0.14) !important;
  }

  /* Inner hero: better padding on mobile */
  .inner-hero__cnt.wrap { padding-left: clamp(16px, 4.5vw, 72px) !important; }

  /* Booking form on service pages: visual */
  .booking-form {
    border-radius: 18px !important;
  }
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    outline: none !important;
    border-color: #568673 !important;
    box-shadow: 0 0 0 3px rgba(86,134,115,0.15) !important;
  }

  /* FAQ: more elegant mobile */
  .faq-question {
    font-size: 17px !important;
    line-height: 1.35 !important;
    padding: 20px 0 !important;
  }
  .faq-answer-inner { padding-bottom: 20px !important; }

  /* Price rows: cleaner */
  .sec-price .price-table td:first-child {
    font-size: 15px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }
  .sec-price .price-table td:last-child {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #568673 !important;
    text-align: left !important;
    margin-top: 4px !important;
  }

  /* Promo section (accent band): column layout */
  .promo-cta {
    width: 100% !important;
    align-items: stretch !important;
  }
  .promo-cta .pill-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 17px !important;
    padding: 16px 24px !important;
  }

  /* Pair cards: visual */
  .pairs-grid .pair-card {
    border-radius: 14px !important;
  }

  /* Before/After photos: elegant */
  .ba-card { border-radius: 14px !important; overflow: hidden !important; }

  /* Reviews: card polish */
  .svc-rev-card {
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(53,40,26,0.06) !important;
  }

  /* Footer: cleaner dividers */
  .footer-grid > * + * {
    border-top: 1px solid rgba(253,252,248,0.08);
    padding-top: 28px;
  }
}

/* ═══════════════════════════════════════════════════════
   TABLET POLISH ≤1024px
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Article cards: 2 columns on tablet */
  .articles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .article-card__img { height: 240px !important; }
  .article-card__title { font-size: 20px !important; }
  .article-card { border-radius: 14px !important; }

  /* Services description layout */
  .desc-text { gap: 24px !important; }

  /* Booking section: single column on tablet */
  .booking-text h2 { font-size: clamp(28px, 3.5vw, 56px) !important; }

  /* Spec card photo height on tablet */
  .svc-spec-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-top: 44px !important;
  }
  .svc-spec-card { height: 300px !important; }

  /* FAQ: larger touch target */
  .faq-question { padding: 24px 0 !important; font-size: 18px !important; }

  /* About desc photo */
  .desc-photo { border-radius: 14px !important; }

  /* Video section */
  .sec-video-svc .video-wrap { max-width: 100% !important; }

  /* Pairs grid: 2 cols on tablet */
  .pairs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* Site header sub-pages: compact */
  .site-hd {
    padding: 20px var(--gutter) !important;
  }
}

/* ═══════════════════════════════════════════════════════
   SMOOTH SCROLL HINT — horizontal containers
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Scroll shadow hint on right edge of horizontal scrollers */
  .svc-spec-grid {
    position: relative !important;
  }
  /* Subtle fade on right side indicating scroll */
  .sec-svc-specs .wrap {
    position: relative;
  }

  /* Interior gallery: proper touch scroll */
  .gallery-track {
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }
  .gallery-slide {
    scroll-snap-align: center !important;
  }
}

/* ═══════════════════════════════════════════════════════
   ADDITIONAL MOBILE ANIMATION KEYFRAMES
═══════════════════════════════════════════════════════ */
@keyframes rr-float-up {
  0%   { transform: translateY(0px);   }
  50%  { transform: translateY(-6px);  }
  100% { transform: translateY(0px);   }
}
@keyframes rr-pulse-border {
  0%, 100% { border-color: rgba(86,134,115,0.3); }
  50%       { border-color: rgba(86,134,115,0.8); }
}

/* Animate the CTA buttons in booking forms */
@media (max-width: 767px) {
  .booking-submit:not(:hover),
  .mobile-nav-cta:not(:hover) {
    animation: rr-pulse-border 2.4s ease-in-out infinite;
  }
  /* Floating animation on hero CTA on mobile */
  @media (prefers-reduced-motion: no-preference) {
    .hero__cta {
      animation: rr-float-up 3.2s ease-in-out infinite;
      animation-delay: 1.5s;
    }
  }
}

/* ═══════════════════════════════════════════════════════
   MOBILE NAV LINK STAGGER ANIMATION
═══════════════════════════════════════════════════════ */
.mobile-nav-overlay.is-open .mobile-nav-links a {
  opacity: 0;
  animation: rr-slide-nav 0.42s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
@keyframes rr-slide-nav {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(1) { animation-delay: 0.08s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(2) { animation-delay: 0.14s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(3) { animation-delay: 0.20s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(4) { animation-delay: 0.26s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(5) { animation-delay: 0.32s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(6) { animation-delay: 0.38s; }
.mobile-nav-overlay.is-open .mobile-nav-links a:nth-child(7) { animation-delay: 0.44s; }
.mobile-nav-overlay.is-open .mobile-nav-bottom {
  opacity: 0;
  animation: rr-slide-nav 0.4s cubic-bezier(0.25,0.46,0.45,0.94) 0.5s both;
}

/* ═══════════════════════════════════════════════════════
   SAFE AREA PADDING (iPhone notch etc.)
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .site-hd,
  .site-header {
    padding-left: max(var(--gutter), env(safe-area-inset-left)) !important;
    padding-right: max(var(--gutter), env(safe-area-inset-right)) !important;
  }
  .mobile-nav-overlay {
    padding-left: max(clamp(20px, 6vw, 60px), env(safe-area-inset-left)) !important;
    padding-right: max(clamp(20px, 6vw, 60px), env(safe-area-inset-right)) !important;
  }
}

/* ─── FINAL GUARD — prevent any overflow on all pages ──────── */
@media (max-width: 1024px) {
  * { max-width: 100%; }
  img, video, iframe { max-width: 100% !important; }
  table { overflow-x: auto; display: block; -webkit-overflow-scrolling: touch; }
}

/* ═══════════════════════════════════════════════════════════════════
   RA|RÉ — RESPONSIVE v4: Modern mobile + tablet upgrade
   Targeted improvements for stronger visual quality on small screens
   ─ Cascade intentional: these rules come last and use !important
═══════════════════════════════════════════════════════════════════ */

/* ── 1. TYPOGRAPHY: editorial tightness on mobile ── */
@media (max-width: 767px) {
  .hero__title {
    font-size: clamp(30px, 9vw, 46px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.02 !important;
  }
  .hero__sub {
    font-size: clamp(14px, 3.8vw, 18px) !important;
    line-height: 1.5 !important;
  }
  .sec-h {
    font-size: clamp(26px, 7.8vw, 40px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.03 !important;
  }
  .inner-hero__title,
  .page-hero__title {
    font-size: clamp(34px, 9.5vw, 54px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.02 !important;
  }
  .contact-heading,
  .booking-heading,
  .gallery-heading,
  .articles-heading {
    font-size: clamp(26px, 7.8vw, 40px) !important;
    letter-spacing: -0.03em !important;
  }
}

/* ── 2. HERO: guaranteed full-height + strong CTA ── */
@media (max-width: 767px) {
  .hero {
    height: 100svh !important;
    min-height: 600px !important;
  }
  .hero__body { padding-bottom: 96px !important; gap: 28px !important; }
  .hero__cta {
    font-size: 16px !important;
    padding: 17px 40px !important;
    letter-spacing: -0.01em !important;
    min-width: 200px !important;
  }
  .hero__controls { bottom: 24px !important; }
}

/* ── 3. GALLERY: wider slides on mobile for real visual impact ── */
@media (max-width: 767px) {
  .gallery-slide {
    width: 84vw !important;
    height: clamp(260px, 62vw, 360px) !important;
    border-radius: 14px !important;
  }
  .gallery-track { gap: 14px !important; }
  .gallery-heading {
    margin-bottom: clamp(18px, 4vw, 40px) !important;
  }
}

/* ── 4. STATS: bigger numbers, more visual weight ── */
@media (max-width: 767px) {
  .about-stat__n {
    font-size: clamp(52px, 14vw, 76px) !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
  }
  .about-stat__l {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .about-stat { padding: 22px 0 !important; }
}

/* ── 5. SPECIALIST CARDS: less tall on mobile ── */
@media (max-width: 767px) {
  /* Grid page (specialists/index.html) */
  .spec-grid .spec-card {
    height: auto !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 24px rgba(16,47,39,0.12) !important;
  }
  .spec-grid .spec-card .spec-card__photo {
    height: clamp(220px, 65vw, 310px) !important;
  }
  /* Index page specialist slider */
  .spec-card:not(.spec-grid .spec-card) {
    flex: 0 0 82vw !important;
    height: clamp(440px, 112vw, 520px) !important;
    border-radius: 18px !important;
  }
  .spec-card:not(.spec-grid .spec-card) .spec-card__photo {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
  }
  .spec-card__info { padding: 16px 20px 22px !important; gap: 5px !important; }
  .spec-card__name { font-size: 19px !important; letter-spacing: -0.02em !important; }
  .spec-card__role { font-size: 14px !important; }
}

/* ── 6. SERVICES PAGE MOBILE: compact cards ── */
@media (max-width: 767px) {
  .svc-big-card { border-radius: 20px !important; overflow: hidden !important; }
  .svc-big-card__img { height: clamp(200px, 52vw, 260px) !important; }
  .svc-big-card__body { padding: 18px 20px 22px !important; }
  .svc-big-card__title {
    font-size: clamp(20px, 5.5vw, 26px) !important;
    letter-spacing: -0.02em !important;
  }
  .svc-big-card__arr { width: 36px !important; height: 36px !important; }
}

/* ── 7. SERVICES PAGE TABLET: 2-column grid (use the space!) ── */
@media (min-width: 601px) and (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .svc-big-card { min-height: 0 !important; height: auto !important; }
  .svc-big-card__img { height: clamp(180px, 24vw, 260px) !important; }
  .svc-big-card__title { font-size: clamp(18px, 2.2vw, 26px) !important; }
  .svc-big-card__list p { font-size: clamp(14px, 1.6vw, 17px) !important; }
}

/* ── 8. FOUNDER: compact on tablet, proper stack on small mobile ── */
@media (max-width: 1024px) {
  .founder-photo { width: 260px !important; height: 360px !important; }
  .founder-inner { gap: 40px !important; }
  .founder-name { font-size: clamp(28px, 3.5vw, 48px) !important; }
  .founder-quote { font-size: clamp(15px, 1.7vw, 18px) !important; }
}
@media (max-width: 640px) {
  .founder-inner { flex-direction: column !important; gap: 28px !important; }
  .founder-photo { width: 100% !important; height: clamp(260px, 70vw, 400px) !important; }
}

/* ── 9. TABLET SPECIALIST GRID: 2 columns ── */
@media (min-width: 601px) and (max-width: 1024px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .spec-card__photo { height: clamp(260px, 30vw, 360px) !important; }
  .spec-card__name { font-size: 20px !important; }
}

/* ── 10. BOOKING FORM: more premium feel on mobile ── */
@media (max-width: 767px) {
  .booking-form {
    padding: 24px 20px 28px !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 32px rgba(53,40,26,0.1), 0 2px 8px rgba(53,40,26,0.05) !important;
  }
  .form-label { font-size: 11px !important; letter-spacing: 0.07em !important; }
  .form-input,
  .form-select-wrap {
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
  }
  .form-submit {
    border-radius: 12px !important;
    font-size: 17px !important;
    padding: 18px !important;
    margin-top: 20px !important;
  }
  .booking-heading {
    font-size: clamp(28px, 8vw, 40px) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.04 !important;
    margin-bottom: 10px !important;
  }
  .booking-desc { font-size: 15px !important; line-height: 1.6 !important; }
}

/* ── 11. PRICES PAGE: better mobile category headers ── */
@media (max-width: 767px) {
  .price-category { margin-bottom: 52px !important; }
  .price-cat-header {
    margin-bottom: 20px !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .price-cat-title {
    font-size: clamp(20px, 6vw, 28px) !important;
    letter-spacing: -0.02em !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .price-cat-num {
    position: absolute !important;
    right: -4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: clamp(72px, 20vw, 110px) !important;
    opacity: 0.05 !important;
    line-height: 1 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  /* Scrollable tab bar */
  .price-tabs {
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 2px !important;
  }
  .price-tabs::-webkit-scrollbar { display: none !important; }
  .price-tab { font-size: 14px !important; padding: 10px 14px !important; white-space: nowrap !important; }
}

/* ── 12. MOBILE FOOTER: clean dividers, less dense ── */
@media (max-width: 767px) {
  .footer-grid { gap: 0 !important; }
  .footer-grid > * {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid rgba(253,252,248,0.07) !important;
  }
  .footer-grid > *:last-child { border-bottom: none !important; }
  .footer-col h3 {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: rgba(253,252,248,0.42) !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
  }
  .footer-links { gap: 10px !important; }
  .footer-links a { font-size: 15px !important; color: rgba(253,252,248,0.72) !important; }
}

/* ── 13. TABLET FOOTER: clean 2×2 grid ── */
@media (min-width: 601px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 52px !important;
  }
  .footer-col h3 {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: rgba(253,252,248,0.45) !important;
    margin-bottom: 14px !important;
    font-weight: 600 !important;
  }
  .footer-links a { font-size: 15px !important; }
  .footer-logo img { height: 32px !important; }
  .footer-phone { font-size: 22px !important; }
}

/* ── 14. MOBILE INDEX: service cards (svc-card) ── */
@media (max-width: 767px) {
  .svc-card {
    padding: 20px !important;
    border-radius: 16px !important;
    min-height: 0 !important;
  }
  .svc-card__name {
    font-size: 20px !important;
    letter-spacing: -0.02em !important;
  }
  .svc-card__desc {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .svc-cards { gap: 10px !important; }
}

/* ── 15. DIRECTION MOSAIC: better heights on mobile ── */
@media (max-width: 767px) {
  .dir-mosaic {
    grid-template-rows: 280px 200px 200px 200px !important;
    gap: 10px !important;
  }
  .dir-mosaic__card { border-radius: 16px !important; padding: 22px !important; }
  .dir-mosaic__card:nth-child(1) { padding: 24px !important; }
  .dir-mosaic__label { font-size: clamp(16px, 4.5vw, 22px) !important; }
}

/* ── 16. ARTICLE CARDS: better mobile proportions ── */
@media (max-width: 767px) {
  .article-card {
    min-height: 220px !important;
    border-radius: 16px !important;
  }
  .article-card__title {
    font-size: clamp(17px, 4.8vw, 22px) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
  }
  .article-card__date { font-size: 13px !important; }
}

/* ── 17. CONTACT SECTION (about.html): compact on mobile ── */
@media (max-width: 767px) {
  .contact-info {
    padding: 40px var(--gutter) 36px !important;
    gap: 28px !important;
  }
  .contact-map { height: 240px !important; min-height: 240px !important; }
  .contact-addr-line { font-size: 16px !important; }
  .contact-link { font-size: 16px !important; }
}

/* ── 18. INNER/PAGE HERO: compact on mobile ── */
@media (max-width: 767px) {
  .inner-hero { height: clamp(200px, 50vw, 300px) !important; }
  .page-hero { height: clamp(200px, 50vw, 300px) !important; }
  .inner-hero__cnt { padding-bottom: 28px !important; }
}

/* ── 19. PROMOS on mobile: consistent height ── */
@media (max-width: 767px) {
  .sec-promos .promo-card {
    height: clamp(220px, 58vw, 290px) !important;
    border-radius: 18px !important;
  }
}

/* ── 20. TABLET about-stats: always 3 columns ── */
@media (min-width: 601px) and (max-width: 1024px) {
  .about-stats { grid-template-columns: repeat(3, 1fr) !important; }
  .about-stat__n { font-size: clamp(40px, 5.2vw, 64px) !important; }
}

/* ── FINAL GUARD v4 (must stay last) ── */
@media (max-width: 767px) {
  html, body { overflow-x: hidden !important; }
  .wrap, .container { overflow-x: hidden !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   RA|RÉ — FIX PACK (June 2026): 6 targeted mobile fixes
═══════════════════════════════════════════════════════════════════ */

/* ── FIX 1: Mobile nav — stop endless scroll (iOS overscroll) ── */
@media (max-width: 1024px) {
  .mobile-nav-overlay {
    overscroll-behavior: contain !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  /* When nav is open, body must be fixed to prevent background scroll */
  body.rr-nav-locked {
    position: fixed !important;
    width: 100% !important;
    overflow: hidden !important;
  }
}

/* ── FIX 2: Articles on about page — full-width single column ── */
@media (max-width: 767px) {
  .sec-articles .articles-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    grid-template-columns: unset !important;
  }
  .sec-articles .article-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    min-height: 220px !important;
    height: clamp(220px, 60vw, 300px) !important;
  }
}

/* ── FIX 3: Direction cards — always show text on mobile ── */
@media (max-width: 1024px) {
  /* Force text visible without hover */
  .dir-mosaic__list {
    max-height: 300px !important;
    opacity: 1 !important;
    overflow: hidden !important;
    transition: none !important;
  }
  .dir-mosaic__cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Hide tags (ЛИЦО, ТЕЛО etc.) on mobile */
  .dir-mosaic__tag {
    display: none !important;
  }
  /* Fast tap navigation */
  .dir-mosaic__card {
    touch-action: manipulation !important;
  }
  /* Stronger gradient so text always readable */
  .dir-mosaic__overlay {
    background: linear-gradient(
      to bottom,
      rgba(10,32,25,0.05) 0%,
      rgba(10,32,25,0.65) 45%,
      rgba(10,32,25,0.90) 100%
    ) !important;
  }
}

/* Mobile: taller cards so all content fits */
@media (max-width: 767px) {
  .dir-mosaic {
    grid-template-rows: 320px 270px 270px 270px !important;
    gap: 10px !important;
    overflow: visible !important; /* fix: .wrap rule sets overflow-x:hidden → overflow-y:auto → internal scroll */
  }
  .dir-mosaic__list li {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }
  .dir-mosaic__list { gap: 5px !important; }
  .dir-mosaic__title {
    font-size: clamp(18px, 5.5vw, 24px) !important;
    line-height: 1.1 !important;
  }
  .dir-mosaic__card:nth-child(1) .dir-mosaic__title {
    font-size: clamp(22px, 6.5vw, 30px) !important;
  }
  .dir-mosaic__content { gap: 10px !important; }
  .dir-mosaic__cta { font-size: 14px !important; }
}

/* ── FIX 4: Spec slider cards on homepage — restore real height ── */
/* The photo is position:absolute so height:auto collapses the card */
@media (max-width: 767px) {
  .sec-spec .spec-card {
    height: clamp(440px, 112vw, 520px) !important;
    flex: 0 0 82vw !important;
    border-radius: 18px !important;
  }
  .sec-spec .spec-card .spec-card__photo {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
  }
}

/* ── FIX 5: Founder photo — taller on mobile ── */
@media (max-width: 640px) {
  .founder-photo {
    width: 100% !important;
    height: clamp(380px, 100vw, 500px) !important;
    border-radius: 16px !important;
  }
}

/* ── FIX 6: First visit promo card — ensure photo is visible ── */
@media (max-width: 767px) {
  /* Make the card tall enough: img-wrap + body space */
  .sec-promos .promo-card {
    height: clamp(280px, 72vw, 340px) !important;
  }
  /* Ensure img-wrap has proper height and shows photo */
  .sec-promos .promo-card__img-wrap {
    height: clamp(210px, 54vw, 260px) !important;
    min-height: 210px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .sec-promos .promo-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

/* ── FIX 7: No hover on touch devices ── */
/* (hover: none) without pointer:coarse — covers all touch-only devices */
@media (hover: none) {
  .svc-big-card:hover {
    transform: none !important;
    box-shadow: 0 2px 16px rgba(53,40,26,0.07) !important;
  }
  .promo-card:hover {
    transform: none !important;
    box-shadow: 0 2px 20px rgba(53,40,26,0.08) !important;
  }
  .promo-card:hover .promo-card__img { transform: none !important; }
  .promo-card:hover .promo-arr {
    transform: none !important;
    background: transparent !important;
    border-color: rgba(53,40,26,0.18) !important;
    color: var(--c-text) !important;
  }
  .article-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(53,40,26,0.12) !important;
  }
  .article-card:hover .article-card__bg { transform: none !important; }
  .spec-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .spec-card:hover .spec-card__photo img { transform: none !important; }
  .spec-card:hover .spec-card__name,
  .spec-card:hover .spec-card__role,
  .spec-card:hover .spec-card__view { transform: none !important; }
  .spec-card:hover .spec-card__view { opacity: 0 !important; }
  .svc-card:hover { transform: none !important; background: transparent !important; }
  .svc-card:hover .svc-card__name,
  .svc-card:hover .svc-card__top,
  .svc-card:hover .svc-card__desc,
  .svc-card:hover .svc-card__arr { color: inherit !important; transform: none !important; }
  .svc-card:hover::after { transform: scaleX(0) !important; }
  .dir-mosaic__card:hover { box-shadow: none !important; }
  .svc-big-card:hover .svc-big-card__arr { transform: none !important; }
  a:active, button:active { opacity: 0.75 !important; }
}

/* ── FIX 8: Icon float clipping — stop float on mobile ── */
@media (max-width: 767px) {
  .adv-icon img {
    animation: advIconIn 0.85s cubic-bezier(0.34,1.56,0.64,1) var(--ai-del, 0.2s) both !important;
  }
  .adv-item.rr-in .adv-icon img {
    animation: advIconIn 0.85s cubic-bezier(0.34,1.56,0.64,1) var(--ai-del, 0.2s) both !important;
  }
  .adv-icon { padding-top: 16px !important; overflow: visible !important; }
}

/* ── FIX 9: Promo arrow — center the → character ── */
@media (max-width: 1024px) {
  .promo-arr {
    line-height: 1 !important;
    padding-bottom: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ── FIX 10: Promos page cards — match main page style on mobile ── */
@media (max-width: 767px) {
  .sec-promos-page .promo-card,
  .promo-cards-grid .promo-card {
    height: clamp(280px, 72vw, 340px) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .sec-promos-page .promo-card__img-wrap,
  .promo-cards-grid .promo-card__img-wrap {
    height: clamp(200px, 52vw, 250px) !important;
    min-height: 180px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .sec-promos-page .promo-card__img,
  .promo-cards-grid .promo-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .promo-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 32px !important;
  }
}

/* ── about.html: stats center on mobile, hide adv icons ── */
@media (max-width: 767px) {
  .about-stat { align-items: center !important; text-align: center !important; }
  .about-stat__n { text-align: center !important; }
  .about-stat__l { text-align: center !important; align-self: center !important; }
  .sec-adv { display: none !important; }
}
