/* Al Noor Home Services — storefront.
   Light, warm and high-trust for a local services business; the AI receptionist
   sits in a dark inset panel so it reads as a live device, not a page section. */

:root {
  --navy: #0d1b2a;
  --navy-soft: #1b2f45;
  --ink: #16202b;
  --muted: #5d6f80;
  --line: #e4ddd2;
  --paper: #fbf8f4;
  --card: #ffffff;
  --gold: #f5b942;
  --gold-deep: #dd9412;
  --teal: #12a594;
  --teal-bright: #2dd4bf;
  --red: #c8372b;
  --red-soft: #fdeceb;
  --panel: #0b1320;
  --panel-line: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06), 0 4px 12px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(13, 27, 42, 0.1);
  --wrap: 1140px;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.18; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

/* ── Emergency strip ───────────────────────────────────────────────── */
.emergency-strip {
  background: var(--navy);
  color: #f3e7cf;
  font-size: 0.84rem;
  text-align: center;
  padding: 7px 16px;
  line-height: 1.3;
}
.emergency-strip strong { color: var(--gold); }

/* ── Header ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }

.brand-mark {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
  color: var(--navy);
  background: linear-gradient(140deg, var(--gold), #f59e0b);
}
.brand-mark.small { width: 34px; height: 34px; border-radius: 9px; font-size: 0.8rem; margin-bottom: 8px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 1rem; font-weight: 700; }
.brand-text small { font-size: 0.78rem; color: var(--muted); }

.site-nav { display: flex; gap: 22px; font-size: 0.9rem; font-weight: 500; }
/* nowrap so "How it works" stays on one line when the header gets tight */
.site-nav a { text-decoration: none; color: var(--muted); transition: color 0.15s; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); }

.header-contact { display: flex; align-items: center; gap: 9px; }
.phone-link, .whatsapp-link, .nav-cta {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 750;
  padding: 9px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, transform 0.14s;
}
.phone-link { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.whatsapp-link { color: #063f34; background: #d7f8ee; border: 1px solid #acebdc; }
.nav-cta { background: var(--navy); color: #fff; }
.phone-link:hover, .whatsapp-link:hover, .nav-cta:hover { transform: translateY(-1px); }
.nav-cta:hover { background: var(--navy-soft); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-primary, .btn-ghost, .btn-whatsapp {
  display: inline-block;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.14s, box-shadow 0.18s, background 0.18s;
}
.btn-primary {
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(221, 148, 18, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(221, 148, 18, 0.42); }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

.btn-ghost { border: 1.5px solid var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-whatsapp {
  background: #d7f8ee;
  color: #063f34;
  box-shadow: 0 8px 20px rgba(18, 165, 148, 0.18);
}
.btn-whatsapp:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(18, 165, 148, 0.25); }

/* ── Opening image carousel ───────────────────────────────────────── */
.service-carousel {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px 0;
}
.carousel-frame {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--navy);
  border: 1px solid rgba(13, 27, 42, 0.12);
  box-shadow: 0 28px 70px rgba(13, 27, 42, 0.18);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: carouselFade 20s infinite;
}
.carousel-slide:nth-child(1) { opacity: 1; }
.carousel-slide:nth-child(2) { animation-delay: 5s; }
.carousel-slide:nth-child(3) { animation-delay: 10s; }
.carousel-slide:nth-child(4) { animation-delay: 15s; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: carouselZoom 20s infinite;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 30, 0.78), rgba(8, 18, 30, 0.2) 54%, rgba(8, 18, 30, 0.06)),
    linear-gradient(0deg, rgba(8, 18, 30, 0.42), transparent 60%);
}
.carousel-slide figcaption {
  position: absolute;
  left: clamp(22px, 5vw, 58px);
  bottom: clamp(22px, 5vw, 46px);
  z-index: 1;
  color: #fff;
  max-width: 520px;
}
.carousel-slide figcaption strong {
  display: block;
  font-size: clamp(1.55rem, 3.2vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.carousel-slide figcaption span {
  display: block;
  max-width: 32em;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}
@keyframes carouselFade {
  0%, 20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes carouselZoom {
  0% { transform: scale(1.04); }
  20% { transform: scale(1.1); }
  100% { transform: scale(1.1); }
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 24px 50px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.top-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.top-trust span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #eadfce;
  background: #fffaf1;
  color: #684817;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.lede { font-size: 1.1rem; color: var(--muted); max-width: 33em; }

.hero-points { margin: 28px 0 32px; display: grid; gap: 12px; }
/* Absolute-positioned tick, NOT flex+gap on the li: a flex container turns each
   text node into its own flex item, so "answered" / "24/7" / ", every day" each
   got an 11px gap wedged between them and the sentence fell apart. */
.hero-points li {
  position: relative;
  padding-left: 32px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.hero-points li > span {
  position: absolute;
  left: 0;
  top: 0.16em;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700;
  background: #d8f3ef; color: var(--teal);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── AI panel (dark inset) ─────────────────────────────────────────── */
.ai-panel {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 22px;
  padding: 22px 22px 18px;
  color: #eef2f7;
  box-shadow: 0 24px 60px rgba(11, 19, 32, 0.28);
  scroll-margin-top: 90px;
  height: clamp(640px, 72vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #9db0c4;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--panel-line);
}
.ai-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.45; } }
.ai-head-text { margin-right: auto; }

.timer {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--panel-line);
  color: #9db0c4;
}
.timer[data-low="true"] { color: var(--gold); border-color: rgba(245, 185, 66, 0.55); }

/* Orb + call button */
.orb {
  position: relative;
  width: 190px; height: 190px;
  max-width: 62vw; max-height: 62vw;
  margin: 22px auto 0;
  display: grid; place-items: center;
  flex: 0 0 auto;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease;
}
body[data-state="live"] .orb,
body[data-state="waiting"] .orb,
body[data-state="connecting"] .orb {
  width: 150px;
  height: 150px;
  margin-top: 18px;
}
.orb::before, .orb::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--teal-bright);
  opacity: 0;
  pointer-events: none;
}

.call-btn {
  position: relative; z-index: 1;
  width: 78%; height: 78%;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 9px; padding: 16px;
  font: 650 0.95rem/1.25 inherit;
  font-family: inherit;
  color: #04201c;
  background: linear-gradient(145deg, #5eead4, var(--teal-bright) 55%, #14b8a6);
  box-shadow: 0 12px 38px rgba(45, 212, 191, 0.34);
  transition: transform 0.15s, box-shadow 0.2s, background 0.3s;
}
.call-btn:hover:not(:disabled) { transform: scale(1.03); box-shadow: 0 16px 46px rgba(45, 212, 191, 0.48); }
.call-btn:active:not(:disabled) { transform: scale(0.98); }
.call-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.call-btn:disabled { cursor: default; }

body[data-state="idle"] .orb::before { animation: ripple 2.8s ease-out infinite; }
.mic-note {
  margin-top: 10px;
  text-align: center;
  color: #9db0c4;
  font-size: 0.8rem;
  font-weight: 650;
}

body[data-state="connecting"] .call-btn,
body[data-state="waiting"] .call-btn { animation: breathe 1.2s ease-in-out infinite; }
body[data-state="live"] .call-btn {
  color: #eef2f7;
  background: radial-gradient(circle at 35% 30%, #1e3a5f, #0f2440);
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.4), 0 12px 38px rgba(0, 0, 0, 0.4);
}
.orb[data-speaking="agent"]::before,
.orb[data-speaking="agent"]::after { border-color: var(--gold); animation: ripple 1.1s ease-out infinite; }
.orb[data-speaking="agent"]::after { animation-delay: 0.55s; }
.orb[data-speaking="user"]::before { border-color: var(--teal-bright); animation: ripple 1.1s ease-out infinite; }

@keyframes ripple {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.12); opacity: 0; }
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.96); } }

.ai-status { text-align: center; font-size: 0.93rem; color: #9db0c4; margin-top: 18px; min-height: 1.4em; }

.ai-error {
  margin-top: 12px; padding: 10px 14px;
  border-radius: 12px; font-size: 0.88rem; text-align: center;
  color: #fecaca;
  background: rgba(200, 55, 43, 0.14);
  border: 1px solid rgba(200, 55, 43, 0.4);
}

.ai-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.ai-actions button {
  font: 600 0.9rem/1 inherit; font-family: inherit;
  padding: 11px 20px; border-radius: 999px; cursor: pointer; border: 1px solid transparent;
}
.btn-hangup { background: var(--red); color: #fff; }
.btn-hangup:hover { background: #a82c22; }
.btn-secondary-sm { background: transparent; color: #eef2f7; border-color: var(--panel-line) !important; }

.ai-hint {
  margin-top: 16px;
  font-size: 0.85rem; line-height: 1.5;
  color: #8fa3b8;
  text-align: center;
  border-top: 1px solid var(--panel-line);
  padding-top: 14px;
}
body:not([data-state="idle"]) .ai-hint { display: none; }

.ai-foot { margin-top: 14px; text-align: center; font-size: 0.72rem; color: #6b7f94; }

/* Live transcript + badges */
.live {
  margin-top: 16px;
  border-top: 1px solid var(--panel-line);
  padding-top: 14px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  max-height: 96px;
  overflow: hidden;
}
.badge {
  padding: 9px 12px; border-radius: 12px;
  font-size: 0.8rem; font-weight: 600; line-height: 1.35;
  animation: pop 0.25s ease-out;
}
.badge.booking { color: #a7f3d0; background: rgba(45, 212, 191, 0.13); border: 1px solid rgba(45, 212, 191, 0.42); }
.badge.escalation { color: #fecaca; background: rgba(200, 55, 43, 0.16); border: 1px solid rgba(200, 55, 43, 0.5); }
@keyframes pop { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

.transcript {
  margin-top: 12px;
  min-height: 0;
  flex: 1 1 auto;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 8px;
  scrollbar-width: thin;
  padding-right: 2px;
}
.transcript:empty { display: none; }

.bubble {
  padding: 8px 12px; border-radius: 14px;
  font-size: 0.87rem; line-height: 1.45;
  max-width: 90%;
  transition: opacity 0.2s;
}
.bubble[data-final="false"] { opacity: 0.6; }
.bubble .who {
  display: block; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: #7f93a8; margin-bottom: 2px;
}
.bubble.agent { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--panel-line); }
.bubble.user { align-self: flex-end; background: rgba(45, 212, 191, 0.12); border: 1px solid rgba(45, 212, 191, 0.3); }

/* ── Trust strip ───────────────────────────────────────────────────── */
.trust {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.trust-item strong {
  display: block;
  font-size: 1.55rem; font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.trust-item span { font-size: 0.87rem; color: var(--muted); line-height: 1.45; }

/* ── Generic section ───────────────────────────────────────────────── */
.section { max-width: var(--wrap); margin: 0 auto; padding: 66px 24px; }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 14px; }
.section-lede { color: var(--muted); font-size: 1.03rem; }

/* ── Service cards ─────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s, box-shadow 0.2s;
  overflow: hidden;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-gallery { align-items: stretch; }
.service-card { min-height: 390px; display: flex; flex-direction: column; }
.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #d9e2ea;
}
.card-body { padding: 22px 22px 24px; }
.card h3 {
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.card-icon { font-size: 1.3rem; line-height: 1; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  border: 1px solid #eadfce;
  background: #fff8ec;
  color: #7a5412;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ── Why section ───────────────────────────────────────────────────── */
.why { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.why > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.stat { border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; }
.stat strong {
  display: block;
  font-size: 2.5rem; font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}
.stat p { font-size: 0.93rem; color: var(--muted); }

.why-visual {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
.owner-card {
  min-height: 240px;
  border-radius: 26px;
  padding: 28px;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(11, 19, 32, 0.92), rgba(11, 19, 32, 0.54)),
    url("https://images.pexels.com/photos/38190070/pexels-photo-38190070.jpeg?auto=compress&cs=tinysrgb&w=1000") center/cover;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.owner-card.urgent {
  background:
    linear-gradient(135deg, rgba(200, 55, 43, 0.92), rgba(13, 27, 42, 0.58)),
    url("https://images.pexels.com/photos/10961064/pexels-photo-10961064.jpeg?auto=compress&cs=tinysrgb&w=900") center/cover;
}
.owner-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.owner-card h3 {
  max-width: 15em;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}
.owner-card p { margin-top: 16px; max-width: 24em; color: rgba(255, 255, 255, 0.84); }
.owner-flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.owner-flow span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

/* ── Steps ─────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { position: relative; padding-top: 6px; }
.step-num {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-weight: 800; font-size: 1.05rem;
  color: var(--navy);
  background: linear-gradient(140deg, var(--gold), #f59e0b);
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.94rem; }
.how-cta { margin-top: 42px; }

/* ── Emergency block ───────────────────────────────────────────────── */
.emergency-block { max-width: none; background: var(--red-soft); border-top: 1px solid #f3cfcb; border-bottom: 1px solid #f3cfcb; }
.emergency-inner { max-width: var(--wrap); margin: 0 auto; }
.emergency-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 14px; color: #8c241b; }
.emergency-inner > p { color: #6d3630; max-width: 44em; }
.emergency-list { margin: 22px 0; display: grid; gap: 10px; max-width: 44em; }
.emergency-list li {
  position: relative; padding-left: 26px;
  font-size: 0.98rem; font-weight: 500; color: #57281f;
}
.emergency-list li::before {
  content: "!";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 800;
  background: var(--red); color: #fff;
  margin-top: 0.22em;
}
.emergency-note { font-size: 0.92rem; color: #6d3630; }
.emergency-note strong { color: var(--red); }

/* ── Areas ─────────────────────────────────────────────────────────── */
.areas { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; }
.area-col h3 {
  font-size: 1.05rem; font-weight: 700;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.area-col ul { display: flex; flex-wrap: wrap; gap: 9px; }
.area-col li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.88rem;
  color: #384756;
}
.area-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); max-width: 26em; }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 48em; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  padding: 16px 0;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem; font-weight: 400;
  color: var(--gold-deep);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 0.95rem; max-width: 44em; }

/* ── Final CTA ─────────────────────────────────────────────────────── */
.final-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 76px 24px;
}
.final-cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.final-cta p { color: #9db0c4; margin-bottom: 30px; font-size: 1.05rem; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { background: #071019; color: #8fa3b8; padding: 54px 24px 32px; font-size: 0.9rem; }
.foot-cols {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px;
}
.foot-cols strong { color: #eef2f7; display: block; margin-bottom: 8px; }
.foot-cols p { line-height: 1.6; max-width: 30em; }
.foot-cols h4 { color: #eef2f7; font-size: 0.88rem; margin-bottom: 12px; font-weight: 650; }
.foot-cols ul { display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; transition: color 0.15s; }
.foot-cols a:hover { color: #eef2f7; }
.foot-note {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #6b7f94;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; }
  .ai-panel { max-width: 460px; width: 100%; height: clamp(620px, 76vh, 720px); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: 1fr; gap: 30px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-contact { margin-left: auto; }
  .phone-link { display: none; }
  .service-carousel { padding: 14px 20px 0; }
  .carousel-frame, .carousel-slide img { min-height: 210px; }
  .carousel-slide::after { background: linear-gradient(0deg, rgba(8, 18, 30, 0.82), rgba(8, 18, 30, 0.16)); }
  .cards { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card img { height: 190px; }
  .why-visual { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 48px 20px; }
  .hero { padding: 34px 20px 44px; }
  .trust { padding: 0 20px 48px; }
  .final-cta { padding: 56px 20px; }
}

@media (max-width: 460px) {
  .carousel-frame, .carousel-slide img { min-height: 190px; }
  .whatsapp-link { display: none; }
  .carousel-slide figcaption { left: 18px; right: 18px; bottom: 18px; }
  .trust { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; gap: 28px; }
  .emergency-strip { font-size: 0.78rem; text-align: center; }
  .nav-cta { padding: 8px 11px; font-size: 0.8rem; }
  .brand-text small { display: none; }
  .ai-panel { height: min(620px, calc(100vh - 118px)); min-height: 520px; }
  body[data-state="live"] .orb,
  body[data-state="waiting"] .orb,
  body[data-state="connecting"] .orb { width: 128px; height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .carousel-slide { opacity: 0; }
  .carousel-slide:first-child { opacity: 1; }
}
