/* ==========================================================================
   Al Wahaj AC — Shared Stylesheet (Cool Pastel Theme)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  --bg: #f0f7ff;            /* Soft Ice Mist */
  --tint-sky: #e0f2fe;      /* Secondary tint */
  --tint-mint: #ecfdf5;     /* Secondary tint */
  --surface: #ffffff;       /* Card surfaces */
  --border: #cbe3f5;        /* Pastel border */
  --primary: #0284c7;       /* Deep Sky / Teal */
  --primary-dark: #0369a1;
  --sky-soft: #bae6fd;
  --mint-soft: #ccfbf1;
  --teal-text: #0f766e;
  --heading: #1e293b;       /* Deep Slate Charcoal */
  --text: #1e293b;
  --muted: #475569;         /* Muted Slate */
  --gold: #f4b400;
  --success: #047857;
  --success-bg: #ecfdf5;
  --error: #b91c1c;
  --error-bg: #fef2f2;
  --warn-bg: #fff7ed;
  --warn-border: #fed7aa;
  --warn-text: #9a3412;

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(2, 132, 199, 0.06);
  --shadow: 0 1px 3px rgba(30, 41, 59, 0.04), 0 8px 24px -10px rgba(2, 132, 199, 0.18);
  --shadow-lg: 0 4px 10px rgba(30, 41, 59, 0.05), 0 20px 40px -14px rgba(2, 132, 199, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }

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

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0.5rem; z-index: 200;
  background: var(--primary); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 0.5rem; color: #fff; }

.gold { color: var(--gold); letter-spacing: 0.06em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font: 600 0.98rem/1 var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -10px rgba(2, 132, 199, 0.8); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--heading); }
.brand:hover { color: var(--heading); text-decoration: none; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-mark {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-soft), var(--mint-soft));
  color: var(--primary); font-size: 1.3rem; place-items: center; border: 1px solid var(--border);
}
.brand.logo-missing .brand-logo { display: none; }
.brand.logo-missing .brand-mark { display: grid; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 800 1.15rem var(--font-head); letter-spacing: -0.02em; }
.brand-tag { font-size: 0.72rem; color: var(--muted); }

.main-nav ul { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 0.5rem 0.7rem;
  font-weight: 500; font-size: 0.92rem; color: var(--muted);
}
.main-nav a:hover { color: var(--heading); text-decoration: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.2rem;
  height: 2px; background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--heading); font-weight: 600; }

.nav-cta { padding: 0.65rem 1.1rem; font-size: 0.9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections & Headings ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--tint-sky); }
.section-mint { background: var(--tint-mint); }
.section-head { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; margin-bottom: 0.75rem; padding: 0.3rem 0.8rem; border-radius: 999px;
  background: var(--mint-soft); color: var(--teal-text);
  font: 700 0.74rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(204, 251, 241, 0.9), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(186, 230, 253, 0.7), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem;
  align-items: center; padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.hero h1 .accent { color: var(--primary); }
.hero-sub { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  color: var(--primary-dark); font-size: 0.85rem; font-weight: 600;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 2rem; color: var(--muted); font-size: 0.9rem; }
.hero-trust strong { color: var(--heading); }
.hero-trust .gold { color: var(--gold); }

.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 1.25rem; box-shadow: var(--shadow-lg);
}
.hero-card-media { aspect-ratio: 4 / 3; margin-bottom: 1.1rem; }
.hero-card h2 { font-size: 1.1rem; margin-bottom: 0.9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.stat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem; }
.stat-num { display: block; font: 800 1.45rem var(--font-head); color: var(--primary-dark); }
.stat-label { font-size: 0.8rem; color: var(--muted); }
.hero-card-foot { margin: 1rem 0 0; font-size: 0.88rem; color: var(--muted); }
.hero-card-foot a { font-weight: 600; }

/* ---------- Page Banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(600px 260px at 95% 0%, rgba(204, 251, 241, 0.95), transparent 65%),
    linear-gradient(135deg, var(--tint-sky), var(--bg));
  border-bottom: 1px solid var(--border);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}
.page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-banner p { max-width: 660px; font-size: 1.06rem; color: var(--muted); margin: 0; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 0.75rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.toc a {
  padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); color: var(--heading); font-size: 0.88rem; font-weight: 500;
}
.toc a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sky-soft); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card-link { font-weight: 600; font-size: 0.92rem; }

.icon-box {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: var(--tint-sky); color: var(--primary);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box.mint { background: var(--mint-soft); color: var(--teal-text); }
.icon-box.icon-emoji { font-size: 1.5rem; }

.tag {
  display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
  background: var(--tint-sky); color: var(--primary-dark); font-size: 0.75rem; font-weight: 600;
}

/* Photo cards */
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-card .media { border: 0; border-radius: 0; aspect-ratio: 1 / 1; }
.photo-card-body { padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; flex: 1; }
.photo-card-body h3 { margin: 0.25rem 0 0; }
.photo-card-body p { margin: 0 0 0.5rem; }
.photo-card-body .card-link { margin-top: auto; }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sector {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.sector .icon-box { margin: 0; flex-shrink: 0; width: 46px; height: 46px; }
.sector h3 { margin-bottom: 0.25rem; font-size: 1.05rem; }
.sector p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.feature-num { font: 800 0.8rem var(--font-head); color: var(--teal-text); letter-spacing: 0.1em; }

/* ---------- Google-style Review Slider ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.rating-score { font: 800 1.4rem var(--font-head); color: var(--heading); }
.review-slider { position: relative; }
.review-viewport { overflow: hidden; padding: 0.5rem 0.25rem 1rem; margin: -0.5rem -0.25rem 0; }
.review-track { display: flex; gap: 1.5rem; transition: transform 0.45s var(--ease); }
.review-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--surface); border: 1px solid #dadce0; border-radius: var(--radius);
  padding: 1.35rem 1.4rem; box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 2px 6px rgba(60, 64, 67, 0.06);
}
.review-head { display: flex; align-items: center; gap: 0.75rem; }
.review-head > div { flex: 1; min-width: 0; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font: 600 1.05rem var(--font-body);
}
.av-1 { background: #0b8043; }
.av-2 { background: #7b1fa2; }
.av-3 { background: #0288d1; }
.av-4 { background: #e65100; }
.av-5 { background: #5d4037; }
.review-name { font: 600 0.98rem var(--font-body); margin: 0; letter-spacing: 0; }
.review-meta { font-size: 0.8rem; color: var(--muted); }
.g-badge {
  flex-shrink: 0; padding: 0.22rem 0.55rem; border-radius: 6px;
  border: 1px solid #dadce0; background: #f8f9fa; color: #3c4043;
  font-size: 0.7rem; font-weight: 600; white-space: nowrap;
}
.review-stars { font-size: 1.05rem; line-height: 1; }
.review-text { margin: 0; color: #3c4043; font-size: 0.97rem; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--heading);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  transition: all 0.2s var(--ease);
}
.slider-btn:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.slider-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--sky-soft); transition: all 0.25s var(--ease);
}
.dot.active { width: 26px; background: var(--primary); }

/* ---------- CTA Band ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2rem, 4vw, 3rem); border-radius: 20px;
  background: linear-gradient(120deg, var(--mint-soft), var(--sky-soft));
  border: 1px solid var(--border);
}
.cta-band h2 { margin-bottom: 0.4rem; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Media (images with fallback) ---------- */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--tint-sky), var(--mint-soft)); border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* Focal points for portrait job photos */
img[src$="ac-installation.jpg"] { object-position: center 25%; }
img[src$="ac-repair-unit.jpg"] { object-position: center 40%; }
img[src$="ac-maintenance.jpg"] { object-position: center 45%; }
img[src$="outdoor-condenser.jpg"] { object-position: center 25%; }
img[src$="team-industrial-work.jpg"] { object-position: center 30%; }
.media.img-missing img { display: none; }
.media.img-missing::after {
  content: "Add image: " attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  padding: 1rem; text-align: center; color: var(--muted); font-size: 0.82rem; font-family: ui-monospace, monospace;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(2, 132, 199, 0.06) 12px 24px);
}

/* ---------- Services Explorer ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1rem; margin-bottom: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.search-field { position: relative; flex: 1 1 280px; }
.search-field svg { position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-field input { padding-left: 2.6rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  padding: 0.55rem 1.05rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font: 500 0.9rem var(--font-body); cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.results-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .media { border: 0; border-radius: 0; aspect-ratio: 4 / 3; }
.service-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin: 0.65rem 0 0.4rem; }
.includes { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.88rem; color: var(--text); }
.includes li { position: relative; padding: 0.2rem 0 0.2rem 1.5rem; }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-text); font-weight: 700; }
.service-links {
  display: flex; gap: 1.25rem; margin-top: auto; padding-top: 1rem;
  border-top: 1px dashed var(--border); font-size: 0.9rem; font-weight: 600;
}
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted);
  border: 2px dashed var(--border); border-radius: var(--radius-lg); background: var(--surface);
}

/* ---------- Details Page ---------- */
.detail-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid var(--border);
}
.detail-block:last-child { border-bottom: 0; }
.detail-block.reverse .media { order: 2; }
.detail-block .media { aspect-ratio: 4 / 5; max-height: 560px; width: 100%; max-width: 460px; justify-self: center; }
.scope-list { padding-left: 1.2rem; }
.scope-list li { margin-bottom: 0.4rem; }
.checklist { counter-reset: step; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li {
  counter-increment: step; position: relative; padding: 0.7rem 0 0.7rem 3rem;
  border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.checklist li::before {
  content: counter(step); position: absolute; left: 0; top: 0.6rem;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--tint-sky); color: var(--primary-dark); font: 700 0.85rem var(--font-head);
  border: 1px solid var(--sky-soft);
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.94rem; }
caption { caption-side: bottom; padding: 1rem; text-align: left; color: var(--muted); font-size: 0.85rem; }
th, td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--tint-sky); color: var(--heading); font-family: var(--font-head); font-weight: 700; }
tbody tr:nth-child(even) { background: #f8fbff; }
tbody tr:hover { background: var(--tint-mint); }
tbody th { color: var(--heading); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.9rem; color: var(--heading); }
.req { color: var(--error); }
input, select, textarea {
  width: 100%; padding: 0.8rem 1rem; font: 400 0.98rem var(--font-body); color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--sky-soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15); }
textarea { resize: vertical; min-height: 130px; }
.hint { font-size: 0.8rem; color: var(--muted); }
.field-error { font-size: 0.85rem; color: var(--error); min-height: 1em; margin: 0 0 0.75rem; }
.is-invalid { border-color: var(--error) !important; background: var(--error-bg); }
.is-valid { border-color: var(--success); }

.alert { display: none; margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 0.94rem; }
.alert.show { display: block; }
.alert-success { background: var(--success-bg); border: 1px solid #a7f3d0; color: #065f46; }
.alert-error { background: var(--error-bg); border: 1px solid #fecaca; color: #991b1b; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 2rem; align-items: start; }
.contact-side { display: grid; gap: 1.25rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; }
.contact-item .icon-box { margin: 0; flex-shrink: 0; }
.contact-item span { display: block; font-size: 0.82rem; color: var(--muted); }
.contact-item a, .contact-item strong { font-weight: 600; color: var(--heading); word-break: break-word; }
.location-card { background: linear-gradient(160deg, var(--surface), var(--tint-mint)); }
.map-embed { aspect-ratio: 4 / 3; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--tint-sky); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-card strong { color: var(--heading); }

/* ---------- Diagnostic Tool ---------- */
.diagnostic { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 700; font-size: 0.95rem; color: var(--heading); margin-bottom: 0.6rem; }
.option-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.symptom-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.option-row input,
.symptom-list input { position: absolute; opacity: 0; pointer-events: none; }
.option-row label,
.symptom-list label {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--surface); cursor: pointer; font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}
.option-row label { flex-direction: column; justify-content: center; text-align: center; gap: 0.3rem; }
.opt-icon { font-size: 1.35rem; }
.option-row label:hover,
.symptom-list label:hover { border-color: var(--primary); }
.option-row input:checked + label,
.symptom-list input:checked + label { border-color: var(--primary); background: var(--tint-sky); color: var(--heading); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); }
.option-row input:focus-visible + label,
.symptom-list input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; }

.result-panel {
  position: sticky; top: 96px; border-radius: 20px; padding: 1.75rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.result-panel h2 { font-size: 1.3rem; }
.result-empty { padding: 1.75rem 1rem; text-align: center; color: var(--muted); background: var(--bg); border-radius: var(--radius); border: 1px dashed var(--border); }
.urgency {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem; margin-bottom: 1rem;
}
.urgency.priority { background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); }
.urgency.routine { background: var(--mint-soft); border: 1px solid #99f6e4; color: var(--teal-text); }
.result-block { padding: 1rem 0; border-top: 1px solid var(--border); }
.result-block h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.4rem; }
.result-block p { margin: 0; }
.result-block ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.94rem; }
.service-pill { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 0.9rem; }
.service-pill.alt { background: var(--tint-sky); color: var(--primary-dark); margin-left: 0.35rem; }
.result-note {
  margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: var(--radius);
  background: var(--tint-sky); color: var(--heading); font-size: 0.88rem; font-weight: 500;
  border-left: 4px solid var(--primary);
}
.fade-in { animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Guide & FAQ ---------- */
.tip-num { font: 800 1.9rem var(--font-head); color: var(--primary); opacity: 0.35; line-height: 1; margin-bottom: 0.75rem; }
.check-ul { list-style: none; padding: 0; margin: 0; }
.check-ul li { position: relative; padding: 0.55rem 0 0.55rem 2rem; border-bottom: 1px solid var(--border); }
.check-ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0.6rem; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mint-soft); color: var(--teal-text); font-size: 0.75rem; font-weight: 700;
}
.callout {
  display: flex; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--warn-bg); border: 1px solid var(--warn-border); color: var(--warn-text); font-size: 0.95rem;
}
.callout p { margin: 0; }
.callout strong { color: var(--warn-text); }

.faq { max-width: 820px; margin-inline: auto; }
.faq-heading { margin: 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 0.75rem; overflow: hidden; transition: box-shadow 0.2s var(--ease); }
.faq-item.open { box-shadow: var(--shadow); border-color: var(--sky-soft); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1rem var(--font-head); color: var(--heading);
}
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-sky); color: var(--primary); transition: transform 0.3s var(--ease); font-size: 1.1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer-inner { padding: 0 1.35rem 1.2rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); color: var(--muted); padding: 4rem 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--primary); }
.site-footer .brand-name { color: var(--heading); }
.footer-brand { display: inline-block; }
.footer-logo { width: 170px; height: auto; }
.footer-about { margin-top: 1rem; max-width: 320px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid var(--border); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

.whatsapp-fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.2s var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ---------- Utilities ---------- */
.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;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }

/* ==========================================================================
   Responsive — Tablet (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-card { flex-basis: calc((100% - 1.5rem) / 2); }
  .diagnostic, .contact-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .detail-block { grid-template-columns: 1fr; gap: 2rem; }
  .detail-block.reverse .media { order: 0; }
}

/* ==========================================================================
   Responsive — Mobile nav (≤ 960px)
   ========================================================================== */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1.25rem; gap: 0; }
  .main-nav a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--border); }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--primary); }
  .sector-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive — Mobile (≤ 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid, .symptom-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .review-card { flex-basis: 100%; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .toolbar { padding: 0.85rem; }
  .card { padding: 1.4rem; }
  .photo-card, .service-card { padding: 0; }
  .brand-tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
