/* ==========================================================================
   Gas Stove Repair Service — Design System
   Palette:  --paper (bg) --ink (text) --crimson (brand) --ember (cta/flame)
             --steel (secondary/steel-grey) --steel-100 (panel bg)
   Type:     Oswald (display, condensed/industrial) + Work Sans (body)
   Signature: the flame-notch divider (::before on .flame-rule), echoing the
              flame-through-burner mark in the brand logo.
   ========================================================================== */

:root {
  --paper: #faf6f0;
  --paper-dim: #f2ede4;
  --ink: #1b1a18;
  --ink-soft: #514c46;
  --crimson: #8c1d2b;
  --crimson-dark: #6c1521;
  --ember: #d9622b;
  --ember-dark: #b84e1f;
  --steel: #33424c;
  --steel-100: #eceeea;
  --line: #e2dcd0;
  --radius: 4px;
  --shadow: 0 12px 30px -14px rgba(27, 26, 24, 0.35);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Work Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.03em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ember);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(217, 98, 43, 0.65);
}
.btn-primary:hover { background: var(--ember-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 246, 240, 0.55);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--steel); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand img { height: 40px; width: auto; }
.brand span.hi { color: var(--crimson); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--ink); border-bottom-color: var(--ember); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.call-pill {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: var(--crimson);
  color: #fff;
  padding: 0.6em 1.1em;
  border-radius: 30px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.call-pill:hover { background: var(--crimson-dark); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
  width: 100%;
}
.hero .wrap > * { min-width: 0; }
@media (min-width: 981px) {
  .hero .wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  color: var(--ember);
}
.hero-lede { color: rgba(250,246,240,0.78); font-size: 1.06rem; max-width: 46ch; }
.hero-figure {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 6/5; }
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
}
.hero-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(250,246,240,0.95);
  color: var(--ink);
  padding: 0.7em 1em;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.hero-badge strong { color: var(--crimson); }

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.4em 0 1.8em;
}
.city-pills span {
  border: 1px solid rgba(250,246,240,0.3);
  color: rgba(250,246,240,0.85);
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4em 0.85em;
  border-radius: 30px;
}

/* ---------- Flame rule (signature divider) ---------- */
.flame-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
}
.flame-rule::before, .flame-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.flame-rule svg { width: 16px; height: 20px; flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-head { max-width: 62ch; margin-bottom: 2.4em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.bg-panel { background: var(--steel-100); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink p { color: rgba(250,246,240,0.75); }
.bg-ink h2 { color: #fff; }

/* ---------- Brand strip ---------- */
.brand-strip { text-align: center; }
.brand-strip figure { margin: 0; }
.brand-strip figcaption {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.8em;
}
.brand-strip img { border: 1px solid var(--line); border-radius: 6px; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-3 > *, .grid-2 > *, .grid-5 > *, .steps > *, .contact-grid > *, .footer-grid > * { min-width: 0; }

.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.svc-card:hover { border-color: var(--ember); transform: translateY(-3px); }
.svc-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ember);
  margin-bottom: 0.6em;
  display: block;
}
.svc-card p { font-size: 0.95rem; margin-bottom: 0.5em; }

.icon-flame {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
}

/* ---------- Why-us list ---------- */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: none; padding-bottom: 0; }
.why-list .mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--crimson);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
}
.why-list h3 { margin-bottom: 0.2em; font-size: 1.02rem; }
.why-list p { margin: 0; font-size: 0.93rem; }

/* ---------- City / area cards ---------- */
.area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.area-card h3 { display: flex; align-items: center; gap: 0.5em; }
.area-card h3 svg { width: 16px; height: 16px; color: var(--crimson); }
.area-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.3s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--crimson);
  color: #fff;
  padding: 46px 0;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 0.2em; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  padding-top: 20px;
  border-top: 3px solid var(--ember);
}
.step .step-no {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--steel);
  opacity: 0.35;
  display: block;
  margin-bottom: 0.1em;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary {
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--ember);
  font-family: 'Work Sans', sans-serif;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; font-size: 0.95rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 18px;
}
.contact-card h3 { margin-bottom: 0.7em; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line svg { width: 18px; height: 18px; color: var(--crimson); flex-shrink: 0; }
.contact-line a, .contact-line span { font-size: 0.96rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75em 0.9em;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(250,246,240,0.75);
  padding: 52px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 0.6em; margin-bottom: 12px; }
.footer-brand img { height: 34px; }
.footer-brand span {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1.05rem;
}
footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  margin-bottom: 1em;
}
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer ul a, footer ul span { font-size: 0.9rem; }
footer ul a:hover { color: var(--ember); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,240,0.14);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(250,246,240,0.5);
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-figure { order: -1; }
  .grid-3, .grid-2, .contact-grid, .footer-grid, .steps, .grid-5 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
}
@media (max-width: 640px) {
  section { padding: 46px 0; }
  .grid-3, .grid-2, .contact-grid, .footer-grid, .steps, .grid-5, .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .header-cta .call-pill span.txt { display: none; }
  body { padding-bottom: 62px; }
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 60;
    background: var(--ink);
  }
  .mobile-call-bar a {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    text-transform: uppercase;
  }
  .mobile-call-bar a.call { background: var(--crimson); color: #fff; }
  .mobile-call-bar a.wa { background: #1ea952; color: #fff; }
}
