/* ==========================================================================
   Krishna Enterprise — Design System
   Signature: the "service ticket" motif — every quote, price and booking
   is framed like a technician's work order, because that's what this
   business actually runs on.
   ========================================================================== */

:root {
  /* Color */
  --ink: #101a2b;
  --ink-soft: #1c2b45;
  --primary: #2458e6;
  --primary-dark: #1a3fb8;
  --primary-tint: #eaf0ff;
  --accent: #ff6a2b;
  --accent-dark: #e2551a;
  --accent-tint: #fff1e9;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --text: #17212f;
  --text-muted: #5c6879;
  --text-faint: #8b93a3;
  --border: #e6e2d6;
  --border-soft: #edeae0;
  --success: #17a673;
  --warning: #ffb020;

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --radius-sm: 0.5rem;
  --radius: 0.9rem;
  --radius-lg: 1.4rem;
  --shadow-sm: 0 2px 8px rgba(16, 26, 43, 0.06);
  --shadow: 0 12px 32px rgba(16, 26, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 26, 43, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--paper);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

p { color: var(--text-muted); line-height: 1.65; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container { max-width: 1180px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Top strip ---------- */
.topbar {
  background: var(--ink);
  color: #cfd8ea;
  font-size: 0.82rem;
  padding: 0.5rem 0;
}
.topbar a { color: #e7ecf7; opacity: 0.9; transition: opacity 0.2s var(--ease); }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar .divider { color: #445068; }
.topbar .topbar-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink) !important;
}
.brand img { height: 42px; width: auto; }
.brand .brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.site-nav .nav-link {
  font-weight: 500;
  color: var(--text) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  background: var(--primary-tint);
  color: var(--primary) !important;
}
.navbar-toggler { border: none !important; box-shadow: none !important; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.72rem 1.6rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 88, 230, 0.28);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(36, 88, 230, 0.34);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 106, 43, 0.30);
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   HERO — with the signature "service ticket" card
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 5.5rem 0 6.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% 8%, rgba(36, 88, 230, 0.35), transparent 60%),
    radial-gradient(520px 360px at 8% 90%, rgba(255, 106, 43, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 900px 500px at 30% 30%, black, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb4f0;
  background: rgba(36, 88, 230, 0.18);
  border: 1px solid rgba(120, 154, 240, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.1;
  color: #fff;
  margin: 1.1rem 0 1.1rem;
}
.hero-title em {
  font-style: normal;
  color: #8fb0ff;
  background: linear-gradient(180deg, transparent 65%, rgba(36, 88, 230, 0.5) 65%);
}
.hero-subtitle {
  font-size: 1.08rem;
  color: #b8c2d9;
  max-width: 460px;
  margin-bottom: 1.9rem;
}
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero-trust .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
}
.hero-trust .stat span {
  font-size: 0.78rem;
  color: #8b96ad;
}

/* The signature ticket card */
.ticket-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.6rem 1.2rem;
  max-width: 380px;
  margin-left: auto;
  position: relative;
  transform: rotate(1.2deg);
  font-family: var(--font-body);
}
.ticket-card::after {
  content: "";
  position: absolute;
  left: -10px; right: -10px; bottom: -10px;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 10px, transparent 10px 20px);
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
}
.ticket-head .ticket-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.ticket-head .ticket-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--success);
  background: #e7f8f1;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ticket-head .ticket-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}
.ticket-row:last-of-type { border-bottom: none; }
.ticket-row .label { color: var(--text-faint); font-size: 0.78rem; }
.ticket-row .value { font-weight: 600; color: var(--ink); text-align: right; }
.ticket-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
}
.ticket-price .amount {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}
.ticket-price .amount span { font-size: 0.75rem; color: var(--text-faint); font-weight: 400; }
.ticket-stamp {
  position: absolute;
  top: 1.4rem;
  right: -0.6rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  transform: rotate(6deg);
  box-shadow: 0 6px 14px rgba(255, 106, 43, 0.35);
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 560px; margin-bottom: 2.8rem; }
.section-head.center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-top: 0.6rem; }

/* ---------- Service cards ---------- */
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}
.svc-card h5, .svc-card h4 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.svc-card p { font-size: 0.92rem; margin-bottom: 1.1rem; }
.svc-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 1rem;
}
.svc-price small { font-family: var(--font-body); font-weight: 400; color: var(--text-faint); font-size: 0.76rem; }

/* Compact grid card variant used on ac.html / washing.html / services.html */
.price-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-tint);
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.3rem 0.8rem;
  display: inline-block;
}

/* ---------- Filter pills (services.html) ---------- */
.pill-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.pill-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.pill-btn:hover { border-color: var(--primary); color: var(--primary); }
.pill-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- How it works ---------- */
.step-row { position: relative; }
.step-row::before {
  content: "";
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 1px;
  border-top: 1px dashed var(--border);
  z-index: 0;
}
.step-card { position: relative; z-index: 1; text-align: center; }
.step-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.05rem;
}
.step-card h5 { margin-bottom: 0.4rem; font-size: 1.02rem; }
.step-card p { font-size: 0.9rem; }

/* ---------- Trust / why us ---------- */
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.7rem;
  height: 100%;
}
.trust-card i { color: var(--primary); font-size: 1.4rem; margin-bottom: 0.9rem; }
.trust-card h6 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.trust-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  color: #fff;
}
.stats-bar .stat b { font-family: var(--font-display); font-size: 2rem; display: block; color: #fff; }
.stats-bar .stat span { font-size: 0.8rem; color: #9aa5bd; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
}
label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  display: inline-block;
}
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 88, 230, 0.12);
}
.input-icon-group { position: relative; }
.input-icon-group i {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: 0.9rem;
}
.input-icon-group .form-control { padding-left: 2.6rem; }
.field-error { font-size: 0.78rem; color: #e0473b; margin-top: 0.3rem; }
.form-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 0.6rem; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.15rem 1.3rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q i { color: var(--primary); transition: transform 0.25s var(--ease); font-size: 0.85rem; flex-shrink: 0; }
.faq-q[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-a { padding: 0 1.3rem 1.2rem; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb7c9; padding: 3.5rem 0 1.5rem; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer p, .site-footer li { color: #9aa5bd; font-size: 0.9rem; }
.site-footer .foot-links a { color: #9aa5bd; display: block; margin-bottom: 0.6rem; transition: color 0.2s var(--ease); font-size: 0.9rem; }
.site-footer .foot-links a:hover { color: #fff; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.site-footer .foot-brand img { height: 32px; }
.site-footer .foot-brand span { font-family: var(--font-display); font-weight: 700; color: #fff; }
.site-footer hr { border-color: #2a3652; margin: 2.2rem 0 1.4rem; }
.site-footer .foot-bottom { font-size: 0.8rem; color: #7c869c; }
.site-footer .foot-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #2a3652;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.2s var(--ease);
}
.site-footer .foot-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Floating actions (WhatsApp / Call) ---------- */
.float-stack {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease);
  position: relative;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.float-btn.wa { background: #25d366; }
.float-btn.call { background: var(--primary); width: 48px; height: 48px; font-size: 1.15rem; }
.float-btn .ping {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.5; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  padding: 3.2rem 0 3.6rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(36, 88, 230, 0.32), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-hero p { color: #b8c2d9; margin-top: 0.6rem; max-width: 520px; }
.breadcrumb-row { font-family: var(--font-mono); font-size: 0.76rem; color: #7c8aa8; margin-bottom: 1rem; }
.breadcrumb-row a { color: #9fb4f0; }
.breadcrumb-row a:hover { color: #fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-primary-brand { color: var(--primary); }
.bg-paper { background: var(--paper); }
.divider-dash { border-top: 1px dashed var(--border); margin: 3rem 0; }

@media (max-width: 991px) {
  .ticket-card { margin: 2.6rem auto 0; max-width: 340px; }
  .hero { padding: 3.4rem 0 3.4rem; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
}
@media (max-width: 576px) {
  .section { padding: 3.2rem 0; }
  .form-panel { padding: 1.4rem; }
  .float-btn { width: 50px; height: 50px; font-size: 1.2rem; }
  .float-btn.call { width: 42px; height: 42px; font-size: 1rem; }
}