/* Shared homepage type scale, loaded after the original component styles. */
:root {
  --type-body: 1rem;
  --type-small: .875rem;
  --type-label: .75rem;
  --type-card: 1.125rem;
  --type-section: clamp(1.625rem, 1.25rem + 1.2vw, 2rem);
  --type-hero: clamp(2rem, 1.25rem + 3vw, 3rem);
}

body {
  font-size: var(--type-body);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { overflow-wrap: break-word; }
p { margin: 0 0 1rem; }
.hero-grid > *, .grid > *, .coverage-layout > *, .form-grid > * { min-width: 0; }

.nav { gap: 20px; height: 72px; }
.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
nav { font-size: var(--type-small); gap: 16px; }
nav a, .nav-cta { white-space: nowrap; }
.nav-cta { font-size: var(--type-small); font-weight: 700; line-height: 1.4; }
.phone-strip { font-size: .8125rem; line-height: 1.5; }
.phone-strip a { letter-spacing: .025em; }

.hero { padding: 60px 0 72px; }
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; }
.eyebrow, .kicker {
  font-size: var(--type-label);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .1em;
}
.eyebrow i { flex-shrink: 0; }
.hero h1 {
  font-size: var(--type-hero);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 16px 0 18px;
}
.hero p { font-size: var(--type-body); line-height: 1.65; margin: 0 0 12px; }
.hero .hero-hindi { font-size: var(--type-body); line-height: 1.8; margin: 12px 0 0; }
.heritage-pill { font-size: .8125rem; line-height: 1.65; margin-top: 16px; letter-spacing: 0; }
.hero .hero-phone { font-size: var(--type-small); line-height: 1.55; margin: 18px 0 0; }
.hero-phone strong, .contact-line strong, .coverage-call {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .025em;
  white-space: nowrap;
}
.hero-card { max-width: 500px; justify-self: end; border-radius: 22px; }
.actions { margin-top: 22px; gap: 12px; }
.btn {
  font-size: var(--type-small);
  font-weight: 700;
  line-height: 1.5;
  padding: 12px 20px;
  text-align: center;
}

section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 {
  font-size: var(--type-section);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 8px 0 14px;
  text-wrap: balance;
}
.section-head h2:lang(hi) { line-height: 1.5; letter-spacing: 0; }
.section-head p { font-size: var(--type-body); line-height: 1.7; margin: 0 0 14px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head .contact-line { margin-top: 18px; font-size: var(--type-small); }
.band .kicker { color: #a6efff; }

.stats { margin-top: -28px; gap: 16px; }
.stat { padding: 22px 24px; }
.stat strong { font-size: 1.5rem; line-height: 1.3; font-weight: 750; margin-bottom: 6px; }
.stat span { display: block; font-size: var(--type-small); line-height: 1.55; }
.card { padding: 24px; }
.card h3, .promise strong, .delivery-note h3 {
  font-size: var(--type-card);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.01em;
}
.card h3 { margin: 16px 0 10px; }
.card p { font-size: .9375rem; line-height: 1.7; }
.service-value { font-size: var(--type-label); font-weight: 700; line-height: 1.65; }
.promise strong { margin-bottom: 8px; }
.promise span { display: block; font-size: .9375rem; line-height: 1.7; }
.trust-block { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; margin: 24px 0; }
.trust-year strong { font-size: 2.5rem; line-height: 1.2; font-weight: 750; }
.trust-year span { font-size: .6875rem; letter-spacing: .08em; }
.trust-block h3 { font-size: 1.25rem; line-height: 1.6; letter-spacing: 0; }
.trust-block p { font-size: .9375rem; line-height: 1.85; }
.quote { padding: 28px; font-size: 1.125rem; line-height: 1.75; font-weight: 600; }
.quote small { font-size: var(--type-small); line-height: 1.65; margin-top: 12px; }
.coverage-panel h3 { font-size: 1.25rem; line-height: 1.4; }
.coverage-copy, .delivery-note p { font-size: .9375rem; line-height: 1.75; }
.district-search { font-size: var(--type-body); }
.district-name, .district-hindi { line-height: 1.65; }

.tool { padding: 28px; }
.form-grid { gap: 18px; }
.form-grid label { color: #40536a; line-height: 1.6; }
.form-grid input, .form-grid select, .form-grid textarea {
  font-size: var(--type-body);
  line-height: 1.5;
  padding: 12px;
  min-width: 0;
  min-height: 48px;
}
.form-grid label > input, .form-grid label > select, .form-grid label > textarea { margin-top: 6px; }
.form-grid button { font-size: var(--type-small); font-weight: 700; line-height: 1.5; }
.tool .btn-primary { background: var(--blue); color: #fff; }
.price-result { font-size: 1.5rem; line-height: 1.4; font-weight: 750; }
.faq summary { font-size: var(--type-body); line-height: 1.65; font-weight: 700; }
.faq p { font-size: .9375rem; line-height: 1.8; margin: 12px 0 0; }
.media-card h3 { font-size: .9375rem; line-height: 1.55; font-weight: 600; }
.contact { padding: 36px; }
.footer-phone { font-size: 1.25rem; line-height: 1.5; letter-spacing: .025em; }
.footer-row { line-height: 1.85; }

@media (max-width: 980px) {
  .nav { gap: 16px; }
  .brand { font-size: 1.125rem; }
  nav { font-size: .8125rem; gap: 12px; }
  .nav-cta { padding: 10px 14px; }
  .hero-grid { gap: 28px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .nav { height: 68px; gap: 12px; }
  .nav .brand { font-size: 1.0625rem; line-height: 1.25; max-width: 176px; flex: 1; min-width: 0; }
  .nav-cta { font-size: .8125rem; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: clamp(2rem, 6.8vw, 2.625rem); margin-top: 14px; }
  .hero-card { justify-self: center; }
  .heritage-pill { font-size: .8125rem; border-radius: 14px; }
  section { padding: 48px 0; }
  .stats { margin-top: 0; padding-top: 20px; gap: 12px; }
  .stat { padding: 18px 22px; }
  .stat strong { font-size: 1.375rem; }
  .section-head h2 { font-size: 1.75rem; }
  .trust-block { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px; }
  .trust-year strong { font-size: 2.25rem; }
  .trust-block h3 { font-size: 1.125rem; }
  .quote { padding: 24px; }
  .contact { padding: 28px; }
}

@media (max-width: 600px) {
  .grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tool, .card { padding: 22px; }
  .section-head h2 { font-size: 1.625rem; }
  .section-head { margin-bottom: 24px; }
  .hero .hero-phone { font-size: var(--type-small); }
  .actions, .contact-actions { gap: 10px; }
  .btn { padding: 12px 16px; }
  .contact { padding: 24px; }
  .footer-row { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .media-open img { transition: none; }
  .card:hover, .media-open:hover img { transform: none; }
}
