/* Shared fixes for every page (audit Oct 2026). Loaded after each page's own styles. */

/* AA-011: content is visible by default; only hidden for animation once JS has booted */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }

/* AA-006 / AA-043: no sideways scroll on small phones */
html, body { overflow-x: clip; }
.footer__values { flex-wrap: wrap; justify-content: center; gap: 8px 14px; max-width: 100%; }
@media (max-width: 420px) {
  .footer__values { font-size: 10px; letter-spacing: .06em; }
  .footer .container { padding-inline: 16px; }
}
@media (max-width: 340px) {
  .principles-row { gap: 10px; }
  .principle-card { padding: 14px; }
}

/* AA-042: anchors clear the fixed nav */
html { scroll-padding-top: 88px; }

/* AA-004: visible keyboard focus everywhere */
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #F4C842; outline-offset: 3px; border-radius: 4px; }
.btn--primary:focus-visible { outline-color: #F4C842; box-shadow: 0 0 0 3px #0A0A0A; }

/* AA-005: skip link */
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 2000; background: #F4C842; color: #0A0A0A; padding: 12px 20px; border-radius: 6px; font-weight: 700; }

/* AA-003: hamburger is now a <button> */
button.nav__hamburger { background: none; border: none; }

/* AA-019: dark text on gold everywhere, including the mobile drawer */
.mobile-nav .btn--primary, .mobile-nav a.btn--primary { color: #0A0A0A; }

/* AA-020 / AA-021: WhatsApp buttons in the site's gold palette (fixes 1.98:1 contrast) */
.btn--whatsapp { background: transparent; border: 1px solid rgba(244,200,66,.32); color: #F4C842; }
.btn--whatsapp:hover { background: rgba(244,200,66,.08); border-color: #F4C842; box-shadow: none; }
.whatsapp-float { background: #0A0A0A; border: 1px solid rgba(244,200,66,.5); color: #F4C842; }
.whatsapp-float svg { fill: currentColor; }
.whatsapp-float:hover { box-shadow: 0 8px 28px rgba(244,200,66,.3); }
@media (max-width: 400px) { .whatsapp-float { right: 12px; width: 48px; height: 48px; } }

/* AA-024: lining, tabular numerals for trust metrics */
.trust-strip__item .num, .cred-card__number, .metric { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: 'lnum' 1, 'tnum' 1; }

/* AA-041 / AA-022: bigger nav targets and text */
.nav__links a { font-size: .875rem; padding-block: 10px; display: inline-flex; align-items: center; min-height: 24px; }
.nav__logo small { font-size: .66rem; }

/* AA-026: back to top */
.to-top { position: fixed; left: 18px; bottom: 22px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; background: #0A0A0A; border: 1px solid rgba(244,200,66,.5); color: #F4C842; display: none; align-items: center; justify-content: center; cursor: pointer; }
.to-top.show { display: flex; }

/* Footer legal links */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-top: 14px; font-size: .8rem; }
.footer__legal a { color: var(--text-secondary, #B0B0B0); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: #F4C842; }
.footer__entity { margin-top: 10px; font-size: .78rem; color: var(--text-secondary, #B0B0B0); text-align: center; }

/* AA-007: consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 3000; max-width: 560px; margin: 0 auto; background: #111; border: 1px solid rgba(244,200,66,.4); border-radius: 12px; padding: 16px 18px; color: #DEDEDE; font-size: .88rem; line-height: 1.55; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.consent a { color: #F4C842; text-decoration: underline; }
.consent__btns { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.consent button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 6px; cursor: pointer; border: 1px solid #F4C842; }
.consent .yes { background: #F4C842; color: #0A0A0A; }
.consent .no { background: transparent; color: #F4C842; }

/* AA-008: enquiry form */
.enquiry { max-width: 760px; margin: 2.4rem auto 0; background: #111; border: 1px solid rgba(244,200,66,.32); border-radius: 14px; padding: clamp(20px, 4vw, 34px); text-align: left; }
.enquiry h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.enquiry > p { color: #B0B0B0; font-size: .95rem; margin-bottom: 1.2rem; }
.enquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry__grid .full { grid-column: 1 / -1; }
.enquiry label { display: block; font-size: .85rem; font-weight: 600; color: #DEDEDE; margin-bottom: 6px; }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; font: inherit; font-size: 1rem; color: #fff; background: #0A0A0A; border: 1px solid #2E2E2E; border-radius: 8px; padding: 11px 12px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { border-color: #F4C842; }
.enquiry textarea { min-height: 110px; resize: vertical; }
.enquiry .hp { position: absolute; left: -9999px; }
.enquiry button[type=submit] { margin-top: 16px; }
.enquiry__status { margin-top: 12px; font-size: .95rem; }
.enquiry__status.ok { color: #F4C842; }
.enquiry__status.err { color: #ff8a8a; }
.enquiry__note { margin-top: 10px; font-size: .8rem; color: #808080; }
@media (max-width: 600px) { .enquiry__grid { grid-template-columns: 1fr; } }

/* AA-015 / AA-034: compliance + metric notes */
.reg-note { margin-top: 1.2rem; padding: 14px 18px; border-left: 3px solid #F4C842; background: rgba(244,200,66,.06); color: #DEDEDE; font-size: .9rem; line-height: 1.6; border-radius: 0 8px 8px 0; }
.metric-note { margin-top: 1rem; font-size: .8rem; color: #B0B0B0; line-height: 1.6; }

/* AA-036: keep the old rhetorical H1 line at its visual size */
.deck { font-family: var(--font-display, 'Playfair Display', serif); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.2; color: #fff; margin: .4rem 0 1rem; }
.deck em { color: #F4C842; }

/* AA-027: related pages block */
.related { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid #2E2E2E; font-size: .92rem; line-height: 2; text-align: center; }
.related strong { display: block; color: #fff; margin-bottom: 4px; }
.related a { color: #F4C842; }
h1.hero__badge { font-family: var(--font-body, Inter, sans-serif); font-size: .78rem; line-height: 1.4; margin-bottom: 1rem; }
.hero .deck { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; line-height: 1.25; font-weight: 600; margin-bottom: 1.05rem; }
.hero .deck em { font-style: italic; font-weight: 500; }
