/* InsightxExpert — additions for the dynamic version */

/* Accessibility: skip link + focus */
.ix-skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; border-radius: 8px;
  background: #0f172a; color: #fff; font-weight: 600; font-size: .875rem;
  transition: top .2s ease;
}
.ix-skip:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #0284c7; outline-offset: 3px;
}

/* Announcement chip (hero) */
.ix-announce {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1.1rem; padding: .4rem .9rem .4rem .7rem;
  border-radius: 999px; font-size: .8125rem; font-weight: 500;
  color: #e0f2fe; background: rgba(14,165,233,.14);
  border: 1px solid rgba(125,211,252,.35);
  transition: background .2s ease;
}
.ix-announce:hover { background: rgba(14,165,233,.24); }
.ix-announce__dot { width: .45rem; height: .45rem; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 3px rgba(251,191,36,.25); }

/* Hero image fallback (when map is switched off) */
.ix-hero-media { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(2,6,23,.6); border: 1px solid rgba(255,255,255,.12); }
.ix-hero-media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }

/* Political page: practice jump links */
.ix-pol-jump {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.12);
}
.ix-pol-jump a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem; border-radius: 999px; font-size: .875rem;
  color: #cbd5e1; border: 1px solid rgba(255,255,255,.15);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.ix-pol-jump a span { color: #7dd3fc; font-weight: 700; font-size: .75rem; }
.ix-pol-jump a:hover { color: #fff; border-color: rgba(125,211,252,.6); background: rgba(255,255,255,.05); }
.ix-pol-section { scroll-margin-top: 1rem; }

/* Enquiry form: honeypot, validation, status */
.ix-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ix-form { position: relative; }
.ix-form.was-validated :invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.ix-form button[disabled] { opacity: .7; cursor: progress; }
.ix-form__status {
  margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px;
  font-size: .9rem; line-height: 1.5; border: 1px solid transparent;
}
.ix-form__status.is-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.ix-form__status.is-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* Footer logo image */
.ix-footer__logo--img img {
  width: 48px; height: 48px; object-fit: contain; border-radius: 10px;
  background: #fff; padding: 3px;
}

/* WhatsApp button — bottom-left so it never collides with the nav rail / mobile CTA */
.ix-wa {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 3.25rem; height: 3.25rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 25px rgba(37,211,102,.35);
  transition: transform .2s ease;
}
.ix-wa svg { width: 1.7rem; height: 1.7rem; }
.ix-wa:hover { transform: scale(1.06); }

/* Back to top */
.ix-totop {
  position: fixed; right: 1.6rem; bottom: 5.6rem; z-index: 40;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #0f172a; border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15,23,42,.12);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.ix-totop svg { width: 1.2rem; height: 1.2rem; }
.ix-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 1024px) {
  .ix-totop { right: 6.5rem; bottom: 1.5rem; }
}

/* CMS pages (privacy, terms) */
.ix-prose { color: #334155; line-height: 1.75; font-size: 1rem; max-width: 70ch; }
.ix-prose h2 { color: #0f172a; font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; }
.ix-prose h3 { color: #0f172a; font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.ix-prose p, .ix-prose ul, .ix-prose ol { margin: 0 0 1rem; }
.ix-prose ul { list-style: disc; padding-left: 1.4rem; }
.ix-prose ol { list-style: decimal; padding-left: 1.4rem; }
.ix-prose a { color: #0284c7; text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Multi-page additions ---------- */
.ix-page-hero {
  padding: 6rem 0 3rem; color: #fff;
  background: radial-gradient(900px 400px at 85% 0%, rgba(14,165,233,.25), transparent 60%), linear-gradient(135deg, #0f172a, #0c4a6e 70%, #0f172a);
}
@media (min-width: 1024px) { .ix-page-hero { padding: 5rem 0 3.5rem; } }
.ix-page-hero__title { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.ix-page-hero__sub { margin-top: 1rem; max-width: 60ch; font-size: 1.1rem; line-height: 1.6; color: #cbd5e1; }
.ix-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: #94a3b8; margin-bottom: 1.25rem; }
.ix-crumbs a { color: #cbd5e1; }
.ix-crumbs a:hover { color: #fff; }
.ix-crumbs [aria-current] { color: #7dd3fc; }

.ix-more { margin-top: 2rem; text-align: center; }
.ix-more a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: #0284c7; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid #bae6fd; background: #fff; transition: background .2s, border-color .2s; }
.ix-more a:hover { background: #f0f9ff; border-color: #7dd3fc; }

.ix-btn--ghost-light { border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; }
.ix-btn--ghost-light:hover { background: rgba(255,255,255,.1); }

.ix-contact { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ix-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.ix-contact__list { margin-top: 1.75rem; display: grid; gap: 1rem; }
.ix-contact__list li { padding: 1rem 1.1rem; border-radius: 12px; background: #fff; border: 1px solid #e2e8f0; }
.ix-contact__list span { display: block; font-size: .78rem; font-weight: 600; color: #64748b; margin-bottom: .2rem; }
.ix-contact__list a, .ix-contact__list p { font-weight: 600; color: #0f172a; }
.ix-contact__list a:hover { color: #0284c7; }

.map-tooltip-hint { display: block; margin-top: .2rem; font-size: .72rem; color: #0284c7; font-weight: 600; }
