/* =================================================================
   Peace Health Guide — Custom Stylesheet
   Theme: Calm teal & mint healthcare aesthetic with creative touches
   ================================================================= */

:root {
  --phg-primary: #0ea898;
  --phg-primary-600: #0b8d80;
  --phg-primary-700: #08756a;
  --phg-deep: #093746;
  --phg-deep-2: #0d4b5c;
  --phg-ink: #10323c;
  --phg-text: #4f676f;
  --phg-mint: #eaf7f5;
  --phg-mint-2: #f5fcfb;
  --phg-accent: #ffb14d;
  --phg-coral: #ff7a63;
  --phg-sky: #4fb3d9;
  --phg-white: #ffffff;
  --phg-radius: 1.25rem;
  --phg-shadow-sm: 0 6px 18px rgba(9, 55, 70, .08);
  --phg-shadow: 0 16px 46px rgba(9, 55, 70, .12);
  --phg-shadow-lg: 0 26px 70px rgba(9, 55, 70, .18);
  --phg-font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --phg-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

body {
  font-family: var(--phg-font-body);
  color: var(--phg-text);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--phg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--phg-font-head);
  color: var(--phg-ink);
  font-weight: 700;
  line-height: 1.25;
}

a { text-decoration: none; color: var(--phg-primary); transition: color .25s ease; }
a:hover { color: var(--phg-primary-700); }

img { max-width: 100%; height: auto; }

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

.phg-section { padding: 5.5rem 0; position: relative; }
.bg-mint { background: var(--phg-mint-2); }
.bg-mint-deep { background: linear-gradient(180deg, var(--phg-mint) 0%, #ffffff 100%); }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 50rem;
  font-weight: 600;
  padding: .72rem 1.7rem;
  transition: all .3s ease;
  font-family: var(--phg-font-head);
}

.btn-phg {
  background: linear-gradient(135deg, var(--phg-primary) 0%, var(--phg-primary-600) 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 10px 26px rgba(14, 168, 152, .38);
}
.btn-phg:hover, .btn-phg:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(14, 168, 152, .46);
  color: #fff;
}

.btn-outline-phg {
  border: 2px solid var(--phg-primary);
  color: var(--phg-primary-700);
  background: transparent;
}
.btn-outline-phg:hover {
  background: var(--phg-primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn-light-phg {
  background: #ffffff;
  color: var(--phg-deep) !important;
  border: none;
  box-shadow: 0 10px 26px rgba(4, 32, 42, .28);
}
.btn-light-phg:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(4,32,42,.34); }

.btn-ghost-light {
  border: 2px solid rgba(255,255,255,.65);
  color: #fff;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-3px); }

.btn-sm { padding: .52rem 1.25rem; font-size: .9rem; }

/* ---------- Section headings ---------- */
.phg-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(14, 168, 152, .1);
  color: var(--phg-primary-700);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .42rem 1.1rem;
  border-radius: 50rem;
  margin-bottom: 1rem;
}
.phg-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phg-primary);
  box-shadow: 0 0 0 4px rgba(14,168,152,.18);
}
.phg-badge.badge-light {
  background: rgba(255,255,255,.16);
  color: #eafcff;
}
.phg-badge.badge-light .dot { background: var(--phg-accent); box-shadow: 0 0 0 4px rgba(255,177,77,.22); }

.phg-section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-bottom: 1rem;
}
.phg-section-title .txt-teal { color: var(--phg-primary); }
.phg-lead { color: var(--phg-text); font-size: 1.06rem; }

/* ---------- Navbar ---------- */
.phg-navbar {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .85rem 0;
  transition: all .3s ease;
  border-bottom: 1px solid rgba(9, 55, 70, .06);
}
.phg-navbar.scrolled { box-shadow: var(--phg-shadow-sm); padding: .55rem 0; }

.phg-brand { display: flex; align-items: center; gap: .65rem; }

.phg-logo-icon { width: 42px; height: 42px; flex: 0 0 auto; }

/* Logo wordmark — single line, one consistent style */
.phg-brand-text {
  font-family: var(--phg-font-head);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: .2px;
  color: var(--phg-deep);
  white-space: nowrap;
  line-height: 1.1;
}

.phg-nav-link {
  position: relative;
  color: var(--phg-ink) !important;
  font-weight: 500;
  font-family: var(--phg-font-head);
  font-size: .98rem;
  margin: 0 .35rem;
  padding: .4rem .2rem !important;
  transition: color .25s ease;
}
.phg-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--phg-primary), var(--phg-accent));
  transition: width .3s ease;
}
.phg-nav-link:hover::after, .phg-nav-link.active::after { width: 100%; }
.phg-nav-link:hover, .phg-nav-link.active { color: var(--phg-primary-700) !important; }

.navbar-toggler {
  border: none;
  padding: .35rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(14,168,152,.25); }
.phg-toggler-bar {
  display: block; width: 24px; height: 2.5px;
  background: var(--phg-deep);
  margin: 5px 0; border-radius: 3px;
  transition: all .3s ease;
}

@media (max-width: 991.98px) {
  .phg-navbar .navbar-collapse {
    background: #ffffff;
    margin-top: .8rem;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--phg-shadow);
  }
  .phg-nav-link { display: inline-block; margin: .25rem 0; }
  .phg-brand-text { font-size: 1.15rem; }
}

/* Page hero needs top spacing because navbar is fixed */
.phg-main { padding-top: 76px; }

/* ---------- Hero ---------- */
.phg-hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(79, 179, 217, .28), transparent 60%),
    radial-gradient(700px 420px at -8% 110%, rgba(255, 177, 77, .18), transparent 55%),
    linear-gradient(135deg, #083040 0%, #0a4d57 45%, #0c7a72 100%);
  color: #d9f3f2;
  padding: 5.5rem 0 11rem;
  overflow: hidden;
}

.phg-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 1.15rem;
}
.phg-hero h1 .txt-hl {
  position: relative;
  display: inline-block;
  color: var(--phg-accent);
}
.phg-hero p.hero-lead { font-size: 1.12rem; color: #c4e6e4; max-width: 34rem; }

.hero-checks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.hero-checks li {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #e6f7f6; font-weight: 500; font-size: .97rem;
  margin-right: 1.4rem; margin-bottom: .5rem;
}
.hero-checks svg { flex: 0 0 auto; }

.hero-deco {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-deco.d1 {
  width: 280px; height: 280px; top: -90px; right: -60px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.14), transparent 65%);
}
.hero-deco.d2 {
  width: 160px; height: 160px; bottom: 70px; left: -50px;
  border: 28px solid rgba(255, 177, 77, .16);
}
.hero-deco.d3 {
  width: 90px; height: 90px; top: 42%; left: 46%;
  background: radial-gradient(circle, rgba(14,168,152,.35), transparent 70%);
}
.hero-deco.ring {
  width: 54px; height: 54px; border: 10px solid rgba(255,255,255,.2);
  top: 18%; left: 44%;
}

.hero-img-wrap { position: relative; }
.hero-img-blob {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  border-radius: 46% 54% 55% 45% / 48% 42% 58% 52%;
  border: 6px solid rgba(255,255,255,.22);
  box-shadow: var(--phg-shadow-lg);
  animation: blobMorph 12s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0%   { border-radius: 46% 54% 55% 45% / 48% 42% 58% 52%; }
  50%  { border-radius: 55% 45% 42% 58% / 42% 55% 45% 58%; }
  100% { border-radius: 48% 52% 58% 42% / 55% 45% 52% 48%; }
}
.hero-img-wrap::before {
  content: "";
  position: absolute; inset: -26px -18px auto auto;
  width: 46%; height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,177,77,.35), transparent 70%);
  z-index: 0;
}

.hero-float-card {
  position: absolute;
  left: -14px; bottom: 26px;
  background: #ffffff;
  border-radius: 1.1rem;
  padding: .9rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  box-shadow: var(--phg-shadow);
  max-width: 264px;
  animation: floatY 5.5s ease-in-out infinite;
}
.hero-float-card .fic {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--phg-primary), var(--phg-primary-700));
  display: flex; align-items: center; justify-content: center;
}
.hero-float-card .fic.icon-warm { background: linear-gradient(135deg, var(--phg-accent), var(--phg-coral)); }
.hero-float-card strong { display: block; color: var(--phg-ink); font-size: .95rem; line-height: 1.3; }
.hero-float-card span { font-size: .82rem; color: var(--phg-text); }

.hero-float-card.top { top: 22px; right: -8px; left: auto; bottom: auto; animation-delay: 1.4s; }

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

.phg-wave {
  position: absolute; left: 0; right: 0; bottom: -2px;
  width: 100%; height: 110px; display: block;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(800px 380px at 88% -20%, rgba(79,179,217,.25), transparent 60%),
    radial-gradient(600px 320px at -5% 140%, rgba(255,177,77,.14), transparent 60%),
    linear-gradient(135deg, #083040 0%, #0a4d57 50%, #0c7a72 100%);
  padding: 4.6rem 0 7.6rem;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.page-hero p { color: #c4e6e4; max-width: 42rem; margin: 0 auto; }
.phg-breadcrumb {
  display: inline-flex; gap: .5rem; align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50rem; padding: .4rem 1.15rem;
  margin-bottom: 1.1rem; font-size: .9rem;
}
.phg-breadcrumb a { color: #bdf0ec; }
.phg-breadcrumb .sep { color: rgba(255,255,255,.5); }
.phg-breadcrumb .cur { color: var(--phg-accent); font-weight: 600; }
.page-hero .phg-wave { height: 80px; }

/* ---------- About (home) ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap > img {
  border-radius: 2rem;
  box-shadow: var(--phg-shadow);
  position: relative; z-index: 2;
}
.about-img-wrap::before {
  content: "";
  position: absolute;
  width: 60%; height: 60%;
  right: -18px; top: -18px;
  background: radial-gradient(circle at 70% 30%, rgba(14,168,152,.35), transparent 70%);
  border-radius: 0 2rem 0 0;
  z-index: 1;
}
.about-img-wrap::after {
  content: "";
  position: absolute;
  width: 46%; height: 46%;
  left: -22px; bottom: -22px;
  border-radius: 50%;
  border: 22px solid rgba(255, 177, 77, .28);
  z-index: 1;
}
.about-badge-card {
  position: absolute; z-index: 3;
  right: -10px; bottom: 34px;
  background: #fff; border-radius: 1.1rem;
  padding: .95rem 1.25rem;
  box-shadow: var(--phg-shadow);
  display: flex; gap: .8rem; align-items: center;
  animation: floatY 6s ease-in-out infinite;
}
.about-badge-card .ic {
  width: 50px; height: 50px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--phg-primary), var(--phg-primary-700));
}
.about-badge-card strong { display: block; color: var(--phg-ink); line-height: 1.3; }
.about-badge-card span { font-size: .84rem; color: var(--phg-text); }

.phg-check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.phg-check-list li {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-bottom: 1rem; color: var(--phg-ink); font-weight: 500;
}
.phg-check-list li svg { flex: 0 0 auto; margin-top: .2rem; }
.phg-check-list li small { display: block; font-weight: 400; color: var(--phg-text); margin-top: .15rem; }

/* ---------- Why choose us ---------- */
.why-card {
  background: #fff;
  border-radius: var(--phg-radius);
  padding: 2.1rem 1.7rem;
  height: 100%;
  border: 1px solid rgba(9, 55, 70, .07);
  box-shadow: var(--phg-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--phg-primary), var(--phg-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.why-card:hover { transform: translateY(-10px); box-shadow: var(--phg-shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 66px; height: 66px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  background: var(--phg-mint);
}
.why-icon.ic-teal { background: rgba(14,168,152,.13); }
.why-icon.ic-amber { background: rgba(255,177,77,.16); }
.why-icon.ic-coral { background: rgba(255,122,99,.14); }
.why-icon.ic-sky { background: rgba(79,179,217,.15); }

.why-card h5 { margin-bottom: .6rem; }
.why-card p { font-size: .95rem; margin-bottom: 0; }

/* ---------- Services ---------- */
.phg-service-card {
  background: #fff;
  border-radius: var(--phg-radius);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(9, 55, 70, .07);
  box-shadow: var(--phg-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.phg-service-card:hover { transform: translateY(-10px); box-shadow: var(--phg-shadow-lg); }

.phg-service-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.phg-service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.phg-service-card:hover .phg-service-img img { transform: scale(1.08); }
.phg-service-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,55,70,.35) 100%);
  opacity: 0; transition: opacity .4s ease;
}
.phg-service-card:hover .phg-service-img::after { opacity: 1; }

.phg-service-ic {
  position: absolute; right: 18px; bottom: -24px; z-index: 2;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--phg-primary), var(--phg-primary-700));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(9,55,70,.25);
}

.phg-service-body {
  padding: 2.15rem 1.5rem 1.6rem;
  display: flex; flex-direction: column; flex: 1 1 auto;
}
.phg-service-body h5 {
  font-size: 1.18rem; margin-bottom: .55rem;
}
.phg-service-body p { font-size: .94rem; margin-bottom: 1.2rem; flex: 1 1 auto; }
.phg-service-btn { align-self: flex-start; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-card {
  background: #fff;
  border-radius: 1.6rem;
  padding: 2.8rem 2.4rem 2.2rem;
  box-shadow: var(--phg-shadow);
  margin: 1rem auto 2.4rem;
  max-width: 780px;
  text-align: center;
  position: relative;
}
.testi-quote-mark {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--phg-primary), var(--phg-primary-700));
  display: flex; align-items: center; justify-content: center;
  margin: -4.9rem auto 1.3rem auto;
  box-shadow: 0 10px 24px rgba(14,168,152,.4);
}
.testi-card blockquote {
  font-size: 1.14rem; color: var(--phg-ink);
  font-weight: 500; font-style: italic;
  margin-bottom: 1.4rem;
}
.testi-stars { display: flex; justify-content: center; gap: .25rem; margin-bottom: 1.1rem; }
.testi-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--phg-font-head); font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--phg-sky), var(--phg-primary));
  margin: 0 auto .6rem;
  font-size: 1.15rem;
}
.testi-card h6 { margin-bottom: .1rem; }
.testi-card small { color: var(--phg-text); }

.testi-nav .carousel-indicators { position: static; margin-top: .4rem; }
.testi-nav .carousel-indicators [data-bs-target] {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(14,168,152,.3);
  border: none; transition: all .3s ease;
}
.testi-nav .carousel-indicators .active {
  background: var(--phg-primary);
  width: 30px; border-radius: 8px;
}

/* ---------- Blog cards ---------- */
.phg-blog-card {
  background: #fff;
  border-radius: var(--phg-radius);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(9,55,70,.07);
  box-shadow: var(--phg-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.phg-blog-card:hover { transform: translateY(-10px); box-shadow: var(--phg-shadow-lg); }
.phg-blog-img { position: relative; overflow: hidden; aspect-ratio: 16/9.5; }
.phg-blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.phg-blog-card:hover .phg-blog-img img { transform: scale(1.08); }
.blog-cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(9, 55, 70, .78);
  color: #d9fbf8;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  padding: .32rem .9rem; border-radius: 50rem;
  backdrop-filter: blur(6px);
}
.phg-blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.phg-blog-body h5 { font-size: 1.12rem; line-height: 1.4; margin-bottom: .55rem; }
.phg-blog-body h5 a { color: var(--phg-ink); }
.phg-blog-body h5 a:hover { color: var(--phg-primary-700); }
.phg-blog-body p { font-size: .93rem; flex: 1 1 auto; }
.blog-link {
  font-weight: 600; font-size: .92rem; color: var(--phg-primary-700);
  display: inline-flex; align-items: center; gap: .4rem;
}
.blog-link svg { transition: transform .3s ease; }
.blog-link:hover svg { transform: translateX(5px); }
.blog-link:hover { color: var(--phg-primary); }

/* ---------- FAQ ---------- */
.phg-faq .accordion-item {
  border: 1px solid rgba(9,55,70,.09);
  border-radius: 1rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--phg-shadow-sm);
  background: #fff;
}
.phg-faq .accordion-button {
  font-family: var(--phg-font-head);
  font-weight: 600; color: var(--phg-ink);
  font-size: 1.02rem;
  padding: 1.15rem 1.4rem;
  background: #fff;
}
.phg-faq .accordion-button:not(.collapsed) {
  background: var(--phg-mint);
  color: var(--phg-primary-700);
  box-shadow: none;
}
.phg-faq .accordion-button:focus { box-shadow: none; border: none; }
.phg-faq .accordion-button::after {
  background-image: none !important;
  font-family: bootstrap-icons, sans-serif;
  content: "+";
  font-size: 1.5rem; line-height: 1;
  color: var(--phg-primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
  font-weight: 300;
  height: auto; width: auto;
  transform: none !important;
}
.phg-faq .accordion-button:not(.collapsed)::after { content: "−"; transform: none !important; }
.phg-faq .accordion-body { background: #fff; padding: 1.1rem 1.4rem 1.4rem; color: var(--phg-text); }

/* ---------- CTA band ---------- */
.phg-cta {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background:
    radial-gradient(500px 260px at 12% -30%, rgba(255,177,77,.28), transparent 60%),
    radial-gradient(600px 320px at 105% 130%, rgba(79,179,217,.28), transparent 60%),
    linear-gradient(135deg, #092f3c 0%, #0c6a67 100%);
  padding: 4.2rem 3rem;
  text-align: center;
  box-shadow: var(--phg-shadow-lg);
}
.phg-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.phg-cta p { color: #c4e6e4; max-width: 38rem; margin: 0 auto 2rem; }
.cta-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-ring.r1 { width: 170px; height: 170px; border: 26px solid rgba(255,255,255,.07); top: -60px; left: -40px; }
.cta-ring.r2 { width: 130px; height: 130px; border: 22px solid rgba(255,177,77,.15); bottom: -50px; right: 6%; }
.cta-ring.r3 { width: 70px; height: 70px; background: rgba(255,255,255,.06); top: 24%; right: -20px; }

/* ---------- Footer ---------- */
.phg-footer {
  background:
    radial-gradient(700px 300px at 110% -10%, rgba(14,168,152,.16), transparent 60%),
    linear-gradient(180deg, #06222b 0%, #09304a 160%);
  color: #a8c6cd;
  padding: 4.6rem 0 0;
  position: relative;
}
.phg-footer .phg-brand-text { color: #fff; }
.phg-footer p { font-size: .94rem; }
.footer-title {
  color: #fff; font-size: 1.06rem; font-weight: 600;
  margin-bottom: 1.25rem; position: relative; padding-bottom: .7rem;
}
.footer-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 38px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--phg-primary), var(--phg-accent));
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a {
  color: #a8c6cd; font-size: .94rem;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: all .25s ease;
}
.footer-links a svg { opacity: .55; transition: transform .25s ease; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover svg { transform: translateX(3px); opacity: 1; }

.footer-contact li { display: flex; gap: .75rem; margin-bottom: .95rem; list-style: none; }
.footer-contact ul, ul.footer-contact { padding-left: 0; }
.footer-contact .fic {
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 12px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-contact a { color: #cfe3e8; }
.footer-contact a:hover { color: #fff; }

.social-row { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.social-row a:hover { background: var(--phg-primary); transform: translateY(-4px); }

.footer-news p { font-size: .9rem; }
.footer-news .input-group {
  border-radius: 50rem; overflow: hidden;
  background: rgba(255,255,255,.08);
  padding: .25rem;
}
.footer-news input {
  background: transparent; border: none; color: #fff;
  padding: .5rem 1rem; flex: 1 1 auto; min-width: 0; font-size: .9rem;
}
.footer-news input::placeholder { color: #7fa2ac; }
.footer-news input:focus { outline: none; box-shadow: none; }
.footer-news .btn { flex: 0 0 auto; padding: .52rem 1.2rem; font-size: .88rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  margin-top: 3.4rem;
  padding: 1.35rem 0;
  font-size: .88rem;
}
.footer-bottom a { color: #a8c6cd; margin: 0 .5rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Forms ---------- */
.phg-form-card {
  background: #fff;
  border-radius: 1.6rem;
  padding: 2.6rem;
  box-shadow: var(--phg-shadow);
  border: 1px solid rgba(9,55,70,.06);
}
.form-label { font-family: var(--phg-font-head); font-weight: 500; color: var(--phg-ink); font-size: .93rem; }
.form-control, .form-select {
  border-radius: .8rem;
  padding: .72rem 1rem;
  border: 1.6px solid rgba(9,55,70,.13);
  font-size: .96rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--phg-primary);
  box-shadow: 0 0 0 4px rgba(14,168,152,.14);
}
textarea.form-control { border-radius: 1rem; }
.form-check-input:checked { background-color: var(--phg-primary); border-color: var(--phg-primary); }

.phg-alert {
  border-radius: .9rem; padding: 1rem 1.2rem; margin-bottom: 1.4rem;
  display: none; font-weight: 500; font-size: .95rem;
}
.phg-alert.show { display: block; animation: fadeUp .4s ease; }
.phg-alert.ok { background: rgba(14,168,152,.12); color: var(--phg-primary-700); border: 1px solid rgba(14,168,152,.3); }
.phg-alert.err { background: rgba(255,122,99,.1); color: #c0452f; border: 1px solid rgba(255,122,99,.3); }

/* ---------- Contact ---------- */
.info-card {
  background: #fff; border-radius: var(--phg-radius);
  padding: 2rem 1.6rem;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(9,55,70,.07);
  box-shadow: var(--phg-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--phg-shadow); }
.info-card .ic {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--phg-primary), var(--phg-primary-700));
  display: flex; align-items: center; justify-content: center;
}
.info-card.ic-amber .ic { background: linear-gradient(135deg, var(--phg-accent), #f4932b); }
.info-card.ic-coral .ic { background: linear-gradient(135deg, var(--phg-coral), #f35849); }
.info-card h5 { font-size: 1.08rem; margin-bottom: .4rem; }
.info-card p, .info-card a { font-size: .96rem; color: var(--phg-text); margin-bottom: 0; }
.info-card a:hover { color: var(--phg-primary-700); }

.map-frame {
  border: none; width: 100%; height: 400px;
  border-radius: 1.6rem;
  box-shadow: var(--phg-shadow);
}

/* ---------- Blog article ---------- */
.blog-article img.article-hero {
  border-radius: 1.6rem; box-shadow: var(--phg-shadow);
  margin-bottom: 2rem; width: 100%;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center;
  color: var(--phg-text); font-size: .9rem;
  margin-bottom: 1.4rem;
}
.article-meta .am { display: inline-flex; align-items: center; gap: .4rem; }
.blog-article h2 { font-size: 1.5rem; margin: 2.2rem 0 1rem; }
.blog-article p { margin-bottom: 1.15rem; }
.article-quote {
  background: var(--phg-mint);
  border-left: 5px solid var(--phg-primary);
  border-radius: 0 1rem 1rem 0;
  padding: 1.4rem 1.6rem;
  font-style: italic; color: var(--phg-ink);
  font-weight: 500;
  margin: 2rem 0;
  position: relative;
}
.article-list { padding-left: 0; list-style: none; margin-bottom: 1.4rem; }
.article-list li { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.article-list svg { flex: 0 0 auto; margin-top: .28rem; }

.sidebar-card {
  background: #fff; border-radius: 1.3rem;
  padding: 1.7rem;
  border: 1px solid rgba(9,55,70,.07);
  box-shadow: var(--phg-shadow-sm);
  margin-bottom: 1.8rem;
}
.sidebar-card h5 { font-size: 1.05rem; margin-bottom: 1.1rem; position: relative; padding-bottom: .6rem; }
.sidebar-card h5::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--phg-primary), var(--phg-accent));
}
.side-post { display: flex; gap: .9rem; margin-bottom: 1rem; align-items: center; }
.side-post img { width: 74px; height: 62px; object-fit: cover; border-radius: .8rem; flex: 0 0 auto; }
.side-post a { font-size: .92rem; font-weight: 600; color: var(--phg-ink); line-height: 1.35; display: block; }
.side-post a:hover { color: var(--phg-primary-700); }
.side-post:last-child { margin-bottom: 0; }

.sidebar-sub {
  background:
    radial-gradient(260px 160px at 110% -20%, rgba(255,177,77,.25), transparent 60%),
    linear-gradient(135deg, #093040, #0c6a67);
  color: #d9f3f2; text-align: center;
}
.sidebar-sub h5 { color: #fff; }
.sidebar-sub h5::after { left: 50%; transform: translateX(-50%); }
.sidebar-sub p { font-size: .9rem; }

/* ---------- Subscribe / unsubscribe ---------- */
.sub-hero-card { max-width: 640px; margin: 0 auto; }
.sub-feature { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.sub-feature .ic {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 16px;
  background: var(--phg-mint);
  display: flex; align-items: center; justify-content: center;
}
.sub-feature h6 { margin-bottom: .2rem; font-size: 1rem; }
.sub-feature p { font-size: .9rem; margin-bottom: 0; }

/* ---------- Misc / helpers ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal.d-1 { transition-delay: .12s; }
.reveal.d-2 { transition-delay: .24s; }
.reveal.d-3 { transition-delay: .36s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.btn-back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 46px; height: 46px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--phg-primary), var(--phg-primary-700));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(14,168,152,.4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s ease;
}
.btn-back-top.show { opacity: 1; visibility: visible; transform: none; }
.btn-back-top:hover { transform: translateY(-4px); }

.text-teal { color: var(--phg-primary) !important; }

/* Legal pages */
.legal-content h2 { font-size: 1.42rem; margin: 2.4rem 0 .9rem; }
.legal-content ul { padding-left: 1.15rem; margin-bottom: 1.2rem; }
.legal-content ul li { margin-bottom: .5rem; }

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .phg-hero { padding: 4rem 0 9rem; text-align: center; }
  .phg-hero p.hero-lead { margin: 0 auto; }
  .hero-checks li { margin-right: 1rem; }
  .hero-img-wrap { margin-top: 3rem; }
  .phg-section { padding: 4rem 0; }
  .phg-cta { padding: 3.2rem 1.6rem; }
  .about-badge-card { right: 6px; bottom: -16px; }
}
@media (max-width: 575.98px) {
  .hero-float-card { left: 8px; bottom: 8px; padding: .7rem .9rem; }
  .hero-float-card.top { right: 4px; top: -14px; }
  .testi-card { padding: 2.4rem 1.3rem 1.8rem; }
  .phg-form-card { padding: 1.8rem 1.4rem; }
}
