/* ==========================================================================
   HealthPoint Restore — Custom Styles
   healthpointrestore.com
   ========================================================================== */

:root {
  --hp-primary: #0e8a7d;
  --hp-primary-dark: #0a6a60;
  --hp-primary-deeper: #085249;
  --hp-primary-light: #e2f4f1;
  --hp-primary-soft: #f2faf8;
  --hp-accent: #22b573;
  --hp-navy: #0b2b28;
  --hp-heading: #12313b;
  --hp-text: #5b6b74;
  --hp-border: #e2edeb;
  --hp-gold: #f5b31b;
  --hp-radius: 1rem;
  --hp-shadow: 0 10px 30px rgba(11, 43, 40, 0.08);
  --hp-shadow-lg: 0 24px 60px rgba(11, 43, 40, 0.14);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--hp-text);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--hp-heading);
  font-weight: 700;
  line-height: 1.3;
}

a { text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
img { max-width: 100%; }

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.bg-soft { background: var(--hp-primary-soft); }
.bg-light-teal { background: var(--hp-primary-light); }
.text-hp { color: var(--hp-primary) !important; }
.fw-800 { font-weight: 800; }

/* ---------- Section headers ---------- */
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head.text-start { margin-left: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hp-primary);
  background: var(--hp-primary-light);
  border: 1px solid #cdeae5;
  padding: 7px 16px;
  border-radius: 50rem;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hp-accent);
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { margin-bottom: 0; color: var(--hp-text); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn-hp {
  --bs-btn-bg: var(--hp-primary);
  --bs-btn-border-color: var(--hp-primary);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--hp-primary-dark);
  --bs-btn-hover-border-color: var(--hp-primary-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--hp-primary-deeper);
  --bs-btn-active-border-color: var(--hp-primary-deeper);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 14, 138, 125;
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: 0.65rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 50rem;
  box-shadow: 0 8px 20px rgba(14, 138, 125, 0.28);
}
.btn-hp.btn-lg { --bs-btn-padding-y: 0.85rem; --bs-btn-padding-x: 1.9rem; font-size: 1.02rem; }
.btn-hp:hover { transform: translateY(-2px); }

.btn-outline-hp {
  --bs-btn-color: var(--hp-primary);
  --bs-btn-border-color: var(--hp-primary);
  --bs-btn-hover-bg: var(--hp-primary);
  --bs-btn-hover-border-color: var(--hp-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--hp-primary-dark);
  --bs-btn-active-border-color: var(--hp-primary-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 14, 138, 125;
  --bs-btn-padding-x: 1.4rem;
  --bs-btn-padding-y: 0.65rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 50rem;
  --bs-btn-border-width: 2px;
}
.btn-outline-hp:hover { transform: translateY(-2px); }

.btn-white {
  background: #fff; color: var(--hp-primary);
  border-radius: 50rem; font-weight: 700;
  padding: 0.75rem 1.7rem;
  border: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.btn-white:hover { background: var(--hp-primary-light); color: var(--hp-primary-deeper); transform: translateY(-2px); }

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.85); color: #fff;
  border-radius: 50rem; font-weight: 700;
  padding: 0.72rem 1.7rem;
  background: transparent;
}
.btn-outline-white:hover { background: #fff; color: var(--hp-primary); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--hp-navy);
  color: #cfe3e0;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.topbar a { color: #cfe3e0; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--hp-accent); margin-right: 6px; }
.topbar-links { gap: 0 !important; }
.topbar-links li + li { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 22px; }

/* ---------- Navbar ---------- */
.hp-navbar {
  background: #ffffff;
  padding: 14px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  z-index: 1030;
}
.hp-navbar.navbar-scrolled {
  box-shadow: 0 6px 24px rgba(11, 43, 40, 0.1);
  padding: 8px 0;
}
.navbar-brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-badge {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--hp-primary), var(--hp-accent));
  color: #fff;
  font-size: 1.3rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(14, 138, 125, 0.35);
}
.brand-name { font-size: 1.3rem; font-weight: 800; color: var(--hp-heading); line-height: 1; }
.brand-name span { color: var(--hp-primary); }
.brand-name small { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--hp-text); margin-top: 3px; }

.hp-navbar .nav-link {
  font-weight: 600;
  color: var(--hp-heading);
  margin: 0 6px;
  padding: 8px 14px !important;
  border-radius: 50rem;
}
.hp-navbar .nav-link:hover { color: var(--hp-primary); }
.hp-navbar .nav-link.active { color: var(--hp-primary); background: var(--hp-primary-light); }
.hp-navbar .navbar-toggler { border: none; box-shadow: none; padding: 6px 10px; }
.hp-navbar .navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230e8a7d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background:
    radial-gradient(900px 300px at 85% -10%, rgba(34, 181, 115, 0.28), transparent 60%),
    radial-gradient(700px 280px at 8% 120%, rgba(14, 138, 125, 0.35), transparent 60%),
    linear-gradient(135deg, var(--hp-navy), var(--hp-primary-deeper));
  color: #d9ece9;
  padding: 84px 0 74px;
  position: relative;
  overflow: hidden;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-banner p { max-width: 640px; margin-bottom: 0; font-size: 1.05rem; }
.page-banner .breadcrumb { margin-bottom: 14px; --bs-breadcrumb-divider-color: rgba(255,255,255,.5); }
.page-banner .breadcrumb-item a { color: #a8d8d2; }
.page-banner .breadcrumb-item a:hover { color: #fff; }
.page-banner .breadcrumb-item.active { color: #e9f7f5; }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 90% 0%, rgba(34, 181, 115, 0.16), transparent 60%),
    radial-gradient(800px 400px at -10% 100%, rgba(14, 138, 125, 0.18), transparent 55%),
    linear-gradient(160deg, #f2faf8 0%, #ffffff 55%, #e9f6f3 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--hp-border);
  color: var(--hp-primary-dark);
  font-size: 0.85rem; font-weight: 700;
  padding: 8px 18px; border-radius: 50rem;
  box-shadow: var(--hp-shadow);
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 20px; }
.text-gradient {
  background: linear-gradient(90deg, var(--hp-primary), var(--hp-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p.lead { max-width: 560px; font-size: 1.08rem; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.hero-points li { list-style: none; font-weight: 600; color: var(--hp-heading); font-size: 0.95rem; }
.hero-points i { color: var(--hp-accent); margin-right: 8px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--hp-shadow-lg);
  border: 8px solid #fff;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--hp-shadow-lg);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--hp-text);
  animation: floaty 4s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.25rem; color: var(--hp-heading); line-height: 1.2; }
.float-card i {
  width: 46px; height: 46px; flex: 0 0 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hp-primary-light); color: var(--hp-primary);
  font-size: 1.25rem; border-radius: 12px;
}
.float-card-1 { top: 34px; left: -26px; }
.float-card-2 { bottom: 40px; right: -18px; animation-delay: 1.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: linear-gradient(135deg, var(--hp-primary), var(--hp-primary-deeper));
  color: #fff;
  padding: 46px 0;
  position: relative;
  z-index: 2;
  margin-top: -46px;
}
.stats-strip + section { padding-top: 90px; }
.stat-box { text-align: center; padding: 6px 10px; }
.stat-box .stat-icon { font-size: 2rem; margin-bottom: 8px; color: #9fe8dc; }
.stat-box .stat-number { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.stat-box .stat-label { font-size: 0.92rem; opacity: 0.85; letter-spacing: 0.5px; }
.stat-divider { border-right: 1px solid rgba(255, 255, 255, 0.18); }

/* ---------- About section ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 470px; object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--hp-shadow-lg);
}
.exp-badge {
  position: absolute; bottom: 26px; right: -14px;
  background: linear-gradient(135deg, var(--hp-primary), var(--hp-accent));
  color: #fff; border-radius: 18px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--hp-shadow-lg);
}
.exp-badge strong { font-size: 1.8rem; font-weight: 800; display: block; line-height: 1.1; }
.exp-badge span { font-size: 0.8rem; opacity: 0.92; }

.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding: 6px 0 6px 36px; font-weight: 600; color: var(--hp-heading); }
.check-list li i {
  position: absolute; left: 0; top: 6px;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hp-primary-light); color: var(--hp-primary);
  border-radius: 50%;
  font-size: 0.85rem;
}
.check-list.two-col { column-count: 2; column-gap: 30px; }

/* ---------- Why choose us ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 34px 26px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hp-shadow-lg);
  border-color: transparent;
}
.icon-circle {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hp-primary-light);
  color: var(--hp-primary);
  font-size: 1.7rem;
  border-radius: 18px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.why-card:hover .icon-circle {
  background: linear-gradient(135deg, var(--hp-primary), var(--hp-accent));
  color: #fff;
}
.why-card h5 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { margin-bottom: 0; font-size: 0.94rem; }

/* ---------- Service cards ---------- */
.service-card {
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hp-shadow-lg);
}
.service-img { overflow: hidden; height: 210px; }
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-card .card-body { padding: 24px; }
.service-card .card-title { font-size: 1.15rem; margin-bottom: 10px; }
.service-card .card-text { font-size: 0.94rem; margin-bottom: 18px; }
.service-card .btn { --bs-btn-padding-y: 0.5rem; --bs-btn-padding-x: 1.2rem; font-size: 0.9rem; }

/* ---------- Steps (how it works) ---------- */
.step-card { text-align: center; padding: 34px 22px; position: relative; }
.step-num {
  width: 74px; height: 74px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px dashed var(--hp-primary);
  color: var(--hp-primary);
  font-size: 1.5rem; font-weight: 800;
  border-radius: 50%;
}
.step-card h5 { font-size: 1.05rem; }
.step-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--hp-shadow-lg); }
.testimonial-card .quote-icon {
  position: absolute; top: 20px; right: 24px;
  font-size: 2.6rem; color: var(--hp-primary-light);
}
.testimonial-card .stars { color: var(--hp-gold); font-size: 0.95rem; margin-bottom: 14px; }
.testimonial-card blockquote { font-size: 0.98rem; color: var(--hp-text); margin-bottom: 22px; }
.t-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; flex: 0 0 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 1.05rem;
  letter-spacing: 1px;
}
.avatar.a1 { background: linear-gradient(135deg, #0e8a7d, #22b573); }
.avatar.a2 { background: linear-gradient(135deg, #0f6f9e, #45a3d1); }
.avatar.a3 { background: linear-gradient(135deg, #a357c9, #d78ae8); }
.t-author strong { display: block; color: var(--hp-heading); font-size: 1rem; }
.t-author span { font-size: 0.85rem; color: var(--hp-text); }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--hp-shadow-lg); }
.blog-img { height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.07); }
.blog-card .card-body { padding: 24px; display: flex; flex-direction: column; }
.blog-card .card-title { font-size: 1.12rem; margin-bottom: 10px; }
.blog-card .card-text { font-size: 0.94rem; flex-grow: 1; }
.read-more {
  font-weight: 700; color: var(--hp-primary); font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.read-more i { transition: transform 0.25s ease; }
.read-more:hover { color: var(--hp-primary-dark); }
.read-more:hover i { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--hp-border);
  border-radius: 14px !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-weight: 700; color: var(--hp-heading);
  padding: 20px 24px;
  background: #fff;
  box-shadow: none;
  font-size: 1rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--hp-primary-light);
  color: var(--hp-primary-dark);
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body { padding: 6px 24px 22px; color: var(--hp-text); font-size: 0.96rem; }
.faq-side-card {
  background: #fff; border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius); padding: 30px;
  box-shadow: var(--hp-shadow);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(600px 300px at 5% 100%, rgba(34, 181, 115, 0.4), transparent 60%),
    linear-gradient(135deg, var(--hp-primary-deeper), var(--hp-primary));
  border-radius: 26px;
  padding: 64px 48px;
  color: #d5ece8;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-banner p { max-width: 620px; font-size: 1.05rem; margin-bottom: 28px; }
.cta-banner .btn { margin-right: 10px; margin-bottom: 10px; }

/* ---------- Contact page ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 30px 22px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); }
.contact-info-card .icon-circle { margin-bottom: 16px; }
.contact-info-card h6 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p, .contact-info-card a { font-size: 0.92rem; margin-bottom: 0; color: var(--hp-text); word-break: break-word; }
.contact-info-card a:hover { color: var(--hp-primary); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 40px;
  box-shadow: var(--hp-shadow);
}
.map-wrap {
  border-radius: var(--hp-radius);
  overflow: hidden;
  box-shadow: var(--hp-shadow);
  border: 1px solid var(--hp-border);
  height: 100%;
  min-height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-label { font-weight: 700; color: var(--hp-heading); font-size: 0.92rem; }
.form-label .req { color: #dc3545; }
.form-control, .form-select {
  border: 1.5px solid var(--hp-border);
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-size: 0.97rem;
  color: var(--hp-heading);
}
.form-control:focus, .form-select:focus {
  border-color: var(--hp-primary);
  box-shadow: 0 0 0 0.22rem rgba(14, 138, 125, 0.12);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.invalid-feedback { font-size: 0.82rem; font-weight: 600; }
textarea.form-control { min-height: 140px; }

.success-panel {
  background: var(--hp-primary-light);
  border: 1px solid #bfe6df;
  border-radius: var(--hp-radius);
  padding: 40px 30px;
  text-align: center;
}
.success-panel .big-icon {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--hp-primary), var(--hp-accent));
  color: #fff; font-size: 2.4rem; border-radius: 50%;
  box-shadow: 0 12px 30px rgba(14, 138, 125, 0.35);
}
.success-panel h4 { margin-bottom: 10px; }
.success-panel p { margin-bottom: 6px; font-size: 0.98rem; }

/* ---------- Subscribe / Unsubscribe ---------- */
.subscribe-box {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 44px 40px;
  box-shadow: var(--hp-shadow-lg);
}
.newsletter-benefit { text-align: center; padding: 8px 6px; }
.newsletter-benefit .icon-circle { margin-bottom: 14px; }
.newsletter-benefit h6 { font-size: 1rem; margin-bottom: 8px; }
.newsletter-benefit p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Blog article ---------- */
.post-content { max-width: 820px; margin: 0 auto; }
.post-content h2 { font-size: 1.5rem; margin: 34px 0 14px; }
.post-content h3 { font-size: 1.2rem; margin: 26px 0 12px; }
.post-content p { margin-bottom: 18px; }
.post-content ul { margin-bottom: 18px; }
.post-content ul li { margin-bottom: 8px; }
.post-cover {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 24px; margin-bottom: 34px;
  box-shadow: var(--hp-shadow-lg);
}
.post-tip {
  background: var(--hp-primary-light);
  border-left: 4px solid var(--hp-primary);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal-content h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-content p, .legal-content li { font-size: 0.98rem; }
.legal-content ul { padding-left: 20px; }
.legal-content .legal-updated {
  background: var(--hp-primary-light);
  border: 1px solid #cdeae5;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--hp-primary-dark);
  margin-bottom: 28px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--hp-navy); color: #a9c3c0; }
.footer-top { padding: 76px 0 46px; }
.site-footer h5 {
  color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.site-footer h5::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 38px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--hp-accent), var(--hp-primary));
}
.footer-about p { font-size: 0.94rem; margin: 18px 0 22px; max-width: 340px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff; border-radius: 10px;
  font-size: 1rem;
  transition: all 0.25s ease;
}
.social-links a:hover { background: var(--hp-primary); transform: translateY(-3px); }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #a9c3c0; font-size: 0.94rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: "\f285"; font-family: "bootstrap-icons"; font-size: 0.7rem; color: var(--hp-accent); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links.two-col { column-count: 2; column-gap: 20px; }

.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.92rem; }
.footer-contact i { color: var(--hp-accent); font-size: 1.05rem; margin-top: 3px; }
.footer-contact a { color: #a9c3c0; word-break: break-word; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
.footer-legal li + li::before { content: "|"; margin: 0 12px; color: rgba(255, 255, 255, 0.3); }
.footer-legal a { color: #a9c3c0; }
.footer-legal a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--hp-primary); color: #fff;
  border: none; border-radius: 12px;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(14, 138, 125, 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(--hp-primary-dark); color: #fff; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section-pad { padding: 64px 0; }
  .hero { padding: 56px 0 56px; }
  .hero-media img { height: 400px; }
  .float-card-1 { left: 8px; }
  .float-card-2 { right: 8px; }
  .exp-badge { right: 8px; }
  .stat-divider { border-right: none; }
  .stats-strip { margin-top: 0; }
  .stats-strip + section { padding-top: 64px; }
  .cta-banner { padding: 44px 26px; }
  .contact-form-wrap { padding: 28px 22px; }
  .subscribe-box { padding: 32px 22px; }
  .post-cover { height: 280px; }
  .hp-navbar .nav-link { margin: 4px 0; }
  .hp-navbar .navbar-collapse { padding: 18px 0 8px; }
  .hp-navbar .btn-hp { margin-top: 10px; display: inline-block; }
}

@media (max-width: 575.98px) {
  .hero-media img { height: 320px; }
  .float-card { padding: 10px 14px; }
  .float-card i { width: 38px; height: 38px; flex-basis: 38px; font-size: 1rem; }
  .float-card strong { font-size: 1rem; }
  .check-list.two-col { column-count: 1; }
  .footer-legal li + li::before { display: none; }
  .footer-legal { gap: 8px 16px; }
}
