/* ============================================================
   Health Wellness World — Main Stylesheet
   Built on Bootstrap 5.3 (layout/grid) + custom design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --hw-primary: #0fa48a;
  --hw-primary-dark: #0c8a74;
  --hw-primary-soft: rgba(15, 164, 138, 0.10);
  --hw-deep: #0d3b3e;
  --hw-heading: #123c40;
  --hw-body: #5b6f71;
  --hw-accent: #f59a3e;
  --hw-light: #f2faf8;
  --hw-border: #e3efec;
  --hw-shadow: 0 12px 32px rgba(13, 59, 62, 0.09);
  --hw-radius: 16px;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--hw-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--hw-heading);
  font-weight: 700;
}

a { color: var(--hw-primary-dark); }
a:hover { color: var(--hw-primary); }

img { max-width: 100%; }

::selection { background: var(--hw-primary); color: #fff; }

.text-accent { color: var(--hw-accent) !important; }
.text-brand { color: var(--hw-primary-dark) !important; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--hw-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}
.topbar a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.3s;
}
.topbar a:hover { color: #fff; }
.topbar i { color: var(--hw-primary); }
.topbar-social a {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 0.8rem;
}
.topbar-social a:hover { background: var(--hw-primary); }

/* ---------- Navbar ---------- */
.navbar {
  padding-block: 0.85rem;
  transition: padding 0.3s, box-shadow 0.3s;
  background: #fff;
}
.navbar.navbar-scrolled {
  padding-block: 0.4rem;
  box-shadow: 0 8px 26px rgba(13, 59, 62, 0.09);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--hw-primary), #23c8a5);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--hw-heading);
  line-height: 1.15;
}
.brand-text span { color: var(--hw-primary); }

.navbar .nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hw-heading);
  padding: 0.5rem 0.9rem !important;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hw-primary);
  transition: width 0.3s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--hw-primary-dark); }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 22px; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 0.8rem;
    padding: 1rem 1.25rem 1.4rem;
    border-radius: 14px;
    border: 1px solid var(--hw-border);
    box-shadow: var(--hw-shadow);
  }
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 50rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.btn-brand {
  background: var(--hw-primary);
  border: 2px solid var(--hw-primary);
  color: #fff;
  padding: 0.72rem 1.8rem;
  transition: all 0.3s;
}
.btn-brand:hover,
.btn-brand:focus {
  background: var(--hw-primary-dark);
  border-color: var(--hw-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 164, 138, 0.35);
}
.btn-outline-brand {
  background: transparent;
  border: 2px solid var(--hw-primary);
  color: var(--hw-primary-dark);
  padding: 0.72rem 1.8rem;
  transition: all 0.3s;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--hw-primary);
  border-color: var(--hw-primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--hw-accent);
  border: 2px solid var(--hw-accent);
  color: #fff;
  padding: 0.72rem 1.8rem;
  transition: all 0.3s;
}
.btn-accent:hover,
.btn-accent:focus {
  background: #e18a2f;
  border-color: #e18a2f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(247, 154, 62, 0.35);
}
.btn-sm { padding: 0.5rem 1.3rem; }

/* ---------- Sections & headings ---------- */
.section { padding: 6.5rem 0; }
.bg-section { background: var(--hw-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50rem;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hw-primary);
}
.eyebrow-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.eyebrow-light::before { background: var(--hw-accent); }

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin: 1rem 0 0.8rem;
  line-height: 1.25;
}
.section-lead {
  max-width: 660px;
  font-size: 1.02rem;
}

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(9, 47, 50, 0.93) 0%, rgba(9, 47, 50, 0.8) 45%, rgba(9, 47, 50, 0.5) 100%),
    url('../img/hero-bg.jpg') center / cover no-repeat;
  padding: 9rem 0 8rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.2rem;
}
.hero .lead-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  max-width: 600px;
}
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 50rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.badge-chip i { color: #38d9b9; }
.hero-checks {
  margin: 1.6rem 0 2.2rem;
}
.hero-checks li {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.hero-checks i { color: #38d9b9; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background:
    linear-gradient(rgba(9, 47, 50, 0.9), rgba(9, 47, 50, 0.82)),
    url('../img/hero-bg.jpg') center / cover no-repeat;
  padding: 10rem 0 5.5rem;
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0.8rem auto 0;
}

/* ---------- About ---------- */
.about-img-wrap { position: relative; max-width: 540px; }
.about-img-wrap img { border-radius: 20px; width: 100%; display: block; }
.about-img-wrap::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  border: 3px solid rgba(15, 164, 138, 0.35);
  border-radius: 20px;
  z-index: -1;
}
.exp-badge {
  position: absolute;
  left: -18px;
  bottom: 30px;
  background: var(--hw-deep);
  color: #fff;
  border-radius: 16px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--hw-shadow);
}
.exp-badge i { font-size: 1.9rem; color: var(--hw-accent); }
.exp-badge .num {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  display: block;
}
.exp-badge .lbl { font-size: 0.8rem; opacity: 0.85; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.check-list i { color: var(--hw-primary); margin-top: 3px; flex: none; }
.check-list strong { color: var(--hw-heading); }

/* ---------- Why choose us ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 2.2rem 1.7rem;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
/* stretch to equal height only when alone in its column
   (avoids overflow when stacked with siblings, e.g. contact page) */
[class^="col"] > .why-card:only-child,
[class*=" col"] > .why-card:only-child { height: 100%; }
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--hw-primary), #35d0b0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hw-shadow);
  border-color: transparent;
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  transition: all 0.35s;
}
.why-card:hover .why-icon {
  background: var(--hw-primary);
  color: #fff;
}

/* ---------- Stats strip ---------- */
.stat-strip {
  background: linear-gradient(120deg, var(--hw-deep) 0%, #0f5157 100%);
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  display: block;
  margin-top: 0.4rem;
}

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  overflow: hidden;
  height: 100%;
  transition: all 0.35s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hw-shadow);
  border-color: rgba(15, 164, 138, 0.4);
}
.card-img-wrap { overflow: hidden; }
.card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.service-card:hover .card-img,
.blog-card:hover .card-img { transform: scale(1.08); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fff;
  color: var(--hw-primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--hw-shadow);
  border: 1px solid var(--hw-border);
  transition: all 0.35s;
}
.service-card:hover .service-icon {
  background: var(--hw-primary);
  border-color: var(--hw-primary);
  color: #fff;
}
.service-body { padding: 1.1rem 1.5rem 1.9rem; text-align: center; }
.service-body h3 { font-size: 1.15rem; margin: 0.6rem 0 0.55rem; }
.service-body p { font-size: 0.93rem; margin-bottom: 1.2rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 2.2rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hw-shadow);
}
.quote-mark {
  font-size: 2.6rem;
  color: rgba(15, 164, 138, 0.22);
  line-height: 1;
  font-family: Georgia, serif;
}
.stars i { color: var(--hw-accent); font-size: 0.9rem; }
.testimonial-card blockquote {
  font-size: 0.97rem;
  flex: 1;
  margin: 0.9rem 0 1.4rem;
}
.t-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px dashed var(--hw-border);
  padding-top: 1.2rem;
}
.t-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.t-name {
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--hw-heading);
  margin: 0;
  font-size: 0.97rem;
}
.t-role { color: #8aa19f; font-size: 0.82rem; margin: 0; }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  overflow: hidden;
  height: 100%;
  transition: all 0.35s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hw-shadow);
  border-color: rgba(15, 164, 138, 0.4);
}
.blog-card .card-img { height: 220px; }
.blog-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: 0.7rem; }
.blog-body h3 a { color: var(--hw-heading); text-decoration: none; transition: color 0.3s; }
.blog-body h3 a:hover { color: var(--hw-primary-dark); }
.blog-body p { font-size: 0.93rem; flex: 1; }
.read-more {
  color: var(--hw-primary-dark);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.read-more i { transition: transform 0.3s; }
.read-more:hover { color: var(--hw-primary); }
.blog-card:hover .read-more i,
a:hover > .read-more i { transform: translateX(5px); }

/* ---------- FAQ ---------- */
.accordion-item {
  border: 1px solid var(--hw-border);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
}
.accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--hw-heading);
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
}
.accordion-button:not(.collapsed) {
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-body {
  color: var(--hw-body);
  padding: 0 1.35rem 1.3rem;
  line-height: 1.8;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(9, 47, 50, 0.9), rgba(9, 47, 50, 0.9)),
    url('../img/hero-bg.jpg') center / cover no-repeat;
}
.cta-band .section-lead { color: rgba(255, 255, 255, 0.78); }

/* ---------- Steps (how it works) ---------- */
.steps-card {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 2.1rem 1.6rem;
  height: 100%;
  text-align: center;
  transition: all 0.35s;
}
.steps-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hw-shadow);
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hw-primary), #2fc9a8);
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 8px 18px rgba(15, 164, 138, 0.35);
}
.steps-card i.big-icon { font-size: 1.7rem; color: var(--hw-primary-dark); }

/* ---------- Contact ---------- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 2.2rem 1.4rem;
  text-align: center;
  height: 100%;
  transition: all 0.35s;
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hw-shadow);
}
.info-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin: 0 auto 1.1rem;
}
.contact-info-card a { color: var(--hw-body); text-decoration: none; }
.contact-info-card a:hover { color: var(--hw-primary-dark); }

.map-placeholder {
  background:
    radial-gradient(rgba(255, 255, 255, 0.13) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, #0d3b3e, #10545a);
  border-radius: 18px;
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.map-pin {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--hw-accent);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  animation: pin-pulse 2s infinite;
}
@keyframes pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 154, 62, 0.4); }
  70% { box-shadow: 0 0 0 18px rgba(247, 154, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 154, 62, 0); }
}

/* ---------- Forms ---------- */
.form-label { font-weight: 600; color: var(--hw-heading); font-size: 0.9rem; }
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #d9e7e4;
  font-size: 0.95rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--hw-primary);
  box-shadow: 0 0 0 0.2rem rgba(15, 164, 138, 0.14);
}
.form-panel {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--hw-shadow);
}
.form-note { font-size: 0.82rem; color: #93a7a5; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success h3 { margin-bottom: 0.8rem; }
.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  font-size: 2.4rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.3rem;
  animation: pop 0.5s ease;
}
@keyframes pop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  border: 1px dashed rgba(15, 164, 138, 0.45);
}
.status-pill.is-off {
  background: rgba(247, 154, 62, 0.1);
  color: #c6741d;
  border-color: rgba(247, 154, 62, 0.5);
}

/* ---------- Legal & article pages ---------- */
.legal-card {
  background: #fff;
  border: 1px solid var(--hw-border);
  border-radius: 18px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--hw-shadow);
}
.legal-content h2 {
  font-size: 1.32rem;
  margin: 2.3rem 0 1rem;
  padding: 0.3rem 0 0.3rem 1rem;
  border-left: 4px solid var(--hw-primary);
}
.legal-content h2:first-child { margin-top: 0.4rem; }
.legal-content p,
.legal-content li {
  color: var(--hw-body);
  line-height: 1.85;
  font-size: 0.97rem;
}
.legal-content ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.45rem; }
.updated-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hw-primary-soft);
  color: var(--hw-primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 50rem;
  margin-bottom: 1.5rem;
}
.article-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 2.2rem;
}
.article-content h2 { font-size: 1.4rem; margin: 2.2rem 0 0.9rem; }
.article-content h3 { font-size: 1.12rem; margin: 1.6rem 0 0.7rem; }
.article-content p,
.article-content li { line-height: 1.85; }
.article-content ul, .article-content ol { padding-left: 1.4rem; }
.article-content li { margin-bottom: 0.5rem; }
.tip-box {
  background: var(--hw-primary-soft);
  border: 1px dashed rgba(15, 164, 138, 0.45);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.tip-box .bi { color: var(--hw-primary-dark); margin-right: 0.4rem; }

/* ---------- Footer ---------- */
.footer {
  background: #0b3235;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
}
.footer .brand-text { color: #fff; }
.footer h5 {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s;
}
.footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-links a i { color: var(--hw-primary); font-size: 0.78rem; margin-right: 0.5rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  align-items: flex-start;
}
.footer-contact i { color: var(--hw-primary); margin-top: 4px; flex: none; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.footer-social a:hover {
  background: var(--hw-primary);
  border-color: var(--hw-primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-sub { display: flex; gap: 0.5rem; }
.footer-sub .form-control {
  flex: 1;
  min-width: 0;
  border-radius: 50rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.footer-sub .form-control::placeholder { color: rgba(255, 255, 255, 0.45); }
.footer-sub .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--hw-primary);
  box-shadow: none;
  color: #fff;
}
.footer-sub .btn { padding: 0.65rem 1.1rem; }
.footer-sub-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 164, 138, 0.15);
  border: 1px dashed rgba(15, 164, 138, 0.5);
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-size: 0.9rem;
  margin: 0;
}
.footer-sub-success i { color: #38d9b9; font-size: 1.1rem; flex: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hw-primary);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(15, 164, 138, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s;
  z-index: 1050;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--hw-primary-dark); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: 8rem 0 6rem; min-height: auto; }
  .page-hero { padding: 8.5rem 0 4.5rem; }
  .exp-badge { left: 10px; }
}
@media (max-width: 575.98px) {
  .section { padding: 4rem 0; }
  .btn { padding: 0.65rem 1.4rem; }
  .article-img { height: 240px; }
}
