/* Bhavesh Door Step Services — "Doorstep Service Ticket" system
   Forest green + warm paper + marigold · Archivo/Inter · mobile-first, no framework */

:root {
  /* palette pulled from the logo: navy blue + orange on white */
  --ink:        #0c2240;   /* deep navy — text + dark bands */
  --forest:     #17457e;   /* primary blue — header, headings */
  --forest-2:   #2a6bb0;   /* brighter logo-ring blue for gradients */
  --paper:      #e9f0f8;   /* cool blue-tint — alt sections */
  --paper-2:    #ffffff;   /* page + card surface (logo white) */
  --marigold:   #f07d22;   /* logo orange — the loudest thing: CALL */
  --marigold-d: #d8681a;
  --whatsapp:   #1faa52;
  --whatsapp-d: #178443;
  --muted:      #4d5f74;
  --cream:      #eaf2fc;   /* text on dark navy */
  --line:       rgba(12, 34, 64, .15);
  --line-soft:  rgba(12, 34, 64, .08);
  --radius:     12px;
  --mono:       ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper-2);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: 78px;                 /* room for sticky mobile bar */
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: "Archivo", "Inter", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .4em;
  color: var(--forest);
}
h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }
a  { color: var(--forest); }

/* Section eyebrow — a small structural label */
.section > .wrap > h2 { position: relative; }

/* ---------- Icons (inline SVG helpers) ---------- */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; flex: 0 0 auto; }
[data-ic] { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }

/* ---------- Buttons — tactile, squared, physical press ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 14px 22px;
  line-height: 1;
  color: var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn .ic { width: 18px; height: 18px; }

.btn-cta { background: var(--marigold); color: var(--ink); }
.btn-cta:hover { background: var(--marigold-d); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--ink); }
.btn-whatsapp:hover { background: var(--whatsapp-d); }

.btn-lg { font-size: 1.15rem; padding: 17px 28px; }
.btn-compact { padding: 10px 15px; font-size: .95rem; box-shadow: 2px 2px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; }
.brand { text-decoration: none; color: var(--cream); display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 42px; height: 42px; border-radius: 8px; background: #fff; padding: 3px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.02rem; line-height: 1.1; letter-spacing: -0.02em; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

/* Service nav — scrollable strip */
.site-nav { background: var(--ink); }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; padding: 7px 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  color: #b9cde6; text-decoration: none; font-size: .82rem; font-weight: 600;
  letter-spacing: .01em; padding: 7px 13px; border-radius: 7px; white-space: nowrap; flex: 0 0 auto;
  transition: background-color .15s, color .15s;
}
.nav-inner a:hover { color: #fff; }
.nav-inner a[aria-current="page"] { background: var(--marigold); color: var(--ink); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--paper); font-size: .82rem; border-bottom: 1px solid var(--line-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 11px 0; font-family: var(--mono); }
.breadcrumb li::after { content: "/"; margin-left: 6px; color: var(--muted); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--forest); text-decoration: none; }
.breadcrumb li[aria-current="page"] { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(42,107,176,.55), transparent 60%),
    linear-gradient(165deg, var(--forest) 0%, var(--ink) 100%);
  color: var(--cream);
  padding: 52px 0 48px;
  overflow: hidden;
}
/* faint blueprint grid — repair-shop texture */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero-sub { font-size: 1.18rem; opacity: .9; margin-bottom: 1.6rem; max-width: 42ch; }

/* location tag with live dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 1.4rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #57e08a; box-shadow: 0 0 0 0 rgba(87,224,138,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(87,224,138,.55); } 70% { box-shadow: 0 0 0 8px rgba(87,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(87,224,138,0); } }

/* Telugu trust tagline */
.hero-te { font-size: 1.05rem; color: #ffca8f; margin: -.4rem 0 1.5rem; font-weight: 500; }

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; }
.cta-row.center, .center { justify-content: center; }
.trust-line { font-weight: 600; margin: 1.5rem 0 0; opacity: .92; }
.trust-line.center { text-align: center; }
.trust-line [data-ic] { vertical-align: -3px; margin-right: 7px; }
.trust-line .ic { color: #ffb066; width: 18px; height: 18px; }

/* hero artwork — service collage banner */
.hero-aside { max-width: 460px; }
.hero-art {
  margin: 28px 0 0;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(0,0,0,.35);
  overflow: hidden;
  line-height: 0;
}
.hero-art img { display: block; width: 100%; height: auto; }

/* THE SIGNATURE — helpline dial plate */
.dial {
  display: flex; align-items: center; gap: 16px;
  margin-top: 26px; max-width: 460px;
  background: var(--paper-2); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(0,0,0,.35);
  padding: 15px 20px; text-decoration: none;
  transition: transform .1s ease, box-shadow .1s ease;
}
.dial:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 rgba(0,0,0,.35); }
.dial:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 rgba(0,0,0,.35); }
.dial-ring { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; background: var(--marigold); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.dial-ring .ic { width: 26px; height: 26px; color: var(--ink); }
.dial-txt { display: flex; flex-direction: column; line-height: 1.1; }
.dial-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dial-num { font-family: "Archivo", sans-serif; font-weight: 800; font-size: clamp(1.5rem, 6vw, 1.95rem); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--forest); }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section > .wrap > h2, .section-alt > .wrap > h2 { text-align: left; margin-bottom: 1.5rem; }
.section h2 .kbd { font-family: var(--mono); font-size: .5em; font-weight: 600; color: var(--muted); letter-spacing: .1em; display: block; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .14em; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; margin: 0 0 1.6rem; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ---------- Cards → work-order tickets ---------- */
.card, .why-block, .highlight-group, .step {
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 5px 6px 0 var(--line); border-color: var(--ink); }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.card-code { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.card-status { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--forest); background: rgba(42,107,176,.1); border: 1px solid rgba(42,107,176,.25); border-radius: 6px; padding: 3px 8px; }

.card-icon { color: var(--forest); margin-bottom: 12px; line-height: 0; }
.card-icon .ic { width: 40px; height: 40px; }
.card h3, .why-block h3, .step h3 { margin-bottom: .4rem; }
.card p, .why-block p, .step p { color: var(--muted); margin-bottom: 0; }
.card-more { margin-top: auto; padding-top: 14px; color: var(--marigold-d); font-family: "Archivo", sans-serif; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.card-more .ic { width: 16px; height: 16px; transition: transform .15s ease; }
a.card:hover .card-more .ic { transform: translateX(4px); }

/* Why blocks — icon chip */
.why-block .card-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: rgba(42,107,176,.09); border: 1px solid rgba(42,107,176,.2); border-radius: 12px; margin-bottom: 14px; }
.why-block .card-icon .ic { width: 26px; height: 26px; }
.why-block a { color: var(--forest); font-weight: 600; }

/* ---------- Highlights ---------- */
.highlight-group { display: flex; flex-direction: column; gap: 4px; }
.highlight-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: .5rem; }
.highlight-group h3 .ic { width: 22px; height: 22px; color: var(--forest); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 7px; color: var(--muted); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px;
  background: var(--forest);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
/* covers — two-column checklist */
.covers { max-width: 860px; }
.covers ul { columns: 2; column-gap: 34px; padding-left: 0; list-style: none; margin: 0; }
.covers li { position: relative; padding-left: 28px; margin-bottom: 11px; break-inside: avoid; }
.covers li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 16px; height: 16px;
  background: var(--marigold-d);
  -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
@media (max-width: 560px) { .covers ul { columns: 1; } }

/* ---------- Brands strip ---------- */
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--mono); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  color: var(--forest); background: var(--paper-2);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 16px;
}
.pill-muted { color: var(--muted); }

/* ---------- Steps (real sequence → numbered) ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 24px; }
.step-num {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.05rem;
  width: 42px; height: 42px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 10px; font-variant-numeric: tabular-nums;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -8px; width: 16px; height: 2px; background: var(--line);
  display: none;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(240,125,34,.20), transparent 55%),
    linear-gradient(165deg, var(--forest) 0%, var(--ink) 100%);
  color: var(--cream);
  text-align: center;
  padding: 54px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .9; margin-bottom: 1.6rem; }

/* ---------- FAQ (native <details>) ---------- */
.faq { max-width: 800px; }
.faq details { background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 11px; padding: 2px 20px; }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  cursor: pointer; font-family: "Archivo", sans-serif; font-weight: 700; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--marigold-d); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

address { font-style: normal; line-height: 1.55; margin: 0 0 .7rem; }

/* ---------- Map embed ---------- */
.section-sub { color: var(--muted); max-width: 62ch; margin-top: -.8rem; }
.map-embed {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
  line-height: 0;
  margin: 6px 0 22px;
}
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }
@media (min-width: 900px) { .map-embed iframe { height: 420px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c8bf; text-align: left; padding: 44px 0 0; border-top: 3px solid var(--marigold); }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: var(--marigold); }
.footer-name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: .6rem; letter-spacing: -0.02em; }
.site-footer p { margin: .35rem 0; }
.site-footer .ic { width: 17px; height: 17px; color: var(--marigold); }

/* Footer columns — fills the band on wide screens, stacks on mobile */
.footer-grid { display: grid; gap: 34px 28px; grid-template-columns: 1fr; padding-bottom: 34px; }
.footer-head {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .09em; color: var(--marigold);
  margin: 0 0 .8rem;
}
.footer-tag { font-size: .93rem; line-height: 1.55; max-width: 34ch; opacity: .85; margin-bottom: .9rem; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-top: .2rem; }
.footer-social { margin-top: 1.15rem; }
.footer-social .footer-head { margin-bottom: .55rem; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social-links a {
  font-size: .9rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
}
.footer-social-links a:hover { border-color: var(--marigold); background: rgba(255,255,255,.1); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-weight: 500; font-size: .95rem; color: #d8e4f2; }
.footer-area { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; }
.footer-area .ic { margin-top: 3px; }
.footer-addr { line-height: 1.5; font-style: normal; }
.footer-serving { font-size: .88rem; opacity: .7; margin-top: .5rem; }
.footer-map { display: block; margin-top: .9rem; border: 2px solid rgba(255,255,255,.18); border-radius: 10px; overflow: hidden; line-height: 0; }
.footer-map iframe { width: 100%; height: 140px; border: 0; display: block; filter: grayscale(.25); }
.footer-map:hover iframe { filter: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between;
}
.copyright { font-size: .82rem; opacity: .65; margin: 0; }
.footer-bottom .footer-built { font-size: .82rem; opacity: .75; margin: 0; }
.footer-built a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(255,255,255,.35); }
.footer-built a:hover { text-decoration-color: var(--marigold); }

/* ---------- Sticky mobile bottom bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 10px 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0));
  background: var(--paper-2); border-top: 2px solid var(--ink);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}
.sticky-bar .btn { flex: 1; font-size: 1.05rem; padding: 14px; box-shadow: 2px 2px 0 var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr .8fr 1.15fr; gap: 40px 32px; padding-bottom: 40px; }
  .footer-brand { grid-column: auto; }
  .site-footer { padding-top: 56px; }
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 84px 0 76px; }
  .section { padding: 72px 0; }
  .hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
}
