/* ==========================================================================
   Guru Gas Stove Repair — Stylesheet
   Palette: Navy (trust/technical) + White + Ignition Orange (CTA/gas-flame)
   ========================================================================== */

:root {
  --navy-950: #061a33;
  --navy-900: #0a2647;
  --navy-800: #123a6b;
  --navy-700: #1a4d8f;
  --navy-100: #e7edf6;
  --white: #ffffff;
  --off-white: #f6f8fb;
  --ink: #10233f;
  --ink-soft: #4c5c74;
  --accent: #ff5a1f;
  --accent-dark: #d84212;
  --accent-100: #fff1ea;
  --flame-yellow: #ffb238;
  --border: #dfe6f0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 38, 71, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 38, 71, 0.14);
  --font-display: "Sora", "Segoe UI", sans-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(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 66px; /* space for sticky mobile bar */
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; color: var(--ink-soft); }
.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 {
  outline: 3px solid var(--flame-yellow);
  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(--accent); 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(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 90, 31, 0.35);
}
.btn-call:hover { background: var(--accent-dark); }
.btn-whatsapp {
  background: #1ea952; color: #fff; box-shadow: 0 8px 20px rgba(30, 169, 82, 0.3);
}
.btn-whatsapp:hover { background: #178a42; }
.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 ---------- */
.site-header {
  background: var(--navy-900); 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;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(145deg, var(--accent), var(--flame-yellow));
  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.68rem; color: #b9c8e0; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #dbe4f2; font-weight: 600; padding: 10px 14px; border-radius: 999px; font-size: 0.96rem; transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,0.1); color: #fff; }
.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: 10px; padding: 10px 20px; font-size: 0.9rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-900);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px 18px;
    display: none; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 10px; border-radius: 8px; }
  .nav-links .nav-call { display: inline-flex; margin: 10px 4px 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 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(255,90,31,0.16); color: var(--flame-yellow);
  border: 1px solid rgba(255,178,56,0.35); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.hero .subhead { font-size: 1.2rem; color: #d8e3f5; 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(6,26,51,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: #29d17a; box-shadow: 0 0 0 4px rgba(41,209,122,0.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(41,209,122,0.25);} 50% { box-shadow: 0 0 0 8px rgba(41,209,122,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(--accent); color: #fff; padding: 12px 0; overflow: hidden; }
.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; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--off-white); }
.section-navy { background: var(--navy-900); 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(--accent-dark); background: var(--accent-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(255,90,31,0.16); color: var(--flame-yellow); }

/* ---------- Why choose us grid ---------- */
.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(--accent-100); color: var(--accent-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 cards ---------- */
.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(--navy-100); }
.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; }

.card-icon-only .thumb { display: none; }
.card-icon-only .feature-icon { margin-bottom: 12px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
@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-900); color: var(--flame-yellow);
  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(--accent); color: #fff; }

/* ---------- Intro / text-image split ---------- */
.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 cards ---------- */
.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(--accent); }

/* ---------- FAQ ---------- */
.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-900); 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(--accent-100); color: var(--accent-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; }

/* ---------- Final CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-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(--accent-dark); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.cta-banner .btn-call:hover { background: #fff2ec; }

/* ---------- Contact page ---------- */
.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-900); 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(255,90,31,0.18); color: var(--flame-yellow); 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-900); }
.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(--ink); background: var(--off-white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 6px; }
.form-success { display: none; background: #e9f9ef; border: 1px solid #b7e8c8; color: #14803c; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 600; }
.form-success.visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); 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; }

/* ---------- Sticky mobile CTA bar ---------- */
.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(--accent); }
.mobile-cta-bar .m-wa { background: #1ea952; }

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

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--off-white); padding: 14px 0; font-size: 0.86rem; border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb span { color: var(--navy-900); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; padding: 52px 0 46px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #b9c8e0; max-width: 60ch; font-size: 1.05rem; margin: 0; }

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