/* ============================================================
   Molisha Repair Services — Design Tokens
   Direction: Site-grounded, trade-authentic. Deep slate + off-white
   base, hi-vis safety-orange accent (the actual color of the
   industry's own signage/tape), steel-blue for the water/waterproofing
   theme. Signature: diagonal hazard-stripe dividers + blueprint
   corner-marks on cards, echoing site cordon tape & technical drawings.
   ============================================================ */

:root {
  /* Color */
  --slate-deep: #1E2530;
  --slate-mid: #2B3444;
  --concrete: #6B7280;
  --concrete-light: #A6ADB8;
  --off-white: #F7F5F1;
  --paper: #FFFFFF;
  --hi-vis: #FF6B1A;
  --hi-vis-dark: #E0570D;
  --steel-blue: #2B6CB0;
  --steel-blue-light: #EAF2FB;
  --success: #16A34A;
  --border-line: #E4E1D9;

  /* Type */
  --font-display: 'Oswald', 'Archivo Narrow', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --max-width: 1180px;
  --radius: 6px;
  --shadow-card: 0 2px 14px rgba(30, 37, 48, 0.08);
  --shadow-hover: 0 10px 28px rgba(30, 37, 48, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-deep);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--slate-deep);
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hi-vis-dark);
  display: inline-block;
  margin-bottom: 10px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--paper); }

.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head p { color: var(--concrete); margin-top: 12px; font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Signature element: hazard stripe divider ---- */
.hazard-stripe {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--hi-vis) 0px, var(--hi-vis) 18px,
    var(--slate-deep) 18px, var(--slate-deep) 36px
  );
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--hi-vis); color: var(--paper); box-shadow: 0 6px 0 var(--hi-vis-dark); }
.btn-primary:hover { box-shadow: 0 8px 0 var(--hi-vis-dark); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--hi-vis-dark); }
.btn-dark { background: var(--slate-deep); color: var(--off-white); }
.btn-dark:hover { background: var(--slate-mid); }
.btn-outline { border-color: var(--slate-deep); color: var(--slate-deep); background: transparent; }
.btn-outline:hover { background: var(--slate-deep); color: var(--off-white); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 6px 0 #1DAA52; }
.btn-whatsapp:hover { box-shadow: 0 8px 0 #1DAA52; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.8rem; }

/* ---- Header ---- */
.site-header {
  background: var(--slate-deep);
  color: var(--off-white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--off-white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-mark {
  width: 34px; height: 34px;
  background: var(--hi-vis);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-deep);
  transform: rotate(-6deg);
}
.logo span.sub { color: var(--concrete-light); font-size: 0.7rem; font-family: var(--font-mono); letter-spacing: 1px; display: block; text-transform: none; }

.main-nav ul { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--concrete-light);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--off-white); border-color: var(--hi-vis); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-family: var(--font-mono); color: var(--off-white); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.header-phone svg { color: var(--hi-vis); }

.nav-toggle { display: none; background: none; border: none; color: var(--off-white); }

/* ---- Hero ---- */
.hero {
  background: var(--slate-deep);
  color: var(--off-white);
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 70px;
}
.hero h1 { color: var(--off-white); margin-bottom: 18px; }
.hero h1 .accent { color: var(--hi-vis); }
.hero p.lead { color: var(--concrete-light); font-size: 1.1rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 34px; }
.hero-stats .stat-num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  color: var(--hi-vis);
  font-weight: 700;
}
.hero-stats .stat-label { font-size: 0.78rem; color: var(--concrete-light); text-transform: uppercase; letter-spacing: 0.6px; }

.hero-visual {
  background: var(--slate-mid);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--hi-vis) 0 10px, transparent 10px 20px);
  border-radius: var(--radius) var(--radius) 0 0;
}
.quote-form { display: flex; flex-direction: column; gap: 14px; }
.quote-form h3 { color: var(--off-white); }
.quote-form .form-note { color: var(--concrete-light); font-size: 0.85rem; margin-bottom: 4px; }

/* ---- Form elements ---- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.8rem; font-family: var(--font-mono); letter-spacing: 0.4px; color: var(--concrete-light); text-transform: uppercase; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--concrete-light); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--hi-vis);
  outline-offset: 1px;
  background: rgba(255,255,255,0.1);
}
.field textarea { resize: vertical; min-height: 90px; }

/* Light-background version of form fields (contact page) */
.form-light .field input, .form-light .field select, .form-light .field textarea {
  background: var(--off-white);
  border: 1px solid var(--border-line);
  color: var(--slate-deep);
}
.form-light .field label { color: var(--concrete); }
.form-light .field input:focus, .form-light .field select:focus, .form-light .field textarea:focus {
  background: var(--paper);
  outline-color: var(--hi-vis);
}

/* ---- Trust bar ---- */
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--border-line); }
.trust-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--slate-mid); font-size: 0.92rem; }
.trust-item svg { color: var(--steel-blue); flex-shrink: 0; }

/* ---- Service cards (blueprint corner-mark motif) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--border-line);
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

/* Blueprint corner marks */
.service-card::before, .service-card::after,
.corner-marks::before, .corner-marks::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--hi-vis);
  opacity: 0.65;
}
.service-card::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.service-card::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.service-icon {
  width: 54px; height: 54px;
  background: var(--steel-blue-light);
  color: var(--steel-blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 8px; text-transform: none; }
.service-card p { color: var(--concrete); font-size: 0.94rem; margin-bottom: 14px; }
.service-price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--hi-vis-dark); margin-bottom: 16px; display: block; }
.service-link { font-family: var(--font-display); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--slate-deep); border-bottom: 2px solid var(--hi-vis); padding-bottom: 2px; }

/* ---- Process steps ---- */
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { text-align: center; padding: 0 20px; position: relative; }
.process-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--hi-vis);
  border: 2px solid var(--hi-vis);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  background: var(--paper);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--concrete); font-size: 0.88rem; }
.process-strip::before {
  content: '';
  position: absolute;
  top: 20px; left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--hi-vis) 0 8px, transparent 8px 16px);
  z-index: 0;
}

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--slate-mid); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; font-size: 0.85rem; font-family: var(--font-mono); }

/* ---- Testimonials ---- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--paper); border-radius: var(--radius); padding: 26px; border: 1px solid var(--border-line); }
.testi-stars { color: var(--hi-vis); display: flex; gap: 3px; margin-bottom: 12px; }
.testi-card p.review { color: var(--slate-mid); font-size: 0.95rem; margin-bottom: 16px; }
.testi-name { font-family: var(--font-display); font-size: 0.92rem; text-transform: uppercase; }
.testi-loc { color: var(--concrete); font-size: 0.8rem; }

/* ---- AI Estimator widget ---- */
.ai-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--steel-blue-light); color: var(--steel-blue);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.5px;
  padding: 5px 10px; border-radius: 20px; text-transform: uppercase;
  margin-bottom: 12px;
}
.ai-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--steel-blue); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.estimator-box {
  background: var(--slate-deep);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--off-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.estimator-result {
  background: var(--slate-mid);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 220px;
  border: 1px dashed rgba(255,255,255,0.2);
}
.estimator-result .placeholder { color: var(--concrete-light); font-size: 0.9rem; }
.estimator-result .price-out { font-family: var(--font-mono); font-size: 2rem; color: var(--hi-vis); margin: 10px 0; }

/* ---- Footer ---- */
.site-footer { background: var(--slate-deep); color: var(--concrete-light); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: var(--off-white); font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; }
.footer-col p, .footer-col a { color: var(--concrete-light); font-size: 0.9rem; line-height: 2; }
.footer-col a:hover { color: var(--hi-vis); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.82rem; color: var(--concrete); }

/* ---- Floating WhatsApp button ---- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  animation: wa-bounce 2.4s infinite;
}
@keyframes wa-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---- Page header (inner pages) ---- */
.page-head {
  background: var(--slate-deep);
  color: var(--off-white);
  padding: 56px 0 40px;
}
.page-head .eyebrow { color: var(--hi-vis); }
.page-head h1 { color: var(--off-white); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.82rem; color: var(--concrete-light); margin-top: 10px; }
.breadcrumb a { color: var(--hi-vis); }

/* ---- AI Chatbot widget ---- */
.chat-float {
  position: fixed; bottom: 24px; right: 94px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--slate-deep); color: var(--hi-vis);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  border: 2px solid var(--hi-vis);
}
.chat-panel {
  position: fixed; bottom: 92px; right: 24px; z-index: 210;
  width: 360px; max-width: calc(100vw - 32px);
  height: 480px; max-height: 70vh;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-line);
}
.chat-panel.open { display: flex; }
.chat-panel-head {
  background: var(--slate-deep); color: var(--off-white);
  padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
}
.chat-panel-head .chat-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.95rem; text-transform: uppercase; }
.chat-panel-head .chat-title .dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.chat-panel-close { background: none; border: none; color: var(--concrete-light); font-size: 1.2rem; cursor: pointer; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--off-white); }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.bot { background: var(--paper); border: 1px solid var(--border-line); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-msg.user { background: var(--hi-vis); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-msg.typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chat-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--concrete); animation: chatTyping 1.2s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatTyping { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border-line); background: var(--paper); }
.chat-input-row input { flex: 1; padding: 10px 14px; border-radius: 20px; border: 1px solid var(--border-line); background: var(--off-white); font-family: var(--font-body); font-size: 0.88rem; }
.chat-input-row input:focus { outline: 2px solid var(--hi-vis); }
.chat-input-row button { width: 40px; height: 40px; border-radius: 50%; background: var(--hi-vis); color: #fff; border: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-input-row button:disabled { opacity: 0.5; }

@media (max-width: 480px) {
  .chat-float { right: 84px; width: 50px; height: 50px; }
  .chat-panel { right: 16px; bottom: 82px; width: calc(100vw - 32px); }
}

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--border-line); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 1rem; color: var(--slate-deep);
  cursor: pointer;
}
.faq-question svg { flex-shrink: 0; color: var(--hi-vis); transition: transform 0.2s ease; margin-left: 14px; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 22px 18px; color: var(--concrete); font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.badge-check { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-size: 0.88rem; }
.badge-check svg { flex-shrink: 0; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .process-strip::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .estimator-box { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--slate-deep); flex-direction: column; padding: 10px 24px 24px; display: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav a { display: block; padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .trust-bar .container { flex-direction: column; }
}


/* ============================================================
   v4.9 public polish: mobile action bar, focus, reduced motion
   ============================================================ */
.mobile-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible { outline: 2px solid var(--hi-vis); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--slate-deep); box-shadow: 0 -4px 18px rgba(30,37,48,0.25);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-cta a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 8px 4px; border-radius: 10px; color: var(--off-white);
    font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.4px;
  }
  .mobile-cta .mc-call { background: rgba(255,255,255,0.06); }
  .mobile-cta .mc-wa { background: #25D366; color: #fff; }
  .mobile-cta .mc-quote { background: var(--hi-vis); color: var(--paper); }
  /* Floating buttons ko bar ke upar le jao, overlap na ho */
  .wa-float { display: none; }
  .chat-float { bottom: 84px; }
}

/* v4.12: public quotation/invoice view */
.doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; min-width: 520px; }
.doc-table th, .doc-table td { padding: 11px 12px; border-bottom: 1px solid var(--border-line); text-align: left; vertical-align: top; }
.doc-table th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.4px; color: var(--concrete); font-weight: 500; }
.doc-totals { margin-left: auto; max-width: 360px; margin-top: 18px; }
.doc-totals > div { display: flex; justify-content: space-between; padding: 6px 0; }
.doc-totals .grand { font-weight: 700; border-top: 2px solid var(--slate-deep); margin-top: 6px; padding-top: 10px; }

/* v4.19: header logo bada aur responsive */
.logo-img { height: 64px; width: auto; max-width: 260px; object-fit: contain; display: block; }
@media (max-width: 980px) { .logo-img { height: 52px; max-width: 220px; } }
@media (max-width: 480px) { .logo-img { height: 44px; max-width: 180px; } }

/* v4.24: app-style bottom tab bar (5 tabs) + app feel */
@media (max-width: 760px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); overscroll-behavior-y: none; }
  .mobile-cta { gap: 2px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-cta a { flex: 1; min-width: 0; padding: 6px 2px; font-size: 0.6rem; border-radius: 8px; }
  .mobile-cta a svg { flex-shrink: 0; }
  .mobile-cta .mc-home, .mobile-cta .mc-services { background: rgba(255,255,255,0.06); }
}

/* v4.25: logo ke saath site ka naam */
.logo { line-height: 1.2; }
.logo-img + .logo-text { font-size: 1.05rem; }
@media (max-width: 480px) { .logo-img + .logo-text { font-size: 0.95rem; } }
