/* ==========================================================
   Health Heal Zone - custom styles (works on top of Bootstrap 5)
   ========================================================== */

:root {
  --hh-deep: #0b4f4a;
  --hh-teal: #0f8b7d;
  --hh-teal-2: #14a392;
  --hh-mint: #e6f7f3;
  --hh-coral: #ff7a59;
  --hh-cream: #fbf9f4;
  --hh-ink: #1d2b29;
  --hh-muted: #5b6b68;
  --hh-radius: 24px;
  --hh-shadow: 0 12px 34px -18px rgba(11, 79, 74, .35);
  --hh-shadow-lg: 0 28px 60px -24px rgba(11, 79, 74, .4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--hh-ink);
  background: var(--hh-cream);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { color: var(--hh-deep); font-weight: 700; line-height: 1.25; }
a { color: var(--hh-teal); }
a:hover { color: var(--hh-deep); }
section[id] { scroll-margin-top: 90px; }
.ic { vertical-align: -0.125em; }

/* ---------- Navbar & logo ---------- */
.navbar-hh {
  background: rgba(251, 249, 244, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .3s ease, padding .3s ease;
}
.navbar-hh.scrolled { box-shadow: 0 10px 30px -18px rgba(11, 79, 74, .45); padding: .5rem 0; }
.navbar-brand { padding: 0; }
.navbar-brand img { height: 46px; width: auto; display: block; white-space: nowrap; }
.navbar-hh .nav-link {
  color: var(--hh-ink);
  font-weight: 500;
  padding: .5rem .85rem !important;
  position: relative;
  white-space: nowrap;
}
.navbar-hh .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .15rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hh-teal), var(--hh-coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar-hh .nav-link:hover::after,
.navbar-hh .nav-link.active::after { transform: scaleX(1); }
.navbar-hh .nav-link.active { color: var(--hh-teal); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Buttons ---------- */
.btn-hh {
  background: linear-gradient(135deg, var(--hh-teal), var(--hh-teal-2));
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: .72rem 1.6rem;
  font-weight: 600;
  box-shadow: 0 12px 26px -12px rgba(15, 139, 125, .75);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-hh:hover, .btn-hh:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15, 139, 125, .8); }
.btn-hh.btn-sm { padding: .5rem 1.15rem; font-size: .9rem; }
.btn-coral {
  background: linear-gradient(135deg, #ff7a59, #ff9a7b);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: .72rem 1.6rem;
  font-weight: 600;
  box-shadow: 0 12px 26px -12px rgba(255, 122, 89, .8);
  transition: transform .25s ease;
}
.btn-coral:hover { color: #fff; transform: translateY(-2px); }
.btn-outline-hh {
  border: 2px solid var(--hh-teal);
  color: var(--hh-teal);
  background: transparent;
  border-radius: 50px;
  padding: .7rem 1.5rem;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-outline-hh:hover { background: var(--hh-teal); color: #fff; }
.btn-outline-hh.btn-sm { padding: .45rem 1.1rem; font-size: .9rem; }
.btn-light-hh {
  background: #fff;
  color: var(--hh-deep);
  border: 0;
  border-radius: 50px;
  padding: .75rem 1.6rem;
  font-weight: 600;
  transition: transform .25s ease;
}
.btn-light-hh:hover { color: var(--hh-teal); transform: translateY(-2px); }
.btn-outline-light-hh {
  border: 2px solid rgba(255, 255, 255, .8);
  color: #fff;
  background: transparent;
  border-radius: 50px;
  padding: .7rem 1.5rem;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-outline-light-hh:hover { background: #fff; color: var(--hh-deep); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.5rem;
  background:
    radial-gradient(circle at 8% 18%, #d3f1e9 0, transparent 38%),
    radial-gradient(circle at 92% 82%, #ffe3d8 0, transparent 34%),
    var(--hh-cream);
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: -.02em; }
.highlight {
  background: linear-gradient(120deg, var(--hh-teal), var(--hh-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; }
.hero-img-wrap { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 48px 48px 180px 48px;
  box-shadow: var(--hh-shadow-lg);
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  padding: .6rem 1.1rem;
  box-shadow: var(--hh-shadow);
  font-weight: 600;
  font-size: .9rem;
  color: var(--hh-deep);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .ic { color: var(--hh-coral); font-size: 1.1rem; }
.chip-1 { top: 8%; left: -4%; }
.chip-2 { bottom: 10%; right: -3%; animation-delay: -2.5s; }
.chip {
  background: #fff;
  border-radius: 50px;
  padding: .5rem 1rem;
  box-shadow: 0 8px 20px -14px rgba(11, 79, 74, .45);
  font-weight: 500;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--hh-deep);
}
.chip .ic { color: var(--hh-teal); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hh-deep) 0%, var(--hh-teal) 60%, var(--hh-teal-2) 100%);
  padding: 5.5rem 0 5rem;
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  top: -180px; right: -110px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255, 122, 89, .2);
  bottom: -140px; left: 8%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { color: rgba(255, 255, 255, .88); max-width: 720px; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: #fff; margin-bottom: 1.25rem; }
.breadcrumb-item a { color: #c9f5ec; text-decoration: none; }
.breadcrumb-item a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section-alt { background: #fff; }
.section-mint { background: linear-gradient(180deg, var(--hh-mint), var(--hh-cream)); }
.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.01em; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hh-teal);
  background: var(--hh-mint);
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.lead-soft { color: var(--hh-muted); }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .8rem; font-weight: 500; }
.checklist .ic { color: var(--hh-teal); font-size: 1.3rem; margin-top: .2rem; flex-shrink: 0; }

.about-img { border-radius: 40px; box-shadow: var(--hh-shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 4.2; }

/* ---------- Cards ---------- */
.card-hh {
  border: 0;
  border-radius: var(--hh-radius);
  background: #fff;
  box-shadow: var(--hh-shadow);
  transition: transform .35s ease, box-shadow .35s ease;
  overflow: hidden;
  height: 100%;
}
.card-hh:hover { transform: translateY(-8px); box-shadow: var(--hh-shadow-lg); }
.icon-badge {
  width: 66px; height: 66px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hh-mint);
  color: var(--hh-teal);
  font-size: 1.75rem;
  transition: all .35s ease;
  margin-bottom: 1.25rem;
}
.feature-card { padding: 2.2rem 1.9rem; }
.feature-card:hover .icon-badge { background: linear-gradient(135deg, var(--hh-teal), var(--hh-teal-2)); color: #fff; transform: rotate(-6deg) scale(1.06); }
.feature-card p { color: var(--hh-muted); margin-bottom: 0; }

.card-img-wrap { overflow: hidden; }
.service-card .card-img-top { height: 215px; width: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .card-img-top { transform: scale(1.06); }
.service-card .card-body { padding: 1.75rem; display: flex; flex-direction: column; }
.service-card .card-title { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { color: var(--hh-muted); font-size: .95rem; }
.service-card .btn { align-self: flex-start; margin-top: auto; }

.testimonial-card { padding: 2.2rem; position: relative; }
.quote-icon { font-size: 2.1rem; color: var(--hh-coral); }
.testimonial-card blockquote { font-size: 1.02rem; color: var(--hh-ink); margin: 1rem 0 1.5rem; font-style: italic; }
.stars { color: #f6b400; letter-spacing: .2em; font-size: 1rem; margin-bottom: .25rem; }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hh-teal), var(--hh-coral));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.badge-soft {
  background: var(--hh-mint);
  color: var(--hh-deep);
  font-weight: 600;
  font-size: .78rem;
  padding: .45rem .9rem;
  border-radius: 50px;
  letter-spacing: .02em;
}
.blog-img { height: 235px; width: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-img { transform: scale(1.06); }
.read-more { color: var(--hh-teal); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; transition: gap .3s ease; }
.read-more .ic { transition: transform .3s ease; }
.blog-card:hover .read-more { gap: .7rem; color: var(--hh-coral); }
.blog-card:hover .read-more .ic { transform: translateX(3px); }
.blog-card h3 a { color: var(--hh-deep); }
.blog-card h3 a:hover { color: var(--hh-teal); }

/* ---------- FAQ ---------- */
.accordion { max-width: 860px; margin: 0 auto; }
.accordion-item { border: 0; border-radius: 18px !important; margin-bottom: 1rem; overflow: hidden; box-shadow: 0 8px 24px -18px rgba(11, 79, 74, .45); }
.accordion-button { font-weight: 600; color: var(--hh-deep); padding: 1.25rem 1.5rem; background: #fff; font-size: 1.02rem; }
.accordion-button:not(.collapsed) { background: var(--hh-mint); color: var(--hh-deep); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(15, 139, 125, .25); }
.accordion-body { padding: 1.25rem 1.5rem 1.5rem; background: #fff; color: var(--hh-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 4.5rem 2rem;
  background: linear-gradient(120deg, var(--hh-deep), var(--hh-teal) 60%, var(--hh-teal-2));
  color: #fff;
  text-align: center;
  box-shadow: var(--hh-shadow-lg);
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cta-band::before { width: 320px; height: 320px; top: -160px; left: -90px; }
.cta-band::after { width: 260px; height: 260px; bottom: -130px; right: -60px; background: rgba(255, 122, 89, .2); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 620px; margin: 0 auto; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 32px; padding: 2.75rem; box-shadow: var(--hh-shadow-lg); }
.form-control, .form-select {
  border-radius: 14px;
  padding: .8rem 1rem;
  border: 1.5px solid #d5e5e1;
  background: #fbfdfc;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--hh-teal);
  box-shadow: 0 0 0 .25rem rgba(15, 139, 125, .15);
  background: #fff;
}
.form-label { font-weight: 600; color: var(--hh-deep); font-size: .9rem; margin-bottom: .4rem; }
.form-check-input:checked { background-color: var(--hh-teal); border-color: var(--hh-teal); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(15, 139, 125, .15); }
.form-check-label { color: var(--hh-ink); }
.interest-pill {
  display: inline-block;
  margin: 0 .4rem .6rem 0;
}
.interest-pill input { position: absolute; opacity: 0; pointer-events: none; }
.interest-pill span {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 50px;
  border: 1.5px solid #cfe3de;
  background: #fbfdfc;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s ease;
  color: var(--hh-deep);
}
.interest-pill input:checked + span { background: var(--hh-teal); border-color: var(--hh-teal); color: #fff; }
.interest-pill input:focus-visible + span { outline: 3px solid rgba(15, 139, 125, .3); outline-offset: 2px; }
.success-box { text-align: center; padding: 2.5rem 1rem; }
.success-box .success-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--hh-mint); color: var(--hh-teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2.6rem; margin-bottom: 1.25rem;
  animation: pop .6s cubic-bezier(.2, .9, .3, 1.4);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Contact info ---------- */
.info-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--hh-shadow);
  margin-bottom: 1rem;
  transition: transform .3s ease;
}
.info-card:hover { transform: translateX(6px); }
.info-card .icon-badge { margin-bottom: 0; width: 56px; height: 56px; font-size: 1.5rem; border-radius: 16px; flex-shrink: 0; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-card p, .info-card a { color: var(--hh-muted); margin: 0; word-break: break-word; }
.info-card a { text-decoration: none; font-weight: 500; }
.info-card a:hover { color: var(--hh-teal); }
.map-frame { border: 0; border-radius: 28px; width: 100%; height: 300px; box-shadow: var(--hh-shadow); }

/* ---------- Article pages ---------- */
.article { max-width: 790px; margin: 0 auto; font-size: 1.05rem; }
.article h2 { font-size: 1.6rem; margin-top: 2.6rem; margin-bottom: .9rem; }
.article p { color: #33423f; margin-bottom: 1.15rem; }
.article ul { color: #33423f; padding-left: 1.2rem; }
.article ul li { margin-bottom: .55rem; }
.article-hero-img { width: 100%; height: 440px; object-fit: cover; border-radius: 36px; margin-bottom: 2.5rem; box-shadow: var(--hh-shadow-lg); }
.lead-quote {
  border-left: 4px solid var(--hh-coral);
  padding: .9rem 1.25rem;
  font-size: 1.18rem;
  font-style: italic;
  color: var(--hh-deep);
  background: linear-gradient(90deg, var(--hh-mint), transparent);
  border-radius: 0 18px 18px 0;
  margin-bottom: 1.5rem;
}
.note-box {
  background: var(--hh-mint);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  color: var(--hh-deep);
  font-size: .94rem;
  margin-top: 3rem;
}
.legal-box {
  background: #fff;
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--hh-shadow);
}
.legal-box h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal-box h2:first-child { margin-top: 0; }
.legal-box p, .legal-box li { color: #33423f; }
.legal-box ul { padding-left: 1.2rem; }
.legal-box ul li { margin-bottom: .5rem; }

/* ---------- Steps (about) ---------- */
.step-card { padding: 2.2rem 1.7rem; text-align: center; }
.step-card .icon-badge { margin-left: auto; margin-right: auto; }
.step-card p { color: var(--hh-muted); margin-bottom: 0; font-size: .96rem; }
.step-arrow { color: var(--hh-coral); font-size: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--hh-deep), #083b37);
  color: #bfe3dc;
  padding: 4.5rem 0 1.5rem;
}
.site-footer a { color: #bfe3dc; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-logo { height: 46px; width: auto; display: block; white-space: nowrap; }
.footer-links { padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .9rem;
  color: #9cc9c1;
}

/* ---------- Misc ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--hh-teal), var(--hh-teal-2));
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(11, 79, 74, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .3s ease;
  z-index: 1040;
}
.to-top .ic { transform: rotate(-90deg); font-size: 1.1rem; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 991.98px) {
  .navbar-hh .navbar-collapse { background: #fff; border-radius: 20px; padding: 1rem; margin-top: .75rem; box-shadow: var(--hh-shadow); }
  .navbar-hh .nav-link::after { display: none; }
  .navbar-hh .nav-link { padding: .6rem .5rem !important; }
  .hero { padding: 4.5rem 0 4rem; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .section { padding: 4.5rem 0; }
  .form-card, .legal-box { padding: 1.9rem; }
  .cta-band { padding: 3.2rem 1.4rem; border-radius: 30px; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { height: 40px; }
  .page-hero { padding: 4rem 0 3.5rem; }
  .article-hero-img { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
