/* Shared components on every page: WhatsApp button, footer social links, cookie consent.
   They use a fixed system font so they look identical whatever the page font. */

/* WhatsApp floating contact */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box;
  height: 60px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #25D366; color: #061624; text-decoration: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; font-weight: 700; font-stretch: 100%; line-height: 1; letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.45), 0 0 0 4px rgba(37,211,102,.18);
  transition: translate .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s, background-color .2s;
}
.wa-float svg { width: 30px; height: 30px; flex: none; display: block; }
.wa-float:hover { background: #2EE070; color: #061624; translate: 0 -2px; box-shadow: 0 14px 32px -8px rgba(0,0,0,.5), 0 0 0 6px rgba(37,211,102,.22); }
.wa-float:focus-visible { outline: 3px solid #D6AA4E; outline-offset: 4px; }
.wa-label { white-space: nowrap; }
@media (max-width: 760px) {
  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .wa-float { display: none; } }

/* Footer social links: white icons on the navy footer, site colours only */
.footer-brand { display: grid; gap: 20px; justify-items: start; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1px rgba(243,246,249,.35); transition: background-color .2s, color .2s, box-shadow .2s; }
.social a:hover { background: #fff; color: #0B283D; box-shadow: inset 0 0 0 1px #fff; text-decoration: none; }
.social a:focus-visible { outline: 3px solid #D6AA4E; outline-offset: 3px; }
.social svg { width: 18px; height: 18px; display: block; }

/* Cookie consent: standard bottom bar + centered preferences dialog, one text size throughout */
.cc-root, .cc-root * { box-sizing: border-box; }
.cc-root { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: 0; font-stretch: 100%; color: #F3F6F9; }
.cc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; align-items: center;
  padding: 18px max(24px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  background: #0B283D; border-top: 1px solid rgba(185,205,222,.22); box-shadow: 0 -12px 32px -16px rgba(0,0,0,.55);
}
.cc-banner[hidden], .cc-panel[hidden] { display: none; }
.cc-banner .cc-title { grid-column: 1; }
.cc-banner .cc-text { grid-column: 1; max-width: 860px; }
.cc-banner .cc-actions { grid-column: 2; grid-row: 1 / span 2; }
.cc-title { margin: 0; font-size: 14px; font-weight: 700; color: #fff; }
.cc-text { margin: 0; font-size: 14px; color: #CFDAE3; }
.cc-text a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cc-btn { font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; min-height: 40px; padding: 10px 16px; border-radius: 6px; cursor: pointer; border: 0; white-space: nowrap; transition: background-color .2s, color .2s; }
.cc-secondary { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(243,246,249,.55); }
.cc-secondary:hover { background: rgba(255,255,255,.1); }
.cc-primary { background: #D6AA4E; color: #061624; }
.cc-primary:hover { background: #E6BF68; }
.cc-btn:focus-visible, .cc-switch input:focus-visible + span { outline: 3px solid #D6AA4E; outline-offset: 3px; }

.cc-panel { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(6,22,36,.6); }
.cc-panel-box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #0B283D; border: 1px solid rgba(185,205,222,.22); border-radius: 10px; padding: 24px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); }
.cc-cat { margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(185,205,222,.2); border-radius: 8px; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px; }
.cc-cat-name { font-weight: 700; color: #fff; }
.cc-always { font-size: 14px; color: #7FC8A9; font-weight: 600; }
.cc-panel .cc-actions { margin-top: 20px; }
.cc-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(243,246,249,.25); transition: background-color .2s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cc-switch input:checked + span { background: #D6AA4E; }
.cc-switch input:checked + span::after { transform: translateX(20px); }

@media (max-width: 900px) {
  .cc-banner { grid-template-columns: 1fr; }
  .cc-banner .cc-actions { grid-column: 1; grid-row: auto; justify-content: stretch; margin-top: 8px; }
  .cc-banner .cc-btn { flex: 1 1 auto; }
}
@media (max-width: 760px) { body.cc-open .wa-float { display: none; } }
@media (max-width: 520px) { .cc-actions { flex-direction: column; } .cc-btn { width: 100%; white-space: normal; } }
@media print { .cc-root { display: none; } }
