/* ProfMastera — Shared Landing CSS
 * Single source of truth for static HTML pages.
 * Mirrors React/Tailwind design system from frontend/src/index.css and components.
 *
 * Used on:
 *   /services/zasor/, /services/smesitel/, /services/unitaz/,
 *   /services/boyler/, /services/avariya/ (red theme via .hero--red),
 *   /price/, /reviews/
 *
 * To use:
 *   <link rel="stylesheet" href="/styles/landing.css" />
 *   For avariya page add <body class="theme-red">
 */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11','ss01';
  color: #0F172A;
  background: #F4FAF6;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0C9633; text-decoration: none; }
a:hover { color: #075820; }

/* ---------- Layout containers ---------- */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px 64px; }
.section-gap { margin-top: 36px; }

h1 { font-size: 38px; font-weight: 800; line-height: 1.15; margin: 0 0 14px; color: #074B1B; letter-spacing: -0.02em; }
h2 { font-size: 28px; font-weight: 800; margin: 36px 0 16px; color: #075820; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 700; margin: 18px 0 10px; color: #075820; }
p, li { font-size: 16px; color: #1F2937; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid #E5EFE9;
  padding: 10px 20px;
  margin-bottom: 18px;
}
.site-header .header-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-header .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-header .brand img { height: 44px; width: auto; }
.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FD7602 0%, #FF9333 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(253, 118, 2, 0.25);
  transition: transform 0.15s, box-shadow 0.25s;
}
.site-header .header-cta:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(253, 118, 2, 0.35);
}
.site-header .header-cta svg { width: 16px; height: 16px; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 13px; color: #64748B; margin: 0 0 18px; }
.crumbs a { color: #64748B; }
.crumbs a:hover { color: #0C9633; }
.crumbs .sep { margin: 0 6px; opacity: 0.5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 44px 36px;
  margin: 4px 0 28px;
  color: #FFFFFF;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(12, 150, 51, 0.18), transparent),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(35, 177, 74, 0.10), transparent),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(12, 150, 51, 0.06), transparent),
    linear-gradient(180deg, #04270F 0%, #075820 50%, #0E5025 100%);
  box-shadow: 0 12px 40px rgba(4, 39, 15, 0.18);
}
.hero h1 { color: #FFFFFF; margin: 0 0 14px; }
.hero .accent { color: #FF9333; }
.hero .lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
  max-width: 620px;
}
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero .badge {
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 600;
}

/* Avariya red theme */
.theme-red .hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(199, 62, 29, 0.22), transparent),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(255, 99, 71, 0.10), transparent),
    linear-gradient(180deg, #3C0F08 0%, #7A2017 50%, #9C2A1F 100%);
  box-shadow: 0 12px 40px rgba(60, 15, 8, 0.20);
}
.theme-red .hero .accent { color: #FFB89C; }
.theme-red h2 { color: #7A2017; }
.theme-red h3 { color: #7A2017; }
.theme-red .step-num { background: linear-gradient(135deg, #C73E1D, #FF6347); box-shadow: 0 4px 12px rgba(199, 62, 29, 0.30); }
.theme-red .footer-cta {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(199, 62, 29, 0.20), transparent),
    linear-gradient(135deg, #3C0F08 0%, #7A2017 100%);
}

/* ---------- Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta-row--center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.25s, background 0.3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-orange {
  background: linear-gradient(135deg, #FD7602 0%, #FF9333 100%);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(253, 118, 2, 0.30), 0 4px 12px rgba(253, 118, 2, 0.20);
  animation: ctaPulse 2s ease-in-out infinite;
}
.btn-orange:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(253, 118, 2, 0.40), 0 6px 20px rgba(253, 118, 2, 0.30);
}

.btn-wa {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}
.btn-wa:hover {
  color: #FFFFFF;
  background: #1FAE54;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
}

.btn-green {
  background: #0C9633;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(12, 150, 51, 0.25);
}
.btn-green:hover {
  color: #FFFFFF;
  background: #0A7A29;
  transform: translateY(-2px);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(253, 118, 2, 0.30), 0 4px 12px rgba(253, 118, 2, 0.20), 0 0 0 0 rgba(253, 118, 2, 0.50); }
  50%      { box-shadow: 0 0 20px rgba(253, 118, 2, 0.30), 0 4px 12px rgba(253, 118, 2, 0.20), 0 0 0 12px rgba(253, 118, 2, 0); }
}

/* ---------- Trust strip (under hero) ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.06);
  padding: 22px 16px;
  margin: -32px auto 32px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.trust-strip .stat {
  text-align: center;
  border-right: 1px solid rgba(197, 222, 201, 0.6);
  padding: 4px 8px;
}
.trust-strip .stat:last-child { border-right: none; }
.trust-strip .stat .value {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #0C9633, #23B14A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1.1;
}
.trust-strip .stat .label {
  font-size: 12px;
  color: #475569;
  font-weight: 500;
  margin-top: 6px;
  display: block;
}

/* ---------- Cards (premium shadow) ---------- */
.card {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 14px 0;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

/* ---------- Pain list (when to call us) ---------- */
.pain-list { list-style: none; padding: 0; margin: 18px 0; }
.pain-list li {
  padding: 12px 12px 12px 44px;
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 15px;
  color: #1F2937;
  line-height: 1.55;
}
.pain-list li::before {
  content: "!";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: #FD7602;
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-weight: 800;
  font-size: 13px;
}

/* ---------- Process steps ---------- */
.steps { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04);
}
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0C9633, #23B14A);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(12, 150, 51, 0.25);
}
.step-body strong { color: #074B1B; }
.step-body p { margin: 0; }

/* ---------- Price card ---------- */
.price-card {
  background: linear-gradient(135deg, #FFF7EE 0%, #FFEED9 100%);
  border: 1px solid #FCDBB1;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 14px 0;
}
.price-card .price-head { font-weight: 700; color: #075820; margin: 0 0 10px; }
.price-card ul { margin: 0; padding-left: 20px; }
.price-card li { color: #1F2937; margin-bottom: 8px; }
.price-card strong { color: #FD7602; font-size: 17px; }
.price-card .note { margin: 10px 0 0; font-size: 13px; color: #64748B; }

/* Standalone price grid (for /price/) */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.price-grid .price-card { margin: 0; }

/* ---------- FAQ ---------- */
.faq { margin: 18px 0; }
.faq-item {
  background: #FFFFFF;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item[open] {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 18px rgba(12, 150, 51, 0.10);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: #075820;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: #0C9633;
  font-weight: 400;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EBF5EE;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.faq-item[open] summary { color: #0C9633; }
.faq-item[open] summary::after { content: '−'; background: #0C9633; color: #FFFFFF; }
.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
}
.faq-item .faq-answer p:first-child { margin-top: 0; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.review {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px 26px;
  margin: 14px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}
.review .stars {
  color: #F59E0B;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review .service-tag {
  display: inline-block;
  background: rgba(12, 150, 51, 0.10);
  color: #0C9633;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.review .text {
  color: #1F2937;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
  font-style: italic;
}
.review .meta { display: flex; align-items: center; gap: 12px; }
.review .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0C9633, #23B14A);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review .meta-info { font-size: 14px; }
.review .meta-info .name { font-weight: 700; color: #075820; }
.review .meta-info .detail { color: #475569; font-size: 13px; display: block; }

/* ---------- Cross-links (other services) ---------- */
.other-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.other-card {
  background: #FFFFFF;
  border: 1px solid #E5EFE9;
  border-radius: 12px;
  padding: 16px 18px;
  display: block;
  color: #075820;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.other-card:hover {
  color: #0C9633;
  border-color: #0C9633;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(12, 150, 51, 0.12);
}
.other-card .arrow { color: #FD7602; margin-right: 4px; }

/* ---------- Alert card (for avariya emergency) ---------- */
.alert-card {
  background: linear-gradient(135deg, #FFE5DF 0%, #FFD0C5 100%);
  border: 1px solid #F5A795;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 18px 0;
}
.alert-card h3 { color: #7A2017; margin: 0 0 8px; }
.alert-card p { color: #3C0F08; margin: 0; }

/* ---------- Footer-CTA (dark gradient block before site footer) ---------- */
.footer-cta {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(12, 150, 51, 0.20), transparent),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(35, 177, 74, 0.10), transparent),
    linear-gradient(135deg, #04270F 0%, #074B1B 100%);
  color: #FFFFFF;
  border-radius: 22px;
  padding: 40px 36px;
  text-align: center;
  margin: 32px 0 24px;
  box-shadow: 0 12px 40px rgba(4, 39, 15, 0.18);
}
.footer-cta h2 { color: #FFFFFF; font-size: 28px; margin: 0 0 10px; font-weight: 800; }
.footer-cta p { color: rgba(255, 255, 255, 0.88); margin: 0 0 22px; font-size: 16px; }

/* ---------- Site footer (4 columns) ---------- */
.site-footer {
  background: linear-gradient(180deg, #04270F 0%, #074B1B 100%);
  color: #94A3B8;
  padding: 48px 28px 28px;
  margin-top: 32px;
  border-radius: 22px 22px 0 0;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}
.site-footer .brand-block img.logo { height: 48px; width: auto; margin-bottom: 12px; }
.site-footer .brand-block p { color: #94A3B8; font-size: 14px; margin: 0; line-height: 1.55; }
.site-footer h4 {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.site-footer .col-links { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #94A3B8; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #FFFFFF; }
.site-footer .pay-list { display: flex; flex-direction: column; gap: 10px; }
.site-footer .pay-list .row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #94A3B8; }
.site-footer .pay-list .row svg { width: 14px; height: 14px; flex-shrink: 0; }
.site-footer .install-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #FF9333;
  background: linear-gradient(to right, rgba(253, 118, 2, 0.20), rgba(255, 147, 51, 0.20));
  border: 1px solid rgba(253, 118, 2, 0.30);
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
}
.site-footer .footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #64748B;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.site-footer .footer-bottom .legal-links { display: flex; gap: 14px; }
.site-footer .footer-bottom .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748B;
  font-size: 12px;
}
.site-footer .footer-bottom .author img { width: 22px; height: 22px; border-radius: 4px; }

/* ---------- Floating FAB (phone + WhatsApp) ---------- */
.floating-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}
.fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.2s;
}
.fab svg { width: 26px; height: 26px; }
.fab:hover { transform: scale(1.08); color: #FFFFFF; }
.fab-phone {
  background: #FD7602;
  animation: heartbeatAccent 1.8s ease-in-out infinite;
}
.fab-wa {
  background: #25D366;
  animation: heartbeatGreen 1.8s ease-in-out infinite 0.3s;
}
@keyframes heartbeatAccent {
  0%, 28%, 56%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(253, 118, 2, 0.30), 0 0 0 0 rgba(253, 118, 2, 0); }
  14% { transform: scale(1.08); box-shadow: 0 4px 16px rgba(253, 118, 2, 0.30), 0 0 0 8px rgba(253, 118, 2, 0.18); }
  42% { transform: scale(1.05); box-shadow: 0 4px 16px rgba(253, 118, 2, 0.30), 0 0 0 4px rgba(253, 118, 2, 0.10); }
}
@keyframes heartbeatGreen {
  0%, 28%, 56%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30), 0 0 0 0 rgba(37, 211, 102, 0); }
  14% { transform: scale(1.08); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30), 0 0 0 8px rgba(37, 211, 102, 0.18); }
  42% { transform: scale(1.05); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30), 0 0 0 4px rgba(37, 211, 102, 0.10); }
}

/* ---------- Payment grid (for /price/ page) ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.pay-card {
  background: #FFFFFF;
  border: 1px solid #E5EFE9;
  border-radius: 12px;
  padding: 16px 18px;
  text-align: center;
  font-weight: 600;
  color: #075820;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ---------- Platforms grid (for /reviews/ page) ---------- */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.platform-card {
  background: #FFFFFF;
  border: 1px solid #E5EFE9;
  border-radius: 12px;
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.platform-card .name { font-weight: 700; color: #075820; font-size: 15px; }
.platform-card .status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  background: #F1F5F2;
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px 56px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .hero { padding: 28px 22px; border-radius: 18px; }
  .hero .lead { font-size: 16px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 10px 0; max-width: 100%; padding: 18px 12px; }
  .trust-strip .stat:nth-child(2) { border-right: none; }
  .trust-strip .stat .value { font-size: 22px; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; padding: 13px 18px; }
  .footer-cta { padding: 30px 22px; }
  .footer-cta h2 { font-size: 22px; }
  .floating-fab { bottom: 16px; right: 16px; }
  .fab { width: 52px; height: 52px; }
  .site-header .header-cta-text { display: none; }
  .site-header .header-cta { padding: 8px 12px; }
  .step { padding: 14px 16px; }
  .review { padding: 20px 22px; }
}
@media (max-width: 480px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn-orange { animation: none; }
  .fab-phone, .fab-wa { animation: none; }
  .fab-phone { box-shadow: 0 4px 16px rgba(253, 118, 2, 0.30); }
  .fab-wa { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30); }
  .card:hover, .step:hover, .other-card:hover, .review:hover { transform: none; }
}

/* ---------- Stats row (после hero) ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 36px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #FFF8F0 0%, #F0FAF3 100%);
  border: 1px solid rgba(253, 118, 2, 0.18);
  border-radius: 18px;
}
.stats-row .stat {
  text-align: center;
  position: relative;
}
.stats-row .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -8px; top: 12%; bottom: 12%;
  width: 1px;
  background: rgba(12, 150, 51, 0.18);
}
.stats-row .stat-value {
  font-size: 30px;
  font-weight: 800;
  color: #FD7602;
  line-height: 1;
  letter-spacing: -0.5px;
}
.stats-row .stat-label {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #4a5763;
  line-height: 1.3;
}
.theme-red .stats-row {
  background: linear-gradient(135deg, #FFF1ED 0%, #FFF8F0 100%);
  border-color: rgba(199, 62, 29, 0.20);
}
.theme-red .stats-row .stat-value { color: #C73E1D; }

/* ---------- Feature grid («Почему мы», 6 карточек) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 36px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(7, 75, 27, 0.07);
  border-color: rgba(12, 150, 51, 0.32);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FD7602 0%, #FF9933 100%);
  font-size: 24px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #074B1B;
  margin: 0 0 8px;
  line-height: 1.25;
}
.feature-card p {
  font-size: 14px;
  color: #4a5763;
  line-height: 1.55;
  margin: 0;
}
.theme-red .feature-icon {
  background: linear-gradient(135deg, #C73E1D 0%, #E85A36 100%);
}

/* ---------- Compare table (обычный сантехник vs ProfMastera) ---------- */
.compare-block {
  margin: 18px 0 36px;
  background: #fff;
  border: 1px solid #e7eaee;
  border-radius: 16px;
  overflow: hidden;
}
.compare-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-block thead th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  background: #F4F9F5;
  color: #074B1B;
}
.compare-block thead th:nth-child(2) {
  background: #FFF1E0;
  color: #5a3a0e;
}
.compare-block thead th:nth-child(3) {
  background: linear-gradient(135deg, #0C9633 0%, #0a7e2b 100%);
  color: #fff;
}
.compare-block td {
  padding: 14px 18px;
  border-top: 1px solid #eef0f3;
  vertical-align: top;
}
.compare-block tbody tr td:first-child {
  font-weight: 600;
  color: #074B1B;
  width: 32%;
}
.compare-block tbody tr td:nth-child(2) { color: #7a4a2a; }
.compare-block tbody tr td:nth-child(3) { color: #074B1B; font-weight: 500; }
.compare-block .mark-bad::before { content: '✕ '; color: #C73E1D; font-weight: 700; }
.compare-block .mark-good::before { content: '✓ '; color: #0C9633; font-weight: 700; }

/* ---------- Quote block (большая цитата мастера) ---------- */
.quote-block {
  margin: 28px 0;
  padding: 28px 28px 24px;
  background: linear-gradient(135deg, #074B1B 0%, #0C9633 100%);
  border-radius: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '“';
  position: absolute;
  top: -30px; left: 18px;
  font-size: 180px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.10);
  font-family: Georgia, serif;
}
.quote-block .quote-text {
  position: relative;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 16px;
}
.quote-block .quote-author {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.quote-block .quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.quote-block .quote-meta strong { display: block; font-weight: 700; }
.quote-block .quote-meta span { opacity: 0.78; font-size: 13px; }
.theme-red .quote-block {
  background: linear-gradient(135deg, #6b1c0a 0%, #C73E1D 100%);
}

/* ---------- Mid-CTA banner (между блоков) ---------- */
.mid-cta {
  margin: 30px 0;
  padding: 24px 26px;
  background: #FFF8F0;
  border: 2px solid #FD7602;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mid-cta .mid-cta-text {
  flex: 1 1 280px;
  min-width: 0;
}
.mid-cta .mid-cta-text strong {
  display: block;
  font-size: 19px;
  color: #074B1B;
  margin-bottom: 4px;
}
.mid-cta .mid-cta-text span {
  font-size: 14px;
  color: #4a5763;
}
.mid-cta .mid-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.theme-red .mid-cta {
  background: #FFF1ED;
  border-color: #C73E1D;
}

/* ---------- Trust strip (логотипы / иконки доверия) ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 32px;
  padding: 18px;
  background: #F4F9F5;
  border-radius: 14px;
  border: 1px solid #e0ece4;
}
.trust-item {
  text-align: center;
  font-size: 13px;
  color: #074B1B;
  font-weight: 500;
}
.trust-item .trust-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .stats-row .stat:nth-child(2)::after { display: none; }
  .stats-row .stat:not(:last-child)::after { display: none; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .compare-block { font-size: 13px; }
  .compare-block thead th, .compare-block td { padding: 12px 14px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
  .stats-row { padding: 18px 14px; gap: 14px 8px; }
  .stats-row .stat-value { font-size: 24px; }
  .stats-row .stat-label { font-size: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 18px 18px 16px; }
  .quote-block { padding: 22px 20px 20px; }
  .quote-block .quote-text { font-size: 16px; }
  .mid-cta { flex-direction: column; align-items: stretch; padding: 20px 18px; }
  .mid-cta .mid-cta-actions { width: 100%; }
  .mid-cta .mid-cta-actions .btn { flex: 1 1 auto; text-align: center; }
  .compare-block { overflow-x: auto; }
  .compare-block table { min-width: 520px; }
}
