/*
Theme Name: FixMate Pro
Theme URI: https://societysaga.com/
Author: SocietySaga
Description: A premium home-services WordPress theme with WhatsApp booking, service detail pages with pricing & FAQ, user login, and saved address. Professional, modern design inspired by leading US/EU service platforms.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: fixmate-pro
*/

/* ───────────────────────────────────────────────────────────────────────────
   DESIGN TOKENS
─────────────────────────────────────────────────────────────────────────── */
:root {
  --c-bg:           #f8f9fc;
  --c-white:        #ffffff;
  --c-surface:      #ffffff;
  --c-surface2:     #f4f6fb;
  --c-border:       #e8ecf4;
  --c-text:         #0f172a;
  --c-text2:        #334155;
  --c-muted:        #64748b;
  --c-accent:       #1d6ef5;
  --c-accent-dark:  #1455cc;
  --c-accent-light: #eff4ff;
  --c-green:        #16a34a;
  --c-green-light:  #dcfce7;
  --c-wa:           #25d366;
  --c-wa-dark:      #128c4e;
  --c-gold:         #f59e0b;
  --c-red:          #dc2626;

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-2xl: 32px;

  --shadow-sm:  0 1px 4px rgba(15,23,42,.06);
  --shadow:     0 4px 20px rgba(15,23,42,.08);
  --shadow-lg:  0 16px 48px rgba(15,23,42,.12);
  --shadow-xl:  0 32px 80px rgba(15,23,42,.16);

  --max:      1200px;
  --max-text: 760px;

  --font-head: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(.22,.68,0,1.2);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── LAYOUT ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.02em;
}
.nav-brand-name span { color: var(--c-accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
  transition: all .2s;
}
.nav-links a:hover { color: var(--c-text); background: var(--c-surface2); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: all .2s;
}
.nav-user-btn:hover { color: var(--c-accent); border-color: var(--c-accent); }
.nav-user-btn svg { width: 16px; height: 16px; }
.nav-wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--c-wa);
  transition: all .2s;
  box-shadow: 0 2px 12px rgba(37,211,102,.3);
}
.nav-wa-btn:hover { background: var(--c-wa-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,211,102,.4); }
.nav-wa-btn svg { width: 16px; height: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: .3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: all .22s var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29,110,245,.28);
}
.btn-primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,110,245,.36); }
.btn-secondary {
  background: var(--c-white);
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-wa {
  background: var(--c-wa);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-wa:hover { background: var(--c-wa-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.btn-outline {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
}
.btn-outline:hover { background: var(--c-accent-light); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-block { display: flex; width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #f0f5ff 0%, #f8f9fc 50%, #fff8f0 100%);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,110,245,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--c-accent-light);
  border: 1px solid rgba(29,110,245,.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--c-text);
  margin-bottom: 20px;
}
.hero h1 mark {
  background: linear-gradient(135deg, var(--c-accent), #6c3bef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  color: var(--c-text2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
}
.hero-trust-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--c-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-card-main {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px;
  border: 1px solid var(--c-border);
  overflow: hidden;
}
.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.hero-card-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}
.hero-card-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--c-green-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-green);
}
.hero-card-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-service-list { display: flex; flex-direction: column; gap: 12px; }
.hero-service-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--c-surface2);
  border-radius: var(--radius);
  transition: .2s;
}
.hero-service-row:hover { background: var(--c-accent-light); }
.hero-service-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-service-info { flex: 1; }
.hero-service-name { font-size: 14px; font-weight: 700; }
.hero-service-time { font-size: 12px; color: var(--c-muted); }
.hero-service-price { font-size: 14px; font-weight: 700; color: var(--c-green); }

.hero-float-card {
  position: absolute;
  right: -20px;
  bottom: -16px;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  border: 1px solid var(--c-border);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero-float-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stars { color: var(--c-gold); font-size: 14px; letter-spacing: 1px; }
.hero-float-num { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.hero-float-label { font-size: 12px; color: var(--c-muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════════════════════════════════════ */
.section { padding: 80px 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--c-text);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE CARDS (HOME PAGE)
═══════════════════════════════════════════════════════════════════════════ */
.services-bg { background: var(--c-white); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), #6c3bef);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.sc-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}
.sc-desc {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  gap: 8px;
}
.sc-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-green);
  background: var(--c-green-light);
  padding: 4px 10px;
  border-radius: 999px;
}
.sc-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.service-card:hover .sc-link { gap: 8px; }

/* Add-to-order button */
.btn-add-order {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: var(--c-accent-light);
  color: var(--c-accent);
  border: 1.5px solid rgba(29,110,245,.25);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-add-order:hover { background: var(--c-accent); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════════════════ */
.process-bg { background: var(--c-bg); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.process-step {
  position: relative;
  padding: 28px;
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: all .25s;
}
.process-step:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.process-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--c-border);
  z-index: 1;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent), #6c3bef);
  color: #fff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-desc { font-size: 14px; color: var(--c-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   WHY US
═══════════════════════════════════════════════════════════════════════════ */
.why-bg { background: var(--c-white); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.why-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  padding: 24px;
  background: var(--c-surface2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: .25s;
}
.feature-card:hover { border-color: var(--c-accent); background: var(--c-accent-light); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--c-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════════════ */
.testimonials-bg { background: var(--c-bg); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.t-stars { color: var(--c-gold); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.t-text { font-size: 15px; line-height: 1.7; color: var(--c-text2); margin-bottom: 20px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.t-name { font-size: 14px; font-weight: 700; }
.t-loc { font-size: 12px; color: var(--c-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════════════════ */
.faq-bg { background: var(--c-white); border-top: 1px solid var(--c-border); }
.faq-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--c-surface2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}
details.faq-item[open] { border-color: var(--c-accent); }
details.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  color: var(--c-text);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform .3s;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body { padding: 0 24px 20px; font-size: 15px; color: var(--c-muted); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 0; background: var(--c-bg); }
.cta-banner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.cta-inner {
  background: linear-gradient(135deg, #0f172a 0%, #1d3a6e 100%);
  border-radius: var(--radius-2xl);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(29,110,245,.15);
  pointer-events: none;
}
.cta-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.cta-title { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: -.02em; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,.65); }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,.8);
  padding: 64px 0 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-wa-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-wa);
  transition: color .2s;
}
.footer-wa-link:hover { color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
═══════════════════════════════════════════════════════════════════════════ */
.wa-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,.45);
  cursor: pointer;
  border: none;
  transition: all .3s var(--ease-out);
  animation: waFloat 3.5s ease-in-out infinite;
}
@keyframes waFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.wa-float-btn:hover { transform: scale(1.12) translateY(-3px) !important; box-shadow: 0 14px 40px rgba(37,211,102,.55); }
.wa-float-btn svg { width: 28px; height: 28px; }
.wa-float-tooltip {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 300;
  background: #0f172a;
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: all .25s;
  white-space: nowrap;
}
.wa-float-btn:hover + .wa-float-tooltip { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════════════
   ORDER DRAWER (multi-service WhatsApp cart)
═══════════════════════════════════════════════════════════════════════════ */
.ss-order-launcher {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 300;
}
.ss-order-launcher-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(29,110,245,.35);
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.ss-order-launcher-btn:hover { background: var(--c-accent-dark); transform: translateY(-2px); }
.ss-order-launcher-count {
  background: #fff;
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}
.ss-order-drawer { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.ss-order-drawer.is-open { pointer-events: all; }
.ss-order-drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.5);
  opacity: 0; transition: opacity .25s;
  backdrop-filter: blur(4px);
}
.ss-order-drawer.is-open .ss-order-drawer-backdrop { opacity: 1; }
.ss-order-drawer-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--c-white);
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .3s cubic-bezier(.25,.8,.25,1);
  box-shadow: var(--shadow-xl);
}
.ss-order-drawer.is-open .ss-order-drawer-panel { transform: translateX(0); }
.ss-order-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--c-border);
}
.ss-order-drawer-head h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.ss-order-close { font-size: 28px; line-height: 1; color: var(--c-muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.ss-order-close:hover { background: var(--c-surface2); color: var(--c-text); }
.ss-order-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.ss-order-empty { font-size: 14px; color: var(--c-muted); }
.ss-order-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.ss-order-item:last-child { border-bottom: none; }
.ss-order-item-title { font-weight: 700; font-size: 14px; }
.ss-order-item-price { font-size: 13px; color: var(--c-green); }
.ss-order-item-actions { display: flex; align-items: center; gap: 8px; }
.ss-qty-btn { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--c-border); background: var(--c-surface2); font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .15s; }
.ss-qty-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.ss-qty { min-width: 22px; text-align: center; font-weight: 700; }
.ss-order-remove { color: var(--c-red); font-size: 20px; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.ss-order-remove:hover { background: #fef2f2; }
.ss-order-drawer-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--c-border);
  display: flex; gap: 10px; align-items: center;
}
.ss-order-drawer-foot .btn { flex: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   LOGIN / REGISTER MODAL
═══════════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--c-white);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: modalIn .3s var(--ease-out);
  box-shadow: var(--shadow-xl);
}
@keyframes modalIn { from{opacity:0;transform:scale(.92) translateY(16px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--c-surface2);
  color: var(--c-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  border: none;
  transition: .2s;
}
.modal-close-btn:hover { background: var(--c-border); color: var(--c-text); }
.modal-title { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--c-muted); margin-bottom: 28px; }
.modal-tabs {
  display: flex;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--c-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: .2s;
}
.modal-tab.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.modal-form { display: none; flex-direction: column; gap: 16px; }
.modal-form.active { display: flex; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--c-text2); }
.form-input {
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 15px;
  background: var(--c-surface2);
  color: var(--c-text);
  transition: border-color .2s;
  outline: none;
}
.form-input:focus { border-color: var(--c-accent); background: var(--c-white); }
.form-input::placeholder { color: var(--c-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-divider { display: flex; align-items: center; gap: 12px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.form-divider span { font-size: 12px; color: var(--c-muted); }
.modal-msg { display: none; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.modal-msg.success { background: var(--c-green-light); color: var(--c-green); display: block; }
.modal-msg.error { background: #fef2f2; color: var(--c-red); display: block; }
/* address section inside profile */
.address-list { display: flex; flex-direction: column; gap: 12px; }
.address-card {
  padding: 16px;
  background: var(--c-surface2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 14px;
  position: relative;
}
.address-card.default { border-color: var(--c-accent); background: var(--c-accent-light); }
.address-default-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.address-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGE (single-ss_service.php)
═══════════════════════════════════════════════════════════════════════════ */
.service-page { max-width: var(--max); margin: 0 auto; padding: 40px 24px 100px; }
.service-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-muted);
  margin-bottom: 32px;
}
.service-breadcrumbs a { font-weight: 600; color: var(--c-text2); transition: color .2s; }
.service-breadcrumbs a:hover { color: var(--c-accent); }
.service-breadcrumbs span { color: var(--c-border); }

.service-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--c-accent-light);
  border: 1px solid rgba(29,110,245,.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.service-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.service-tagline { font-size: 18px; color: var(--c-text2); margin-bottom: 24px; }
.service-meta-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.svc-pill {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  background: var(--c-surface2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  min-width: 120px;
}
.svc-pill-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); margin-bottom: 4px; font-weight: 700; }
.svc-pill-val { font-size: 17px; font-weight: 800; color: var(--c-text); font-family: var(--font-head); }
.service-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }

.service-hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c-accent-light), #ede9fe);
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: 90px;
}
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-hero-media-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  height: 100%;
}

.service-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.service-content { font-size: 16px; line-height: 1.75; color: var(--c-text2); }
.service-content h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
  margin: 32px 0 12px;
}
.service-content p { margin-bottom: 14px; }
.service-content ul, .service-content ol { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.service-content ul li, .service-content ol li { margin-bottom: 6px; }

.service-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.svc-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.svc-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.svc-features { display: flex; flex-direction: column; gap: 10px; }
.svc-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--c-text2);
}
.svc-feature::before {
  content: '';
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-green-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}
.svc-cta-card { border-color: var(--c-accent); background: var(--c-accent-light); }
.svc-cta-card p { font-size: 14px; color: var(--c-text2); margin-bottom: 16px; }
.svc-cta-card .btn + .btn { margin-top: 8px; }

/* Service page FAQ */
.svc-faq { margin-top: 56px; }
.svc-faq h2 { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 24px; letter-spacing: -.02em; }

/* Pricing table */
.pricing-table { border-collapse: collapse; width: 100%; margin: 20px 0; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--c-border); }
.pricing-table th { background: var(--c-surface2); padding: 12px 16px; font-size: 13px; font-weight: 700; text-align: left; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1.5px solid var(--c-border); }
.pricing-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--c-border); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .price-val { font-weight: 700; color: var(--c-green); }

/* Related services */
.service-related { margin-top: 72px; }
.service-related h2 { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin-bottom: 24px; letter-spacing: -.02em; }

/* Service grid link cards */
.service-card-link { text-decoration: none; color: inherit; }
.service-card-price {
  display: inline-block;
  background: var(--c-green-light);
  color: var(--c-green);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE ARCHIVE
═══════════════════════════════════════════════════════════════════════════ */
.service-archive { max-width: var(--max); margin: 0 auto; padding: 60px 24px 100px; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .service-body { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--c-white); border-bottom: 1px solid var(--c-border); padding: 12px 24px 20px; z-index: 199; box-shadow: var(--shadow-lg); gap: 4px; }
  .nav-links.open a { padding: 10px 12px; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-float-card { right: 0; bottom: -8px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .service-hero { grid-template-columns: 1fr; gap: 32px; }
  .service-hero-media { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; padding: 40px 28px; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .why-features { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
}
@media (max-width: 480px) {
  .nav-wa-btn .nav-wa-label { display: none; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
  .modal-box { padding: 28px 20px; }
  .ss-order-launcher { left: 16px; bottom: 20px; }
  .wa-float-btn { right: 20px; bottom: 90px; }
  .hero-float-card { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS v2.1
   Performance: contain, will-change, prefers-reduced-motion guards
   Feel: micro-interactions, refined shadows, glass morphism accents
═══════════════════════════════════════════════════════════════════════════ */

/* ── Performance containment ── */
.service-card, .feature-item, .testimonial-card, .process-step {
  contain: layout style;
}

/* ── Smoother transitions site-wide ── */
.btn, .nav-wa-btn, .nav-user-btn, .service-card,
.feature-item, .faq-item, .address-card {
  transition: transform 0.22s cubic-bezier(.22,.68,0,1.2),
              box-shadow 0.22s ease,
              background 0.18s ease,
              border-color 0.18s ease;
}
@media (prefers-reduced-motion: reduce) {
  .btn, .nav-wa-btn, .nav-user-btn, .service-card,
  .feature-item, .faq-item, .address-card {
    transition: none;
  }
}

/* ── Premium card hover lift ── */
.service-card:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 20px 56px rgba(15,23,42,.13);
  border-color: var(--c-accent);
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ── Button micro-interactions ── */
.btn:active { transform: scale(0.97); }
.btn-wa:hover {
  background: var(--c-wa-dark);
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  box-shadow: 0 8px 28px rgba(29,110,245,.3);
}

/* ── WhatsApp float button premium glow ── */
.wa-float-btn {
  box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 1px 6px rgba(0,0,0,.12);
  transition: transform 0.22s cubic-bezier(.22,.68,0,1.2),
              box-shadow 0.22s ease;
}
.wa-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.55), 0 2px 8px rgba(0,0,0,.14);
}

/* ── Form input focus ring ── */
.form-input:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(29,110,245,.15);
}
.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--c-red);
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

/* ── Modal glass effect ── */
.modal-overlay {
  backdrop-filter: blur(6px) saturate(1.4);
  -webkit-backdrop-filter: blur(6px) saturate(1.4);
}
.modal-box {
  box-shadow: 0 32px 80px rgba(15,23,42,.22), 0 0 0 1px rgba(255,255,255,.6) inset;
}

/* ── Navigation premium sticky with frosted glass ── */
.site-header {
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(232,236,244,.8);
}

/* ── Modal success/error messages ── */
.modal-msg.success {
  background: var(--c-green-light);
  color: var(--c-green);
  border-left: 3px solid var(--c-green);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: block;
}
.modal-msg.error {
  background: #fef2f2;
  color: var(--c-red);
  border-left: 3px solid var(--c-red);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  display: block;
}
.modal-msg:empty { display: none; }

/* ── Loading spinner on disabled buttons ── */
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

/* ── Address card hover ── */
.address-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 4px 16px rgba(29,110,245,.1);
}

/* ── Section headings tracking ── */
.section-title {
  letter-spacing: -0.03em;
}

/* ── Pricing table hover row ── */
.pricing-table tbody tr:hover td {
  background: var(--c-accent-light);
}

/* ── FAQ item premium ── */
.faq-item {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  border-color: var(--c-accent);
  box-shadow: 0 4px 16px rgba(29,110,245,.08);
}

/* ── Image lazy loading blur-up ── */
img {
  image-rendering: -webkit-optimize-contrast;
}
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ── Testimonial card subtle gradient border ── */
.testimonial-card {
  background: linear-gradient(var(--c-white), var(--c-white)) padding-box,
              linear-gradient(135deg, rgba(29,110,245,.12), rgba(37,211,102,.08)) border-box;
  border: 1.5px solid transparent;
  transition: transform 0.22s cubic-bezier(.22,.68,0,1.2), box-shadow 0.22s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,23,42,.1);
}

/* ── Process step connector premium ── */
.process-step::after {
  background: linear-gradient(90deg, var(--c-accent), var(--c-wa));
  opacity: 0.35;
}

/* ── Skeleton loading for address list ── */
@keyframes fm-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.fm-skeleton {
  background: linear-gradient(90deg, var(--c-border) 25%, var(--c-surface2) 50%, var(--c-border) 75%);
  background-size: 400px 100%;
  animation: fm-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
  height: 16px;
}
