/*
 * iFix Cellfone — global.css  v6.0
 * Font scaling, layout fixes, dark mode, responsive
 */

/* ── FONT BASE — bumped up ── */
html { font-size: 18px; }
@media (max-width: 900px) { html { font-size: 17px; } }
@media (max-width: 480px) { html { font-size: 16px; } }

/* ── GLOBAL CONTAINER — ensures nothing touches screen edges ── */
.wrap, .ifix-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
}

/* Ensure all section padding is generous */
section, .site-footer .ftr-grid {
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
}

/* ── TYPOGRAPHY SCALE ── */
body { font-size: 1rem; line-height: 1.72; }

p, li, td, th { font-size: 1rem; }

/* Headings */
h1, h1.hero-h1, h1.pg-h1 {
  font-size: clamp(2.6rem, 6vw, 5rem) !important;
  line-height: 1.04 !important;
}
h2, .s-h2, .s-title, .ifix-h2 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.1 !important;
}
h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem) !important;
  line-height: 1.25 !important;
}

/* Section subtext */
.s-sub, .s-lead, .hero-sub, .pg-sub, .eb-sub {
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
}

/* Nav & small UI text */
.main-nav a, .main-nav button,
.ifix-nav > li > a, .ifix-nav > li > button {
  font-size: 0.88rem !important;
}

/* Card body text */
.hiw-card p, .svc p, .why-card p,
.sl-card p, .faq-ai, .reach-item p,
.rv blockquote, .ccard-note,
.expect-item p {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
}

/* Badge / tag text */
.stag, .bpill, .s-eyebrow, .s-lbl,
.tb-badge-text, .hst-l, .sc-t2,
.ftr-col a, .ftr-bottom .ftr-copy {
  font-size: 0.82rem !important;
}

/* Button text */
.btn-primary, .btn-outline, .btn-r, .btn-w,
.hdr-book, .hdr-call, .nav-book-btn,
.mbb-call, .mbb-book {
  font-size: 0.95rem !important;
}

/* ── DARK MODE — html.dark token overrides ── */
html.dark {
  --bg:  #111009;
  --s1:  #181410;
  --s2:  #201c16;
  --s3:  #2a2420;
  --s4:  #3a322a;
  --ink: #f0ebe3;
  --mid: #b0a090;
  --dim: #7a6e62;
}
html.dark body {
  background: #111009;
  color: #f0ebe3;
  transition: background .3s, color .3s;
}

/* Dark: section backgrounds */
html.dark .hiw, html.dark .faqs, html.dark .why,
html.dark .city-services, html.dark .faq-section-group,
html.dark .contact-info-section, html.dark .contact-cards-section,
html.dark .contact-areas, html.dark .booking-wrap,
html.dark .city-nearby, html.dark .reviews-hero,
html.dark .faq-pg-hero, html.dark .areas-intro {
  background: #111009 !important;
}
html.dark .svcs, html.dark .why, html.dark .city-why,
html.dark .areas-intro, html.dark .reviews {
  background: #181410 !important;
}
html.dark .hero, html.dark .pg-hero, html.dark .city-hero,
html.dark .areas-hero, html.dark .contact-hero,
html.dark .booking-wrap {
  background: linear-gradient(150deg,#181410 0%,#111009 55%,#201c16 100%) !important;
  border-bottom-color: #2a2420 !important;
}

/* Dark: cards */
html.dark .hiw-card, html.dark .svc, html.dark .why-card,
html.dark .rv, html.dark .faq-list, html.dark .faq-item,
html.dark .sl-card, html.dark .area-card, html.dark .city-why-card,
html.dark .city-svc-item, html.dark .expect-item,
html.dark .hours-card, html.dark .svc-opt, html.dark .c-alt,
html.dark .ccard, html.dark .booking-card, html.dark .contact-areas-city {
  background: #181410 !important;
  border-color: #2a2420 !important;
}

/* Dark: grids (border lines between cells) */
html.dark .svc-grid, html.dark .svc-list-grid, html.dark .hiw-grid {
  background: #2a2420 !important;
}

/* Dark: text */
html.dark h1, html.dark h2, html.dark h3, html.dark h4,
html.dark .s-title, html.dark .s-h2, html.dark .logo-name,
html.dark .ccard-main, html.dark .cwc-h, html.dark .csi-h,
html.dark .hiw-card h3, html.dark .svc h3, html.dark .why-card h3,
html.dark .faq-btn { color: #f0ebe3 !important; }

html.dark p, html.dark .s-lead, html.dark .s-sub, html.dark .hero-sub,
html.dark .pg-sub, html.dark .hiw-card p, html.dark .svc p,
html.dark .why-card p, html.dark .faq-ai, html.dark .ccard-note,
html.dark .faq-ai a { color: #b0a090 !important; }

/* Dark: service star card stays red */
html.dark .svc.star { background: #e8192c !important; }
html.dark .svc.star h3, html.dark .svc.star p { color: #fff !important; }
html.dark .svc.star .stag {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.2) !important;
}

/* Dark: header */
html.dark .site-header { background: rgba(17,16,9,.96) !important; border-bottom-color: #2a2420 !important; }
html.dark .main-nav a, html.dark .main-nav button { color: #b0a090 !important; }
html.dark .main-nav a:hover, html.dark .main-nav button:hover { background: #201c16 !important; color: #f0ebe3 !important; }
html.dark .logo-name { color: #f0ebe3 !important; }
html.dark .hdr-call { color: #f0ebe3 !important; border-color: #3a322a !important; }
html.dark .mega-drop { background: #181410 !important; border-color: #2a2420 !important; }
html.dark .drop-item { color: #b0a090 !important; }
html.dark .drop-item:hover { background: #201c16 !important; color: #f0ebe3 !important; }
html.dark .drop-ico { background: #201c16 !important; }
html.dark .di-name { color: #f0ebe3 !important; }
html.dark .drop-footer { border-top-color: #2a2420 !important; }
html.dark .drop-footer a { background: #201c16 !important; color: #b0a090 !important; }

/* Dark: mobile drawer */
html.dark .mobile-drawer { background: #111009 !important; }
html.dark .dsvc { background: #201c16 !important; border-color: #2a2420 !important; color: #b0a090 !important; }
html.dark .dlink { color: #f0ebe3 !important; border-bottom-color: #2a2420 !important; }
html.dark .dl { color: #7a6e62 !important; border-bottom-color: #2a2420 !important; }

/* Dark: buttons */
html.dark .btn-outline, html.dark .btn-w {
  background: transparent !important; border-color: #3a322a !important; color: #f0ebe3 !important;
}
html.dark .btn-outline:hover, html.dark .btn-w:hover { border-color: #e8192c !important; color: #e8192c !important; }

/* Dark: forms */
html.dark input, html.dark select, html.dark textarea {
  background: #201c16 !important; border-color: #2a2420 !important; color: #f0ebe3 !important;
}
html.dark input:focus, html.dark select:focus, html.dark textarea:focus { border-color: #e8192c !important; }

/* Dark: FAQ */
html.dark .faq-btn { color: #f0ebe3 !important; }
html.dark .faq-btn:hover { color: #e8192c !important; background: rgba(232,25,44,.08) !important; }
html.dark .faq-item { border-bottom-color: #2a2420 !important; }

/* Dark: tags */
html.dark .stag, html.dark .bpill {
  background: #201c16 !important; border-color: #2a2420 !important; color: #b0a090 !important;
}

/* Dark: hero floating cards */
html.dark .hf, html.dark .hero-float {
  background: #181410 !important; border-color: #2a2420 !important;
}

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 3px solid rgba(232, 25, 44, 0.95);
  outline-offset: 3px;
  border-radius: 6px;
  box-shadow: 0 0 0 6px rgba(232, 25, 44, 0.12);
}
:focus:not(:focus-visible) { outline: none; }

/* ── PREMIUM POLISH ── */
::selection {
  background: rgba(232, 25, 44, 0.14);
  color: inherit;
}
html.dark ::selection {
  background: rgba(232, 25, 44, 0.28);
}

/* ── DISABLE OLD FLOATING BUTTON (replaced by mobile bottom bar) ── */
.ifix-float, #ifix-float { display: none !important; }

/* ── PRINT ── */
@media print {
  .site-header, .topbar, .mobile-drawer,
  .mobile-bottom-bar, #dm-toggle, #dm-switch,
  .hamburger { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* ── SLIDER FADE ANIMATION ── */
@keyframes sliderFade {
  0%   { opacity: 0; transform: scale(1.04); }
  8%   { opacity: 1; transform: scale(1); }
  33%  { opacity: 1; transform: scale(1); }
  41%  { opacity: 0; transform: scale(0.98); }
  100% { opacity: 0; transform: scale(1.04); }
}
