/* === PHONEFIX SECTIONS === */

/* ─── HERO ─── */
.hero {
  min-height: 100vh; padding-top: 48px;
  background: var(--surface);
  position: relative; overflow: visible;
  display: flex; align-items: center;
  z-index: 2;
}
.hero-blob-1, .hero-blob-2 {
  display: none;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 80% 50%, #000 20%, transparent 100%);
  opacity: .3;
}

.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: var(--section-pad) 24px;
  display: grid; grid-template-columns: 1fr 480px;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: var(--bg); border: none;
  border-radius: 980px; font-size: 13px; font-weight: 500;
  color: var(--text-muted); margin-bottom: 28px;
  box-shadow: none;
}
.hero-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }

.hero-h1 {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text); margin-bottom: 24px;
  overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto;
  word-break: break-word;
}
.hero-h1 em { font-style: normal; color: var(--accent); }

.hero-lead { font-size: 18px; color: var(--text-muted); line-height: 1.75; max-width: 500px; margin-bottom: 40px; }

.hero-search {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 6px; display: flex; gap: 6px;
  align-items: center;
  margin-bottom: 36px;
  box-shadow: var(--sh-md);
}
.hs-select, .hs-input {
  flex: 1; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-xs); padding: 13px 16px;
  font: inherit; font-size: 15px; color: var(--text);
  outline: none; appearance: none; transition: border-color .2s;
}
.hs-select:focus, .hs-input:focus { border-color: var(--accent); background: var(--surface); }
.hs-select option { background: #fff; }
.hs-input::placeholder { color: var(--text-dim); }
.hs-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px; background: var(--accent); color: #fff;
  font-weight: 600; font-size: 15px; border: none; border-radius: var(--radius-xs);
  white-space: nowrap; transition: background .2s;
  flex-shrink: 0; box-shadow: none;
}
.hs-btn:hover { background: var(--accent-h); }

.hs-device-hint {
  display: flex; align-items: center; gap: 6px;
  margin: -20px 0 16px; font-size: 12px; color: var(--text-muted);
}
.hs-device-hint > span { white-space: nowrap; }
.hs-device-chip {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 980px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}
.hs-device-chip:hover { border-color: var(--accent); background: var(--accent-l); color: var(--accent); }

.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.h-trust-item { display: flex; flex-direction: column; }
.h-trust-num { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.h-trust-num span { color: var(--accent); }
.h-trust-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Hero visual */
.hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }

.phone-wrap {
  position: relative;
  animation: phoneFloat 4.5s ease-in-out infinite;
}
.phone-wrap:hover { animation-play-state: paused; }

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* Тень под телефоном */
.phone-shadow-cast {
  position: absolute;
  bottom: -28px; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 24px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.22) 0%, transparent 70%);
  border-radius: 50%;
  animation: phoneShadow 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes phoneShadow {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: .8; }
  50%       { transform: translateX(-50%) scaleX(.65); opacity: .35; }
}

.phone-frame {
  width: 240px; height: 480px;
  background: linear-gradient(150deg, #fff 0%, #F0F4FF 100%);
  border-radius: 44px; position: relative;
  box-shadow: 0 0 0 1.5px rgba(37,99,235,.15), 0 32px 80px rgba(15,23,42,.18), 0 8px 24px rgba(15,23,42,.1);
  overflow: visible;
}

.phone-frame::before {
  content: '';
  position: absolute; inset: 2px;
  background: linear-gradient(160deg, #fff 0%, #F5F7FF 100%);
  border-radius: 42px; z-index: 0;
}

/* ─── HERO LIVE ─── */
.hero-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-muted); margin-top: 20px;
}
.hero-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

/* ─── 6.10: HERO LIVE UNDER PHONE ─── */
.hero-live {
  text-align: center;
  margin-top: 16px;
  display: flex; align-items: flex-start; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  min-height: 34px;
}
.hero-live-dot { flex-shrink: 0; margin-top: 5px; }
.hero-live-text { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.hero-live-device { font-weight: 500; color: var(--text); }
.hero-live-time { font-size: 12px; color: var(--text-muted); }

/* ─── HERO SUGGESTIONS ─── */
.hs-suggestions {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-top: 4px;
  box-shadow: var(--sh-lg); z-index: 500;
  overflow: hidden;
}
.hs-suggestions.show { display: block; }
.hs-sug-item {
  display: block; padding: 12px 16px;
  font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.hs-sug-item:last-child { border-bottom: none; }
.hs-sug-item:hover { background: var(--bg); color: var(--accent); }
.hs-sug-item b { color: var(--accent); }

/* ─── HERO PROMO ─── */
.hero-promo {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--bg);
  border-radius: 980px;
  font-size: 14px; font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ─── FEATURES BAR (ex-ticker) ─── */
.features-bar {
  background: var(--bg); color: var(--text);
  padding: 0; position: relative; z-index: 1;
  box-shadow: none;
}
.features-bar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: stretch;
  overflow-x: auto; scrollbar-width: none;
}
.features-bar-inner::-webkit-scrollbar { display: none; }
.fb-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 28px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--text-2);
}
.fb-item:first-child { padding-left: 0; }
.fb-item:last-child { border-right: none; }
.fb-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent-l);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

/* ─── DEVICE CATEGORIES RIBBON ─── */
.dev-cat-section { padding: 0 0 8px; }
.dev-ribbon {
  display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap;
  padding: 4px 0;
}
.dev-cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 16px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  text-decoration: none; color: #1f2937;
  flex: 0 0 auto; min-width: 96px; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .22s;
}
.dev-cat:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: none;
}
.dev-cat-icon {
  width: 52px; height: 52px;
  background: #dbeafe;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #3b82f6;
  transition: background .2s;
}
.dev-cat:hover .dev-cat-icon { background: #bfdbfe; }
.dev-cat-name { font-size: 12px; font-weight: 600; line-height: 1.3; color: #1f2937; max-width: 80px; }
.dev-cat--accent .dev-cat-icon { background: rgba(16,185,129,.1); color: #10b981; }
.dev-cat--accent:hover .dev-cat-icon { background: rgba(16,185,129,.18); }
.dev-cat--accent:hover { border-color: #10b981; box-shadow: 0 6px 22px rgba(16,185,129,.15); }

/* ─── SERVICES RIBBON ─── */
.srv-section { padding-bottom: 48px; }
.srv-ribbon {
  display: flex; gap: 10px;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px 2px 12px; margin: 0 -2px;
}
.srv-ribbon::-webkit-scrollbar { display: none; }

.srv-rib-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 14px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  text-decoration: none; color: inherit;
  flex: 0 0 auto; min-width: 86px; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
}
.srv-rib-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(var(--accent-rgb),.13);
  transform: translateY(-3px);
}
.srv-rib-icon {
  width: 44px; height: 44px;
  background: rgba(var(--accent-rgb),.09);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background .2s;
}
.srv-rib-item:hover .srv-rib-icon { background: rgba(var(--accent-rgb),.17); }
.srv-rib-name { font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--text); }
.srv-rib-price { font-size: 11px; font-weight: 700; color: var(--accent); }
.srv-rib-accent .srv-rib-icon { background: rgba(16,185,129,.1); color: #10b981; }
.srv-rib-accent:hover .srv-rib-icon { background: rgba(16,185,129,.18); }
.srv-rib-accent:hover { border-color: #10b981; box-shadow: 0 4px 18px rgba(16,185,129,.15); }
.srv-rib-accent .srv-rib-price { color: #10b981; }

/* ─── APPLE DEVICES — PILL TABS ─── */
.apple-devices .tabs-nav {
  border-bottom: none;
  background: var(--surface-3);
  padding: 5px;
  border-radius: 14px;
  gap: 2px;
  margin-bottom: 28px;
}
.apple-devices .tab-btn {
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: none !important;
  margin-bottom: 0;
  gap: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.apple-devices .tab-btn:hover {
  background: rgba(0,0,0,.05);
  color: var(--text);
}
.apple-devices .tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-bottom-color: transparent !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb),.3);
}
.apple-devices .tab-btn.active svg { opacity: 1; }
.apple-devices .tab-btn svg { opacity: .7; }

/* ─── APPLE REPAIR CARDS GRID ─── */
.adev-rc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.adev-rc {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  padding: 15px 14px 13px;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px;
  text-decoration: none; color: inherit;
  transition: border-color .18s, box-shadow .2s, transform .2s;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
/* Tooltip */
.adev-rc[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%; transform: translateX(-50%);
  background: #1e293b; color: #f1f5f9;
  font-size: 11.5px; font-weight: 400; line-height: 1.5;
  padding: 9px 13px; border-radius: 9px;
  width: 230px; white-space: normal; text-align: left;
  opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 60;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.adev-rc[data-tip]:hover::after { opacity: 1; }
.adev-rc:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb),.12);
  transform: translateY(-2px);
}
.adev-rc-icon {
  width: 42px; height: 42px;
  background: linear-gradient(145deg, rgba(var(--accent-rgb),.11) 0%, rgba(var(--accent-rgb),.06) 100%);
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb),.13);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background .18s, border-color .18s;
  flex-shrink: 0;
}
.adev-rc:hover .adev-rc-icon {
  background: linear-gradient(145deg, rgba(var(--accent-rgb),.2) 0%, rgba(var(--accent-rgb),.12) 100%);
  border-color: rgba(var(--accent-rgb),.22);
}
.adev-rc-name {
  font-size: 13px; font-weight: 600; color: var(--text);
  line-height: 1.35; flex: 1;
}
.adev-rc-price {
  font-size: 11.5px; font-weight: 700; color: var(--accent);
  margin-top: auto;
  background: rgba(var(--accent-rgb),.08);
  padding: 3px 8px; border-radius: 6px;
  display: inline-block;
}

/* ─── APPLE DEVICE DETAIL (tabs) ─── */
.adev-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.adev-detail-left {
  display: flex; gap: 20px; align-items: flex-start;
}
.adev-detail-icon {
  width: 72px; height: 72px; flex-shrink: 0;
  background: rgba(var(--accent-rgb),.09);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.adev-detail-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.adev-detail-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.adev-detail-models { font-size: 12px; color: var(--muted); }
.adev-repair-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
.adev-ri {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.adev-ri:last-child { border-bottom: none; }
.adev-ri span { color: var(--text); }
.adev-ri strong { color: var(--accent); font-weight: 700; }

/* ─── APPLE DEVICES ─── */
.adev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adev-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.adev-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .2s;
}
.adev-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(var(--accent-rgb),.15); transform: translateY(-3px); }
.adev-card:hover::before { opacity: 1; }
.adev-icon {
  width: 60px; height: 60px;
  background: rgba(var(--accent-rgb),.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
}
.adev-card h3 { font-size: 18px; font-weight: 700; margin: 0; }
.adev-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.adev-models { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.adev-price { font-size: 14px; font-weight: 700; color: var(--accent); }

/* ─── HOW IT WORKS / PROCESS TIMELINE ─── */
.how { background: var(--surface); }
.proc-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}
.proc-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 24px; position: relative;
}
.proc-connector {
  position: absolute; top: 28px; left: calc(50% + 28px); right: calc(-50% + 28px);
  height: 1px; background: var(--border-2); z-index: 0;
}
.proc-step:last-child .proc-connector { display: none; }
.proc-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 16px;
  position: relative; z-index: 1;
  transition: background .2s, border-color .2s;
}
.proc-icon--accent {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.proc-step:hover .proc-icon:not(.proc-icon--accent) {
  background: var(--surface); border-color: var(--border-2);
}
.proc-num {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--text-dim); margin-bottom: 10px; text-transform: uppercase;
}
.proc-title {
  font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.proc-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}
.proc-time {
  margin-top: 12px; padding: 4px 10px;
  background: var(--bg); border-radius: 980px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  display: inline-block;
}

/* ─── BRANDS ─── */
.brands { background: var(--bg); }
.brands-grid {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px 2px 12px; margin: 0 -2px;
}
.brands-grid::-webkit-scrollbar { display: none; }

.brand-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer; flex: 0 0 auto; min-width: 120px; text-align: center;
  text-decoration: none; color: inherit;
}
.brand-card:hover {
  border-color: var(--border-2); transform: none;
  box-shadow: var(--sh);
}
.brand-logo {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-size: 13px; font-weight: 700; color: var(--text); }
.brand-cnt { font-size: 11px; color: var(--text-muted); }

/* ─── 6.12: BRAND LOGOS GRAYSCALE → COLOR ─── */
.brand-card .brand-logo { filter: grayscale(1); opacity: 0.6; transition: filter .3s, opacity .3s; }
.brand-card:hover .brand-logo { filter: grayscale(0); opacity: 1; }

/* ─── PRICE TABLE brands strip ─── */
.pt-brands-strip {
  margin-top: 28px;
  padding-top: 20px;
}
.pt-brands-ribbon {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: nowrap;
}
.pt-brands-ribbon::-webkit-scrollbar { display: none; }
.pt-brands-ribbon .brand-card {
  flex: 0 0 calc((100% - 5 * 10px) / 6);
  min-width: 90px;
  max-width: 140px;
  padding: 14px 10px;
}
.pt-brands-ribbon .brand-logo {
  width: 40px; height: 40px;
}
.pt-brands-ribbon .brand-logo svg { width: 36px; height: 36px; }
.pt-brands-ribbon .brand-name { font-size: 12px; }
.pt-brands-ribbon .brand-cnt { display: none; }

/* ─── ADVANTAGES ─── */
.adv { background: #1d1d1f; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.adv-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px;
  color: #fff;
  transition: background .2s;
}
.adv-card:hover { background: rgba(255,255,255,.08); }
.adv-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff;
}
.adv-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.adv-desc { font-size: 14px; opacity: .75; line-height: 1.7; }
.adv-stat { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; margin-top: 20px; opacity: .08; line-height: 1; }

/* ─── IPHONE CATALOG ─── */
.iph-cat { background: var(--surface); }
.iph-search-wrap {
  position: relative; margin-bottom: 36px;
}
.iph-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); pointer-events: none;
}
.iph-search {
  width: 100%; padding: 15px 16px 15px 46px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font: inherit; font-size: 16px;
  color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.iph-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-l); background: var(--surface); }
.iph-search::placeholder { color: var(--text-dim); }

.iph-results { display: none; }
.iph-results.show { display: block; }
.iph-results-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: 16px;
  box-shadow: var(--sh);
}
.iph-result-tag {
  padding: 8px 14px; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 14px; color: var(--text);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.iph-result-tag:hover { border-color: var(--accent); background: var(--accent-l); color: var(--accent); }
.iph-result-tag b { color: var(--accent); }

.iph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.iph-series {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--sh-xs);
}
.iph-series-head {
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(37,99,235,.05) 0%, rgba(37,99,235,.02) 100%);
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.iph-series-title { font-size: 15px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.iph-series-icon { color: var(--text-muted); }
.iph-series-cnt { font-size: 12px; color: var(--text-dim); background: var(--border); border-radius: 100px; padding: 2px 8px; }
.iph-models { display: flex; flex-direction: column; background: rgba(37,99,235,.018); }
.iph-model-link {
  padding: 11px 20px;
  font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .15s, color .15s;
}
.iph-model-link:last-child { border-bottom: none; }
.iph-model-link:hover { background: rgba(37,99,235,.07); color: var(--accent); }
.iph-model-link:hover .iph-arr { opacity: 1; }
.iph-arr { opacity: 0; transition: opacity .15s; color: var(--accent); }

/* ─── SEO MOSCOW ─── */
.seo-moscow { background: var(--bg-subtle, #f7f8fa); border-top: 1px solid var(--border); }

/* Legacy seo-text (used in SeoMoscow tabs) */
.seo-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.seo-text-col h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.seo-text-col p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.seo-text-col p:last-child { margin-bottom: 0; }

/* ─── SeoText component (assembled SEO blocks) ─── */
.seo-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.seo-lead p { margin: 0; }

/* Fact cards grid */
.seo-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.seo-fact-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .15s, border-color .15s;
}
.seo-fact-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  border-color: var(--accent);
}
.seo-fact-card__icon {
  width: 42px;
  height: 42px;
  background: rgba(37,99,235,.1);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.seo-fact-card__body { min-width: 0; }
.seo-fact-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 3px;
}
.seo-fact-card__sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Legacy facts strip (used nowhere now, keep for safety) */
.seo-facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.seo-fact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.seo-fact-icon { width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; line-height: 1; }

.seo-body-cols {
  columns: 2;
  column-gap: 40px;
}
.seo-body-p {
  break-inside: avoid;
  margin-bottom: 16px;
}
.seo-body-p p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.85;
}
.seo-body-p strong { color: var(--text); font-weight: 600; }

/* Accordion */
.accordion { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: none; }
.acc-btn {
  width: 100%; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; font: inherit;
  font-size: 15px; font-weight: 600; text-align: left; color: var(--text);
  cursor: pointer; transition: background .2s, color .2s;
}
.acc-btn:hover { background: var(--bg); color: var(--accent); }
.acc-btn.open { color: var(--accent); background: var(--accent-l); }
.acc-icon { flex-shrink: 0; transition: transform .3s ease; color: var(--text-muted); }
.acc-btn.open .acc-icon { transform: rotate(180deg); color: var(--accent); }
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.acc-body.open { max-height: 800px; }
.acc-body-inner { padding: 4px 24px 20px; }

/* Districts list */
.districts-list { display: flex; flex-wrap: wrap; gap: 8px; }
.district-tag {
  padding: 6px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 13px; color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.district-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-l); }

/* Address cards */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.addr-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: flex; gap: 14px;
  box-shadow: var(--sh-xs); transition: box-shadow .2s, transform .2s;
}
.addr-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.addr-pin {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-l); border: 1.5px solid var(--accent-l2);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.addr-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.addr-metro { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.addr-metro::before { content: 'М'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #d42020; color: #fff; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.addr-hours { font-size: 12px; color: var(--text-dim); margin-top: 6px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }

/* ─── FAQ 2-COL ─── */
.faq-2col {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px 32px; margin-top: 8px; align-items: start;
}
.faq-col { }
.faq-cat-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--accent); margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 2px solid var(--accent-l);
}

/* ─── REVIEWS ─── */
.reviews { background: var(--surface); }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rev-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.rev-card:hover { box-shadow: var(--sh); transform: none; }
.rev-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.rev-star { color: var(--warm); }
.rev-text { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--accent-l2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.rev-name { font-size: 14px; font-weight: 700; color: var(--text); }
.rev-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── RATING PLATFORMS ─── */
.rating-platforms {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.rating-card {
  flex: 1; min-width: 180px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 20px 16px;
  text-decoration: none; transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column; gap: 6px;
}
.rating-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.rating-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--text);
}
.rating-stars { font-size: 18px; color: #FBBF24; letter-spacing: 1px; }
.rating-score { font-size: 24px; font-weight: 800; color: var(--text); }
.rating-score span { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.rating-count { font-size: 12px; color: var(--text-muted); }

/* ─── CTA ─── */
.cta-section {
  background: #1d1d1f;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.cta-inner {
  max-width: 1280px; margin: 0 auto; padding: 88px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 60px; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
.cta-title span { color: #a1a1a6; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.65); margin-top: 12px; line-height: 1.7; }
.cta-acts { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.btn-cta-1 {
  padding: 17px 36px; background: #fff; color: #1d1d1f;
  font-weight: 700; font-size: 16px; border: none; border-radius: 980px;
  transition: background .2s; cursor: pointer;
}
.btn-cta-1:hover { background: #f5f5f7; }
.btn-cta-2 {
  padding: 17px 36px; background: transparent;
  color: #fff; font-weight: 600; font-size: 16px;
  border: 1.5px solid rgba(255,255,255,.32); border-radius: 980px;
  transition: background .2s; cursor: pointer; text-decoration: none;
  display: inline-block;
}
.btn-cta-2:hover { background: rgba(255,255,255,.06); }

/* ─── CITIES ─── */
.cities { background: var(--bg); }
.cities-cloud {
  display: flex; flex-wrap: wrap; gap: 10px;
  position: relative;
  max-height: 1400px;
  overflow: hidden;
  transition: max-height .55s cubic-bezier(0.4, 0, 0.2, 1);
}
.cities-cloud::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.city-chip {
  padding: 9px 18px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 14px; color: var(--text-muted);
  transition: border-color .2s, color .2s, box-shadow .2s;
  box-shadow: var(--sh-xs);
}
.city-chip:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 4px 12px rgba(37,99,235,.1); }
.city-chip--active { border-color: var(--accent); color: var(--accent); }

/* ─── 5.3: CITIES COLLAPSE ─── */
.cities-cloud.collapsed {
  max-height: 76px;
  transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cities-cloud.collapsed::after { opacity: 1; }
.cities-expand-btn {
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px; padding: 10px 20px;
  border-radius: 980px; border: 1px solid var(--border-2);
  background: transparent; color: var(--text-muted);
  font-size: 14px; cursor: pointer; transition: color .2s, border-color .2s;
}
.cities-expand-btn:hover { color: var(--accent); border-color: var(--accent); }
.cities-expand-btn svg { transition: transform .3s ease; }
.cities-expand-btn.expanded svg { transform: rotate(180deg); }

/* ─── FOOTER ─── */
.footer { background: var(--bg); border-top: 0.5px solid var(--border); padding: var(--section-pad-mob) 24px var(--gap-md); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: var(--gap-lg); margin-bottom: var(--gap-lg); }
.footer-logo { margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; max-width: 280px; }
.footer-phone { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.footer-phone-sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.footer-col-head { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--text-dim); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text-dim); transition: color .2s; }
.footer-legal a:hover { color: var(--text-muted); }

/* ─── 6.7: FOOTER LEGAL + PAYMENTS ─── */
.footer-legal-block {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.footer-legal-info {
  font-size: 12px; color: var(--text-dim); line-height: 1.6; max-width: 540px;
}
.footer-payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fp-label { font-size: 12px; color: var(--text-dim); }
.fp-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  border: 1px solid var(--border);
}
.fp-visa { background: #1a1f71; color: #fff; border-color: #1a1f71; }
.fp-mc { background: #eb001b; color: #fff; border-color: #eb001b; }
.fp-mir { background: #237a3c; color: #fff; border-color: #237a3c; }
.fp-sbp { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }
.fp-cash { background: var(--bg); color: var(--text-muted); }
.footer-disclaimer {
  font-size: 11px; color: var(--text-dim); line-height: 1.5;
  flex: 1; max-width: 400px;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}

/* ─── PRICE TABLE ─── */
.price-table-section { background: var(--surface); }
.pt-scroll { overflow-x: auto; margin-bottom: 16px; }
.pt-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
}
.pt-table thead tr { background: var(--bg); }
.pt-table th {
  padding: 14px 20px; text-align: left;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.pt-table th a { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.pt-table th a:hover { color: var(--accent); }
.pt-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); }
.pt-table tbody tr:hover { background: var(--bg); }
.pt-table tbody tr:last-child td { border-bottom: none; }
.pt-model-col { min-width: 180px; }
.pt-model a { font-weight: 600; color: var(--text); transition: color .15s; }
.pt-model a:hover { color: var(--accent); }
.pt-model-link { font-weight: 600; color: var(--text); text-decoration: none; transition: color .15s; }
.pt-model-link:hover { color: var(--accent); }
.pt-price { white-space: nowrap; color: var(--text-muted); }
.pt-price strong { color: var(--text); font-size: 16px; }
.pt-price-link { color: var(--text); text-decoration: none; transition: color .15s; white-space: nowrap; display: inline-block; }
.pt-price-link:hover { color: var(--accent); }
.pt-price-link strong { color: inherit; font-size: 16px; }
.pt-note { font-size: 13px; color: var(--text-dim); line-height: 1.7; padding: 14px 20px; background: var(--bg); border-radius: var(--radius-sm); }
.pt-load-more-wrap { display: flex; justify-content: center; padding: 8px 0 4px; }
.pt-load-more { background: none; border: 1.5px solid var(--border); color: var(--text-muted); cursor: pointer; font-size: 13px; font-weight: 500; padding: 8px 20px; border-radius: 100px; display: flex; align-items: center; transition: border-color .15s, color .15s; }
.pt-load-more:hover { border-color: var(--accent); color: var(--accent); }
.pt-section-loadmore { display: flex; justify-content: center; padding: 20px 0 4px; }
.pt-section-loadmore-btn { background: none; border: 1.5px solid var(--border); color: var(--text); cursor: pointer; font-size: 14px; font-weight: 500; padding: 11px 28px; border-radius: 100px; display: flex; align-items: center; gap: 6px; transition: border-color .15s, color .15s; }
.pt-section-loadmore-btn:hover { border-color: var(--accent); color: var(--accent); }
.pt-section-loadmore-btn:disabled { opacity: .5; cursor: default; }

/* ─── PRICE TABS ─── */
.pt-note-box {
  margin-top: 16px;
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 16px; border-radius: 10px;
  background: var(--accent-l); border: 1px solid var(--accent-l2);
  font-size: 13px; color: var(--text-muted);
}
.pt-note-box svg { flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.pt-repair-label { display: none; }

/* ─── SAMSUNG CATALOG ─── */
.sams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.sams-series {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--sh-xs);
}
.sams-head {
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(37,99,235,.05) 0%, rgba(37,99,235,.02) 100%);
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.sams-series-name { font-size: 14px; font-weight: 700; color: var(--text); }
.sams-series-cnt { font-size: 12px; color: var(--text-dim); background: var(--border); border-radius: 100px; padding: 2px 8px; }
.sams-models { display: flex; flex-direction: column; background: rgba(37,99,235,.018); }
.sams-link {
  padding: 11px 18px; font-size: 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .15s, color .15s;
}
.sams-link:last-child { border-bottom: none; }
.sams-link span { font-size: 12px; color: var(--text-dim); }
.sams-link:hover { background: rgba(37,99,235,.07); color: var(--accent); }

/* ─── BRAND × SERVICE MATRIX ─── */
.bxs-section { background: var(--bg); }
.bxs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.bxs-brand {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.bxs-brand-head {
  padding: 16px 20px; border-bottom: 1.5px solid var(--border);
  font-size: 15px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2);
}
.bxs-links {
  padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
}
.bxs-links a {
  padding: 8px 10px; border-radius: var(--radius-xs);
  font-size: 14px; color: var(--text-muted);
  transition: background .15s, color .15s;
  display: flex; align-items: center; gap: 6px;
}
.bxs-links a::before { content: '→'; font-size: 11px; color: var(--text-dim); }
.bxs-links a:hover { background: var(--accent-l); color: var(--accent); }
.bxs-links a:hover::before { color: var(--accent); }
.bxs-more {
  margin-top: 6px; padding-top: 10px !important;
  border-top: 1px solid var(--border); font-weight: 700 !important;
  color: var(--accent) !important;
}
.bxs-more::before { display: none !important; }

/* ─── COMPARE TABLE ─── */
.compare-section { background: var(--bg); }
.compare-table-wrap { overflow-x: auto; margin-top: 40px; max-width: 100%; }
.compare-table {
  width: 100%; max-width: 800px; margin: 0 auto;
  border-collapse: collapse; font-size: 15px;
}
.compare-table th {
  padding: 14px 20px; text-align: left;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border-2);
}
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.ct-ours { color: var(--accent); }
.ct-avg { color: var(--text-dim); text-decoration: line-through; }
.ct-our-price strong { color: var(--text); font-weight: 700; }
.ct-save { color: var(--green); font-weight: 700; font-size: 14px; }
.compare-note { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 16px; }

/* ─── GUARANTEES ─── */
.guarantees { background: var(--surface); }
.guar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: 56px; text-align: center;
}
.guar-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.guar-item h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.guar-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ─── GALLERY ─── */
.gallery-section { background: var(--bg); }
.gal-ribbon-wrap {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
}
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text); box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.gal-arrow:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.gal-arrow-prev { left: -18px; }
.gal-arrow-next { right: -18px; }
.gal-masonry {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gal-masonry::-webkit-scrollbar { display: none; }
.gal-item {
  flex: 0 0 clamp(170px, 45vw, 260px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gal-item:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.18); }
.gal-img-wrap {
  position: relative;
  overflow: hidden;
}
.gal-img-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform .4s ease;
}
.gal-item:hover .gal-img-wrap img { transform: scale(1.05); }
.gal-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s ease;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 14px;
  gap: 4px;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-ol-info { display: flex; flex-direction: column; gap: 4px; }
.gal-ol-info span:last-child { font-size: 12px; font-weight: 600; color: #fff; line-height: 1.3; }
.gal-badge {
  padding: 2px 8px; background: var(--accent); border-radius: 100px;
  font-size: 10px; font-weight: 700; color: #fff;
  display: inline-block; align-self: flex-start;
}
.gal-zoom {
  position: absolute; top: 12px; right: 12px;
  color: rgba(255,255,255,.8);
}

/* ─── BEFORE / AFTER SLIDER ─── */
.ba-section { background: var(--surface); }
.ba-sliders {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  margin-top: 40px;
}
.ba-slider-wrap { }
.ba-slider {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  cursor: col-resize;
  user-select: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.ba-slider-before,
.ba-slider-after {
  position: absolute; inset: 0;
}
.ba-slider-before { z-index: 1; }
.ba-slider-after {
  z-index: 2;
  /* clip-path is set by JS — no overflow:hidden needed */
}
.ba-slider-before img,
.ba-slider-after img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* Need actual height — set via aspect-ratio on container */
.ba-slider::after {
  content: ''; display: block;
  padding-top: 133%; /* 3:4 ratio */
}
.ba-slider-before,
.ba-slider-after { position: absolute; inset: 0; }
.ba-lbl {
  position: absolute; top: 12px; z-index: 20;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase; pointer-events: none;
}
.ba-lbl-before { left: 12px; background: #ef4444; color: #fff; }
.ba-lbl-after  { right: 12px; background: #10b981; color: #fff; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; z-index: 10;
  width: 3px; background: #fff;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
}
.ba-handle-line { flex: 1; width: 2px; background: rgba(255,255,255,.6); }
.ba-handle-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.ba-desc {
  margin-top: 12px; font-size: 13px; color: var(--text-muted);
  text-align: center;
}
/* Gallery video grid */
.gal-video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-sm);
}
.gal-video-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: box-shadow .2s, border-color .2s;
}
.gal-video-card:hover { box-shadow: var(--sh-md); border-color: var(--border-2); }
.gal-video-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg);
}
.gal-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,.5); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
}
.gal-video-card:hover .gal-video-play { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }
.gal-video-info { padding: 14px 16px; }
.gal-video-info strong { font-size: 14px; color: var(--text); display: block; margin-bottom: 4px; }
.gal-video-info span { font-size: 12px; color: var(--text-muted); }

/* Gallery live stream */
.gal-live-wrap { display: flex; flex-direction: column; gap: 16px; }
.gal-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: #e53935; align-self: flex-start;
}
.gal-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #e53935;
  animation: livePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}
.gal-live-frame-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: var(--sh-md);
}
.gal-live-frame {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.gal-live-desc { font-size: 13px; color: var(--text-muted); }

/* Live dot on tab button */
.gal-live-btn { display: inline-flex; align-items: center; gap: 6px; }

/* ─── TRUST BAR ─── */
.trust-bar {
  margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 12px;
  background: rgba(255,255,255,.06); border-radius: 14px;
  padding: 20px 24px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.75);
  font-weight: 600; flex: 1; min-width: 160px;
}
.trust-item svg { flex-shrink: 0; color: rgba(255,255,255,.5); }

/* ─── POPULAR QUERIES ─── */
.pop-queries { background: var(--surface); }
.pq-groups {
  display: flex; flex-direction: column; gap: 32px;
  position: relative;
}
.pq-groups.collapsed {
  max-height: 180px; overflow: hidden;
}
.pq-groups.collapsed::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}
.pq-expand-btn {
  display: flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 10px 20px;
  border-radius: 980px; border: 1px solid var(--border-2);
  background: transparent; color: var(--text-muted);
  font-size: 14px; cursor: pointer; transition: color .2s, border-color .2s;
}
.pq-expand-btn:hover { color: var(--accent); border-color: var(--accent); }
.pq-expand-btn svg { transition: transform .3s; }
.pq-expand-btn.expanded svg { transform: rotate(180deg); }
.pq-group-title {
  font-size: 14px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px;
}
.pq-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pq-tag {
  padding: 8px 16px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 100px; font-size: 13px; color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.pq-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-l); }

/* ─── DATA RECOVERY ─── */
.dr-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.dr-types { display: flex; flex-direction: column; gap: 4px; }
.dr-type {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  transition: background .2s;
}
.dr-type:hover { background: var(--surface); }
.dr-type-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent-rgb),.09);
  border-radius: 12px;
  color: var(--accent);
  margin-top: 2px;
}
.dr-type strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.dr-type p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.dr-cta {
  position: sticky; top: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dr-cta-inner { padding: 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.dr-cta-stat { display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.dr-cta-stat:last-of-type { border-bottom: none; padding-bottom: 0; }
.dr-cta-num { font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1; }
.dr-cta-stat > span:last-child { font-size: 13px; color: var(--muted); }
.dr-cta-note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; padding-top: 4px; }

/* ─── MID CTA ─── */
.mid-cta { padding: 0 24px; }
.mid-cta-inner {
  max-width: 1280px; margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.mid-cta-inner strong { font-size: 19px; color: var(--text); display: block; margin-bottom: 4px; }
.mid-cta-inner span { font-size: 15px; color: var(--text-muted); }

/* ─── 5.8: COURIER SECTION ─── */
.courier-section { background: var(--bg); }
.courier-inner {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 56px; align-items: start;
  background: var(--surface); border-radius: 20px;
  padding: 56px;
}
.courier-steps {
  display: flex; align-items: flex-start; gap: 0;
  margin: 24px 0 var(--gap-md);
}
.courier-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; flex: 1;
}
.courier-step-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-l); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.courier-step-icon--accent { background: rgba(var(--accent-rgb),.15); }
.courier-step-icon--green { background: var(--green-l); color: var(--green); }
.courier-step-text { display: flex; flex-direction: column; gap: 2px; }
.courier-step-text strong { font-size: 14px; color: var(--text); }
.courier-step-text span:last-child { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.courier-step-line {
  width: 40px; height: 2px; background: var(--border);
  margin-top: 24px; flex-shrink: 0;
}
/* Left-side trust & alt phone */
.courier-trust {
  display: flex; flex-direction: column; gap: 10px; margin-top: 24px;
}
.courier-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-2); font-weight: 500;
}
.courier-trust-item svg { color: var(--green); flex-shrink: 0; }
.courier-alt-phone {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: color .15s;
}
.courier-alt-phone svg { color: var(--text-muted); flex-shrink: 0; transition: color .15s; }
.courier-alt-phone:hover { color: var(--accent); }
.courier-alt-phone:hover svg { color: var(--accent); }

/* ── COURIER CARD — state machine ── */
.courier-card {
  background: var(--bg); border-radius: 16px;
  border: 1px solid var(--border); overflow: hidden;
}
/* Prevent CSS display override from breaking [hidden] attribute */
.cc-panel[hidden] { display: none !important; }
.cc-panel { padding: 18px 20px; }

/* STATE: idle */
.cc-heading {
  font-size: 15px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.cc-heading svg { color: var(--accent); flex-shrink: 0; }
.cc-input-wrap { position: relative; }
.cc-input-pin {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.cc-addr-input {
  width: 100%; padding: 12px 14px 12px 36px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; color: var(--text); background: var(--surface);
  outline: none; transition: border-color .2s; font-family: inherit;
  box-sizing: border-box;
}
.cc-addr-input:focus { border-color: var(--accent); }
.cc-addr-input::placeholder { color: var(--text-dim); }
.cc-demo-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px; margin-top: 10px;
}
.cc-demo-label { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.cc-demo-chip {
  padding: 4px 10px; border-radius: 980px;
  border: 1px solid var(--border-2); background: var(--surface);
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.cc-demo-chip:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-l); }
.cc-zone-badge {
  display: flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 8px 12px; border-radius: 8px;
  background: var(--green-l); font-size: 12px; font-weight: 500; color: #145a2b;
}
.cc-zone-badge svg { color: var(--green); flex-shrink: 0; }

/* STATE: checking — radar animation */
.cc-panel--checking {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 160px; text-align: center; gap: 12px;
}
.cc-radar {
  position: relative; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.cc-radar-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: 0;
  animation: ccRadarRing 2.1s cubic-bezier(0.2, 0.8, 0.3, 1) infinite;
}
.cc-radar-ring:nth-child(1) { width: 32px; height: 32px; animation-delay: 0s; }
.cc-radar-ring:nth-child(2) { width: 56px; height: 56px; animation-delay: 0.55s; }
.cc-radar-ring:nth-child(3) { width: 80px; height: 80px; animation-delay: 1.1s; }
@keyframes ccRadarRing {
  0%   { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0;   transform: scale(1); }
}
.cc-radar-core {
  position: relative; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,96,210,.4);
}
.cc-checking-label { font-size: 15px; font-weight: 600; color: var(--text); }
.cc-checking-addr  { font-size: 13px; color: var(--text-muted); }

/* STATE: result */
.cc-addr-confirmed {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--accent-l); border: 1px solid rgba(0,96,210,.15);
  font-size: 14px; color: var(--text); margin-bottom: 16px;
}
.cc-addr-confirmed svg { color: var(--accent); flex-shrink: 0; }
.cc-addr-confirmed-text {
  flex: 1; font-weight: 500; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cc-addr-change {
  flex-shrink: 0; padding: 3px 8px; border-radius: 5px;
  border: 1px solid var(--border-2); background: var(--surface);
  font-size: 11px; color: var(--text-muted); cursor: pointer;
  transition: color .15s; white-space: nowrap;
}
.cc-addr-change:hover { color: var(--accent); border-color: var(--accent); }

/* ETA block */
.cc-eta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; padding: 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 12px;
}
.cc-eta-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cc-eta-info { flex: 1; min-width: 80px; }
.cc-eta-label { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 2px; }
.cc-eta-value {
  font-size: 26px; font-weight: 800; color: var(--accent); letter-spacing: -.03em;
}
.cc-eta-pills {
  width: 100%; display: flex; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px;
}
.cc-eta-pill { font-size: 12px; color: var(--text-muted); }
.cc-eta-pill b { color: var(--text); }
.cc-eta-pill--green { color: var(--green); font-weight: 500; }

/* Booking form */
.cc-book-form { display: flex; flex-direction: column; gap: 8px; animation: ccFormIn .35s ease; }
@keyframes ccFormIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.cc-book-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #16803c;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(52,199,89,.07); border: 1px solid rgba(52,199,89,.18);
  margin-bottom: 4px;
}
.cc-auth-hint {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  background: var(--accent-l); border: 1px solid rgba(0,96,210,.12);
  font-size: 12px; color: var(--accent);
}
.cc-auth-hint span { flex: 1; }
.cc-auth-clear {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  padding: 2px 4px; font-size: 14px; line-height: 1; border-radius: 4px;
  transition: color .15s;
}
.cc-auth-clear:hover { color: var(--text); }
.cc-input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text); background: var(--surface);
  outline: none; transition: border-color .2s; font-family: inherit;
  box-sizing: border-box;
}
.cc-input:focus { border-color: var(--accent); }
.cc-input::placeholder { color: var(--text-dim); }
.cc-input.cc-input-error { border-color: var(--red); animation: ccShake .3s ease; }
@keyframes ccShake {
  0%,100% { transform: none; }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}
.cc-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-comment { resize: none; }
.cc-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; border-radius: 980px; border: none;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: opacity .2s; margin-top: 4px;
}
.cc-submit:hover { opacity: .88; }
.cc-fine-print { text-align: center; font-size: 12px; color: var(--text-dim); }

/* STATE: success */
.cc-panel--success {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px; padding: 28px 20px;
}
.cc-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(52,199,89,.1); color: #16803c;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.cc-success-title { font-size: 17px; color: var(--text); }
.cc-success-body { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cc-success-addr {
  font-size: 13px; color: var(--text-muted);
  padding: 6px 16px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
}

/* ─── 6.6: TRADE-IN ─── */
.tradein-section { background: var(--surface); }
.tradein-grid {
  display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start;
}

/* Stats — compact inline row */
.ti-stats {
  display: flex; align-items: center;
  gap: 0; margin: 16px 0 20px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.ti-stat {
  flex: 1; padding: 10px 12px; text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.ti-stat-sep { width: 1px; align-self: stretch; background: var(--border); flex-shrink: 0; }
.ti-stat-num { font-size: 15px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.ti-stat-label { font-size: 10px; color: var(--text-muted); line-height: 1.3; }

/* Feature list — compact rows */
.ti-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 20px;
}
.ti-feature {
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; color: var(--text-2); line-height: 1.4;
}
.ti-feature-icon {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ti-feature-icon--blue  { background: var(--accent-l); color: var(--accent); }
.ti-feature-icon--green { background: var(--green-l); color: #145a2b; }
.ti-feature-icon--orange { background: #fff7ed; color: #c2410c; }

/* Brand chips */
.ti-brands {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 0;
}
.ti-brand-chip {
  padding: 4px 12px; border-radius: 980px;
  background: var(--bg); border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.ti-brand-chip--muted { color: var(--text-muted); border-style: dashed; }

/* Calculator */
.tradein-calc {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--sh-md);
  position: sticky; top: 80px;
}
.tradein-calc-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 20px;
}
.tradein-result {
  margin-top: 20px; padding: 16px;
  background: var(--surface); border-radius: var(--radius-sm);
}
.tradein-result-main {
  display: flex; align-items: stretch; gap: 0;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 12px;
}
.tradein-result-cash, .tradein-result-bonus {
  flex: 1; padding: 14px 16px; text-align: center;
}
.tradein-result-bonus { background: var(--accent-l); }
.tradein-result-divider { width: 1px; background: var(--border); }
.tradein-result-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.tradein-price { font-size: 22px; font-weight: 800; color: var(--text); }
.tradein-price--bonus { color: var(--accent); }
.tradein-note { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; line-height: 1.5; }

/* ─── 6.13: SERVICE CENTERS ─── */
.centers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 24px;
}
.centers-extra { margin-top: 20px; }
.center-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: box-shadow .2s, border-color .2s;
}
.center-card:hover { box-shadow: var(--sh-md); border-color: var(--border-2); }
.center-card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.center-badge {
  display: inline-block; padding: 3px 10px;
  background: var(--bg); border-radius: 980px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.center-badge--blue { background: var(--accent-l); color: var(--accent); }
.center-badge--green { background: var(--green-l); color: #16803c; }
.center-rating { font-size: 13px; font-weight: 700; color: #B45309; }
.center-name { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.center-addr, .center-hours, .center-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--text-muted); margin-bottom: 6px;
}
.center-phone a { color: var(--accent); font-weight: 600; }
.center-link {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--accent);
}
.center-link:hover { text-decoration: underline; }
.center-socials { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.center-social-badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; letter-spacing: 0.03em; }
.center-social-max { background: #fff0f0; color: #cc0000; }
.center-social-vk { background: #e8f0fe; color: #1a5fa6; }
.center-social-tg { background: #e0f2fe; color: #0369a1; }
.center-social-yt { background: #fee2e2; color: #991b1b; }
.centers-more { text-align: center; }

/* ─── CENTERS: MAP + FEATURED CARDS LAYOUT ─── */
.centers-map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  align-items: start;
}
.centers-map-layout .partners-ymap iframe { min-height: 360px; }
.centers-featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
}
.centers-featured::-webkit-scrollbar { width: 4px; }
.centers-featured::-webkit-scrollbar-track { background: transparent; }
.centers-featured::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }
.center-card--featured { flex-shrink: 0; }
/* ─── YANDEX GOOD PLACE BADGES ─── */
.center-good-place {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
}
.good-place-badge {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px 4px 4px;
  background: #fff9e6; border: 1px solid #fde68a;
  border-radius: 8px; font-size: 12px; font-weight: 600;
  color: #92400e; text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
}
a.good-place-badge:hover {
  border-color: #f59e0b; box-shadow: 0 2px 8px rgba(245,158,11,.2);
}
.good-place-badge img { border-radius: 4px; }

/* ─── MAP GOOD PLACE BADGES (below map) ─── */
.centers-map-col { display: flex; flex-direction: column; gap: 0; }
.map-good-place-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
}
.map-good-place-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: #fff9e6; border: 1px solid #fde68a;
  border-radius: 8px; text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
}
a.map-good-place-badge:hover {
  border-color: #f59e0b; box-shadow: 0 2px 8px rgba(245,158,11,.2);
}
.map-good-place-label {
  font-size: 13px; font-weight: 600; color: #92400e;
}

.centers-map-layout--single { align-items: stretch; }
.centers-map-layout--single .centers-featured { justify-content: stretch; }
.centers-map-layout--single .centers-featured .center-card { flex: 1; display: flex; flex-direction: column; }
.centers-map-layout--single .partners-ymap iframe { height: 100% !important; min-height: 360px; }
.centers-map-layout--single .centers-map-col { flex: 1; }
.centers-map-layout--single .centers-map-col .partners-ymap { flex: 1; }
.centers-map-layout--single .centers-map-col .partners-ymap iframe { height: 100% !important; min-height: 360px; }

/* ─── SCROLL REVEAL ─── */
.reveal { transition: opacity .55s ease, transform .55s ease; }
.reveal.hidden { opacity: 0; transform: translateY(24px); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBILE STICKY CTA ─── */
.mobile-sticky-cta { display: none; }

/* ─── 5.5: SCRATCH EFFECT ─── */
.phone-scratches {
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; overflow: hidden; z-index: 3;
}
.phone-scratch {
  position: absolute; opacity: 0;
  stroke: rgba(255,255,255,.55); stroke-width: 1.5;
  fill: none; pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.3));
  transition: opacity .5s ease;
}
.phone-scratch.visible { opacity: 1; }
.phone-scratch.erased { opacity: 0 !important; transition: opacity .3s ease; }
@keyframes scratchIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Adjacent same-bg sections: remove double gap */
.price-table-section  { padding-top: 0; }
.compare-section      { padding-top: 0; }
.apple-devices        { padding-top: 0; }
.guarantees           { padding-top: 0; }
.seo-moscow           { padding-top: 0; }
.reviews              { padding-top: 0; }

/* ─── PARTNER PITCH (B2B главная) ─── */
.pitch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .pitch-cards { grid-template-columns: 1fr; }
}
.pitch-card {
  background: var(--surface, #f8f8fa);
  border: 1.5px solid var(--border, #e8e8ec);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, border-color .2s;
}
.pitch-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border-color: var(--accent-l2, #fcd9bc);
}
.pitch-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-l, #fff4ec);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pitch-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.pitch-card__text {
  font-size: 14px;
  color: var(--text-2, #666);
  line-height: 1.65;
}
.pitch-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--border, #e8e8ec);
  border-bottom: 1px solid var(--border, #e8e8ec);
  margin-bottom: 0;
  flex-wrap: wrap;
}
.pitch-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pitch-stat__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pitch-stat__label {
  font-size: 13px;
  color: var(--text-2, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── DISTRICT MAP ─── */
.district-map-container { height: 450px; }
.district-map-toggle { margin-bottom: 16px; }
.district-map-toggle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface);
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .2s;
}
.district-map-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.district-tooltip { font-size: 13px !important; line-height: 1.4 !important; }
.partner-marker { background: transparent !important; border: none !important; }

@media (max-width: 768px) {
  .district-map-toggle { display: block !important; }
  .district-map-container { height: 0; overflow: hidden; transition: height .3s ease; }
  .district-map-container.district-map-expanded { height: 350px; }
}

/* ─── FRANCHISE BANNER ─── */
.franchise-banner {
  position: relative;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b3e 40%, #0a1628 100%);
  overflow: hidden;
  padding: 80px 24px;
}
.franchise-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0,96,210,0.15), transparent),
    radial-gradient(ellipse 400px 300px at 80% 30%, rgba(244,123,32,0.1), transparent);
  pointer-events: none;
}
.franchise-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.franchise-banner-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}
.franchise-banner-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F47B20;
  background: rgba(244,123,32,0.12);
  border: 1px solid rgba(244,123,32,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.franchise-banner-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}
.franchise-banner-title span {
  color: #4d9fff;
}
.franchise-banner-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}
.franchise-banner-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.franchise-banner-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.franchise-banner-stat-val span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-left: 2px;
}
.franchise-banner-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.franchise-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.franchise-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}
.franchise-banner-btn--primary {
  background: #F47B20;
  color: #fff;
}
.franchise-banner-btn--primary:hover {
  background: #e06c15;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(244,123,32,0.3);
}
.franchise-banner-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.franchise-banner-btn--outline:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* Visual / Chart card */
.franchise-banner-visual {
  position: relative;
}
.franchise-banner-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
}
.franchise-banner-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.franchise-banner-card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
}
.franchise-banner-card-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding-bottom: 8px;
}
.franchise-banner-bar {
  flex: 1;
  background: linear-gradient(to top, #0060D2, #4d9fff);
  border-radius: 4px 4px 0 0;
  animation: franchiseBarGrow 0.6s ease-out backwards;
}
@keyframes franchiseBarGrow {
  from { height: 0 !important; }
}
.franchise-banner-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}
.franchise-banner-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.franchise-banner-badge--roi {
  top: -12px;
  right: -16px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
}
.franchise-banner-badge--margin {
  bottom: -12px;
  left: 16px;
  background: rgba(244,123,32,0.15);
  border: 1px solid rgba(244,123,32,0.3);
  color: #F47B20;
}

/* Footer B2B strip */
.footer-b2b {
  background: linear-gradient(90deg, rgba(0,96,210,0.08), rgba(244,123,32,0.06));
  border: 1px solid rgba(0,96,210,0.15);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-b2b-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-b2b-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.footer-b2b-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-b2b-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.footer-b2b-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.footer-b2b-btn--franchise {
  background: var(--cta, #F47B20);
  color: #fff;
}
.footer-b2b-btn--franchise:hover {
  opacity: 0.9;
}
.footer-b2b-btn--partner {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.footer-b2b-btn--partner:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  .franchise-banner { padding: 56px 20px; }
  .franchise-banner-inner { grid-template-columns: 1fr; gap: 40px; }
  .franchise-banner-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .franchise-banner-stats { gap: 16px; }
  .franchise-banner-badge--roi { right: 0; }
  .footer-b2b-inner { flex-direction: column; align-items: flex-start; }
}

/* ================================= */
/* Franchise promo page — premium v6  */
/* Airy, blue+orange, luxury spacing  */
/* ================================= */

/* Reveal animation — hero only */
@keyframes fpReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fp-reveal { opacity: 0; animation: fpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.fp-reveal--d1 { animation-delay: 0.1s; }
.fp-reveal--d2 { animation-delay: 0.2s; }
.fp-reveal--d3 { animation-delay: 0.3s; }
.fp-reveal--d4 { animation-delay: 0.4s; }

.fp { background: #fff; min-height: 70vh; }

/* Wrapper — generous max-width */
.fp-w { max-width: 880px; margin: 0 auto; padding: 0 32px; box-sizing: content-box; }

/* Label — thin accent line + text */
.fp-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  color: var(--cta); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 20px;
}
.fp-label::before {
  content: ""; width: 28px; height: 2px;
  background: var(--cta); display: inline-block; border-radius: 1px;
}

/* Headings — larger, more breathing room */
.fp-h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -0.035em;
  color: var(--text); margin: 0 0 16px; line-height: 1.12;
}
.fp-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.7; margin: 0; max-width: 520px;
}

/* Sections — TALL, generous vertical space */
.fp-sec { padding: 110px 0; }
.fp-sec--alt { background: var(--surface-3, #f7f7fa); }
.fp-sec + .fp-sec { border-top: 1px solid var(--border); }

/* Buttons */
.fp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none; cursor: pointer; letter-spacing: 0.01em;
}
.fp-btn--cta {
  background: var(--cta); color: #fff;
}
.fp-btn--cta:hover {
  background: var(--cta-h); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244,123,32,.25);
}
.fp-btn--ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-2);
}
.fp-btn--ghost:hover {
  border-color: var(--accent); color: var(--accent);
}
.fp-btn--lg { padding: 17px 40px; font-size: 15px; }
.fp-btn--white { background: #fff; color: var(--text); }
.fp-btn--white:hover {
  background: #f5f5f7; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.fp-btn--ghost-light {
  background: transparent; color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.18);
}
.fp-btn--ghost-light:hover {
  border-color: rgba(255,255,255,.5); color: #fff;
}

/* Tabs — pill style */
.fp-tabs {
  display: inline-flex; gap: 4px; margin-bottom: 40px;
  background: var(--bg); border-radius: 12px; padding: 5px;
}
.fp-sec--alt .fp-tabs { background: #fff; }
.fp-tab {
  padding: 11px 24px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); background: none; border: none;
  cursor: pointer; border-radius: 8px; transition: all 0.2s;
}
.fp-tab--active {
  color: var(--accent); background: var(--surface);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.fp-sec--alt .fp-tab--active { background: var(--surface-3, #f7f7fa); box-shadow: none; border: 1px solid var(--border); }
.fp-tab:hover:not(.fp-tab--active) { color: var(--text); }
.fp-tab-content { }

/* ─── HERO ─── */
.fp-hero {
  background: linear-gradient(165deg, #0b1a3a 0%, #0d1f47 40%, #0a1530 100%);
  padding: 120px 0 100px;
  position: relative; overflow: hidden;
}
.fp-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(59,130,246,.15) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(244,123,32,.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 0%, rgba(96,165,250,.08) 0%, transparent 30%);
  pointer-events: none;
}
.fp-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h80v80H0z' fill='none'/%3E%3Ccircle cx='40' cy='40' r='0.5' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.fp-hero .fp-w { position: relative; z-index: 1; }
.fp-hero .fp-label { color: rgba(244,178,120,.8); }
.fp-hero .fp-label::before { background: rgba(244,178,120,.5); }
.fp-hero-h {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.06; color: #fff; margin: 0 0 28px;
}
.fp-hero-h span {
  background: linear-gradient(135deg, #F4A43A 0%, #F47B20 50%, #ff9a4d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fp-hero-p {
  font-size: 18px; color: rgba(180,200,230,.55);
  line-height: 1.75; max-width: 540px; margin: 0 0 56px;
  font-weight: 400;
}
.fp-hero-stats {
  display: flex; gap: 0; margin-bottom: 56px;
}
.fp-hero-stat {
  padding: 0 36px; position: relative;
}
.fp-hero-stat:first-child { padding-left: 0; }
.fp-hero-stat:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 2px; bottom: 2px;
  width: 1px; background: rgba(100,160,240,.12);
}
.fp-hero-stat-v {
  font-family: var(--font-heading);
  font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: #fff;
}
.fp-hero-stat-l {
  font-size: 12px; color: rgba(140,170,210,.4); margin-top: 6px;
  letter-spacing: 0.03em;
}
.fp-hero-acts {
  display: flex; gap: 16px; flex-wrap: wrap;
}

/* ─── CARDS 2-col ─── */
.fp-grid-2x3 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 48px;
}
.fp-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-card:hover {
  border-color: var(--accent-l2);
  box-shadow: 0 4px 24px rgba(0,96,210,.06);
  transform: translateY(-2px);
}
.fp-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,96,210,.08) 0%, rgba(59,130,246,.05) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 24px;
}
.fp-card-h {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 0 0 10px; letter-spacing: -0.01em;
}
.fp-card-p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.7; margin: 0;
}

/* ─── TIER CARDS GRID ─── */
.fp-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}
.fp-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fp-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.fp-tier-card--accent {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,96,210,0.12);
  transform: scale(1.03);
  z-index: 1;
}
.fp-tier-card--accent:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,96,210,0.18);
}
.fp-tier-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 20px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  border-radius: 100px;
  white-space: nowrap;
}
.fp-tier-header {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
}
.fp-tier-name {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.fp-tier-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.fp-tier-invest {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-top: 16px;
}
.fp-tier-card--accent .fp-tier-invest { color: var(--accent); }
.fp-tier-rows {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fp-tier-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.fp-tier-row:last-child { border-bottom: none; }
.fp-tier-row span:first-child { color: var(--text-muted); }
.fp-tier-row span:last-child { font-weight: 600; color: var(--text); text-align: right; }
.fp-tier-focus {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 20px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.fp-tier-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}
.fp-tier-btn:hover {
  background: var(--accent);
  color: #fff;
}
.fp-tier-btn--accent {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.fp-tier-btn--accent:hover {
  background: #e06a10;
  border-color: #e06a10;
}

/* Tier cards responsive */
@media (max-width: 960px) {
  .fp-tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .fp-tier-card--accent { transform: none; }
  .fp-tier-card--accent:hover { transform: translateY(-4px); }
}

/* ─── COMPARISON ─── */
.fp-cmp {
  border-radius: var(--radius); overflow: hidden; margin-top: 40px;
  border: 1px solid var(--border);
}
.fp-cmp-head {
  display: grid; grid-template-columns: 1fr 140px 140px;
  padding: 18px 28px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); background: var(--surface-3, #f7f7fa);
}
.fp-cmp-us { color: var(--accent); text-align: center; }
.fp-cmp-them { text-align: center; color: var(--text-muted); }
.fp-cmp-row {
  display: grid; grid-template-columns: 1fr 140px 140px;
  padding: 17px 28px; border-top: 1px solid var(--border);
  font-size: 14px; align-items: center; background: #fff;
}
.fp-cmp-row:nth-child(even) { background: var(--surface-3, #fafafa); }
.fp-cmp-val { text-align: center; font-weight: 600; }
.fp-cmp-val--dim { color: var(--text-muted); font-weight: 400; }

/* ─── SCENARIOS ─── */
.fp-scn {
  padding: 28px 32px; margin-bottom: 16px;
  border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border);
}
.fp-scn:last-child { margin-bottom: 0; }
.fp-scn-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.fp-scn-name {
  font-size: 15px; font-weight: 700; color: var(--text);
}
.fp-scn-profit {
  font-family: var(--font-heading);
  font-size: 26px; font-weight: 700; letter-spacing: -0.03em;
}
.fp-scn-profit small {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 3px;
}
.fp-scn-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.fp-scn-grid > div { display: flex; flex-direction: column; gap: 4px; }
.fp-scn-grid > div > span:first-child {
  font-size: 10px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600;
}
.fp-scn-grid > div > span:last-child { font-size: 15px; font-weight: 600; color: var(--text); }

/* ─── MARGINS ─── */
.fp-margin-row {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.fp-margin-row:last-child { border-bottom: none; }
.fp-margin-svc { flex: 1; font-size: 15px; color: var(--text); font-weight: 500; }
.fp-margin-ticket { font-size: 14px; color: var(--text-muted); min-width: 140px; }
.fp-margin-badge {
  display: inline-block; padding: 5px 14px;
  border-radius: 8px; background: rgba(244,123,32,.08);
  color: var(--cta); font-weight: 700; font-size: 13px;
}

/* ─── EXPENSES ─── */
.fp-exp-row { margin-bottom: 20px; }
.fp-exp-row:last-child { margin-bottom: 0; }
.fp-exp-label {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--text-muted); margin-bottom: 8px;
}
.fp-exp-label span:last-child { font-weight: 600; color: var(--text); }
.fp-exp-track {
  height: 6px; background: var(--border); border-radius: 3px; overflow: hidden;
}
.fp-exp-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #4d9fff 100%);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── KPIs ─── */
.fp-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 8px;
}
.fp-kpi {
  padding: 36px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fp-kpi-v {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--accent); margin-bottom: 8px;
}
.fp-kpi-l { font-size: 13px; color: var(--text-muted); }

/* ─── STEPS ─── */
.fp-steps {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--border);
}
.fp-step {
  padding: 36px 32px; background: #fff;
}
.fp-step-n {
  font-family: var(--font-heading);
  font-size: 48px; font-weight: 700; color: var(--accent);
  opacity: 0.1; letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 16px;
}
.fp-step-body h3 {
  font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.fp-step-body p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0;
}

/* ─── LEGAL ─── */
.fp-legal-list {
  display: flex; flex-direction: column; gap: 16px;
}
.fp-legal-item {
  display: flex; gap: 18px; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fp-legal-check {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(34,197,94,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.fp-legal-item h4 {
  font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 6px;
}
.fp-legal-item p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0;
}
.fp-warn-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.fp-warn-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--text);
  padding: 16px 20px;
  background: var(--surface); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.fp-warn-list li svg { flex-shrink: 0; }

/* ─── FAQ ─── */
.fp-faq {
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.fp-faq-item {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.fp-sec--alt .fp-faq-item { background: #fff; }
.fp-faq-item:last-child { border-bottom: none; }
.fp-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 22px 28px;
  background: transparent; border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text);
  text-align: left; gap: 20px; transition: all 0.15s;
}
.fp-faq-q:hover { background: var(--surface-3, #fafafa); }
.fp-faq-q svg {
  flex-shrink: 0; color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fp-faq-item--open .fp-faq-q svg { transform: rotate(180deg); }
.fp-faq-item--open .fp-faq-q { background: var(--surface-3, #fafafa); }
.fp-faq-a {
  padding: 0 28px 24px; font-size: 15px;
  color: var(--text-muted); line-height: 1.75;
}

/* ─── CTA ─── */
.fp-cta-sec {
  background: linear-gradient(165deg, #0b1a3a 0%, #0d1f47 40%, #0a1530 100%);
  padding: 140px 0;
  position: relative; overflow: hidden;
}
.fp-cta-sec::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(59,130,246,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(244,123,32,.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 90%, rgba(59,130,246,.06) 0%, transparent 50%);
  pointer-events: none;
}
.fp-cta-sec::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='0.5' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.fp-cta-sec .fp-w { position: relative; z-index: 1; }

/* Layout: 2-column */
.fp-cta-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  text-align: left;
}

/* Eyebrow */
.fp-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(244,123,32,.25);
  border-radius: 100px;
  background: rgba(244,123,32,.06);
}

.fp-cta-h {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 48px); font-weight: 700;
  letter-spacing: -0.04em; color: #fff; margin: 0 0 20px;
  line-height: 1.15;
}
.fp-cta-p {
  font-size: 18px; color: rgba(180,200,230,.6);
  line-height: 1.75; margin: 0 0 40px;
  max-width: 480px;
}
.fp-cta-acts {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.fp-cta-note {
  font-size: 13px; color: rgba(140,170,210,.35);
  letter-spacing: 0.01em;
}

/* CTA orange button */
.fp-btn--cta {
  background: var(--cta); color: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(244,123,32,.3);
  transition: transform .2s, box-shadow .2s;
}
.fp-btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(244,123,32,.4);
}

/* Right card */
.fp-cta-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 40px 36px;
}
.fp-cta-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.fp-cta-card-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.fp-cta-card-list li {
  font-size: 15px;
  color: rgba(200,215,240,.75);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.fp-cta-card-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cta);
}
.fp-cta-card-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 28px 0;
}
.fp-cta-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
.fp-cta-card-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}
.fp-cta-card-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(160,185,220,.45);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .fp-grid-2x3 { grid-template-columns: repeat(2, 1fr); }
  .fp-kpis { grid-template-columns: repeat(3, 1fr); }
  .fp-scn-grid { grid-template-columns: repeat(3, 1fr); }
  .fp-cmp-head, .fp-cmp-row { grid-template-columns: 1fr 120px 120px; }
  .fp-sec { padding: 88px 0; }
  .fp-cta-layout { grid-template-columns: 1fr; gap: 48px; }
  .fp-cta-sec { padding: 100px 0; }
}
@media (max-width: 768px) {
  .fp-hero { padding: 80px 0 72px; }
  .fp-hero-h { font-size: clamp(28px, 8vw, 42px); }
  .fp-hero-p { margin-bottom: 40px; }
  .fp-hero-stats { flex-wrap: wrap; gap: 0; }
  .fp-hero-stat { padding: 0 24px 0 0; margin-bottom: 16px; }
  .fp-hero-stat:not(:last-child)::after { display: none; }
  .fp-hero-stat-v { font-size: 26px; }
  .fp-sec { padding: 64px 0; }
  .fp-w { padding: 0 20px; }
  .fp-grid-2x3 { grid-template-columns: 1fr; gap: 14px; }
  .fp-card { padding: 28px 24px; }
  .fp-cmp-head, .fp-cmp-row { grid-template-columns: 1fr 90px 90px; padding: 14px 18px; font-size: 13px; }
  .fp-scn-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-scn { padding: 24px; }
  .fp-kpis { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fp-steps { grid-template-columns: 1fr; }
  .fp-step { padding: 28px 24px; }
  .fp-cta-sec { padding: 80px 0; }
  .fp-cta-layout { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .fp-cta-p { max-width: 100%; }
  .fp-cta-acts { justify-content: center; }
  .fp-cta-card { padding: 32px 24px; }
  .fp-cta-card-stats { gap: 8px; }
  .fp-tab { padding: 9px 18px; font-size: 12px; }
  .fp-tabs { flex-wrap: wrap; }
  .fp-faq-q { padding: 18px 20px; font-size: 15px; }
  .fp-faq-a { padding: 0 20px 20px; }
}

