/* =========================================================
   Health Priority Support — Main Stylesheet
   Custom styles layered on top of Bootstrap 5.3
   ========================================================= */

:root {
  --hps-primary: #0f766e;
  --hps-primary-dark: #0b5d57;
  --hps-primary-darker: #093f3a;
  --hps-primary-light: #e5f3f1;
  --hps-accent: #f59e0b;
  --hps-accent-dark: #d97706;
  --hps-dark: #10312d;
  --hps-text: #415653;
  --hps-muted: #6d817e;
  --hps-bg: #f6fbfa;
  --hps-border: #e2efec;
  --hps-shadow: 0 10px 30px rgba(16, 49, 45, 0.08);
  --hps-shadow-lg: 0 20px 50px rgba(16, 49, 45, 0.14);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--hps-text);
  background-color: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--hps-dark);
  font-weight: 600;
}
a { color: var(--hps-primary); }
a:hover { color: var(--hps-primary-dark); }
img { max-width: 100%; }
.section { padding: 96px 0; }
.section-alt { background: var(--hps-bg); }

/* Section headings */
.section-subtitle {
  display: inline-block;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hps-accent-dark);
  background: var(--hps-primary-light);
  padding: 0.45rem 1.1rem;
  border-radius: 50rem;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; margin: 1rem 0 0.75rem; }
.section-lead { color: var(--hps-muted); max-width: 660px; }
.section-head { max-width: 760px; }

/* Buttons */
.btn {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 500;
  border-radius: 12px;
  padding: 0.65rem 1.5rem;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--hps-primary); border-color: var(--hps-primary); }
.btn-primary:hover, .btn-primary:focus {
  background: var(--hps-primary-dark);
  border-color: var(--hps-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.3);
}
.btn-outline-primary { color: var(--hps-primary); border-color: var(--hps-primary); }
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--hps-primary);
  border-color: var(--hps-primary);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--hps-accent);
  border-color: var(--hps-accent);
  color: #3b2a05;
  font-weight: 600;
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--hps-accent-dark);
  border-color: var(--hps-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-light { border-radius: 12px; font-family: "Poppins", "Segoe UI", sans-serif; }

/* ---------- Topbar ---------- */
.topbar { background: var(--hps-dark); color: #cfe3df; font-size: 0.85rem; padding: 0.55rem 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--hps-accent); }
.topbar i { color: var(--hps-accent); margin-right: 0.35rem; }

/* ---------- Navbar ---------- */
.main-nav { background: #fff; padding: 0.9rem 0; box-shadow: 0 4px 20px rgba(16, 49, 45, 0.06); }
.navbar-brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hps-primary) 0%, var(--hps-primary-dark) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
  flex-shrink: 0;
}
.brand-icon svg { width: 27px; height: 27px; }
.brand-text {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--hps-dark);
  line-height: 1.1;
}
.brand-text span { color: var(--hps-primary); }
.brand-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hps-accent-dark);
}
.main-nav .nav-link {
  color: var(--hps-dark);
  font-weight: 500;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  position: relative;
  margin: 0 0.25rem;
  padding: 0.5rem 0.75rem;
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.1rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--hps-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .nav-link.active { color: var(--hps-primary); }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero (home) ---------- */
.hero {
  padding: 100px 0 90px;
  background:
    radial-gradient(600px 400px at 8% 12%, rgba(15, 118, 110, 0.1), transparent 60%),
    radial-gradient(700px 500px at 95% 85%, rgba(245, 158, 11, 0.12), transparent 60%),
    var(--hps-bg);
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--hps-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 50rem;
  box-shadow: var(--hps-shadow);
}
.hero-badge i { color: var(--hps-accent); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.15; }
.text-accent { color: var(--hps-accent-dark); }
.hero-lead { color: var(--hps-muted); font-size: 1.08rem; max-width: 560px; }
.hero-img-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  background: linear-gradient(135deg, var(--hps-primary-light), rgba(245, 158, 11, 0.25));
  border-radius: 28px;
  z-index: 0;
}
.hero-img { position: relative; z-index: 1; border-radius: 26px; box-shadow: var(--hps-shadow-lg); object-fit: cover; }
.float-card {
  left: -28px;
  bottom: -28px;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--hps-shadow-lg);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.float-card .float-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hps-primary-light);
  color: var(--hps-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.float-card h4 { margin: 0; font-size: 1.25rem; }
.float-card p { margin: 0; color: var(--hps-muted); font-size: 0.85rem; }
.hero-stat h3 { font-size: 2rem; font-weight: 700; color: var(--hps-primary); margin-bottom: 0.1rem; }
.hero-stat p { margin: 0; color: var(--hps-muted); font-size: 0.9rem; }

/* ---------- About (home) ---------- */
.about-img { border-radius: 26px; box-shadow: var(--hps-shadow-lg); object-fit: cover; }
.exp-badge {
  position: absolute;
  right: -18px;
  top: -18px;
  z-index: 2;
  background: var(--hps-primary);
  color: #fff;
  border-radius: 18px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--hps-shadow-lg);
}
.exp-badge h3 { color: #fff; margin: 0; font-size: 1.9rem; }
.exp-badge p { margin: 0; font-size: 0.8rem; line-height: 1.25; color: #d7ebe7; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li { padding: 0.45rem 0; display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; }
.check-list i { color: var(--hps-primary); font-size: 1.1rem; margin-top: 0.12rem; }

/* ---------- Why choose us ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--hps-border);
  border-radius: 20px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--hps-shadow-lg); border-color: transparent; }
.why-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--hps-primary-light);
  color: var(--hps-primary);
  font-size: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.why-card:hover .why-icon { background: var(--hps-primary); color: #fff; }
.why-card h5 { font-weight: 600; }
.why-card p { color: var(--hps-muted); font-size: 0.93rem; margin: 0; }

/* ---------- Service cards ---------- */
.service-card {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--hps-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--hps-shadow-lg); }
.service-card .card-img-top { height: 220px; object-fit: cover; object-position: center; }
.service-card .card-body { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card .card-title { font-size: 1.12rem; font-weight: 600; margin-bottom: 0.55rem; }
.service-card .card-text { color: var(--hps-muted); font-size: 0.92rem; margin-bottom: 1.25rem; flex-grow: 1; }
.btn-service { font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.t-slide { max-width: 780px; margin: 0 auto; text-align: center; padding: 0.5rem 0; }
.t-stars { color: var(--hps-accent); font-size: 1.05rem; }
.t-quote { font-size: 1.18rem; line-height: 1.8; color: var(--hps-text); font-style: italic; max-width: 700px; margin: 1.25rem auto 0; }
.t-avatar {
  width: 64px;
  height: 64px;
  margin: 1.25rem auto 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hps-primary), var(--hps-accent));
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", "Segoe UI", sans-serif;
}
.t-role { color: var(--hps-muted); font-size: 0.88rem; margin-bottom: 0; }
#testimonialCarousel .carousel-control-prev, #testimonialCarousel .carousel-control-next { width: 6%; opacity: 1; }
#testimonialCarousel .carousel-control-prev-icon, #testimonialCarousel .carousel-control-next-icon {
  width: 2.6rem;
  height: 2.6rem;
  background-color: var(--hps-primary);
  border-radius: 50%;
  background-size: 55% 55%;
}
#testimonialCarousel .carousel-indicators { position: static; margin: 1.75rem 0 0; }
#testimonialCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #bcd9d4;
  opacity: 1;
}
#testimonialCarousel .carousel-indicators .active { background: var(--hps-primary); }

/* ---------- Blog cards ---------- */
.blog-card {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--hps-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--hps-shadow-lg); }
.blog-card .card-img-top { height: 220px; object-fit: cover; }
.blog-card .card-body { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .card-title { font-size: 1.08rem; font-weight: 600; line-height: 1.45; margin-bottom: 0.6rem; }
.blog-card .card-text { color: var(--hps-muted); font-size: 0.92rem; flex-grow: 1; }
.read-more-link { text-decoration: none; font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; }
.read-more-link i { transition: transform 0.2s ease; }
.read-more-link:hover i { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--hps-border);
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--hps-dark);
  background: #fff;
  padding: 1.15rem 1.4rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--hps-primary-light);
  color: var(--hps-primary-dark);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15); }
.faq-accordion .accordion-body { color: var(--hps-muted); font-size: 0.95rem; line-height: 1.75; padding: 1.1rem 1.4rem 1.4rem; }

/* ---------- CTA banner ---------- */
.cta-section { padding-top: 0; }
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--hps-primary-darker) 0%, var(--hps-primary) 60%, #12938a 100%);
  border-radius: 28px;
  padding: 3.5rem;
  color: #fff;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  right: -90px;
  top: -120px;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
  left: -70px;
  bottom: -90px;
}
.cta-banner > .row { position: relative; z-index: 1; }
.cta-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.5rem; }
.cta-text { color: #d3e9e5; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(rgba(8, 52, 47, 0.9), rgba(11, 93, 87, 0.85)),
    url("../img/hero.jpg") center/cover no-repeat;
  padding: 92px 0 76px;
  color: #fff;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.page-breadcrumb { justify-content: center; margin-bottom: 0; font-size: 0.9rem; }
.page-breadcrumb .breadcrumb-item a { color: #cfe9e5; text-decoration: none; }
.page-breadcrumb .breadcrumb-item.active { color: var(--hps-accent); }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.6); }

/* ---------- Contact ---------- */
.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--hps-shadow);
  border-top: 4px solid var(--hps-primary);
  height: 100%;
  transition: transform 0.25s ease;
}
.info-card:hover { transform: translateY(-6px); }
.info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: var(--hps-primary-light);
  color: var(--hps-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}
.info-card h5 { font-weight: 600; }
.info-card p { color: var(--hps-muted); font-size: 0.93rem; margin-bottom: 0; }
.info-card a { text-decoration: none; }
.contact-map-panel {
  background: linear-gradient(135deg, var(--hps-primary-darker), var(--hps-primary));
  border-radius: 24px;
  padding: 2.5rem;
  color: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-map-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  right: -100px;
  top: -100px;
}
.contact-map-panel > * { position: relative; z-index: 1; }
.map-pin {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--hps-accent);
}
.contact-map-panel h4 { color: #fff; }
.contact-map-panel p { color: #d3e9e5; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 24px; box-shadow: var(--hps-shadow-lg); padding: 2.5rem; }
.form-control, .form-select {
  border-radius: 12px;
  border-color: var(--hps-border);
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--hps-dark);
}
.form-control:focus, .form-select:focus {
  border-color: var(--hps-primary);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--hps-dark); }
.form-feedback { font-size: 0.875rem; min-height: 1.3rem; font-weight: 500; }
.form-feedback:empty { display: none; }
.form-feedback.is-success { color: #15803d; }
.form-feedback.is-danger { color: #b91c1c; }
.form-feedback.is-info { color: #0e7490; }
.subscribe-box {
  background: var(--hps-bg);
  border: 1px solid var(--hps-border);
  border-radius: 24px;
  padding: 2.5rem;
}
.form-note { font-size: 0.82rem; color: var(--hps-muted); }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(120deg, var(--hps-primary-darker), var(--hps-primary)); padding: 3.5rem 0; }
.stat-item h3 { color: #fff; font-size: 2.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-item h3 span { color: var(--hps-accent); }
.stat-item p { color: #cfe9e5; margin: 0; font-size: 0.95rem; }

/* ---------- Steps (how it works) ---------- */
.step-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2.1rem 1.5rem 1.9rem;
  text-align: center;
  box-shadow: var(--hps-shadow);
  height: 100%;
}
.step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hps-accent);
  color: #3b2a05;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.4);
}
.step-card h5 { font-weight: 600; margin-top: 0.5rem; }
.step-card p { color: var(--hps-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Small cards ---------- */
.mini-icon-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--hps-shadow);
  padding: 1.8rem 1.5rem;
  height: 100%;
  text-align: center;
  border: 1px solid var(--hps-border);
  transition: transform 0.25s ease;
}
.mini-icon-card:hover { transform: translateY(-6px); }
.mini-icon-card .why-icon { width: 62px; height: 62px; font-size: 1.55rem; margin-bottom: 1rem; }
.mini-icon-card h5 { font-size: 1.02rem; font-weight: 600; }
.mini-icon-card p { color: var(--hps-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal-card { background: #fff; border-radius: 24px; box-shadow: var(--hps-shadow); padding: 3rem; }
.legal-card h2 { font-size: 1.9rem; margin-bottom: 0.35rem; }
.legal-updated { color: var(--hps-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-card h5 { font-weight: 600; margin: 1.75rem 0 0.6rem; }
.legal-card p, .legal-card li { font-size: 0.95rem; line-height: 1.8; color: var(--hps-text); }
.legal-card ul { margin: 0 0 1rem 1.3rem; }
.legal-toc {
  background: var(--hps-bg);
  border: 1px solid var(--hps-border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
}
.legal-toc .toc-title { font-weight: 600; color: var(--hps-dark); margin-bottom: 0.5rem; }
.legal-toc ol { margin: 0 0 0 1.2rem; columns: 2; column-gap: 2rem; }
.legal-toc li { font-size: 0.9rem; margin-bottom: 0.3rem; }
.legal-toc a { text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--hps-dark); color: #a9c4bf; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text span { color: #5eead4; }
.footer-brand .brand-text small { color: var(--hps-accent); }
.footer-about { font-size: 0.92rem; line-height: 1.75; color: #a9c4bf; }
.footer-title { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: #a9c4bf; text-decoration: none; font-size: 0.92rem; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: var(--hps-accent); padding-left: 4px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}
.social-links a:hover { background: var(--hps-accent); color: #3b2a05; transform: translateY(-3px); }
.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 12px;
}
.footer-newsletter .form-control::placeholder { color: #8fb0ab; }
.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hps-accent);
  box-shadow: none;
}
.footer-contact p { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; margin-bottom: 0.65rem; }
.footer-contact i { color: var(--hps-accent); margin-top: 0.15rem; }
.footer-contact a { color: #d9e8e4; text-decoration: none; }
.footer-contact a:hover { color: var(--hps-accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.25rem 0; font-size: 0.87rem; }
.footer-bottom a { color: #a9c4bf; text-decoration: none; }
.footer-bottom a:hover { color: var(--hps-accent); }
.footer-bottom p { color: #a9c4bf; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1050;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--hps-primary);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--hps-primary-dark); color: #fff; }

/* ---------- Blog post modal ---------- */
.post-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.post-modal .modal-header {
  background: var(--hps-primary-light);
  border: 0;
  border-bottom: 1px solid var(--hps-border);
  padding: 1.25rem 1.5rem;
}
.post-modal .modal-title { font-weight: 600; }
.post-modal .modal-body { padding: 1.5rem; }
.post-modal .modal-body p { font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; }
.post-modal .modal-body ul { margin: 0 0 1rem 1.3rem; font-size: 0.95rem; line-height: 1.8; }
.post-modal .modal-footer { border-top: 1px solid var(--hps-border); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .float-card { left: 12px; bottom: -20px; }
  .exp-badge { right: 10px; top: -14px; padding: 0.75rem 1rem; }
  .exp-badge h3 { font-size: 1.5rem; }
  .cta-banner { padding: 2.5rem 1.75rem; }
  .legal-card, .form-card { padding: 2rem 1.5rem; }
  #mainNav { background: #fff; margin-top: 0.75rem; border-radius: 16px; padding: 1rem; box-shadow: var(--hps-shadow-lg); }
  .legal-toc ol { columns: 1; }
}
@media (max-width: 575.98px) {
  .hero-stats h3 { font-size: 1.6rem; }
  .float-card { padding: 0.75rem 1rem; gap: 0.6rem; }
  .float-card h4 { font-size: 1.05rem; }
  .page-hero { padding: 64px 0 52px; }
  .form-card, .subscribe-box { padding: 1.75rem 1.25rem; }
}
