/* ==========================================================================
   ПЕРЕМЕННЫЕ ТЕМ: СВЕТЛАЯ РОЗОВАЯ AURA (ПО УМОЛЧАНИЮ) И ТЕМНАЯ DARK LUXURY
   ========================================================================== */
:root {
  --bg-main: #FFF0F6;
  --bg-sec: #FFE3EE;
  --bg-card: #FFFFFF;
  --text-main: #2B1120;
  --text-muted: #7A5267;
  --pink-neon: #FF2E93;
  --pink-hover: #E01979;
  --pink-soft: #FF85B3;
  --border-color: rgba(255, 46, 147, 0.24);
  --header-bg: rgba(255, 240, 246, 0.96);
  --card-shadow: 0 14px 36px rgba(255, 46, 147, 0.11);
}

body.dark-theme {
  --bg-main: #120910;
  --bg-sec: #1B0E18;
  --bg-card: #241320;
  --text-main: #FFF5F8;
  --text-muted: #C9A6B8;
  --pink-neon: #FF2E93;
  --pink-hover: #FF55A8;
  --pink-soft: #FF85B3;
  --border-color: rgba(255, 133, 179, 0.26);
  --header-bg: rgba(18, 9, 16, 0.96);
  --card-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   БАЗОВЫЙ СБРОС, ТИПОГРАФИКА И ЗАЩИТА ОТ РАЗЪЕЗЖАНИЯ НА МОБИЛЬНЫХ
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Montserrat, sans-serif;
  line-height: 1.55;
  transition: background-color 0.3s ease, color 0.3s ease;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img,
iframe,
video,
input,
select,
button {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Защита всех Grid-элементов от распирания шире экрана */
.hero-bento > *,
.about-bento-grid > *,
.team-grid > *,
.discount-banner-block > *,
.portfolio-grid-16 > *,
.magic-services-grid > *,
.calc-box > *,
.cert-showcase-bento > *,
.process-grid-4 > *,
.school-bento-wrapper > *,
.yandex-reviews-layout > *,
.booking-bento-box > *,
.address-bento-grid > *,
.bento-card {
  min-width: 0;
  max-width: 100%;
}

.w-100 {
  width: 100%;
}

.pink-text {
  color: var(--pink-neon);
}

.muted-p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 15px;
}

.muted-span {
  color: var(--text-muted);
  font-size: 13px;
}

.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   КНОПКИ И МОДУЛЬНЫЕ КАРТОЧКИ
   ========================================================================== */
.bento-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.bento-card:hover {
  border-color: var(--pink-neon);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

.btn-pink {
  background: linear-gradient(135deg, #FF2E93, #D81270);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(255, 46, 147, 0.38);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 46, 147, 0.55);
}

.btn-white {
  background: #ffffff;
  color: #2B1120;
  border: 1px solid var(--border-color);
}

.btn-white:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--pink-neon);
}

.btn-outline:hover {
  background: var(--pink-neon);
  color: #ffffff;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border: 2px solid #FF85B3;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.btn-hero-outline:hover {
  background: #FF2E93;
  border-color: #FF2E93;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   ШАПКА САЙТА (БЕЗ ЛИШНЕГО ПРОБЕЛА И С ТОНКОЙ ОКАНТОВКОЙ АКТИВНОГО РАЗДЕЛА)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 10px;
  flex-wrap: nowrap;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink-neon);
  background: #2b1120;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-text span {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.6px;
}

.logo-text small {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: auto;
  margin-right: 6px;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: var(--text-main);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--pink-neon);
  border-color: var(--border-color);
}

/* Тонкая окантовка выбранного раздела в меню */
.nav-links a.active {
  color: var(--pink-neon);
  border-color: var(--pink-neon);
  background: rgba(255, 46, 147, 0.08);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.theme-btn {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 8px 12px;
  min-width: 112px;
  text-align: center;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--pink-neon);
}

.btn-header {
  padding: 11px 18px;
  font-size: 12px;
}

.burger-btn {
  display: none;
  background: var(--pink-neon);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: #1E0A16;
  color: #ffffff;
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 68px 20px 32px;
  text-align: center;
  overflow-y: auto;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.drawer-phone {
  color: #FF85B3 !important;
  font-size: 20px !important;
  margin-top: 4px;
}

.drawer-close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 2010;
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН (HERO BENTO)
   ========================================================================== */
.hero-section {
  margin-top: 76px;
  padding: 36px 0 48px;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.hero-main-block {
  background: linear-gradient(135deg, rgba(43, 14, 30, 0.92), rgba(98, 16, 58, 0.86)),
              url('https://images.unsplash.com/photo-1598371839696-5c5bb00bdc28?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 46, 147, 0.25);
  border: 1px solid #FF85B3;
  color: #FFE3EE;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(24px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: #FF85B3;
}

.hero-list {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.hero-list li::before {
  content: "♡ ";
  color: #FF85B3;
  font-weight: bold;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-box {
  background: var(--bg-sec);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--pink-neon);
}

.stat-box span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-consult-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pink-neon);
  margin-bottom: 6px;
}

.hero-phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin: 12px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  font-size: 13px;
}

.phone-link {
  font-weight: 800;
  font-size: 16px;
  color: var(--pink-neon);
  text-decoration: none;
}

/* ==========================================================================
   ОБЩИЕ СЕКЦИИ И ЗАГОЛОВКИ
   ========================================================================== */
.section-block {
  padding: 58px 0;
  background: transparent;
  width: 100%;
}

.section-alt {
  background: transparent;
}

.sec-header {
  text-align: center;
  margin-bottom: 40px;
}

.sec-badge {
  display: inline-block;
  background: rgba(255, 46, 147, 0.14);
  color: var(--pink-neon);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  max-width: 100%;
}

.sec-title {
  font-size: clamp(23px, 3.4vw, 36px);
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1.2;
}

.sec-sub {
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
  font-size: 15px;
}

.zoomable {
  cursor: zoom-in;
  position: relative;
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(27, 9, 20, 0.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0.85;
  transition: transform 0.2s, background 0.2s;
  pointer-events: none;
}

.zoomable:hover .zoom-icon {
  transform: scale(1.12);
  background: var(--pink-neon);
  opacity: 1;
}

/* ==========================================================================
   1. О СТУДИИ AURA TATTOO
   ========================================================================== */
.about-bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.about-text-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.about-text-card p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
}

.about-features-mini {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.mini-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-sec);
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
}

.mini-feat img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.mini-feat strong {
  display: block;
  font-size: 15px;
}

.mini-feat span {
  font-size: 13px;
  color: var(--text-muted);
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-photo-item {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  min-height: 200px;
  max-height: 250px;
}

.about-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.about-photo-item:hover img {
  transform: scale(1.06);
}

.photo-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(27, 9, 20, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  text-align: center;
}

/* ==========================================================================
   2. НАША КОМАНДА
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.master-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.master-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.master-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2E93, #8A1759);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 46, 147, 0.3);
}

.master-card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.master-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.master-role {
  display: inline-block;
  background: rgba(255, 46, 147, 0.14);
  color: var(--pink-neon);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.director-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 50px;
  background: var(--bg-sec);
  border: 1.5px dashed var(--pink-neon);
  color: var(--pink-neon);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

/* ==========================================================================
   3. СКИДКА НА ПЕРВОЕ ПОСЕЩЕНИЕ
   ========================================================================== */
.discount-banner-block {
  background: linear-gradient(135deg, #2D0C20 0%, #56123B 60%, #8A1759 100%);
  color: #ffffff;
  border-radius: 30px;
  padding: 42px;
  border: 2px solid #FF85B3;
  box-shadow: 0 20px 50px rgba(255, 46, 147, 0.25);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.discount-pill {
  display: inline-block;
  background: #FF2E93;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.discount-left h2 {
  font-size: clamp(23px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}

.discount-left h2 span {
  color: #FF85B3;
}

.discount-left p {
  opacity: 0.92;
  margin-bottom: 18px;
  font-size: 15px;
}

.discount-perks {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #FFE3EE;
}

.discount-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.coupon-visual {
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
  border: 2px dashed #FF85B3;
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
}

.coupon-top {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FF85B3;
}

.coupon-amount {
  font-size: 56px;
  font-weight: 900;
  color: #ffffff;
  margin: 8px 0;
}

.coupon-desc {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.coupon-code {
  background: rgba(20, 6, 15, 0.65);
  padding: 10px;
  border-radius: 12px;
  font-size: 13px;
  color: #FF85B3;
}

/* ==========================================================================
   4. НАШИ РАБОТЫ — ГАЛЕРЕЯ НА 16 ФОТОГРАФИЙ
   ========================================================================== */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 22px;
}

.center-pills {
  justify-content: center;
  margin-bottom: 30px;
}

.pill-btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  max-width: 100%;
}

.pill-btn.active,
.pill-btn:hover {
  background: var(--pink-neon);
  color: #fff;
  border-color: var(--pink-neon);
}

.portfolio-grid-16 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.work-card {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-sec);
  border: 1.5px solid var(--border-color);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-card:hover img {
  transform: scale(1.07);
}

.work-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(36, 11, 25, 0.84);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-more-bar {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.portfolio-more-bar p {
  font-weight: 600;
  font-size: 15px;
}

/* ==========================================================================
   5. МАГИЯ AURA TATTOO, КАЛЬКУЛЯТОР И СЕРТИФИКАТЫ
   ========================================================================== */
.magic-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.service-item {
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  margin-bottom: 12px;
}

.service-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.service-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.calc-box {
  background: var(--bg-card);
  border: 2px solid var(--pink-neon);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.range-slider {
  width: 100%;
  accent-color: var(--pink-neon);
  height: 8px;
  margin: 12px 0 20px;
  cursor: pointer;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--pink-neon);
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-sec);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.calc-total-card {
  background: linear-gradient(145deg, #2D0F20, #4A1534);
  color: #fff;
  border-radius: 22px;
  padding: 30px 22px;
  text-align: center;
}

.calc-price-big {
  font-size: 44px;
  font-weight: 800;
  color: #FF85B3;
  margin: 10px 0;
}

/* БЛОК ПОДАРОЧНОГО СЕРТИФИКАТА */
.cert-showcase-bento {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cert-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gift-3d-wrap {
  perspective: 1100px;
  width: 100%;
}

.gift-card-3d {
  width: 100%;
  max-width: 460px;
  min-height: 270px;
  margin: 0 auto;
  border-radius: 26px;
  padding: 28px;
  color: #fff;
  background: radial-gradient(circle at top right, #FF2E93 0%, #4A1233 48%, #1C0714 100%);
  border: 1.5px solid rgba(255, 182, 213, 0.65);
  box-shadow: 0 24px 55px rgba(255, 46, 147, 0.34);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out;
}

.card-shimmer {
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: rotate(25deg);
  animation: shimmerSweep 4.5s infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  60%, 100% { left: 130%; }
}

.cert-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 14px;
}

.cert-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #FF85B3;
  flex-shrink: 0;
}

.cert-badge {
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid #FF85B3;
  padding: 4px 12px;
  border-radius: 20px;
  color: #FFE3EE;
}

.cert-card-middle {
  margin: 18px 0;
}

.cert-label-sm {
  font-size: 12px;
  opacity: 0.85;
}

.cert-nominal {
  font-size: 48px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(255, 46, 147, 0.6);
  line-height: 1.1;
  margin: 4px 0;
}

.cert-sub-note {
  font-size: 12px;
  color: #FFCCE2;
}

.cert-card-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
}

.cert-nominal-picker {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  width: 100%;
}

.cert-main-heading {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin: 6px 0 12px;
  line-height: 1.2;
}

.cert-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.cert-perk-item {
  background: var(--bg-sec);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px;
}

.cert-perk-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.cert-perk-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.real-cert-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 20px;
  background: var(--bg-sec);
  border: 1.5px solid var(--pink-soft);
  margin-bottom: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.real-cert-preview:hover {
  transform: translateY(-2px);
  border-color: var(--pink-neon);
}

.real-cert-preview img {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid var(--pink-neon);
}

.real-cert-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.real-cert-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--pink-neon);
}

.real-cert-info strong {
  font-size: 14px;
}

.real-cert-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.cert-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   5.5. БЛОК: КАК ПРОХОДИТ СЕАНС
   ========================================================================== */
.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.process-step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink-neon);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.process-step-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FF2E93, #FF85B3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.process-step-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 46, 147, 0.14);
  color: var(--pink-neon);
  border: 1px solid var(--border-color);
}

.process-step-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}

.process-step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.process-cta-bar {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 22px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.process-cta-bar p {
  font-weight: 600;
  font-size: 15px;
}

/* ==========================================================================
   6. О ШКОЛЕ ТАТУ-МАСТЕРОВ ОТ AURA TATTOO
   ========================================================================== */
.school-bento-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 26px;
  align-items: stretch;
}

.school-content {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--card-shadow);
}

.school-lead {
  color: var(--text-muted);
  font-size: 16px;
  margin: 12px 0 24px;
}

.school-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

.school-feat-box {
  background: var(--bg-sec);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 16px;
}

.school-feat-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.school-feat-box span {
  font-size: 13px;
  color: var(--text-muted);
}

.school-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.school-card-side {
  background: linear-gradient(155deg, #2B0D1E, #4D1335);
  color: #ffffff;
  border-radius: 28px;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1.5px solid #FF85B3;
}

.school-card-side h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.school-check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}

.school-check-list li::before {
  content: "✓ ";
  color: #FF85B3;
  font-weight: 800;
}

.school-badge-highlight {
  background: rgba(255, 46, 147, 0.25);
  border: 1px solid #FF85B3;
  color: #FFE3EE;
  text-align: center;
  padding: 12px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
}

/* ==========================================================================
   7. ОТЗЫВЫ НА ЯНДЕКС КАРТАХ
   ========================================================================== */
.yandex-reviews-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: stretch;
}

.yandex-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.ya-badge-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pink-neon);
}

.ya-big-score {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-main);
  margin: 10px 0;
}

.ya-big-score span {
  display: block;
  font-size: 24px;
  color: #FFB800;
}

.ya-award-pill {
  background: var(--bg-sec);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  margin: 16px 0;
}

.reviews-cards-grid {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 22px 24px;
}

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stars {
  color: #FFB800;
  font-size: 16px;
}

.review-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.review-source {
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-neon);
}

/* ==========================================================================
   8. ОНЛАЙН-ЗАПИСЬ И МЕССЕНДЖЕРЫ
   ========================================================================== */
.booking-bento-box {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  align-items: stretch;
}

.booking-channels-card,
.booking-form-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
}

.booking-channels-card h3,
.booking-form-card h3 {
  font-size: 23px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #2D0F20, #521337);
  color: #ffffff;
  border: 1.5px solid #FF85B3;
  border-radius: 20px;
  padding: 18px 20px;
  text-decoration: none;
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.channel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 46, 147, 0.28);
}

.channel-card strong {
  display: block;
  font-size: 16px;
  color: #FF85B3;
  margin-bottom: 2px;
}

.channel-card span {
  font-size: 13px;
  opacity: 0.9;
}

.channel-arrow {
  font-size: 22px;
  font-weight: 800;
  color: #FF85B3;
  flex-shrink: 0;
}

.messengers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.messenger-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-sec);
  border: 1.5px solid var(--border-color);
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s, border-color 0.2s;
  min-width: 0;
}

.messenger-tile:hover {
  transform: translateY(-2px);
  border-color: var(--pink-neon);
}

.m-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 2px;
}

.tile-wa .m-badge { background: #25D366; }
.tile-max .m-badge { background: #7B3FE4; }
.tile-tg .m-badge { background: #2AABEE; }
.tile-vk .m-badge { background: #0077FF; }
.tile-ig .m-badge { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.tile-call .m-badge { background: #FF2E93; }

.messenger-tile strong {
  font-size: 14px;
}

.messenger-tile small {
  font-size: 12px;
  color: var(--text-muted);
}

.booking-guarantee-bar {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-sec);
  border: 1px dashed var(--border-color);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink-neon);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--pink-neon);
}

.form-note {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   9. АДРЕС И КАРТА ЯНДЕКС
   ========================================================================== */
.address-bento-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.address-details-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.addr-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addr-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.addr-item strong {
  font-size: 18px;
}

.addr-item small {
  font-size: 13px;
  color: var(--text-muted);
}

.addr-phone {
  font-size: 22px;
  font-weight: 800;
  color: var(--pink-neon);
  text-decoration: none;
}

.addr-socials-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.addr-socials-5 .btn {
  flex: 1 1 calc(33.33% - 8px);
  padding: 10px 12px;
  font-size: 12px;
}

.map-frame-card {
  padding: 0;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.map-frame-card iframe {
  flex: 1;
  width: 100%;
  min-height: 325px;
  border: 0;
  display: block;
}

.map-overlay-bar {
  padding: 12px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.map-overlay-bar a {
  color: var(--pink-neon);
  text-decoration: none;
}

/* ==========================================================================
   КОМПАКТНЫЙ ПОДВАЛ, МОДАЛЬНОЕ ОКНО И ЛАЙТБОКС
   ========================================================================== */
.site-footer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #1B0914;
  color: #F5DCE7;
  padding: 28px 0 22px;
  text-align: center;
  border-top: 1px solid rgba(255, 133, 179, 0.2);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

/* Уменьшенный размер и широкая строка, чтобы «в РФ.» не переносилось отдельно */
.footer-copy {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
  max-width: 960px;
  margin: 0 auto 6px;
  padding: 0 10px;
}

.footer-dev {
  font-size: 14px;
  font-weight: 500;
  color: #777777;
  letter-spacing: 0.3px;
  text-align: center;
  margin: 0 auto;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 6, 15, 0.86);
  backdrop-filter: blur(6px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal-overlay.open {
  display: flex;
}

.modal-window,
.lightbox-box {
  background: var(--bg-card);
  color: var(--text-main);
  border: 2px solid var(--pink-neon);
  border-radius: 26px;
  max-width: 450px;
  width: 100%;
  padding: 28px 22px;
  position: relative;
  text-align: center;
}

.lightbox-box {
  max-width: 680px;
  padding: 22px;
}

.lightbox-counter {
  font-size: 12px;
  font-weight: 800;
  color: var(--pink-neon);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.lightbox-box img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border-radius: 18px;
  background: #140810;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 46, 147, 0.88);
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
  background: #D81270;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav.prev {
  left: 10px;
}

.lightbox-nav.next {
  right: 10px;
}

.lightbox-caption {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 15px;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-main);
}

.modal-window h3 {
  font-size: 21px;
  margin-bottom: 10px;
  padding-right: 18px;
}

.modal-window p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   ФИРМЕННЫЙ ОНЛАЙН-КАЛЕНДАРЬ И ТАЛОН ЗАПИСИ AURA TATTOO
   ========================================================================== */
.channel-card-btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.inline-master-pills,
.inline-time-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-slot-btn {
  padding: 9px 13px;
  border-radius: 14px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-slot-btn:hover,
.mini-slot-btn.active {
  background: var(--pink-neon);
  color: #ffffff;
  border-color: var(--pink-neon);
  box-shadow: 0 5px 14px rgba(255, 46, 147, 0.3);
}

.date-time-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-window.aura-booking-modal {
  max-width: 540px;
  padding: 24px 20px;
  max-height: 92vh;
  overflow-y: auto;
  text-align: left;
}

.modal-header-center {
  text-align: center;
  margin-bottom: 14px;
}

.modal-header-center h3 {
  padding-right: 0;
}

.modal-tabs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-sec);
  padding: 5px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.modal-tab-btn {
  padding: 10px 8px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.modal-tab-btn.active {
  background: var(--pink-neon);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 46, 147, 0.32);
}

.cal-step-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--pink-neon);
  letter-spacing: 0.4px;
  margin: 12px 0 6px;
}

.cal-masters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cal-master-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 16px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-sec);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.cal-master-item:hover,
.cal-master-item.active {
  border-color: var(--pink-neon);
  background: rgba(255, 46, 147, 0.12);
}

.cal-master-ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF2E93, #8A1759);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cal-master-info strong {
  display: block;
  font-size: 13px;
  line-height: 1.15;
}

.cal-master-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.cal-daytype-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.custom-date-wrap {
  margin-top: 8px;
  animation: fadeDateIn 0.2s ease;
}

@keyframes fadeDateIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cal-time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cal-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.cal-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.cal-input:focus {
  border-color: var(--pink-neon);
}

/* Фирменный талон-подтверждение записи AURA TATTOO */
.aura-ticket-box {
  background: linear-gradient(145deg, #2B0D1E, #4E1335);
  color: #ffffff;
  border: 2px dashed #FF85B3;
  border-radius: 22px;
  padding: 18px 16px;
  margin-bottom: 14px;
  position: relative;
}

.aura-ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  color: #FF85B3;
  letter-spacing: 0.5px;
}

.aura-ticket-rows {
  display: grid;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.aura-ticket-rows div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.aura-ticket-rows span {
  color: #FFCCE2;
}

.aura-ticket-promo {
  background: rgba(255, 46, 147, 0.25);
  border: 1px solid #FF85B3;
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #FFE3EE;
}

.copy-status-pill {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-sec);
  border: 1px solid var(--border-color);
  color: var(--pink-neon);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ПОД НОУТБУКИ, ПЛАНШЕТЫ И СМАРТФОНЫ
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }
  .burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .hero-bento,
  .about-bento-grid,
  .discount-banner-block,
  .magic-services-grid,
  .calc-box,
  .cert-showcase-bento,
  .school-bento-wrapper,
  .yandex-reviews-layout,
  .booking-bento-box,
  .address-bento-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid-16,
  .process-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .school-features-grid,
  .cert-perks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 14px;
  }

  .section-block {
    padding: 38px 0;
  }

  .sec-header {
    margin-bottom: 26px;
  }

  /* Компактная шапка на смартфонах */
  .nav-bar {
    height: 64px;
    gap: 6px;
  }

  .hero-section {
    margin-top: 64px;
    padding: 20px 0 34px;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-text span {
    font-size: 14px;
  }

  .logo-text small {
    font-size: 10px;
  }

  .theme-btn {
    min-width: auto;
    padding: 8px 11px;
    font-size: 11px;
  }

  .burger-btn {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .btn-header {
    display: none;
  }

  /* Разрешаем перенос длинного текста на кнопках, чтобы карточки не разъезжались */
  .btn {
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    padding: 12px 16px;
    font-size: 12px;
  }

  .hero-actions .btn,
  .about-cta-row .btn,
  .discount-actions .btn,
  .cert-action-row .btn,
  .school-actions .btn,
  .cta-btn-group .btn,
  .portfolio-more-bar .btn,
  .process-cta-bar .btn {
    width: 100%;
  }

  .cta-btn-group {
    width: 100%;
  }

  .bento-card,
  .discount-banner-block,
  .hero-main-block,
  .calc-box,
  .cert-showcase-bento,
  .school-content,
  .school-card-side,
  .booking-channels-card,
  .booking-form-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .about-photo-grid,
  .messengers-grid,
  .process-grid-4,
  .date-time-row,
  .cal-masters-grid,
  .cal-inputs-row,
  .cal-daytype-grid {
    grid-template-columns: 1fr;
  }

  /* Сетка портфолио 2 колонки с аккуратным отступом */
  .portfolio-grid-16 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .work-card {
    border-radius: 16px;
  }

  .work-tag {
    bottom: 6px;
    left: 6px;
    right: 6px;
    font-size: 10px;
    padding: 4px 6px;
  }

  .coupon-amount {
    font-size: 42px;
  }

  .calc-price-big {
    font-size: 34px;
  }

  /* 3D Сертификат на узких экранах */
  .gift-card-3d {
    min-height: 220px;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .cert-nominal {
    font-size: 34px;
  }

  .cert-card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .real-cert-preview {
    flex-direction: column;
    text-align: center;
  }

  .hero-phone-row,
  .map-overlay-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .addr-socials-5 .btn {
    flex: 1 1 calc(50% - 8px);
  }

  .map-frame-card {
    min-height: 300px;
  }

  .map-frame-card iframe {
    min-height: 250px;
  }

  /* Ровная сетка кнопок в подвале без выпирания */
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .footer-links .btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 11px;
  }

  .footer-links .btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .footer-copy {
    font-size: 11px;
  }
}