/* ============================================================
   Pure Health Consult — custom styles
   purehealthconsult.com
   ============================================================ */

:root {
  --ph-teal: #0d9488;
  --ph-teal-dark: #0b7a6e;
  --ph-teal-darker: #0a5f56;
  --ph-teal-light: #e6f6f3;
  --ph-ink: #10312c;
  --ph-slate: #5c706c;
  --ph-soft: #f3f9f7;
  --ph-lime: #8edb4b;
  --ph-gold: #f5b942;
  --ph-radius: 14px;
  --ph-shadow: 0 10px 30px rgba(13, 80, 72, 0.08);
  --ph-shadow-lg: 0 22px 55px rgba(13, 80, 72, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ph-ink);
  background: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-5, .display-6 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  color: var(--ph-ink);
}

a { text-decoration: none; }

img { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn-ph {
  background: var(--ph-teal);
  color: #fff;
  border: none;
  border-radius: 50rem;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s ease;
}
.btn-ph:hover, .btn-ph:focus {
  background: var(--ph-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13, 148, 136, .35);
}
.btn-ph-outline {
  background: transparent;
  color: var(--ph-teal);
  border: 2px solid var(--ph-teal);
  border-radius: 50rem;
  padding: 0.62rem 1.55rem;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-ph-outline:hover {
  background: var(--ph-teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ph-white {
  background: #fff;
  color: var(--ph-teal-dark);
  border: none;
  border-radius: 50rem;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-ph-white:hover {
  background: var(--ph-teal-light);
  color: var(--ph-teal-darker);
  transform: translateY(-2px);
}
.btn-link-ph {
  color: var(--ph-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s ease;
}
.btn-link-ph:hover { color: var(--ph-teal-dark); gap: .7rem; }

/* ---------- Navbar ---------- */
.navbar-ph {
  background: #ffffff;
  padding: 0.9rem 0;
  transition: all .3s ease;
  border-bottom: 1px solid rgba(13, 148, 136, .12);
}
.navbar-ph.scrolled { box-shadow: 0 8px 28px rgba(13, 80, 72, .10); }
.navbar-ph .nav-link {
  color: var(--ph-ink);
  font-weight: 500;
  margin: 0 .35rem;
  padding: .5rem .8rem !important;
  border-radius: 50rem;
  transition: all .2s ease;
}
.navbar-ph .nav-link:hover,
.navbar-ph .nav-link.active {
  color: var(--ph-teal);
  background: var(--ph-teal-light);
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ph-teal), #14b8a6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: .55rem;
}
.navbar-brand { font-weight: 700; font-size: 1.25rem; }
.navbar-brand small {
  display: block;
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--ph-slate);
  font-weight: 600;
  text-transform: uppercase;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(52, 211, 153, .18), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(13, 148, 136, .12), transparent 55%),
    linear-gradient(160deg, #f2faf8 0%, #ffffff 55%);
  padding: 7.5rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(13, 148, 136, .10), transparent 65%);
  border-radius: 50%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ph-teal-light);
  color: var(--ph-teal-dark);
  font-weight: 600;
  font-size: .85rem;
  padding: .45rem 1.1rem;
  border-radius: 50rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 700;
  line-height: 1.15;
}
.hero h1 .hl { color: var(--ph-teal); position: relative; }
.hero p.lead { color: var(--ph-slate); font-size: 1.06rem; max-width: 540px; }
.hero-img-wrap { position: relative; }
.hero-img-wrap img {
  border-radius: 22px;
  box-shadow: var(--ph-shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(52, 211, 153, .16), transparent 60%),
    linear-gradient(160deg, #f0faf7 0%, #ffffff 70%);
  padding: 5.2rem 0 3.4rem;
}
.page-hero h1 { font-weight: 700; }
.breadcrumb-ph { font-size: .88rem; color: var(--ph-slate); }
.breadcrumb-ph a { color: var(--ph-teal); font-weight: 600; }
.breadcrumb-ph .sep { margin: 0 .45rem; color: #b9c9c5; }
.breadcrumb-ph .current { color: var(--ph-ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-soft { background: var(--ph-soft); }
.section-eyebrow {
  display: inline-block;
  color: var(--ph-teal);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-title { font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-sub { color: var(--ph-slate); max-width: 620px; margin: 0 auto; }

/* ---------- Cards ---------- */
.ph-card {
  background: #fff;
  border: 1px solid rgba(13, 148, 136, .10);
  border-radius: var(--ph-radius);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.ph-card:hover { transform: translateY(-8px); box-shadow: var(--ph-shadow-lg); }

/* service cards */
.service-card .card-img {
  height: 215px;
  object-fit: cover;
  border-radius: var(--ph-radius) var(--ph-radius) 0 0;
  width: 100%;
}
.service-card .card-body { padding: 1.5rem 1.4rem 1.6rem; }
.service-card h3, .service-card h5 { font-size: 1.15rem; font-weight: 600; }
.service-card p { color: var(--ph-slate); font-size: .93rem; }

/* feature / why-choose-us cards */
.feature-card { padding: 1.9rem 1.5rem; text-align: center; }
.feature-card .ficon {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--ph-teal-light);
  color: var(--ph-teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: all .3s ease;
}
.feature-card:hover .ficon {
  background: var(--ph-teal);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.feature-card h5 { font-size: 1.05rem; }
.feature-card p { color: var(--ph-slate); font-size: .9rem; margin-bottom: 0; }

/* blog cards */
.blog-card .card-img {
  height: 200px;
  object-fit: cover;
  border-radius: var(--ph-radius) var(--ph-radius) 0 0;
  width: 100%;
}
.blog-card .card-body { padding: 1.5rem 1.4rem; }
.blog-card h5 { line-height: 1.4; }
.blog-card h5 a { color: var(--ph-ink); transition: color .2s ease; }
.blog-card h5 a:hover { color: var(--ph-teal); }
.blog-card p { color: var(--ph-slate); font-size: .92rem; }

/* testimonial cards */
.testimonial-card { padding: 2rem 1.8rem; }
.testimonial-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--ph-teal);
  font-family: Georgia, serif;
}
.testimonial-card p { color: var(--ph-slate); font-style: italic; font-size: .97rem; }
.testimonial-card .t-name { font-weight: 600; font-size: .98rem; }

/* info / contact cards */
.info-card { padding: 1.7rem 1.5rem; text-align: center; }
.info-card .ficon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ph-teal-light); color: var(--ph-teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.info-card h6 { font-weight: 600; }
.info-card p { color: var(--ph-slate); font-size: .92rem; margin-bottom: 0; }
.info-card a { color: var(--ph-teal); font-weight: 600; }

/* steps (how it works) */
.step-card { position: relative; padding: 1.8rem 1.5rem; text-align: center; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ph-teal);
  color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: .9rem;
  box-shadow: 0 8px 18px rgba(13, 148, 136, .35);
}
.step-card p { color: var(--ph-slate); font-size: .92rem; margin-bottom: 0; }

/* ---------- About page ---------- */
.about-img {
  border-radius: 20px;
  box-shadow: var(--ph-shadow-lg);
  width: 100%;
  object-fit: cover;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: .7rem;
  color: var(--ph-ink);
  font-size: .96rem;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ph-teal-light);
  color: var(--ph-teal-dark);
  font-size: .78rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.value-card { padding: 1.9rem 1.6rem; }
.value-card h5 { font-size: 1.08rem; }
.value-card p { color: var(--ph-slate); font-size: .92rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.accordion-ph .accordion-item {
  border: 1px solid rgba(13, 148, 136, .14);
  border-radius: 12px !important;
  margin-bottom: .9rem;
  overflow: hidden;
  background: #fff;
}
.accordion-ph .accordion-button {
  font-weight: 600;
  font-size: .98rem;
  color: var(--ph-ink);
  padding: 1.15rem 1.35rem;
  background: #fff;
}
.accordion-ph .accordion-button:not(.collapsed) {
  background: var(--ph-teal-light);
  color: var(--ph-teal-darker);
  box-shadow: none;
}
.accordion-ph .accordion-button:focus { box-shadow: none; }
.accordion-ph .accordion-body { color: var(--ph-slate); font-size: .94rem; padding: 1rem 1.35rem 1.3rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(120deg, var(--ph-teal-darker) 0%, var(--ph-teal) 60%, #14b8a6 100%);
  border-radius: 26px;
  padding: 3.6rem 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-weight: 700; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 620px; }
.cta-banner .phone-chip {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50rem;
  padding: .55rem 1.2rem;
  font-weight: 600;
  color: #fff;
  font-size: .95rem;
}
.cta-banner .phone-chip:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid rgba(13, 148, 136, .12);
  border-radius: 20px;
  box-shadow: var(--ph-shadow);
  padding: 2.4rem;
}
.form-label { font-weight: 600; font-size: .9rem; }
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid #dde8e5;
  padding: .72rem .95rem;
  font-size: .95rem;
  color: var(--ph-ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--ph-teal);
  box-shadow: 0 0 0 .22rem rgba(13, 148, 136, .15);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }
.form-check-input:checked { background-color: var(--ph-teal); border-color: var(--ph-teal); }
.form-success {
  background: #fff;
  border: 1px solid rgba(13, 148, 136, .18);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}
.form-success .ok-badge {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--ph-teal-light);
  color: var(--ph-teal-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  animation: pop .5s ease;
}
@keyframes pop {
  0% { transform: scale(.4); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.newsletter-inline {
  display: flex;
  gap: .5rem;
  background: rgba(255,255,255,.95);
  border-radius: 50rem;
  padding: .4rem;
}
.newsletter-inline input {
  border: none;
  background: transparent;
  flex: 1;
  padding: .5rem 1rem;
  font-size: .92rem;
  min-width: 0;
}
.newsletter-inline input:focus { outline: none; }
.interest-grid .form-check { margin-bottom: .4rem; }

/* ---------- Blog article ---------- */
.article-hero {
  background: linear-gradient(160deg, #f0faf7 0%, #ffffff 70%);
  padding: 5rem 0 2.6rem;
}
.article-body { font-size: 1.02rem; line-height: 1.85; color: #2d4540; }
.article-body h2 { font-size: 1.5rem; margin-top: 2.6rem; margin-bottom: 1rem; }
.article-body h3 { font-size: 1.18rem; margin-top: 2rem; margin-bottom: .8rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img {
  border-radius: 18px;
  box-shadow: var(--ph-shadow);
  margin: 1.6rem 0;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.article-callout {
  background: var(--ph-teal-light);
  border-left: 4px solid var(--ph-teal);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
  color: var(--ph-teal-darker);
  font-weight: 500;
  margin: 1.6rem 0;
}
.key-points {
  background: #fff;
  border: 1px solid rgba(13, 148, 136, .15);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
}
.key-points h6 { color: var(--ph-teal-dark); font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal-body h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.legal-body h3 { font-size: 1.08rem; margin-top: 1.8rem; color: var(--ph-teal-dark); }
.legal-body p, .legal-body li { color: #3d5550; line-height: 1.8; font-size: .98rem; }
.legal-body li { margin-bottom: .45rem; }
.legal-updated {
  background: var(--ph-teal-light);
  border-radius: 12px;
  padding: .9rem 1.3rem;
  color: var(--ph-teal-darker);
  font-weight: 600;
  font-size: .92rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #0b2723;
  color: #c6d8d4;
  padding: 4.5rem 0 0;
  font-size: .93rem;
}
.footer h6 {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}
.footer .f-brand { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; }
.footer a { color: #c6d8d4; transition: color .2s ease; }
.footer a:hover { color: #5eead4; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .6rem; }
.footer ul li a { display: inline-flex; align-items: center; gap: .45rem; }
.footer .f-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; }
.footer .f-contact svg { flex: 0 0 auto; color: #5eead4; }
.footer .social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .45rem;
  transition: all .25s ease;
  color: #fff;
}
.footer .social a:hover { background: var(--ph-teal); transform: translateY(-3px); }
.footer .newsletter-inline { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); }
.footer .newsletter-inline input { color: #fff; }
.footer .newsletter-inline input::placeholder { color: #9db5b0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  margin-top: 3rem;
  padding: 1.3rem 0;
  font-size: .85rem;
  color: #93aca7;
}
.footer-bottom a { color: #c6d8d4; }

/* ---------- Misc ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ph-teal);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all .3s ease;
  box-shadow: 0 10px 24px rgba(13, 148, 136, .4);
  z-index: 1050;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--ph-teal-dark); color: #fff; transform: translateY(-3px); }

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

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, .15);
  box-shadow: var(--ph-shadow);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

@media (max-width: 991.98px) {
  .hero { padding-top: 5.5rem; }
  .section { padding: 3.6rem 0; }
  .cta-banner { padding: 2.6rem 1.8rem; }
  .form-card { padding: 1.8rem; }
}
