/* site.css — Bright Beginnings Preschool (2026 redesign). Tokens in tokens.css (assigned palette,
   verbatim); base.css is shared. Rule that governs this file: --accent (apricot) is a FILL —
   buttons, rules, offset blocks. Apricot-coloured TEXT always uses --accent-ink (5.06:1 on the base). */

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.005em; }
h1 { font-weight: 700; }
h2 { max-width: 22ch; }
.lead { line-height: 1.55; }
.h-rule { display: block; width: 3.25rem; height: 5px; border-radius: 999px; background: var(--accent); margin: 0 0 var(--space-2); }
.eyebrow { color: var(--accent-ink); font-weight: 800; font-size: 0.82rem; }
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }
.section-head p { color: var(--ink-muted); font-size: var(--fs-1); }
.section-head p:last-child { margin-bottom: 0; }
.measure p { max-width: 56ch; }

/* ---------- header ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.brand { font-weight: 700; font-size: 1.2rem; gap: 0.55rem; min-height: 44px; }
.brand__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1; flex: none; }
.nav a:not(.btn) { color: var(--ink); font-size: 0.98rem; }
.nav a:not(.btn):hover { color: var(--accent-ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav .btn--primary { min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
@media (max-width: 720px) { .nav a:not(.btn) { display: flex; align-items: center; min-height: 46px; padding: 0.5rem 0; } .nav a[aria-current="page"] { text-underline-offset: 4px; } }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--on-brand); padding: 0.75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; letter-spacing: 0.005em; }
.btn--primary { color: var(--on-accent); }
.btn--ghost { border-width: 2px; border-color: var(--brand); color: var(--brand); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--bg-alt); }

/* ---------- hero: words on the meadow base, the photograph in a rounded frame with an apricot block ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero h1 { margin-bottom: var(--space-3); max-width: 15ch; }
.hero .lead { max-width: 36rem; color: var(--ink); margin-bottom: var(--space-3); }
.hero__actions, .actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; margin: var(--space-3) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: 0.98rem; font-weight: 600; color: var(--ink-muted); max-width: 36rem; }
.hero__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 640px) { .hero__meta .dot { display: none; } .hero__meta span { display: block; width: 100%; } }
.hero__figure { position: relative; margin: 0; width: min(100%, 470px); justify-self: center; }
@media (min-width: 900px) { .hero__figure { justify-self: end; } }
.hero__figure::before { content: ""; position: absolute; inset: 10% -7% -6% 12%; background: var(--accent-soft); border-radius: var(--radius); transform: rotate(-2deg); }
.hero__frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__tag { position: absolute; left: clamp(-0.5rem, -1vw, 0rem); bottom: clamp(1rem, 3vw, 1.75rem); background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; padding: 0.5rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); transform: rotate(-2deg); }

/* ---------- trust strip (meadow) ---------- */
.trust { background: var(--brand); color: var(--on-brand); }
.trust ul { list-style: none; margin: 0; padding: clamp(1rem, 2.4vw, 1.4rem) 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); }
.trust li { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1rem; }
.trust li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
/* Phone: a 2x2 grid of the four promises — no column of centred lines, no dead right half. */
@media (max-width: 720px) {
  .trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; padding-block: 1.1rem; }
  .trust li { align-items: flex-start; font-size: 0.95rem; line-height: 1.3; }
  .trust li::before { margin-top: 0.45em; }
}

/* ---------- reassurance: numbered cards beside a sticky photograph ---------- */
.calm__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .calm__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.calm__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
@media (min-width: 960px) { .calm__media { position: sticky; top: 88px; aspect-ratio: 4 / 5; } }
.calm__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: pt; }
.points li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 2.9rem); box-shadow: var(--shadow-sm); }
.points li::before { counter-increment: pt; content: counter(pt); position: absolute; left: var(--space-3); top: var(--space-3); width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
.points h3 { font-size: var(--fs-2); margin-bottom: 0.45rem; line-height: 1.15; }
.points p { margin: 0; color: var(--ink-muted); max-width: 56ch; }

/* ---------- tuition glance ---------- */
.tuition__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .tuition__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 5vw, 4rem); } }
.pricelist { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-2) var(--space-3); box-shadow: var(--shadow-sm); }
.pricelist__row { display: grid; grid-template-columns: 1fr auto; column-gap: var(--space-3); align-items: baseline; padding: clamp(0.9rem, 1.8vw, 1.2rem) 0; border-bottom: 1px solid var(--line); }
.pricelist__row:last-child { border-bottom: 0; }
.pricelist__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-1); }
.pricelist__note { display: block; margin-top: 0.3rem; color: var(--ink-muted); font-size: 0.98rem; max-width: 52ch; }
.pricelist__row dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-1); color: var(--accent-ink); white-space: nowrap; }
.pricelist__row dd.is-tag { font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; letter-spacing: var(--track-label); text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 0.4rem 0.75rem; border-radius: 999px; align-self: center; }
.pricelist--full .pricelist__name { font-size: var(--fs-2); }
.pricelist--full .pricelist__row { padding-block: clamp(1.2rem, 2.4vw, 1.7rem); }
.pricelist--full .pricelist__note { max-width: 60ch; }
.tuition__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-3); color: var(--ink-muted); }
.tuition__foot p { margin: 0; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 4 / 3; }

/* ---------- the three promises — the signature: scale jump between kicker and body ---------- */
.promises__grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 800px) { .promises__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4) var(--space-3) var(--space-3); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.promise::before { content: ""; position: absolute; left: var(--space-3); top: 0; width: 3.25rem; height: 5px; background: var(--accent); }
.promise__kicker { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.05; color: var(--accent-ink); margin-bottom: 0.6rem; }
.promise p { margin: 0; max-width: 34ch; }

/* ---------- photo band with a contained dark card (photo stays bright) ---------- */
.photostage { position: relative; display: grid; align-items: center; min-height: clamp(420px, 54vw, 580px); overflow: hidden; }
.photostage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: 0; }
.photostage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(20, 27, 11, 0.24), rgba(20, 27, 11, 0) 60%); }
.photostage__inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding-block: clamp(2rem, 5vw, 3.5rem); }
.pcard { max-width: 32rem; padding: clamp(1.4rem, 3.2vw, 2.2rem); border-radius: var(--radius); margin: 0; background: var(--brand-deep); color: var(--on-brand); border: 1px solid var(--brand-line); box-shadow: 10px 10px 0 var(--accent), 0 24px 50px rgba(20, 27, 11, 0.34); }
.pcard p { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-2); line-height: 1.25; margin: 0 0 var(--space-2); max-width: none; }
.pcard footer { color: var(--on-brand-muted); font-weight: 700; }
@media (max-width: 860px) {
  .photostage { min-height: 0; display: grid; grid-template-rows: auto auto; }
  .photostage__img { grid-area: 1 / 1; position: static; height: clamp(230px, 56vw, 340px); }
  .photostage::after { display: none; }
  .photostage__inner { grid-area: 2 / 1; padding-block: 0 var(--space-3); margin-top: -2.5rem; justify-content: flex-start; }
  .pcard { max-width: none; box-shadow: 8px 8px 0 var(--accent), 0 18px 36px rgba(20, 27, 11, 0.3); }
}

/* ---------- interior pages ---------- */
.pagehead { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.pagehead h1 { max-width: 20ch; margin-bottom: var(--space-2); }
.pagehead .lead { max-width: 56ch; margin-bottom: 0; }
.pagehead__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.split-2 { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split-2--flip > :first-child { order: 2; } }
.split-2--top { align-items: start; }
@media (min-width: 900px) { .split-2--top .media { position: sticky; top: 88px; } }
.story-quote { margin: 0 0 var(--space-3); padding: var(--space-3); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.story-quote p { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-1); line-height: 1.35; margin: 0; max-width: none; }
.quote { margin: var(--space-3) 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4) var(--space-3) var(--space-3); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; left: var(--space-3); top: 0; width: 3.25rem; height: 5px; background: var(--accent); }
.quote p { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-1); line-height: 1.35; margin: 0 0 0.6rem; max-width: none; }
.quote footer { color: var(--ink-muted); font-weight: 700; }
.band-figure { margin: 0; }
.band { position: relative; height: clamp(240px, 36vw, 460px); overflow: hidden; background: var(--bg-alt); min-height: 0; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band__caption { padding: 0.85rem 0 0; font-size: 0.95rem; font-weight: 600; color: var(--ink-muted); display: flex; gap: 0.55rem; align-items: center; }
.band__caption::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.facts { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); border-top: 5px solid var(--brand); }
.fact:first-child { border-top-color: var(--accent); }
.fact__label { font-size: 0.78rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-ink); font-weight: 800; margin: 0 0 0.6rem; }
.fact p { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 600; }
.fact p:last-child { margin-bottom: 0; }
.fact .muted { font-size: 0.95rem; font-weight: 400; }
.fact a { text-decoration: none; border-bottom: 2px solid var(--line); }
.fact a:hover { border-bottom-color: var(--accent); color: var(--accent-ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: var(--space-2); align-items: start; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; }
.steps h3 { font-size: var(--fs-1); margin: 0.3rem 0 0.25rem; }
.steps p { margin: 0; color: var(--ink-muted); max-width: 48ch; }
.faq { border-top: 2px solid var(--brand); max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); align-items: center; padding: clamp(1rem, 2vw, 1.3rem) 0; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-body); font-weight: 800; flex: none; }
.faq details[open] summary::after { content: "\2013"; background: var(--brand); color: var(--on-brand); }
.faq .answer { padding: 0 0 clamp(1.1rem, 2vw, 1.5rem); max-width: 60ch; color: var(--ink-muted); }
.faq .answer p { margin-bottom: var(--space-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--accent-ink); font-weight: 700; }

/* ---------- form ---------- */
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.formcard h2, .formcard h3 { margin-bottom: 0.35rem; }
.formcard .muted { margin-bottom: var(--space-3); }
.quote-form__grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 560px) { .quote-form__grid { grid-template-columns: 1fr 1fr; } .quote-form__wide { grid-column: 1 / -1; } }
.quote-form label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.95rem; }
.quote-form input, .quote-form textarea { width: 100%; padding: 0.75rem 0.9rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font-weight: 400; }
.quote-form input:focus, .quote-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.quote-form .btn { margin-top: var(--space-3); width: 100%; }
.quote-form__note { margin: var(--space-2) 0 0; font-size: 0.95rem; color: var(--ink-muted); }
.quote-form__note a { color: var(--accent-ink); font-weight: 700; }

/* ---------- closing band (meadow) ---------- */
.close { background: var(--brand); color: var(--on-brand); }
.close h2, .close p, .close li { color: var(--on-brand); }
.close .lead { color: var(--on-brand-muted); max-width: 34rem; }
.close .eyebrow { color: #F5C889; }
.close__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .close__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); } }
.close .btn--primary { color: var(--on-accent); }
.close .btn--ghost { color: var(--on-brand); border-color: rgba(239, 245, 232, 0.72); }
.close .btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--on-brand); }
.contact-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; align-items: baseline; padding-bottom: 0.7rem; border-bottom: 1px solid var(--brand-line); }
.contact-list .label { font-size: 0.76rem; letter-spacing: var(--track-label); text-transform: uppercase; color: #F5C889; font-weight: 800; }
.contact-list a { color: var(--on-brand); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(239, 245, 232, 0.4); overflow-wrap: anywhere; }
.contact-list a:hover { border-bottom-color: var(--on-brand); }
@media (max-width: 520px) { .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; } }
/* the white form card on the meadow band keeps the page's own ink */
.close .formcard, .close .formcard h2, .close .formcard h3, .close .formcard p, .close .formcard label { color: var(--ink); }
.close .formcard .muted, .close .formcard .quote-form__note { color: var(--ink-muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: var(--space-4) var(--space-3); }
.site-footer h2 { font-size: 0.8rem; letter-spacing: var(--track-label); text-transform: uppercase; margin-bottom: 0.6rem; font-family: var(--font-body); color: var(--ink); font-weight: 800; }
.site-footer p { margin-bottom: 0.35rem; max-width: 34ch; }
.site-footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
.site-footer a:hover { color: var(--accent-ink); border-bottom-color: var(--accent); }
.site-footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--space-2); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.site-footer__legal p { max-width: none; margin: 0; }

/* ---------- sticky mobile CTA ---------- */
.cta-bar { background: var(--surface); }
.cta-bar__inner { display: flex; align-items: center; gap: var(--space-2); }
.cta-bar__inner .btn { flex: 1; }
.cta-bar__hours { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.2; max-width: 8rem; }

/* ---------- Duna Marketing sample-site bar ---------- */
:root { --duna-h: 54px; }
.duna-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  box-sizing: border-box; min-height: var(--duna-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(25, 28, 35, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #FFFFFF; text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-body); font-size: 0.92rem; line-height: 1.3; text-align: center;
  cursor: pointer; transition: background 0.15s ease;
}
.duna-bar a { text-decoration: none; }
.duna-bar__copy { justify-self: start; font-size: 0.76rem; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.85); white-space: nowrap; }
.duna-bar__note { grid-column: 3; justify-self: end; font-size: 0.76rem; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.85); white-space: nowrap; }
.duna-bar__actions { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 0.5rem; }
.duna-bar__btn { display: inline-block; background: rgba(0, 0, 0, 0.45); color: #FFFFFF; border: 1.5px solid #FFFFFF; border-radius: 4px; padding: 0.45rem 1.1rem; font-weight: 700; font-size: 0.9rem; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.duna-bar__btn:hover, .duna-bar__btn:focus-visible { background: #FFFFFF; color: #14171E; }
.duna-bar__btn--text { margin-left: 0.6rem; background: #C8102E; color: #FFFFFF; border-color: #C8102E;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--text svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--call { margin-left: 0.6rem; background: #003087; color: #FFFFFF; border-color: #003087;
  border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 48, 135, 0.34);
  display: inline-flex; align-items: center; gap: 0.45rem; }
.duna-bar__btn--call:hover, .duna-bar__btn--call:focus-visible { background: #001D52; border-color: #001D52;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(0, 48, 135, 0.44); }
.duna-bar__btn--call svg { width: 15px; height: 15px; flex: none; }
.duna-bar__btn--text:hover, .duna-bar__btn--text:focus-visible { background: #A50D25; border-color: #A50D25;
  color: #FFFFFF; box-shadow: 0 6px 18px rgba(200, 16, 46, 0.42); }
@media (max-width: 720px) {
  /* Phones (all ad traffic): two full-width, full-label text and call buttons on one row.
     --duna-h tracks the taller bar so pages keep clearing it. */
  :root { --duna-h: 66px; }
  .duna-bar__copy, .duna-bar__note, .duna-bar .long { display: none; }
  .duna-bar { grid-template-columns: 1fr; gap: 0; padding: 0.4rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom)); }
  .duna-bar__actions { grid-column: 1 / -1; justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 0.5rem; }
  .duna-bar__btn { grid-column: 1 / -1; justify-self: center; background: none; border: 0; padding: 0.1rem 0 0.15rem;
    font-size: 0.74rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: 0.9; }
  .duna-bar__btn--text, .duna-bar__btn--call { grid-column: auto; justify-self: stretch; justify-content: center; text-align: center;
    margin-left: 0; min-height: 46px; padding: 0.4rem 0.45rem; font-size: 0.82rem; font-weight: 700; line-height: 1.15;
    white-space: normal; text-decoration: none; opacity: 1; border-radius: 10px; }
  .duna-bar__btn--text { background: #C8102E; border: 1.5px solid #C8102E; }
  .duna-bar__btn--call { background: #003087; border: 1.5px solid #003087; }
  .duna-bar__btn--text .long, .duna-bar__btn--call .long { display: inline; }
  .duna-bar__btn--text svg, .duna-bar__btn--call svg { width: 16px; height: 16px; }
}
body { padding-bottom: calc(var(--duna-h) + env(safe-area-inset-bottom)); }
@media (max-width: 720px) {
  .cta-bar { bottom: calc(var(--duna-h) + env(safe-area-inset-bottom)); }
  body.has-cta-bar { padding-bottom: calc(84px + var(--duna-h)); }
}

/* Uniform legal block shared by every Duna sample site. */
.site-footer .duna-legal { grid-column: 1 / -1; margin-top: 0.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line, rgba(127, 127, 127, 0.35)); font-size: 0.85rem; line-height: 1.55; }
.site-footer .duna-legal p { margin: 0 0 0.3rem; max-width: none; }
.site-footer .duna-legal p:last-child { margin-bottom: 0; }
