:root {
  --bg: #f3f6f4;
  --bg-deep: #e4ece7;
  --surface: #ffffff;
  --ink: #1a2b24;
  --muted: #5a6b63;
  --line: #c9d5ce;
  --accent: #1f6b4f;
  --accent-dark: #15553e;
  --accent-soft: #d7ebe1;
  --danger: #9b2c2c;
  --shadow: 0 18px 40px rgba(26, 43, 36, 0.08);
  --radius: 14px;
  --font: "Roboto", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dceee5 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
  overflow-x: clip;
}

/* Soft school brand accents — 3D shapes from Art Lebedev identity */
.brand-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.brand-decor__shapes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: min(48vh, 480px);
  object-fit: contain;
  object-position: center bottom;
  opacity: 0.28;
}
.site-shell {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: clip;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(243, 246, 244, 0.94);
  border-bottom: 1px solid var(--line);
  transition: transform 0.22s ease-out;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.site-header.is-hidden {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}
.site-header-spacer {
  height: var(--header-offset, 76px);
  flex-shrink: 0;
  pointer-events: none;
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    #2f6fdb 0%,
    #e23b3b 18%,
    #f0a12a 36%,
    #c23a8b 54%,
    #7ac943 72%,
    #2ec4d6 100%
  );
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
  min-width: 0;
}
.brand-text strong {
  font-size: 1.05rem;
  white-space: normal;
}
.nav { display: flex; gap: 1rem; }
.nav a { color: var(--muted); font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--accent); }

.header-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.header-contact:hover {
  text-decoration: none;
  transform: translateY(-1px);
  opacity: 0.9;
}
.header-contact img {
  width: 36px;
  height: 36px;
  display: block;
}

.hero {
  position: relative;
  padding: 3.2rem 0 2rem;
  animation: rise 0.6s ease both;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.brand-mark {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.85rem;
}
.hero h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  max-width: 18ch;
  color: var(--ink);
}
.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.catalog-section { padding-bottom: 4rem; }

.filters {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: rise 0.7s ease both;
}
.filters-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}
.icon-btn {
  position: relative;
}
.filters-toggle .filters-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
}
.filters-extra {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.4fr;
  gap: 0.55rem 0.5rem;
  align-items: center;
}
.filters-extra > * {
  min-width: 0;
  max-width: 100%;
}
.filters-extra .weekday-row {
  grid-column: 1 / -1;
}
.filters-extra[hidden] { display: none !important; }
.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}
.filters-badge[hidden] { display: none !important; }
.filters-toggle.has-active-filters {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
}
.filter-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem;
  align-items: center;
}
.filter-range-sep { color: var(--muted); font-weight: 500; }

.dual-range {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.35rem 0.15rem 0.15rem;
}
.dual-range__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.dual-range__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
.dual-range__value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.dual-range__controls {
  position: relative;
  height: 2rem;
  display: flex;
  align-items: center;
  touch-action: none;
  cursor: pointer;
}
.dual-range__track {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--line);
  pointer-events: none;
  z-index: 0;
}
.dual-range__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--dual-from, 0%);
  right: var(--dual-to, 0%);
  border-radius: inherit;
  background: var(--accent);
}
.dual-range__input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  height: 2rem;
  -webkit-appearance: none;
  appearance: none;
}
.dual-range__input::-webkit-slider-runnable-track {
  height: 0.35rem;
  background: transparent;
  border: none;
}
.dual-range__input::-moz-range-track {
  height: 0.35rem;
  background: transparent;
  border: none;
}
.dual-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 4px rgba(26, 43, 36, 0.18);
  margin-top: calc((0.35rem - 1.25rem) / 2);
  position: relative;
}
.dual-range__input::-moz-range-thumb {
  -moz-appearance: none;
  appearance: none;
  pointer-events: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 1px 4px rgba(26, 43, 36, 0.18);
}
.dual-range__input--min { z-index: 2; }
.dual-range__input--max { z-index: 3; }
.dual-range__input.is-active { z-index: 5; }
.weekday-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.weekday-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}
.filters-reset {
  margin-left: auto;
  height: 2.2rem;
  padding: 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-sizing: border-box;
}
.weekday-chip {
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}
.weekday-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.weekday-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}
.weekday-chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.weekday-chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.filters input,
.filters select,
.admin-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.admin-form textarea,
.admin-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.filters .dual-range__input,
.filters input[type="hidden"] {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.filters-main input[type="search"] {
  border-radius: 999px;
  padding: 0.85rem 1rem;
  min-height: 3.25rem;
  box-sizing: border-box;
}
.filter-actions { display: flex; align-items: end; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-danger { background: var(--danger); color: #fff; }
.btn.icon-btn {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  flex-shrink: 0;
}
.btn.icon-btn .icon {
  width: 1.6rem;
  height: 1.6rem;
  display: block;
  flex-shrink: 0;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 0.75rem;
  flex-wrap: wrap;
}
.results-meta { color: var(--muted); margin: 0; }
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}
.view-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}
.view-btn.is-active {
  background: var(--accent);
  color: #fff;
}
.btn.is-active-filters {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}
.circle-grid[hidden],
.week-calendar[hidden] {
  display: none !important;
}

.week-calendar { animation: rise 0.45s ease both; }
.cal-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.week-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
}
.week-table th,
.week-table td {
  border-right: 1px solid var(--line);
  vertical-align: top;
  width: 14.28%;
  min-width: 0;
  overflow: hidden;
}
.week-table th:last-child,
.week-table td:last-child { border-right: 0; }
.week-table thead th {
  background: #edf4f0;
  padding: 0.75rem 0.55rem;
  text-align: center;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.cal-day-short { display: none; font-weight: 700; color: var(--ink); }
.cal-day-full { display: inline; font-weight: 700; color: var(--ink); }
.cal-cell {
  padding: 0.55rem;
  min-height: 180px;
  background: #fff;
}
.cal-cell.is-empty { background: #f7faf8; }
.cal-empty { color: #b0bbb5; display: block; text-align: center; padding: 1.5rem 0; }
.cal-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
}
.cal-event {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid #c5ddd1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
}
.cal-event.has-cover {
  background-image: var(--cal-cover);
  background-size: cover;
  background-position: center;
  border-color: rgba(26, 43, 36, 0.18);
  min-height: 7.2rem;
}
.cal-event-shade {
  display: none;
}
.cal-event.has-cover .cal-event-shade {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 30, 24, 0.18) 0%, rgba(15, 30, 24, 0.78) 100%);
  z-index: 0;
}
.cal-event-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem;
  min-width: 0;
}
.cal-event.has-cover .cal-time,
.cal-event.has-cover .cal-title,
.cal-event.has-cover .cal-meta {
  color: #fff;
}
.cal-event.has-cover .cal-meta {
  color: rgba(255, 255, 255, 0.86);
}
.cal-event:hover {
  background: #cfe6da;
  transform: translateY(-1px);
  text-decoration: none;
}
.cal-event.has-cover:hover {
  background-image: var(--cal-cover);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 18px rgba(26, 43, 36, 0.18);
}
.cal-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.cal-title,
.cal-meta {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.cal-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}
.cal-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.cal-unscheduled {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cal-unscheduled h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.cal-unscheduled-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.circle-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.5s ease both;
}
.circle-grid.no-enter-anim .circle-card {
  animation: none;
}
.circle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(26, 43, 36, 0.12);
  text-decoration: none;
}
.circle-card .cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--accent-soft), #f7faf8);
  object-fit: cover;
  width: 100%;
}
.circle-card .body { padding: 1rem 1rem 1.15rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.circle-card h2 { margin: 0; font-size: 1.15rem; font-family: var(--font); font-weight: 700; }
.meta { color: var(--muted); font-size: 0.92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; padding-top: 0.5rem; }
.tag {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
}

.detail { padding: 2rem 0 4rem; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.detail h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.detail .desc { white-space: pre-wrap; }
.schedule-list { list-style: none; padding: 0; margin: 0; }
.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: start;
}
.media-grid img, .media-grid video {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}
.media-video {
  grid-column: span 2;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1a15;
  min-width: 0;
}
.media-video video,
.media-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0f1a15;
}
.media-video--link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #1a2b24, #1f6b4f);
}
.media-video--link:hover { text-decoration: underline; }
.media-link,
.media-doc {
  grid-column: 1 / -1;
  margin: 0;
}
.media-link a,
.media-doc a {
  font-weight: 600;
  word-break: break-word;
}
@media (max-width: 560px) {
  .media-video { grid-column: 1 / -1; }
}
.media-thumb {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}
.media-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 20, 16, 0.82);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none !important; }
.lightbox-image {
  max-width: min(1100px, calc(100% - 7rem));
  max-height: min(90vh, 100%);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  cursor: default;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox-nav[hidden] { display: none !important; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}
.lightbox-counter[hidden] { display: none !important; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 700px) {
  .lightbox-image { max-width: 100%; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}
.cta-box { position: sticky; top: 88px; }
.cta-box .price { font-size: 1.3rem; font-weight: 700; margin: 0.5rem 0 1rem; }
.cta-box .btn-primary { width: 100%; }
.enroll-qr {
  display: flex;
  justify-content: center;
  margin: 1rem auto 0;
  padding: 0.65rem;
  width: fit-content;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.enroll-qr img,
.enroll-qr canvas {
  display: block;
  width: 148px;
  height: 148px;
}
.enroll-qr-caption {
  display: block;
  text-align: center;
  margin: 0.5rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-links { display: flex; gap: 1rem; }
.empty, .muted { color: var(--muted); }

.legal { padding: 2.5rem 0 4rem; max-width: 760px; }
.legal h1 { font-family: var(--font); font-weight: 700; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .filters-main { grid-template-columns: minmax(0, 1fr) auto; }
  .filters-extra { grid-template-columns: 1fr 1fr; }
  .filters-extra .weekday-row { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .cta-box { position: static; }
  .enroll-qr,
  .enroll-qr-caption { display: none !important; }
  .cal-day-full { display: none; }
  .cal-day-short { display: inline; }
}
@media (max-width: 560px) {
  .header-inner { align-items: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 0.75rem 0; }
  .header-contact { width: 28px; height: 28px; }
  .header-contact img { width: 28px; height: 28px; }
  .header-contacts { gap: 0.28rem; }
  .filters-main { grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem; }
  .filters input,
  .filters select,
  .filters-main input[type="search"] {
    font-size: 16px; /* iOS: avoid focus zoom when < 16px */
  }
  .filters-main input[type="search"] {
    padding: 0.75rem 0.9rem;
    min-height: 3.1rem;
  }
  .btn.icon-btn { width: 3.1rem; height: 3.1rem; }
  .btn.icon-btn .icon { width: 1.5rem; height: 1.5rem; }
  .filters-extra { grid-template-columns: 1fr 1fr; }
  .results-bar { align-items: flex-start; }
  .brand-logo { height: 52px; }
  .brand-decor__shapes { height: min(34vh, 280px); opacity: 0.2; }
}
@media (max-width: 380px) {
  .filters-extra { grid-template-columns: 1fr; }
  .header-contact { width: 24px; height: 24px; }
  .header-contact img { width: 24px; height: 24px; }
  .header-contacts { gap: 0.22rem; }
}
