/* ===== Jemstone Cleaning Co. — Design System ===== */
:root {
  --emerald: #0e3d2c;
  --emerald-700: #195940;
  --emerald-800: #0a2d20;
  --sage: #d8e8df;
  --sage-soft: #ebf2ed;
  --ivory: #f7f4ed;
  --ivory-warm: #f1ece0;
  --gold: #c8a96a;
  --gold-deep: #a8884a;
  --ink: #1a1a1a;
  --muted: #5a6660;

  --serif: "Fraunces", "Editorial New", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --max: 1200px;
  --pad: clamp(20px, 4vw, 56px);

  --shadow-soft: 0 1px 2px rgba(14,61,44,.04), 0 8px 24px rgba(14,61,44,.06);
  --shadow-deep: 0 4px 12px rgba(14,61,44,.08), 0 24px 48px rgba(14,61,44,.10);
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; }

/* ===== Typography ===== */
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--emerald); letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; }
p  { color: var(--muted); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink); line-height: 1.55; }

/* ===== Layout primitives ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(64px, 9vw, 128px) 0; }
.divider { height: 1px; background: rgba(14,61,44,.1); margin: 0; border: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--emerald); color: var(--ivory); }
.btn-primary:hover { background: var(--emerald-700); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--emerald); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--emerald-800); }
.btn-ghost { color: var(--emerald); }
.btn-ghost:hover { color: var(--gold-deep); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,237,.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(14,61,44,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); max-width: var(--max); margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand svg { width: 26px; height: auto; }
.nav-brand .wordmark { font-family: var(--serif); font-size: 22px; color: var(--emerald); letter-spacing: -.005em; }
.nav-links { display: none; gap: 36px; }
.nav-links a { font-size: 14px; color: var(--emerald); transition: color .2s; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: none; align-items: center; gap: 8px; font-size: 14px; color: var(--emerald); font-weight: 500; }
.nav-phone svg { width: 14px; height: 14px; stroke: var(--gold-deep); }
.nav-cta-btn { padding: 10px 18px; font-size: 14px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-phone { display: inline-flex; }
}

/* ===== Hero ===== */
.hero { padding-top: 32px; padding-bottom: clamp(48px, 8vw, 112px); }
.hero-grid {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 72px; }
}
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 32px; }
.hero h1 em { font-style: italic; color: var(--emerald-700); }
.hero-sub { max-width: 480px; margin-bottom: 36px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.hero-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--sage);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(14,61,44,.05) 100%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .hero-photo { aspect-ratio: 4/5; }
}

/* ===== Services ===== */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .kicker { display: inline-block; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 17px; line-height: 1.6; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(14,61,44,.08);
  border: 1px solid rgba(14,61,44,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 700px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.service {
  background: var(--ivory);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column;
  transition: background .25s ease;
  position: relative;
}
.service:hover { background: var(--sage-soft); }
.service-icon { width: 36px; height: 36px; margin-bottom: 24px; }
.service-icon svg { width: 100%; height: 100%; stroke: var(--gold-deep); fill: none; stroke-width: 1.5; }
.service h3 { color: var(--emerald); margin-bottom: 12px; }
.service p { font-size: 15px; line-height: 1.55; margin-bottom: 24px; flex: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--emerald); font-weight: 500;
  transition: gap .2s ease;
}
.service-link:hover { gap: 14px; color: var(--gold-deep); }
.service-link svg { width: 14px; height: 14px; }

/* ===== Why Us ===== */
.why { background: var(--sage-soft); }
.why-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  margin-top: 24px;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.why-item { display: flex; flex-direction: column; gap: 12px; }
.why-num {
  font-family: var(--serif); font-size: 14px; color: var(--gold-deep);
  letter-spacing: .15em; padding-bottom: 12px;
  border-bottom: 1px solid rgba(14,61,44,.15);
  margin-bottom: 8px;
}
.why-item h4 { color: var(--emerald); font-size: 19px; }
.why-item p { font-size: 14.5px; line-height: 1.55; }

/* ===== Recent work gallery ===== */
.gallery-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 640px;
  }
  .gallery-grid > :first-child { grid-row: span 2; }
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sage);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
}
@media (min-width: 700px) { .gallery-item { aspect-ratio: auto; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption {
  position: absolute; left: 20px; bottom: 18px;
  background: rgba(247,244,237,.92);
  backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500; color: var(--emerald);
}

/* ===== Testimonial ===== */
.testimonial { background: var(--emerald); color: var(--ivory); }
.testimonial h2, .testimonial .kicker, .testimonial p { color: var(--ivory); }
.testimonial .kicker { color: var(--gold); }
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.35;
  font-style: italic;
  font-weight: 300;
  max-width: 880px;
  margin: 32px 0;
  color: var(--ivory);
}
.testimonial-attr { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); opacity: .9; }

/* ===== Service area ===== */
.areas { background: var(--ivory-warm); }
.areas-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.area-pill {
  background: var(--ivory);
  border: 1px solid rgba(14,61,44,.12);
  color: var(--emerald);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  transition: background .2s, border-color .2s;
}
.area-pill:hover { background: var(--sage); border-color: var(--emerald); }
.areas-note { margin-top: 28px; font-size: 14.5px; color: var(--muted); }

/* ===== Booking ===== */
.book {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--sage-soft) 100%);
}
.book-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .book-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.book-aside h2 { margin-bottom: 20px; }
.book-aside .lead { margin-bottom: 28px; max-width: 380px; }
.book-aside .meta {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(14,61,44,.12);
}
.book-aside .meta div { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--emerald); }
.book-aside .meta svg { width: 18px; height: 18px; stroke: var(--gold-deep); flex-shrink: 0; }

.form-card {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(14,61,44,.06);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--ivory-warm);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-size: 15.5px; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--ivory);
}
.field textarea { min-height: 96px; resize: vertical; font-family: var(--sans); }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn { width: 100%; margin-top: 8px; padding: 18px; font-size: 16px; }
.form-fineprint { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ===== Footer ===== */
.footer {
  background: var(--emerald-800);
  color: var(--sage);
  padding: 64px 0 32px;
}
.footer h4 { color: var(--ivory); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .wordmark { font-family: var(--serif); font-size: 28px; color: var(--ivory); margin-bottom: 16px; display: block; letter-spacing: -.005em; }
.footer-brand p { font-size: 14.5px; color: var(--sage); opacity: .8; max-width: 320px; line-height: 1.6; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: var(--sage); opacity: .85; transition: opacity .2s, color .2s; }
.footer ul a:hover { opacity: 1; color: var(--gold); }
.footer-contact div { font-size: 14px; color: var(--sage); margin-bottom: 10px; }
.footer-contact strong { color: var(--ivory); display: block; font-weight: 500; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(216,232,223,.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--sage); opacity: .7;
}

/* ===== Form success state ===== */
.form-success {
  background: var(--sage); color: var(--emerald-800);
  padding: 24px; border-radius: var(--radius-md);
  text-align: center; font-weight: 500;
  animation: fadein .4s ease;
}
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

/* ===== Mobile nav drawer (very light) ===== */
@media (max-width: 899px) {
  .nav-cta-btn { padding: 10px 14px; font-size: 13px; }
  .nav-brand .wordmark { font-size: 19px; }
}

/* ===== Sub-page additions (city, service, blog) ===== */

/* Breadcrumbs */
.crumbs {
  font-size: 13px; color: var(--muted);
  padding: 18px 0 0; margin-top: 8px;
  letter-spacing: .02em;
}
.crumbs a { color: var(--emerald); }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs .sep { color: rgba(14,61,44,.3); margin: 0 8px; }

/* Page hero (lighter than homepage hero) */
.page-hero {
  padding: 24px 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid rgba(14,61,44,.08);
  background: var(--ivory);
}
.page-hero .kicker { display: inline-block; margin-bottom: 18px; }
.page-hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  margin-bottom: 24px; line-height: 1.05;
}
.page-hero .lead { max-width: 720px; margin-bottom: 28px; color: var(--ink); }
.page-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Article (long-form) typography */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) 0;
}
.article h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 56px 0 16px; padding-top: 8px;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  margin: 32px 0 12px;
}
.article p {
  font-size: 17px; line-height: 1.7;
  color: var(--ink); margin-bottom: 18px;
}
.article p .lead-emph { font-size: 19px; color: var(--ink); }
.article ul, .article ol {
  margin: 0 0 24px 22px;
  font-size: 17px; line-height: 1.75; color: var(--ink);
}
.article li { margin-bottom: 8px; }
.article a { color: var(--emerald); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.article a:hover { color: var(--gold-deep); }
.article strong { color: var(--emerald); font-weight: 600; }
.article blockquote {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 22px;
  margin: 28px 0;
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.45; color: var(--emerald);
}
.article hr { border: 0; border-top: 1px solid rgba(14,61,44,.12); margin: 40px 0; }

/* Table of Contents */
.toc {
  background: var(--sage-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0 48px;
}
.toc-label {
  font-size: 12px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 12px;
}
.toc ol { margin: 0 0 0 20px; padding: 0; }
.toc li { margin-bottom: 6px; font-size: 15px; line-height: 1.5; }
.toc a { color: var(--emerald); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* FAQ block (inline + schema-mappable) */
.faqs { background: var(--sage-soft); }
.faq-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  max-width: 880px; margin: 0 auto;
}
.faq {
  background: var(--ivory);
  border: 1px solid rgba(14,61,44,.08);
  border-radius: var(--radius-md);
  padding: 0;
  transition: box-shadow .2s;
}
.faq:hover { box-shadow: var(--shadow-soft); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 24px;
  font-family: var(--serif); font-size: 19px;
  color: var(--emerald); font-weight: 400;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; color: var(--gold-deep);
  transition: transform .2s ease;
  font-family: var(--sans); font-weight: 300;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 24px; color: var(--muted);
  font-size: 15.5px; line-height: 1.65;
}
.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }

/* Related cards (service / city / blog cross-links) */
.related {
  background: var(--ivory-warm);
  padding: clamp(56px, 7vw, 96px) 0;
}
.related-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .related-grid { grid-template-columns: 1fr 1fr 1fr; } }
.related-card {
  background: var(--ivory);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(14,61,44,.08);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold);
}
.related-card .kicker { display: inline-block; margin-bottom: 12px; }
.related-card h4 {
  font-family: var(--serif); font-size: 22px;
  color: var(--emerald); margin-bottom: 10px;
}
.related-card p {
  font-size: 14.5px; line-height: 1.55; color: var(--muted);
  margin-bottom: 16px; flex: 1;
}
.related-card .arrow {
  font-size: 14px; color: var(--gold-deep); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}

/* Pricing-factors / what's-included two-column blocks */
.split-block {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  margin: 32px 0;
}
@media (min-width: 800px) { .split-block { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split-block h3 { color: var(--emerald); margin-bottom: 12px; }
.split-block ul { margin-left: 18px; }

/* Local-context callout (city pages) */
.local-callout {
  background: var(--sage-soft);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.local-callout p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--emerald); }

/* Mid-page CTA bar */
.cta-bar {
  background: var(--emerald);
  color: var(--ivory);
  padding: clamp(40px, 5vw, 64px);
  border-radius: var(--radius-lg);
  margin: 48px auto;
  max-width: 920px;
  text-align: center;
}
.cta-bar h3 {
  color: var(--ivory); font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 12px;
}
.cta-bar p {
  color: var(--sage); margin-bottom: 24px; font-size: 15.5px;
}
.cta-bar .btn { background: var(--gold); color: var(--emerald-800); }
.cta-bar .btn:hover { background: var(--ivory); color: var(--emerald); }
