/* ══════════════════════════
   HEADER — прозрачный на герое
══════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
header.scrolled {
  background: rgba(255, 255, 255, .45);
  box-shadow: 0 4px 20px rgba(17, 32, 58, .06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.logo-white { display: block; }
.logo-dark  { display: none; }
header.scrolled .logo-white { display: none; }
header.scrolled .logo-dark  { display: block; }

nav { display: flex; gap: 36px; }
nav a {
  font-family: var(--font-nav);
  font-size: 14px; font-weight: 600;
  color: #fff; letter-spacing: .32px;
  transition: color .2s; white-space: nowrap;
}
header.scrolled nav a { color: #111; }
nav a:hover { color: rgba(255,255,255,.82); }
header.scrolled nav a:hover { color: var(--blue2); }

.header-right { display: flex; align-items: center; gap: 24px; }
.icon-btn {
  background: none; border: none; cursor: pointer;
  color: #fff;
  display: flex; align-items: center; transition: color .2s; padding: 0;
  position: relative;
}
.icon-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.85;
  vector-effect: non-scaling-stroke;
}
header.scrolled .icon-btn { color: #111; }
.icon-btn:hover { color: rgba(255,255,255,.82); }
header.scrolled .icon-btn:hover { color: #000; }

/* телефон-дропдаун */
.phone-dropdown {
  display: none; position: absolute; top: calc(100% + 14px); right: 0;
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 12px 20px; white-space: nowrap; z-index: 200;
  border-radius: 2px;
}
.phone-dropdown.open { display: block; }
.phone-dropdown a {
  font-size: 15px; font-weight: 600; color: #233E73;
  letter-spacing: .3px; text-decoration: none;
}
.phone-dropdown a:hover { color: #1a2f5a; }

/* поисковая строка */
.search-bar {
  display: none; position: fixed; top: 82px; right: 56px; left: 56px;
  width: auto;
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .58);
  padding: 13px 16px; z-index: 99;
  box-shadow: 0 14px 34px rgba(17, 32, 58, .12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 2px;
}
.search-bar.open { display: flex; align-items: center; gap: 12px; }
.search-bar svg { stroke: rgba(35, 62, 115, .72); }
.search-bar input {
  flex: 1; border: none; outline: none;
  font-family: var(--font-sans); font-size: 15px; color: var(--text);
  background: transparent;
}
.search-bar input::placeholder { color: rgba(17, 32, 58, .48); }
.search-bar-close {
  background: none; border: none; cursor: pointer;
  color: rgba(17, 32, 58, .55); font-size: 20px; line-height: 1; padding: 0;
  transition: color .2s;
}
.search-bar-close:hover { color: var(--text); }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  position: relative; height: clamp(420px, 35.68vw, 685px);
  overflow: hidden; background: #b07a56; width: 100%;
  cursor: pointer;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
  transition: opacity .35s ease, transform .6s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.02) 36%, transparent 62%);
  transition: background .35s ease;
}
.hero-content {
  position: absolute; left: 56px; top: 58%; transform: translateY(-50%);
  text-align: left; color: #fff; max-width: 430px;
  z-index: 2;
  transition: opacity .32s ease, transform .32s ease, color .35s ease;
}
.hero-content.is-hidden { display: none; }
.hero [hidden] { display: none !important; }
.hero-logo-wrap { margin-bottom: 22px; }
.hero-logo-wrap img { width: min(397px, 100%); height: auto; transition: opacity .25s ease; }
.hero-logo-wrap.is-empty { display: none; }
.hero-desc {
  font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.92);
  margin-bottom: 30px;
  transition: color .35s ease;
}
.btn-hero {
  display: inline-block; padding: 11px 32px;
  border: 1.5px solid rgba(255,255,255,.75); color: #fff;
  font-size: 13px; font-family: var(--font-sans); letter-spacing: .5px;
  transition: all .25s; cursor: pointer; background: transparent;
}
.btn-hero:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hero.is-switching .hero-bg img {
  opacity: .38;
  transform: scale(1.012);
}
.hero.is-switching .hero-content {
  opacity: .22;
  transform: translateY(calc(-50% + 8px));
}
.hero[data-text-theme="dark"] .hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.48) 38%, transparent 70%);
}
.hero[data-text-theme="dark"] .hero-content {
  color: #10244a;
}
.hero[data-text-theme="dark"] .hero-desc {
  color: rgba(16,36,74,.82);
}
.hero[data-text-theme="dark"] .btn-hero {
  color: #10244a;
  border-color: rgba(16,36,74,.48);
  background: rgba(255,255,255,.18);
}
.hero[data-text-theme="dark"] .btn-hero:hover {
  background: rgba(16,36,74,.08);
  border-color: rgba(16,36,74,.78);
}
.hero-controls {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero[data-slides-count="1"] .hero-controls {
  display: none;
}
.hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.58);
  background: rgba(16,36,74,.18);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17,32,58,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.hero-arrow:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
}
.hero-arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.hero-arrow:active {
  transform: scale(.94);
}
.hero[data-text-theme="dark"] .hero-arrow {
  color: #10244a;
  border-color: rgba(16,36,74,.28);
  background: rgba(255,255,255,.7);
}
.hero[data-text-theme="dark"] .hero-arrow:hover {
  background: rgba(255,255,255,.9);
  border-color: rgba(16,36,74,.44);
}

/* ══════════════════════════
   CATALOG
══════════════════════════ */
.catalog { padding: 60px 56px 40px; }
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.catalog-heading .section-title {
  margin-bottom: 0;
}
.catalog-title-link {
  display: inline-flex;
  color: inherit;
  transition: color .2s ease, opacity .2s ease;
}
.catalog-title-link:hover {
  color: var(--blue2);
  opacity: .88;
}
.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(84, 151, 224, .26);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(219, 239, 255, .96), rgba(193, 225, 255, .98));
  box-shadow: 0 10px 26px rgba(63, 123, 193, .14);
  color: #2f5f98;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.catalog-filter-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(84, 151, 224, .42);
  background: linear-gradient(135deg, rgba(206, 233, 255, .98), rgba(178, 216, 252, .98));
  box-shadow: 0 14px 30px rgba(63, 123, 193, .18);
}
.catalog-filter-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.catalog-filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.catalog-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(35, 62, 115, .07);
  color: var(--blue2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18px;
}
.catalog-filter-results {
  margin-bottom: 34px;
  padding: 24px;
  border: 1px solid rgba(17, 32, 58, .08);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,247,252,.98));
  box-shadow: 0 18px 38px rgba(17, 32, 58, .08);
}
.catalog-filter-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.catalog-filter-results-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .2px;
  color: #141821;
}
.catalog-filter-results-note {
  margin-top: 6px;
  color: #7b8494;
  font-size: 13px;
  line-height: 1.5;
}
.catalog-filter-clear {
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(35, 62, 115, .14);
  background: #fff;
  color: #213761;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.catalog-filter-clear:hover {
  border-color: rgba(35, 62, 115, .28);
  color: var(--blue2);
}
.catalog-filter-grid {
  grid-template-columns: repeat(4, 1fr);
}
.catalog-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}
.catalog-filter-modal.open {
  display: block;
}
.catalog-filter-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: rgba(9, 16, 29, .42);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  cursor: pointer;
}
.catalog-filter-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 28px 28px 24px;
  border: 1px solid rgba(255,255,255,.45);
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(241,245,252,.97));
  box-shadow: 0 30px 70px rgba(11, 22, 42, .22);
}
.catalog-filter-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.catalog-filter-dialog-kicker {
  margin-bottom: 10px;
  color: #6e7d96;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.catalog-filter-dialog-head h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 600;
  color: #121826;
}
.catalog-filter-dialog-head p {
  margin: 0;
  max-width: 440px;
  color: #6d7687;
  font-size: 14px;
  line-height: 1.6;
}
.catalog-filter-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(17, 32, 58, .12);
  background: rgba(255,255,255,.86);
  color: #25314a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s ease;
}
.catalog-filter-close:hover {
  color: var(--blue2);
  border-color: rgba(35, 62, 115, .24);
}
.catalog-filter-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.catalog-filter-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.catalog-filter-field span {
  color: #4f5d77;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24px;
}
.catalog-filter-field input,
.catalog-filter-field select {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(17, 32, 58, .10);
  background: rgba(255,255,255,.9);
  color: #151a24;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.catalog-filter-field input:focus,
.catalog-filter-field select:focus {
  border-color: rgba(35, 62, 115, .35);
  box-shadow: 0 0 0 3px rgba(35, 62, 115, .08);
  background: #fff;
}
.catalog-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.catalog-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-filter-reset,
.catalog-filter-cancel,
.catalog-filter-apply {
  height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.catalog-filter-reset,
.catalog-filter-cancel {
  background: #fff;
  color: #24395f;
  border-color: rgba(17, 32, 58, .10);
}
.catalog-filter-reset:hover,
.catalog-filter-cancel:hover {
  border-color: rgba(35, 62, 115, .24);
  color: var(--blue2);
}
.catalog-filter-apply {
  background: linear-gradient(135deg, #233e73, #345898);
  color: #fff;
  box-shadow: 0 14px 26px rgba(35, 62, 115, .2);
}
.catalog-filter-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(35, 62, 115, .24);
}
.cat-row { margin-bottom: 52px; }
.cat-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.catalog .tab:first-child {
  padding-left: 0;
}
.cat-nav { display: flex; gap: 6px; padding-bottom: 12px; }
.cat-nav button {
  width: 30px; height: 30px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 14px;
  color: #555; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.cat-nav button:hover { background: #111; color: #fff; border-color: #111; }
.cat-nav button:disabled {
  opacity: .38;
  cursor: not-allowed;
  background: #f6f7fa;
  color: #9aa4b6;
  border-color: rgba(17, 32, 58, .08);
}

.cards-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.catalog-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  color: #7b8494;
  font-size: 14px;
  text-align: center;
}
.card {
  background: #fff; position: relative;
  cursor: pointer; transition: box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.card-badge {
  position: absolute; top: 11px; left: 11px;
  background: var(--blue2); color: #fff;
  font-size: 10.5px; padding: 3px 9px; font-weight: 600; letter-spacing: .6px; z-index: 2;
}
.card-wish {
  position: absolute; top: 9px; right: 11px; z-index: 2;
  background: none; border: none; cursor: pointer;
  color: #bbb; padding: 0; transition: color .2s;
  display: flex; align-items: center; justify-content: center;
}
.card-wish:hover { color: #e74c3c; }
.card-wish.active { color: #e74c3c; }
.card-wish svg { display: block; }
.card-img {
  width: 100%; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 16px; overflow: hidden; background: #fff;
}
.card-img img {
  width: 88%; height: 88%; object-fit: contain;
  transition: transform .35s ease; margin: auto;
}
.card:hover .card-img img { transform: scale(1.04); }
.card-info {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.card-brand { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; }
.card-price { font-size: 15px; font-weight: 700; color: #111; }

/* ══════════════════════════
   BRANDS STRIP
══════════════════════════ */
.brands {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden; background: #fff;
  width: 100%; max-width: 100vw;
}
.brands-track {
  display: flex; align-items: center;
  white-space: nowrap; animation: marquee 22s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-sep {
  display: inline-flex; align-items: center; padding: 0 36px;
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 400; letter-spacing: 3px;
  text-transform: uppercase;
  color: #999; transition: color .2s; cursor: pointer; user-select: none;
  text-decoration: none;
  border-right: 1px solid var(--border); flex-shrink: 0;
}
.brand-sep:hover { color: var(--blue2); }

/* ══════════════════════════
   SERVICES
══════════════════════════ */
.services { padding: 56px 56px; background: #fafafa; }
.svc-grid {
  display: grid; grid-template-columns: 300px 1fr 220px;
  gap: 14px; height: 400px;
}
.svc-grid--no-guarantee { grid-template-columns: 300px 1fr; }
.svc-left { display: flex; flex-direction: column; gap: 14px; }
.svc-card-sm {
  flex: 1; border-radius: 0; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px;
}
.svc-card-sm-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.svc-card-sm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
.svc-card-sm-label {
  color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4;
  position: relative; z-index: 2;
}
.svc-card-sm-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.svc-card-sm-btn {
  display: inline-block; padding: 7px 16px;
  border: 1.5px solid rgba(255,255,255,.6); color: #fff;
  font-size: 11.5px; letter-spacing: .3px; text-decoration: none;
  transition: background .25s, border-color .25s;
}
.svc-card-sm-btn:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.svc-bonus {
  border-radius: 0; overflow: hidden;
  background: linear-gradient(155deg,#1d3e74 0%,#0d1f3c 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px; position: relative;
}
.svc-bonus-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
.svc-bonus-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,24,50,.85) 0%, rgba(10,24,50,.35) 55%, rgba(10,24,50,.15) 100%);
}
.svc-bonus-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle,rgba(255,255,255,.08) 1.5px,transparent 1.5px);
  background-size: 22px 22px;
}
.svc-bonus-glasses {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); opacity: .1;
}
.svc-bonus-content { position: relative; z-index: 2; }
.svc-bonus h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.svc-bonus p { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.65; margin-bottom: 24px; }
.svc-bonus-note {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.svc-bonus-note p {
    margin: 0 0 8px;
    font-size: 9px;
    line-height: 1.4;
    color: rgba(255,255,255,.72);
  }
.svc-bonus-note p:last-child { margin-bottom: 0; }
.btn-outline-white {
  display: inline-block; min-width: 210px; padding: 10px 28px;
  border: 1.5px solid rgba(255,255,255,.6); color: #fff;
  font-size: 12.5px; font-family: var(--font-sans);
  transition: all .25s; cursor: pointer; background: transparent; letter-spacing: .4px;
  text-align: center;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.svc-guarantee {
  border-radius: 0; overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px;
}
.svc-guarantee-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.svc-guarantee-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 40, 80, 0.62);
}
.svc-guarantee-content { position: relative; z-index: 2; }
.svc-guarantee .num { font-family: var(--font-display); font-size: 80px; font-weight: 700; color: #fff; line-height: 1; }
.svc-guarantee .lbl { font-size: 18px; font-weight: 600; color: #fff; margin-top: 8px; line-height: 1.3; }

/* ══════════════════════════
   SALONS
══════════════════════════ */
.salons { background: #fff; padding: 56px 56px 72px; }
.salons-tabs { margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.salons-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px;
}
.salon-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  align-items: start;
}
.salon-card-photo {
  width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  background: #f4f6f8;
}
.salon-card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.salon-card:hover .salon-card-photo img { transform: scale(1.04); }
.salon-card-info { padding: 4px 0 0 24px; }
.salon-card-name {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
/* Адрес — кнопка: клик наводит карту на этот салон и открывает его метку.
   Сбрасываем оформление кнопки, чтобы визуально осталась прежняя строка. */
.salon-card-addr {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; color: var(--blue2);
  line-height: 1.4; margin-bottom: 12px;
  display: block; width: 100%;
  padding: 0; border: none; background: none;
  text-align: left; cursor: pointer;
  transition: color .2s;
}
.salon-card-addr:hover { color: var(--blue); }
.salon-card-addr:focus-visible { outline: 2px solid var(--blue2); outline-offset: 3px; }
.salon-card-detail { font-size: 13px; color: #444; line-height: 1.9; }
.salon-card-detail a {
  color: var(--blue2);
  font-weight: 600;
}
.salons-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.salons-more-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 132px;
  padding: 0;
  border: none;
  background: transparent;
  color: #8b929e;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28px;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease;
}
.salons-more-btn-shape {
  display: none;
}
.salons-more-btn-line {
  position: absolute;
  background: rgba(35, 62, 115, .42);
  transition: background .2s ease, transform .2s ease;
}
.salons-more-btn-line-left,
.salons-more-btn-line-right {
  display: none;
}
.salons-more-btn-line-bottom {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  border-radius: 999px;
}
.salons-more-btn-label {
  display: block;
  line-height: 1;
}
.salons-more-btn-label::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 8px auto 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.salons-more-btn[aria-expanded="true"] .salons-more-btn-label::after {
  margin-top: 10px;
  transform: rotate(225deg);
}
.salons-more-btn:hover {
  transform: translateY(-1px);
  color: #6f7682;
}
.salons-more-btn:hover .salons-more-btn-line,
.salons-more-btn:focus-visible .salons-more-btn-line {
  background: rgba(24, 55, 100, .8);
}
.salons-more-btn:focus-visible {
  outline: none;
  color: #6f7682;
}
.salons-more-btn:focus-visible .salons-more-btn-shape {
  transform: scale(1.02);
}

/* ══════════════════════════
   SUBSCRIBE
══════════════════════════ */
.subscribe-wrap { padding: 0 56px 72px; background: #fff; }
.subscribe {
  background: linear-gradient(135deg,#1d3e74 0%,#0d1f3c 100%);
  padding: 120px 64px;
  position: relative; overflow: hidden; border-radius: 0;
}
.sub-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
}
.sub-text { flex: 0 0 58%; max-width: 58%; }
.sub-patterns {
  position: absolute;
  right: -140px; top: 50%; transform: translateY(-50%);
  width: 900px; height: 900px;
  pointer-events: none; z-index: 1;
  overflow: hidden;
}
/* Предотвращаем выход за пределы экрана */
.subscribe-wrap { overflow: hidden; }
.sub-patterns .p1 {
  width: 100%; height: 100%;
  background-image: url('../assets/pattern.png');
  background-size: contain; background-repeat: no-repeat;
  background-position: center;
  opacity: .22; mix-blend-mode: screen;
  animation: spin-gentle 90s linear infinite;
}
@keyframes spin-gentle {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.sub-label {
  font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.6);
  text-transform: uppercase; margin-bottom: 20px; display: block;
}
.salons-map-wrap {
  margin-top: 32px;
}
.salons-map {
  width: 100%; height: 460px;
  border-radius: 18px; overflow: hidden;
  background: var(--light);
}
.salon-balloon {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-sans); font-size: 13px; line-height: 1.5;
  min-width: 190px;
}
.salon-balloon strong { font-size: 14px; color: var(--blue2); }
.salon-balloon a { color: var(--blue2); text-decoration: underline; }
@media (max-width: 768px) {
  .salons-map { height: 320px; border-radius: 14px; }
  .salons-map-wrap { margin-top: 24px; }
}
.sub-lead {
  font-size: 20px; line-height: 1.5; font-weight: 600; color: #fff;
  max-width: 520px; margin-bottom: 26px;
}
.sub-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue2);
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}
.sub-whatsapp:hover { opacity: .88; transform: translateY(-1px); }
.sub-whatsapp svg { width: 20px; height: 20px; display: block; }
.sub-form { display: flex; max-width: 460px; margin-bottom: 16px; }
.sub-input {
  flex: 1; background: transparent; border: none;
  border-bottom: 2px solid rgba(255,255,255,.35);
  padding: 14px 4px; font-size: 22px; font-weight: 700; color: #fff;
  letter-spacing: .5px; outline: none; font-family: var(--font-display);
  transition: border-color .25s;
}
.sub-input::placeholder { color: rgba(255,255,255,.5); }
.sub-input:focus { border-bottom-color: #fff; }
.sub-arrow {
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 28px; cursor: pointer; padding: 0 8px; transition: color .2s;
}
.sub-arrow:hover { color: #fff; }
.sub-check { display: flex; align-items: center; gap: 10px; }
.sub-check label { font-size: 11px; color: rgba(255,255,255,.5); cursor: pointer; }
.sub-check input { cursor: pointer; accent-color: var(--accent); }

/* ══════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════ */
@media (max-width: 1024px) {
  header { padding: 0 24px; }
  nav { gap: 20px; }
  nav a { font-size: 12.5px; }
  .catalog { padding: 48px 24px 32px; }
  .catalog-filter-grid { grid-template-columns: repeat(3, 1fr); }
  .services { padding: 48px 24px; }
  .salons { padding: 48px 24px 56px; }
  .subscribe-wrap { padding: 0 24px 56px; }
  .subscribe { padding: 80px 36px; }
  .svc-grid { grid-template-columns: 1fr; height: auto; }
  .svc-bonus { min-height: 260px; }
  .svc-guarantee { min-height: 160px; }
  .svc-left { flex-direction: row; }
  .svc-card-sm { min-height: 180px; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .search-bar { left: 24px; right: 24px; width: auto; }
}

/* ══════════════════════════
   RESPONSIVE — MOBILE (≤768px)
══════════════════════════ */
@media (max-width: 768px) {
  header { padding: 0 16px; height: 56px; }
  nav { display: none; }
  .burger { display: block; }
  .logo-lockup { --logo-height: 28px; }

  /* Hero */
  .hero { height: 46vw; min-height: 300px; max-height: 380px; width: 100%; }
  .hero-bg img { object-position: 78% center; }
  .hero-content {
    left: 24px; top: 59%; transform: translateY(-50%);
    text-align: left; max-width: 58%; width: 58%;
  }
  .hero-logo-wrap img { width: min(320px, 100%); height: auto; display: block; }
  .hero-desc { font-size: 13px; margin-bottom: 24px; }
  .btn-hero { padding: 10px 28px; font-size: 12px; }
  .hero-controls { right: 18px; bottom: 18px; gap: 7px; }
  .hero-arrow { width: 31px; height: 31px; font-size: 22px; }

  /* Search */
  .search-bar {
    top: 66px; left: 16px; right: 16px; width: auto;
    padding: 12px 14px;
  }

  /* Catalog */
  .catalog { padding: 36px 16px 24px; max-width: 100vw; overflow: hidden; }
  .catalog-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .catalog-filter-btn {
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
  .catalog-filter-results {
    padding: 18px 16px;
    margin-bottom: 26px;
  }
  .catalog-filter-results-head {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-filter-clear {
    width: 100%;
  }
  .catalog-filter-grid { grid-template-columns: 1fr 1fr; }
  .catalog-filter-dialog {
    width: calc(100vw - 20px);
    padding: 22px 16px 18px;
  }
  .catalog-filter-dialog-head h3 {
    font-size: 24px;
  }
  .catalog-filter-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-filter-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-filter-actions {
    width: 100%;
    justify-content: stretch;
  }
  .catalog-filter-cancel,
  .catalog-filter-apply {
    flex: 1;
  }
  .section-title { font-size: 22px; margin-bottom: 18px; }
  .cat-header { flex-direction: column; align-items: stretch; gap: 10px; }
  .tabs {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 0; scrollbar-width: none; -ms-overflow-style: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { padding: 8px 14px; font-size: 12px; flex-shrink: 0; }
  .cat-nav { padding-bottom: 8px; }
  .cards-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-img { aspect-ratio: 1/1; padding: 16px 12px; }
  .card-info { padding: 10px 12px 14px; }
  .card-brand { font-size: 9.5px; }
  .card-price { font-size: 13.5px; }
  .card-badge { font-size: 9px; padding: 2px 7px; }

  /* Brands */
  .brand-sep { padding: 0 20px; font-size: 12px; letter-spacing: 2px; }

  /* Services */
  .services { padding: 36px 16px; max-width: 100vw; overflow: hidden; }
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .svc-left { flex-direction: column; }
  .svc-card-sm { min-height: 150px; }
  .svc-bonus { min-height: 220px; padding: 24px; }
  .svc-bonus h3 { font-size: 18px; }
  .svc-bonus p { font-size: 12px; }
  .svc-guarantee { min-height: 140px; }
  .svc-guarantee .num { font-size: 56px; }
  .svc-guarantee .lbl { font-size: 15px; }

  /* Salons */
  .salons { padding: 36px 16px 48px; max-width: 100vw; overflow: hidden; }
  .salons-tabs {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    display: flex; flex-wrap: nowrap;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .salons-tabs::-webkit-scrollbar { display: none; }
  .salons-tabs .tab { flex-shrink: 0; }
  .salons-grid { grid-template-columns: 1fr; gap: 28px; }
  .salon-card { grid-template-columns: 1fr; }
  .salon-card-photo { aspect-ratio: 4 / 3; }
  .salon-card-info { padding: 14px 0 0 0; }
  .salon-card-addr { font-size: 13px; }
  .salon-card-detail { font-size: 12.5px; }
  .salons-more-wrap { margin-top: 28px; }
  .salons-more-btn-shape { width: 78px; height: 10px; }

  /* Subscribe */
  .subscribe-wrap { padding: 0 16px 48px; }
  .subscribe { padding: 48px 24px; }
  .sub-text { flex: 0 0 100%; max-width: 100%; }
  .sub-patterns { display: none; }
  .sub-label { font-size: 10px; letter-spacing: 1.5px; }
  .sub-input { font-size: 16px; padding: 12px 4px; }
  .sub-form { max-width: 100%; }
  .sub-check label { font-size: 10px; }

  /* Phone dropdown */
  .phone-dropdown { right: -40px; }
}

/* ══════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
══════════════════════════ */
@media (max-width: 480px) {
  header { padding: 0 12px; }
  .header-right { gap: 14px; }
  .icon-btn svg { width: 18px; height: 18px; }

  .hero { height: 62vw; min-height: 240px; max-height: 300px; }
  .hero-bg img { object-position: 82% center; }
  .hero-content { left: 12px; top: 60%; max-width: 64%; width: 64%; }
  .hero-logo-wrap img { width: min(230px, 100%); height: auto; }
  .hero-desc { font-size: 12px; line-height: 1.6; }
  .hero-controls { right: 12px; bottom: 12px; gap: 6px; }
  .hero-arrow { width: 28px; height: 28px; font-size: 20px; }

  .catalog { padding: 28px 12px 20px; }
  .catalog-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-filter-btn {
    width: 100%;
    justify-content: center;
  }
  .catalog-filter-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 19px; }
  .cards-grid { gap: 8px; }
  .card-img { padding: 12px 8px; }
  .card-info { padding: 8px 10px 12px; }
  .card-brand { font-size: 8.5px; letter-spacing: .8px; }
  .card-price { font-size: 12.5px; }

  .services { padding: 28px 12px; }
  .salons { padding: 28px 12px 36px; }

  .subscribe-wrap { padding: 0 12px 36px; }
  .subscribe { padding: 36px 18px; border-radius: 0; }
  .sub-input { font-size: 14px; }

  .cat-row { margin-bottom: 36px; }
}

/* ══════════════════════════
   Светлый баннер под шапкой
   ══════════════════════════
   Шапка прозрачная и белая поверх героя. Если первый слайд светлый,
   белое меню на нём не читается — красим его тёмным, не дожидаясь
   прокрутки. Фон и тень не добавляем: шапка остаётся прозрачной. */
header.on-light-hero:not(.scrolled) .logo-white { display: none; }
header.on-light-hero:not(.scrolled) .logo-dark  { display: block; }
header.on-light-hero:not(.scrolled) nav a { color: #111; }
header.on-light-hero:not(.scrolled) nav a:hover { color: var(--blue2); }
header.on-light-hero:not(.scrolled) .icon-btn { color: #111; }
header.on-light-hero:not(.scrolled) .icon-btn:hover { color: #000; }
header.on-light-hero:not(.scrolled) .burger { color: #111; }

/* Баннер, у которого весь текст нарисован на картинке: осветляющая
   подложка ему не нужна и только гасит цвета макета. */
.hero[data-bare="1"] .hero-overlay { background: none; }

@media (max-width: 768px) {
  /* Keep the header off the artwork and retain all text baked into promo images. */
  header,
  header.scrolled { background: #fff; }
  header .logo-white { display: none; }
  header .logo-dark { display: block; }
  header .icon-btn,
  header .burger { color: var(--blue2); }
  .hero { margin-top: 56px; }
  .hero[data-bare="1"] { background: #f6f8fb; }
  .hero[data-bare="1"] .hero-bg img { object-fit: contain; }
}
