/* ==========================================================================
   Wellness Pulse Health — Custom Theme
   Built on top of Bootstrap 5 (grid + components)
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --wp-primary: #0f766e;
  --wp-primary-600: #0c655e;
  --wp-primary-800: #0a4a45;
  --wp-primary-soft: #e6f4f1;
  --wp-accent: #ff7a59;
  --wp-accent-600: #f2613f;
  --wp-accent-soft: #fff1ec;
  --wp-gold: #f4b740;
  --wp-ink: #11312f;
  --wp-body: #5c7370;
  --wp-line: #dcece9;
  --wp-white: #ffffff;
  --wp-sand: #fffaf5;
  --wp-grad: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  --wp-grad-warm: linear-gradient(135deg, #ff7a59 0%, #f4b740 100%);
  --wp-shadow-sm: 0 4px 14px rgba(15, 118, 110, .08);
  --wp-shadow: 0 14px 40px rgba(15, 118, 110, .12);
  --wp-shadow-lg: 0 26px 70px rgba(11, 72, 68, .18);
  --wp-radius: 18px;
  --wp-radius-lg: 28px;
  --wp-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

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

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
  color: var(--wp-ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}

h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin-bottom: 1rem; }
a { color: var(--wp-primary); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--wp-accent); }
img { max-width: 100%; height: auto; }
strong { color: var(--wp-ink); font-weight: 650; }
::selection { background: var(--wp-primary); color: #fff; }

.container { max-width: 1200px; }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.bg-soft { background: var(--wp-primary-soft); }
.bg-sand { background: var(--wp-sand); }
.text-ink { color: var(--wp-ink) !important; }
.text-primary-wp { color: var(--wp-primary) !important; }
.text-accent-wp { color: var(--wp-accent) !important; }
.lead { font-size: 1.06rem; color: var(--wp-body); }

/* ---------- 3. Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 650;
  padding: .78rem 1.6rem;
  border-width: 2px;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-wp {
  background: var(--wp-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(15, 118, 110, .28);
}
.btn-wp:hover, .btn-wp:focus { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 34px rgba(15, 118, 110, .34); }
.btn-accent {
  background: var(--wp-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 122, 89, .32);
}
.btn-accent:hover, .btn-accent:focus { background: var(--wp-accent-600); color: #fff; transform: translateY(-3px); }
.btn-outline-wp { border-color: var(--wp-primary); color: var(--wp-primary); background: transparent; }
.btn-outline-wp:hover { background: var(--wp-primary); color: #fff; transform: translateY(-3px); }
.btn-light-wp { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-light-wp:hover { background: #fff; color: var(--wp-primary); border-color: #fff; }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; }
.btn-link-wp { color: var(--wp-primary); font-weight: 650; padding: 0; }
.btn-link-wp:hover { color: var(--wp-accent); }

/* ---------- 4. Top bar ---------- */
.topbar {
  background: var(--wp-primary-800);
  color: rgba(255, 255, 255, .88);
  font-size: .87rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .88); font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar .divider { color: rgba(255, 255, 255, .28); margin: 0 .55rem; }

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #fff;
  border-bottom: 1px solid var(--wp-line);
  transition: box-shadow .25s ease, padding .25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(11, 72, 68, .1); }
.navbar { padding: .7rem 0; }
.navbar-brand { display: inline-flex; align-items: center; gap: .6rem; padding: 0; }
.brand-mark { flex: 0 0 auto; display: block; }
.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: .3rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--wp-ink);
}
.brand-text .brand-dot { color: var(--wp-accent); }
.brand-text .brand-pulse { color: var(--wp-primary); }

.navbar-nav .nav-link {
  color: var(--wp-ink);
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem .68rem !important;
  position: relative;
  white-space: nowrap;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .3rem;
  height: 2px;
  background: var(--wp-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--wp-primary); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.header-cta { white-space: nowrap; }
.navbar-toggler { border: 1px solid var(--wp-line); padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .18); }
.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='%230f766e' stroke-width='2.2' stroke-linecap='round' d='M5 8h20M5 15h20M5 22h20'/%3E%3C/svg%3E");
}
@media (min-width: 1200px) {
  /* keep the full horizontal nav on one tidy line */
  .brand-text { font-size: 1.14rem; gap: .24rem; }
  .navbar-nav .nav-link { font-size: .89rem; padding: .5rem .6rem !important; }
  .navbar-nav .nav-link::after { left: .6rem; right: .6rem; }
  .header-cta { font-size: .88rem; padding: .68rem 1.15rem; }
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    margin-top: .75rem;
    padding: .5rem .25rem 1rem;
    border-top: 1px solid var(--wp-line);
  }
  .navbar-nav .nav-link::after { display: none; }
  .header-cta { margin-top: .75rem; display: inline-block; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f2fbf9 0%, #ffffff 70%);
  padding: 92px 0 96px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  z-index: 0;
}
.hero::before {
  width: 480px; height: 480px; top: -170px; right: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, .28), transparent 68%);
}
.hero::after {
  width: 380px; height: 380px; bottom: -160px; left: -120px;
  background: radial-gradient(circle at 60% 40%, rgba(255, 122, 89, .22), transparent 68%);
}
.hero > .container { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--wp-line);
  color: var(--wp-primary);
  font-weight: 650;
  font-size: .84rem;
  letter-spacing: .02em;
  padding: .45rem 1rem;
  border-radius: 999px;
  box-shadow: var(--wp-shadow-sm);
}
.hero h1 .highlight {
  position: relative;
  color: var(--wp-primary);
  white-space: nowrap;
}
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .34em;
  background: rgba(244, 183, 64, .38);
  border-radius: 4px;
  z-index: -1;
}
.hero .btn { align-self: flex-start; }
.hero-list { list-style: none; padding: 0; margin: 1.4rem 0 1.9rem; }
.hero-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  color: var(--wp-ink); font-weight: 550; margin-bottom: .5rem;
}
.hero-list .tick {
  flex: 0 0 auto; margin-top: .28rem; color: var(--wp-primary);
}
.hero-visual { position: relative; padding: 0 0 26px 26px; }
.hero-img {
  width: 100%;
  border-radius: var(--wp-radius-lg);
  box-shadow: var(--wp-shadow-lg);
  display: block;
}
.hero-blob {
  position: absolute; top: -26px; right: -26px;
  width: 190px; height: 190px;
  background: var(--wp-grad-warm);
  border-radius: 44% 56% 62% 38% / 48% 42% 58% 52%;
  opacity: .28;
  z-index: -1;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--wp-shadow);
  padding: .8rem .95rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  max-width: 270px;
}
.float-card .fc-icon {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 12px;
  background: var(--wp-primary-soft);
  color: var(--wp-primary);
  display: grid; place-items: center;
}
.float-card .fc-title { font-weight: 700; color: var(--wp-ink); font-size: .92rem; line-height: 1.25; }
.float-card .fc-sub { font-size: .78rem; color: var(--wp-body); line-height: 1.3; }
.float-card-1 { left: -6px; bottom: 26px; }
.float-card-2 { right: -12px; top: 34px; }
@media (max-width: 575.98px) {
  .float-card-2 { display: none; }
  .hero { padding: 60px 0 64px; }
}

/* ---------- 7. Section heading ---------- */
.section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-head.align-start { margin-left: 0; margin-right: 0; text-align: left; }
.section-head h2 { margin-bottom: .7rem; }
.section-head p { margin-bottom: 0; }
.kicker {
  display: inline-block;
  color: var(--wp-accent);
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .76rem;
  margin-bottom: .7rem;
}

/* ---------- 8. Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--wp-shadow); border-color: #b7e2dc; }
.service-media { position: relative; overflow: hidden; aspect-ratio: 8 / 5; background: var(--wp-primary-soft); }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-icon {
  position: absolute;
  left: 16px; bottom: -22px;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: #fff;
  color: var(--wp-primary);
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(15, 118, 110, .2);
  border: 1px solid var(--wp-line);
}
.service-body { padding: 2.1rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-body h3, .service-body p { min-height: 0; }
.service-body h3 { font-size: 1.16rem; margin-bottom: .55rem; }
.service-body p { font-size: .94rem; margin-bottom: 1.15rem; }
.service-body .btn { margin-top: auto; align-self: flex-start; }
.tag-pill {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .93);
  color: var(--wp-primary);
  font-size: .74rem; font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 999px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ---------- 9. Feature / why choose us ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  padding: 1.9rem 1.5rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--wp-shadow); }
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--wp-primary-soft);
  color: var(--wp-primary);
  margin-bottom: 1.1rem;
  transition: background .3s ease, color .3s ease;
}
.feature-card:hover .feature-icon { background: var(--wp-grad); color: #fff; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .93rem; margin-bottom: 0; }

/* Accent-tinted variant used inside dark bands */
.why-panel {
  background: var(--wp-grad);
  border-radius: var(--wp-radius-lg);
  color: rgba(255, 255, 255, .92);
  padding: 46px 40px;
  position: relative;
  overflow: hidden;
}
.why-panel::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -110px; bottom: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%);
  border-radius: 50%;
}
.why-panel h2, .why-panel h3 { color: #fff; }
.why-panel .tick-list { list-style: none; padding: 0; margin: 0; }
.why-panel .tick-list li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; }
.why-panel .tick {
  flex: 0 0 auto; margin-top: .3rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: grid; place-items: center;
}

/* ---------- 10. About media collage ---------- */
.about-media { position: relative; padding-bottom: 34px; }
.about-media .img-main { border-radius: var(--wp-radius-lg); box-shadow: var(--wp-shadow); width: 100%; }
.about-media .img-sub {
  position: absolute;
  right: -8px; bottom: 0;
  width: 46%;
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: var(--wp-shadow);
  display: block;
}
.about-media .badge-float {
  position: absolute;
  left: -10px; top: 24px;
  background: #fff;
  border-radius: 16px;
  padding: .75rem 1rem;
  box-shadow: var(--wp-shadow);
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; color: var(--wp-ink); font-size: .9rem;
}
.about-media .badge-float .dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--wp-accent-soft); color: var(--wp-accent);
  display: grid; place-items: center;
}
.tick-list { list-style: none; padding: 0; margin: 1.1rem 0 1.6rem; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .65rem; color: var(--wp-ink); font-weight: 550; }
.tick-list .tick {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: .2rem;
  border-radius: 50%; background: var(--wp-primary-soft); color: var(--wp-primary);
  display: grid; place-items: center;
}
@media (max-width: 767.98px) {
  .about-media .img-sub { position: static; width: 60%; margin: -30px 0 0 auto; display: block; position: relative; }
  .about-media { padding-bottom: 0; }
  .about-media .badge-float { top: auto; bottom: 42%; left: 0; }
}

/* ---------- 11. Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  padding: 1.9rem 1.6rem 1.6rem;
  height: 100%;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--wp-shadow); }
.testimonial-card .quote-mark { color: rgba(15, 118, 110, .16); position: absolute; top: 14px; right: 20px; }
.testimonial-card .stars { color: var(--wp-gold); display: flex; gap: .16rem; margin-bottom: .9rem; }
.testimonial-card p { color: var(--wp-ink); font-size: .97rem; font-style: italic; margin-bottom: 1.1rem; }
.testimonial-person { display: flex; align-items: center; gap: .8rem; }
.avatar-initial {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%;
  background: var(--wp-grad);
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
  font-size: 1rem; letter-spacing: .02em;
}
.testimonial-person .name { font-weight: 700; color: var(--wp-ink); font-size: .95rem; line-height: 1.2; }
.testimonial-person .role { font-size: .82rem; color: var(--wp-body); }
.carousel-wrap { position: relative; }
#testimonialSlider .carousel-indicators { position: static; margin: 2rem 0 0; }
#testimonialSlider .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cfe6e2; border: 0; opacity: 1; margin: 0 5px;
}
#testimonialSlider .carousel-indicators .active { background: var(--wp-primary); width: 26px; border-radius: 999px; }

/* ---------- 12. Blog cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--wp-shadow); }
.blog-media { overflow: hidden; aspect-ratio: 45 / 28; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding: 1.5rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-meta { display: flex; align-items: center; gap: .8rem; font-size: .82rem; color: var(--wp-body); margin-bottom: .7rem; flex-wrap: wrap; }
.blog-meta .cat {
  background: var(--wp-primary-soft); color: var(--wp-primary);
  font-weight: 700; padding: .22rem .7rem; border-radius: 999px; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.blog-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.blog-body h3 { font-size: 1.14rem; }
.blog-body h3 a { color: var(--wp-ink); }
.blog-body h3 a:hover { color: var(--wp-primary); }
.blog-body p { font-size: .93rem; margin-bottom: 1.1rem; }
.blog-body .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- 13. FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--wp-ink);
  font-size: 1.02rem;
  padding: 1.15rem 1.35rem;
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--wp-primary-soft); color: var(--wp-primary); }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--wp-line); }
.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f766e'%3E%3Cpath d='M8 1.5v13M1.5 8h13' stroke='%230f766e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 1rem;
  width: 1.1rem; height: 1.1rem;
}
.faq-accordion .accordion-button:not(.collapsed)::after { transform: rotate(135deg); }
.faq-accordion .accordion-body { padding: 1.15rem 1.35rem 1.4rem; font-size: .96rem; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  background: var(--wp-grad);
  border-radius: var(--wp-radius-lg);
  padding: 54px 46px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px; right: -130px; top: -180px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px; left: -100px; bottom: -140px;
  background: radial-gradient(circle, rgba(255,122,89,.38), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); margin-bottom: 0; }
.cta-band .cta-inner { position: relative; z-index: 2; }

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0a4a45 0%, #0f766e 55%, #14b8a6 100%);
  color: rgba(255, 255, 255, .92);
  padding: 74px 0 78px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: .5;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 720px; margin-bottom: 0; }
.breadcrumb-wp { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .88rem; }
.breadcrumb-wp li { color: rgba(255, 255, 255, .75); }
.breadcrumb-wp li + li::before { content: "/"; margin-right: .45rem; color: rgba(255, 255, 255, .45); }
.breadcrumb-wp a { color: #fff; font-weight: 600; }

/* ---------- 16. Cards / panels (generic) ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  padding: 1.7rem 1.5rem;
  height: 100%;
  box-shadow: var(--wp-shadow-sm);
}
.panel h3 { font-size: 1.08rem; }
.panel p:last-child { margin-bottom: 0; }
.info-card { text-align: center; }
.info-card .feature-icon { margin: 0 auto 1rem; }
.info-card a { font-weight: 650; word-break: break-word; }

/* ---------- 17. Forms ---------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius-lg);
  padding: 2.1rem 2rem;
  box-shadow: var(--wp-shadow);
}
.form-label { font-weight: 650; color: var(--wp-ink); font-size: .92rem; margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--wp-line);
  border-radius: 12px;
  padding: .72rem .95rem;
  font-size: .96rem;
  color: var(--wp-ink);
  background-color: #fbfdfd;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control::placeholder { color: #9fb3b0; }
.form-control:focus, .form-select:focus {
  border-color: var(--wp-primary);
  box-shadow: 0 0 0 .22rem rgba(15, 118, 110, .13);
  background-color: #fff;
}
.form-check-input { border-color: #b9d3d0; }
.form-check-input:checked { background-color: var(--wp-primary); border-color: var(--wp-primary); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .16); }
.form-check-label { font-size: .92rem; }
.form-text { font-size: .84rem; color: var(--wp-body); }
.choice-grid .form-check {
  border: 1.5px solid var(--wp-line);
  border-radius: 12px;
  padding: .7rem .8rem .7rem 2.4rem;
  background: #fbfdfd;
  transition: border-color .2s ease, background .2s ease;
}
.choice-grid .form-check:hover { border-color: #b7e2dc; background: var(--wp-primary-soft); }
.alert-wp {
  border: 0;
  border-radius: 14px;
  background: var(--wp-primary-soft);
  color: var(--wp-primary-800);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.alert-wp.alert-accent { background: var(--wp-accent-soft); color: #a63c22; }

/* ---------- 18. Contact ---------- */
.map-frame {
  border-radius: var(--wp-radius);
  overflow: hidden;
  border: 1px solid var(--wp-line);
  box-shadow: var(--wp-shadow-sm);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-fallback { padding: 1.2rem; font-size: .9rem; line-height: 1.6; }
.contact-tile {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: var(--wp-radius);
  padding: 1.4rem 1.3rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-tile:hover { transform: translateY(-5px); box-shadow: var(--wp-shadow); }
.contact-tile .feature-icon { margin-bottom: 0; width: 50px; height: 50px; flex: 0 0 50px; }
.contact-tile > div { min-width: 0; }
.contact-tile h3 { font-size: 1rem; margin-bottom: .25rem; }
.contact-tile p { margin-bottom: 0; font-size: .93rem; }
.contact-tile a { font-weight: 650; overflow-wrap: anywhere; word-break: break-word; font-size: .93rem; }

/* ---------- 19. Article (blog post) ---------- */
.article-hero {
  border-radius: var(--wp-radius-lg);
  overflow: hidden;
  box-shadow: var(--wp-shadow);
  margin-top: -70px;
  position: relative;
  z-index: 3;
  background: #fff;
}
.article-hero img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.article-wrap { padding: 2.4rem 2.6rem 2.6rem; }
.article-body h2 { font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: .8rem; }
.article-body h3 { font-size: 1.16rem; margin-top: 1.7rem; }
.article-body ul, .article-body ol { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--wp-primary);
  background: var(--wp-primary-soft);
  border-radius: 0 14px 14px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  color: var(--wp-ink);
  font-style: italic;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; font-size: .88rem; color: var(--wp-body); }
.article-meta .meta-item { display: inline-flex; align-items: center; gap: .4rem; }
.share-row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--wp-line);
  display: grid; place-items: center;
  color: var(--wp-primary); background: #fff;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.share-btn:hover { background: var(--wp-primary); color: #fff; transform: translateY(-3px); }
.author-box {
  display: flex; gap: 1rem; align-items: center;
  background: var(--wp-primary-soft);
  border-radius: var(--wp-radius);
  padding: 1.3rem 1.4rem;
}
.author-box p { margin-bottom: 0; font-size: .93rem; }
.toc {
  background: var(--wp-sand);
  border: 1px solid #f5e6d8;
  border-radius: var(--wp-radius);
  padding: 1.4rem 1.5rem;
}
.toc h3 { font-size: 1rem; margin-bottom: .7rem; }
.toc ol { padding-left: 1.1rem; margin-bottom: 0; }
.toc li { margin-bottom: .4rem; font-size: .93rem; }

/* ---------- 20. Legal pages ---------- */
.legal-nav {
  position: sticky;
  top: 116px;
}
.legal-nav .list-group-item {
  border: 1px solid var(--wp-line);
  border-radius: 12px !important;
  margin-bottom: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--wp-ink);
  padding: .7rem .9rem;
}
.legal-nav .list-group-item:hover { background: var(--wp-primary-soft); color: var(--wp-primary); }
.legal-body h2 { font-size: 1.42rem; margin-top: 2.4rem; scroll-margin-top: 130px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 1.08rem; margin-top: 1.5rem; }
.legal-body ul { padding-left: 1.15rem; }
.legal-body li { margin-bottom: .45rem; }
.updated-note {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wp-primary-soft); color: var(--wp-primary-800);
  border-radius: 999px; padding: .4rem 1rem; font-size: .85rem; font-weight: 650;
}

/* ---------- 21. Newsletter (subscribe / unsubscribe) ---------- */
.newsletter-aside {
  background: var(--wp-grad);
  border-radius: var(--wp-radius-lg);
  color: rgba(255, 255, 255, .93);
  padding: 2.2rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.newsletter-aside::after {
  content: "";
  position: absolute; width: 300px; height: 300px; right: -120px; bottom: -150px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  border-radius: 50%;
}
.newsletter-aside h2, .newsletter-aside h3 { color: #fff; }
.newsletter-aside .tick-list li { color: rgba(255, 255, 255, .93); }
.newsletter-aside .tick { background: rgba(255, 255, 255, .2) !important; color: #fff !important; }
.benefit-row { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.15rem; }
.benefit-row .feature-icon { margin-bottom: 0; width: 46px; height: 46px; flex: 0 0 46px; background: var(--wp-primary-soft); }
.benefit-row h3 { font-size: 1rem; margin-bottom: .2rem; }
.benefit-row p { font-size: .92rem; margin-bottom: 0; }

/* ---------- 22. Footer ---------- */
.site-footer {
  background: #072f2c;
  color: rgba(255, 255, 255, .72);
  padding: 66px 0 0;
  font-size: .94rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .02em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand .brand-text { color: #fff; }
.site-footer .footer-brand .brand-text .brand-pulse { color: #4fd1c5; }
.site-footer .footer-brand .brand-text .brand-dot { color: var(--wp-accent); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: background .2s ease;
}
.footer-links a:hover::before { background: var(--wp-accent); }
.social-row { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff !important;
  display: grid; place-items: center;
  transition: background .25s ease, transform .25s ease;
}
.social-btn:hover { background: var(--wp-accent); transform: translateY(-3px); }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 52px;
  padding: 1.3rem 0;
  font-size: .88rem;
}
.footer-note a { color: rgba(255, 255, 255, .8); }
.footer-note a:hover { color: #fff; }
.footer-mini-form .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.footer-mini-form .form-control::placeholder { color: rgba(255, 255, 255, .5); }
.footer-mini-form .form-control:focus { background: rgba(255, 255, 255, .14); border-color: #4fd1c5; box-shadow: none; color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; }
.footer-contact li > span { min-width: 0; }
.footer-contact a { overflow-wrap: anywhere; word-break: break-word; }
.footer-contact svg { flex: 0 0 auto; margin-top: .25rem; color: #4fd1c5; }

@media (max-width: 1199.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* ---------- 23. Utility ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--wp-grad);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--wp-shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1030;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--wp-accent); }
.divider-wave { display: block; width: 100%; height: auto; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.min-vh-center { min-height: 62vh; display: flex; align-items: center; }
.list-check-inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.list-check-inline li { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; color: var(--wp-ink); font-weight: 550; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
