/*
Theme Name: SPR Corporate
Theme URI: https://spr-solutions.ru
Author: Современные промышленные решения
Description: Корпоративная тема СПР с редактируемой главной страницей, продуктовыми направлениями и формой заявки.
Version: 1.3.7
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: spr-corporate
*/

:root {
  --spr-navy: #06294a;
  --spr-navy-2: #0a3d68;
  --spr-blue: #0789f7;
  --spr-sky: #68c1ff;
  --spr-ice: #eff8ff;
  --spr-white: #ffffff;
  --spr-text: #16324a;
  --spr-muted: #60758a;
  --spr-line: #d8e7f2;
  --spr-radius: 24px;
  --spr-shadow: 0 18px 60px rgba(6, 41, 74, 0.12);
  --spr-container: min(1220px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--spr-text);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: 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;
}

.spr-container { width: var(--spr-container); margin-inline: auto; }
.spr-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(216,231,242,.9);
  backdrop-filter: blur(14px);
}
.spr-header-inner {
  width: min(1450px, calc(100% - 40px));
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.spr-brand { display: block; flex: 0 0 auto; line-height: 0; }
.spr-brand img { width: 245px; max-height: 62px; object-fit: contain; object-position: left center; }
.spr-navigation { display: flex; align-items: center; gap: 16px; min-width: 0; margin-left: auto; }
.spr-menu, .spr-menu ul { list-style: none; margin: 0; padding: 0; }
.spr-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.spr-menu > li { position: relative; }
.spr-menu a {
  display: block;
  padding: 10px 7px;
  color: #111111;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 12px;
  transition: .2s ease;
}
.spr-menu > li > a:hover, .spr-menu > li > a:focus { background: transparent; color: var(--spr-blue); }
.spr-menu > li.current-menu-item > a, .spr-menu > li.current_page_item > a, .spr-menu > li.current-menu-ancestor > a, .spr-menu > li.current_page_ancestor > a { background: transparent; color: #111111; }
.spr-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 310px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--spr-line);
  border-radius: 18px;
  box-shadow: var(--spr-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.spr-menu li:hover > .sub-menu, .spr-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.spr-menu .sub-menu a { padding: 11px 12px; font-size: 15px; }
.spr-menu .sub-menu a:hover { color: var(--spr-blue); background: var(--spr-ice); }
.spr-header-contacts { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 164px; }
.spr-header-phone { color: #111111; font-size: 15px; font-weight: 800; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.spr-header-email { color: #111111; font-size: 12px; font-weight: 650; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.spr-header-phone:hover, .spr-header-email:hover { color: var(--spr-blue); }
.spr-header-cta, .spr-button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--spr-blue), #18a9ff);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(7,137,247,.22);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.spr-header-cta:hover, .spr-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(7,137,247,.3); }
.spr-menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.spr-menu-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--spr-navy); }

.spr-main { overflow: hidden; }
.spr-hero {
  min-height: 680px !important;
  display: flex;
  align-items: end;
  padding: 76px 0 70px;
  background-position: center 48% !important;
}
.spr-hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(3,28,52,.9) 0%, rgba(3,39,73,.72) 45%, rgba(5,75,122,.2) 100%) !important; opacity: 1 !important; }
.spr-hero .wp-block-cover__inner-container { width: var(--spr-container) !important; margin-inline: auto; }
.spr-hero-copy { max-width: 770px; color: #fff; }
.spr-eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #ccecff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.spr-hero h1 {
  margin: 0 0 24px;
  max-width: 850px;
  color: #fff;
  font-size: clamp(48px, 6.4vw, 86px);
  line-height: .98;
  letter-spacing: -.055em;
}
.spr-hero-lead { max-width: 690px; margin: 0 0 34px; color: #e4f4ff; font-size: clamp(19px, 2vw, 24px); }
.spr-hero .wp-block-buttons { gap: 12px; }
.spr-hero .is-style-outline .wp-block-button__link { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.55); box-shadow: none; }

.spr-hero.spr-hero-compact {
  min-height: 520px !important;
  align-items: stretch;
  padding: 28px 0 24px;
  background-position: center 47% !important;
}
.spr-hero-compact .wp-block-cover__image-background {
  filter: brightness(.7) saturate(1.2) contrast(1.08);
}
.spr-hero-compact .wp-block-cover__background {
  background: linear-gradient(105deg, rgba(3,31,55,.64) 0%, rgba(4,54,86,.52) 50%, rgba(8,91,135,.38) 100%) !important;
}
.spr-hero-compact .wp-block-cover__inner-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 468px;
}
.spr-hero-compact .spr-hero-copy {
  width: 100%;
  max-width: 1040px;
  margin: 0;
  color: #fff;
  text-align: left;
}
.spr-hero-compact h1 {
  margin: 0 0 10px;
  max-width: none;
  color: #fff;
  font-size: clamp(37px, 3.55vw, 54px);
  line-height: 1.03;
  text-shadow: 0 3px 20px rgba(0,25,45,.38);
  white-space: normal;
}
.spr-hero-compact .spr-hero-lead {
  max-width: 1010px;
  margin: 0;
  color: #e7f6ff;
  font-size: clamp(14px, 1.16vw, 17px);
  font-weight: 560;
  line-height: 1.42;
}
.spr-hero-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: auto;
  padding-top: 22px;
}
.spr-hero-product {
  position: relative;
  display: block;
  aspect-ratio: 2.35 / 1;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #0a2943;
  border: 1px solid rgba(180,224,244,.8);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(3, 42, 68, .25);
  text-decoration: none;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.spr-hero-product:hover {
  color: #fff;
  border-color: rgba(224,246,255,.95);
  box-shadow: 0 20px 46px rgba(3, 42, 68, .3);
}
.spr-hero-product:focus-visible {
  outline: 4px solid rgba(7,137,247,.42);
  outline-offset: 4px;
}
.spr-hero-product-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spr-hero-product-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(5,38,61,.16) 0%, rgba(3,29,49,.2) 38%, rgba(1,20,36,.92) 100%);
}
.spr-hero-product-logo {
  position: absolute;
  top: 14px;
  left: 18px;
  display: block;
  width: auto;
  max-width: 47%;
  max-height: 58px;
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 2px 7px rgba(0,18,31,.42));
}
.spr-hero-product-protectapeel .spr-hero-product-logo { width: 145px; max-height: 62px; }
.spr-hero-product-carbon .spr-hero-product-logo { width: 132px; max-height: 48px; }
.spr-hero-product-thermo .spr-hero-product-logo { width: 185px; max-width: 53%; max-height: 44px; }
.spr-hero-product-copy {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 20px;
  display: flex;
  flex-direction: column;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.spr-hero-product-copy strong {
  color: #fff;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.08;
}
.spr-hero-product-copy small {
  margin-top: 6px;
  color: #e8f6ff;
  font-size: clamp(11px, .88vw, 13px);
  font-weight: 570;
  line-height: 1.28;
}

.spr-section { padding: 100px 0; }
.spr-section#protectapeel > .spr-kicker { display: none; }
.spr-section > .wp-block-group__inner-container,
.spr-section.wp-block-group { width: var(--spr-container); margin-inline: auto; }
.spr-section-alt { background: var(--spr-ice); }
.spr-kicker { margin: 0 0 12px; color: var(--spr-blue); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spr-section h2 { margin: 0 0 24px; color: var(--spr-navy); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; }
.spr-section-intro { max-width: 780px; margin: 0 0 46px; color: var(--spr-muted); font-size: 20px; }

.spr-feature-panel {
  padding: 52px !important;
  background: linear-gradient(145deg, var(--spr-navy), var(--spr-navy-2));
  border-radius: 32px;
  box-shadow: var(--spr-shadow);
  overflow: hidden;
}
.spr-feature-panel h3 { margin-top: 0; color: #fff; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.spr-feature-panel p, .spr-feature-panel li { color: #d9edfb; }
.spr-feature-panel .wp-block-button__link { background: #fff; color: var(--spr-navy) !important; box-shadow: none; }
.spr-stat-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.spr-stat { padding: 20px !important; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.07); }
.spr-stat strong { display: block; color: #fff; font-size: 28px; }
.spr-stat span { color: #b9d7ec; font-size: 14px; }

.spr-card-grid { display: grid !important; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 20px; }
.spr-card {
  min-height: 300px;
  padding: 34px !important;
  border: 1px solid var(--spr-line);
  border-radius: var(--spr-radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(6,41,74,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.spr-card:hover { transform: translateY(-5px); border-color: #a8d9fa; box-shadow: var(--spr-shadow); }
.spr-card:nth-child(1) { grid-column: span 6; }
.spr-card:nth-child(2), .spr-card:nth-child(3) { grid-column: span 3; }
.spr-card:nth-child(4) { grid-column: span 12; }
.spr-card-index { color: var(--spr-blue); font-size: 14px; font-weight: 850; }
.spr-card h3 { margin: auto 0 12px; color: var(--spr-navy); font-size: 30px; line-height: 1.08; letter-spacing: -.025em; }
.spr-card p { margin: 0 0 24px; color: var(--spr-muted); }
.spr-card a { color: var(--spr-blue); font-weight: 750; text-decoration: none; }

.spr-sector-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spr-sector {
  min-height: 150px;
  padding: 28px !important;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--spr-line);
}
.spr-sector h3 { margin: 0 0 8px; color: var(--spr-navy); font-size: 22px; }
.spr-sector p { margin: 0; color: var(--spr-muted); font-size: 16px; }

.spr-advantage-grid { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.spr-advantage { padding: 26px !important; border-top: 3px solid var(--spr-blue); background: #fff; }
.spr-advantage strong { display: block; margin-bottom: 9px; color: var(--spr-navy); font-size: 18px; }
.spr-advantage p { margin: 0; color: var(--spr-muted); font-size: 15px; }

.spr-contact-wrap {
  display: grid !important;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}
.spr-contact-copy { padding-top: 20px; }
.spr-contact-card { padding: 34px; border-radius: 28px; background: #fff; box-shadow: var(--spr-shadow); }
.spr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.spr-field { display: flex; flex-direction: column; gap: 7px; }
.spr-field-full { grid-column: 1 / -1; }
.spr-field label { color: var(--spr-navy); font-size: 14px; font-weight: 750; }
.spr-field input, .spr-field select, .spr-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cbdde9;
  border-radius: 12px;
  background: #fafdff;
  color: var(--spr-text);
  font: inherit;
  font-size: 16px;
}
.spr-field textarea { min-height: 130px; resize: vertical; }
.spr-field input:focus, .spr-field select:focus, .spr-field textarea:focus { outline: 3px solid rgba(7,137,247,.15); border-color: var(--spr-blue); }
.spr-file-note { color: var(--spr-muted); font-size: 13px; }
.spr-consent { display: flex; flex-direction: row !important; align-items: flex-start; gap: 10px !important; color: var(--spr-muted); font-size: 13px; }
.spr-consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.spr-consent a { color: var(--spr-blue); }
.spr-form-status { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 650; }
.spr-form-status-success { color: #0c6b46; background: #e7f8f0; }
.spr-form-status-error { color: #8c2430; background: #fff0f2; }
.spr-honeypot { position: absolute !important; left: -9999px !important; }

.spr-page-hero { padding: 100px 0 70px; background: linear-gradient(145deg, var(--spr-ice), #fff); border-bottom: 1px solid var(--spr-line); }
.spr-page-hero h1 { margin: 0; color: var(--spr-navy); font-size: clamp(46px, 6vw, 76px); line-height: 1; letter-spacing: -.05em; }
.spr-page-content { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 110px; }
.spr-page-content h2, .spr-page-content h3 { color: var(--spr-navy); }

.spr-site-footer { padding: 70px 0 30px; color: #d7e9f5; background: #041f38; }
.spr-footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 50px; }
.spr-footer-title { color: #fff; font-size: 22px; font-weight: 800; }
.spr-footer-copy { max-width: 500px; color: #aac5d8; }
.spr-footer-links { list-style: none; margin: 0; padding: 0; }
.spr-footer-links li { margin: 9px 0; }
.spr-footer-links a { color: #d7e9f5; text-decoration: none; }
.spr-footer-links a:hover { color: var(--spr-sky); }
.spr-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #88a8bd; font-size: 14px; }

@media (max-width: 1120px) {
  .spr-header-contacts { display: none; }
  .spr-brand img { width: 210px; }
  .spr-navigation { gap: 8px; }
  .spr-menu a { padding-inline: 7px; font-size: 12px; }
  .spr-advantage-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  :root { --spr-container: min(100% - 32px, 760px); }
  .spr-header-inner { min-height: 76px; }
  .spr-brand img { width: 190px; }
  .spr-menu-toggle { display: block; margin-left: auto; }
  .spr-header-cta { display: none; }
  .spr-navigation {
    display: block;
    position: fixed;
    inset: 76px 0 auto;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 14px 16px 26px;
    background: #fff;
    border-top: 1px solid var(--spr-line);
    box-shadow: var(--spr-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .2s ease;
  }
  .spr-navigation.is-open { opacity: 1; visibility: visible; transform: none; }
  .spr-menu { display: block; }
  .spr-menu a { padding: 14px 12px; font-size: 16px; }
  .spr-menu .sub-menu { position: static; width: auto; padding: 0 0 0 16px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .spr-navigation .spr-header-contacts { display: flex; align-items: flex-start; gap: 5px; margin: 18px 12px 0; padding-top: 18px; border-top: 1px solid var(--spr-line); }
  .spr-navigation .spr-header-phone { font-size: 18px; }
  .spr-navigation .spr-header-email { font-size: 15px; }
  .spr-hero.spr-hero-compact { min-height: 460px !important; }
  .spr-hero-compact .wp-block-cover__inner-container { min-height: 408px; }
  .spr-hero-compact h1 { font-size: 30px; }
  .spr-hero-products { gap: 12px; }
  .spr-hero-product-logo { top: 9px; left: 11px; max-height: 38px; }
  .spr-hero-product-protectapeel .spr-hero-product-logo { width: 105px; max-height: 40px; }
  .spr-hero-product-carbon .spr-hero-product-logo { width: 96px; max-height: 34px; }
  .spr-hero-product-thermo .spr-hero-product-logo { width: 130px; max-height: 32px; }
  .spr-hero-product-copy { right: 11px; bottom: 10px; left: 12px; }
  .spr-hero-product-copy strong { font-size: 17px; }
  .spr-hero-product-copy small { margin-top: 3px; font-size: 10px; }
  .spr-card-grid { grid-template-columns: 1fr 1fr !important; }
  .spr-card { grid-column: auto !important; }
  .spr-sector-grid { grid-template-columns: 1fr 1fr; }
  .spr-contact-wrap { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  :root { --spr-container: calc(100% - 24px); }
  body { font-size: 17px; }
  .spr-brand img { width: 160px; }
  .spr-hero { min-height: 650px !important; padding-block: 54px; }
  .spr-hero h1 { font-size: 48px; }
  .spr-hero.spr-hero-compact { min-height: auto !important; padding: 32px 0 20px; }
  .spr-hero-compact .wp-block-cover__inner-container { min-height: 0; gap: 26px; }
  .spr-hero.spr-hero-compact h1 { font-size: 34px; white-space: normal; }
  .spr-hero-compact .spr-hero-lead { font-size: 14px; }
  .spr-hero-products { grid-template-columns: 1fr; gap: 12px; margin-top: 0; }
  .spr-hero-product { min-height: 0; }
  .spr-hero-product-logo { top: 13px; left: 16px; }
  .spr-hero-product-protectapeel .spr-hero-product-logo { width: 130px; max-height: 54px; }
  .spr-hero-product-carbon .spr-hero-product-logo { width: 118px; max-height: 42px; }
  .spr-hero-product-thermo .spr-hero-product-logo { width: 165px; max-height: 39px; }
  .spr-hero-product-copy { right: 16px; bottom: 14px; left: 17px; }
  .spr-hero-product-copy strong { font-size: 22px; }
  .spr-hero-product-copy small { font-size: 12px; }
  .spr-section { padding: 72px 0; }
  .spr-feature-panel { padding: 30px 24px !important; }
  .spr-stat-grid, .spr-card-grid, .spr-sector-grid, .spr-advantage-grid, .spr-form-grid { grid-template-columns: 1fr !important; }
  .spr-field-full { grid-column: auto; }
  .spr-card { min-height: 260px; }
  .spr-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .spr-footer-bottom { display: block; }
}


/* === SPR 1.0.7: approved product showcases === */
.spr-showcases {
  width: 100%;
  padding: 18px 0 54px;
  background: #fff;
}
.spr-showcase {
  width: min(1450px, calc(100% - 40px));
  margin: 28px auto 54px;
}
.spr-showcase-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(500px, .98fr);
  gap: 38px;
  align-items: center;
  padding: 24px;
  border: 1px solid #edf2f6;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6,41,74,.055);
}
.spr-showcase-visual { min-width: 0; }
.spr-showcase-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}
.spr-showcase-copy { min-width: 0; padding: 12px 4px 12px 0; }
.spr-showcase-brand {
  margin: 0 0 20px;
  color: #0f65e7;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .22em;
}
.spr-showcase-copy h2 {
  margin: 0 0 22px;
  color: var(--spr-navy);
  font-size: clamp(34px, 3.05vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
.spr-showcase-body {
  max-width: 650px;
  margin: 0 0 25px;
  color: #38516a;
  font-size: 17px;
  line-height: 1.62;
}
.spr-showcase-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.spr-showcase-feature {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 15px 10px;
  text-align: center;
  color: #15335e;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 17px;
  box-shadow: 0 7px 18px rgba(34,65,105,.055);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}
.spr-showcase-icon { width: 40px; height: 40px; color: #0f65e7; }
.spr-showcase-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spr-showcase-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.spr-showcase-pills span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #0f65e7;
  background: #fff;
  border: 1px solid #cfe0f8;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
}
.spr-showcase-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.spr-showcase-btn {
  min-height: 62px;
  min-width: 245px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 25px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.spr-showcase-btn:hover { transform: translateY(-2px); }
.spr-showcase-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1166e8, #0754ce);
  border: 2px solid #1166e8;
  box-shadow: 0 10px 24px rgba(17,102,232,.16);
}
.spr-showcase-btn-secondary {
  color: #0f65e7;
  background: #fff;
  border: 2px solid #0f65e7;
}
.spr-showcase-btn b { font-size: 22px; font-weight: 500; }

@media (max-width: 1180px) {
  .spr-showcase-inner { grid-template-columns: 1fr; }
  .spr-showcase-copy { padding: 8px 6px 10px; }
  .spr-showcase-body { max-width: none; }
}
@media (max-width: 760px) {
  .spr-showcases { padding-top: 6px; }
  .spr-showcase { width: calc(100% - 20px); margin: 20px auto 34px; }
  .spr-showcase-inner { gap: 18px; padding: 10px; border-radius: 22px; }
  .spr-showcase-visual img { border-radius: 16px; }
  .spr-showcase-copy { padding: 8px 6px 12px; }
  .spr-showcase-brand { margin-bottom: 13px; font-size: 12px; }
  .spr-showcase-copy h2 { margin-bottom: 16px; font-size: 31px; line-height: 1.08; }
  .spr-showcase-body { font-size: 15px; line-height: 1.55; }
  .spr-showcase-features { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .spr-showcase-feature { min-height: 120px; }
  .spr-showcase-actions { gap: 11px; }
  .spr-showcase-btn { width: 100%; min-width: 0; min-height: 58px; }
}


/* === SPR 1.0.9: application sectors and value sections === */
.spr-home-info-groups {
  width: 100%;
  padding: 0 0 78px;
  background: #fff;
}
.spr-info-section {
  width: min(1450px, calc(100% - 40px));
  margin: 0 auto 26px;
}
.spr-info-section-inner {
  padding: 28px 30px 30px;
  border: 1px solid #edf2f6;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6,41,74,.055);
}
.spr-info-section-title {
  margin: 0 0 22px;
  color: var(--spr-navy);
  font-size: clamp(28px, 2.35vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.spr-info-section-benefits .spr-info-section-title {
  color: #111827;
}
.spr-info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.spr-info-card {
  min-height: 220px;
  padding: 20px 18px 18px;
  border: 1px solid #e8eef5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(34,65,105,.05);
}
.spr-info-section-benefits .spr-info-card {
  min-height: 180px;
}
.spr-info-card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 16px;
}
.spr-info-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spr-info-card-icon-facade { background: #e7f2ff; color: #0f65e7; }
.spr-info-card-icon-construction { background: #fff4d9; color: #d18a00; }
.spr-info-card-icon-architecture { background: #efe8ff; color: #7752d9; }
.spr-info-card-icon-industry { background: #e8f7ef; color: #1d8b55; }
.spr-info-card-icon-infrastructure { background: #ffe8e2; color: #d9683d; }
.spr-info-card-icon-selection { background: #e7f2ff; color: #0f65e7; }
.spr-info-card-icon-expertise { background: #ecf7ff; color: #0b8bdc; }
.spr-info-card-icon-target { background: #fff1dc; color: #df8a00; }
.spr-info-card-icon-testing { background: #efe8ff; color: #7b57db; }
.spr-info-card-icon-implementation { background: #e8f7ef; color: #1d8b55; }
.spr-info-card h3 {
  margin: 0 0 10px;
  color: #0f65e7;
  font-size: 19px;
  line-height: 1.25;
}
.spr-info-section-benefits .spr-info-card h3 {
  color: var(--spr-navy);
}
.spr-info-card p {
  margin: 0;
  color: #38516a;
  font-size: 16px;
  line-height: 1.55;
}
@media (max-width: 1280px) {
  .spr-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .spr-info-section { width: calc(100% - 20px); }
  .spr-info-section-inner { padding: 18px 16px 18px; border-radius: 24px; }
  .spr-info-section-title { margin-bottom: 16px; font-size: 30px; }
  .spr-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .spr-info-card, .spr-info-section-benefits .spr-info-card { min-height: 0; }
  .spr-info-card { padding: 16px 14px; border-radius: 18px; }
  .spr-info-card-icon { width: 52px; height: 52px; margin-bottom: 14px; }
  .spr-info-card h3 { font-size: 17px; }
  .spr-info-card p { font-size: 14px; }
}
@media (max-width: 520px) {
  .spr-info-grid { grid-template-columns: 1fr; }
}


/* === SPR 1.1.0: compact sectors, business benefits, proposal block === */
.spr-home-info-groups {
  width: 100%;
  padding: 0 0 32px;
  background: #fff;
}
.spr-info-section,
.spr-proposal-section {
  width: min(1450px, calc(100% - 40px));
  margin: 0 auto 24px;
}
.spr-info-section-inner,
.spr-proposal-inner {
  padding: 28px 30px 30px;
  border: 1px solid #e7edf4;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(6, 41, 74, .055);
}
.spr-info-section-title {
  margin: 0 0 22px;
  color: var(--spr-navy);
  font-size: clamp(30px, 2.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.spr-info-section-benefits .spr-info-section-title {
  color: #111827;
}
.spr-info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.spr-info-card {
  min-height: 188px;
  padding: 18px 18px 16px;
  border: 1px solid #e7edf4;
  border-radius: 22px;
  background: #fff;
}
.spr-info-section-benefits .spr-info-card {
  min-height: 154px;
}
.spr-info-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #0f65e7;
}
.spr-info-card-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spr-info-card h3 {
  margin: 0 0 8px;
  color: #0f65e7;
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: -.02em;
}
.spr-info-section-benefits .spr-info-card h3 {
  color: var(--spr-navy);
}
.spr-info-card p {
  margin: 0;
  color: #476279;
  font-size: 15px;
  line-height: 1.5;
}

.spr-proposal-section {
  padding-bottom: 74px;
}
.spr-proposal-inner .spr-contact-wrap {
  display: grid !important;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: start;
}
.spr-proposal-inner .spr-contact-copy {
  padding-top: 8px;
}
.spr-proposal-inner .spr-kicker {
  margin-bottom: 14px;
}
.spr-proposal-inner h2 {
  margin: 0 0 14px;
  color: var(--spr-navy);
  font-size: clamp(34px, 2.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.spr-proposal-inner .spr-section-intro {
  margin: 0;
  max-width: 420px;
}
.spr-proposal-inner .spr-contact-card {
  padding: 28px;
  border-radius: 24px;
  background: #f9fcff;
  border: 1px solid #e2ebf4;
  box-shadow: none;
}
.spr-proposal-inner .spr-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.spr-proposal-inner .spr-field label {
  color: var(--spr-navy);
  font-size: 14px;
  font-weight: 700;
}
.spr-proposal-inner .spr-field input,
.spr-proposal-inner .spr-field select,
.spr-proposal-inner .spr-field textarea {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfe0ec;
  border-radius: 12px;
  background: #fff;
}
.spr-proposal-inner .spr-field textarea {
  min-height: 124px;
}
.spr-proposal-inner .spr-field input:focus,
.spr-proposal-inner .spr-field select:focus,
.spr-proposal-inner .spr-field textarea:focus {
  outline: 3px solid rgba(7,137,247,.12);
  border-color: var(--spr-blue);
}
.spr-proposal-inner .spr-consent {
  color: #526c82;
}
.spr-proposal-inner .spr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--spr-blue), var(--spr-navy));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.spr-proposal-inner .spr-button:hover {
  transform: translateY(-1px);
}

@media (max-width: 1280px) {
  .spr-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .spr-proposal-inner .spr-contact-wrap { grid-template-columns: 1fr !important; }
}
@media (max-width: 860px) {
  .spr-info-section,
  .spr-proposal-section { width: calc(100% - 20px); }
  .spr-info-section-inner,
  .spr-proposal-inner { padding: 18px 16px 18px; border-radius: 24px; }
  .spr-info-section-title { margin-bottom: 16px; font-size: 30px; }
  .spr-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .spr-info-card,
  .spr-info-section-benefits .spr-info-card { min-height: 0; padding: 16px 14px; border-radius: 18px; }
  .spr-info-card-icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .spr-info-card-icon svg { width: 30px; height: 30px; }
  .spr-info-card h3 { font-size: 17px; }
  .spr-info-card p { font-size: 14px; }
  .spr-proposal-inner .spr-contact-card { padding: 18px; border-radius: 18px; }
}
@media (max-width: 520px) {
  .spr-info-grid,
  .spr-proposal-inner .spr-form-grid { grid-template-columns: 1fr; }
}


/* === SPR 1.3.3: Protectapeel catalogue and product pages === */
.spr-pp-catalog-wrap,
.spr-pp-detail-wrap {
  width: min(1450px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 82px;
}
.spr-pp-catalog-intro {
  margin: 0 0 28px;
}
.spr-pp-page-title {
  max-width: 1120px;
  margin: 0 0 20px;
  color: var(--spr-navy);
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.spr-pp-lead {
  max-width: 1120px;
  margin: 0;
  color: #38516a;
  font-size: 21px;
  line-height: 1.58;
}
.spr-pp-page-shell {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.spr-pp-sidebar {
  min-width: 0;
}
.spr-pp-sidebar-inner {
  position: sticky;
  top: 108px;
  padding: 20px 16px 18px;
  border: 1px solid #e5edf4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6,41,74,.045);
}
.admin-bar .spr-pp-sidebar-inner { top: 140px; }
.spr-pp-sidebar-title {
  margin: 0 0 14px;
  padding: 0 8px 12px;
  border-bottom: 1px solid #edf2f6;
  color: var(--spr-navy);
  font-size: 18px;
  font-weight: 850;
}
.spr-pp-all,
.spr-pp-menu-link {
  display: block;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.spr-pp-all {
  margin-bottom: 8px;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  border-radius: 9px;
  color: #12375c;
  font-size: 14px;
  font-weight: 760;
}
.spr-pp-all:hover,
.spr-pp-all.is-active {
  color: #0f65e7;
  background: #f1f7ff;
  border-left-color: #0f65e7;
}
.spr-pp-menu-group {
  padding: 14px 0 12px;
  border-top: 1px solid #edf2f6;
}
.spr-pp-menu-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 7px;
  color: var(--spr-navy);
  font-size: 13px;
  font-weight: 830;
  line-height: 1.32;
}
.spr-pp-menu-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #0f65e7;
}
.spr-pp-menu-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spr-pp-menu-link {
  position: relative;
  margin-left: 28px;
  padding: 6px 8px 6px 11px;
  border-left: 1px solid #dbe6ef;
  color: #536a80;
  font-size: 13px;
  line-height: 1.35;
}
.spr-pp-menu-link::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  width: 7px;
  border-top: 1px solid #dbe6ef;
}
.spr-pp-menu-link:hover,
.spr-pp-menu-link.is-active {
  color: #0f65e7;
  font-weight: 760;
  background: #f8fbff;
}
.spr-pp-menu-link.is-active { border-left-color: #0f65e7; }
.spr-pp-help {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f2f7fd;
  color: #3b556c;
  font-size: 13px;
  line-height: 1.45;
}
.spr-pp-help strong {
  display: block;
  margin-bottom: 6px;
  color: var(--spr-navy);
  font-size: 14px;
}
.spr-pp-help p { margin: 0 0 8px; }
.spr-pp-help a { color: #0f65e7; font-weight: 750; text-decoration: none; }

.spr-pp-catalog-main { min-width: 0; padding-top: 4px; }
.spr-pp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 26px;
  row-gap: 48px;
}
.spr-pp-product-card {
  min-width: 0;
}
.spr-pp-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.12 / 1;
  margin-bottom: 18px;
  border: 1px solid #e8eef4;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.spr-pp-product-image:hover {
  transform: translateY(-2px);
  border-color: #cbdff2;
  box-shadow: 0 12px 24px rgba(6,41,74,.06);
}
.spr-pp-product-image img {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
}
.spr-pp-product-card h2 {
  margin: 0 0 10px;
  color: var(--spr-navy);
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -.02em;
}
.spr-pp-product-card h2 a { color: inherit; text-decoration: none; }
.spr-pp-card-price {
  margin: 0 0 12px;
  color: #0f65e7;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.2;
}
.spr-pp-product-card > p {
  margin: 0 0 10px;
  color: #425d74;
  font-size: 14px;
  line-height: 1.5;
}
.spr-pp-product-for {
  color: #5c7489 !important;
  font-size: 13px !important;
}
.spr-pp-product-for strong { color: #0f65e7; }
.spr-pp-more {
  display: inline-flex;
  margin-top: 4px;
  color: #0f65e7;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
}
.spr-pp-more:hover { text-decoration: underline; }

/* Product detail page */
.spr-pp-detail-wrap { padding-top: 16px; }
.spr-pp-detail { min-width: 0; }
.spr-pp-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: #0f65e7;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}
.spr-pp-detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
  padding: 34px;
  border: 1px solid #e4ebf2;
  border-radius: 26px;
  background: #fff;
}
.spr-pp-detail-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}
.spr-pp-detail-image img {
  width: min(92%, 520px);
  height: auto;
  object-fit: contain;
}
.spr-pp-detail-copy h1 {
  margin: 0 0 18px;
  color: var(--spr-navy);
  font-size: clamp(38px, 3.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.spr-pp-detail-summary {
  margin: 0 0 18px;
  color: #38516a;
  font-size: 17px;
  line-height: 1.62;
}
.spr-pp-detail-for {
  margin: 0 0 18px;
  color: #526a80;
  font-size: 15px;
  line-height: 1.5;
}
.spr-pp-detail-for strong { color: #0f65e7; }
.spr-pp-spec-table {
  margin: 0 0 18px;
  border: 1px solid #e4ebf2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.spr-pp-spec-row {
  display: grid;
  grid-template-columns: 210px minmax(0,1fr);
}
.spr-pp-spec-row + .spr-pp-spec-row { border-top: 1px solid #e4ebf2; }
.spr-pp-spec-row span,
.spr-pp-spec-row strong {
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
}
.spr-pp-spec-row span {
  color: var(--spr-navy);
  font-weight: 760;
  background: #fbfdff;
}
.spr-pp-spec-row strong {
  color: #35506a;
  font-weight: 520;
}
.spr-pp-price-box {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid #e4ebf2;
  border-radius: 18px;
  background: #fbfdff;
}
.spr-pp-price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.spr-pp-price-head strong {
  color: var(--spr-navy);
  font-size: 20px;
}
.spr-pp-price-head span {
  color: #0f65e7;
  font-size: 20px;
  font-weight: 780;
}
.spr-pp-price-box-request {
  padding-top: 16px;
  padding-bottom: 16px;
}
.spr-pp-price-box-request .spr-pp-price-head {
  margin-bottom: 0;
}
.spr-pp-price-table {
  display: grid;
  gap: 10px;
}
.spr-pp-price-row {
  display: grid;
  grid-template-columns: 120px 110px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e8eef4;
}
.spr-pp-price-row:first-child {
  padding-top: 0;
  border-top: 0;
}
.spr-pp-price-row span {
  color: var(--spr-navy);
  font-size: 14px;
  font-weight: 700;
}
.spr-pp-price-row strong {
  color: #0f65e7;
  font-size: 15px;
  font-weight: 780;
}
.spr-pp-price-row em {
  color: #526a80;
  font-size: 14px;
  font-style: normal;
}
.spr-pp-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.spr-pp-detail-actions .spr-showcase-btn {
  min-width: 230px;
  min-height: 56px;
}
.spr-pp-tds {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #e8eef4;
  border-radius: 24px;
  background: #fff;
}
.spr-pp-tds h3 {
  margin: 0 0 18px;
  color: var(--spr-navy);
  font-size: 28px;
}
.spr-pp-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.spr-pp-spec {
  padding: 16px;
  border: 1px solid #e9eef3;
  border-radius: 14px;
  background: #fbfdff;
}
.spr-pp-spec span {
  display: block;
  margin-bottom: 6px;
  color: #6b8295;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.spr-pp-surfaces {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #e8eef4;
  border-radius: 24px;
  background: #fff;
}
.spr-pp-surfaces h3 {
  margin: 0 0 18px;
  color: var(--spr-navy);
  font-size: 28px;
}
.spr-pp-surfaces-table {
  overflow-x: auto;
  border: 1px solid #e4ebf2;
  border-radius: 18px;
}
.spr-pp-surfaces-row {
  min-width: 760px;
  display: grid;
  grid-template-columns: repeat(9, minmax(95px, 1fr));
}
.spr-pp-surfaces-row > div {
  padding: 14px 12px;
  border-right: 1px solid #e4ebf2;
  border-top: 1px solid #e4ebf2;
  text-align: center;
}
.spr-pp-surfaces-row > div:last-child { border-right: 0; }
.spr-pp-surfaces-head > div {
  border-top: 0;
  color: var(--spr-navy);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  background: #fbfdff;
}
.spr-pp-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.spr-pp-flag.is-yes { background: #16b85f; }
.spr-pp-flag.is-no { background: #e34242; }

@media (max-width: 1220px) {
  .spr-pp-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .spr-pp-page-shell { grid-template-columns: 1fr; }
  .spr-pp-sidebar-inner { position: static; }
  .spr-pp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .spr-pp-detail-hero { grid-template-columns: 1fr; }
  .spr-pp-spec-row { grid-template-columns: 1fr; }
  .spr-pp-price-head { flex-direction: column; align-items: flex-start; }
  .spr-pp-price-row { grid-template-columns: 1fr; gap: 4px; }
  .spr-pp-detail-image { min-height: 320px; }
  .spr-pp-surfaces,
  .spr-pp-tds { padding: 22px; }
  .spr-pp-spec-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .spr-pp-catalog-wrap,
  .spr-pp-detail-wrap { width: calc(100% - 24px); padding-top: 20px; }
  .spr-pp-page-title { font-size: 38px; margin-bottom: 16px; }
  .spr-pp-lead { font-size: 17px; }
  .spr-pp-grid { grid-template-columns: 1fr; row-gap: 34px; }
  .spr-pp-product-image { aspect-ratio: 1.2/1; }
  .spr-pp-detail-hero,
  .spr-pp-tds { padding: 18px; border-radius: 20px; }
  .spr-pp-detail-actions .spr-showcase-btn { width: 100%; min-width: 0; }
  .spr-pp-spec-grid { grid-template-columns: 1fr; }
}


/* === SPR 1.3.4: header menu color cleanup === */
.site-header .spr-menu > li > a { color: #111111 !important; background: transparent !important; }
.site-header .spr-menu > li > a:hover, .site-header .spr-menu > li > a:focus { color: var(--spr-blue) !important; background: transparent !important; }
.site-header .spr-menu > li.current-menu-item > a, .site-header .spr-menu > li.current_page_item > a, .site-header .spr-menu > li.current-menu-ancestor > a, .site-header .spr-menu > li.current_page_ancestor > a { color: #111111 !important; background: transparent !important; }


/* === SPR 1.3.6: proposal contacts and thank-you page === */
.spr-proposal-contacts {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  max-width: 420px;
}
.spr-proposal-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid #d8e6f1;
  border-radius: 14px;
  background: #fff;
  color: var(--spr-navy);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.spr-proposal-contact span {
  color: var(--spr-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.spr-proposal-contact strong {
  font-size: 18px;
  line-height: 1.3;
}
.spr-proposal-contact:hover {
  border-color: var(--spr-blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(6, 41, 74, .08);
}
.spr-thanks {
  width: min(900px, calc(100% - 40px));
  margin: 72px auto;
  padding: 52px;
  border: 1px solid var(--spr-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--spr-shadow);
}
.spr-thanks h1 {
  margin-top: 0;
  color: var(--spr-navy);
}
@media (max-width: 640px) {
  .spr-proposal-contacts { margin-top: 18px; }
  .spr-thanks { width: calc(100% - 24px); margin: 32px auto; padding: 28px 22px; }
}

/* === SPR 1.3.7: thanks page secondary button visibility === */
.spr-thanks .is-style-outline .wp-block-button__link {
  background: #fff;
  color: var(--spr-navy) !important;
  border: 1px solid #b9d8ee;
  box-shadow: none;
}
.spr-thanks .is-style-outline .wp-block-button__link:hover {
  color: var(--spr-blue) !important;
  border-color: var(--spr-blue);
  background: #f5fbff;
  box-shadow: 0 10px 24px rgba(6, 41, 74, .08);
}

/* === Главный экран: убираем продуктовые карточки и уменьшаем высоту === */

.spr-hero-products {
    display: none !important;
}

@media (min-width: 769px) {
    .spr-hero.spr-hero-compact {
        min-height: 340px !important;
        padding: 22px 0 !important;
        background-position: center 45% !important;
    }

    .spr-hero-compact .wp-block-cover__inner-container {
        min-height: 296px !important;
        justify-content: center !important;
    }

    .spr-hero-compact .spr-hero-copy {
        max-width: 1040px;
    }
}

/* === SPR Cookie Banner === */

.spr-cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 20px;
    z-index: 99999;
}

.spr-cookie-banner[hidden] {
    display: none !important;
}

.spr-cookie-banner__inner {
    width: min(1180px, calc(100% - 20px));
    margin: 0 auto;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    background: rgba(5, 27, 48, .97);
    border: 1px solid rgba(154, 205, 239, .22);
    border-radius: 18px;
    box-shadow: 0 16px 44px rgba(0, 21, 40, .28);
    backdrop-filter: blur(10px);
}

.spr-cookie-banner__text {
    flex: 1 1 auto;
    color: #eaf6ff;
    font-size: 14px;
    line-height: 1.45;
}

.spr-cookie-banner__text a {
    color: #7bc8ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.spr-cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.spr-cookie-btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.spr-cookie-btn:hover {
    transform: translateY(-1px);
}

.spr-cookie-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0d8ff5, #083b70);
    box-shadow: 0 8px 20px rgba(5, 74, 133, .22);
}

.spr-cookie-btn-secondary {
    color: #0b3154;
    background: #fff;
    border-color: #c8ddeb;
}

.spr-cookie-btn-secondary:hover {
    background: #f3f9fd;
}

@media (max-width: 760px) {
    .spr-cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .spr-cookie-banner__inner {
        width: 100%;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        border-radius: 16px;
    }

    .spr-cookie-banner__actions {
        width: 100%;
    }

    .spr-cookie-btn {
        flex: 1 1 0;
        padding-inline: 12px;
    }
}
/* === Выравнивание только Protectapeel и Carbon Glass === */
@media (min-width: 1181px) {

    #protectapeel .spr-showcase-inner,
    #carbon-glass .spr-showcase-inner {
        align-items: stretch;
    }

    #protectapeel .spr-showcase-visual,
    #carbon-glass .spr-showcase-visual {
        min-width: 0;
        display: flex;
    }

    #protectapeel .spr-showcase-visual img,
    #carbon-glass .spr-showcase-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #protectapeel .spr-showcase-copy,
    #carbon-glass .spr-showcase-copy {
        display: flex;
        flex-direction: column;
    }

    #protectapeel .spr-showcase-actions,
    #carbon-glass .spr-showcase-actions {
        margin-top: auto;
    }
}
/* Корректное позиционирование при переходе по якорям из главного меню */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

#protectapeel,
#carbon-glass,
#thermo-pad,
#spr-urban-infrastructure {
    scroll-margin-top: 105px;
}

/* Когда мы авторизованы и сверху есть панель WordPress */
body.admin-bar {
    scroll-padding-top: 137px;
}

body.admin-bar #protectapeel,
body.admin-bar #carbon-glass,
body.admin-bar #thermo-pad,
body.admin-bar #spr-urban-infrastructure {
    scroll-margin-top: 137px;
}
/* =========================================
   Общий масштаб сайта — desktop 80%
   ========================================= */

@media screen and (min-width: 1200px) {
    html {
        zoom: 0.80;
    }
}
/* =========================================================
   Компактный блок "Получить предложение"
   ========================================================= */

@media (min-width: 1000px) {

    .spr-proposal-section {
        padding-bottom: 34px;
    }

    .spr-proposal-inner {
        padding: 22px 26px !important;
    }

    .spr-proposal-inner .spr-contact-wrap {
        grid-template-columns: 0.78fr 1.22fr !important;
        gap: 32px !important;
        align-items: center !important;
    }

    /* Левая часть */
    .spr-proposal-inner .spr-contact-copy {
        padding-top: 0 !important;
    }

    .spr-proposal-inner .spr-kicker {
        margin-bottom: 8px !important;
        font-size: 12px;
    }

    .spr-proposal-inner h2 {
        margin-bottom: 8px !important;
        font-size: 38px;
        line-height: 1;
    }

    .spr-proposal-inner .spr-section-intro {
        max-width: 440px;
        font-size: 15px;
        line-height: 1.45;
    }

    /* Телефон + email в одну строку */
    .spr-proposal-contacts {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        max-width: 520px;
        margin-top: 16px;
    }

    .spr-proposal-contact {
        padding: 10px 13px;
    }

    .spr-proposal-contact span {
        font-size: 10px;
    }

    .spr-proposal-contact strong {
        font-size: 15px;
    }

    /* Правая часть — форма */
    .spr-proposal-inner .spr-contact-card {
        padding: 18px 20px !important;
        border-radius: 20px;
    }

    .spr-proposal-inner .spr-form-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px 12px !important;
    }

    .spr-proposal-inner .spr-field {
        gap: 4px;
    }

    .spr-proposal-inner .spr-field label {
        font-size: 12px;
    }

    .spr-proposal-inner .spr-field input,
    .spr-proposal-inner .spr-field select {
        min-height: 40px !important;
        padding: 7px 10px !important;
        font-size: 13px;
    }

    /* Телефон и направление рядом */
    .spr-proposal-inner .spr-form-grid > .spr-field:nth-child(4),
    .spr-proposal-inner .spr-form-grid > .spr-field:nth-child(5) {
        grid-column: auto !important;
    }

    /* Описание на всю ширину, но ниже */
    .spr-proposal-inner .spr-form-grid > .spr-field:nth-child(6) {
        grid-column: 1 / -1 !important;
    }

    .spr-proposal-inner .spr-field textarea {
        min-height: 66px !important;
        height: 66px;
        padding: 8px 10px !important;
        font-size: 13px;
    }

    /* Файл и согласие рядом */
    .spr-proposal-inner .spr-form-grid > .spr-field:nth-child(7),
    .spr-proposal-inner .spr-form-grid > .spr-field:nth-child(8) {
        grid-column: auto !important;
    }

    .spr-proposal-inner .spr-file-note {
        font-size: 10px;
        line-height: 1.25;
    }

    .spr-proposal-inner .spr-consent {
        gap: 7px !important;
        font-size: 10px;
        line-height: 1.3;
        align-items: center;
    }

    .spr-proposal-inner .spr-consent input {
        width: 15px;
        min-height: 15px !important;
        height: 15px;
        flex: 0 0 15px;
        margin: 0;
    }

    /* Кнопка */
    .spr-proposal-inner .spr-form-grid > .spr-field:last-child {
        grid-column: 1 / -1 !important;
    }

    .spr-proposal-inner .spr-button {
        min-height: 42px !important;
        font-size: 14px;
        border-radius: 11px;
    }
}
/* === Компактные расстояния между блоками главной === */

@media (min-width: 1200px) {

    /* После последнего продуктового блока Thermo Pad */
    .spr-showcase:last-child {
        margin-bottom: 14px !important;
    }

    .spr-showcases {
        padding-bottom: 12px !important;
    }

    /* Между "Отрасли применения" и "Почему с нами выгодно работать" */
    .spr-info-section {
        margin-bottom: 12px !important;
    }

    /* После группы информационных блоков */
    .spr-home-info-groups {
        padding-bottom: 12px !important;
    }
}