/*
Theme Name: Livia Health
Theme URI: https://liviahealth.com/
Author: Livia Health
Description: Custom WordPress theme for Livia Health — Kenya's connected health platform. Includes page templates for every product, a social wall, awards, and a front-end publishing dashboard (provided by the Livia Core plugin).
Version: 2.1.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: livia-health
Tags: healthcare, business, custom-menu, featured-images, blog, translation-ready, accessibility-ready
*/
:root {
  --teal: #4AA691;
  --teal-600: #2E7568;
  --teal-700: #1F5F55;
  --navy: #12355B;
  --navy-700: #0d2846;
  --pink: #E9B2D2;
  --mint: #EAF8F1;
  --soft: #F6F9FB;
  --ink: #1F2933;
  --muted: #4B5563;
  --line: #E3E8EE;
  --white: #fff;
  --danger: #B42318;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 4px 16px rgba(16, 24, 40, .08);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, .14);
  --font-head: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5, h6, .h3, .h4, .h5, .h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.h4 { font-size: 1.25rem; }
h4, .h5 { font-size: 1.05rem; }
.h6 { font-size: .98rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-600); text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
.icon { flex: none; vertical-align: middle; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.container--article { max-width: 780px; }
.text-center { text-align: center; }
.text-accent { color: var(--teal); }
.text-teal { color: var(--teal); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt { margin-top: 1.25rem; }
.mt-lg { margin-top: 2.5rem; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-lg); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; font-weight: 500; }
.logo__text b { font-weight: 800; }
.logo--light .logo__circle { fill: #fff; }
.logo--light .logo__drop { fill: var(--teal); }
.logo--light .logo__mark circle:last-child { fill: #fff; }
.logo--light .logo__text { color: #fff; }
.logo--dark .logo__circle { fill: var(--teal); }
.logo--dark .logo__drop { fill: #fff; }
.logo--dark .logo__text { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: .875rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.btn--white { background: #fff; color: var(--teal-600); border-color: #fff; }
.btn--white:hover { background: var(--mint); color: var(--teal-700); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { background: transparent; color: var(--teal-600); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--lg { min-height: 52px; padding: .85rem 1.75rem; font-size: .9rem; }
.btn--sm { min-height: 38px; padding: .45rem 1rem; font-size: .78rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }
.link { background: none; border: 0; padding: 0; color: var(--teal-600); text-decoration: underline; font: inherit; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--teal-600); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600); margin: 0 0 .75rem; }
.eyebrow--light { color: #bfe8dd; }
.eyebrow--pink { color: var(--pink); }
.tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--mint); color: var(--teal-700); font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
a.tag:hover { background: var(--teal); color: #fff; }
.badge-new { display: inline-block; padding: .1rem .45rem; border-radius: 999px; background: var(--pink); color: var(--navy); font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* ---------- Announcement + top bar ---------- */
.announce { background: var(--pink); color: var(--navy); text-align: center; font-size: .875rem; font-weight: 600; padding: .5rem 0; }
.announce a { color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .8rem; display: none; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar__contacts { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.topbar a:hover { color: #9fe0cf; }
.topbar__hours { display: inline-flex; align-items: center; gap: .35rem; }
@media (min-width: 900px) { .topbar { display: block; } }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--teal); box-shadow: 0 2px 10px rgba(18, 53, 91, .15); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { text-decoration: none; display: inline-flex; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }
.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--teal-700); padding: 1rem 20px 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.nav-open .site-nav { transform: none; visibility: visible; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .35rem; padding: .85rem .75rem; border: 0; border-radius: 8px; background: none; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; text-align: left; }
.nav-link:hover, .nav-link.is-active { background: rgba(255, 255, 255, .14); color: #fff; }
.has-menu > button .icon { transition: transform .2s; }
.has-menu > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.menu { list-style: none; margin: 0 0 .5rem; padding: .25rem 0 .25rem .75rem; display: none; }
.has-menu.is-open > .menu, .has-menu.is-open > div.menu { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .6rem .75rem; border-radius: 8px; color: #fff; text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.menu a strong { display: block; font-family: var(--font-head); font-size: .92rem; }
.menu a span span, .menu a > span:not(.menu__icon) > span { display: block; font-size: .78rem; opacity: .75; }
.menu a > span:not(.menu__icon) { display: block; }
.menu__icon-link { display: flex !important; gap: .75rem; align-items: flex-start; }
.menu__icon { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .15); flex: none; }
.menu__title { margin: .25rem .75rem .35rem; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; color: #fff; }
.menu__footer { font-size: .82rem; font-weight: 600; }
.nav-login { margin-top: 1rem; }
.nav-login > .btn { width: 100%; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: flex-end; }
  .nav-list { display: flex; align-items: center; gap: .15rem; }
  .nav-link { width: auto; padding: .5rem .7rem; font-size: .9rem; color: rgba(255, 255, 255, .95); }
  .has-menu { position: relative; }
  .menu { position: absolute; left: 0; top: calc(100% + 10px); min-width: 280px; padding: .5rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: block; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
  .menu--wide { min-width: 340px; }
  .menu--right { left: auto; right: 0; min-width: 300px; }
  .has-menu.is-open > .menu, .has-menu:focus-within > .menu { opacity: 1; visibility: visible; transform: none; }
  .menu a { color: var(--navy); }
  .menu a:hover, .menu a[aria-current="page"] { background: var(--mint); }
  .menu a span span, .menu a > span:not(.menu__icon) > span { color: var(--muted); opacity: 1; }
  .menu__icon { background: var(--mint); color: var(--teal-600); }
  .menu__title { color: var(--navy); }
  .menu__footer { display: block; margin-top: .25rem; padding: .6rem .75rem; border-top: 1px solid var(--line); color: var(--teal-600) !important; }
  .nav-login { margin: 0 0 0 .5rem; }
  .nav-login > .btn { width: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--mint { background: var(--mint); }
.section--soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.section--navy .section-head p:last-child { color: rgba(255, 255, 255, .75); }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--compact { margin-bottom: 1.75rem; }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; text-align: left; max-width: none; }
.section-head--split h2 { margin: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; min-height: min(86vh, 760px); display: flex; align-items: center; background: var(--navy); }
.hero__media, .cta-band__media, .get-app__media, .page-hero__media { position: absolute; inset: 0; }
.hero__media img, .cta-band__media img, .get-app__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(18, 53, 91, .92), rgba(18, 53, 91, .72) 55%, rgba(26, 74, 122, .9)); }

/* ---------- Animated hero background ----------
   Three layers over the photograph: a slow colour wash, two drifting glows and
   a faint pulse line. All CSS, no images, no JavaScript, and it stops entirely
   for anyone who asks for reduced motion. */
.hero__fx { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero__inner { z-index: 2; }

.hero__fx::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(42% 46% at 18% 28%, rgba(74, 166, 145, .42), transparent 62%),
    radial-gradient(38% 42% at 82% 24%, rgba(59, 176, 228, .32), transparent 64%),
    radial-gradient(46% 50% at 64% 86%, rgba(233, 178, 210, .24), transparent 66%);
  animation: hero-wash 26s ease-in-out infinite alternate;
}

.hero__orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; mix-blend-mode: screen; }
.hero__orb--1 { width: 460px; height: 460px; left: -120px; top: -90px; background: radial-gradient(circle, rgba(74, 166, 145, .95), transparent 68%); animation: hero-drift-1 32s ease-in-out infinite; }
.hero__orb--2 { width: 380px; height: 380px; right: -110px; bottom: -120px; background: radial-gradient(circle, rgba(59, 176, 228, .8), transparent 68%); animation: hero-drift-2 38s ease-in-out infinite; }
.hero__orb--3 { width: 300px; height: 300px; right: 24%; top: 12%; background: radial-gradient(circle, rgba(233, 178, 210, .6), transparent 70%); animation: hero-drift-3 44s ease-in-out infinite; }

/* A heartbeat trace, drawn once then quietly repeating. */
.hero__pulse { position: absolute; left: 0; right: 0; bottom: 8%; height: 90px; opacity: .22; }
.hero__pulse svg { width: 100%; height: 100%; }
.hero__pulse path { fill: none; stroke: #7fd6c0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: hero-trace 9s linear infinite; }

@keyframes hero-wash {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -1.5%, 0) scale(1.02); }
}
@keyframes hero-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(90px, 60px); }
  66%      { transform: translate(40px, -50px); }
}
@keyframes hero-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-110px, -70px); }
}
@keyframes hero-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-60px, 70px) scale(1.15); }
}
@keyframes hero-trace {
  0%   { stroke-dashoffset: 1400; }
  55%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1400; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__fx::before, .hero__orb, .hero__pulse path { animation: none; }
  .hero__pulse { opacity: .12; }
  .hero__pulse path { stroke-dashoffset: 0; }
}
.hero__inner { position: relative; z-index: 1; text-align: center; padding: 4.5rem 20px; max-width: 880px; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .8); max-width: 620px; margin: 0 auto; }
.hero__chips { list-style: none; padding: 0; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; max-width: 700px; }
.hero__chips li { display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); text-align: left; font-size: .78rem; color: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.hero__chips .icon { color: #7fd6c0; }
.hero__chips strong { display: block; color: #fff; font-family: var(--font-head); font-size: .85rem; }
@media (min-width: 720px) { .hero__chips { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Stats strip ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.4rem .75rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.3rem, 2.8vw, 1.9rem); color: var(--teal-600); font-weight: 800; }
.stat span { font-size: .85rem; color: var(--muted); }
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } .stat + .stat { border-left: 1px solid var(--line); } }

/* ---------- Tabs / product showcase ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.25rem; }
.tabs__tab { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--muted); font-family: var(--font-head); font-weight: 700; font-size: .82rem; transition: all .2s; }
.tabs__tab:hover { color: var(--teal-600); background: var(--mint); }
.tabs__tab.is-active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.tabs__tab.is-active .badge-new { background: #fff; }
.js .tabs__panel:not(.is-active) { display: none; }
.tabs__panel + .tabs__panel { margin-top: 3rem; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }
.product { display: grid; gap: 2rem; align-items: center; }
.product__media { position: relative; }
.product__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.product__label { position: absolute; left: 16px; bottom: -14px; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem; box-shadow: var(--shadow); }
.product__body p { color: var(--muted); }
@media (min-width: 960px) { .product { grid-template-columns: 5fr 6fr; gap: 3.5rem; } }

.feature-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .85rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; }
.feature-list .icon { color: var(--teal); margin-top: 2px; }
.feature-list strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.feature-list span { color: var(--muted); font-size: .92rem; }
.feature-list--light span { color: rgba(255, 255, 255, .82); }
.feature-list--light .icon { color: #7fd6c0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; counter-reset: s; }
.steps li { text-align: center; position: relative; }
.steps__num { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; box-shadow: 0 10px 24px rgba(74, 166, 145, .35); }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { font-size: .92rem; margin: 0; }
.section--navy .steps p { color: rgba(255, 255, 255, .72); }
.steps--light p { color: var(--muted); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--5 { grid-template-columns: repeat(5, 1fr); } }

.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.journey li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.25rem 1rem; text-align: center; }
.journey__icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: #fff; align-items: center; justify-content: center; margin-bottom: .75rem; }
.journey strong { display: block; color: #fff; font-family: var(--font-head); margin-bottom: .25rem; }
.journey span:last-child { font-size: .85rem; color: rgba(255, 255, 255, .72); }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } .card-grid--5 { grid-template-columns: repeat(5, 1fr); } .card-grid--blog { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .card-grid--blog { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.card h3 { margin: .9rem 0 .4rem; }
.card--soft { background: var(--soft); box-shadow: none; border-color: transparent; }
.card--center { text-align: center; }
.card--compact { padding: 1.2rem; }
.card--compact p { font-size: .86rem; }
.card--hover:hover, .card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe9e1; }
.card--link { display: block; text-decoration: none; color: inherit; }
.card--active { border-color: var(--teal); background: var(--mint); }
.icon-badge { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; background: var(--mint); color: var(--teal-600); }
.icon-badge--lg { width: 64px; height: 64px; border-radius: 18px; }
.icon-badge--pink { background: #fbeaf3; color: #a2467b; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.checklist .icon { color: var(--teal); margin-top: 3px; }
.checklist--sm li { font-size: .86rem; color: var(--muted); }
.checklist--cols { grid-template-columns: 1fr; }
@media (min-width: 560px) { .checklist--cols { grid-template-columns: 1fr 1fr; } }

.gap-card__head { display: flex; gap: .8rem; align-items: center; margin-bottom: .75rem; }
.gap-card__head h3 { margin: 0; }
.gap-card__head small { display: block; font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #a2467b; }
.gap-card__fix { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--mint); }
.gap-card__fix strong { display: flex; align-items: center; gap: .35rem; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-700); margin-bottom: .25rem; }
.gap-card__fix p { color: var(--ink); font-size: .88rem; }

/* ---------- Testimonials & partners ---------- */
.testimonials { display: grid; gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
@media (min-width: 860px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial__mark { color: var(--teal); opacity: .3; width: 32px; height: 32px; }
.testimonial blockquote { margin: .75rem 0 1.25rem; flex: 1; }
.testimonial blockquote p { font-style: italic; color: var(--ink); margin: 0; }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; font-size: .85rem; color: var(--muted); }
.testimonial figcaption strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .95rem; }
.avatar { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--teal-600); align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; flex: none; }
.avatar--sm { width: 32px; height: 32px; font-size: .8rem; }
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .partners { grid-template-columns: repeat(7, 1fr); } }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 92px; display: flex; align-items: center; justify-content: center; padding: .9rem; }
.partner img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.partner:hover img { filter: none; opacity: 1; }
.partner[style] img { filter: none; opacity: 1; }
.partner span { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .9rem; text-align: center; }

/* ---------- Get the app ---------- */
.get-app { position: relative; overflow: hidden; color: rgba(255, 255, 255, .82); padding: clamp(3.5rem, 7vw, 5rem) 0; background: var(--navy); }
.get-app::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18, 53, 91, .96), rgba(18, 53, 91, .84) 55%, rgba(18, 53, 91, .65)); }
.get-app__grid { position: relative; z-index: 2; display: grid; gap: 2rem; align-items: center; }
.get-app h2 { color: #fff; }
@media (min-width: 900px) { .get-app__grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.app-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.app-steps li { display: flex; gap: 1rem; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1rem 1.1rem; font-size: .88rem; }
.app-steps li > span { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 800; align-items: center; justify-content: center; flex: none; }
.app-steps strong { display: block; color: #fff; font-family: var(--font-head); font-size: .95rem; }
.store-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.store-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; min-height: 50px; border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.1; box-shadow: var(--shadow-sm); }
.store-btn small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .68rem; opacity: .7; }
.store-btn:hover { background: var(--mint); color: var(--ink); }
.store-buttons--dark { justify-content: center; }
.store-buttons--dark .store-btn { background: var(--ink); color: #fff; }
.store-buttons--dark .store-btn:hover { background: #000; color: #fff; }

/* ---------- Post cards ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--teal); }
.post-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.post-card__title { font-size: 1.05rem; margin: 0 0 .5rem; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--teal-600); }
.post-card__excerpt { font-size: .88rem; color: var(--muted); flex: 1; }
.post-card__date { font-size: .78rem; color: #6B7280; }

/* ---------- CTA bands ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6rem) 0; text-align: center; color: rgba(255, 255, 255, .85); background: var(--navy); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(18, 53, 91, .8); }
.cta-band__inner { position: relative; z-index: 2; max-width: 680px; }
.cta-band h2 { color: #fff; }
.cta-solid { background: var(--teal); color: rgba(255, 255, 255, .9); text-align: center; padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-solid__inner { max-width: 680px; }
.cta-solid h2 { color: #fff; }

/* ---------- Dialog ---------- */
.dialog { border: 0; border-radius: 18px; padding: 2rem 1.75rem 1.75rem; max-width: 420px; width: calc(100% - 32px); text-align: center; box-shadow: var(--shadow-lg); }
.dialog::backdrop { background: rgba(18, 53, 91, .7); backdrop-filter: blur(3px); }
.dialog h2 { font-size: 1.35rem; }
.dialog p { color: var(--muted); }
.dialog__icon { display: flex; justify-content: center; margin-bottom: .75rem; }
.dialog__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.dialog[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy), #1a4a7a); color: rgba(255, 255, 255, .85); padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 53, 91, .9), rgba(18, 53, 91, .6)); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero__lead { font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 640px; margin-bottom: 0; }
.page-hero--split::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 50%, rgba(74, 166, 145, .25), transparent 55%), radial-gradient(circle at 85% 15%, rgba(233, 178, 210, .18), transparent 45%); }
.page-hero__grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.page-hero__art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 2rem 0 0; }
.hero-stats div { display: flex; flex-direction: column-reverse; }
.hero-stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.hero-stats dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: #7fd6c0; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .82rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.breadcrumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs span[aria-current] { color: #fff; }
.breadcrumbs--dark a { color: var(--muted); }
.breadcrumbs--dark a:hover { color: var(--teal-600); }
.breadcrumbs--dark span[aria-current] { color: var(--navy); }

/* ---------- Layout helpers ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split__media figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
figure.split__media { margin: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.mini-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; margin-top: 1.25rem; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose ul, .prose ol { margin: 0 0 1.25em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--teal); background: var(--mint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-family: var(--font-head); color: var(--navy); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose--article { font-size: 1.06rem; line-height: 1.8; }

.with-sidebar { display: grid; gap: 2rem; }
/* Grid items default to min-width:auto, so a wide child (the scrolling FAQ pill
   nav) would stretch the column past the screen. Let the column shrink instead. */
.with-sidebar > * { min-width: 0; }
@media (min-width: 1000px) { .with-sidebar { grid-template-columns: 260px 1fr; gap: 3rem; } .with-sidebar--right { grid-template-columns: 1fr 280px; } }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: .4rem; overflow-x: auto; }
.side-nav a { display: block; white-space: nowrap; padding: .55rem .9rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-decoration: none; border: 1px solid var(--line); }
.side-nav a:hover, .side-nav a.is-active { background: var(--mint); color: var(--teal-700); border-color: #cfe9e1; }
@media (min-width: 1000px) { .side-nav { flex-direction: column; overflow: visible; } .side-nav a { border-radius: 8px; border: 0; border-left: 3px solid transparent; background: none; } .side-nav a.is-active { border-left-color: var(--teal); } }
.side-card { display: none; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; font-size: .9rem; }
.side-card strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: .25rem; }
.side-card p { color: var(--muted); }
.side-card--navy { background: var(--navy); border: 0; color: rgba(255, 255, 255, .8); }
.side-card--navy strong { color: #fff; }
.side-card--navy p { color: rgba(255, 255, 255, .75); }
@media (min-width: 1000px) { .side-card { display: block; } }
.side-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-size: .85rem; }

.service-list { display: grid; gap: 0; }
.service { display: grid; gap: 1.5rem; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: 0; }
.service__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service__body h2 { margin-top: .75rem; }
.service__body p { color: var(--muted); }
@media (min-width: 760px) { .service { grid-template-columns: 1fr 1.1fr; gap: 2.5rem; } .service--flip .service__media { order: 2; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chev { color: var(--muted); transition: transform .2s; }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq[open] summary { color: var(--teal-700); }
.faq__answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq__answer p { margin: 0; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.search-box { position: relative; display: flex; align-items: center; margin-bottom: 1.25rem; }
.search-box .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search-box input { width: 100%; padding: .8rem 1rem .8rem 2.5rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .92rem; }
.search-box input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74, 166, 145, .18); }
.empty-note { color: var(--muted); }

/* ---------- Blog ---------- */
.pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.pill { white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-decoration: none; }
.pill span { opacity: .6; font-weight: 400; }
.pill:hover { color: var(--teal-700); border-color: #cfe9e1; }
.pill.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.results-note { color: var(--muted); font-size: .9rem; }
.empty-state { text-align: center; background: #fff; border-radius: var(--radius); padding: 3rem 1.5rem; color: var(--muted); border: 1px solid var(--line); }
.empty-state .icon { color: var(--teal); margin-bottom: .75rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2.5rem; font-family: var(--font-head); font-size: .88rem; }
.pagination a { font-weight: 700; text-decoration: none; }
.pagination span { color: var(--muted); }

.article { padding: clamp(2rem, 5vw, 3.5rem) 0 2rem; }
.article__header .tag { margin-bottom: 1rem; }
.article h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--muted); font-size: .88rem; }
.article__image { margin: 1.75rem 0 2rem; }
.article__image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__disclaimer { display: flex; gap: .5rem; align-items: flex-start; margin: 2rem 0; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--soft); border: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.article__disclaimer .icon { color: var(--teal); margin-top: 3px; }
.article__tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.5rem 0; font-size: .9rem; }
.article__tags strong { font-family: var(--font-head); color: var(--navy); }
.share { display: flex; gap: .6rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.share strong { font-family: var(--font-head); color: var(--navy); font-size: .9rem; }
.share a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--navy); align-items: center; justify-content: center; }
.share a:hover { background: var(--teal); color: #fff; }
.preview-bar { background: #FFF4D6; color: #7A5300; text-align: center; padding: .6rem 1rem; font-size: .88rem; }

/* ---------- Certificate card ---------- */
.cert { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; border-radius: 16px; border: 1px solid #cfe9e1; background: linear-gradient(135deg, #fff, var(--mint)); box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.cert__badge { display: inline-flex; width: 76px; height: 76px; border-radius: 20px; background: var(--teal); color: #fff; align-items: center; justify-content: center; flex: none; }
.cert h2 { margin-bottom: .2rem; }
.cert__issuer { color: var(--muted); margin-bottom: 1rem; }
.cert__fields { display: grid; gap: .75rem; margin: 0; }
.cert__fields div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; }
.cert__fields dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cert__fields dd { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
@media (min-width: 640px) { .cert { flex-direction: row; } .cert__fields { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card--flat { box-shadow: none; border: 1px solid var(--line); background: var(--soft); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid #cfd6de; background: #fff; font: inherit; font-size: .95rem; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74, 166, 145, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { display: block; color: var(--danger); font-size: .8rem; margin-top: .3rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 1.1rem 0; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.form-note { display: flex; gap: .45rem; font-size: .8rem; color: var(--muted); }
.form-note .icon { color: #B7791F; margin-top: 2px; }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.contact-lines li { display: flex; gap: .6rem; align-items: center; }
.contact-lines .icon { color: #7fd6c0; }
.section--navy a:not(.btn) { color: #9fe0cf; }
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; } }
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .2s, border-color .2s; }
a.contact-card:hover { background: var(--mint); border-color: #cfe9e1; }
.contact-card small { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.contact-card strong { display: block; color: var(--teal-600); }
.contact-card > span > span { font-size: .82rem; color: var(--muted); }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.15); }

/* ---------- PIMS / HMIS illustrations ---------- */
.mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); max-width: 520px; width: 100%; justify-self: center; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: .6rem .9rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock__bar i:first-child { background: #f87171; } .mock__bar i:nth-child(2) { background: #fbbf24; } .mock__bar i:nth-child(3) { background: #34d399; }
.mock__bar span { margin-left: .6rem; font-size: .72rem; color: var(--muted); }
.mock__body { padding: 1.25rem; }
.mock__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.1rem; }
.mock__kpis--3 { grid-template-columns: repeat(3, 1fr); }
.mock__kpis div { background: var(--mint); border-radius: 10px; padding: .75rem; }
.mock__kpis small { display: block; font-size: .7rem; color: var(--muted); }
.mock__kpis strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); }
.mock__kpis em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--teal-600); margin-left: .3rem; }
.mock__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
.mock__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.mock__list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; }
.mock__list b { font-size: .75rem; color: var(--navy); }
.mock__note { margin: .9rem 0 0; font-size: .68rem; color: #94a3b8; text-align: right; }
.pill-status { padding: .15rem .5rem; border-radius: 999px; font-size: .68rem !important; }
.pill-status--wait { background: #FEF3C7; color: #92400E !important; }
.pill-status--busy { background: #DBEAFE; color: #1E40AF !important; }
.pill-status--done { background: #DCFCE7; color: #166534 !important; }
.receipt { background: #fff; color: var(--ink); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-lg); max-width: 380px; width: 100%; justify-self: center; font-size: .85rem; }
.receipt__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: .75rem; border-bottom: 1px dashed #cbd5e1; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.receipt__head em { font-style: normal; font-size: .7rem; color: var(--teal-600); background: var(--mint); padding: .2rem .5rem; border-radius: 999px; }
.receipt__title { font-weight: 700; margin: .9rem 0 .5rem; }
.receipt ul { padding-left: 1rem; color: var(--muted); }
.receipt__total { display: flex; justify-content: space-between; border-top: 1px dashed #cbd5e1; padding-top: .7rem; }
.receipt__meta { font-size: .72rem; color: var(--muted); }
.receipt__ok { display: flex; align-items: center; gap: .35rem; color: var(--teal-700); font-weight: 700; margin: 0; }
.logo-strip { background: var(--soft); border-bottom: 1px solid var(--line); padding: 1.5rem 0; text-align: center; }
.logo-strip p { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: .75rem; }
.logo-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.logo-strip li { padding: .35rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--navy); }
.service-catalog__title { font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.service-catalog ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.service-catalog li { display: flex; justify-content: space-between; padding: .65rem .8rem; border-radius: 8px; background: var(--soft); font-size: .9rem; }
.service-catalog small { color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; min-width: 560px; }
.compare th, .compare td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .8rem; }
.compare thead th:last-child { background: var(--teal); }
.compare__us { background: var(--mint); }
.compare .yes { color: var(--teal); }
.compare .no { color: #94a3b8; }

/* ---------- Newsletter + footer ---------- */
.newsletter { background: var(--mint); padding: 2.5rem 0; }
.newsletter__inner { display: grid; gap: 1.25rem; align-items: center; }
.newsletter__title { font-size: 1.35rem; margin-bottom: .25rem; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter__form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter__form input { flex: 1 1 220px; min-height: 48px; padding: .7rem 1rem; border-radius: var(--radius-sm); border: 1px solid #cfd6de; font: inherit; }
.newsletter__form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74, 166, 145, .18); }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; } }
.site-footer { background: var(--teal-700); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.site-footer__grid { display: grid; gap: 2.25rem; padding: 3.5rem 20px 2.5rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__brand p { margin: 1rem 0 1.25rem; max-width: 340px; }
.site-footer__heading { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer__heading--sm { margin-top: 1.5rem; }
.site-footer__contact li a, .site-footer__contact li span { display: inline-flex; gap: .55rem; align-items: flex-start; }
.site-footer__contact .icon { margin-top: 3px; }
.socials { display: flex !important; gap: .5rem !important; }
.socials a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); align-items: center; justify-content: center; color: #fff; }
.socials a:hover { background: #fff; color: var(--teal-700); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.site-footer__bottom p { margin: 0; }
.heart { color: var(--pink); fill: var(--pink); }

/* ---------- Floating widgets ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.wa-float__btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float__btn:hover { transform: scale(1.06); }
.wa-float__panel { position: absolute; right: 0; bottom: 72px; width: min(320px, calc(100vw - 36px)); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.wa-float__head { background: #075E54; color: #fff; padding: 1rem 1.1rem; }
.wa-float__head strong { display: block; font-family: var(--font-head); }
.wa-float__head span { font-size: .8rem; opacity: .85; }
.wa-float__panel ul { list-style: none; margin: 0; padding: .5rem; }
.wa-float__panel a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.wa-float__panel a:hover { background: #E7F8EE; }
/* Sits directly above the WhatsApp button (58px tall at bottom: 18px). */
.to-top { position: fixed; right: 25px; bottom: 88px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: transform .2s, background .2s; }
.to-top:hover { background: var(--teal-700); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
body.wa-open .to-top { opacity: 0; pointer-events: none; }
.toasts { position: fixed; top: calc(var(--header-h) + 16px); right: 16px; left: 16px; z-index: 200; display: grid; gap: .6rem; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: .7rem; align-items: flex-start; max-width: 460px; padding: .95rem 1rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); border-left: 5px solid var(--teal); font-size: .92rem; animation: pop .3s ease-out; }
.toast--error { border-left-color: var(--danger); }
.toast--success .icon:first-child { color: var(--teal); }
.toast--error .icon:first-child { color: var(--danger); }
.toast__close { border: 0; background: none; color: var(--muted); padding: 0; margin-left: auto; }

/* ---------- Error / message pages ---------- */
.error-page { padding: clamp(4rem, 10vw, 7rem) 0; }
.error-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--mint); -webkit-text-stroke: 2px var(--teal); margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   WordPress integration
   ========================================================================== */
.alignwide { max-width: min(1100px, 100%); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.alignleft { float: left; margin: .4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption, figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-block-quote { border-left: 4px solid var(--teal); padding-left: 1.25rem; margin-left: 0; font-style: italic; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-button__link { display: inline-flex; align-items: center; min-height: 46px; padding: .7rem 1.4rem; border-radius: var(--radius-sm); background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: .6rem .75rem; }
.sticky .post-card { outline: 2px solid var(--teal); }
.custom-logo { max-height: 44px; width: auto; }

/* Blog layout */
.blog-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .blog-layout { grid-template-columns: 1fr 300px; gap: 3rem; } }
.widget { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; }
.widget__title { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }
.search-form { display: flex; gap: .5rem; }
.search-form label { flex: 1; }
.search-form input[type="search"] { width: 100%; padding: .7rem .9rem; border: 1px solid #cfd6de; border-radius: 10px; font: inherit; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74, 166, 145, .18); }
.search-form button { border: 0; background: var(--teal); color: #fff; border-radius: 10px; padding: 0 1rem; font-family: var(--font-head); font-weight: 700; cursor: pointer; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.nav-links .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy); }
.nav-links .page-numbers:hover { border-color: var(--teal); color: var(--teal-600); }
.nav-links .page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.post-nav { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; }
.post-nav a:hover { border-color: var(--teal); }
.post-nav small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: .2rem; }
.post-nav strong { color: var(--navy); font-family: var(--font-head); }
.post-nav--next { text-align: right; }

/* Author box and article extras */
.author-box { display: flex; gap: 1rem; align-items: flex-start; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 2rem 0; }
.author-box img { border-radius: 50%; }
.author-box h2 { font-size: 1rem; margin-bottom: .25rem; }
.author-box p { margin: 0; font-size: .9rem; color: var(--muted); }
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--teal); width: 0; z-index: 200; transition: width .1s linear; }

/* ==========================================================================
   Awards & recognition
   ========================================================================== */
.awards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .awards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .awards { grid-template-columns: repeat(3, 1fr); } }
.award { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.award::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--teal), var(--pink)); }
.award:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.award__badge { flex: none; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--mint), #fff); color: var(--teal-600); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); }
.award__badge img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.award__year { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .08em; color: var(--teal-600); background: var(--mint); padding: .15rem .5rem; border-radius: 999px; margin-bottom: .35rem; }
.award__issuer { font-size: .82rem; color: var(--muted); margin: 0 0 .4rem; font-weight: 600; }
.award__body p { font-size: .9rem; color: var(--muted); margin-bottom: .5rem; }
.award__body h3 { margin: 0 0 .15rem; }

/* ==========================================================================
   Front-end publishing dashboard
   ========================================================================== */
.ld { max-width: 1100px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) 20px 4rem; }
.ld--narrow { max-width: 460px; }
.ld-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.ld-head h2 { margin-bottom: .25rem; }
.ld-muted { color: var(--muted); font-size: .88rem; }
.ld-note { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; border: 1px solid; font-size: .92rem; }
.ld-note--success { background: #F0FDF4; border-color: #BBF7D0; color: #14532D; }
.ld-note--error { background: #FEF2F2; border-color: #FECACA; color: #7F1D1D; }
.ld-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.ld-filters input, .ld-filters select { padding: .55rem .8rem; border: 1px solid #cfd6de; border-radius: 10px; font: inherit; background: #fff; }
.ld-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ld-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.ld-table th, .ld-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ld-table th { background: var(--soft); font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ld-table tr:last-child td { border-bottom: 0; }
.ld-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); text-decoration: none; display: block; }
.ld-title:hover { color: var(--teal-600); }
.ld-table small { display: block; color: var(--muted); font-size: .78rem; }
.ld-actions a { margin-right: .75rem; font-size: .85rem; }
.ld-badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #EEF2F6; color: #475569; }
.ld-badge--publish { background: #DCFCE7; color: #166534; }
.ld-badge--draft { background: #EEF2F6; color: #475569; }
.ld-badge--pending { background: #FEF3C7; color: #92400E; }
.ld-badge--future { background: #DBEAFE; color: #1E40AF; }
.ld-empty { text-align: center; padding: 3rem 1.5rem; background: var(--soft); border-radius: var(--radius); }
.ld-pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.ld-pagination .page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: #fff; }
.ld-pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.ld-grid { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .ld-grid { grid-template-columns: 1fr 320px; align-items: start; } .ld-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.ld-field { display: block; margin-bottom: 1rem; }
.ld-field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: .35rem; }
.ld-field input[type="text"], .ld-field input[type="password"], .ld-field input[type="datetime-local"], .ld-field input[type="file"], .ld-field select, .ld-field textarea, .ld-form input[type="text"], .ld-form select, .ld-form textarea { width: 100%; padding: .7rem .9rem; border: 1px solid #cfd6de; border-radius: 10px; font: inherit; background: #fff; }
.ld-field input:focus, .ld-field select:focus, .ld-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74, 166, 145, .18); }
.ld-input-lg { font-size: 1.15rem !important; font-family: var(--font-head); font-weight: 700; }
.ld-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.ld-box h3 { font-size: 1rem; margin-bottom: .9rem; }
.ld-box--danger { border-color: #FECACA; }
.ld-box summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.ld-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin: .5rem 0; }
.ld-thumb { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: .6rem; }
.ld-cancel { display: block; text-align: center; margin-top: .75rem; font-size: .88rem; }
.ld-counter { display: block; font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.ld-counter.is-over { color: var(--danger); font-weight: 700; }
.ld .btn--danger { background: #fff; border-color: #FCA5A5; color: var(--danger); }
.ld .btn--danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.ld form.wp-core-ui .button-primary, .ld .login-submit input { background: var(--teal); border-color: var(--teal); }
.ld #loginform { display: grid; gap: .75rem; }
.ld #loginform label { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); display: block; }
.ld #loginform input[type="text"], .ld #loginform input[type="password"] { width: 100%; padding: .7rem .9rem; border: 1px solid #cfd6de; border-radius: 10px; font: inherit; }
.ld #loginform input[type="submit"] { min-height: 46px; padding: .7rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid var(--teal); background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: .875rem; cursor: pointer; }
.ld .wp-editor-container { border-radius: 10px; overflow: hidden; border: 1px solid #cfd6de; }
.ld .mce-toolbar-grp { border-bottom: 1px solid var(--line) !important; }

@media print {
  .topbar, .site-header, .newsletter, .site-footer, .wa-float, .to-top, .cta-band, .toasts { display: none !important; }
}

/* ==========================================================================
   Shortcode & Elementor widget output
   The same Livia content dropped into a page builder. Styled here so a block
   placed in Elementor matches the designed pages.
   ========================================================================== */

.livia-facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.livia-fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; box-shadow: var(--shadow-sm); }
.livia-fact h3 { margin: 0 0 .5rem; font-size: 1.02rem; color: var(--navy); }
.livia-fact__body { color: var(--ink); font-size: .92rem; line-height: 1.65; }
.livia-fact__body p:last-child { margin-bottom: 0; }
.livia-fact__tip { margin: .85rem 0 0; padding: .7rem .85rem; border-radius: 10px; background: var(--mint); border: 1px solid #cfe9e1; color: var(--teal-700); font-size: .85rem; line-height: 1.55; }

.livia-quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.livia-quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.livia-quote p { font-size: .95rem; line-height: 1.7; color: var(--ink); }
.livia-quote cite { display: block; margin-top: .9rem; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.livia-quote cite span { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }

.livia-partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem; }
.livia-partners img { max-height: 46px; width: auto; opacity: .85; }

.livia-faqs { display: grid; gap: .6rem; }
.livia-faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; }
.livia-faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.livia-faq > div { margin-top: .6rem; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.livia-contact-info { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.livia-contact-info a { color: var(--teal-700); text-decoration: none; }
.livia-contact-info a:hover { text-decoration: underline; }

.livia-sc-form { max-width: 560px; }
.livia-sc-form .field { margin-bottom: 1rem; }
.livia-sc-form label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; color: var(--navy); }
.livia-sc-form input, .livia-sc-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.livia-sc-form input:focus, .livia-sc-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(74, 166, 145, .18); }

/* Elementor sets its own container widths; keep Livia blocks readable inside them. */
.elementor-widget-livia_faqs .section-head,
.elementor-widget-livia_health_facts .section-head { margin-bottom: 1.25rem; }
