:root {
  --paper: #F1F2EE;
  --paper-2: #E4E7E1;
  --ink: #1D2428;
  --ink-soft: #4A555B;
  --steel: #33505F;
  --hivis: #F4C20D;
  --hivis-deep: #C99A00;
  --brick: #9C3D22;
  --leaf: #2F6B45;
  --line: #C9CCC4;
  --wa: #1F8F4E;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 4px;
  --radius-m: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

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

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--hivis); color: var(--ink); padding: 8px 14px; font-weight: 700;
}
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; font-stretch: 105%;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius-s);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-call { background: var(--hivis); color: var(--ink); border-color: var(--ink); }
.btn-call:hover { background: #FFD43B; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18773F; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  border-bottom: 4px solid var(--hivis);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
.brand-name { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 1.3rem; letter-spacing: -0.02em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--hivis); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; }
.header-call { min-height: 40px; padding: 0 14px; font-size: .92rem; }

@media (max-width: 900px) {
  .header-call { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    background: transparent; color: var(--paper); border: 2px solid var(--paper); border-radius: var(--radius-s);
    font: 600 .95rem var(--body); cursor: pointer;
  }
  .nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--ink); padding: 8px var(--gutter) 16px;
    border-bottom: 4px solid var(--hivis);
  }
  .nav ul.open { display: flex; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid #364046; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 900; font-stretch: 112%;
  letter-spacing: -0.03em; line-height: .98;
}
.lede { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.hindi { margin-top: 14px; font-size: 1.25rem; font-weight: 700; color: var(--steel); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.states-line { margin-top: 22px; font-size: .95rem; color: var(--ink-soft); padding-left: 12px; border-left: 4px solid var(--hivis); max-width: 32em; }

/* Before / after slider: the one signature moment */
.compare { margin: 0; }
.compare-stage {
  position: relative; overflow: hidden;
  border: 3px solid var(--ink); border-radius: var(--radius-m);
  box-shadow: 10px 10px 0 var(--ink);
  aspect-ratio: 640 / 440; background: #DDE5E3;
  touch-action: pan-y;
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px;
  background: var(--hivis); pointer-events: none;
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  background: var(--hivis); border: 3px solid var(--ink); border-radius: 50%;
}
.compare-handle span::before, .compare-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border: 6px solid transparent;
}
.compare-handle span::before { left: 4px; border-right-color: var(--ink); }
.compare-handle span::after { right: 4px; border-left-color: var(--ink); }
.compare-tag {
  position: absolute; top: 12px; padding: 2px 10px; border-radius: var(--radius-s);
  font: 700 .85rem var(--display); pointer-events: none;
}
.tag-before { left: 12px; background: var(--ink); color: var(--paper); }
.tag-after { right: 12px; background: var(--leaf); color: #fff; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.compare-stage:has(.compare-range:focus-visible) { outline: 3px solid var(--hivis); outline-offset: 4px; }
.compare figcaption { margin-top: 18px; font-size: .92rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .compare-stage { box-shadow: 6px 6px 0 var(--ink); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 850; font-stretch: 110%; letter-spacing: -0.025em; }
.section-head p { margin-top: 12px; font-size: 1.12rem; color: var(--ink-soft); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .section-head p { color: #B8C1C4; }
.section-tint { background: var(--paper-2); }

/* Illustrated frames: a real sequence, so numbered */
.frames {
  list-style: none; margin: 0; padding: 0; counter-reset: frame;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px;
}
.frames li { counter-increment: frame; position: relative; }
.frames svg { width: 100%; border: 2px solid var(--ink); border-radius: var(--radius-m); background: #E4EAE8; }
.frames h3 { margin-top: 16px; font-size: 1.2rem; font-weight: 800; font-stretch: 108%; display: flex; align-items: baseline; gap: 8px; }
.frames h3::before {
  content: counter(frame); display: inline-grid; place-items: center;
  width: 26px; height: 26px; flex: none;
  background: var(--hivis); border: 2px solid var(--ink); border-radius: 50%;
  font-size: .85rem; font-stretch: 100%;
}
.frames p { margin-top: 6px; font-size: .98rem; color: var(--ink-soft); }
.frames li:not(:last-child)::after {
  content: ""; position: absolute; top: calc(37.5% - 1px); right: -18px; width: 16px; height: 3px;
  background: var(--ink);
}
@media (max-width: 1000px) {
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .frames li:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .frames h3 { font-size: 1.05rem; }
  .frames p { font-size: .92rem; }
  .frames li::after { display: none; }
}
@media (max-width: 359px) {
  .frames { grid-template-columns: 1fr; }
  .frames li:last-child { max-width: none; }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid #3A454B; }
.service { padding: 28px 28px 32px 0; }
.service + .service { padding-left: 28px; border-left: 2px solid #3A454B; }
.service h3 { font-size: 1.45rem; font-weight: 800; font-stretch: 108%; color: var(--hivis); }
.service p { margin-top: 12px; color: #D3D9DB; }
.service ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service li { position: relative; padding-left: 22px; margin-top: 8px; color: var(--paper); }
.service li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--hivis); }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 24px 0; border-left: 0; }
  .service + .service { border-top: 2px solid #3A454B; }
}

.materials { margin-top: clamp(40px, 6vw, 72px); max-width: 52rem; }
.materials h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.materials table { width: 100%; border-collapse: collapse; }
.materials th { text-align: left; font-weight: 500; color: #9EA9AD; font-size: .9rem; padding: 0 12px 8px 0; border-bottom: 2px solid #3A454B; }
.materials td { padding: 12px 12px 12px 0; border-bottom: 1px solid #333D42; vertical-align: top; }
.materials td:first-child { font-weight: 600; width: 46%; }
.materials td:last-child { color: #C5CDD0; }
.sw { display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -1px; border-radius: 2px; }
.sw-steel { background: #8FA3AD; } .sw-wood { background: #8A5E3A; } .sw-brick { background: #B4532F; }
.sw-metal { background: #C7CDD0; } .sw-tile { background: #DCD3C2; } .sw-rubble { background: #7F7D76; }
@media (max-width: 560px) {
  .materials thead { display: none; }
  .materials tr { display: block; padding: 12px 0; border-bottom: 1px solid #333D42; }
  .materials td { display: block; padding: 0; border: 0; width: auto !important; }
  .materials td:last-child { padding-left: 24px; margin-top: 2px; }
}

/* Deal models */
.deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.deal { padding: 26px; border: 2px solid var(--ink); border-radius: var(--radius-m); background: #fff; }
.deal h3 { font-size: 2.2rem; font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; }
.deal-sum { margin-top: 6px; font-weight: 700; font-size: 1.1rem; }
.deal p + p { margin-top: 10px; color: var(--ink-soft); }
.deal-pick { background: var(--hivis); box-shadow: 8px 8px 0 var(--ink); }
.deal-pick p + p { color: var(--ink); }
@media (max-width: 900px) { .deals { grid-template-columns: 1fr; } }

/* 7 steps */
.steps-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px;
  padding-bottom: 22px;
}
.steps li::before {
  content: counter(step); grid-row: span 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--ink); color: var(--hivis);
  font: 800 1.15rem var(--display); border-radius: 50%;
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--ink);
}
.steps h3 { font-size: 1.2rem; font-weight: 800; padding-top: 8px; }
.steps p { color: var(--ink-soft); margin-top: 2px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }

/* Area */
.area-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.checker label { display: block; font-weight: 700; margin-bottom: 8px; }
.checker select { width: 100%; max-width: 360px; }
.checker-result { margin-top: 14px; min-height: 3.2em; font-weight: 500; }
.checker-result.yes { color: var(--leaf); }
.checker-result.no { color: var(--brick); }

.tilemap {
  display: grid; gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-areas:
    ".  pb hp uk ."
    "rj rj up up br"
    ".  mp mp mp .";
}
.tile {
  text-align: left; font: inherit; color: var(--ink); cursor: pointer;
  min-height: 112px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-s);
  transition: background-color .15s;
}
.tile b { font-family: var(--display); font-weight: 800; font-stretch: 92%; font-size: 1rem; line-height: 1.1; overflow-wrap: anywhere; }
.tile span { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
.tile:hover, .tile.on { background: var(--hivis); }
.t-pb { grid-area: pb; } .t-hp { grid-area: hp; } .t-uk { grid-area: uk; }
.t-rj { grid-area: rj; } .t-up { grid-area: up; } .t-br { grid-area: br; } .t-mp { grid-area: mp; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .tilemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "pb hp" "uk rj" "up br" "mp mp";
  }
  .tile { min-height: 96px; }
}

/* Forms */
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  min-height: 48px; padding: 10px 12px;
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-s);
}
textarea { resize: vertical; min-height: 88px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--brick); background: #FBEFEA; }

/* Contact */
.section-contact { position: relative; background: var(--hivis); padding-top: calc(clamp(56px, 8vw, 104px) + 14px); }
.hazard {
  position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--hivis) 14px 28px);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-direct h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; font-stretch: 112%; letter-spacing: -0.03em; }
.contact-direct > p { margin-top: 12px; font-size: 1.12rem; max-width: 30em; }
.big-phone {
  display: inline-block; margin-top: 24px;
  font-family: var(--display); font-weight: 900; font-stretch: 120%;
  font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
  text-decoration: none; border-bottom: 5px solid var(--ink);
}
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li { padding: 10px 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.contact-list span { font-weight: 700; }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 0; } }

.enquiry { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius-m); padding: clamp(20px, 3vw, 32px); box-shadow: 10px 10px 0 var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-error { color: var(--brick); font-weight: 600; min-height: 0; }
.form-error:not(:empty) { margin-bottom: 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-note { margin-top: 12px; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .enquiry { box-shadow: 6px 6px 0 var(--ink); }
}

/* Footer */
.site-footer { background: var(--ink); color: #C5CDD0; padding: 40px 0; font-size: .95rem; }
.footer-row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: start; }
.brand-footer { color: var(--paper); }
.site-footer a { color: var(--paper); }
.copy { grid-column: 1 / -1; color: #8A969B; font-size: .85rem; }
@media (max-width: 760px) { .footer-row { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--wa); color: #fff; border-radius: 50%;
  box-shadow: 0 4px 0 var(--ink);
}
.float-wa svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Hindi (second language, always beside the English) ---------- */
[lang="hi"] { font-family: var(--body); letter-spacing: 0; font-stretch: 100%; font-style: normal; }
.hi-sub { margin-top: 8px; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; color: var(--steel); line-height: 1.35; }
.section-head .hi-sub { margin-top: 8px; color: var(--steel); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.section-ink .section-head .hi-sub { color: var(--hivis); }
.section-contact .hi-sub { color: var(--ink); }
.hi-body { margin-top: 10px; font-size: 1.08rem; line-height: 1.7; color: var(--ink-soft); max-width: 34em; }
.section-contact .hi-body { color: var(--ink); }
.cta-hi { margin-top: 12px; font-weight: 600; color: var(--leaf); }
.hi-line { display: block; margin-top: 4px; }
.hi-tag { display: block; margin-top: 3px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); line-height: 1.3; }
.section-ink .hi-tag { color: #B8C1C4; }
.frames h3 { flex-wrap: wrap; }
.frames h3 .hi-tag { flex-basis: 100%; padding-left: 34px; margin-top: 0; }
.deal h3 .hi-tag { font-size: 1rem; }
.deal-pick .hi-tag { color: var(--ink); }
.deal-hi { margin-top: 4px; font-weight: 500; }
.deal-pick .deal-hi { color: var(--ink); }
.hi-label { display: block; font-weight: 500; color: var(--ink-soft); }
.hi-label-inline { font-weight: 500; color: var(--ink-soft); }
.tile i { font-size: .92rem; font-weight: 600; color: var(--steel); margin-top: -6px; }
.contact-list span i { display: block; font-weight: 500; font-size: .9rem; }
.footer-hi { grid-column: 1 / -1; color: var(--paper); font-weight: 600; }
