* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #1a0f12;
  color: #f5e6e9;
  line-height: 1.72;
}
a { color: #f0b48a; }
img { max-width: 100%; height: auto; display: block; }

.pfo-bar {
  background: linear-gradient(135deg, #2a1219, #3d1824);
  border-bottom: 1px solid #5c2a38;
  position: sticky;
  top: 0;
  z-index: 50;
}
.pfo-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
}
.pfo-logo { font-weight: 800; font-size: 18px; color: #fff5f7; flex-shrink: 0; }
.pfo-logo span { color: #e8a87c; }
.pfo-logo a { color: inherit; text-decoration: none; }
.pfo-nav-desktop,
.pfo-nav.pfo-nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  padding: 0 16px 12px;
}
.pfo-nav-desktop a,
.pfo-nav.pfo-nav-desktop a {
  color: #c9a0aa;
  text-decoration: none;
  font-weight: 600;
}
.pfo-nav-desktop a:hover { color: #fff; }
.pfo-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #6b3a48;
  border-radius: 8px;
  background: #1a0f12;
  cursor: pointer;
}
.pfo-menu-btn span {
  display: block;
  height: 2px;
  background: #f5e6e9;
  border-radius: 1px;
}
.pfo-mobile-menu {
  display: none;
  border-top: 1px solid #5c2a38;
  background: #2a1219;
}
.pfo-mobile-menu.is-open { display: block; }
.pfo-mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 8px 12px 12px;
}
.pfo-mobile-menu a {
  display: block;
  padding: 14px 12px;
  color: #f5e6e9;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}
.pfo-mobile-menu a:first-child {
  background: #a63d52;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}
.pfo-btn-header { flex-shrink: 0; white-space: nowrap; }
.pfo-btn {
  display: inline-block;
  background: linear-gradient(135deg, #c45c6a, #a63d52);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.pfo-btn:hover { filter: brightness(1.08); }
.pfo-btn:disabled { opacity: 0.6; cursor: wait; }
.pfo-btn-gold {
  background: linear-gradient(135deg, #e8a87c, #d4895a) !important;
  color: #2a1219 !important;
  font-size: 15px !important;
  padding: 14px 20px !important;
  box-shadow: 0 4px 14px rgba(232, 168, 124, 0.3);
  white-space: nowrap;
}

/* Hero L1: центр + форма-полоска */
.pfo-hero {
  background: linear-gradient(160deg, #120a0d, #2a1219 60%, #1a0f12);
  padding: 48px 20px 40px;
  border-bottom: 1px solid #5c2a38;
}
.pfo-hero-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pfo-kicker {
  font-size: 14px;
  font-weight: 700;
  color: #e8a87c;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.pfo-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 42px);
  color: #fff5f7;
  line-height: 1.12;
}
.pfo-lead { color: #c9a0aa; font-size: 17px; margin: 0 0 16px; }
.pfo-lead-center { max-width: 640px; margin-left: auto; margin-right: auto; }

.pfo-form-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  max-width: 720px;
  margin: 28px auto 12px;
  padding: 14px;
  background: rgba(42, 18, 25, 0.9);
  border: 1px solid #6b3a48;
  border-radius: 12px;
}
.pfo-form-strip input {
  padding: 14px 12px;
  border-radius: 8px;
  border: 1px solid #5c2a38;
  background: #1a0f12;
  color: #fff5f7;
  font-size: 16px;
  min-height: 48px;
  width: 100%;
}
.pfo-form-strip input:focus {
  outline: 2px solid #e8a87c;
  border-color: transparent;
}
.pfo-form-strip .pfo-btn { margin: 0; height: 100%; min-height: 48px; }
.pfo-sr { display: block; margin: 0; }
.pfo-fine {
  font-size: 13px;
  color: #8a6a74;
  margin: 0;
}
.pfo-fine a { color: #c9a0aa; }

.pfo-wrap { max-width: 920px; margin: 0 auto; padding: 32px 20px 64px; }
.pfo-sub { max-width: 920px; margin: 0 auto; padding: 28px 22px 64px; }

/* Таймлайн вместо карточек «после заявки» */
.pfo-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
}
.pfo-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #5c2a38;
  z-index: 0;
}
.pfo-tl-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.pfo-tl-item span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #a63d52;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  border: 3px solid #1a0f12;
}
.pfo-tl-item p {
  margin: 0;
  font-size: 13px;
  color: #c9a0aa;
  line-height: 1.4;
}
.pfo-tl-item b {
  display: block;
  color: #fff5f7;
  font-size: 14px;
  margin-bottom: 2px;
}

.pfo-card {
  background: #2a1219;
  border: 1px solid #5c2a38;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}
.pfo-card h2 { margin: 0 0 12px; font-size: 22px; color: #fff5f7; }
.pfo-card p { color: #d4b8c0; margin: 0 0 12px; }
.pfo-card ol, .pfo-card ul { color: #c9a0aa; padding-left: 20px; }
.pfo-card li { margin-bottom: 8px; }
.pfo-price-inline { margin-top: 16px !important; font-size: 15px; }
.pfo-price-inline strong { color: #e8a87c; }

/* Подходит / не подходит */
.pfo-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.pfo-fit-yes,
.pfo-fit-no {
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #5c2a38;
}
.pfo-fit-yes {
  background: linear-gradient(145deg, #1f2a1a, #2a1219);
  border-color: #4a6b3a;
}
.pfo-fit-no {
  background: #1a0f12;
}
.pfo-fit h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #fff5f7;
}
.pfo-fit-yes h2 { color: #b8d4a8; }
.pfo-fit-no h2 { color: #c9a0aa; }
.pfo-fit ul { margin: 0; padding-left: 18px; color: #c9a0aa; font-size: 0.95rem; }
.pfo-fit li { margin-bottom: 6px; }

.pfo-link-btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #e8a87c;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #e8a87c !important;
}
.pfo-link-btn:hover { background: rgba(232, 168, 124, 0.1); }

.pfo-faq details {
  background: #1a0f12;
  border: 1px solid #5c2a38;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.pfo-faq summary { cursor: pointer; font-weight: 600; color: #fff5f7; }
.pfo-faq p { margin: 10px 0 0; color: #c9a0aa; font-size: 0.95rem; }

.pfo-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.pfo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #d4b8c0; }
.pfo-form input,
.pfo-form textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #6b3a48;
  background: #1a0f12;
  color: #fff5f7;
  font-size: 16px;
  width: 100%;
  min-height: 48px;
}
.pfo-form textarea { min-height: 96px; resize: vertical; }
.pfo-form input:focus,
.pfo-form textarea:focus {
  outline: 2px solid #e8a87c;
  border-color: transparent;
}
.pfo-form-note { font-size: 13px; color: #8a6a74; margin: 0; }

.pfo-map-list { list-style: none; padding: 0; margin: 20px 0; }
.pfo-map-list li { padding: 12px 0; border-bottom: 1px solid #5c2a38; }
.pfo-map-list a { font-weight: 600; }

.pfo-cta-inline {
  border-color: #e8a87c !important;
  background: linear-gradient(135deg, #2a1219, #3d1824);
}
.pfo-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #f0d4c4;
  background: rgba(232, 168, 124, 0.12);
  border: 1px solid rgba(232, 168, 124, 0.35);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.pfo-sub .pfo-hero { margin-bottom: 20px; }

.pfo-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: #2a1219;
  border-top: 2px solid #e8a87c;
  z-index: 60;
}
.pfo-sticky a {
  display: block;
  text-align: center;
  background: #e8a87c;
  color: #2a1219 !important;
  padding: 14px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.pfo-foot {
  text-align: center;
  padding: 22px;
  font-size: 13px;
  color: #8a6a74;
  border-top: 1px solid #5c2a38;
}

.pfo-toast {
  position: fixed;
  bottom: 24px;
  left: 16px;
  right: 16px;
  max-width: 400px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  color: #fff;
}
.pfo-toast--ok { background: #a63d52; }
.pfo-toast--err { background: #8b2e2e; }

@media (max-width: 768px) {
  .pfo-form-strip {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .pfo-form-strip .pfo-btn { width: 100%; }
  .pfo-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pfo-timeline::before { display: none; }
  .pfo-fit { grid-template-columns: 1fr; }
  .pfo-nav-desktop { display: none; }
  .pfo-menu-btn { display: flex; }
  .pfo-btn-header { display: none; }
  .pfo-sticky { display: block; }
  .pfo-wrap { padding: 24px 16px 72px; }
  .pfo-sub { padding: 20px 16px 48px; }
  .pfo-card { padding: 18px 16px; }
  .pfo-hero { padding: 32px 16px 28px; }
  .pfo-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { transition: none !important; }
  html { scroll-behavior: auto; }
}
