@import "variables.css";

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;750&family=Montserrat:wght@500;600;700;800&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; color: var(--text); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--padding-inline);
}
@media (max-width: 600px) {
  .container { padding-inline: var(--padding-inline-mobile); }
}

/* Кнопки — унифицированные */
.btn,
a.btn {
  height: var(--btn-height);
  min-height: 44px;
  padding: 0 var(--s-6);
  border-radius: var(--r-sm);
  font-weight: var(--fw-semibold);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.btn:active {
  transform: translateY(0);
}
/* Primary — синий */
.btn-primary,
a.btn-primary {
  background: var(--brand-blue);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover,
a.btn-primary:hover {
  background: var(--brand-blue-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
}
/* Accent CTA — золотой, при hover темнее */
.btn-gold {
  background: var(--brand-gold);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--brand-gold-700);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-gold:active {
  transform: translateY(0);
}
/* Secondary — outline */
.btn-outline {
  background: transparent;
  border: 1px solid var(--blue-600);
  color: var(--blue-600);
}
.btn-outline:hover {
  background: #EFF6FF;
}
.btn:disabled,
.btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ----- Header — одна строка, премиальный ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.header.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }

.header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: nowrap;
}
.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
}
.brand:hover .brand__logo { filter: brightness(0.95); }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--s-2);
  cursor: pointer;
  background: none;
  border: none;
}
.header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}
.header__burger:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}
.nav-toggle:checked ~ .header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle:checked ~ .header__burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}
.nav__link {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--muted);
  text-decoration: none;
  padding: var(--s-2) var(--s-3);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.nav__link:hover {
  color: var(--text);
  background: rgba(11, 61, 145, 0.06);
}
.nav__link--active {
  color: var(--brand-blue);
  background: rgba(11, 61, 145, 0.08);
}
.nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 999px;
}

.header__right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-left: auto;
  white-space: nowrap;
}
.header__cities {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--muted);
}
.header__contact {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.header__phone {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--text);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.header__phone:hover { color: var(--brand-blue); }
.header__phone:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}
.header__note {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--brand-blue);
  background: rgba(11, 61, 145, 0.08);
  border: 1px solid rgba(11, 61, 145, 0.15);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .header__inner { gap: var(--s-4); }
  .nav__link { font-size: 13px; padding: var(--s-2) 10px; }
}
@media (max-width: 1024px) {
  .header__cities { display: none; }
  .header__inner { gap: var(--s-3); }
}
@media (max-width: 960px) {
  .header__inner { height: 64px; }
  .header__burger {
    display: flex;
    order: 2;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 0 var(--s-4);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border: none;
    box-shadow: none;
  }
  .nav-toggle:checked ~ .nav {
    max-height: 320px;
    padding: var(--s-4);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav__link {
    padding: var(--s-4);
    border-radius: var(--r-sm);
  }
  .header__note { display: none; }
}
@media (max-width: 600px) {
  .brand__logo { height: 28px; }
  .header__inner { height: 56px; }
}
.header__cta {
  display: inline-flex;
  align-items: center;
  min-height: var(--btn-min-height);
  padding: 0 var(--s-4);
  border-radius: var(--r-lg);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header__cta:hover {
  background: var(--brand-blue-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.header__cta:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.header__cta:active {
  transform: translateY(0);
}
.header__cta--primary {
  font-size: 0.95rem;
}

/* ----- Promo banners ----- */
/* ----- Hero main ----- */
.hero-main {
  padding: 32px 0 40px;
}
.hero-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-main__inner {
    grid-template-columns: 1fr;
  }
}
.hero-main__title {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}
.hero-main__lead {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--color-text);
  max-width: 520px;
}
.hero-main__bullets {
  margin: 0 0 18px;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.hero-main__bullets li + li {
  margin-top: 4px;
}
.hero-main__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.hero-main__cta {
  font-size: 0.95rem;
}
.hero-main__secondary {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}
.hero-main__secondary:hover { text-decoration: underline; }
.hero-main__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 4px 0 6px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.hero-main__trust span::before {
  content: "• ";
}
.hero-main__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.hero-main__visual img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ----- Pool grid (main) ----- */
.pool-grid-section { padding: 48px 0; }
.pool-grid-section__title {
  margin: 0 0 24px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
}
.pool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .pool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pool-grid { grid-template-columns: 1fr; }
}
.pool-card {
  display: flex;
  flex-direction: column;
  background: var(--color-panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.pool-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-line-strong);
}
.pool-card__image {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--color-accent-light) 0%, var(--color-water-light) 100%);
  overflow: hidden;
}
.pool-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.pool-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pool-grid .pool-card--hit .pool-card__title {
  min-height: 1.4em;
}
.pool-card__specs {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.catalog-pools__title {
  margin: 0 0 24px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
}
.pool-card--catalog .pool-card__body--top {
  padding: 18px 18px 0;
}
.pool-card--catalog .pool-card__title {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.pool-card__specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}
.pool-card__pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-line);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.pool-card__title {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}
/* Выравнивание названия, цены и кнопки в сетке «Популярные решения» */
.pool-grid .pool-card__title {
  min-height: 2.6em;
}
.pool-grid .pool-card__body > .pool-card__specs {
  min-height: 2.4em;
}
.pool-card__link,
.pool-card__actions {
  margin-top: auto;
  padding-top: 10px;
}
.pool-card__price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.pool-card__subtitle {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.pool-card__list {
  margin: 0 0 12px;
  padding-left: 1.1em;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.pool-card__list li { margin: 3px 0 0; }
.pool-card__note {
  margin: 4px 0 10px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.pool-card__label {
  margin: 6px 0 2px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pool-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.pool-card__btn-primary,
.pool-card__btn-secondary {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.pool-card__btn-primary {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
}
.pool-card__btn-primary:hover {
  background: var(--color-primary-dark);
}
.pool-card__btn-secondary {
  color: var(--color-accent);
}
.pool-card__btn-secondary:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
.pool-card__ticks {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
@media (max-width: 600px) {
  .pool-grid-section__title {
    font-size: 1.5rem;
  }
}

/* ----- Hero section (big title + 2 cards) ----- */
.hero-pools {
  padding: 28px 0 48px;
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
}
.hero-pools__title {
  margin: 0 0 28px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
}
.hero-pools__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 24px;
}
.hero-pools__lead {
  margin: 0 auto 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 720px;
}
.hero-pools__more {
  text-align: center;
}
.hero-pools__more-link {
  font-weight: 700;
  color: var(--color-primary);
}
.hero-pools__more-link:hover { text-decoration: underline; }

/* ----- Sections: Production + Equipment ----- */
.sections-row {
  padding: 56px 0;
}
.sections-row__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .sections-row__wrap { grid-template-columns: 1fr; }
}
.section-block__title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
}
.section-block__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.section-block__link {
  font-weight: 700;
  color: var(--color-primary);
}
.section-block__link:hover { text-decoration: underline; }
.equip-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.equip-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  padding: 0;
  text-decoration: none;
}
.equip-list a:hover {
  text-decoration: underline;
}

/* ----- Портфолио / фото объектов ----- */
.portfolio {
  padding: 48px 0 56px;
  background: var(--color-bg);
}
.portfolio__title {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
}
.portfolio__sub {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.portfolio-grid__item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
}
.portfolio-grid__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.portfolio-grid__caption {
  margin: 6px 10px 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.production-gallery {
  padding: 40px 0 52px;
  background: var(--color-bg);
}
.production-gallery__title {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
}
.production-gallery__sub {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
}
.production-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.production-gallery__item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
}
.production-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ----- Фото о компании ----- */
.about-photos {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.about-photos img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ----- Footer CTA (компактный, премиальный) ----- */
.footer-cta {
  padding: 64px 0;
  background: radial-gradient(900px 420px at 20% 30%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(135deg, #0B1B48 0%, #123A8B 60%, #0B1B48 100%);
  color: #fff;
}
.footer-cta__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.footer-cta__title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; }
.footer-cta__sub { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); line-height: 1.5; }
.footer-cta__form {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}
.footer-cta__form form {
  display: flex;
  gap: 10px;
}
.footer-cta__form input[type="tel"] {
  flex: 1 1 auto;
  height: 46px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  padding: 0 12px;
  font-size: 16px;
  color: var(--text);
}
.footer-cta__form input::placeholder { color: rgba(0, 0, 0, 0.4); }
.footer-cta__form button,
.footer-cta button[type="submit"] {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #D6B25E !important;
  color: #0B1220 !important;
  font-weight: 750;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
}
.footer-cta__form button:hover,
.footer-cta button[type="submit"]:hover {
  background: #C9A24A !important;
  color: #0B1220 !important;
  transform: translateY(-1px);
}
.footer-cta__form button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.4);
}
.footer-cta__privacy {
  margin-top: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 900px) {
  .footer-cta { padding: 48px 0; }
  .footer-cta__inner { grid-template-columns: 1fr; }
  .footer-cta__form form { flex-direction: column; }
  .footer-cta__form button { width: 100%; }
}

/* ----- Footer ----- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.75);
  padding: 32px 0 24px;
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__title {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__links a { color: rgba(255,255,255,0.85); }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ----- Simple sections / content blocks ----- */
.section-simple {
  padding: 40px 0;
}
.section-simple__lead {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 640px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.card-soft {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
}
.card-soft__title {
  margin: 0 0 8px;
  min-height: 2.8em;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}
.card-soft__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.card-soft .section-block__link,
.card-soft .equipment-card__cta {
  margin-top: auto;
  padding-top: 12px;
}
.card-soft__list {
  margin: 12px 0 0;
  padding-left: 1.1em;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.card-soft__list li { margin: 4px 0 0; }

/* ----- Страница «Услуги» ----- */
.services-hero__title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text);
}
.services-hero__bullets {
  margin: 20px 0 0;
  padding-left: 1.2em;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}
.services-hero__bullets li { margin: 6px 0 0; }
.services-hero__actions {
  margin-top: 24px;
}
.services-hero__actions .header__cta { display: inline-block; }
.services-hero__hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.card-soft__subtitle {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.services-stages-cta {
  margin-top: 28px;
  text-align: center;
}
.services-stages-cta .header__cta { display: inline-block; }
.services-stages-cta__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.services-section__title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}
.services-key {
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.services-key__list {
  margin: 20px 0 0;
  padding-left: 1.2em;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  list-style: none;
}
.services-key__list li {
  position: relative;
  margin: 8px 0 0;
  padding-left: 1.4em;
}
.services-key__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.services-process {
  margin: 0;
  padding-left: 1.4em;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.services-process li { margin: 10px 0 0; }
.services-process li:first-child { margin-top: 0; }
.services-process__note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--color-text);
  font-style: italic;
}
.services-trust {
  margin: 0;
  padding-left: 1.2em;
  max-width: 520px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.services-trust li { margin: 8px 0 0; }
.services-cta-mid {
  padding: 40px 0;
  text-align: center;
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
}
.services-cta-mid__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}
.services-cta-mid__sub {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.services-cta-mid__hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ----- Страница «О компании» ----- */
.about-hero__title {
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-text);
}
.about-hero__lead {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 720px;
}
.about-hero__markers {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.9rem;
  color: var(--color-text);
}
.about-hero__markers li::before {
  content: "•";
  margin-right: 6px;
  color: var(--color-primary);
}
.about-hero__actions .header__cta { display: inline-block; }
.about-hero__hint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.about-who__text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 720px;
}
.about-who__text:last-child { margin-bottom: 0; }
.about-pools__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px 32px;
}
.about-pool-type__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}
.about-pool-type__text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.about-pool-type .card-soft__list { margin-top: 0; }
.about-faq__list {
  max-width: 640px;
}
.about-faq__item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}
.about-faq__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.about-faq__q {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.about-faq__a {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ----- Страница «Каталог бассейнов» — hero и filter в catalog-hero.css ----- */

.catalog-section__title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}
.catalog-section__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 640px;
}
.catalog-section__note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.catalog-list {
  margin: 0;
  padding-left: 1.2em;
  max-width: 520px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.catalog-list li { margin: 6px 0 0; }

/* ----- Страница «Оборудование» ----- */
.equipment-hero__title {
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-text);
}
.equipment-hero__lead {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 720px;
}
.equipment-hero__warning {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  font-weight: 600;
}
.equipment-hero__markers {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.85rem;
  color: var(--color-text);
}
.equipment-hero__markers li::before {
  content: "•";
  margin-right: 6px;
  color: var(--color-primary);
}
.equipment-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.equipment-hero__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.equipment-card__cta {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.equipment-card__cta:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
.equipment-categories__cta {
  margin-top: 28px;
}
.equipment-schema__note {
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

/* Каталог оборудования — 4 карточки в ряд, каталог открывается под ними */
.equipment-catalog__intro {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.equipment-catalog__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .equipment-catalog__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .equipment-catalog__cards {
    grid-template-columns: 1fr;
  }
}
.equipment-catalog__card {
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-panel);
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.equipment-catalog__card:hover {
  background: rgba(0,0,0,0.02);
  border-color: var(--color-line-strong);
}
.equipment-catalog__card.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb, 0, 82, 155), 0.2);
}
.equipment-catalog__card-title {
  padding: 14px 16px 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}
.equipment-catalog__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-top: 8px;
  display: block;
}

/* Страница каталога оборудования (отдельная страница по категории) */
.equipment-catalog-page__breadcrumbs {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.equipment-catalog-page__breadcrumbs a {
  color: var(--color-primary);
}
.equipment-catalog-page__breadcrumbs a:hover {
  text-decoration: underline;
}
.equipment-catalog-page .services-section__title {
  margin-bottom: 24px;
}
.equipment-catalog-page__empty {
  grid-column: 1 / -1;
  padding: 32px 20px;
  text-align: center;
  color: var(--color-text-muted);
}
.equipment-catalog-page__empty a {
  color: var(--color-primary);
}

.equipment-catalog__panels {
  margin-top: 24px;
}
.equipment-catalog__panel {
  display: none;
}
.equipment-catalog__panel.is-open {
  display: block;
}
.equipment-catalog__panel .equipment-product-grid {
  padding: 0;
}
.equipment-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.equipment-product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.equipment-product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-line-strong);
}
.equipment-product-card__image {
  aspect-ratio: 4/3;
  background: var(--color-water-light);
  overflow: hidden;
}
.equipment-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equipment-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.equipment-product-card__title {
  margin: 0 0 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}
.equipment-product-card__text {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  flex: 1;
}
.equipment-product-card__price {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.equipment-product-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}
.equipment-product-card__link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ----- Один продающий блок (about) ----- */
.selling-block {
  padding: 48px 0;
  background: var(--color-panel);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.selling-block__inner {
  max-width: 720px;
}
.selling-block__title {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
}
.selling-block__lead {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
}
.selling-block__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px 32px;
  margin-bottom: 24px;
}
.selling-block__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.selling-block__subtitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}
.selling-block__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.selling-block__faq {
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  margin-bottom: 28px;
}
.selling-block__faq .selling-block__subtitle { margin-bottom: 4px; }
.selling-block__faq .selling-block__text { margin-bottom: 8px; }
.selling-block__faq .selling-block__text:last-child { margin-bottom: 0; }
.selling-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----- Интерактивная схема бассейна ----- */
#schema {
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 140px;
  background: var(--color-water-light);
}
#schema .schema-caption { margin-bottom: 0; }
#schema .schema-caption-text p:nth-of-type(2) { display: none; }
#schema .schema-title {
  margin: 0;
  font-size: 42px;
  font-weight: 500;
  color: #224A65;
  line-height: 1.3;
}
#schema .schema-title span {
  color: var(--color-primary-dark);
  font-family: inherit;
  font-style: italic;
}
#schema .schema-caption-text { margin: 8px 0 0; }
#schema .schema-caption-text p {
  margin: 0;
  font-size: 16px;
  line-height: 170%;
  max-width: 400px;
  color: #224A65;
  font-weight: 500;
  font-style: italic;
}
#schema .schema-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 110px;
}
#schema .schema-list {
  max-width: 245px;
  padding-left: 21px;
  margin: 0;
  list-style: none;
}
#schema .schema-list li {
  padding-left: 10px;
  list-style-type: decimal-leading-zero;
  position: relative;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  line-height: 200%;
  color: var(--color-accent);
}
#schema .schema-list li span {
  letter-spacing: 0.1em;
  display: block;
  color: var(--color-text);
  font-weight: 500;
  font-style: normal;
}
#schema .schema-list li span:hover {
  color: #2D5B7A;
  cursor: pointer;
}
#schema .schema-list li span.active {
  color: #2D5B7A;
}
#schema .schema-img.img {
  width: 888px;
  height: 590px;
  max-width: 100%;
  position: relative;
}
#schema .schema-img.img > p {
  position: absolute;
  opacity: 0;
  z-index: 4;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
#schema .schema-img.img > p span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  font-style: normal;
  border-radius: 50%;
  background: linear-gradient(180deg, #2A5B7C 0%, #224A65 100%);
}
/* Позиции номеров */
#schema #num-schema-1 { top: 449px; left: 724px; }
#schema #num-schema-2 { top: 556px; left: 209px; }
#schema #num-schema-3 { top: 100px; left: 38px; }
#schema #num-schema-4 { top: 0; left: 324px; }
#schema #num-schema-5 { top: 83px; left: 808px; }
#schema #num-schema-6 { top: 449px; left: 808px; }
#schema #num-schema-7 { top: 556px; left: 344px; }
#schema #num-schema-8 { top: 0; left: 596px; }
#schema .schema-img.img img {
  position: absolute;
  max-width: 100%;
}
#schema .schema-img.img .schema-photo {
  top: 37px;
  left: 0;
  z-index: 0;
}
#schema .schema-img.img .schema-numbers {
  top: 0;
  left: 38px;
  z-index: 1;
}
#schema .schema-img.img img[data-element-id] {
  z-index: 2;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
/* Позиции оверлеев */
#schema #img-schema-1 { top: 233px; left: 638px; }
#schema #img-schema-2 { left: 0; top: 38px; }
#schema #img-schema-3 { top: 88px; left: 115px; }
#schema #img-schema-4 { top: 95px; left: 209px; }
#schema #img-schema-5 { top: 200px; left: 655px; }
#schema #img-schema-6 { top: 233px; left: 795px; }
#schema #img-schema-7 { top: 469px; left: 443px; }
#schema #img-schema-8 { top: 36px; left: 518px; }

@media (max-width: 768px) {
  #schema { padding-top: 50px; padding-bottom: 40px; }
  #schema .schema-caption-text p:nth-of-type(1) { display: none; }
  #schema .schema-caption-text p:nth-of-type(2) { display: block; }
  #schema .schema-info { margin-top: 50px; }
  #schema .schema-list {
    display: flex;
    flex-wrap: wrap;
    order: 2;
    max-width: 480px;
    margin: 40px auto 0;
  }
  #schema .schema-list li {
    width: calc(50% - 10px);
    max-width: 200px;
    padding-left: 10px;
  }
  #schema .schema-img.img {
    order: 1;
    margin: 0 auto;
    width: 290px;
    height: auto;
  }
  #schema .schema-img.img > p { display: none !important; }
  #schema .schema-img.img .schema-photo { position: static; display: block; width: 100%; }
  #schema .schema-img.img .schema-numbers { display: none; }
  #schema .schema-img.img img[data-element-id] { display: none !important; }
}
@media (min-width: 769px) and (max-width: 991px) {
  #schema .schema-img.img {
    width: 650px;
    height: 470px;
    margin: 20px auto;
  }
  #schema #num-schema-1 { top: 344px; left: 534px; }
  #schema #num-schema-2 { top: 424px; left: 149px; }
  #schema #num-schema-3 { top: 83px; left: 21px; }
  #schema #num-schema-4 { top: 8px; left: 235px; }
  #schema #num-schema-5 { top: 70px; left: 596px; }
  #schema #num-schema-6 { top: 344px; left: 596px; }
  #schema #num-schema-7 { top: 425px; left: 250px; }
  #schema #num-schema-8 { top: 8px; left: 438px; }
  #schema .schema-img.img > p span { width: 25px; height: 25px; font-size: 14px; }
}
