*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  min-width: 320px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.global-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__img {
  width: 44px;
  height: 44px;
}

.logo__text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-logo);
  line-height: 1.2;
}

.logo__text span {
  color: #555;
  font-weight: 400;
  font-size: 13px;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list {
  display: flex;
  gap: 25px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-action);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-action);
  transition: width 0.2s;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__phone:hover { color: var(--color-action); }

.header__phone-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-action);
  flex-shrink: 0;
}

.header__request {
  background: none;
  border: 2px solid var(--color-action);
  color: var(--color-action);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.header__request:hover {
  background: var(--color-action);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-action-hover) 100%);
  color: #fff;
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: none;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__text-col {
  flex: 1;
}

.hero__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero__title span { color: #c8f0f5; }

.hero__text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  opacity: 0.9;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.hero__feature-icon {
  width: 16px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-action);
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.hero__btn:hover {
  background: transparent;
  color: #fff;
}

/* Sections */
.section {
  padding: 50px 0;
}

.section_gray { background: #f8f9fa; }

.section__title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  text-align: center;
}

.section__subtitle {
  font-size: 15px;
  color: #777;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
}

.cards_centered .card {
  text-align: center;
}

.cards_centered .card__icon {
  margin: 0 auto 12px;
}

.cards-3x2 {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cards-3x2 .card {
  width: calc(33.333% - 10px);
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
}

.card_horizontal {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.card__icon {
  width: 44px;
  height: 44px;
  background: #eaf5ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon img,
.card__icon svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.card__body {
  flex: 1;
  min-width: 0;
}

.card__title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin-bottom: 3px;
}

.card__text {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* Advantages row */
.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.advantage-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 8px;
  padding: 14px 10px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  text-align: center;
  transition: transform 0.2s;
}

.advantage-card:hover {
  transform: translateY(-2px);
}

.advantage-card__icon {
  width: 64px;
  height: 64px;
  background: #eaf5ee;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.advantage-card__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.advantage-card__title {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.advantage-card__text {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

/* Price table */
.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.price-table thead { background: var(--color-action); color: #fff; }

.price-table th {
  padding: 16px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
}

.price-table td {
  padding: 14px 24px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

.price-table tbody tr:hover { background: #f0f8f2; }
.price-table tbody tr:last-child td { border-bottom: none; }

.price-value {
  font-weight: 700;
  color: var(--color-action);
  font-size: 18px;
  white-space: nowrap;
}

/* Price calculator */
.price-calc {
  background: #f1f8f3;
  border: 1px solid #d7eddf;
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}
.price-calc__title {
  font-size: 20px;
  color: #222;
  margin-bottom: 6px;
}
.price-calc__desc {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}
.price-calc__row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.price-calc__field {
  flex: 1;
  min-width: 200px;
}
.price-calc__field_result {
  flex: 0 0 auto;
  min-width: 160px;
}
.price-calc__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.price-calc__select,
.price-calc__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d7eddf;
  border-radius: 8px;
  font-size: 15px;
  color: #222;
  background: #fff;
  box-sizing: border-box;
}
.price-calc__select:focus,
.price-calc__input:focus {
  outline: none;
  border-color: var(--color-action);
}
.price-calc__result {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-action);
  line-height: 1.2;
  padding: 10px 0;
}
.price-calc__btn {
  margin-top: 16px;
  padding: 12px 32px;
  background: var(--color-action);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.price-calc__btn:hover {
  background: var(--color-action-hover);
}

.price-note {
  font-size: 13px;
  color: #999;
  margin-top: 15px;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-item {
  text-align: center;
  padding: 30px 20px;
}

.why-item__number {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-action);
  line-height: 1;
  margin-bottom: 10px;
}

.why-item__label {
  font-size: 14px;
  color: #666;
}

/* Contacts */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background: #eaf5ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon img { width: 22px; height: 22px; }

.contact-item__title {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.contacts__form {
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

.form__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(0,135,74,0.1);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-action);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--color-action-hover);
  transform: translateY(-1px);
}

.btn_outline {
  background: transparent;
  border: 2px solid var(--color-action);
  color: var(--color-action);
}

.btn_outline:hover {
  background: var(--color-action);
  color: #fff;
}

/* CTA white buttons */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-action);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--color-action);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cta-btn:hover {
  background: var(--color-action);
  color: #fff;
}

.cta-btn_outline {
  background: var(--color-action);
  border: 2px solid #fff;
  color: #fff;
}

.cta-btn_outline:hover {
  background: #fff;
  color: var(--color-action);
}

.btn_center { display: flex; justify-content: center; }

/* Footer */
.footer {
  background: #222;
  color: #999;
  padding: 50px 0 30px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer__brand span { color: var(--color-accent); }

.footer__about {
  font-size: 14px;
  line-height: 1.8;
}

.footer__title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}

.footer__links li { margin-bottom: 10px; }

.footer__links a {
  font-size: 14px;
  color: #999;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--color-accent); }

.footer__bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.footer__bottom-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__bottom-links a {
  color: #999;
  font-size: 13px;
  transition: color 0.2s;
  border-bottom: 1px dotted #999;
  text-decoration: none;
  padding-bottom: 1px;
}

.footer__bottom-links a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.footer__disclaimer {
  font-size: 11px;
  color: #777;
  line-height: 1.5;
  max-width: 500px;
}

.footer__copyright {
  color: #999;
  flex-shrink: 0;
  text-align: right;
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column-reverse !important;
    align-items: center !important;
    text-align: center !important;
    gap: 15px !important;
  }
  .footer__bottom-left {
    align-items: center !important;
  }
  .footer__bottom-links {
    justify-content: center !important;
  }
  .footer__disclaimer {
    max-width: none !important;
    text-align: center !important;
  }
  .footer__copyright {
    text-align: center !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-action-hover) 100%);
  color: #fff;
  padding: 50px 0;
}

.page-hero__title {
  font-size: 34px;
  font-weight: 700;
}

.page-hero__breadcrumbs {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.page-hero__breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Services list */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s;
}

.service-card:hover { transform: translateY(-4px); }

.service-card__img {
  height: 180px;
  background: #eaf5ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__img img { width: 56px; height: 56px; }

.service-card__body { padding: 25px; }

.service-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.service-card__price {
  font-size: 15px;
  color: var(--color-action);
  font-weight: 600;
}

/* Map placeholder */
.map-block {
  width: 100%;
  height: 350px;
  background: #eaf5ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #888;
}

.map-block_empty {
  font-style: italic;
}

/* Reception page */
.reception-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.reception-card {
  background: #f6faf6;
  border: 1px solid #dce8df;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.reception-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #eaf5ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reception-card__body {
  flex: 1;
  min-width: 0;
}
.reception-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 4px;
}
.reception-card__value {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

/* Reception points grid */
.reception-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}
.reception-point {
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 12px;
  overflow: hidden;
}
.reception-point__image {
  width: 100%;
  background: #eaf5ee;
}
.reception-point__image img {
  width: 100%;
  height: auto;
  display: block;
}
.reception-point__body {
  padding: 16px 20px 20px;
}
.reception-point__title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}
.reception-point__address,
.reception-point__schedule {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 4px;
}
.reception-point__map {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}
.reception-point__map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}
.reception-point__placeholder {
  padding: 12px;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .reception-points {
    grid-template-columns: 1fr;
  }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__inner {
  background: #fff;
  width: 280px;
  height: 100%;
  padding: 30px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.mobile-nav.open .mobile-nav__inner { transform: translateX(0); }

.mobile-nav__close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 30px;
  color: #333;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav__link {
  font-size: 17px;
  font-weight: 500;
  color: #333;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav__link:hover { color: var(--color-action); }

/* Page content (WP editor) */
.page-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.page-content h2,
.page-content h3 {
  color: #222;
  margin: 30px 0 15px;
}

.page-content p { margin-bottom: 15px; }

.page-content a { color: var(--color-action); text-decoration: underline; }

/* Sitemap */
.sitemap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.sitemap__heading {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-action);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sitemap__col > .sitemap__heading:not(:first-child) {
  margin-top: 35px;
}
.sitemap__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
}
.sitemap__list li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.sitemap__list a {
  color: #444;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color 0.2s, border-color 0.2s;
}
.sitemap__list a:hover {
  color: var(--color-action);
  border-bottom-color: var(--color-action);
}
.sitemap__list .cat-item a,
.sitemap__list .archives-link a {
  color: #444;
}
@media (max-width: 768px) {
  .sitemap { grid-template-columns: 1fr; gap: 30px; }
}

/* Entry content */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

/* CTA section */
.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }
  .hero__features { justify-content: center; }
  .cards-3x2 .card { width: calc(50% - 8px); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .header__phone { display: none !important; }
}

@media (max-width: 768px) {
  .nav__list { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 30px 0; }
  .hero__title { font-size: 24px; }
  .hero__features { flex-direction: column; align-items: center; }
  .section { padding: 50px 0; }
  .section__title { font-size: 26px; }
  .contacts { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .cards-3x2 .card { width: 100%; }
  .advantages { flex-direction: column; }
  .advantage-card { width: 100%; flex: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .price-table th,
  .price-table td { padding: 10px 14px; }
  .mobile-nav { display: block; }
  .page-hero { padding: 35px 0; }
  .page-hero__title { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 24px; }

  .hero__btn_request {
    margin-top: 12px !important;
  }
  .cards { grid-template-columns: 1fr; }
  .cards-3x2 .card { width: 100%; }
  .advantage-card { width: 100%; flex: none; }
  .why-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-action);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.scroll-top:hover {
  background: var(--color-action-hover);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: 12px;
  padding: 36px 32px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}

.modal__close:hover {
  color: #333;
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.modal__subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.modal__input:focus {
  border-color: var(--color-action);
}

textarea.modal__input {
  resize: vertical;
}

.modal__submit {
  background: var(--color-action);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.modal__submit:hover {
  background: var(--color-action-hover);
}

.modal__agree {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  line-height: 1.4;
}

.modal__agree a {
  color: var(--color-action);
  text-decoration: underline;
}

.modal__success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal__success-icon {
  width: 52px;
  height: 52px;
  background: #eaf5ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  color: var(--color-action);
  font-weight: 700;
}

.modal__success p {
  font-size: 15px;
  color: #555;
}

/* Cookie notice */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 360px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-notice__text {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.cookie-notice__btn {
  align-self: flex-end;
  background: var(--color-action);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-notice__btn:hover {
  background: var(--color-action-hover);
}

.cookie-notice.hidden {
  display: none;
}

@media (max-width: 480px) {
  .cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
}

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: 30px;
}
.page-header__title {
  font-size: 28px;
  color: #222;
  margin-bottom: 8px;
}
.page-header__breadcrumbs {
  font-size: 13px;
  color: #999;
}
.page-header__breadcrumbs a {
  color: var(--color-action);
  text-decoration: none;
}
.page-header__breadcrumbs a:hover {
  text-decoration: underline;
}
.page-header__breadcrumbs span {
  margin: 0 6px;
  color: #ccc;
}

/* Entry content (pages) */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #222;
  margin-top: 30px;
  margin-bottom: 15px;
}
.entry-content h2 { font-size: 22px; }
.entry-content h3 { font-size: 18px; }
.entry-content p { margin-bottom: 15px; }
.entry-content ul,
.entry-content ol { margin: 0 0 15px 20px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--color-action); text-decoration: underline; }
.entry-content a:hover { text-decoration: none; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 15px; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid #dee2e6;
  padding: 10px 14px;
  text-align: left;
}
.entry-content table th {
  background: var(--color-action);
  color: #fff;
  font-weight: 600;
}
.entry-content table tr:nth-child(even) { background: #f8f9fa; }
.entry-content blockquote {
  border-left: 4px solid var(--color-action);
  padding: 10px 20px;
  margin: 20px 0;
  background: #f1f8f3;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

/* Contacts page */
.contacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.contact-card {
  background: #fff;
  border: 1px solid #dce8df;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: #eaf5ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__title {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-card__value {
  font-size: 14px;
  color: #222;
  font-weight: 500;
}
.contact-card_map {
  grid-column: 1 / -1;
}
.map-placeholder {
  width: 100%;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}

/* About page */
.about-story {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 30px 0 50px;
}
.about-story__image {
  flex: 0 0 300px;
}
.about-story__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.about-story__text {
  flex: 1;
}
.about-story__heading {
  font-size: 22px;
  color: #222;
  margin-bottom: 16px;
}
.about-story__text p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}
.about-feature {
  background: #f1f8f3;
  border: 1px solid #d7eddf;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}
.about-feature__icon {
  width: 88px;
  height: 88px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.about-feature__icon svg {
  width: 44px;
  height: 44px;
}
.about-feature__title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}
.about-feature__text {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Managers */
.managers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.manager-card {
  background: #fff;
  border: 1px solid #d7eddf;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.manager-card__avatar {
  flex: 0 0 56px;
}
.manager-card__avatar svg {
  width: 56px;
  height: 56px;
  display: block;
}
.manager-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.manager-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.manager-card__role {
  font-size: 12px;
  color: #888;
}
.manager-card__phone {
  font-size: 14px;
  color: var(--color-action);
  font-weight: 600;
  text-decoration: none;
  margin-top: 2px;
}
.manager-card__phone:hover {
  text-decoration: underline;
}
.manager-card__email {
  font-size: 12px;
  color: #888;
  text-decoration: none;
}
.manager-card__email:hover {
  color: var(--color-action);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .about-story {
    flex-direction: column;
  }
  .about-story__image {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .managers {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Contacts page */
.contacts-page {
  margin: 30px 0 10px;
}
.contacts-page__inner {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.contacts-page__form-wrap {
  flex: 0 0 400px;
  max-width: 100%;
}
.contacts-page__form-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.contacts-page__form-title {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.contacts-page__form-desc {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.contacts-page__form-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contacts-page__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.contacts-page__input:focus {
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(0,135,74,0.1);
}
textarea.contacts-page__input {
  resize: vertical;
  min-height: 90px;
}
.contacts-page__btn {
  background: var(--color-action);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.contacts-page__btn:hover {
  background: var(--color-action-hover);
}
.contacts-page__agree {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  line-height: 1.4;
}
.contacts-page__agree a {
  color: var(--color-action);
  text-decoration: underline;
}
.contacts-page__success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.contacts-page__success-icon {
  width: 52px;
  height: 52px;
  background: #eaf5ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  color: var(--color-action);
  font-weight: 700;
}
.contacts-page__success p {
  font-size: 15px;
  color: #555;
}

/* Contacts info */
.contacts-page__info-wrap {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
}
.contacts-page__info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contacts-page__info-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contacts-page__info-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #eaf5ee;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacts-page__info-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.contacts-page__info-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contacts-page__info-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  font-weight: 600;
}
.contacts-page__info-value {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  line-height: 1.4;
}
.contacts-page__info-value a {
  color: #222;
  text-decoration: none;
}
.contacts-page__info-value a:hover {
  color: var(--color-action);
}
.contacts-page__info-value--small {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

@media (max-width: 900px) {
  .contacts-page__inner {
    flex-direction: column;
  }
  .contacts-page__form-wrap {
    flex: none;
    width: 100%;
  }
}

/* Blog / Archive */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.blog-card__img {
  display: block;
  height: 180px;
  overflow: hidden;
  background: #eaf5ee;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  padding: 20px;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #999;
}
.blog-card__date {
  font-size: 12px;
  color: #999;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-card__title a {
  color: #222;
  text-decoration: none;
}
.blog-card__title a:hover {
  color: var(--color-action);
}
.blog-card__text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 12px;
}
.blog-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-action);
  text-decoration: none;
}
.blog-card__more:hover {
  text-decoration: underline;
}
.blog-pagination {
  margin-top: 40px;
  text-align: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-pagination a:hover {
  background: var(--color-action);
  color: #fff;
  border-color: var(--color-action);
}
.blog-pagination .current {
  background: var(--color-action);
  color: #fff;
  border-color: var(--color-action);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Services page */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.service-block-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-block-link:hover .service-block {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.service-block {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 32px 24px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.service-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.service-block__icon {
  width: 56px;
  height: 56px;
  background: #eaf5ee;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.service-block__icon img,
.service-block__icon svg {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.service-block__title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}
.service-block__text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
