/* ================================================
   FZ-DESIGN.CSS — Fone Zone Design System
   Load AFTER style.css to override dark theme
   ================================================ */

:root {
  --fz-red: #cc0000;
  --fz-red-dark: #aa0000;
  --fz-black: #111111;
  --fz-white: #ffffff;
  --fz-gray-50: #f8f8f8;
  --fz-gray-100: #f0f0f0;
  --fz-gray-200: #e0e0e0;
  --fz-gray-600: #666666;
  --fz-gray-900: #111111;
  --fz-font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --fz-radius: 12px;
  --fz-radius-sm: 8px;
  --fz-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --fz-shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
}

/* ── GLOBAL OVERRIDES (public pages) ── */
body {
  font-family: var(--fz-font) !important;
  font-size: 16px;
}

/* ── HERO — White background ── */
.hero {
  background: var(--fz-white) !important;
  padding: 100px 2rem 60px !important;
}
.hero h1 {
  color: var(--fz-black) !important;
  font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
  letter-spacing: -0.03em !important;
}
.hero h1 strong { color: var(--fz-red) !important; }
.hero-p {
  color: var(--fz-gray-600) !important;
  font-size: 1.15rem !important;
}

/* ── HERO BUTTONS — Red primary ── */
.btn-dark {
  background: var(--fz-red) !important;
  color: var(--fz-white) !important;
  border-radius: 980px !important;
  padding: 1rem 2.2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  min-height: 52px;
  border: 2px solid var(--fz-red) !important;
  transition: all 0.2s !important;
}
.btn-dark:hover {
  background: var(--fz-red-dark) !important;
  transform: translateY(-1px) !important;
}
.btn-light {
  background: var(--fz-white) !important;
  color: var(--fz-red) !important;
  border: 2px solid var(--fz-red) !important;
  border-radius: 980px !important;
  padding: 1rem 2.2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  min-height: 52px;
}
.btn-light:hover {
  background: #fff0f0 !important;
}

/* ── TRUST BADGE BAR ── */
.trust-badge-bar {
  background: var(--fz-gray-50) !important;
  color: var(--fz-black) !important;
  border-bottom: 1px solid var(--fz-gray-200) !important;
  padding: 12px 2rem !important;
}
.trust-badge-bar span,
.trust-badge-bar a {
  color: var(--fz-black) !important;
  font-size: 0.85rem !important;
}
.trust-badge-bar a[href*="qualirepar"] {
  color: #1a7a4a !important;
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--fz-white) !important;
  border-bottom: 1px solid var(--fz-gray-200) !important;
}
.stat-num { color: var(--fz-black) !important; }
.stat-lbl { color: var(--fz-gray-600) !important; }

/* ── SECTIONS — Light theme ── */
.sec {
  background: var(--fz-white) !important;
  color: var(--fz-black) !important;
}
.sec:nth-of-type(even) {
  background: var(--fz-gray-50) !important;
}
.sec-eyebrow { color: var(--fz-red) !important; }
.sec-h {
  color: var(--fz-black) !important;
}
.sec-h strong { color: var(--fz-red) !important; }
.sec-p { color: var(--fz-gray-600) !important; }

/* ── SERVICE CARDS — White ── */
.srv-card {
  background: var(--fz-white) !important;
  border: 1px solid var(--fz-gray-200) !important;
  border-radius: var(--fz-radius) !important;
  box-shadow: var(--fz-shadow) !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.srv-card:hover {
  box-shadow: var(--fz-shadow-hover) !important;
  transform: translateY(-2px) !important;
}
.srv-h { color: var(--fz-black) !important; }
.srv-p { color: var(--fz-gray-600) !important; font-size: 14px !important; }
.srv-price { color: var(--fz-red) !important; }
.srv-tag {
  color: var(--fz-red) !important;
  background: #fff0f0 !important;
  border: 1px solid rgba(204,0,0,0.15) !important;
}
.svc-badge {
  background: var(--fz-red) !important;
  color: var(--fz-white) !important;
}

/* ── BADGES SECTION — Dark bg, white cards ── */
.sec[style*="background:#0c0c0c"] {
  background: var(--fz-black) !important;
}

/* ── PROCESS SECTION ── */
.proc-bg {
  background: var(--fz-gray-50) !important;
}
.proc-step {
  background: var(--fz-white) !important;
  border: 1px solid var(--fz-gray-200) !important;
  border-radius: var(--fz-radius) !important;
}
.proc-h { color: var(--fz-black) !important; }
.proc-p { color: var(--fz-gray-600) !important; }
.proc-icon {
  background: var(--fz-red) !important;
}

/* ── REVIEWS — Light bg ── */
.revs-bg {
  background: var(--fz-gray-50) !important;
}
.revs-bg .sec-h { color: var(--fz-black) !important; }
.revs-bg .sec-h strong { color: var(--fz-red) !important; }
.revs-bg .sec-eyebrow { color: var(--fz-gray-600) !important; }
.rev-big { color: var(--fz-black) !important; }
.rev-stars { color: #f0a500 !important; }
.rev-cnt { color: var(--fz-gray-600) !important; }
.rev-card {
  background: var(--fz-white) !important;
  border: 1px solid var(--fz-gray-200) !important;
  color: var(--fz-black) !important;
}
.rc-txt { color: var(--fz-black) !important; }
.rc-name { color: var(--fz-black) !important; }
.rc-date { color: var(--fz-gray-600) !important; }
.rc-badge { color: var(--fz-gray-600) !important; }

/* ── PRICING CARDS ── */
.pc {
  background: var(--fz-white) !important;
  border: 1px solid var(--fz-gray-200) !important;
  color: var(--fz-black) !important;
}
.pc.feat {
  border: 2px solid var(--fz-red) !important;
}
.pc-name, .pc-price { color: var(--fz-black) !important; }
.pc-desc { color: var(--fz-gray-600) !important; }
.pc-li { color: var(--fz-gray-600) !important; }
.pc-a-dark {
  background: var(--fz-red) !important;
  color: var(--fz-white) !important;
}
.pc-a-out {
  border-color: var(--fz-red) !important;
  color: var(--fz-red) !important;
}

/* ── FAQ ── */
.faq-bg {
  background: var(--fz-white) !important;
}
.faq-q {
  color: var(--fz-black) !important;
}
.faq-a {
  color: var(--fz-gray-600) !important;
}

/* ── CTA SECTION ── */
.cta-sec {
  background: var(--fz-gray-50) !important;
}
.cta-box {
  background: var(--fz-black) !important;
}

/* ── FOOTER — Keep dark ── */
footer {
  background: var(--fz-black) !important;
}

/* ── LIVE COUNTER — Subtle light ── */
#live-counter {
  background: var(--fz-gray-50) !important;
  border-bottom: 1px solid var(--fz-gray-200);
}
#live-counter span {
  color: var(--fz-black) !important;
}
#live-counter #live-count {
  color: var(--fz-red) !important;
}

/* ── MOBILE: min touch targets + readable text ── */
@media (max-width: 768px) {
  body { font-size: 16px !important; }
  button, a.nav-btn, .btn-dark, .btn-light, input, select, textarea {
    min-height: 48px !important;
    font-size: 16px !important; /* prevents iOS zoom */
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
    text-align: center !important;
  }
  .hero-p { text-align: center !important; }
  .hero-btns { justify-content: center !important; }
  .hero-proof { justify-content: center !important; }
  /* Ensure minimum font size */
  p, li, td, span, div { font-size: max(14px, inherit); }
  /* Spacing between clickable elements */
  .srv-card, .rev-card, .pc, .faq-it { margin-bottom: 12px !important; }
}

/* ── INPUT MODES (applied via CSS for visual hint) ── */
input[inputmode="tel"] { font-variant-numeric: tabular-nums; }
input[inputmode="numeric"] { font-variant-numeric: tabular-nums; }

/* ── SCROLL INTO VIEW on focus (mobile keyboard) ── */
@media (max-width: 768px) {
  input:focus, select:focus, textarea:focus {
    scroll-margin-top: 100px;
  }
}

/* ── STICKY MOBILE CTA BAR ── */
.fz-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  height: 56px;
  background: var(--fz-red);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.fz-mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--fz-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  height: 100%;
}
.fz-mobile-cta a + a {
  border-left: 1px solid rgba(255,255,255,0.2);
}
.fz-mobile-cta svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .fz-mobile-cta { display: flex !important; }
  footer { padding-bottom: 72px !important; }
  .seo-bar { padding-bottom: 72px !important; }
}

/* ── IMAGE OPTIMIZATION ── */
img {
  max-width: 100%;
  height: auto;
}
img[loading="lazy"] {
  content-visibility: auto;
}

/* ── Price table ── */
.fz-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.fz-price-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--fz-gray-50);
  font-weight: 700;
  border-bottom: 2px solid var(--fz-gray-200);
}
.fz-price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--fz-gray-100);
}
.fz-price-table td:last-child {
  font-weight: 700;
  color: var(--fz-red);
  text-align: right;
}
