/*
Theme Name: Polimochevina Modern 9
Theme URI: https://polimochevina.ru/
Author: Polimochevina.ru
Description: Современная адаптивная тема для услуг гидроизоляции полимочевиной.
Version: 1.6.0
Text Domain: polimochevina-modern-v9
*/

:root {
  --pm-ink: #102a3b;
  --pm-muted: #5f7380;
  --pm-blue: #0c7096;
  --pm-cyan: #18a7c7;
  --pm-orange: #f28c28;
  --pm-ice: #eef7fa;
  --pm-paper: #ffffff;
  --pm-line: #dce8ed;
  --pm-shadow: 0 18px 55px rgba(16, 42, 59, 0.12);
  --pm-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pm-ink);
  background: #f8fbfc;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--pm-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #075774; }
img { max-width: 100%; height: auto; }
.pm-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.pm-topbar { background: var(--pm-ink); color: #dfeef3; font-size: 14px; }
.pm-topbar .pm-wrap { display: flex; justify-content: space-between; gap: 24px; padding: 9px 0; }
.pm-topbar a { color: #fff; text-decoration: none; }
.pm-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--pm-line); backdrop-filter: blur(16px); }
.admin-bar .pm-header { top: 32px; }
.pm-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pm-brand { display: inline-flex; align-items: center; flex: 0 1 300px; min-width: 220px; text-decoration: none; }
.pm-brand__logo { display: block; width: min(300px,100%); height: auto; }
.pm-nav ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.pm-nav a { color: var(--pm-ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.pm-nav a:hover { color: var(--pm-blue); }
.pm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; color: #fff; background: var(--pm-orange); box-shadow: 0 10px 24px rgba(242,140,40,.25); font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.pm-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242,140,40,.32); }
.pm-button--ghost { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.pm-js-order-form { cursor: pointer; }
.pm-menu-toggle { display: none; }
.pm-menu-label { display: none; }

.pm-form-modal[hidden] { display: none; }
.pm-form-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; }
.pm-form-modal__backdrop { position: absolute; inset: 0; background: rgba(5,31,45,.76); backdrop-filter: blur(8px); }
.pm-form-modal__dialog { position: relative; width: min(620px,100%); max-height: min(820px,calc(100vh - 48px)); overflow: hidden; border: 1px solid rgba(255,255,255,.4); border-radius: 24px; background: #fff; box-shadow: 0 30px 90px rgba(4,31,44,.34); }
.pm-form-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px 16px 24px; color: #fff; background: var(--pm-ink); }
.pm-form-modal__head strong { font-size: 20px; line-height: 1.2; }
.pm-form-modal__close { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; color: #fff; background: rgba(255,255,255,.1); font: 700 27px/1 Arial,sans-serif; cursor: pointer; }
.pm-form-modal__close:hover,.pm-form-modal__close:focus-visible { background: var(--pm-orange); outline: 3px solid rgba(242,140,40,.28); }
.pm-form-modal__frame { display: block; width: 100%; height: min(680px,calc(100vh - 150px)); border: 0; background: #fff; }
.pm-form-modal__fallback { margin: 0; padding: 12px 20px 16px; color: var(--pm-muted); background: #fff; font-size: 13px; text-align: center; }
.pm-form-modal__fallback a { font-weight: 800; }
.pm-form-modal-open { overflow: hidden; }

.pm-hero { position: relative; overflow: hidden; min-height: 660px; display: grid; align-items: center; background: #0c3448; color: #fff; }
.pm-hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg,rgba(7,38,54,.94) 0%,rgba(7,50,71,.72) 46%,rgba(7,50,71,.08) 78%), var(--pm-hero-image); background-position: center; background-size: cover; background-repeat: no-repeat; transform: scale(1.01); }
.pm-hero:after { content: ""; position: absolute; width: 440px; height: 440px; right: -160px; top: -160px; border: 90px solid rgba(24,167,199,.17); border-radius: 50%; }
.pm-hero .pm-wrap { position: relative; z-index: 1; padding: 100px 0 92px; }
.pm-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #8ee3f4; font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.pm-eyebrow:before { content: ""; width: 34px; height: 3px; background: var(--pm-orange); border-radius: 3px; }
.pm-hero h1 { max-width: 830px; margin: 0 0 22px; font-size: clamp(44px,6vw,76px); line-height: 1.02; letter-spacing: -.055em; }
.pm-hero__lead { max-width: 720px; margin: 0 0 34px; color: #d4e8ef; font-size: clamp(18px,2vw,23px); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pm-proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 64px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.14); border-radius: 18px; overflow: hidden; }
.pm-proof div { padding: 18px 22px; background: rgba(4,38,53,.62); }
.pm-proof strong { display: block; color: #fff; font-size: 18px; }
.pm-proof span { color: #bdd6df; font-size: 13px; }

.pm-section { padding: 92px 0; }
.pm-section--white { background: #fff; }
.pm-section--ice { background: var(--pm-ice); }
.pm-section--dark { background: var(--pm-ink); color: #fff; }
.pm-section__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; }
.pm-section__head h2 { max-width: 760px; margin: 0; font-size: clamp(34px,4vw,54px); line-height: 1.08; letter-spacing: -.045em; }
.pm-section__head p { max-width: 460px; margin: 0; color: var(--pm-muted); }
.pm-section--dark .pm-section__head p { color: #c1d4dc; }
.pm-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.pm-card { display: flex; flex-direction: column; min-height: 285px; padding: 30px; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); background: #fff; box-shadow: 0 5px 20px rgba(16,42,59,.04); color: var(--pm-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pm-card:hover { color: var(--pm-ink); transform: translateY(-5px); border-color: #b7dce8; box-shadow: var(--pm-shadow); }
.pm-card__num { color: var(--pm-orange); font-weight: 900; font-size: 13px; letter-spacing: .12em; }
.pm-card h3 { margin: auto 0 8px; font-size: 25px; line-height: 1.15; }
.pm-card p { margin: 0 0 18px; color: var(--pm-muted); font-size: 15px; }
.pm-card__link { font-weight: 800; color: var(--pm-blue); }
.pm-card--feature { background: linear-gradient(145deg,#0e789e,#0a5978); color: #fff; border: 0; }
.pm-card--feature:hover { color: #fff; }
.pm-card--feature p,.pm-card--feature .pm-card__link { color: #d6f1f7; }

.pm-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.pm-split h2 { margin: 0 0 20px; font-size: clamp(35px,4vw,56px); line-height: 1.08; letter-spacing: -.045em; }
.pm-split p { color: var(--pm-muted); }
.pm-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.pm-list li { position: relative; padding: 18px 20px 18px 54px; background: #fff; border: 1px solid var(--pm-line); border-radius: 16px; }
.pm-list li:before { content: "✓"; position: absolute; left: 19px; top: 17px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #dff6ef; color: #08765c; font-weight: 900; }
.pm-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; counter-reset: steps; }
.pm-step { position: relative; padding: 28px 24px; border-top: 3px solid rgba(255,255,255,.18); }
.pm-step:before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 34px; color: #67d2e8; font-size: 14px; font-weight: 900; }
.pm-step h3 { margin: 0 0 8px; font-size: 21px; }
.pm-step p { margin: 0; color: #bfd2da; font-size: 15px; }
.pm-cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 42px; border-radius: 28px; background: linear-gradient(135deg,var(--pm-orange),#ffab40); color: #fff; box-shadow: 0 20px 60px rgba(212,107,0,.24); }
.pm-cta h2 { margin: 0 0 8px; font-size: clamp(30px,4vw,48px); line-height: 1.08; }
.pm-cta p { margin: 0; opacity: .92; }
.pm-cta .pm-button { background: #fff; color: var(--pm-ink); box-shadow: none; }

.pm-main { padding: 70px 0 90px; }
.pm-content { max-width: 900px; margin: 0 auto; padding: 50px clamp(24px,5vw,64px); background: #fff; border: 1px solid var(--pm-line); border-radius: 28px; box-shadow: 0 12px 45px rgba(16,42,59,.07); }
.pm-content h1 { margin: 0 0 24px; font-size: clamp(38px,5vw,62px); line-height: 1.06; letter-spacing: -.045em; }
.pm-content h2 { margin-top: 48px; font-size: 32px; line-height: 1.2; }
.pm-content h3 { margin-top: 32px; font-size: 23px; }
.pm-content p,.pm-content li { color: #38515f; }
.pm-content table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.pm-content th,.pm-content td { padding: 14px; border: 1px solid var(--pm-line); text-align: left; vertical-align: top; }
.pm-content th { background: var(--pm-ice); }
.page-id-590 .pm-content { max-width: 1080px; }
.pm-price-table-wrap { margin: 32px 0; overflow-x: auto; border: 1px solid var(--pm-line); border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(16,42,59,.08); scrollbar-color: var(--pm-cyan) #e8f1f4; }
.pm-price-table-wrap table { width: 100% !important; min-width: 820px; margin: 0; border: 0 !important; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.pm-price-table-wrap td { width: auto !important; padding: 16px 14px; border: 0; border-right: 1px solid var(--pm-line); border-bottom: 1px solid var(--pm-line); vertical-align: middle !important; text-align: center; line-height: 1.45; }
.pm-price-table-wrap tr td:last-child { border-right: 0; }
.pm-price-table-wrap tr:last-child td { border-bottom: 0; }
.pm-price-table-wrap tr:first-child td { padding: 18px 20px; background: var(--pm-ink) !important; color: #fff; font-size: 19px; letter-spacing: -.01em; }
.pm-price-table-wrap tr:nth-child(2) td,.pm-price-table-wrap tr:nth-child(3) td { background: var(--pm-ice); color: var(--pm-ink); font-size: 15px; }
.pm-price-table-wrap tr:nth-child(2) td:first-child { width: 42% !important; }
.pm-price-table-wrap tr:nth-child(2) td:nth-child(2) { width: 10% !important; }
.pm-price-table-wrap tr:nth-child(2) td:nth-child(3) { width: 48% !important; }
.pm-price-table-wrap tr:nth-child(3) td { width: 12% !important; }
.pm-price-table-wrap tr:nth-child(n+4):nth-child(-n+6) td:first-child { text-align: left; font-weight: 650; }
.pm-price-table-wrap tr:nth-child(n+4):nth-child(-n+6):hover td { background: #f8fcfd; }
.pm-price-table-wrap tr:nth-last-child(2) td { padding: 17px 20px; background: var(--pm-cyan) !important; color: #fff; font-weight: 800; }
.pm-price-table-wrap tr:last-child td { padding: 22px 28px; background: #fff7ed; color: var(--pm-ink); }
.pm-price-table-wrap tr:last-child p { margin: 0; color: inherit; line-height: 1.7; }

.page-id-590 #snippet-box { width: 100% !important; max-width: none !important; margin: 48px 0 0 !important; overflow: hidden; border: 1px solid var(--pm-line) !important; border-radius: 20px; background: #fff !important; box-shadow: 0 14px 38px rgba(16,42,59,.08); color: var(--pm-ink) !important; }
.page-id-590 #snippet-box .snippet-title { padding: 18px 22px !important; border: 0 !important; background: var(--pm-ink) !important; color: #fff !important; font-size: 20px; font-weight: 850; }
.page-id-590 #snippet-box > div[itemscope] { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 26px; padding: 26px; }
.page-id-590 #snippet-box .snippet-image,.page-id-590 #snippet-box .aio-info { float: none !important; width: auto !important; margin: 0 !important; }
.page-id-590 #snippet-box .snippet-image img { display: block; width: 100% !important; height: 180px; object-fit: cover; border-radius: 14px; }
.page-id-590 #snippet-box .aio-info { display: grid; grid-template-columns: 170px minmax(0,1fr); align-content: start; }
.page-id-590 #snippet-box .snippet-label-img,.page-id-590 #snippet-box .snippet-data-img { float: none !important; width: auto !important; min-height: 50px; margin: 0 !important; padding: 12px 14px !important; border-bottom: 1px solid var(--pm-line); color: #38515f; line-height: 1.55; }
.page-id-590 #snippet-box .snippet-label-img { background: var(--pm-ice); color: var(--pm-ink); font-weight: 800; text-align: left; }
.page-id-590 #snippet-box .snippet-clear { display: none !important; }
.pm-article-figure { margin: 0 0 34px; }
.pm-article-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 40px rgba(16,42,59,.12); }
.pm-article-figure figcaption { margin-top: 10px; color: var(--pm-muted); font-size: 14px; line-height: 1.5; }
.pm-toc { margin: 30px 0 38px; padding: 24px 26px; border: 1px solid var(--pm-line); border-radius: 18px; background: var(--pm-ice); }
.pm-toc strong { display: block; margin-bottom: 10px; color: var(--pm-ink); }
.pm-toc ul { margin: 0; columns: 2; column-gap: 34px; }
.pm-toc li { break-inside: avoid; margin: 6px 0; }
.pm-note { margin: 28px 0; padding: 22px 24px; border-left: 4px solid var(--pm-orange); border-radius: 0 16px 16px 0; background: #fff7ed; }
.pm-check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 24px 0 32px; }
.pm-check-grid > div { padding: 20px; border: 1px solid var(--pm-line); border-radius: 16px; background: #fff; }
.pm-check-grid strong { display: block; margin-bottom: 6px; color: var(--pm-ink); }
.pm-breadcrumbs { margin-bottom: 24px; color: var(--pm-muted); font-size: 14px; }
.pm-breadcrumbs a { color: var(--pm-muted); }
.pm-related { margin-top: 55px; padding-top: 34px; border-top: 1px solid var(--pm-line); }
.pm-related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.pm-related a { padding: 16px; border-radius: 14px; background: var(--pm-ice); font-weight: 750; text-decoration: none; }
.pm-archive-title { margin: 0 0 35px; font-size: clamp(38px,5vw,62px); letter-spacing: -.045em; }
.pm-post-card { padding: 28px; background: #fff; border: 1px solid var(--pm-line); border-radius: 20px; }
.pm-post-card h2 { margin: 0 0 12px; line-height: 1.2; }
.pm-post-card h2 a { color: var(--pm-ink); text-decoration: none; }

.pm-footer { padding: 64px 0 28px; background: #0b2230; color: #bcd0d9; }
.pm-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.pm-footer h3 { margin: 0 0 14px; color: #fff; }
.pm-footer a { color: #eaf7fa; text-decoration: none; }
.pm-footer ul { margin: 0; padding: 0; list-style: none; }
.pm-footer li { margin: 7px 0; }
.pm-footer__bottom { margin-top: 45px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }

@media (max-width: 960px) {
  .pm-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 18px 20px 28px; background: #fff; border-bottom: 1px solid var(--pm-line); box-shadow: var(--pm-shadow); }
  .pm-nav ul { display: grid; gap: 4px; }
  .pm-nav a { display: block; padding: 10px; }
  .pm-menu-label { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--pm-line); border-radius: 12px; cursor: pointer; font-size: 23px; }
  .pm-menu-toggle:checked ~ .pm-nav { display: block; }
  .pm-header .pm-button { display: none; }
  .pm-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pm-split { grid-template-columns: 1fr; gap: 35px; }
  .pm-steps { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .pm-form-modal { padding: 10px; }
  .pm-form-modal__dialog { max-height: calc(100vh - 20px); border-radius: 18px; }
  .pm-form-modal__head { padding: 14px 14px 12px 18px; }
  .pm-form-modal__head strong { font-size: 17px; }
  .pm-form-modal__frame { height: calc(100vh - 115px); }
  .admin-bar .pm-header { top: 46px; }
  .pm-wrap { width: min(100% - 28px,1180px); }
  .pm-topbar .pm-wrap { display: grid; gap: 2px; text-align: center; }
  .pm-header__inner { min-height: 68px; }
  .pm-brand { flex-basis: 220px; min-width: 180px; }
  .pm-brand__logo { width: min(220px,100%); }
  .pm-hero { min-height: auto; }
  .pm-hero .pm-wrap { padding: 72px 0 60px; }
  .pm-hero h1 { font-size: 43px; }
  .pm-proof { grid-template-columns: 1fr; }
  .pm-section { padding: 64px 0; }
  .pm-section__head { display: block; }
  .pm-section__head p { margin-top: 15px; }
  .pm-grid,.pm-steps,.pm-related__grid { grid-template-columns: 1fr; }
  .pm-card { min-height: 240px; }
  .pm-cta { grid-template-columns: 1fr; padding: 30px; }
  .pm-content { padding: 32px 22px; border-radius: 18px; }
  .pm-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .pm-footer__bottom { display: block; }
  .pm-toc ul { columns: 1; }
  .pm-check-grid { grid-template-columns: 1fr; }
  .page-id-590 .pm-content { padding-right: 18px; padding-left: 18px; }
  .pm-price-table-wrap { margin-right: -4px; margin-left: -4px; border-radius: 16px; }
  .page-id-590 #snippet-box > div[itemscope] { grid-template-columns: 1fr; padding: 18px; }
  .page-id-590 #snippet-box .snippet-image { max-width: 260px; }
  .page-id-590 #snippet-box .aio-info { grid-template-columns: 1fr; }
  .page-id-590 #snippet-box .snippet-label-img { min-height: 0; border-bottom: 0; }
  .page-id-590 #snippet-box .snippet-data-img { min-height: 0; padding-top: 10px !important; padding-bottom: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
