/* ==========================================================================
   Tricity Stove Service — Stylesheet
   Palette: "Kitchen Flame" — Charcoal Ink + Burnt Terracotta + Sage + Warm Cream
   A theme built around the two things this business actually touches every
   day: cast-iron/steel appliances (ink, charcoal) and the flame itself
   (terracotta, amber). Sage stands in for WhatsApp so it reads as its own
   distinct action, not a generic blue link.
   ========================================================================== */

:root {
  --navy: #1c1712;
  --navy-dark: #100d0a;
  --slate: #3f6b52;
  --slate-light: #4f8064;
  --orange: #c2410c;
  --orange-dark: #9a3412;
  --orange-100: #fdece0;
  --bg-light: #faf5ec;
  --white: #fffdfa;
  --text-dark: #211b15;
  --text-muted: #7a6f61;
  --border: #e8dfd0;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(28, 23, 18, 0.08);
  --shadow-md: 0 16px 34px rgba(28, 23, 18, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 66px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; color: var(--text-muted); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--font-display);
}
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(194, 65, 12, 0.32); }
.btn-call:hover { background: var(--orange-dark); }
.btn-whatsapp { background: var(--slate); color: #fff; box-shadow: 0 8px 20px rgba(63, 107, 82, 0.28); }
.btn-whatsapp:hover { background: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header / Nav (logo left, nav right) ---------- */
.site-header {
  background: var(--navy); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(145deg, var(--orange), #ffb35e); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text .brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; color: #a9b7cc; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; justify-content: flex-end; }
.nav-links a:not(.btn) { color: #d7dfec; font-weight: 600; padding: 10px 14px; border-radius: 999px; font-size: 0.95rem; transition: background .15s, color .15s; position: relative; }
.nav-links a:not(.btn):hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-links a[aria-current="page"]:not(.btn) { color: #fff; }
.nav-links a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--orange); border-radius: 2px; }
.nav-call { display: none; }
.nav-toggle { display: none; background: none; border: none; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 861px) {
  .nav-call { display: inline-flex; margin-left: 6px; padding: 10px 20px; font-size: 0.88rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 14px 18px;
    display: none; border-bottom: 1px solid rgba(255,255,255,0.08); justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 10px; border-radius: 8px; }
  .nav-links a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav-links a[aria-current="page"]:not(.btn) { background: rgba(249,115,22,0.15); }
  .nav-call, .nav-wa-mobile { display: inline-flex; margin: 8px 4px 0; justify-content: center; }
  .nav-wa-mobile { background: var(--slate); color: #fff; }
}
.nav-wa-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--slate) 100%); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,0.16); color: #ffb35e; border: 1px solid rgba(249,115,22,0.35); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { color: #fff; }
.hero .subhead { font-size: 1.18rem; color: #dbe4f2; font-weight: 600; margin-bottom: 14px; }
.hero .desc { color: #aebedb; font-size: 1.02rem; max-width: 52ch; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,0.12); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-badge { position: absolute; left: 18px; bottom: 18px; background: rgba(7,21,39,0.85); backdrop-filter: blur(6px); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.15); }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #e2712f; box-shadow: 0 0 0 4px rgba(226,113,47,0.28); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(226,113,47,0.28);} 50% { box-shadow: 0 0 0 8px rgba(226,113,47,0.12);} }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 40px; }
  .hero-media { order: -1; }
}

/* ---------- Service area strip ---------- */
.area-strip { background: var(--slate); color: #fff; padding: 12px 0; }
.area-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; font-weight: 700; font-size: 0.95rem; }
.area-strip span { display: flex; align-items: center; gap: 6px; }
.area-strip svg { width: 15px; height: 15px; color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--bg-light); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #b9c8e0; }
.section-head { max-width: 680px; margin: 0 0 40px; }
.eyebrow { display: inline-block; color: var(--orange-dark); background: var(--orange-100); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-navy .eyebrow { background: rgba(249,115,22,0.16); color: #ffb35e; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-100); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-card p { margin: 0; font-size: 0.94rem; }

.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.93rem; flex: 1; }
.service-card .card-actions { display: flex; gap: 10px; margin-top: 14px; }
.service-card .card-actions .btn { padding: 10px 16px; font-size: 0.85rem; flex: 1; }
.service-card .card-actions svg { width: 16px; height: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px 24px 24px; text-align: left; }
.step .step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #ffb35e; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }
.section-navy .step { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.section-navy .step .step-num { background: var(--orange); color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split.reverse .media { order: 2; }
@media (max-width: 860px) { .split.reverse .media { order: -1; } }

.location-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.location-card h3 { display: flex; align-items: center; gap: 8px; }
.location-card h3 svg { width: 18px; height: 18px; color: var(--orange); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-weight: 700; font-family: var(--font-display); color: var(--navy); font-size: 1.02rem; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-100); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.faq-item[open] .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 18px; margin: 0; }

.cta-banner { background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 44px 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-banner h2 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-banner .btn-call { background: #fff; color: var(--orange-dark); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.cta-banner .btn-call:hover { background: #fff2ec; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.contact-card h2 { color: #fff; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-detail:first-of-type { border-top: none; }
.contact-detail .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(249,115,22,0.18); color: #ffb35e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .ic svg { width: 21px; height: 21px; }
.contact-detail strong { display: block; color: #fff; font-family: var(--font-display); }
.contact-detail span, .contact-detail a { color: #b9c8e0; font-size: 0.95rem; }
.contact-detail a:hover { color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #dbe4f2; padding: 6px 13px; border-radius: 999px; font-size: 0.83rem; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.96rem; color: var(--text-dark); background: var(--bg-light); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.field-error { color: #c0392b; font-size: 0.8rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .field-error { display: block; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; display: none; }
.form-alert.visible { display: block; }
.form-alert.success { background: #e9f9ef; border: 1px solid #b7e8c8; color: #14803c; }
.form-alert.info { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }

.site-footer { background: var(--navy-dark); color: #97a8c4; padding: 46px 0 100px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 0.83rem; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }

.mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 20px rgba(0,0,0,0.15); }
.mobile-cta-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 800; font-family: var(--font-display); font-size: 0.95rem; color: #fff; }
.mobile-cta-bar a svg { width: 19px; height: 19px; }
.mobile-cta-bar .m-call { background: var(--orange); }
.mobile-cta-bar .m-wa { background: var(--slate); }

@media (min-width: 861px) {
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
}

.breadcrumb { background: var(--bg-light); padding: 14px 0; font-size: 0.86rem; border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb span { color: var(--navy); font-weight: 600; }

.page-hero { background: linear-gradient(160deg, var(--navy-dark), var(--navy) 65%, var(--orange-dark) 130%); color: #fff; padding: 52px 0 46px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d9cdbe; max-width: 60ch; font-size: 1.05rem; margin: 0; }

.mt-0 { margin-top: 0; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Image Slider (homepage gallery) ---------- */
.slider-section { background: var(--bg-light); }
.slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--navy); max-width: 900px; margin: 0 auto;
}
.slider-track { display: flex; transition: transform .55s cubic-bezier(.65,0,.35,1); touch-action: pan-y; }
.slide { min-width: 100%; position: relative; flex-shrink: 0; }
.slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 26px 20px;
  background: linear-gradient(to top, rgba(16,13,10,0.88), rgba(16,13,10,0.35) 60%, transparent);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(16,13,10,0.55); color: #fff;
  border: 1px solid rgba(255,255,255,0.25); width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s ease; z-index: 2;
}
.slider-arrow:hover { background: var(--orange); border-color: var(--orange); }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; padding: 0;
  cursor: pointer; transition: width .2s ease, background .2s ease;
}
.slider-dots button.active { background: var(--orange); width: 24px; border-radius: 5px; }
.slider-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
  .slider-arrow { width: 36px; height: 36px; }
  .slide-caption { padding: 34px 16px 16px; font-size: 1rem; }
}
