:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #152238;
  --accent: #0066ff;
  --accent-soft: #e8f0ff;
  --border: #dde4f0;
  --muted: #5b6b83;
  --error: #b42318;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, Arial, sans-serif;
  background: linear-gradient(180deg, #f4f7ff 0%, #f6f8fc 30%);
  color: var(--text);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(21, 34, 56, 0.04);
}

header h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

header p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.calculator-grid {
  display: grid;
  gap: 0.9rem;
}

label { display: grid; gap: 0.45rem; font-weight: 600; }
input, select, button {
  font: inherit;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

input:focus, select:focus, button:focus {
  outline: 2px solid transparent;
  border-color: #8fb2ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.16);
}

.checkbox-row { display: flex; align-items: center; gap: 0.5rem; }
.results p { margin: 0.35rem 0; }

.results h2 {
  margin-bottom: 0.4rem;
}

.results-context {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: #f8fafc;
  border: 1px dashed #d8e2f2;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.results #average {
  font-weight: 800;
  color: #0b3ea9;
}

button {
  background: var(--accent);
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

button:hover { filter: brightness(0.96); }

.field-hint {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.field-hint.error {
  color: var(--error);
}

.area-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.preset-btn {
  background: var(--accent-soft);
  color: #0b3ea9;
  border: 1px solid #c9d9ff;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

.monetization a, .policy-links a {
  color: #0b3ea9;
}

.seo-copy {
  line-height: 1.7;
}


.ad-card {
  text-align: center;
  min-height: 210px;
}

.ad-policy-note,
.ad-fallback-note {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
}

.ad-card--inactive .adsense-slot {
  display: none !important;
}

.ad-label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.adsense-slot {
  width: 100%;
  min-height: 120px;
  content-visibility: auto;
  contain-intrinsic-size: 180px;
}

@media (min-width: 760px) {
  .calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Indore landing redesign */
.city-redesign {
  background: #e9edf3;
}

.city-redesign .container {
  max-width: 1140px;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    'hero hero'
    'estimator dashboard'
    'testimonial testimonial'
    'ad ad'
    'policy policy';
}

.city-redesign .hero {
  grid-area: hero;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 1rem 2.5rem;
  border-radius: 0;
  margin: -1.1rem -1.1rem 0.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(74, 159, 225, 0.18), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(255, 151, 47, 0.2), transparent 42%),
    linear-gradient(to bottom, #f3f8ff, #e9f1fb);
}

.city-redesign .hero h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  color: #213b5d;
  margin-bottom: 0.2rem;
}

.city-redesign .hero-subtitle {
  margin: 0;
  font-weight: 700;
  color: #35618e;
  font-size: 1.22rem;
}

.city-redesign .hero-copy {
  margin: 0.45rem 0 0;
  color: #365472;
}


.city-redesign .estimator-card { grid-area: estimator; }
.city-redesign .dashboard { grid-area: dashboard; }
.city-redesign .testimonial-card { grid-area: testimonial; }
.city-redesign .ad-card { grid-area: ad; }
.city-redesign .policy-links { grid-area: policy; }

.city-redesign .card {
  border-radius: 14px;
  border-color: #d3dae6;
  box-shadow: 0 4px 10px rgba(30, 47, 73, 0.06);
}

.city-redesign .estimator-card h2,
.city-redesign .step-block h3 {
  color: #223c5e;
}

.city-redesign .field {
  margin-bottom: 0.7rem;
}

.city-redesign .field > span {
  font-weight: 700;
  color: #33506f;
}

.city-redesign .field select,
.city-redesign .field input {
  background: #f8fafd;
  border: 1px solid #cfd8e7;
}

.city-redesign .field-icon {
  margin-right: 0.25rem;
}

.city-redesign .step-block {
  border-top: 1px solid #e0e6f1;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
}

.city-redesign .segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #ccd7e7;
  border-radius: 10px;
  overflow: hidden;
}

.city-redesign .yes-no {
  width: 200px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.city-redesign .segment-btn {
  border: none;
  border-right: 1px solid #d6dfed;
  border-radius: 0;
  background: #f9fbff;
  color: #2f4c6d;
  padding: 0.62rem;
  font-weight: 700;
}

.city-redesign .segment-btn:last-child {
  border-right: 0;
}

.city-redesign .segment-btn.active {
  background: linear-gradient(180deg, #fd9734 0%, #f16100 100%);
  color: #fff;
}

.city-redesign .segmented:not(.quality):not(.yes-no) .segment-btn.active {
  background: linear-gradient(180deg, #4a9fe1 0%, #2f79bf 100%);
}

.city-redesign .toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.city-redesign .cta {
  margin-top: 1rem;
  width: 100%;
  background: linear-gradient(180deg, #ff972f 0%, #f75600 100%);
  letter-spacing: 0.01em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.city-redesign .dashboard h2 {
  text-align: center;
  margin-top: 0;
}

.city-redesign .range-grid,
.city-redesign .cost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.city-redesign .range-card {
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid #d7dfeb;
  background: #f9fbff;
}

.city-redesign .range-card p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.city-redesign .range-card span {
  display: block;
  font-size: 1.4rem;
  margin-top: 0.2rem;
  min-height: 1.6em;
}

.city-redesign .range-bar {
  margin-top: 0.55rem;
  height: 8px;
  border-radius: 99px;
}

.city-redesign .range-card.low .range-bar { background: #66b161; }
.city-redesign .range-card.average .range-bar { background: #43a1d3; }
.city-redesign .range-card.high .range-bar { background: #f06a08; }

.city-redesign .cost-card {
  text-align: center;
  border: 1px solid #d3dce9;
  border-radius: 10px;
  padding: 0.85rem 0.6rem;
  background: #fbfcff;
}

.city-redesign .cost-card .icon {
  font-size: 2rem;
  margin: 0;
}

.city-redesign .cost-card h3 {
  margin: 0.35rem 0;
  font-size: 1rem;
}

.city-redesign .cost-card p:last-child {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  min-height: 1.6em;
}

.city-redesign .quote-strip {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e0e7f2;
  text-align: center;
}

.city-redesign .quote-strip > div {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}

.city-redesign .orange-btn {
  background: linear-gradient(180deg, #ff972f 0%, #f75600 100%);
  color: #fff;
  border: none;
}

.city-redesign .outline-btn {
  background: #f4f7fb;
  color: #35506f;
  border: 1px solid #c9d4e4;
}

.city-redesign .trust-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: #2c5d43;
  flex-wrap: wrap;
  font-weight: 600;
}

.city-redesign .testimonial-card p {
  margin: 0.3rem 0;
  color: #3f5571;
}

@media (max-width: 1023px) {
  .city-redesign .container {
    max-width: 760px;
    grid-template-columns: 1fr;
    grid-template-areas:
      'hero'
      'estimator'
      'dashboard'
      'testimonial'
      'ad'
      'policy';
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0.9rem;
  }

  .city-redesign .hero {
    margin: -0.9rem -0.9rem 0.3rem;
    padding: 1.6rem 0.85rem 1.9rem;
  }

  .city-redesign .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .city-redesign .range-grid,
  .city-redesign .cost-grid {
    grid-template-columns: 1fr;
  }

  .city-redesign .toggle-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-redesign .yes-no,
  .city-redesign .segmented {
    width: 100%;
  }

  .city-redesign .segment-btn,
  .city-redesign .cta {
    min-height: 46px;
  }
}
