/* ==========================================================================
   Life Vitality Health — main stylesheet
   Built on top of Bootstrap 5 grid + components
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #06272B;
  --ink-2: #0C3A40;
  --ink-3: #12525A;
  --brand: #0FA36B;
  --brand-dark: #0A7A50;
  --brand-soft: #E7F7F0;
  --mint: #F4FBF8;
  --mint-2: #EAF6F1;
  --coral: #FF7A59;
  --coral-dark: #E9603F;
  --sun: #FFC64B;
  --muted: #5C757B;
  --line: #E2EDE9;
  --white: #FFFFFF;
  --radius-s: 14px;
  --radius: 20px;
  --radius-l: 30px;
  --shadow-s: 0 6px 18px rgba(6, 39, 43, .06);
  --shadow: 0 18px 40px rgba(6, 39, 43, .09);
  --shadow-l: 0 30px 70px rgba(6, 39, 43, .16);
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2 {
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { color: var(--muted); margin-bottom: 1rem; }

a { color: var(--brand-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }

img { max-width: 100%; height: auto; }

.lead-soft { font-size: 1.075rem; color: var(--muted); }

.text-brand { color: var(--brand) !important; }
.text-ink { color: var(--ink) !important; }
.text-coral { color: var(--coral) !important; }
.bg-mint { background: var(--mint); }
.bg-mint-2 { background: var(--mint-2); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-ink p { color: rgba(255, 255, 255, .78); }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-sm { padding: clamp(40px, 5vw, 68px) 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 700;
  border-radius: 100px;
  padding: .72rem 1.5rem;
  border-width: 2px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 163, 107, .30);
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 163, 107, .38);
}

.btn-coral {
  background: var(--coral); border-color: var(--coral); color: #fff;
  box-shadow: 0 12px 26px rgba(255, 122, 89, .30);
}
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
  border-color: rgba(15, 163, 107, .38); color: var(--brand-dark); background: #fff;
}
.btn-outline-brand:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }

.btn-light-soft { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn-light-soft:hover { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }

.btn-lg { padding: .9rem 1.9rem; font-size: 1.02rem; }

/* ---------- Top strip ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  font-size: .875rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .92); font-weight: 600; }
.topbar a:hover { color: var(--brand); }
.topbar .dot { color: var(--brand); }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
  z-index: 1030;
}
.site-nav.sticky-top { position: sticky; }
.brand-lockup { display: flex; align-items: center; gap: .65rem; }
.brand-lockup img { width: 44px; height: 44px; }
.brand-name { font-weight: 800; font-size: 1.16rem; line-height: 1.05; color: var(--ink); letter-spacing: -.02em; }
.brand-sub { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }

.site-nav .nav-link {
  font-weight: 600;
  color: var(--ink-2);
  padding: .55rem .9rem !important;
  border-radius: 100px;
  position: relative;
}
.site-nav .nav-link:hover { color: var(--brand-dark); background: var(--brand-soft); }
.site-nav .nav-link.active { color: var(--brand-dark); background: var(--brand-soft); }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); padding: .5rem; }
.site-nav .dropdown-item { border-radius: 10px; font-weight: 600; color: var(--ink-2); padding: .5rem .8rem; }
.site-nav .dropdown-item:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #F6FCF9 0%, #E9F7F2 46%, #EAF2FA 100%);
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px;
  background: radial-gradient(circle at 30% 30%, rgba(15,163,107,.24), transparent 68%);
  border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; left: -160px; bottom: -180px; width: 420px; height: 420px;
  background: radial-gradient(circle at 60% 40%, rgba(255,122,89,.20), transparent 68%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line);
  color: var(--brand-dark); font-weight: 700; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 100px;
  box-shadow: var(--shadow-s);
}
.eyebrow.on-dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(15,163,107,.18); }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .85rem 1.05rem;
  display: flex; align-items: center; gap: .7rem;
  border: 1px solid rgba(255,255,255,.7);
}
.float-card .fc-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  display: grid; place-items: center; background: var(--brand-soft);
}
.float-card strong { display: block; font-size: .92rem; line-height: 1.2; }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-card.fc-1 { left: -14px; bottom: 42px; }
.float-card.fc-2 { right: -10px; top: 34px; }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: .45rem 1rem; font-size: .86rem; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: .45rem; box-shadow: var(--shadow-s);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 320px at 12% 0%, rgba(15,163,107,.30), transparent 70%),
    radial-gradient(700px 300px at 92% 20%, rgba(255,122,89,.20), transparent 70%),
    linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: clamp(48px, 6vw, 84px) 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .8); max-width: 720px; }
.crumb { font-size: .85rem; color: rgba(255,255,255,.7); }
.crumb a { color: rgba(255,255,255,.9); font-weight: 600; }
.crumb a:hover { color: var(--brand); }
.crumb .sep { margin: 0 .45rem; color: rgba(255,255,255,.4); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Generic cards ---------- */
.card-soft {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(15,163,107,.3); }

.icon-chip {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
  flex: 0 0 54px;
}
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip.coral { background: rgba(255,122,89,.13); color: var(--coral-dark); }
.icon-chip.sun { background: rgba(255,198,75,.20); color: #B57F00; }

.feature-card { padding: 1.6rem 1.5rem; }
.feature-card h3 { font-size: 1.08rem; margin: 1rem 0 .5rem; }
.feature-card p { font-size: .95rem; margin: 0; }

/* dark band variant */
.bg-ink .feature-card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.bg-ink .feature-card:hover { background: rgba(255,255,255,.1); border-color: rgba(15,163,107,.5); }
.bg-ink .icon-chip { background: rgba(15,163,107,.20); color: #6EE7B7; }
.bg-ink .feature-card h3 { color: #fff; }
.bg-ink .feature-card p { color: rgba(255,255,255,.72); }

/* ---------- About split ---------- */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-l); box-shadow: var(--shadow); width: 100%; height: clamp(280px, 38vw, 460px); object-fit: cover; }
.about-badge {
  position: absolute; right: -6px; bottom: -24px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem 1.2rem; max-width: 250px; border-left: 5px solid var(--brand);
}
.about-badge strong { display: block; font-size: 1rem; }
.about-badge span { font-size: .85rem; color: var(--muted); }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { position: relative; padding-left: 2.1rem; margin-bottom: .7rem; color: var(--ink-2); font-weight: 600; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .22rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7A50' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 10 18 19 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.bg-ink .tick-list li { color: rgba(255,255,255,.86); }
.bg-ink .tick-list li::before { background-color: rgba(15,163,107,.25); }

/* ---------- Services ---------- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); border-color: rgba(15,163,107,.35); }
.service-thumb { position: relative; overflow: hidden; }
.service-thumb img { width: 100%; height: 208px; object-fit: cover; display: block; transition: transform .5s ease; }
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,39,43,0) 42%, rgba(6,39,43,.55) 100%);
}
.service-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--brand-dark);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .75rem; border-radius: 100px;
}
.service-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-body h3 { margin-bottom: .55rem; }
.service-body p { font-size: .945rem; flex: 1 1 auto; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem; height: 100%;
}
.quote-mark { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; }
.stars { color: var(--sun); display: flex; gap: .18rem; }
.stars svg { width: 17px; height: 17px; }
p.quote-text { font-size: 1.03rem; color: var(--ink-2); font-weight: 500; }
/* keep card copy readable even when the testimonial band is dark */
.bg-ink .quote-card p,
.bg-ink .quote-card p.quote-text { color: var(--ink-2); }
.bg-ink .quote-card .text-muted { color: var(--muted) !important; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--ink-3));
}
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45);
  border: 0; margin: 0 5px;
}
.carousel-indicators .active { background: var(--brand); }
.quote-slide { padding-bottom: 1rem; }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 216px; object-fit: cover; }
.blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-body h3 { font-size: 1.14rem; margin: 0 0 .6rem; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--brand-dark); }
.blog-body p { font-size: .945rem; flex: 1 1 auto; }
.pill-tag {
  align-self: flex-start;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 100px; margin-bottom: .85rem;
}
.pill-tag.coral { background: rgba(255,122,89,.14); color: var(--coral-dark); }
.pill-tag.sun { background: rgba(255,198,75,.22); color: #A06E00; }
.read-more { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.read-more:hover svg { transform: translateX(3px); }

/* ---------- FAQ ---------- */
.accordion-lvh .accordion-item {
  border: 1px solid var(--line); border-radius: var(--radius) !important;
  margin-bottom: .85rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-s);
}
.accordion-lvh .accordion-button {
  font-weight: 700; color: var(--ink); background: #fff; padding: 1.15rem 1.3rem;
  font-size: 1.02rem; box-shadow: none;
}
.accordion-lvh .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); }
.accordion-lvh .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A7A50'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5V7.5H11.5a.5.5 0 0 1 0 1H8.5V11.5a.5.5 0 0 1-1 0V8.5H4.5a.5.5 0 0 1 0-1H7.5V4.5A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
  width: 1.15rem; height: 1.15rem; background-size: 1.15rem;
}
.accordion-lvh .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A7A50'%3E%3Cpath d='M4.5 7.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1z'/%3E%3C/svg%3E");
}
.accordion-lvh .accordion-body { color: var(--muted); padding-top: 0; font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 55%, var(--brand-dark) 100%);
  border-radius: var(--radius-l);
  padding: clamp(38px, 5vw, 62px);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); }
.cta-band::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: -80px; top: -110px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%);
}
.cta-band::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  left: -90px; bottom: -130px; background: radial-gradient(circle, rgba(255,122,89,.30), transparent 65%);
}
.cta-band > * { position: relative; z-index: 2; }

/* ---------- Contact ---------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 1.6rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.info-card p, .info-card a { font-size: .96rem; }
.info-card a { font-weight: 700; color: var(--ink-2); }
.info-card a:hover { color: var(--brand-dark); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px);
}
.form-label { font-weight: 700; color: var(--ink-2); font-size: .92rem; margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: var(--radius-s);
  padding: .78rem 1rem; font-size: .97rem; color: var(--ink); background: #FCFEFD;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 .22rem rgba(15,163,107,.16); background: #fff;
}
.form-check-input { border-color: #C6DAD4; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-label { color: var(--muted); font-size: .93rem; }
.form-note { font-size: .85rem; color: var(--muted); }

.map-strip {
  background: var(--mint-2); border: 1px dashed rgba(15,163,107,.45);
  border-radius: var(--radius); padding: 1.5rem;
}

/* ---------- Sidebar / article ---------- */
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 1.5rem;
}
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.side-list a:hover { color: var(--brand-dark); }
.side-list svg { width: 15px; height: 15px; opacity: .5; }

.article-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 2.2rem; margin-bottom: .8rem; }
.article-body h3 { margin-top: 1.6rem; }
.article-body p, .article-body li { font-size: 1.03rem; color: #46656B; }
.article-body ul { padding-left: 1.2rem; }
.article-body ul li { margin-bottom: .5rem; }
.article-body ul li::marker { color: var(--brand); }
.article-body blockquote {
  border-left: 5px solid var(--brand); background: var(--mint);
  border-radius: var(--radius-s); padding: 1.2rem 1.4rem; margin: 1.8rem 0;
  font-weight: 600; color: var(--ink-2); font-style: italic;
}
.article-body blockquote p { margin: 0; color: var(--ink-2); }
.callout {
  background: var(--brand-soft); border: 1px solid rgba(15,163,107,.28);
  border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 2rem 0;
}
.callout h3 { margin-top: 0; font-size: 1.08rem; }
.callout ul { margin-bottom: 0; }
.article-hero img { border-radius: var(--radius-l); box-shadow: var(--shadow); width: 100%; height: clamp(260px, 40vw, 460px); object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; font-size: .9rem; color: var(--muted); }
.article-meta strong { color: var(--ink-2); }

/* ---------- Legal pages ---------- */
.legal .article-body h2 { margin-top: 2.4rem; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); padding: clamp(24px, 3vw, 44px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(46px, 5vw, 72px); }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .01em; margin-bottom: 1.1rem; }
.site-footer p { color: rgba(255,255,255,.66); font-size: .94rem; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: .6rem; }
.foot-list a { color: rgba(255,255,255,.72); font-size: .94rem; }
.foot-list a:hover { color: var(--brand); padding-left: 3px; }
.foot-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.foot-brand img { width: 46px; height: 46px; }
.foot-brand .brand-name { color: #fff; }
.social-row { display: flex; gap: .6rem; margin-top: 1.1rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.social-row a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.social-row svg { width: 19px; height: 19px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding: 1.2rem 0; font-size: .88rem; }
.foot-bottom a { color: rgba(255,255,255,.72); }
.foot-bottom a:hover { color: var(--brand); }
.news-mini { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  box-shadow: 0 14px 30px rgba(15,163,107,.34); transition: opacity .25s ease, transform .25s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Small helpers ---------- */
.ico-arrow { display: inline-flex; width: 15px; vertical-align: middle; }
.ico-arrow svg { width: 15px; height: 15px; }
.img-short { height: 320px !important; }

/* keep inline SVG icons at icon size wherever they are dropped in */
.btn svg { width: 16px; height: 16px; flex: 0 0 16px; vertical-align: middle; }
.chip svg { width: 18px; height: 18px; flex: 0 0 18px; }
.fc-ico svg { width: 20px; height: 20px; }
.alert svg { width: 18px; height: 18px; }

/* ---------- Utilities ---------- */
.rounded-xl { border-radius: var(--radius-l) !important; }
.shadow-soft { box-shadow: var(--shadow-s) !important; }
.divider-soft { height: 1px; background: var(--line); border: 0; opacity: 1; }
.max-720 { max-width: 720px; }
.max-620 { max-width: 620px; }

/* ---------- Responsive ---------- */
/* keep wide gutters from pushing rows past the container on narrow screens */
@media (max-width: 1199.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem; margin-top: .8rem; box-shadow: var(--shadow);
  }
  .site-nav .nav-link { padding: .6rem .8rem !important; }
  .float-card.fc-1 { left: 10px; bottom: 14px; }
  .float-card.fc-2 { right: 8px; top: 14px; }
  .about-badge { position: static; margin-top: 1rem; max-width: none; box-shadow: var(--shadow-s); }
  .topbar .tb-hide { display: none; }
}
@media (max-width: 575.98px) {
  .float-card { padding: .65rem .8rem; }
  .float-card .fc-ico { width: 34px; height: 34px; flex: 0 0 34px; }
  .btn { padding: .66rem 1.25rem; }
  .quote-card { padding: 1.5rem; }
}
