@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--font-sans:'Plus Jakarta Sans','DM Sans',Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;--ink:#10131a;--muted:#69717e;--line:#e6e9ee;--paper:#f5f7fa;--white:#fff;--lime:#0878ef;--green:#0878ef;--dark:#090c12;--red:#bf3838;--shadow:0 12px 35px rgba(18,27,43,.07)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-sans);font-size:15px;line-height:1.55;overflow-x:hidden}h1,h2,h3,h4,h5,h6{font-family:var(--font-sans);letter-spacing:-.035em;line-height:1.15;margin:0 0 12px}button,input,select,textarea{font-family:var(--font-sans)}h1{font-size:clamp(32px,5vw,54px)}h2{font-size:clamp(24px,3vw,34px)}h3{font-size:20px}p{margin:0 0 14px;color:var(--muted)}a{color:inherit;text-decoration:none}.page-wrap{max-width:1240px;width:calc(100% - 36px);margin:32px auto 58px;min-height:65vh}.site-foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px clamp(18px,4vw,56px);background:#0a0d13;color:#9aa2af;font-size:12px}.btn{border:0;border-radius:10px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--lime);color:#fff;font-weight:700;font-size:14px;font-family:var(--font-sans);line-height:1.2;cursor:pointer;transition:.2s;white-space:nowrap}.btn:hover{transform:translateY(-1px);filter:brightness(.97)}.btn-dark{background:#11151d;color:white}.btn-light{background:#fff;color:#161a21}.btn-outline{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn-sm{padding:8px 12px;font-size:12px}.btn-block{width:100%}.hero{background:linear-gradient(120deg,#0a0d13,#1b2229);color:#fff;border-radius:24px;padding:clamp(26px,5vw,62px);display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;overflow:hidden}.eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#8b9b4c;font-weight:800}.hero h1 span{color:var(--lime)}.hero p{color:#b7bfca;max-width:500px}.hero-visual{min-height:320px;border-radius:20px;background:#171d23 url("../images/hero-car-care.jpg") center 38%/cover no-repeat;position:relative;display:grid;place-items:center;overflow:hidden}.hero-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#080a0d99,transparent 65%)}.hero-visual .car-art{display:none}.car-art{font-size:clamp(70px,12vw,145px);filter:drop-shadow(0 25px 18px #0009);transform:rotate(-5deg)}.float-card{position:absolute;bottom:20px;left:20px;right:20px;background:#fff;color:#151a20;border-radius:14px;padding:14px 17px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.float-card strong{display:block;font-size:14px}.float-card span{color:#68717e}.grid{display:grid;gap:18px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.section{margin-top:30px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.section-head p{margin:0}.card,.panel,.stat{background:#fff;border:1px solid #edf0f4;border-radius:18px;padding:22px;box-shadow:var(--shadow)}.service-icon{width:44px;height:44px;border-radius:14px;background:#e7f1ff;color:#0878ef;display:grid;place-items:center;font-size:22px;margin-bottom:16px}.card p{font-size:13px}.price{font-weight:800;font-size:24px;font-family:var(--font-sans);color:#171b22}.muted{color:var(--muted)}.tag{display:inline-flex;background:#f1f3f6;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}.text-link{color:#0878ef;font-weight:700;font-size:13px}.tag-pending{background:#fff3d7;color:#936300}.tag-confirmed,.tag-completed,.tag-active{background:#e6f7e9;color:#1c793b}.tag-cancelled,.tag-failed{background:#ffebeb;color:#a72d2d}.tag-assigned,.tag-in_progress{background:#e9efff;color:#2e56a5}.form-card{max-width:760px;margin:0 auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}label{font-size:12px;font-weight:700;color:#3b4350}input,select,textarea{width:100%;border:1px solid #dce1e8;background:#fff;padding:12px 13px;border-radius:10px;font-size:14px;font-family:var(--font-sans);color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--electric-blue);box-shadow:0 0 0 3px rgba(8,123,255,.15)}textarea{min-height:95px;resize:vertical}.form-actions{display:flex;gap:12px;align-items:center;margin-top:18px}.alert{padding:13px 16px;border-radius:12px;margin-bottom:18px;font-size:13px}.alert-success{background:#e6f7e9;color:#1c793b}.alert-error{background:#ffebeb;color:#a72d2d}.alert-info{background:#e9efff;color:#2e56a5}.stat{padding:20px}.stat-label{font-size:12px;color:var(--muted)}.stat-value{font-weight:800;font-size:28px;font-family:var(--font-sans);margin:8px 0 3px}.stat-note{font-size:11px;color:var(--muted)}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:15px}table{width:100%;border-collapse:collapse;min-width:700px}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid #edf0f4;font-size:12px;vertical-align:middle}th{background:#fafbfc;color:#727b88;font-size:10px;letter-spacing:.1em;text-transform:uppercase}tr:last-child td{border-bottom:0}.table-title{font-weight:700;font-size:13px}.table-sub{font-size:11px;color:var(--muted);margin-top:3px}.page-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.page-title p{margin:0}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.filters input,.filters select{width:auto;min-width:150px}.inline-form{display:flex;gap:8px;align-items:center}.inline-form select{min-width:145px;padding:8px}.empty{padding:38px;text-align:center}.empty-icon{font-size:32px;margin-bottom:8px}.two-col{display:grid;grid-template-columns:1fr 330px;gap:20px}.booking-detail{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-item{padding:14px;background:#f7f8fa;border-radius:11px}.detail-item small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:4px}.detail-item strong{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline{border-left:2px solid #e5e9ef;padding-left:18px;margin-left:6px}.timeline-item{position:relative;padding-bottom:18px}.timeline-item:before{content:'';position:absolute;left:-24px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--green);border:3px solid #f0f5d9}.timeline-item small{display:block;color:var(--muted);font-size:11px}.kicker{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#89964c}.notice{border:1px solid #e7eebd;background:#fbfce9;padding:14px 16px;border-radius:12px;color:#59642a;font-size:12px}.login-shell{max-width:470px;margin:30px auto}.login-logo{display:flex;justify-content:center;margin-bottom:22px}.check-row{display:flex;align-items:center;gap:8px}.check-row input{width:auto}.actions{display:flex;gap:8px;flex-wrap:wrap}.admin-note{font-size:11px;color:#8a929d;margin-top:18px}@media(max-width:950px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:1fr}.hero-visual{min-height:250px}.two-col{grid-template-columns:1fr}}@media(max-width:600px){.page-wrap{width:calc(100% - 22px);margin:16px auto 35px}.hero{padding:25px 20px;border-radius:17px}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.form-grid,.booking-detail{grid-template-columns:1fr}.field.full{grid-column:auto}.card,.panel{padding:18px}.page-title,.section-head{align-items:start;flex-direction:column}.site-foot{padding:22px 16px}.form-actions{flex-direction:column;align-items:stretch}.form-actions .btn{width:100%}.stat-value{font-size:24px}}

.plan-features{padding-left:18px;margin:14px 0 20px;color:#525b68;font-size:12px}.plan-features li{margin:8px 0}.plan-features li::marker{color:#0878ef}

/* --- Rich Multi-Column Footer --- */
.site-footer-rich {
  background: #07090d;
  color: #9aa2af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}
.site-footer-rich .footer-wrap {
  max-width: 1240px;
  width: calc(100% - 36px);
  margin: 0 auto;
  padding: 54px 0 32px;
}
.site-footer-rich .footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
  align-items: start;
}
.site-footer-rich .footer-brand,
.site-footer-rich .footer-col {
  min-width: 0;
}
.site-footer-rich .footer-brand p {
  color: #808a99;
  font-size: 13px;
  line-height: 1.65;
  margin: 12px 0 14px;
  max-width: 320px;
}
.site-footer-rich .footer-brand .brand-logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 8px;
  display: block;
}
.site-footer-rich .footer-contact {
  margin-top: 10px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
}
.site-footer-rich .footer-contact-row {
  margin-top: 4px;
}
.site-footer-rich .footer-phone {
  color: #ffffff;
  font-weight: 700;
}
.site-footer-rich .footer-whatsapp {
  color: #25d366;
  font-weight: 700;
}
.site-footer-rich .footer-email {
  color: #cbd5e1;
}
.site-footer-rich .footer-motto {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.site-footer-rich h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer-rich ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer-rich ul a {
  color: #959ea9;
  font-size: 13px;
  line-height: 1.45;
  transition: color 0.18s;
  display: inline-block;
  overflow-wrap: break-word;
}
.site-footer-rich ul a:hover {
  color: #ffffff;
}
.site-footer-rich .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #6b7482;
}
.site-footer-rich .footer-bottom a {
  color: inherit;
  text-decoration: none;
}
.site-footer-rich .footer-bottom a:hover {
  color: #ffffff;
}

/* --- Gallery & Showcase Cards --- */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.gallery-card{background:#fff;border:1px solid #edf0f4;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease}
.gallery-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(18,27,43,.1)}
.gallery-visual{min-height:210px;background:#171d23;display:grid;place-items:center;position:relative;overflow:hidden}
.gallery-badge{position:absolute;top:12px;left:12px;background:rgba(8,12,18,.8);color:#fff;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.04em}
.gallery-body{padding:20px}
.gallery-body h3{font-size:18px;margin-bottom:6px}
.gallery-body p{font-size:13px;margin:0;color:var(--muted)}

/* --- FAQ Accordion / Cards --- */
.faq-list{display:grid;gap:16px}
.faq-item{background:#fff;border:1px solid #edf0f4;border-radius:16px;padding:22px 24px;box-shadow:var(--shadow)}
.faq-item h3{font-size:17px;margin:0 0 10px;color:var(--ink);display:flex;align-items:center;gap:10px}
.faq-item h3 .q-mark{display:inline-grid;place-items:center;width:24px;height:24px;background:#e7f1ff;color:var(--lime);border-radius:50%;font-size:12px;font-weight:800;flex-shrink:0}
.faq-item p{margin:0;font-size:14px;line-height:1.65;color:#545d6a}

/* Tablet Footer (769px – 950px): Balanced two-column grid */
@media (max-width: 950px) {
  .site-footer-rich .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    margin-bottom: 32px;
  }
}

/* Mobile Footer (768px and below): Compact branding on top + 2-column Explore/Support + full-width Your Account */
@media (max-width: 768px) {
  .site-footer-rich .footer-wrap {
    width: calc(100% - 28px);
    padding: 28px 0 20px;
  }
  .site-footer-rich .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
    margin-bottom: 20px;
  }
  .site-footer-rich .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-footer-rich .footer-brand .brand-logo {
    max-width: 118px;
    margin-bottom: 6px;
  }
  .site-footer-rich .footer-brand p {
    font-size: 12.5px;
    line-height: 1.5;
    margin: 6px 0 8px;
    max-width: 100%;
  }
  .site-footer-rich .footer-contact {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .site-footer-rich .footer-contact-row {
    margin-top: 2px;
  }
  .site-footer-rich .footer-motto {
    margin-top: 6px;
    font-size: 10.5px;
  }
  .site-footer-rich .footer-col-explore {
    grid-column: 1 / 2;
  }
  .site-footer-rich .footer-col-support {
    grid-column: 2 / 3;
  }
  .site-footer-rich .footer-col-account {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-footer-rich .footer-col-account ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }
  .site-footer-rich h4 {
    font-size: 12px;
    margin: 0 0 10px;
  }
  .site-footer-rich ul {
    gap: 8px;
  }
  .site-footer-rich ul a {
    font-size: 12.5px;
    line-height: 1.38;
  }
  .site-footer-rich .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 16px;
    font-size: 11.5px;
    line-height: 1.45;
  }
}

/* Very Narrow Mobile Screens (360px and below): Keep 2-column layout with tighter spacing */
@media (max-width: 360px) {
  .site-footer-rich .footer-wrap {
    width: calc(100% - 20px);
    padding: 24px 0 16px;
  }
  .site-footer-rich .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .site-footer-rich .footer-col-account ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 12px;
  }
  .site-footer-rich h4 {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .site-footer-rich ul a {
    font-size: 11.5px;
    line-height: 1.35;
  }
}

/* --- OTOGO Reference Design Polish & Rich Font System --- */
:root {
  --ref-dark: #05070b;
  --ref-surface: #0b0f17;
  --electric-blue: #087bff;
  --electric-blue-hover: #0062d1;
  --green-trial: #10b981;
  --light-bg: #f5f7fa;
  --dark-ink: #111827;
  --muted-ink: #5b6472;
}

body {
  font-family: var(--font-sans) !important;
  background: var(--ref-dark) !important;
  color: #fff !important;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea,
.btn, .price, .stat-value {
  font-family: var(--font-sans) !important;
}

/* Inner-page white card/panel/table text contrast on dark page background */
.card,
.panel,
.stat,
.table-wrap,
.faq-item,
.gallery-card,
.detail-item {
  color: var(--dark-ink);
}

.card h1, .card h2, .card h3, .card h4,
.panel h1, .panel h2, .panel h3, .panel h4,
.stat h1, .stat h2, .stat h3, .stat h4,
.faq-item h3,
.gallery-card h3,
.table-wrap td,
.detail-item strong {
  color: var(--dark-ink);
}

.page-title h1,
.section-head h2 {
  color: #ffffff;
}

.page-title p,
.section-head p {
  color: #cbd5e1;
}

.card .section-head h2,
.panel .section-head h2 {
  color: var(--dark-ink);
}

.card .section-head p,
.panel .section-head p {
  color: var(--muted-ink);
}

.eyebrow,
.kicker {
  color: var(--electric-blue);
}

.btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.card .btn-outline,
.panel .btn-outline,
.table-wrap .btn-outline {
  color: var(--dark-ink);
  border-color: #cbd5e1;
}

.tag {
  color: var(--dark-ink);
}

.text-electric {
  color: var(--electric-blue) !important;
}

.script-font {
  font-family: 'Caveat', cursive !important;
}

/* ==========================================================================
   OTOGO 9 AM — Unified Header & Responsive Navigation System
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px clamp(16px, 2.5vw, 36px);
  background: var(--ref-dark) !important;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar .logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.topbar .logo img {
  width: auto;
  height: 42px;
  max-width: 138px;
  object-fit: contain;
  display: block;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 20px);
  flex: 1 1 auto;
  min-width: 0;
  margin-left: auto;
}

.topbar nav a {
  color: #d9dde4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.topbar nav a:hover {
  color: #ffffff;
}

.topbar nav a.active {
  color: var(--electric-blue) !important;
  font-weight: 700;
}

.topbar nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--electric-blue) !important;
  border-radius: 2px;
}

/* Header CTA ("Book a Service") */
.topbar nav a.btn-topbar-book,
.btn-topbar-book {
  background: var(--electric-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.2;
  padding: 9px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 4px;
  transition: background 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}

.topbar nav a.btn-topbar-book:hover,
.btn-topbar-book:hover {
  background: var(--electric-blue-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.topbar nav a.btn-topbar-book.active:after {
  display: none;
}

/* User identity chip & Sign out action group */
.topbar .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar .user-chip {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  max-width: 155px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar .nav-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 8px;
}

/* Mobile drawer toggle button & user footer */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1;
  flex: 0 0 auto;
}

.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.2s;
}

.menu-toggle[aria-expanded="true"] {
  border-color: var(--electric-blue, #0878ef);
  background: rgba(8, 120, 239, 0.16);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav-footer {
  display: none;
}

.mobile-user-chip {
  font-size: 13px;
  color: #cbd5e1;
}

.mobile-user-chip strong {
  color: #ffffff;
}

/* At 1280px–1340px when logged in on public/customer/admin pages, hide the verbose user-chip so all nav links + CTA + Sign out fit cleanly on one row */
@media (max-width: 1340px) {
  .topbar.portal-public .user-chip,
  .topbar.portal-account .user-chip,
  .topbar.portal-admin .user-chip {
    display: none;
  }
}

/* Switch to mobile/tablet collapsible navigation drawer at <= 1080px (covers 1024px, 768px, 390px) */
@media (max-width: 1080px) {
  .topbar {
    min-height: 64px;
    padding: 10px 18px;
  }
  .topbar .logo {
    order: 1;
  }
  .topbar .logo img {
    height: 38px;
    max-width: 124px;
  }
  .topbar .nav-actions {
    order: 2;
    margin-left: auto;
    padding-left: 0;
    border-left: 0;
  }
  .topbar .nav-actions .user-chip {
    display: none;
  }
  .topbar .menu-toggle {
    display: inline-block;
    order: 3;
  }
  .topbar nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0d13;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.65);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 22px 20px;
    gap: 8px;
    z-index: 99;
    margin: 0;
  }
  .topbar nav.is-open {
    display: flex;
  }
  .topbar nav a {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-left: 0 !important;
  }
  .topbar nav a.active:after {
    display: none;
  }
  .topbar nav a.btn-topbar-book {
    justify-content: center;
    padding: 11px 16px;
    margin-top: 6px;
    border-bottom: 0;
  }
  .topbar .mobile-nav-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    flex-wrap: wrap;
  }
}

/* Full-width breakout for Home page */
.page-wrap.page-home {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* Container */
.ref-container {
  max-width: 1240px;
  width: calc(100% - 36px);
  margin-inline: auto;
}

/* --- Reference Hero Section --- */
.ref-hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 0 40px;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--ref-dark);
}
.ref-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  position: relative;
}
.ref-hero-copy {
  position: relative;
  z-index: 2;
}
.ref-hero-copy .hero-eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 8px;
}
.ref-hero-copy h1 {
  font-size: clamp(40px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: #ffffff;
}
.ref-hero-copy .hero-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #e2e8f0;
  max-width: 495px;
  margin-bottom: 22px;
}
.ref-hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  max-width: 485px;
}
.ref-hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.ref-hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(8, 123, 255, 0.12);
}
.ref-hero-badge-text {
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
}
.ref-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-hero-book {
  background: #ffffff;
  color: #05070b !important;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.btn-hero-book:hover {
  transform: translateY(-2px);
  background: #f1f5f9;
}
.btn-hero-icon-blue {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.btn-hero-whatsapp {
  background: var(--electric-blue);
  color: #ffffff !important;
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s;
  box-shadow: 0 8px 24px rgba(8, 123, 255, 0.35);
}
.btn-hero-whatsapp:hover {
  transform: translateY(-2px);
  background: var(--electric-blue-hover);
}
.btn-hero-icon-wa {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ref-hero-visual {
  position: absolute;
  top: -34px;
  bottom: -40px;
  right: calc((100vw - 100%) / -2);
  width: min(52vw, 730px);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.ref-hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--ref-dark) 0%, rgba(5, 7, 11, 0.88) 7%, rgba(5, 7, 11, 0.28) 20%, rgba(5, 7, 11, 0) 35%);
}
.ref-hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right center;
}
.ref-hero-script {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 3;
  font-family: 'Caveat', cursive;
  font-size: 32px;
  font-weight: 700;
  line-height: 0.96;
  color: #ffffff;
  text-align: center;
  transform: rotate(-6deg);
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}
.ref-hero-script svg {
  display: block;
  width: 112px;
  height: 20px;
  margin: 2px auto 0;
  filter: drop-shadow(0 2px 8px rgba(8, 123, 255, 0.6));
}

/* --- Full-Width White Trust Strip --- */
.ref-trust-bar {
  background: #ffffff;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
  margin: 0 0 28px;
  width: 100%;
  position: relative;
  z-index: 3;
}
.ref-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ref-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  padding-right: 16px;
  border-right: 1px solid #e2e8f0;
}
.ref-trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.ref-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  flex-shrink: 0;
}

/* --- Subscription Plans Section --- */
.ref-plans-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}
.ref-plan-toggle {
  display: inline-flex;
  background: #0b0f17;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 4px;
}
.ref-plan-toggle .toggle-btn {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  color: #cbd5e1;
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.ref-plan-toggle .toggle-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.ref-plan-toggle .toggle-btn.active {
  background: var(--electric-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 123, 255, 0.35);
}
.plan-filter-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8, 123, 255, 0.12);
  border: 1px solid rgba(8, 123, 255, 0.32);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}
.plan-filter-banner[hidden] {
  display: none !important;
}
.plan-filter-banner.is-trial-banner {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.38);
}
.plan-filter-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-blue);
  flex-shrink: 0;
}
.plan-filter-banner.is-trial-banner .plan-filter-banner-dot {
  background: var(--green-trial);
}
.ref-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.ref-plan-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  border: 2px solid transparent;
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.ref-plan-card.is-filtered-out {
  opacity: 0.42;
  transform: scale(0.98);
}
.ref-plan-card.is-highlighted-plan {
  border-color: var(--green-trial);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.42);
  transform: translateY(-4px);
}
.ref-plan-card-popular {
  border: 2.5px solid var(--electric-blue);
  box-shadow: 0 0 26px rgba(8, 123, 255, 0.38);
  margin-top: -6px;
}
.ref-plan-top-trial {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
  min-height: 108px;
}
.ref-plan-heading-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ref-plan-top-monthly {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
  min-height: 108px;
}
.ref-plan-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 6px;
  margin-top: auto;
}
.ref-plan-car-side,
.ref-plan-car {
  width: 136px;
  max-width: 52%;
  height: auto;
  max-height: 74px;
  aspect-ratio: 520 / 278;
  object-fit: contain;
  object-position: right bottom;
  flex-shrink: 0;
  display: block;
}
.ref-plan-badge-trial {
  background: var(--green-trial);
  color: #ffffff;
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 5px;
}
.ref-plan-badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--electric-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 4px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.ref-plan-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  color: #0f172a;
}
.ref-plan-title-trial {
  text-transform: none;
  font-size: 18px;
  margin-bottom: 2px;
}
.ref-plan-price {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.ref-plan-price-trial {
  color: var(--electric-blue);
  font-size: 36px;
}
.ref-plan-price small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0;
  margin-top: 3px;
}
.ref-plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  flex: 1;
}
.ref-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ref-plan-list li .check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--electric-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.btn-plan-blue {
  margin-top: auto;
  background: var(--electric-blue);
  color: #ffffff !important;
  text-align: center;
  border-radius: 8px;
  padding: 11px 14px;
  font-weight: 800;
  font-size: 13px;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  display: block;
}
.btn-plan-blue:hover {
  background: var(--electric-blue-hover);
  transform: translateY(-1px);
}
.ref-plan-subtext {
  font-size: 11px;
  font-weight: 500;
  color: #475569;
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.35;
  min-height: 28px;
}

/* --- Services Page Cards & Dark Routine CTA --- */
.service-page-head {
  align-items: flex-end;
  margin-top: 8px;
  margin-bottom: 28px;
}
.service-page-head h1 {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 800;
  margin-bottom: 8px;
}
.service-head-cta {
  background: var(--electric-blue);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(8, 123, 255, 0.32);
}
.service-cards-grid {
  gap: 22px;
  align-items: stretch;
}
.service-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.52);
}
.service-card-media {
  position: relative;
  height: 204px;
  background: #0b0f17;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.service-card:hover .service-card-media img {
  transform: scale(1.03);
}
.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 7, 11, 0.84);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.service-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-title {
  font-size: 19.5px;
  font-weight: 800;
  color: #0f172a !important;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.service-card-desc {
  font-size: 13.5px !important;
  line-height: 1.58;
  color: #475569 !important;
  margin: 0 0 18px;
  flex: 1;
}
.service-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
  margin-bottom: 16px;
}
.service-price-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 2px;
}
.service-card-price {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.service-card-duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 5px 10px;
  border-radius: 8px;
}
.service-card-duration svg {
  color: var(--electric-blue);
  flex-shrink: 0;
}
.service-card-btn {
  background: var(--electric-blue);
  color: #ffffff !important;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(8, 123, 255, 0.25);
}
.service-card-btn:hover {
  background: var(--electric-blue-hover);
}

/* Dark Subscription / Support CTA Block */
.service-routine-cta {
  background: linear-gradient(135deg, #0b111e 0%, #0f172a 100%);
  border: 1px solid rgba(8, 123, 255, 0.32);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 32px) clamp(22px, 4vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.service-routine-copy .eyebrow {
  color: var(--electric-blue);
  margin-bottom: 6px;
}
.service-routine-copy h2 {
  color: #ffffff !important;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
}
.service-routine-copy p {
  color: #cbd5e1 !important;
  font-size: 14.5px;
  margin: 0;
  max-width: 620px;
}
.service-routine-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.service-routine-actions .btn {
  padding: 12px 20px;
  font-weight: 800;
}

/* Below-Fold Plans Terms & Inclusions Section */
.plans-below-section {
  margin-top: 36px;
}
.plans-terms-card {
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(22px, 3.5vw, 32px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}
.plans-terms-head {
  margin-bottom: 24px;
}
.plans-terms-head .eyebrow {
  color: var(--electric-blue);
  margin-bottom: 6px;
}
.plans-terms-head h2 {
  color: #ffffff;
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 800;
  margin: 0 0 10px;
}
.plans-terms-head p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 920px;
}
.plans-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.plans-term-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 18px;
}
.plans-term-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(8, 123, 255, 0.16);
  color: var(--electric-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.plans-term-item h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 5px;
}
.plans-term-item p {
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
}

/* --- Real Results (Before & After) --- */
.ref-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.ref-result-card {
  border-radius: 12px;
  overflow: hidden;
  background: #0b0f17;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  height: 172px;
}
.ref-ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ref-ba-half {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.ref-ba-half:first-child {
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
}
.ref-ba-half img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.ref-ba-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
  z-index: 2;
  white-space: nowrap;
}
.ref-ba-before {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ref-ba-after {
  background: var(--electric-blue);
  box-shadow: 0 2px 10px rgba(8, 123, 255, 0.65);
}

/* --- Professional Team Section --- */
.ref-team-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: center;
}
.ref-team-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ref-team-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
}
.ref-team-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--electric-blue);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(8, 123, 255, 0.35);
}
.ref-team-photos {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.95fr;
  gap: 12px;
  align-items: stretch;
}
.ref-team-photo-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  background: #0b0f17;
}
.ref-team-photo-item img {
  width: 100%;
  height: 185px;
  display: block;
  object-fit: cover;
}

/* --- Get Started Today Full-Width White Section --- */
.ref-lead-section {
  background: #f5f7fa;
  color: #0f172a;
  padding: 36px 0 42px;
  width: 100%;
  border-top: 1px solid #e2e8f0;
}
.ref-lead-card {
  display: grid;
  grid-template-columns: 0.88fr 1.58fr 0.84fr;
  gap: 28px;
  align-items: center;
}
.ref-lead-col h2 {
  color: #0f172a;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 10px;
}
.ref-lead-col p {
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.ref-lead-form-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
.ref-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ref-lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ref-lead-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ref-lead-field label {
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
}
.ref-lead-field input,
.ref-lead-field select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  background: #ffffff;
  color: #0f172a;
}
.ref-lead-field input:focus,
.ref-lead-field select:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(8, 123, 255, 0.12);
}
.btn-lead-submit {
  background: var(--electric-blue);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s, transform 0.18s;
  width: 100%;
  margin-top: 4px;
}
.btn-lead-submit:hover {
  background: var(--electric-blue-hover);
  transform: translateY(-1px);
}
.ref-lead-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ref-lead-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}
.ref-lead-trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #e0f2fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  flex-shrink: 0;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 1024px) {
  .ref-hero-section {
    min-height: auto;
    display: block;
  }
  .ref-hero-grid,
  .ref-team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ref-hero-visual {
    position: relative;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }
  .ref-hero-visual:before {
    display: none;
  }
  .ref-plans-grid,
  .ref-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-terms-grid {
    grid-template-columns: 1fr;
  }
  .ref-result-card {
    height: 195px;
  }
  .ref-plan-card-popular {
    margin-top: 0;
  }
  .ref-lead-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ref-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .ref-trust-item {
    border-right: 0;
  }
}

@media (max-width: 950px) {
  .service-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ref-hero-badges,
  .ref-team-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-plans-grid,
  .ref-results-grid,
  .ref-team-photos,
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .ref-lead-row {
    grid-template-columns: 1fr;
  }
  .ref-trust-grid {
    grid-template-columns: 1fr;
  }
  .service-routine-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-routine-actions {
    width: 100%;
  }
  .service-routine-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .ref-plan-toggle {
    width: 100%;
    justify-content: stretch;
  }
  .ref-plan-toggle .toggle-btn {
    flex: 1;
    padding: 8px 10px;
    text-align: center;
  }
  .ref-plan-car,
  .ref-plan-car-side {
    width: 112px;
    max-width: 48%;
  }
}

/* ZEBsite footer credit (shared from Anthardhaari) */
.zebsite-credit {
  width: 100%;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #858b82;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.zebsite-credit a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.zebsite-credit a:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.zebsite-credit img {
  width: 112px;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .zebsite-credit {
    margin-top: 14px;
    padding-top: 14px;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
  }
  .zebsite-credit img {
    width: 102px;
  }
}

/* ==========================================================================
   OTOGO 9 AM — Responsive Portal, Dashboard, Cards & Table System
   ========================================================================== */

/* Button variants & states */
.btn-danger {
  background: #dc2626;
  color: #ffffff !important;
}
.btn-danger:hover {
  background: #b91c1c;
}
.btn-success {
  background: #059669;
  color: #ffffff !important;
}
.btn-success:hover {
  background: #047857;
}
.btn.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

/* Status Tags & Badges */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.tag-pending,
.tag-unpaid {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.tag-confirmed,
.tag-completed,
.tag-active,
.tag-paid {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.tag-assigned,
.tag-in_progress {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.tag-cancelled,
.tag-failed,
.tag-suspended {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.tag-refunded {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* Dashboard KPI Grids */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-card .stat-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.stat-card .stat-value {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 4px;
  line-height: 1.1;
}
.stat-card .stat-note {
  font-size: 12px;
  color: #64748b;
}

/* Booking Pipeline Progress Bars */
.pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.pipeline-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}
.pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.pipeline-track {
  width: 100%;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.pipeline-fill {
  height: 100%;
  background: var(--electric-blue);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* Filter Bar */
.filter-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  color: var(--dark-ink);
  box-shadow: var(--shadow);
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
}
.filter-group label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}
.filter-group input,
.filter-group select {
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 9px;
}
.filter-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Filter Pill Tabs */
.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.pill-tabs .pill-tab {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.pill-tabs .pill-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.pill-tabs .pill-tab.active {
  background: var(--electric-blue);
  color: #ffffff;
  border-color: var(--electric-blue);
  box-shadow: 0 4px 14px rgba(8, 123, 255, 0.35);
}

/* Mobile-First Field Staff Job Cards & Customer Booking Cards */
.job-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.job-card {
  background: #ffffff;
  color: var(--dark-ink);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}
.job-card-ref {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--electric-blue);
  display: block;
  margin-bottom: 3px;
}
.job-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.job-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  padding: 12px;
  font-size: 12.5px;
}
.job-card-meta small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 2px;
}
.job-card-meta strong {
  color: #0f172a;
  font-size: 13px;
}
.job-card-address {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  background: #fdfefe;
  border-left: 3px solid var(--electric-blue);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
}
.job-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
}
.job-card-actions form {
  display: inline-flex;
  margin: 0;
}

/* Uploaded Service Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.media-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.media-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.media-item-caption {
  padding: 8px 10px;
  font-size: 11px;
  color: #334155;
}

/* Responsive Stacked Tables on Mobile (< 768px) */
@media (max-width: 768px) {
  .table-wrap.table-responsive-cards {
    background: transparent;
    border: 0;
    overflow: visible;
  }
  .table-wrap.table-responsive-cards table {
    min-width: 0;
    display: block;
  }
  .table-wrap.table-responsive-cards thead {
    display: none;
  }
  .table-wrap.table-responsive-cards tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .table-wrap.table-responsive-cards tr {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 14px 16px;
    box-shadow: var(--shadow);
  }
  .table-wrap.table-responsive-cards td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    text-align: right;
  }
  .table-wrap.table-responsive-cards td:last-child {
    border-bottom: 0;
    padding-bottom: 2px;
  }
  .table-wrap.table-responsive-cards td::before {
    content: attr(data-label);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }
  .table-wrap.table-responsive-cards td .inline-form {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
  }
  .job-card-grid {
    grid-template-columns: 1fr;
  }
  .job-card-meta {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    flex: 1 1 auto;
  }
  .filter-actions {
    width: 100%;
  }
  .filter-actions .btn {
    flex: 1;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  }
}

@media (max-width: 480px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-direction: column;
    align-items: stretch;
  }
  .filters input,
  .filters select,
  .filters .btn {
    width: 100%;
  }
  .actions {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .page-wrap {
    width: calc(100% - 16px);
  }
  .topbar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .site-footer-rich .footer-wrap {
    width: calc(100% - 16px);
  }
  .site-footer-rich .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .site-footer-rich .footer-col-account ul {
    grid-template-columns: 1fr;
  }
}


