
:root {
  --ink: #122238;
  --muted: #64748b;
  --blue: #2457d6;
  --blue-dark: #153b8f;
  --gold: #f0b44b;
  --line: #e1e8f2;
  --surface: #f5f8fc;
  --green: #168653;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: var(--ink);
  background: #f5f7fb;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}
a { text-decoration: none; }
button, input, select, textarea { font: inherit; }
main section, #calculator, #estimateResult, #enquirySection {
  scroll-margin-top: 100px;
}
.topbar {
  padding: 9px 0;
  background: #0e1b2d;
  color: #dbe6f5;
  font-size: .82rem;
}
.topbar i { color: var(--gold); margin-right: 5px; }

.main-navbar {
  position: sticky !important;
  top: 0;
  z-index: 1030;
  padding: 12px 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16,35,65,.09);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg,var(--blue),#142d62);
  color: white;
  font-size: 1.2rem;
}
.brand-name { color: var(--ink); font-weight: 850; letter-spacing: -.03em; }
.main-navbar .nav-link {
  padding: 10px 12px;
  color: #34445b;
  font-weight: 650;
  border-radius: 9px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus { color: var(--blue); background: #f1f5ff; }

.contact-btn, .primary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg,var(--blue),var(--blue-dark));
  color: #fff;
  font-weight: 750;
  box-shadow: 0 9px 20px rgba(36,87,214,.18);
  transition: .2s ease;
}
.contact-btn:hover, .primary-btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(36,87,214,.25);
}
.navbar-toggler { border-color: #d9e2ef; }

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(55px,8vw,100px) 0;
  background:
    radial-gradient(circle at 82% 22%,rgba(68,126,242,.24),transparent 30%),
    radial-gradient(circle at 12% 100%,rgba(240,180,75,.13),transparent 27%),
    linear-gradient(125deg,#0c192b 0%,#132b4b 57%,#1b3e70 100%);
  color: #fff;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr);
  align-items: center;
  gap: 35px;
}
.hero-content h1 {
  margin: 18px 0;
  font-size: clamp(2.3rem,5vw,4.2rem);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.045em;
}
.hero-content h1 span { color: #8db4ff; }
.hero-content p { max-width: 650px; color: #d3deee; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .11em;
}
.hero-section .eyebrow { color: #f4c66e; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 25px; }
.hero-points span { color: #e3ebf8; font-size: .9rem; }
.hero-points i { color: #82d9ad; margin-right: 5px; }

.blueprint-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 290px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 25px;
  background: linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.04));
  box-shadow: 0 25px 60px rgba(0,0,0,.16);
}
.blueprint-icon { margin-bottom: 12px; font-size: 3rem; color: #9fc0ff; }
.blueprint-card > span { color: #dce8ff; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.blueprint-card > strong { margin: 8px 0 20px; font-size: 1.65rem; }
.blueprint-lines {
  height: 55px;
  margin-bottom: 18px;
  background: repeating-linear-gradient(0deg,transparent 0 12px,rgba(255,255,255,.18) 13px 14px),
              repeating-linear-gradient(90deg,transparent 0 35px,rgba(255,255,255,.14) 36px 37px);
}
.blueprint-card small { color: #c5d6f2; font-weight: 700; letter-spacing: .12em; }

.estimator-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 28px;
  max-width: 1400px;
  padding-top: 48px;
  padding-bottom: 70px;
}
.estimator-main { min-width: 0; }
.section-heading { max-width: 760px; margin-bottom: 24px; }
.section-heading h2 { margin: 7px 0; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 850; letter-spacing: -.035em; }
.section-heading p { color: var(--muted); }
.demo-warning {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 15px 17px;
  border: 1px solid #f0d59a;
  border-radius: 13px;
  background: #fff8e7;
  color: #76521b;
}
.demo-warning > i { margin-top: 3px; font-size: 1.15rem; }
.demo-warning p { margin: 3px 0 0; font-size: .88rem; }

.estimator-card {
  margin-bottom: 20px;
  padding: clamp(18px,3vw,28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(18,34,56,.055);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.estimator-card:hover { border-color: #d3def0; }
.card-title-row { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.card-title-row h3 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.card-title-row p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 850;
}
.form-label { margin-bottom: 8px; font-weight: 700; font-size: .92rem; }
.form-control, .form-select {
  min-height: 47px;
  border-color: #dce4ef;
  border-radius: 10px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(36,87,214,.12);
}
.field-hint { display: block; margin-top: 8px; color: var(--muted); font-size: .78rem; line-height: 1.55; }

.area-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border: 1px solid #d9e6ff;
  border-radius: 13px;
  background: #f2f6ff;
}
.area-summary > div { display: flex; align-items: flex-start; gap: 10px; }
.area-summary > div > i { color: var(--blue); font-size: 1.25rem; }
.area-summary > div > span { font-weight: 750; }
.area-summary small { margin-top: 3px; color: var(--muted); font-weight: 400; font-size: .78rem; }
.area-summary > strong { font-size: 1.25rem; color: var(--blue-dark); }

.finish-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.finish-option {
  display: block;
  min-height: 135px;
  padding: 17px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: .2s ease;
}
.finish-option:hover { border-color: #a9c2ff; transform: translateY(-2px); }
.finish-option.selected { border: 2px solid var(--blue); background: #f5f8ff; }
.finish-option input { position: absolute; opacity: 0; }
.finish-content { display: flex; flex-direction: column; gap: 6px; }
.finish-icon { color: var(--blue); font-size: 1.5rem; }
.finish-content strong { font-size: 1.05rem; }
.finish-content small, .component-option small { color: var(--muted); font-size: .82rem; }
.recommended { align-self: flex-start; padding: 4px 8px; margin-top: 5px; border-radius: 5px; background: #e0edff; color: #204caa; font-size: .62rem; font-weight: 800; }

.component-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.component-option {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition: .2s ease;
}
.component-option:hover { border-color: #a9c2ff; background: #fbfcff; }
.component-option input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blue); }
.component-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 1.15rem;
}
.component-option > span:last-child { display: grid; gap: 3px; }
.scope-note { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }

.estimate-help {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding: 15px 17px;
  border: 1px solid #d8e5ff;
  border-radius: 14px;
  background: #f2f6ff;
  color: #233d69;
}
.estimate-help > i { margin-top: 2px; color: var(--blue); font-size: 1.2rem; }
.estimate-help strong { display: block; margin-bottom: 3px; }
.estimate-help p { margin: 0; color: #526783; font-size: .88rem; }

.estimate-result {
  padding: 22px;
  border-radius: 17px;
  background: linear-gradient(135deg,#10233d,#1d4277);
  color: white;
}
.estimate-topline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.estimate-chip { padding: 6px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 30px; font-size: .7rem; font-weight: 800; letter-spacing: .07em; }
.estimate-caption { margin: 20px 0 3px; color: #d8e5fa; }
.estimate-range { font-size: clamp(1.65rem,3vw,2.5rem); font-weight: 850; line-height: 1.25; overflow-wrap: anywhere; }
.estimate-per-sqft { margin-top: 8px; color: #d8e5fa; font-size: .9rem; }
.estimate-divider { height: 1px; margin: 20px 0; background: rgba(255,255,255,.18); }
.result-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.result-metrics > div { display: grid; gap: 4px; }
.result-metrics span { color: #d8e5fa; font-size: .8rem; }
.result-metrics strong { font-size: .95rem; overflow-wrap: anywhere; }
.breakdown-heading { margin: 24px 0 10px; font-size: 1.05rem; font-weight: 800; }
.breakdown-item { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #475569; }
.breakdown-item small { display: block; color: var(--muted); }
.breakdown-item strong { text-align: right; white-space: nowrap; color: var(--ink); }
.cost-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cost-total-row strong { text-align: right; }
.final-total { color: var(--blue-dark); font-size: 1.05rem; font-weight: 800; }
.estimate-disclaimer { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--muted); font-size: .83rem; }
.estimate-disclaimer p { margin: 0; }
.estimate-disclaimer i { color: #b7791f; margin-top: 3px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.outline-btn, .whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid #d6dfed;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}
.whatsapp-btn { border: 0; background: var(--green); color: white; }
.whatsapp-btn:hover { background: #116d43; color: white; transform: translateY(-2px); }

.enquiry-card { border-top: 4px solid var(--blue); }
.consent-option { display: flex; align-items: flex-start; gap: 10px; color: #475569; font-size: .88rem; }
.consent-option input { margin-top: 5px; accent-color: var(--blue); }
.form-status { margin: 12px 0; color: var(--muted); font-size: .9rem; }
.form-status.error { color: #b42318; }
.form-status.success { color: #137547; }
.whatsapp-submit-btn { width: 100%; background: linear-gradient(135deg,#168653,#0e7044); }
.whatsapp-submit-btn:hover { background: linear-gradient(135deg,#137747,#0b6039); }
.whatsapp-form-note { display: block; margin-top: 12px; color: var(--muted); font-size: .82rem; line-height: 1.6; }

.estimator-sidebar { position: sticky; top: 110px; align-self: start; }
.sidebar-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 32px rgba(18,34,56,.05);
}
.sidebar-icon { color: var(--blue); font-size: 1.8rem; }
.sidebar-card h3 { margin-top: 10px; font-size: 1.2rem; font-weight: 800; }
.sidebar-card p, .sidebar-card li { color: var(--muted); font-size: .9rem; }
.sidebar-card ul { padding-left: 20px; }
.sidebar-card li { margin-bottom: 8px; }
.sidebar-contact { display: grid; gap: 4px; padding-top: 17px; margin-top: 18px; border-top: 1px solid var(--line); }
.sidebar-contact small { color: var(--muted); font-weight: 800; letter-spacing: .08em; }
.sidebar-contact a { color: var(--blue); font-weight: 800; }
.site-footer { padding: 22px 0; background: #0e1b2d; color: #dbe6f5; }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; }

.floating-whatsapp {
  position: fixed;
  z-index: 1050;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(22,134,83,.32);
  transition: .2s ease;
}
.floating-whatsapp:hover { color: white; transform: translateY(-3px); }

[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(36,87,214,.35);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .hero-content { grid-template-columns: 1fr; }
  .blueprint-card { max-width: 550px; }
  .estimator-layout { grid-template-columns: 1fr; }
  .estimator-sidebar { position: static; }
  .contact-btn { width: 100%; margin: 12px 0 4px; }
  .main-navbar .navbar-collapse { padding: 12px 0 5px; max-height: calc(100vh - 90px); overflow-y: auto; }
}
@media (max-width: 767.98px) {
  .topbar .container { justify-content: center !important; }
  .finish-grid, .component-grid { grid-template-columns: 1fr; }
  .result-metrics { grid-template-columns: 1fr; }
  .result-metrics > div { grid-template-columns: 1fr auto; align-items: center; }
  .result-metrics strong { text-align: right; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .hero-points { display: grid; gap: 10px; }
}
@media (max-width: 575.98px) {
  .area-summary { align-items: flex-start; flex-direction: column; }
  .area-summary > strong { font-size: 1.3rem; }
  .estimator-card { border-radius: 15px; }
  .estimate-help { padding: 13px; }
  .step-number { flex-basis: 38px; width: 38px; height: 38px; }
  .result-actions > button { width: 100%; }
  .floating-whatsapp { right: 15px; bottom: 15px; width: 52px; height: 52px; }
}
@media print {
  .topbar, .main-navbar, .hero-section, .estimator-sidebar,
  .enquiry-card, .site-footer, .floating-whatsapp, .result-actions {
    display: none !important;
  }
  body { background: white; }
  .estimator-layout { display: block; padding: 0; }
  .estimator-card, .estimate-result { box-shadow: none; break-inside: avoid; }
}
