/* Pardeep Singh Verma - local services landing page
   Mobile-first, system fonts, no framework. */

:root {
  --ink: #1c2421;
  --muted: #4a5550;
  --green: #1f3a2e;
  --green-soft: #e7efe9;
  --accent: #b4471a;       /* 5.4:1 on white */
  --accent-dark: #933913;
  --cream: #fffaf3;
  --warm: #fcefdf;
  --alt: #f5f2ec;
  --line: #e4ddd2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 36, 33, .06), 0 8px 24px rgba(28, 36, 33, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 76px; /* room for sticky mobile CTA */
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--green); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--green); color: var(--white); padding: .75rem 1rem; border-radius: 8px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 780px; }
.center { text-align: center; margin-top: 2rem; }
@media (min-width: 420px) { .nowrap { white-space: nowrap; } } /* below 420px it forced horizontal scroll on 360/375px phones */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-secondary { background: var(--green); color: var(--white); }
.btn-secondary:hover { background: #142a20; color: var(--white); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-small { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn-large { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.075rem; }
.btn-block { display: flex; width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .95);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 250, 243, .85); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--green); font-weight: 800; }
.brand:hover { color: var(--green); }
.brand-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--green); color: #ffd9a8; font-size: .9rem; letter-spacing: .02em;
}
.brand-name { font-size: 1rem; }
.site-nav { display: none; }
.header-cta { display: none; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; background: linear-gradient(180deg, var(--cream) 0%, var(--warm) 100%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-size: .9rem; font-weight: 700;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Map mock (illustration, no third-party branding) */
.map-mock {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 1rem; max-width: 460px; width: 100%; justify-self: center;
}
.mock-search {
  display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); font-size: .95rem; margin-bottom: .9rem;
}
.mock-search-icon {
  width: 14px; height: 14px; border: 2px solid var(--muted); border-radius: 50%; position: relative; flex: none;
}
.mock-search-icon::after {
  content: ""; position: absolute; width: 6px; height: 2px; background: var(--muted);
  right: -5px; bottom: -3px; transform: rotate(45deg);
}
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mock-list li {
  display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: .75rem;
  padding: .65rem .8rem; border-radius: 10px; background: var(--alt);
}
.mock-rank {
  grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: var(--white); font-weight: 800; font-size: .9rem; align-self: center;
}
.mock-name { font-weight: 700; color: var(--ink); }
.mock-meta { font-size: .85rem; color: var(--muted); }
.mock-list li.mock-fold {
  display: block; background: none; padding: .25rem 0; text-align: center;
  font-size: .8rem; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em;
  border-top: 2px dashed #e3b99f;
}
.mock-list li.mock-you { background: #fff3ea; border: 2px solid var(--accent); }
.mock-you .mock-rank { background: var(--accent); }
.mock-caption { margin-top: .75rem; font-size: .78rem; color: var(--muted); text-align: center; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--alt); }
.section-warm { background: var(--warm); }
.section-kicker {
  margin-bottom: .5rem; font-size: .85rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dark);
}
.section-intro { color: var(--muted); max-width: 44em; margin-bottom: 1.75rem; }

.cards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }

/* Offers */
.intro-note { margin-bottom: 0; }
.offers { display: grid; gap: 1.75rem 1.5rem; margin-top: 2rem; align-items: stretch; }
.offer {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow);
}
.offer h3 { padding-right: .25rem; }
.offer > .btn { margin-top: auto; }
.offer-sub { display: block; margin-top: .2rem; font-size: .95rem; font-weight: 700; color: var(--accent-dark); }
.offer-featured {
  border: 3px solid var(--accent); background: #fff8f2;
  box-shadow: 0 2px 4px rgba(180, 71, 26, .08), 0 14px 32px rgba(180, 71, 26, .16);
  padding-top: 2rem;
}
.offer-badge {
  position: absolute; top: -14px; left: 1.5rem; margin: 0;
  background: var(--accent); color: var(--white); font-size: .8rem; font-weight: 800;
  padding: .25rem .75rem; border-radius: 999px; letter-spacing: .03em;
}
.price { margin: .25rem 0 .25rem; color: var(--ink); }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.price-term { color: var(--muted); font-weight: 600; }
.offer-time { font-weight: 700; color: var(--accent-dark); margin-bottom: 1rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f3a2e' stroke-width='3'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.price-was { display: block; font-size: 1rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.price-was s { text-decoration-thickness: 2px; }
.guarantee { background: var(--green-soft); border-radius: 10px; padding: .7rem .9rem; color: var(--green); font-size: .95rem; line-height: 1.45; }
.offer-note { font-size: .92rem; color: var(--muted); }
.offer-save { font-weight: 700; color: var(--accent-dark); }

/* Yearly plans strip */
.plans {
  margin-top: 2rem; padding: 1.5rem; border-radius: 18px;
  background: var(--white); border: 1px dashed #cdbfa9;
}
.plans-title { font-size: 1.1rem; margin-bottom: 1rem; }
.plans-sub {
  display: inline-block; margin-left: .4rem; padding: .1rem .6rem; border-radius: 999px; vertical-align: middle;
  background: var(--green-soft); color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: 0;
}
.plans-grid { display: grid; gap: 1.25rem; }
.plans-item { border-left: 4px solid var(--green); padding-left: 1rem; }
.plans-item p { margin: 0 0 .35rem; }
.plans-name { font-weight: 800; color: var(--green); }
.plans-price { color: var(--muted); font-weight: 600; }
.plans-amount { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.plans-desc { color: var(--muted); font-size: .95rem; }
.plans-free { display: inline-block; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: .9rem; border-radius: 8px; padding: .2rem .6rem; }
.checklist li.includes-care { color: var(--green); }
.pay-note { margin: 1.5rem 0 0; font-size: .95rem; color: var(--muted); max-width: 48em; }
.pay-note strong { color: var(--ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.25rem; counter-reset: none; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.step p { margin: 0; color: var(--muted); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--white); font-weight: 800; font-size: 1.2rem; margin-bottom: .9rem;
}

/* Why me */
.why-grid { display: grid; gap: 2rem; }
.lead-sm { font-size: 1.1rem; color: var(--muted); }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why-list li { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.4rem; border-left: 4px solid var(--green); }
.why-list h3 { margin-bottom: .35rem; }
.why-list p { margin: 0; color: var(--muted); }

/* Links (demo card CSS removed 2026-11-22, W005; saved in README.md) */
.text-link { font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-weight: 700; color: var(--green); border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
.field label { font-weight: 700; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid #b9b0a3; border-radius: 10px;
}
.field input::placeholder { color: #6e7671; }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-note { font-size: .9rem; color: var(--muted); text-align: center; margin: .75rem 0 0; }

/* Footer */
.site-footer { background: var(--green); color: #e6eee9; padding: 2.5rem 0 1rem; }
.site-footer a { color: #ffd9a8; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-name { font-weight: 800; font-size: 1.15rem; color: var(--white); margin-bottom: .4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { display: inline-block; padding: .2rem 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 1.5rem; padding-top: 1rem; font-size: .88rem; color: #c9d6ce; }
.footer-bottom p { margin: 0; }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: .5rem; padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 250, 243, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(28, 36, 33, .08);
}

/* >= 600px */
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .header-cta { display: inline-flex; }
}

/* >= 700px */
@media (min-width: 700px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* >= 900px */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .site-nav { display: flex; gap: 1.5rem; }
  .site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .4rem 0; }
  .site-nav a:hover { color: var(--accent); }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
  .section { padding: 5rem 0; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

/* >= 1100px: four price cards in one row */
@media (min-width: 1100px) {
  .offers { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .offer { padding: 1.75rem 1.25rem; }
  .offer-featured { padding-top: 2rem; }
  .offer-badge { left: 1.25rem; }
  .price-amount { font-size: 2.25rem; }
}
