/* ==========================================================================
   AHM Tools — shared design system
   Brand: AHM Technical Services (Dubai). Blueprint / work-order aesthetic:
   condensed technical type, dimension-line dividers, corner-bracket "spec"
   frames on tool results. Blue/navy from the main site logo; safety orange
   as the signature accent for urgency & measurement callouts.
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald-400.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-500.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-600.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/oswald-700.woff2") format("woff2");
}

:root {
  --navy: #001a3d;
  --ink: #0f2038;
  --blue: #005bd1;
  --blue-deep: #003b8a;
  --orange: #ff6a13;
  --orange-deep: #d9540a;
  --green: #25d366;
  --green-deep: #1cb055;
  --red: #d92d20;
  --amber: #b6570a;
  --paper: #f4f6fa;
  --paper-dim: #e8ecf3;
  --line: #d3dae6;
  --line-strong: #aab6ca;
  --white: #ffffff;
  --muted: #55647d;

  --font-display: "Oswald", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --radius: 4px;
  --container: 1120px;
  --shadow-card: 0 1px 2px rgba(15, 32, 56, 0.06), 0 8px 24px -12px rgba(15, 32, 56, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-deep);
}

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

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   Eyebrow / dimension-line label — the recurring "measurement" motif
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 0;
  border-top: 2px dashed var(--orange);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand img {
  height: 40px;
  width: auto;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}
.main-nav a:hover { color: var(--blue-deep); }
.main-nav .back-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 780px) {
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px 20px;
    gap: 14px;
    display: none;
    box-shadow: var(--shadow-card);
  }
  .main-nav.open { display: flex; }
  .main-nav .back-link { border-left: none; padding-left: 0; }
  .nav-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { background: var(--green-deep); }

.btn-call {
  background: var(--navy);
  color: var(--white);
}
.btn-call:hover { background: var(--ink); }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--navy); }

/* Outline button variant for use on dark backgrounds (cta-banner, result-panel) */
.btn-outline-invert {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline-invert:hover { border-color: var(--white); }

.btn-emergency {
  background: var(--red);
  color: var(--white);
  animation: pulse-emergency 2.2s ease-in-out infinite;
}
.btn-emergency:hover { background: #b8241a; }
@keyframes pulse-emergency {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,45,32,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(217,45,32,0); }
}

.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 0.86rem; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, black, transparent 75%);
}
.hero .container {
  position: relative;
  padding-top: 56px;
  padding-bottom: 48px;
}
.hero-inner {
  max-width: 760px;
}
.hero p.lede {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 60ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-trust span { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 56px 0;
}
.section-tight { padding: 36px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Tool widget frame — the "spec sheet" signature element
   -------------------------------------------------------------------------- */
.tool-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  position: relative;
}
.tool-panel::before, .tool-panel::after,
.tool-panel .corner-bl, .tool-panel .corner-br {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--orange);
}
.tool-panel::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.tool-panel::after { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.tool-panel .corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.tool-panel .corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.tool-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .tool-grid { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}
.field .hint {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 5px;
}
.field input[type="number"],
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(0, 91, 209, 0.35);
  outline-offset: 1px;
  border-color: var(--blue);
}

/* --------------------------------------------------------------------------
   AI free-text tools (describe-your-problem box, AI chat input)
   -------------------------------------------------------------------------- */
.ai-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ai-divider::before, .ai-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 91, 209, 0.12);
  color: var(--blue-deep);
  border: 1px solid rgba(0, 91, 209, 0.28);
}

.ai-loading {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 10px;
}
.ai-loading[data-active="true"] { display: flex; }
.ai-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--blue);
  animation: ai-spin 0.7s linear infinite;
  flex: 0 0 auto;
}
@keyframes ai-spin { to { transform: rotate(360deg); } }

.ai-error {
  display: none;
  align-items: flex-start;
  gap: 8px;
  background: #fdecec;
  border: 1px solid rgba(217, 45, 32, 0.35);
  color: #9c2418;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.9rem;
  margin-top: 12px;
}
.ai-error[data-active="true"] { display: flex; }

.btn:disabled, .btn[aria-busy="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Free-text chat input row, pinned under the chat log */
.chat-input-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.chat-input-row input[type="text"] {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.chat-input-row input[type="text"]:focus {
  outline: 3px solid rgba(0, 91, 209, 0.35);
  outline-offset: 1px;
  border-color: var(--blue);
}
.chat-input-row button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
}
.chat-input-row button:hover { background: var(--blue-deep); }
.chat-input-row button:disabled { opacity: 0.6; cursor: not-allowed; }

.chat-bubble.bot.ai-reply { border-left: 3px solid var(--blue); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice-group button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}
.choice-group button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Result / readout */
.result-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 92px;
}
.result-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9db6e6;
  margin-bottom: 6px;
}
.result-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 4px;
}
.result-value .unit {
  font-size: 0.45em;
  font-weight: 500;
  color: #b9c9ea;
  margin-left: 6px;
}
.result-sub {
  color: #c4d3f1;
  font-size: 0.92rem;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.25);
}
.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag-emergency { background: rgba(217,45,32,0.18); color: #ff9c93; border: 1px solid rgba(255,120,110,0.4); }
.tag-urgent { background: rgba(255,106,19,0.18); color: #ffb877; border: 1px solid rgba(255,180,120,0.4); }
.tag-routine { background: rgba(37,211,102,0.18); color: #7fe3a6; border: 1px solid rgba(120,220,160,0.4); }

.result-panel .btn { margin-top: 16px; width: 100%; }

@media (max-width: 860px) {
  .result-panel { position: static; }
}

/* --------------------------------------------------------------------------
   Content blocks (explanation / how it works)
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  border-top: 3px solid var(--orange);
  padding-top: 14px;
}
.step .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--line-strong);
  font-size: 1.6rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  cursor: pointer;
}
.faq-q .plus {
  flex: 0 0 auto;
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform 0.15s ease;
}
.faq-item[data-open="true"] .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.2s ease;
}
.faq-a p { padding-bottom: 18px; margin: 0; }
.faq-item[data-open="true"] .faq-a { max-height: 640px; }

/* --------------------------------------------------------------------------
   Related tools
   -------------------------------------------------------------------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.related-card:hover { border-left-color: var(--orange); transform: translateY(-2px); }
.related-card .tool-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.related-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.related-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* Toolbox grid on homepage */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(15,32,56,0.08), 0 16px 32px -14px rgba(15,32,56,0.28); }
.tool-card .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.tool-card .cluster {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.tool-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.tool-card p { color: var(--muted); font-size: 0.92rem; margin: 0; flex-grow: 1; }
.tool-card .go {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue-deep);
}

/* --------------------------------------------------------------------------
   CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-image: radial-gradient(circle at 100% 0%, rgba(0,91,209,0.35), transparent 60%);
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; font-size: 1.5rem; }
.cta-banner p { color: #c4d3f1; margin: 0; }
.cta-banner .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Checklist tool (move-in page)
   -------------------------------------------------------------------------- */
.checklist-progress {
  height: 8px;
  background: var(--paper-dim);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.checklist-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
  width: 0%;
  transition: width 0.2s ease;
}
.checklist-room {
  margin-bottom: 22px;
}
.checklist-room h3 {
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.96rem;
}
.checklist-item input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); }
.checklist-item label { flex: 1; }
.checklist-item .flag-btn {
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: var(--radius);
  font-size: 0.72rem;
  padding: 3px 8px;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.checklist-item.flagged .flag-btn { background: #fdecec; border-color: var(--red); color: var(--red); }
.checklist-item.flagged label { color: var(--red); }

/* --------------------------------------------------------------------------
   Chat-style assistant (AI assistant page)
   -------------------------------------------------------------------------- */
.chat-window {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-bubble {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.chat-bubble.bot {
  background: var(--paper-dim);
  color: var(--ink);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--blue);
  color: var(--white);
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}
.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chat-options button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 14px;
  border: 1.5px solid var(--blue);
  color: var(--blue-deep);
  background: var(--white);
  border-radius: 999px;
  cursor: pointer;
}
.chat-options button:hover { background: var(--blue); color: var(--white); }
.chat-options button:disabled {
  opacity: 0.45;
  cursor: default;
  background: var(--white);
  color: var(--blue-deep);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #b9c9ea;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a {
  color: #b9c9ea;
  text-decoration: none;
  display: block;
  margin-bottom: 9px;
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--white); }
.site-footer p { color: #8fa6d6; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #7c94c8;
}

/* --------------------------------------------------------------------------
   Sticky mobile CTA bar
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
}
@media (max-width: 780px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 10px 12px;
    gap: 10px;
    box-shadow: 0 -6px 18px rgba(15,32,56,0.12);
  }
  .mobile-cta-bar .btn { flex: 1; padding: 12px 10px; font-size: 0.88rem; }
  body { padding-bottom: 68px; }
}

/* Print styles for checklist */
@media print {
  .site-header, .site-footer, .mobile-cta-bar, .cta-banner, .related-tools, .hero-ctas, .hero::before { display: none !important; }
  body { padding-bottom: 0; background: white; }
}
