/* Доставим — интернет-магазин сухофруктов (фото: только сухофрукты и финики) */

:root {
  --bg: #fdfbf7;
  --bg-section: #faf6ef;
  --text: #3a3228;
  --text-muted: #6d6458;
  --accent: #c62828;
  --accent-hover: #b71c1c;
  --accent-soft: rgba(198, 40, 40, 0.12);
  /* третий цвет палитры — чёрный (акценты, опт, линии) */
  --ink: #0a0a0a;
  --ink-hover: #242424;
  --ink-soft: rgba(0, 0, 0, 0.08);
  --line: rgba(0, 0, 0, 0.12);
  --footer-bg: #2a241e;
  --footer-text: rgba(255, 255, 250, 0.92);
  --footer-muted: rgba(232, 227, 218, 0.65);
  --radius: 12px;
  --radius-pill: 999px;
  --container: 1200px;
  --header-h: 76px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.spo-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header ----- */
.spo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(58, 50, 40, 0.05);
}

.spo-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  flex-wrap: nowrap;
}

.spo-header__menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
  min-width: 0;
}

.spo-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.15;
}

.spo-logo__name {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.spo-logo__sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spo-logo:hover .spo-logo__name {
  color: var(--accent);
}

.spo-logo:hover .spo-logo__sub {
  color: var(--ink);
}

.spo-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 28px);
  flex: 1;
  flex-wrap: wrap;
}

.spo-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.spo-nav a:hover,
.spo-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--ink);
}

.spo-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Гамбургер (только мобильная вёрстка) */
.spo-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.spo-nav-toggle:hover {
  background: var(--ink-soft);
}

.spo-nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.spo-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.25s ease;
  transform-origin: center;
}

.spo-nav-toggle.is-open .spo-nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.spo-nav-toggle.is-open .spo-nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.spo-nav-toggle.is-open .spo-nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.spo-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(26, 22, 18, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.spo-header.is-nav-open .spo-nav-backdrop {
  opacity: 1;
  visibility: visible;
}


.spo-phone {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.spo-phone:hover {
  color: var(--accent);
}

.spo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.15s, color 0.2s;
  box-shadow: 0 2px 12px rgba(58, 50, 40, 0.08);
}

.spo-btn--primary {
  background: var(--accent);
  color: #fffaf8;
  border: 1px solid transparent;
}

.spo-btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(198, 40, 40, 0.25);
}

.spo-btn--primary:active {
  transform: translateY(1px);
}

.spo-btn--outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.spo-btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

.spo-btn--ghost {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  padding: 10px 0;
  border-radius: var(--radius);
  border-bottom: 2px solid var(--accent);
}

.spo-btn--ghost:hover {
  color: var(--accent-hover);
}

.spo-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

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

main {
  min-height: 40vh;
}

/* ----- Split hero ----- */
.spo-hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 760px);
  margin: 0;
  padding: 0;
  width: 100%;
}

.spo-hero__panel--copy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  background: linear-gradient(165deg, #fffef9 0%, var(--bg) 55%, #f5efe6 100%);
  position: relative;
}

.spo-hero__panel--copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.spo-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 28rem;
}

.spo-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}

.spo-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  color: var(--text);
  margin: 0 0 0.5em;
  max-width: 14ch;
}

.spo-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 34ch;
  margin: 0 0 1.85rem;
  line-height: 1.55;
}

.spo-hero__panel--visual {
  position: relative;
  min-height: 320px;
  background-color: #2a2218;
  background-image: url("../../img/FruitHeroImage.png");
  background-position: center;
  background-size: cover;
}

.spo-hero__panel--visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(253, 251, 247, 0.25) 0%,
    rgba(253, 251, 247, 0) 40%,
    rgba(58, 48, 40, 0.08) 100%
  );
  pointer-events: none;
}

/* ----- Sections ----- */
.spo-section {
  padding: 80px 0;
}

.spo-section--muted {
  background: var(--bg-section);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.spo-section__title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  text-align: center;
  margin-bottom: 12px;
}

.spo-section__lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

.spo-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.spo-card {
  background: #fffef9;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(58, 50, 40, 0.06);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  transition: box-shadow 0.25s, transform 0.2s;
}

.spo-section--muted .spo-card {
  background: #fffef9;
}

.spo-card:hover {
  box-shadow: 0 12px 40px rgba(58, 50, 40, 0.1);
  transform: translateY(-3px);
}

.spo-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  color: var(--ink);
  background: var(--ink-soft);
  border-radius: 14px;
}

.spo-card__icon svg {
  width: 28px;
  height: 28px;
}

.spo-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

.spo-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.spo-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.spo-about__text h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 0.5em;
}

.spo-about__text p {
  color: var(--text-muted);
}

.spo-about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(58, 50, 40, 0.12);
  min-height: 280px;
  border: 1px solid var(--line);
  background: var(--bg-section)
    url("../../img/FruitHeroImage.png") 72% 42% / cover no-repeat;
}

.spo-cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #8b1f1f 100%);
  color: #fffaf8;
  padding: 52px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 12px 40px rgba(198, 40, 40, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spo-cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 0.35em;
}

.spo-cta-band p {
  margin-bottom: 1.35rem;
  opacity: 0.95;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.spo-cta-band .spo-btn {
  background: #fffef9;
  color: var(--accent);
}

.spo-cta-band .spo-btn:hover {
  background: var(--bg);
  color: var(--accent-hover);
}

/* ----- Catalog ----- */
.spo-catalog-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.spo-catalog-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
}

.spo-catalog-intro p {
  color: var(--text-muted);
  margin: 0;
}

.spo-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spo-product-card {
  background: #fffef9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(58, 50, 40, 0.06);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}

.spo-product-card:hover {
  box-shadow: 0 12px 32px rgba(58, 50, 40, 0.1);
}

.spo-product-card__img {
  aspect-ratio: 4 / 3;
  background-color: #ffffff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Каталог: локальные фото из /img (порядок как в catalog.html) */
.spo-product-card__img--1 {
  background-image: url("../../img/kuraga.png");
}

.spo-product-card__img--2 {
  background-image: url("../../img/slivka.png");
}

.spo-product-card__img--3 {
  background-image: url("../../img/finiki.png");
}

.spo-product-card__img--4 {
  background-image: url("../../img/izume.png");
}

.spo-product-card__img--5 {
  background-image: url("../../img/enzhir.png");
}

.spo-product-card__img--6 {
  background-image: url("../../img/mango.png");
}

.spo-product-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.spo-product-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35em;
}

.spo-product-card__body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 12px;
}

.spo-product-meta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.spo-download-block {
  margin-top: 56px;
  padding: 44px 28px;
  background: #fffef9;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 12px rgba(58, 50, 40, 0.06);
  border: 1px solid var(--line);
}

.spo-download-block h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.35em;
}

.spo-download-block p {
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

/* ----- Contacts ----- */
.spo-page-title {
  padding-top: 36px;
  padding-bottom: 8px;
}

.spo-page-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
}

.spo-page-title p {
  color: var(--text-muted);
  margin: 0;
}

.spo-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.spo-info-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1em;
}

.spo-info-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.spo-info-list li {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.spo-info-list strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.spo-info-list a {
  color: var(--accent);
  font-weight: 600;
}

.spo-info-list a:hover {
  color: var(--accent-hover);
}

.spo-map {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(165deg, #e8e2d8 0%, #d4ccc0 100%);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
}

.spo-form {
  background: #fffef9;
  padding: 30px 26px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(58, 50, 40, 0.06);
  border: 1px solid var(--line);
}

.spo-form h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1em;
}

.spo-field {
  margin-bottom: 16px;
}

.spo-field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: var(--text);
}

.spo-field input,
.spo-field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffef9;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.spo-field input:focus,
.spo-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.spo-field textarea {
  min-height: 120px;
  resize: vertical;
}

.spo-form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.spo-trust {
  margin-top: 48px;
  padding: 30px 24px;
  background: var(--bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.spo-trust h2 {
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
}

.spo-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
}

.spo-trust-item svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: var(--ink);
}

.spo-trust-item span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

/* ----- Footer ----- */
.spo-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 0 30px;
  margin-top: 0;
}

.spo-footer a {
  color: var(--footer-muted);
  transition: color 0.2s;
}

.spo-footer a:hover {
  color: #fffef9;
}

.spo-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.spo-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fffef9;
}

.spo-footer__address {
  color: var(--footer-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.spo-footer h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.spo-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.spo-footer__links li {
  margin-bottom: 8px;
}

.spo-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.spo-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 250, 0.08);
  color: var(--footer-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.spo-social a:hover {
  background: var(--accent);
  color: #fffef9;
}

.spo-footer__bottom {
  border-top: 1px solid rgba(255, 255, 250, 0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--footer-muted);
  text-align: center;
}

/* ----- B2B accent strip (главная) ----- */
.spo-b2b-strip {
  background: linear-gradient(135deg, #1f1f1f 0%, #0f0f0f 50%, #000000 100%);
  color: #f5f2ea;
  padding: 28px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.spo-b2b-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.spo-b2b-strip__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 227, 218, 0.75);
  margin: 0 0 8px;
}

.spo-b2b-strip__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #fffef9;
  margin: 0 0 8px;
}

.spo-b2b-strip__text {
  margin: 0;
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(245, 242, 234, 0.88);
}

.spo-b2b-strip .spo-btn--primary {
  flex-shrink: 0;
  background: #fffef9;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.spo-b2b-strip .spo-btn--primary:hover {
  background: var(--bg);
  color: var(--ink);
}

/* Кнопка «Опт» в шапке */
.spo-btn--b2b {
  background: var(--ink);
  color: #fffef9;
  border: 1px solid var(--ink);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.spo-btn--b2b:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
  color: #fffef9;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

/* Плавающая кнопка опта */
.spo-opt-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fffef9;
  background: linear-gradient(145deg, #2a2a2a 0%, var(--ink) 100%);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(42, 36, 30, 0.35), 0 2px 0 rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.2s, box-shadow 0.2s;
}

.spo-opt-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 36, 30, 0.4);
}

.spo-opt-fab:active {
  transform: translateY(0);
}

.spo-opt-fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 250, 0.15);
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}

/* Модальное окно опта */
.spo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.spo-modal.is-open {
  display: flex;
}

.spo-modal[aria-hidden="true"] {
  pointer-events: none;
}

.spo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 18, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.spo-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  margin: auto;
  padding: 28px 24px 22px;
  background: #fffef9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(58, 50, 40, 0.22);
}

.spo-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.spo-modal__close:hover {
  color: var(--text);
  background: var(--bg-section);
}

.spo-modal__dialog h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  padding-right: 36px;
  margin-bottom: 0.5em;
}

.spo-modal__dialog > p:first-of-type {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.spo-modal__actions {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spo-modal__actions .spo-btn {
  width: 100%;
  justify-content: center;
}

.spo-modal__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
  .spo-hero--split {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .spo-hero__panel--visual {
    order: -1;
    min-height: min(44vh, 380px);
  }

  .spo-hero__panel--copy {
    padding: clamp(32px, 5vw, 48px) 20px 48px;
  }

  .spo-section {
    padding: 56px 0;
  }

  .spo-benefits {
    grid-template-columns: 1fr;
  }

  .spo-about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .spo-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .spo-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spo-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .spo-cta-band {
    padding: 40px 22px;
  }
}

/* Мобильное меню + плотная вёрстка */
@media (max-width: 900px) {
  .spo-logo {
    max-width: calc(100% - 56px);
    min-width: 0;
  }

  .spo-nav-toggle {
    display: flex;
  }

  .spo-header__menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(360px, 100%);
    max-width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 20px 28px;
    margin: 0;
    background: rgba(253, 251, 247, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
  }

  .spo-header.is-nav-open .spo-header__menu {
    transform: translateX(0);
  }

  .spo-nav {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }

  .spo-nav a {
    padding: 1rem 4px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .spo-nav a:last-child {
    border-bottom: none;
  }

  .spo-header__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
    padding-top: 8px;
  }

  .spo-header__actions .spo-phone {
    text-align: center;
    padding: 10px 8px;
    font-size: 1rem;
  }

  .spo-header__actions .spo-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

@media (max-width: 768px) {
  .spo-container {
    padding: 0 16px;
  }

  .spo-page-title {
    padding-top: 24px;
  }

  .spo-product-grid {
    grid-template-columns: 1fr;
  }

  .spo-footer__grid {
    grid-template-columns: 1fr;
  }

  .spo-b2b-strip {
    padding: 22px 0;
  }

  .spo-b2b-strip__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .spo-b2b-strip .spo-btn--primary {
    width: 100%;
    justify-content: center;
  }

  .spo-opt-fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 12px 16px;
    font-size: 0.82rem;
  }

  .spo-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .spo-modal__dialog {
    max-height: 85dvh;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .spo-download-block {
    padding: 32px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spo-header__menu,
  .spo-nav-backdrop,
  .spo-nav-toggle__bar {
    transition-duration: 0.01ms !important;
  }
}
