/* =========================================================
   Content UI — visual parity with ми36.рф (Aspro Allcorp3 MedC)
   Header / footer / contacts-block keep mi-protez styles.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

:root {
  --mi36: #3399cc;
  --mi36-hover: #2b87b5;
  --mi36-soft: #3399cc1a;
  --mi36-ink: #333333;
  --mi36-muted: #9e9e9e;
  --mi36-line: #e5e5e5;
  --mi36-bg: #f5f5f5;
  --mi36-bg-soft: #fafafa;
  --mi36-radius: 4px;
  --mi36-font: "Roboto", "Manrope", system-ui, sans-serif;
}

/* Keep our chrome */
.site-header,
.site-footer,
.header-actions,
.nav-dropdown,
.float-panel,
.cookie-banner,
.visitor-chat {
  /* intentionally untouched */
}

.nav-dropdown { position: relative; }
.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 16rem;
  padding: 0.65rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  z-index: 40;
  display: none;
}
.nav-dropdown[open] .nav-dropdown__panel,
.nav-dropdown:hover .nav-dropdown__panel { display: block; }
.nav-dropdown__panel a {
  display: block;
  padding: 0.4rem 1rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.nav-dropdown__panel a:hover { color: var(--blue-700); background: var(--blue-50); }
.header-cta { white-space: nowrap; }

/* ---- Content shell ---- */
main.mi36-body {
  font-family: var(--mi36-font);
  color: var(--mi36-ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}

main.mi36-body a {
  color: var(--mi36-ink);
  text-decoration: none;
  transition: color .15s ease;
}
main.mi36-body a:hover { color: var(--mi36); }

main.mi36-body .container,
main.mi36-body .container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Page title band (Aspro: H1 then breadcrumbs) */
.mi36-title {
  background: var(--mi36-bg-soft);
  border-bottom: 1px solid var(--mi36-line);
  padding: 28px 0 22px;
  margin: 0 0 28px;
}
.mi36-title h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--mi36-ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.mi36-title .breadcrumbs,
.mi36-title .mi36-crumbs {
  margin: 0;
  font-size: 13px;
  color: var(--mi36-muted);
}
.mi36-crumbs a { color: var(--mi36-muted); }
.mi36-crumbs a:hover { color: var(--mi36); }
.mi36-crumbs span { margin: 0 6px; color: #cacaca; }

.mi36-section {
  padding: 36px 0;
}
.mi36-section--soft { background: var(--mi36-bg-soft); }
.mi36-section--gray { background: var(--mi36-bg); }

.mi36-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}
.mi36-section__head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mi36-ink);
}
.mi36-section__head .eyebrow {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mi36);
  margin-bottom: 6px;
  font-weight: 500;
}
.mi36-section__link {
  font-size: 14px;
  color: var(--mi36-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mi36-section__link:hover { color: var(--mi36); }
.mi36-section__link::after {
  content: "›";
  color: #cacaca;
  font-size: 18px;
  line-height: 1;
}

.mi36-lead {
  color: #666;
  font-size: 15px;
  max-width: 70ch;
}

/* ---- Service / catalog cards (Aspro services-list) ---- */
.mi36-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .mi36-cards--2 { grid-template-columns: repeat(2, 1fr); }
  .mi36-cards--3 { grid-template-columns: repeat(3, 1fr); }
  .mi36-cards--4 { grid-template-columns: repeat(4, 1fr); }
}

.mi36-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.mi36-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mi36-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--mi36-bg) center/cover no-repeat;
  overflow: hidden;
}
.mi36-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mi36-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mi36-card__label {
  font-size: 12px;
  color: var(--mi36-muted);
}
.mi36-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.mi36-card__title a { color: inherit; }
.mi36-card__title a:hover { color: var(--mi36); }
.mi36-card__text {
  margin: 0;
  color: #666;
  font-size: 14px;
  flex: 1;
}
.mi36-card__price {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--mi36);
}
.mi36-card__price span {
  font-weight: 400;
  font-size: 13px;
  color: var(--mi36-muted);
}

/* Wide horizontal service row (home / big sections) */
.mi36-service-row {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.mi36-service-row:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
@media (min-width: 768px) {
  .mi36-service-row {
    grid-template-columns: 280px 1fr;
    align-items: stretch;
  }
}
.mi36-service-row__media {
  min-height: 180px;
  background: var(--mi36-bg) center/cover no-repeat;
}
.mi36-service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mi36-service-row__body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mi36-service-row__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* Direction tiles on home — Aspro-like weight */
.mi36-dirs {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .mi36-dirs {
    grid-template-columns: 1.15fr 1.15fr 0.9fr;
    grid-auto-rows: 1fr;
  }
  .mi36-dirs__lg { grid-row: span 2; }
}
.mi36-dir {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  border-radius: var(--mi36-radius);
  overflow: hidden;
  background: #2a3a44;
  color: #fff;
  border: 1px solid var(--mi36-line);
}
.mi36-dirs__lg { min-height: 320px; }
.mi36-dir__media {
  position: absolute;
  inset: 0;
}
.mi36-dir__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}
.mi36-dir__body {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.mi36-dir__body h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: #fff;
}
.mi36-dir__body p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.mi36-dir-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 14px;
}
.mi36-dir-strip a {
  color: var(--mi36-ink);
  border-bottom: 1px solid var(--mi36-line);
}
.mi36-dir-strip a:hover {
  color: var(--mi36);
  border-color: var(--mi36);
}

/* Staff cards */
.mi36-staff-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.mi36-staff-card {
  background: #fff;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.mi36-staff-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.mi36-staff-card__photo {
  aspect-ratio: 3/4;
  background: var(--mi36-bg);
  overflow: hidden;
}
.mi36-staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mi36-staff-card__body { padding: 14px 16px 16px; }
.mi36-staff-card__role {
  font-size: 13px;
  color: var(--mi36-muted);
  margin: 0 0 4px;
}
.mi36-staff-card__name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.mi36-staff-card__meta {
  margin: 6px 0 0;
  font-size: 13px;
  color: #666;
}

/* Detail pages */
.mi36-detail {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .mi36-detail--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
  .mi36-detail--staff {
    grid-template-columns: 300px 1fr;
  }
}
.mi36-detail__media img {
  width: 100%;
  border-radius: var(--mi36-radius);
  display: block;
}
.mi36-gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  margin-top: 8px;
}
.mi36-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--mi36-radius);
  border: 1px solid var(--mi36-line);
}
.mi36-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--mi36);
  margin: 8px 0 16px;
}
.mi36-price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--mi36-muted);
}

.mi36-html {
  color: #444;
  font-size: 15px;
  line-height: 1.65;
}
.mi36-html h2,
.mi36-html h3 {
  color: var(--mi36-ink);
  margin-top: 1.4em;
  font-weight: 700;
}
.mi36-html img {
  max-width: 100%;
  height: auto;
  border-radius: var(--mi36-radius);
  margin: 1rem 0;
}
.mi36-html ul,
.mi36-html ol { padding-left: 1.2em; }
.mi36-html a { color: var(--mi36); }

.mi36-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 14px;
}
.mi36-specs th,
.mi36-specs td {
  border-bottom: 1px solid var(--mi36-line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}
.mi36-specs th {
  width: 40%;
  color: #666;
  font-weight: 400;
}

.mi36-children {
  display: grid;
  gap: 10px;
  margin: 16px 0 28px;
}
.mi36-children a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  background: #fff;
}
.mi36-children a:hover {
  border-color: var(--mi36);
  color: var(--mi36);
}
.mi36-children a::after { content: "›"; color: #cacaca; }

/* Reviews */
.mi36-review {
  background: #fff;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  padding: 18px 20px;
  margin: 0 0 12px;
}
.mi36-review p { margin: 0 0 10px; color: #444; }
.mi36-review footer {
  font-size: 13px;
  color: var(--mi36-muted);
}

/* Doors / CTA panels */
.mi36-doors {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .mi36-doors { grid-template-columns: 1fr 1fr; }
}
.mi36-door {
  background: #fff;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  padding: 22px;
}
.mi36-door h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.mi36-door p { color: #666; margin: 0 0 14px; }

.mi36-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--mi36-radius);
  font-family: var(--mi36-font);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}
.mi36-btn--primary {
  background: var(--mi36);
  color: #fff !important;
}
.mi36-btn--primary:hover { background: var(--mi36-hover); color: #fff !important; }
.mi36-btn--ghost {
  background: #fff;
  border-color: var(--mi36-line);
  color: var(--mi36-ink) !important;
}
.mi36-btn--ghost:hover {
  border-color: var(--mi36);
  color: var(--mi36) !important;
}
.mi36-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Home hero inside content — keep softer Aspro intro */
.mi36-home-hero {
  padding: 36px 0 28px;
  background: #fff;
}
.mi36-home-hero__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .mi36-home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}
.mi36-home-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--mi36-ink);
}
.mi36-home-hero__lead {
  color: #666;
  font-size: 16px;
  margin: 0 0 18px;
  max-width: 42ch;
}
.mi36-home-hero__media {
  border-radius: var(--mi36-radius);
  overflow: hidden;
  border: 1px solid var(--mi36-line);
  min-height: 260px;
  background: var(--mi36-bg);
}
.mi36-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
}
.mi36-disclaimer {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mi36-muted);
}

/* Filter select (staff) */
.mi36-filter {
  margin: 0 0 20px;
}
.mi36-filter select {
  font-family: var(--mi36-font);
  font-size: 14px;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  background: #fff;
  color: var(--mi36-ink);
  min-width: 240px;
}

.mi36-spec-title {
  margin: 28px 0 14px;
  font-size: 1.35rem;
  font-weight: 700;
}

/* FAQ */
.mi36-faq details {
  background: #fff;
  border: 1px solid var(--mi36-line);
  border-radius: var(--mi36-radius);
  padding: 14px 16px;
  margin: 0 0 10px;
}
.mi36-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--mi36-ink);
}
.mi36-faq details[open] summary { color: var(--mi36); }
.mi36-faq details p {
  margin: 10px 0 0;
  color: #555;
}

/* Contacts block on pages: keep protez form look, only wrap spacing */
.mi36-body .contacts-block,
.mi36-body #feedback {
  /* leave form/contact chrome from main.css */
}

/* Staff detail extras */
.staff-page .staff-hero,
.mi36-staff-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .mi36-staff-hero {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}
.mi36-staff-hero__photo img {
  width: 100%;
  border-radius: var(--mi36-radius);
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 1px solid var(--mi36-line);
}
.mi36-staff-meta {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.mi36-staff-block {
  margin: 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--mi36-line);
}
.mi36-staff-block h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.link-list {
  columns: 1;
  gap: 1.5rem;
  margin: 0;
  padding-left: 1.1em;
}
@media (min-width: 768px) {
  .link-list { columns: 2; }
}

/* =========================================================
   Aspro Allcorp3 MedC — header + homepage parity with ми36.рф
   ========================================================= */

body {
  font-family: var(--mi36-font);
}

/* Hide old site-header styles when aspro-header is present */
.aspro-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.aspro-header__top {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.aspro-header__top-inner {
  max-width: 1344px;
  margin: 0 auto;
  padding: 12px 16px;
  min-height: 89px;
  display: flex;
  align-items: center;
  gap: 24px 32px;
}
.aspro-header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex: 1;
}
.aspro-header__logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.aspro-header__slogan {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #666;
  max-width: 220px;
}
.aspro-header__search {
  position: relative;
  flex: 0 1 360px;
  max-width: 360px;
  width: 100%;
}
.aspro-header__search-input {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0 44px 0 14px;
  font: inherit;
  font-size: 15px;
  color: #333;
  background: #fff;
}
.aspro-header__search-input:focus {
  outline: none;
  border-color: var(--mi36);
}
.aspro-header__search-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #9e9e9e;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.aspro-header__search-btn:hover { color: var(--mi36); }
.aspro-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.aspro-header__phone {
  font-weight: 700;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.aspro-header__phone:hover { color: var(--mi36); }
.aspro-header__cta { white-space: nowrap; }
.aspro-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.aspro-header__burger span {
  display: block;
  height: 2px;
  background: #333;
  margin: 5px 0;
}

.aspro-header__main {
  background: var(--mi36);
}
.aspro-header__main-inner {
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 16px;
}
.aspro-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 28px;
  min-height: 61px;
  flex-wrap: wrap;
}
.aspro-nav > a,
.aspro-nav > .nav-dropdown > summary {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}
.aspro-nav > .nav-dropdown > summary::-webkit-details-marker { display: none; }
.aspro-nav > a:hover,
.aspro-nav > .nav-dropdown > summary:hover {
  opacity: .85;
}
.aspro-nav .nav-dropdown__panel {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  min-width: 200px;
}
.aspro-nav .nav-dropdown__panel a {
  color: #333;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  padding: 8px 14px;
}

.aspro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 26px;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.aspro-btn--primary {
  background: var(--mi36);
  border-color: var(--mi36);
  color: #fff;
}
.aspro-btn--primary:hover {
  background: var(--mi36-hover);
  border-color: var(--mi36-hover);
  color: #fff;
}
.aspro-btn--outline {
  background: transparent;
  border-color: #0ca9e3;
  color: #0ca9e3;
}
.aspro-btn--outline:hover {
  background: #0ca9e3;
  color: #fff;
}
.aspro-btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

/* ---- Homepage ---- */
.aspro-home {
  overflow-x: clip;
}
.aspro-section--pad { padding: 80px 0; }
.aspro-section--pad-sm { padding: 40px 0; }
.aspro-section--soft { background: #fafafa; }
.aspro-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.aspro-section__head--split { margin-bottom: 28px; }
.aspro-section__eyebrow {
  display: block;
  font-size: 14px;
  color: #9e9e9e;
  margin-bottom: 6px;
}
.aspro-section__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: #333;
  line-height: 1.25;
}
.aspro-section__link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.aspro-section__link::after {
  content: " ›";
  color: #cacaca;
}
.aspro-section__link:hover { color: var(--mi36); }
.aspro-section__intro {
  max-width: 70ch;
  color: #666;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.aspro-section__intro p { margin: 0 0 12px; }
.aspro-section__subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
  margin: -8px 0 32px;
}

/* Hero */
.aspro-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: #eef3f6;
  overflow: hidden;
}
.aspro-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  filter: blur(0);
  transform: scale(1.02);
}
.aspro-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.55) 42%, rgba(255,255,255,.15) 70%, transparent 100%);
}
.aspro-hero__person {
  position: absolute;
  right: max(0px, calc(50% - 640px));
  bottom: 0;
  width: min(48vw, 560px);
  height: 92%;
  background: right bottom / contain no-repeat;
  pointer-events: none;
  z-index: 1;
}
.aspro-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 64px 16px 80px;
}
.aspro-hero__content {
  max-width: 560px;
}
.aspro-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #333;
}
.aspro-hero__lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  color: #555;
}
.aspro-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.aspro-hero__disclaimer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9e9e9e;
}

/* Service cards */
.aspro-services {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .aspro-services { grid-template-columns: repeat(3, 1fr); }
}
.aspro-service-card {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #333;
}
.aspro-service-card__media {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transition: transform .35s ease;
}
.aspro-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.72) 100%);
}
.aspro-service-card__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity .2s ease;
}
.aspro-service-card__section {
  font-size: 13px;
  opacity: .85;
}
.aspro-service-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.aspro-service-card__title--dark { color: #333; }
.aspro-service-card__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 22px;
  background: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.aspro-service-card__hover .aspro-service-card__section { color: #9e9e9e; opacity: 1; }
.aspro-service-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  flex: 1;
  overflow: auto;
}
.aspro-service-card__price {
  margin-top: auto;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: var(--mi36);
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 4px;
}
.aspro-service-card:hover .aspro-service-card__media { transform: scale(1.04); }
.aspro-service-card:hover .aspro-service-card__overlay { opacity: 0; }
.aspro-service-card:hover .aspro-service-card__hover {
  opacity: 1;
  transform: none;
}

/* Direction tiles */
.aspro-dirs {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .aspro-dirs { grid-template-columns: repeat(6, 1fr); }
}
.aspro-dir {
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.aspro-dir__media {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transition: transform .35s ease;
}
.aspro-dir::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%);
}
.aspro-dir__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 14px 16px 16px;
}
.aspro-dir__label {
  display: block;
  font-size: 12px;
  opacity: .85;
  margin-bottom: 4px;
}
.aspro-dir__title {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.aspro-dir:hover .aspro-dir__media { transform: scale(1.06); }

/* Staff */
.aspro-staff {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .aspro-staff { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .aspro-staff { grid-template-columns: repeat(4, 1fr); }
}
.aspro-staff-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
.aspro-staff-card__photo {
  display: block;
  aspect-ratio: 3/4;
  background: #f0f0f0;
  overflow: hidden;
}
.aspro-staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aspro-staff-card__body {
  padding: 16px 18px 20px;
}
.aspro-staff-card__role {
  margin: 0 0 4px;
  font-size: 13px;
  color: #9e9e9e;
}
.aspro-staff-card__name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
.aspro-staff-card__name a {
  color: #333;
  text-decoration: none;
}
.aspro-staff-card__name a:hover { color: var(--mi36); }
.aspro-staff-card__phone {
  margin: 0 0 14px;
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}

/* Promos */
.aspro-promos {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .aspro-promos {
    grid-template-columns: 1fr 1fr;
  }
  .aspro-promo--big { grid-column: 1 / -1; min-height: 420px; }
}
.aspro-promo {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a3a4a center/cover no-repeat;
  text-decoration: none;
  color: #fff;
}
.aspro-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,40,60,.72), rgba(0,40,60,.28));
}
.aspro-promo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 40px;
  max-width: 640px;
  height: 100%;
}
.aspro-promo__eyebrow {
  font-size: 14px;
  opacity: .85;
}
.aspro-promo__title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.aspro-promo__text {
  font-size: 14px;
  line-height: 1.55;
  opacity: .92;
}
.aspro-promo__cta {
  margin-top: auto;
  align-self: flex-start;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 4px;
  font-size: 14px;
}
.aspro-promo:hover .aspro-promo__cta {
  background: #fff;
  color: #333;
}

/* Products */
.aspro-products {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .aspro-products { grid-template-columns: repeat(3, 1fr); }
}
.aspro-product {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.aspro-product__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #fafafa;
}
.aspro-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}
.aspro-product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--mi36);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
}
.aspro-product__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.aspro-product__cat {
  margin: 0;
  font-size: 12px;
  color: #9e9e9e;
}
.aspro-product__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.aspro-product__title a { color: #333; text-decoration: none; }
.aspro-product__title a:hover { color: var(--mi36); }
.aspro-product__stock {
  margin: 0;
  font-size: 13px;
  color: #666;
}
.aspro-product__price {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--mi36);
}
.aspro-product__body .aspro-btn { margin-top: auto; align-self: flex-start; }

/* Reviews */
.aspro-reviews {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .aspro-reviews { grid-template-columns: repeat(3, 1fr); }
}
.aspro-review {
  margin: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 20px 22px;
}
.aspro-review time,
.aspro-review cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: #9e9e9e;
}
.aspro-review cite {
  color: #333;
  font-weight: 700;
  margin: 4px 0 10px;
}
.aspro-review p {
  margin: 0 0 12px;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}
.aspro-review a {
  color: var(--mi36);
  text-decoration: none;
  font-size: 14px;
}

/* Blog */
.aspro-blog {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .aspro-blog { grid-template-columns: repeat(3, 1fr); }
}
.aspro-blog-card {
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 22px;
  text-decoration: none;
  background: #fff;
  transition: box-shadow .2s ease;
}
.aspro-blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.aspro-blog-card__cat {
  display: block;
  font-size: 12px;
  color: #9e9e9e;
  margin-bottom: 8px;
}
.aspro-blog-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.35;
}

/* Map */
.aspro-map {
  height: 300px;
  background: #e8e8e8;
}
.aspro-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Container width closer to Aspro */
.aspro-home .container,
.aspro-header__top-inner,
.aspro-header__main-inner {
  max-width: 1344px;
}

@media (max-width: 1100px) {
  .aspro-header__slogan { display: none; }
  .aspro-header__cta { display: none; }
}
@media (max-width: 860px) {
  .aspro-header__search { display: none; }
  .aspro-header__phone { display: none; }
  .aspro-header__burger { display: block; }
  .aspro-header__main {
    display: none;
  }
  .aspro-header.is-nav-open .aspro-header__main,
  .aspro-nav.is-open {
    display: block;
  }
  .aspro-header.is-nav-open .aspro-header__main {
    display: block;
  }
  .aspro-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    gap: 0;
  }
  .aspro-nav > a,
  .aspro-nav > .nav-dropdown > summary {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .aspro-hero { min-height: 480px; }
  .aspro-hero__person { opacity: .35; width: 70vw; }
  .aspro-section--pad { padding: 48px 0; }
  .aspro-dirs { grid-template-columns: repeat(2, 1fr); }
}

/* Aspro footer */
.aspro-footer {
  background: #2a2a2a;
  color: rgba(255,255,255,.78);
  font-family: var(--mi36-font);
  font-size: 14px;
  padding: 56px 0 28px;
}
.aspro-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.aspro-footer a:hover { color: #fff; }
.aspro-footer__inner {
  max-width: 1344px;
  margin: 0 auto;
  padding: 0 16px;
}
.aspro-footer__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}
@media (min-width: 700px) {
  .aspro-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .aspro-footer__grid { grid-template-columns: repeat(4, 1fr); }
}
.aspro-footer__col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.aspro-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.aspro-footer__contacts p { margin: 0 0 8px; }
.aspro-footer__phone { font-size: 18px; font-weight: 700; color: #fff; }
.aspro-footer__phone a { color: #fff; }
.aspro-footer__schedule { color: rgba(255,255,255,.6); font-size: 13px; }
.aspro-footer__contacts .aspro-btn { margin-top: 12px; }
.aspro-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: grid;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.aspro-footer__bottom p { margin: 0; }
.aspro-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.aspro-footer__disclaimer {
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11px;
}

/* Hero person polish */
@media (min-width: 900px) {
  .aspro-hero__person {
    right: max(0px, calc(50% - 680px));
    width: min(42vw, 480px);
    opacity: 1;
  }
}

.aspro-header__mail {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.aspro-header__mail:hover { color: var(--mi36); }
@media (max-width: 1100px) {
  .aspro-header__mail { display: none; }
}
