/* ==========================================================================
  World Global PwC International Limited UK — Design System
  A premium lending-site visual identity, original to this build.
  Placeholder brand name — swap for your real brand and logo.
   ========================================================================== */

/* ---- Design tokens -------------------------------------------------- */
:root {
  /* Color */
  --ink: #0e1f2b;          /* primary dark / text on light */
  --ink-soft: #22333f;     /* secondary dark surfaces */
  --paper: #f5f6f2;        /* main light background */
  --paper-raised: #ffffff; /* card surfaces */
  --brass: #ffe8d4;        /* primary accent — CTAs, highlights */
  --brass-deep: #fe611b;   /* hover and text accent */
  --sage: #3f6b58;         /* success / positive / "eligible" */
  --slate: #5c6b73;        /* secondary text, borders */
  --slate-mist: #e4e7e3;   /* hairlines, dividers */
  --rose: #9b4444;         /* errors, "not eligible" */

  /* Type */
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Rhythm */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(14, 31, 43, 0.04), 0 8px 24px rgba(14, 31, 43, 0.06);
  --shadow-lift: 0 4px 8px rgba(14, 31, 43, 0.06), 0 16px 40px rgba(14, 31, 43, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Base -------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

body.has-fixed-nav {
  padding-top: var(--nav-offset, 64px);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

/* Keep uploaded brand assets from overflowing layout containers. */
.site-logo {
  display: block;
  width: auto;
  max-width: 184.8px;
  max-height: 77px;
  object-fit: contain;
}

/* Numerals throughout the site are set in mono — a deliberate signature:
   every number a visitor sees (stats, rates, payments) reads as precise. */
.num, .stat-value, .kpi, .money, .mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 500;
}

.container-narrow { max-width: 720px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn-cl {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color .25s var(--ease);
  cursor: pointer;
}
.btn-cl:active { transform: scale(0.98); }

.btn-cl-primary { background: var(--ink); color: var(--paper); }
.btn-cl-primary:hover { background: #fe611b; border-color: #fe611b; color: #fff; }

.btn-cl-brass { background: var(--brass); color: var(--ink); }
.btn-cl-brass:hover { background: #fe611b; border-color: #fe611b; color: #fff; }

.btn-cl-outline { background: transparent; color: var(--paper); border-color: rgba(245,246,242,0.4); }
.btn-cl-outline:hover { border-color: #fe611b; background: #fe611b; color: #fff; }

.btn-cl-outline-dark { background: transparent; color: var(--ink); border-color: var(--slate-mist); }
.btn-cl-outline-dark:hover { border-color: #fe611b; background: #fe611b; color: #fff; }

/* ---- Navbar -------------------------------------------------------------- */
.cl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 246, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
}
.cl-nav.is-scrolled {
  border-bottom-color: var(--slate-mist);
  box-shadow: 0 1px 0 rgba(14,31,43,0.02);
}
.cl-nav .wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.cl-nav .container {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.cl-nav .wordmark .dot { color: var(--brass); }

.cl-nav .navbar-toggler {
  margin-left: auto;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .cl-nav {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
  }
  .cl-nav .container {
    min-height: 38px;
  }
}

.cl-nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.cl-nav-link:hover { color: var(--ink); background: rgba(14,31,43,0.05); }

.cl-dropdown-panel {
  border: 1px solid var(--slate-mist);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 1.25rem;
  min-width: 340px;
}
.cl-dropdown-panel a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.cl-dropdown-panel a:hover { background: var(--paper); color: var(--ink); }
.cl-dropdown-panel a small { display: block; color: var(--slate); font-weight: 400; font-size: 0.78rem; }

/* Scroll progress bar */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--brass);
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ---- Hero ----------------------------------------------------------------- */
.cl-hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.cl-hero::before {
  /* Ambient line-chart texture — quiet, on-brief, not decorative for its own sake */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,232,212,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,232,212,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, black 40%, black 70%, transparent);
  pointer-events: none;
}
.cl-hero h1 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.cl-hero .lede { color: rgba(245,246,242,0.72); font-size: 1.15rem; max-width: 34ch; }

/* Live estimate widget — the hero's signature: not a static claim, a working tool */
.cl-estimate-card {
  background: var(--paper-raised);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lift);
}
.cl-estimate-card .eyebrow { color: var(--brass-deep); }
.cl-estimate-card .estimate-output {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cl-estimate-card input[type="range"] {
  width: 100%;
  accent-color: var(--brass);
}
.cl-estimate-card .estimate-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--slate);
}

/* ---- Sections generally ---------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 0.5rem; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-raised { background: var(--paper-raised); }

/* Scroll-reveal */
[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-animate].in-view { opacity: 1; transform: translateY(0); }

/* ---- Stat strip ------------------------------------------------------------- */
.cl-stat { text-align: left; border-left: 2px solid var(--brass); padding-left: 1rem; }
.cl-stat .stat-value { font-size: 2.4rem; font-weight: 600; line-height: 1; }
.cl-stat .stat-label { font-size: 0.85rem; color: var(--slate); margin-top: 0.4rem; }
.section-dark .cl-stat .stat-label { color: rgba(245,246,242,0.6); }

/* ---- Cards ------------------------------------------------------------------ */
.cl-card {
  background: var(--paper-raised);
  border: 1px solid var(--slate-mist);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--brass); }
.cl-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,232,212,0.5);
  color: var(--brass-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.cl-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cl-card p { color: var(--slate); font-size: 0.92rem; margin-bottom: 0.9rem; }
.cl-card .card-link { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.cl-card .card-link .arrow { transition: transform 0.25s var(--ease); display: inline-block; }
.cl-card:hover .card-link .arrow { transform: translateX(4px); }

/* ---- Process timeline (genuine sequence — numbering carries meaning) -------- */
.cl-process { position: relative; }
.cl-process-step { position: relative; padding-left: 3.2rem; padding-bottom: 2.5rem; }
.cl-process-step::before {
  content: attr(data-step);
  position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.cl-process-step::after {
  content: "";
  position: absolute; left: 1.1rem; top: 2.2rem; bottom: 0;
  width: 1px;
  background: var(--slate-mist);
}
.cl-process-step:last-child::after { display: none; }
.cl-process-step h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.cl-process-step p { color: var(--slate); font-size: 0.92rem; margin: 0; }

/* ---- Testimonials ------------------------------------------------------------ */
.cl-testimonial {
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--slate-mist);
}
.cl-testimonial p.quote { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; }
.cl-testimonial .who { font-size: 0.85rem; color: var(--slate); margin-top: 1rem; }
.cl-testimonial .who strong { color: var(--ink); }

/* ---- FAQ accordion (Bootstrap accordion, restyled) --------------------------- */
.cl-accordion .accordion-item { border: none; border-bottom: 1px solid var(--slate-mist); background: transparent; }
.cl-accordion .accordion-button {
  background: transparent; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: 1.4rem 0; box-shadow: none;
}
.cl-accordion .accordion-button:not(.collapsed) { color: var(--brass-deep); background: transparent; }
.cl-accordion .accordion-button::after { filter: sepia(1) saturate(2) hue-rotate(-10deg); }
.cl-accordion .accordion-body { padding: 0 0 1.4rem; color: var(--slate); }

/* ---- Newsletter strip ---------------------------------------------------------- */
.cl-newsletter {
  background: var(--brass);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.cl-newsletter input[type="email"] {
  border: 1px solid rgba(14,31,43,0.25);
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

/* ---- Footer --------------------------------------------------------------------- */
.cl-footer { background: var(--ink); color: rgba(245,246,242,0.7); padding: 4rem 0 2rem; }
.cl-footer h5 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.cl-footer a { color: rgba(245,246,242,0.7); font-size: 0.9rem; display: block; margin-bottom: 0.55rem; }
.cl-footer a:hover { color: var(--brass); }
.cl-footer .legal { border-top: 1px solid rgba(245,246,242,0.12); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(245,246,242,0.45); }

/* ---- Back to top ------------------------------------------------------------------ */
#backToTop {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 900; border: none;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); }

/* ---- Forms (shared: calculator, eligibility, apply) -------------------------------- */
.cl-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.35rem; display: block; }
.cl-field .form-control, .cl-field .form-select {
  border: 1px solid var(--slate-mist);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
}
.cl-field .form-control:focus, .cl-field .form-select:focus {
  border-color: var(--brass-deep);
  box-shadow: 0 0 0 3px rgba(254,97,27,0.2);
}
.cl-field .form-text { font-size: 0.78rem; color: var(--slate); }
.cl-field .invalid-feedback { font-size: 0.78rem; }

.cl-tool-panel {
  background: var(--paper-raised);
  border: 1px solid var(--slate-mist);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}
.cl-result-output {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.cl-result-output .big-num { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 600; color: #fff; }
.cl-result-output .row-line { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(245,246,242,0.1); }

.cl-verdict { border-radius: var(--radius-md); padding: 1.5rem; text-align: center; }
.cl-verdict.likely { background: rgba(63,107,88,0.1); border: 1px solid var(--sage); color: var(--sage); }
.cl-verdict.possibly { background: rgba(255,232,212,0.35); border: 1px solid var(--brass-deep); color: var(--brass-deep); }
.cl-verdict.unlikely { background: rgba(155,68,68,0.1); border: 1px solid var(--rose); color: var(--rose); }
.cl-verdict .verdict-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.3rem; }

/* ---- Multi-step application wizard ------------------------------------------------- */
.cl-progress-track { display: flex; gap: 0.4rem; margin-bottom: 2.5rem; }
.cl-progress-track .seg { height: 4px; flex: 1; background: var(--slate-mist); border-radius: 2px; overflow: hidden; }
.cl-progress-track .seg .fill { height: 100%; width: 0%; background: var(--brass); transition: width 0.4s var(--ease); }
.cl-progress-track .seg.done .fill { width: 100%; }
.cl-step-label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.75rem; }
.cl-wizard-step { display: none; }
.cl-wizard-step.active { display: block; animation: fadeIn 0.4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.upload-slot {
  border: 1.5px dashed var(--slate-mist);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  color: var(--slate);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.upload-slot:hover { border-color: var(--brass-deep); background: rgba(255,232,212,0.45); }
.upload-slot.has-file { border-color: var(--sage); color: var(--sage); border-style: solid; }

/* ---- Media placeholder — replace with a real photo/video, see caption ------------- */
.media-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--slate-mist);
  background:
    repeating-linear-gradient(135deg, rgba(14,31,43,0.025) 0 12px, transparent 12px 24px),
    var(--paper-raised);
  color: var(--slate);
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.media-slot i { font-size: 1.6rem; color: var(--brass-deep); }
.media-slot .slot-caption { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; max-width: 26ch; }
.media-slot.ratio-16x9 { aspect-ratio: 16 / 9; }
.media-slot.ratio-4x3 { aspect-ratio: 4 / 3; }
.media-slot.ratio-1x1 { aspect-ratio: 1 / 1; }
.media-slot.ratio-21x9 { aspect-ratio: 21 / 9; }
.media-slot.ratio-603x331 { aspect-ratio: 603 / 331; }

.media-slot .fit-contained-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.media-slot.cover-image-frame {
  padding: 0;
}

.media-slot.cover-image-frame .fit-contained-image {
  object-fit: cover;
}

.hero-video-frame {
  border: 1px solid rgba(245,246,242,0.25);
  padding: 0;
  background: rgba(245,246,242,0.03);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 992px) and (max-width: 1440px) {
  .hero-video-frame {
    min-height: 430px;
  }
}

/* ---- Leadership headshot card ------------------------------------------------------- */
.exec-card { text-align: left; }
.exec-card .media-slot { margin-bottom: 1rem; }
.exec-card.exec-card-wide { max-width: 603px; width: 100%; }
.exec-card .ceo-image-frame { padding: 0; }
.exec-card .ceo-image-frame {
  border: none;
  background: transparent;
}
.ceo-image-frame {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  padding: 0;
  border: none;
  background: transparent;
}
.exec-card .ceo-image-frame .fit-contained-image { object-fit: cover; }
.exec-card .ceo-image-frame .fit-contained-image {
  width: 100%;
  height: auto;
  display: block;
}
.exec-card .ceo-image-frame img {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .exec-card.exec-card-wide {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  #leadership .row.g-4.align-items-center {
    row-gap: 1.5rem;
  }
  .exec-card.exec-card-wide {
    margin-inline: 0;
  }
}
.exec-card h3 { font-size: 1.05rem; margin-bottom: 0.1rem; }
.exec-card .exec-title { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brass-deep); margin-bottom: 0.6rem; }
.exec-card p.bio { color: var(--slate); font-size: 0.9rem; }

/* ---- Risk disclaimer strip (wealth/investment pages) --------------------------------- */
.risk-note {
  border-left: 3px solid var(--brass);
  background: var(--paper-raised);
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--slate);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Utility */
.text-brass { color: var(--brass-deep); }
.text-sage { color: var(--sage); }
.bg-paper-raised { background: var(--paper-raised); }
.hairline-top { border-top: 1px solid var(--slate-mist); }

@media (max-width: 767.98px) {
  .cl-hero { padding: 4rem 0 3rem; text-align: center; }
  .cl-hero .lede { margin-left: auto; margin-right: auto; }
  .section { padding: 3.5rem 0; }
}

/* ---- Mobile nav drawer ---------------------------------------------------------------- */
.cl-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  visibility: hidden;
}
.cl-drawer.open { transform: translateX(0); visibility: visible; }

.cl-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--slate-mist);
  flex-shrink: 0;
}
.cl-drawer-close { background: none; border: none; font-size: 1.25rem; color: var(--ink); padding: 0.4rem; line-height: 1; }

.cl-drawer-viewport { flex: 1; overflow: hidden; position: relative; }
.cl-drawer-screen {
  position: absolute; inset: 0;
  padding: 0.5rem 1.25rem 1.5rem;
  overflow-y: auto;
  transition: transform 0.32s var(--ease);
}
.cl-drawer-root { transform: translateX(0); }
.cl-drawer-sub { transform: translateX(100%); }
.cl-drawer.showing-sub .cl-drawer-root { transform: translateX(-100%); }
.cl-drawer.showing-sub .cl-drawer-sub { transform: translateX(0); }

.cl-drawer-list { list-style: none; margin: 0; padding: 0; }
.cl-drawer-list li { border-bottom: 1px solid var(--slate-mist); }
.cl-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 0.15rem;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--ink);
}
.cl-drawer-link i { color: var(--slate); font-size: 0.95rem; }

.cl-drawer-back {
  display: flex; align-items: center; gap: 0.3rem;
  background: none; border: none; color: var(--brass-deep); font-weight: 600;
  padding: 1rem 0.15rem 0.5rem; font-size: 0.95rem;
}
.cl-drawer-sub-title { font-family: var(--font-display); font-size: 1.3rem; padding: 0 0.15rem 0.5rem; }

.cl-drawer-footer {
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--slate-mist);
  font-size: 0.9rem; color: var(--ink);
  flex-shrink: 0;
}
.cl-drawer-cta {
  padding: 0.9rem 1.25rem 0;
  border-top: 1px solid var(--slate-mist);
}
.cl-drawer-cta .btn-cl {
  width: 100%;
  justify-content: center;
}
.cl-drawer-footer i { color: var(--brass-deep); }

body.drawer-open { overflow: hidden; }

@media (min-width: 992px) {
  .cl-drawer, #mobileMenuOpen { display: none !important; }
}

/* ---- Cookie consent -------------------------------------------------------------------- */
.cl-cookie-banner {
  position: fixed; left: 1.25rem; bottom: 1.25rem;
  width: min(340px, calc(100vw - 2.5rem));
  background: var(--paper-raised);
  border: 1px solid var(--slate-mist);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 1.25rem;
  z-index: 1500;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.cl-cookie-banner.show { transform: translateY(0); }
.cl-cookie-banner .cookie-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--ink); }
.cl-cookie-banner .cookie-text { font-size: 0.82rem; color: var(--slate); margin-bottom: 1rem; }
.cl-cookie-banner .cookie-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.cl-cookie-banner .btn-cl { justify-content: center; padding: 0.6rem 1rem; font-size: 0.85rem; }
.cookie-manage-link { background: none; border: none; color: var(--ink-soft); font-size: 0.8rem; text-decoration: underline; padding: 0.2rem; align-self: center; }

.cl-cookie-modal {
  position: fixed; inset: 0; z-index: 1600;
  background: rgba(14,31,43,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease);
  padding: 1rem;
}
.cl-cookie-modal.show { opacity: 1; pointer-events: auto; }
.cl-cookie-modal-panel { background: var(--paper-raised); border-radius: var(--radius-lg); padding: 2rem; max-width: 420px; width: 100%; }
.cl-cookie-modal-panel h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.cookie-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--slate-mist); }
.cookie-row p { font-size: 0.8rem; color: var(--slate); margin: 0.2rem 0 0; }
.cookie-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brass); flex-shrink: 0; margin-top: 0.2rem; }
