/* =========================================================
   Daylark Care — Dawn-rays palette (mirrors the Dawn D mark)
   Camden Blue #1F5FD0   •   Dawn Gold #C58B3A
   Warm African sunrise tones radiate through the UI
   ========================================================= */
:root {
  /* Sky / brand */
  --sky-night: #1A2335;
  --sky-dusk:  #2C3B6B;
  --brand:     #1F5FD0;   /* Camden Blue, the D shape */
  --brand-dark:#164AA8;
  --brand-light:#e9efff;

  /* Dawn rays */
  --dawn-gold:  #C58B3A;  /* Sun centre (logo) */
  --dawn-amber: #E6A84A;  /* Primary ray */
  --dawn-rose:  #D86B4A;  /* Warm ray */
  --dawn-peach: #F2C891;  /* Soft ray */
  --dawn-coral: #E89271;  /* Horizon glow */
  --dawn-cream: #FDF7EF;  /* Horizon light */

  /* Surfaces (warm ivory, slightly risen from previous palette) */
  --bg:           #FDF9F2;
  --surface:      #FFFFFF;
  --surface-warm: #FBF2E2;
  --surface-alt:  #FBF6EC;
  --surface-sunrise: #FFF4E0;
  --border:       #EDE3CF;
  --border-warm:  #E5D8BC;

  /* Text */
  --text:        #1A2335;
  --text-muted:  #556070;
  --text-subtle: #8a93a3;

  --success: #0f8f3e;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-glow: 0 10px 40px -12px rgba(197,139,58,0.25), 0 2px 10px rgba(26,35,51,0.06);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* Subtle page-wide dawn glow — amber haze bleeding in from top-right */
  background-image:
    radial-gradient(1200px 500px at 110% -10%, rgba(230,168,74,0.18), transparent 60%),
    radial-gradient(900px 400px at -10% 12%, rgba(31,95,208,0.07), transparent 65%);
  background-attachment: fixed;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* =============== Header =============== */
header.site {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
footer.site .brand-mark svg path { fill: #ffffff !important; }
.brand small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: -2px; }
nav.site-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
nav.site-nav a { color: var(--text-muted); font-weight: 500; }
nav.site-nav a:hover, nav.site-nav a.active { color: var(--text); text-decoration: none; }
nav.site-nav a.active { color: var(--brand); }
@media (max-width: 860px) { nav.site-nav { display: none; } .mob-btn { display: block !important; } }
.mob-btn { display: none; background: none; border: 1px solid var(--border); padding: 6px 10px; border-radius: var(--radius-sm); font-size: 14px; cursor: pointer; }
.mob-menu { display: none; position: absolute; top: 60px; right: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; min-width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mob-menu.open { display: block; }
.mob-menu a { display: block; padding: 8px 10px; font-size: 14px; color: var(--text-muted); border-radius: var(--radius-sm); }
.mob-menu a:hover { background: var(--surface-alt); color: var(--text); text-decoration: none; }

/* =============== Buttons =============== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px;
  border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
  cursor: pointer; transition: all 0.18s ease;
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white; border-color: var(--brand-dark);
  box-shadow: 0 4px 14px -4px rgba(31,95,208,0.4);
}
.btn.primary:hover {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #0e3a8a 100%);
  text-decoration: none;
  box-shadow: 0 6px 18px -4px rgba(31,95,208,0.5);
  transform: translateY(-1px);
}
.btn.gold {
  background: linear-gradient(135deg, var(--dawn-amber) 0%, var(--dawn-gold) 100%);
  color: white; border-color: var(--dawn-gold);
  box-shadow: 0 4px 14px -4px rgba(197,139,58,0.45);
}
.btn.gold:hover {
  background: linear-gradient(135deg, var(--dawn-gold) 0%, #a2712c 100%);
  box-shadow: 0 6px 18px -4px rgba(197,139,58,0.55);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn:hover { background: var(--surface-warm); text-decoration: none; }
.btn.lg { padding: 13px 26px; font-size: 15px; }

/* =============== Hero with Dawn Rays =============== */
.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #FFF8EB 0%, var(--bg) 70%, var(--surface) 100%);
}
/* The big dawn fan — conic rays emanating from lower-left */
.hero::before {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -40%;
  width: 90%;
  aspect-ratio: 1 / 1;
  background:
    conic-gradient(from 0deg at 50% 100%,
      transparent 0deg,
      rgba(230,168,74,0.00) 10deg,
      rgba(230,168,74,0.14) 25deg,
      rgba(242,200,145,0.20) 40deg,
      rgba(230,168,74,0.08) 55deg,
      rgba(197,139,58,0.16) 70deg,
      rgba(242,200,145,0.10) 85deg,
      transparent 100deg);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
/* Warm sun-halo behind text block */
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(230,168,74,0.22) 0%,
      rgba(242,200,145,0.12) 30%,
      transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow {
  display: inline-block; padding: 5px 13px;
  background: linear-gradient(135deg, var(--dawn-cream) 0%, var(--surface-sunrise) 100%);
  color: var(--dawn-gold);
  border: 1px solid rgba(197,139,58,0.25);
  border-radius: 20px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 54px; line-height: 1.08;
  letter-spacing: -0.02em; font-weight: 400;
  margin-bottom: 20px; color: var(--text);
}
@media (max-width: 640px) { .hero h1 { font-size: 36px; } }
.hero p.lede { font-size: 19px; color: var(--text-muted); margin-bottom: 28px; max-width: 580px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.hero-side::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(197,139,58,0.35) 0%,
    rgba(31,95,208,0.15) 50%,
    transparent 100%);
  -webkit-mask:
     linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* =============== Trust strip =============== */
.trust-strip {
  padding: 28px 0;
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-sunrise) 50%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.trust-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 13px; font-weight: 500; }
.trust-item strong { color: var(--text); }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px rgba(15,143,62,0.4); }

/* =============== Sections =============== */
section { position: relative; padding: 72px 0; border-bottom: 1px solid var(--border); }
section.alt {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: 38px; line-height: 1.15;
  letter-spacing: -0.01em; font-weight: 400;
  margin-bottom: 14px;
}
.section-head p { font-size: 17px; color: var(--text-muted); }

/* Rays decorator — add .dawn-section to any section for a subtle amber glow in a corner */
.dawn-section { overflow: hidden; }
.dawn-section::before {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 36%; aspect-ratio: 1 / 1;
  background: radial-gradient(circle,
    rgba(230,168,74,0.15) 0%,
    rgba(242,200,145,0.06) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.dawn-section > .container { position: relative; z-index: 1; }

/* =============== Cards =============== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.22s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px rgba(26,35,51,0.12), 0 0 0 1px rgba(197,139,58,0.18);
  border-color: rgba(197,139,58,0.3);
}
.card .card-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--dawn-cream) 0%, var(--surface-sunrise) 100%);
  border: 1px solid rgba(197,139,58,0.2);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: var(--dawn-gold);
  font-size: 22px; margin-bottom: 14px;
}
/* Blue-tinted icon variant for mix */
.card .card-icon.blue {
  background: linear-gradient(135deg, var(--brand-light) 0%, #dce6ff 100%);
  border-color: rgba(31,95,208,0.2);
  color: var(--brand);
}
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.card .learn { font-size: 13px; color: var(--brand); font-weight: 600; }
.card .learn.gold { color: var(--dawn-gold); }

/* =============== CTA — big sunrise =============== */
.cta {
  position: relative;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg,
    #FFF4E0 0%,
    #FBF2E2 40%,
    var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
/* Full sunrise ray fan behind CTA */
.cta::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -60%;
  transform: translateX(-50%);
  width: 140%; aspect-ratio: 2 / 1;
  background:
    conic-gradient(from 180deg at 50% 100%,
      transparent 0deg,
      rgba(230,168,74,0.00) 20deg,
      rgba(230,168,74,0.14) 35deg,
      rgba(216,107,74,0.08) 45deg,
      rgba(242,200,145,0.18) 55deg,
      rgba(230,168,74,0.08) 65deg,
      rgba(242,200,145,0.14) 75deg,
      rgba(197,139,58,0.12) 85deg,
      rgba(230,168,74,0.16) 95deg,
      rgba(242,200,145,0.10) 105deg,
      rgba(216,107,74,0.08) 115deg,
      rgba(230,168,74,0.14) 125deg,
      transparent 150deg);
  filter: blur(1px);
  pointer-events: none;
  z-index: 0;
}
/* Sun rising on the horizon */
.cta::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle at 50% 50%,
    rgba(230,168,74,0.35) 0%,
    rgba(242,200,145,0.18) 25%,
    rgba(216,107,74,0.08) 45%,
    transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.cta > .container { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--serif);
  font-size: 38px; line-height: 1.15;
  font-weight: 400; margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.cta p { font-size: 17px; color: var(--text-muted); margin-bottom: 28px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =============== Footer — night sky before dawn =============== */
footer.site {
  position: relative;
  padding: 44px 0 30px;
  background:
    linear-gradient(180deg, var(--sky-night) 0%, #0f1724 100%);
  color: #c8ccd4;
  font-size: 14px;
  overflow: hidden;
}
/* Pre-dawn glow at the top of the footer */
footer.site::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(197,139,58,0.5) 20%,
    rgba(230,168,74,0.8) 50%,
    rgba(197,139,58,0.5) 80%,
    transparent 100%);
}
footer.site::after {
  content: "";
  position: absolute;
  bottom: -40%; right: -20%;
  width: 60%; aspect-ratio: 1 / 1;
  background: radial-gradient(circle,
    rgba(197,139,58,0.12) 0%,
    rgba(31,95,208,0.08) 35%,
    transparent 60%);
  pointer-events: none;
}
footer.site .container { position: relative; z-index: 1; }
footer.site a { color: #c8ccd4; }
footer.site a:hover { color: white; }
.foot-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #2d3545; }
@media (max-width: 760px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
footer.site h5 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
footer.site ul { list-style: none; padding: 0; }
footer.site li { margin-bottom: 8px; }
footer.site .brand { color: white; }
footer.site .brand small { color: #8a93a3; }
footer.site p.copy { padding-top: 24px; font-size: 12px; color: #8a93a3; }

/* =============== Page hero (non-home) with soft rays =============== */
.page-hero {
  position: relative;
  padding: 60px 0 44px;
  background:
    linear-gradient(180deg, #FFF8EB 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -10%; top: -30%;
  width: 55%; aspect-ratio: 1 / 1;
  background:
    conic-gradient(from 200deg at 50% 50%,
      transparent 0deg,
      rgba(230,168,74,0.10) 20deg,
      rgba(242,200,145,0.16) 35deg,
      rgba(197,139,58,0.08) 50deg,
      transparent 70deg);
  filter: blur(2px);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: 44px; line-height: 1.1;
  font-weight: 400; margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 680px; }

/* =============== Content pages =============== */
.content { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.content h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 36px 0 12px; }
.content h3 { font-size: 18px; margin: 24px 0 8px; }
.content p { margin-bottom: 14px; color: var(--text-muted); }
.content ul, .content ol { margin: 0 0 14px 24px; color: var(--text-muted); }
.content li { margin-bottom: 6px; }
.content .intro { font-size: 18px; color: var(--text); margin-bottom: 24px; }

/* =============== Form card — dawn-tinted =============== */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 10px 40px -16px rgba(26,35,51,0.15), 0 0 0 1px rgba(197,139,58,0.08);
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--dawn-gold) 100%);
}
.form-card h2 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 8px; }
.form-card .lead { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="tel"], .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 15px; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--dawn-gold);
  box-shadow: 0 0 0 3px rgba(197,139,58,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.form-foot .checkrow { display: flex; align-items: center; gap: 6px; }
.btn-full { width: 100%; justify-content: center; padding: 13px; font-size: 15px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-subtle); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-ms { width: 100%; justify-content: center; padding: 12px; font-size: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 500; }
.btn-ms svg { width: 18px; height: 18px; }

/* =============== Testimonial — warm dawn quote =============== */
.testimonial {
  background: linear-gradient(135deg, var(--surface-warm) 0%, var(--surface-sunrise) 100%);
  border-left: 4px solid var(--dawn-gold);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  margin: 20px 0;
  font-size: 17px;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  box-shadow: 0 6px 20px -10px rgba(197,139,58,0.25);
}
.testimonial-who { font-style: normal; display: block; margin-top: 10px; font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* =============== Notice / call-out =============== */
.notice {
  background: linear-gradient(135deg, var(--brand-light) 0%, #f5f0fc 100%);
  border: 1px solid rgba(31,95,208,0.25);
  color: var(--text);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}
.notice strong { color: var(--brand); }
.notice.gold {
  background: linear-gradient(135deg, var(--dawn-cream) 0%, var(--surface-sunrise) 100%);
  border-color: rgba(197,139,58,0.35);
}
.notice.gold strong { color: var(--dawn-gold); }

/* =============== Area grid =============== */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.area-grid span {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.15s;
}
.area-grid span:hover {
  border-color: rgba(197,139,58,0.4);
  background: var(--surface-sunrise);
}
.area-grid strong { color: var(--text); }

/* =============== Job listing =============== */
.job {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: all 0.18s;
}
.job:hover {
  border-color: rgba(197,139,58,0.35);
  box-shadow: 0 8px 24px -12px rgba(26,35,51,0.1);
}
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } }
.job h3 { font-size: 17px; margin-bottom: 4px; }
.job p { color: var(--text-muted); font-size: 14px; }
.job .meta { color: var(--text-subtle); font-size: 12px; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Page hero variants */
.page-hero.compact { padding: 44px 0 30px; }
.page-hero.compact h1 { font-size: 36px; }
.page-hero.compact p { font-size: 16px; }

.small-h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin-bottom: 14px; letter-spacing: -0.01em; }

.site-nav a.active { color: var(--brand); font-weight: 600; }
.site-nav a.btn.active { color: white; }

/* =============== Dawn ray divider — a thin horizontal sunrise line =============== */
.dawn-divider {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(197,139,58,0.3) 20%,
    rgba(230,168,74,0.6) 50%,
    rgba(197,139,58,0.3) 80%,
    transparent 100%);
  border: 0;
  margin: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* =============== Cookie consent banner (dormant until cookies.js is enabled) =============== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  box-shadow: 0 20px 60px -20px rgba(26,35,51,0.35), 0 8px 24px -12px rgba(26,35,51,0.2);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.cookie-banner::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg,
    var(--dawn-gold) 0%,
    var(--dawn-amber) 35%,
    var(--dawn-rose) 70%,
    var(--dawn-gold) 100%);
}
.cookie-banner-inner {
  padding: 20px 22px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
}
.cookie-banner-copy h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cookie-banner-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.cookie-banner-copy a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: center;
  justify-self: end;
}
@media (max-width: 720px) {
  .cookie-banner-actions { justify-self: stretch; }
  .cookie-banner-actions .btn { flex: 1; min-width: 0; }
}
.cookie-banner .btn {
  padding: 10px 16px;
  font-size: 14px;
}
.cookie-manage {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 16px 18px;
  background: var(--surface-warm);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  display: grid;
  gap: 10px;
}
.ck-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.ck-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--brand);
  flex: 0 0 auto;
}
.ck-row span strong { color: var(--text); font-weight: 600; }
.cookie-manage-actions {
  margin-top: 4px;
  display: flex;
  justify-content: flex-end;
}

/* Footer legal links: match .copy context */
.copy a {
  color: #8a93a3;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s;
}
.copy a:hover { color: var(--dawn-amber); }
