/* ===== Ivywild Pharmacy — Design System ===== */
:root {
  --brand: #1f6b4c;
  --brand-dark: #16513a;
  --brand-darker: #0f3d2c;
  --accent: #c9a14a;
  --accent-dark: #a67f2e;
  --ink: #1a2420;
  --ink-soft: #43514b;
  --muted: #6b7872;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --surface-alt: #f0efe6;
  --line: #e2e0d4;
  --ring: rgba(31, 107, 76, 0.35);
  --shadow-sm: 0 1px 2px rgba(15, 61, 44, 0.06), 0 1px 3px rgba(15, 61, 44, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 61, 44, 0.08), 0 2px 4px rgba(15, 61, 44, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 61, 44, 0.14);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font-serif: "Cormorant Garamond", "Caslon Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --space: clamp(3.5rem, 7vw, 6.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.12; font-weight: 600; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); }
p { margin: 0 0 1.1rem; color: var(--ink-soft); }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-darker); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: var(--space); }
.section--alt { background: var(--surface-alt); }
.section--brand { background: linear-gradient(160deg, var(--brand-darker), var(--brand)); color: #fff; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }
.section--brand p { color: rgba(255,255,255,.88); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-sans); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 1rem; }
.eyebrow svg { width: 1.15em; height: 1.15em; flex: none; }
.section--brand .eyebrow { color: var(--accent); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand-darker); color: #fff; padding: .8rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color:#fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-sans); font-weight: 700; font-size: 1rem; line-height: 1; padding: .92rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn, .btn:link, .btn:visited, .btn:hover, .btn:focus, .btn:active { text-decoration: none !important; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent { background: var(--accent); color: #2a2208; }
.btn--accent:hover { background: var(--accent-dark); color: #1a1404; }
.btn--ghost { background: transparent; color: var(--brand-dark); border-color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand-darker); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--brand-darker); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.06rem; }
.btn--gradient { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 10px rgba(15,61,44,.22); }
.btn--gradient:hover { background: linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-darker) 100%); color: #fff; box-shadow: 0 8px 18px rgba(15,61,44,.3); }
.header-cta .btn--gradient, .header-cta .btn--gradient:hover { box-shadow: none; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ===== Header (three-tier centered) ===== */
.site-header { position: relative; z-index: 100; background: var(--surface); }
.topbar { background: var(--brand-darker); color: rgba(255,255,255,.92); font-size: .86rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 2rem; align-items: center; justify-content: center; padding-block: .6rem; text-align: center; }
.topbar a, .topbar span { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 16px; height: 16px; flex: none; }
.topbar__hours { color: rgba(255,255,255,.82); }

.logobar { background: var(--surface); }
.logobar .container { display: flex; justify-content: center; padding-block: 1.5rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-lockup--centered { flex-direction: column; text-align: center; gap: .55rem; }
.brand-lockup__mark { width: 44px; height: 44px; flex: none; }
.brand-lockup__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--brand-darker); line-height: 1; letter-spacing: -0.01em; }
.brand-lockup--centered .brand-lockup__name { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.brand-lockup__sub { display: block; font-family: var(--font-sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: .25rem; }
.brand-lockup--centered .brand-lockup__sub { font-size: .72rem; letter-spacing: .22em; margin-top: .4rem; }

.navbar { background: var(--brand-darker); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.navbar__inner { display: flex; align-items: center; justify-content: center; gap: 1.4rem; padding-block: .5rem; flex-wrap: wrap; }
.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; justify-content: center; }
.nav a { font-family: var(--font-sans); font-weight: 600; font-size: .98rem; color: rgba(255,255,255,.92); text-decoration: none; padding: .65rem .95rem; border-radius: 8px; transition: background .18s ease, color .18s ease; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.nav-item--dropdown { position: relative; display: flex; align-items: center; }
.nav-item__trigger { display: inline-flex; align-items: center; gap: .35rem; }
.nav-caret { transition: transform .2s ease; flex: none; }
.nav-item--dropdown:hover .nav-caret, .nav-item--dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 22rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .85rem; margin-top: .55rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; z-index: 200; }
.nav-dropdown::before { content: ""; position: absolute; top: -.7rem; left: 0; right: 0; height: .7rem; }
.nav-item--dropdown:hover .nav-dropdown, .nav-item--dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .4rem; }
.nav-dropdown a { display: block; padding: .55rem .7rem; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-dropdown a:hover { background: var(--surface-alt); color: var(--brand); }
.nav-dropdown__all { margin-top: .55rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.nav-dropdown__all svg { width: 16px; height: 16px; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; align-items: center; gap: .5rem; background: rgba(255,255,255,.14); color: #fff; border: none; border-radius: 10px; padding: .6rem .85rem; font-weight: 700; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .navbar__inner { justify-content: space-between; }
  .navbar__inner::before { content: "Menu"; color: rgba(255,255,255,.55); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav[open] { display: block; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav .container { display: flex; flex-direction: column; gap: .2rem; padding-block: 1rem 1.4rem; }
.mobile-nav a { padding: .8rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.mobile-nav a:hover { background: var(--surface-alt); }
.mobile-nav .btn { margin-top: .4rem; }

/* ===== Hero banner (full-bleed) ===== */
.hero-banner { position: relative; min-height: clamp(420px, 60vh, 620px); display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; isolation: isolate; }
.hero-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,61,44,.62) 0%, rgba(15,61,44,.55) 45%, rgba(15,61,44,.72) 100%); z-index: -1; }
.hero-banner__content { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(6rem, 12vw, 9rem); max-width: 50rem; }
.hero-banner h1 { color: #fff; font-size: clamp(1.5rem, 6.4vw, 4.4rem); white-space: nowrap; text-shadow: 0 2px 18px rgba(0,0,0,.3); margin-bottom: .5rem; }
.hero-banner__sub { font-size: clamp(1.3rem, 2.6vw, 1.85rem); color: rgba(255,255,255,.94); font-family: var(--font-sans); font-weight: 400; margin: 0 auto 1.6rem; max-width: 38ch; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-banner .chiplist { justify-content: center; }
.hero-banner .chiplist li { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(4px); }
.hero-banner .chiplist svg { color: var(--accent); }

/* ===== Action cards (overlap hero) ===== */
.action-cards { position: relative; z-index: 2; margin-top: clamp(-5.5rem, -8vw, -4rem); }
.action-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2rem 1.7rem; text-align: center; display: flex; flex-direction: column; align-items: center; border-top: 4px solid var(--brand); }
.action-card__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--surface-alt); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.action-card__icon svg { width: 28px; height: 28px; }
.action-card h2 { font-size: 1.5rem; margin-bottom: .55rem; }
.action-card p { font-size: .97rem; margin-bottom: 1.4rem; }
.action-card .btn { margin-top: auto; }

.chiplist { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1.8rem; padding: 0; list-style: none; }
.chiplist li { display: inline-flex; align-items: center; gap: .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; font-size: .85rem; font-weight: 600; color: var(--brand-darker); box-shadow: var(--shadow-sm); }
.chiplist svg { width: 1em; height: 1em; color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--surface-alt); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: .8rem; font-size: .97rem; }
.card__more { font-weight: 700; color: var(--brand-dark); text-decoration: none; font-size: .95rem; display: inline-flex; align-items: center; gap: .35rem; }
.card__more svg { width: 1.05em; height: 1.05em; flex: none; }
.card--link:hover .card__more { gap: .6rem; }
a.card { text-decoration: none; color: inherit; display: block; }

/* feature/value tiles */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.feature p { font-size: .96rem; margin: 0; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(160deg, var(--brand-darker), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 46ch; }
.cta-band .btn-row { flex: none; }

/* ===== GLP promo callout ===== */
.glp-promo { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.glp-promo__media { position: relative; background: var(--brand); }
.glp-promo__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.glp-promo__body { min-width: 0; align-self: center; padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.glp-promo__tag { display: inline-block; font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-dark); background: rgba(31,107,76,.1); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .85rem; }
.glp-promo__body h2 { margin: 0 0 .6rem; font-size: clamp(1.4rem, 2.4vw, 1.7rem); line-height: 1.25; }
.glp-promo__body > p { margin: 0; color: var(--ink-soft); max-width: 60ch; line-height: 1.6; }
.glp-promo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.glp-promo__price { font-family: var(--font-sans); font-weight: 800; font-size: 1.05rem; color: var(--brand-dark); background: var(--accent); padding: .4rem .85rem; border-radius: 999px; }
.glp-promo__terms { font-family: var(--font-sans); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); border: 1.5px solid var(--brand); padding: .35rem .8rem; border-radius: 999px; }
.glp-promo__note { margin: 1.9rem 0 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.glp-promo__note a { color: var(--brand); font-weight: 700; }
@media (max-width: 640px) { .glp-promo { grid-template-columns: 1fr; } .glp-promo__media { max-height: 260px; } .glp-promo__media img { object-position: center 35%; } }

/* ===== Page hero (interior) ===== */
.page-hero { background: linear-gradient(160deg, var(--brand-darker), var(--brand)); color: #fff; padding-block: clamp(2.6rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; white-space: nowrap; font-size: clamp(1.25rem, 6vw, 3.6rem); }
.page-hero p { color: rgba(255,255,255,.9); max-width: 60ch; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: rgba(255,255,255,.8); }
.breadcrumb a { color: rgba(255,255,255,.92); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,.6); margin-inline: .4rem; }

/* article/prose */
.prose { max-width: 70ch; }
.prose p { font-size: 1.08rem; }
.prose h2 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose--narrow { max-width: 65ch; }

.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1rem 0; }
.pill-list li { display: inline-flex; align-items: center; gap: .45rem; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .92rem; color: var(--brand-darker); }
.pill-list li svg { width: 1em; height: 1em; flex: none; color: var(--brand); }
.affil-groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .affil-groups { grid-template-columns: 1fr; } }
.affil-group { text-align: center; }
.affil-group h3 { color: var(--accent); font-family: var(--font-sans); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .55rem 1.1rem; color: #fff; font-weight: 600; font-size: .92rem; }

.note { border-left: 4px solid var(--accent); background: var(--surface); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-sm); }
.note strong { color: var(--ink); }

/* RxWiki prescription-transfer embed */
.rxwiki-embed { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.2rem, 3vw, 2rem); }
.rxwiki-embed__form { min-height: 360px; }
.rxwiki-embed__form > div { min-height: 360px; }
.rxwiki-embed__form iframe { width: 100% !important; border: 0; display: block; }
.rxwiki-embed__fallback { margin: 1.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); text-align: center; }

/* info rows (contact) */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .feature__icon { background: var(--surface-alt); color: var(--brand-dark); }
.info-list a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.info-list strong { display:block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); }

.map-embed { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

table.hours { width: 100%; border-collapse: collapse; }
table.hours th, table.hours td { text-align: left; padding: .7rem .4rem; border-bottom: 1px solid var(--line); }
table.hours th { font-family: var(--font-sans); font-weight: 700; color: var(--ink); }
table.hours td { color: var(--ink-soft); }
table.hours tr.is-today { background: var(--surface-alt); }
.badge-open { display:inline-flex; align-items:center; gap:.4rem; font-size:.8rem; font-weight:700; color: var(--brand-dark); }
.badge-open .dot { width:.6rem; height:.6rem; border-radius:50%; background: var(--brand); }

/* ===== Footer ===== */
.site-footer { background: var(--brand-darker); color: rgba(255,255,255,.82); padding-block: clamp(2.6rem,5vw,3.6rem) 1.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand .brand-lockup__name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 1rem; max-width: 34ch; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .95rem; color: #fff; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; color: #fff; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.82); }
.footer-bottom a { color: rgba(255,255,255,.82); }
.affil-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.affil-row span { font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: .3rem .6rem; }

/* ===== Cookie banner ===== */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.1rem 1.3rem; display: none; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between; max-width: 640px; margin-inline: auto; }
.cookie.show { display: flex; }
.cookie p { margin: 0; font-size: .92rem; flex: 1 1 280px; }
.cookie .btn-row { gap: .6rem; }
.cookie .btn { padding: .6rem 1.1rem; font-size: .92rem; }

/* utilities */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.2rem; }
.maxw-prose { max-width: 62ch; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.section-head { max-width: 60ch; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Testimonials */
.quote-grid { align-items: stretch; }
.quote-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin: 0;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.quote-card__mark {
  display: block;
  font-family: var(--font-serif, Georgia, serif);
  font-size: 3rem;
  line-height: .6;
  height: 1.4rem;
  color: var(--brand);
  opacity: .35;
}
.quote-card__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.quote-card__by {
  margin-top: auto;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--muted);
}
