/* Healthy 4Life — site styles */

:root {
  --brand-primary: #3c54a5;
  --brand-primary-dark: #2f4288;
  --brand-accent: #2aa2de;
  --brand-violet: #6d4bb0;
  --brand-gradient: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-violet) 100%);
  --brand-gradient-rich: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 52%, var(--brand-violet) 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(60,84,165,.10) 0%, rgba(109,75,176,.10) 100%);
  --brand-wash: linear-gradient(115deg, rgba(15,12,38,.88) 0%, rgba(45,30,90,.62) 32%, rgba(45,30,90,.22) 58%, rgba(45,30,90,0) 80%);

  --text-dark: #1c1f2b;
  --text-muted: #666b78;
  --text-soft: #8891a0;

  --surface: #ffffff;
  --surface-alt: #f6f4fc;
  --surface-tint: #f1f0fb;
  --border-subtle: rgba(20,24,40,.08);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(20,24,40,.06);
  --shadow-md: 0 16px 38px rgba(31,26,68,.12);
  --shadow-lg: 0 30px 70px rgba(31,26,68,.20);
  --shadow-brand: 0 22px 46px -12px rgba(60,84,165,.4);

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--brand-accent);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -.02em;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color .2s var(--ease);
}

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

img {
  max-width: 100%;
}

/* Reusable gradient text accent — wraps a key phrase inside a heading. */
.text-gradient {
  background: var(--brand-gradient-rich);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll-reveal engine — script.js adds .reveal to elements as they're
   observed, then .is-visible once they enter the viewport. Kept as two
   classes (rather than one) so content is never hidden if JS fails to
   run at all. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- */
/* Buttons                                                           */
/* ---------------------------------------------------------------- */

/* Pill button — used only inside the home hero slider, matching the
   slider-specific button style on the live site. */
.btn-brand {
  background: var(--brand-gradient-rich);
  background-size: 180% 180%;
  background-position: 0% 0%;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  height: 56px;
  line-height: 56px;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: background-position .5s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow-brand);
}

.btn-brand::after {
  content: "\f138";
  font-family: "bootstrap-icons";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  margin-left: 10px;
  font-size: 15px;
  transition: transform .25s var(--ease);
}

.btn-brand:hover {
  background-position: 100% 100%;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 52px -10px rgba(60,84,165,.5);
}

.btn-brand:hover::after {
  transform: translateX(4px);
}

.btn-brand:active {
  transform: translateY(0);
}

/* Rectangular CTA — used for every other button on the site
   (page heroes, content sections, form submit). */
.btn-cta {
  background: var(--brand-gradient-rich);
  background-size: 180% 180%;
  background-position: 0% 0%;
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  transition: background-position .5s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow-brand);
}

.btn-cta::after {
  content: "\f138";
  font-family: "bootstrap-icons";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  margin-left: 10px;
  font-size: 13px;
  transition: transform .25s var(--ease);
}

.btn-cta:hover {
  background-position: 100% 100%;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 52px -10px rgba(60,84,165,.5);
}

.btn-cta:hover::after {
  transform: translateX(4px);
}

.btn-cta:active {
  transform: translateY(0);
}

/* ---------------------------------------------------------------- */
/* Header / Navbar — full-width glass bar                            */
/* ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 6px 24px rgba(20,24,40,.05);
}

.site-header .navbar {
  padding: 14px 0;
}

.site-header .navbar-brand img {
  height: 48px;
  object-fit: contain;
  transition: transform .25s var(--ease);
}

.site-header .navbar-brand:hover img {
  transform: scale(1.04);
}

.site-header .nav-link {
  position: relative;
  color: var(--text-dark);
  font-weight: 600;
  padding: .5rem 1rem;
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.site-header .nav-link.active,
.site-header .nav-link:hover {
  color: var(--brand-primary);
}

.site-header .nav-link.active::after,
.site-header .nav-link:hover::after {
  transform: scaleX(1);
}

@media (min-width: 992px) {
  /* Contact is always the last nav item — style it as a distinct CTA
     button so the primary conversion path stands out in the nav. */
  .site-header .navbar-nav .nav-item:last-child {
    margin-left: 10px;
  }

  .site-header .navbar-nav .nav-item:last-child .nav-link {
    background: var(--brand-gradient-rich);
    color: #fff !important;
    border-radius: var(--radius-pill);
    padding: .6rem 1.5rem;
    box-shadow: 0 10px 22px rgba(60,84,165,.32);
    transition: transform .2s var(--ease-spring), box-shadow .25s var(--ease);
  }

  .site-header .navbar-nav .nav-item:last-child .nav-link:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 28px rgba(60,84,165,.4);
  }

  .site-header .navbar-nav .nav-item:last-child .nav-link::after {
    display: none;
  }
}

/* ---------------------------------------------------------------- */
/* Shared decorative motion                                          */
/* ---------------------------------------------------------------- */

@keyframes h4l-zoom {
  from { background-size: 104%; }
  to   { background-size: 118%; }
}

@keyframes h4l-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes h4l-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

@keyframes h4l-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ---------------------------------------------------------------- */
/* Page hero (non-home pages)                                        */
/* ---------------------------------------------------------------- */

.page-title-bar {
  background: var(--surface-tint);
  padding: 34px 0;
}

.page-title-bar h1 {
  font-size: 30px;
  margin: 0;
}

.page-title-bar .breadcrumb {
  margin: 0;
  font-size: 14px;
}

.page-hero {
  position: relative;
  min-height: max(460px, 92vh);
  background-size: 104%;
  background-position: center 25%;
  display: flex;
  align-items: center;
  overflow: hidden;
  animation: h4l-zoom 16s var(--ease) infinite alternate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-wash), linear-gradient(0deg, rgba(10,8,26,.4), rgba(10,8,26,0) 45%);
}

.page-hero .hero-caption {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  animation: h4l-rise .8s var(--ease) both;
}

.page-hero .hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.page-hero .hero-caption > div.d-flex {
  display: inline-flex !important;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 8px 22px 8px 10px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px !important;
}

.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.16;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.page-hero .hero-sub {
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 24px;
  opacity: .92;
}

/* ---------------------------------------------------------------- */
/* Contained showcase banners (home page "The Solution" /            */
/* "Transforming..." sections) — rounded floating cards rather than  */
/* full-bleed strips.                                                 */
/* ---------------------------------------------------------------- */

.banner-section {
  padding: 26px 0;
}

.content-banner {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  background-size: 108%;
  background-position: center 30%;
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: h4l-zoom 18s var(--ease) infinite alternate;
}

.content-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-wash);
}

/* Light variant — for photos with a bright sky area where dark accent-blue
   text reads fine directly on the image, no dark overlay needed. */
/* .content-banner-light::after {
  background: linear-gradient(100deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.16) 50%, rgba(255,255,255,0) 78%);
} */

.content-banner-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 56px;
}

.content-banner .hero-caption {
  color: #fff;
  max-width: 480px;
}

.content-banner .hero-tag {
  display: inline-block;
  background: rgba(15,12,32,.42);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 22px 30px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 14px;
}

.content-banner .hero-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.content-banner .hero-tag-label::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.content-banner-light h2 {
  color: var(--brand-primary-dark);
  font-size: clamp(26px, 3vw, 34px);
}


@media (max-width: 767.98px) {
  .content-banner {
    min-height: 320px;
  }

  .content-banner-overlay {
    padding: 32px;
  }
}

/* ---------------------------------------------------------------- */
/* Home hero carousel — full viewport height, text sits directly on   */
/* a rich brand-toned wash rather than inside a boxed card.           */
/* ---------------------------------------------------------------- */

.home-hero {
  position: relative;
}

.home-hero .carousel-item {
  min-height: max(520px, 100vh);
  background-size: 106%;
  background-position: center 20%;
  background-color: #131a2e;
  animation: h4l-zoom 20s var(--ease) infinite alternate;
}

.home-hero .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-wash);
}

.home-hero .carousel-item .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: max(520px, 100vh);
}

.home-hero .slide-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  width: 100%;
}

.home-hero .slide-caption {
  max-width: 600px;
  animation: h4l-rise .9s var(--ease) both;
}

.home-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.home-hero .hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(42,162,222,.35);
}

.home-hero h2 {
  font-size: clamp(34px, 5.4vw, 58px);
  color: #fff;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 26px;
  text-shadow: 0 6px 30px rgba(0,0,0,.35);
}

.home-hero p.slide-desc {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 440px;
  margin-top: 26px;
  margin-bottom: 0;
}

.home-hero .btn-brand {
  margin-bottom: 0 !important;
}

.home-hero .carousel-control-prev,
.home-hero .carousel-control-next {
  width: 6%;
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.home-hero:hover .carousel-control-prev,
.home-hero:hover .carousel-control-next {
  opacity: 1;
}

.home-hero .hero-arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.home-hero .hero-arrow-icon i {
  display: block;
}

.home-hero .carousel-control-prev .hero-arrow-icon i {
  transform: translateX(-1px);
}

.home-hero .carousel-control-next .hero-arrow-icon i {
  transform: translateX(1px);
}

.home-hero .carousel-control-prev:hover .hero-arrow-icon,
.home-hero .carousel-control-next:hover .hero-arrow-icon {
  background-color: #fff;
  border-color: #fff;
  color: var(--brand-primary);
  transform: scale(1.08);
}

.home-hero .carousel-indicators {
  bottom: 32px;
}

.home-hero .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255,255,255,.5);
  opacity: 1;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}

.home-hero .carousel-indicators .active {
  background-color: #fff;
  transform: scale(1.25);
}

/* Scroll cue below the hero caption */
.home-hero .scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.85);
  font-size: 22px;
  animation: h4l-bounce 2.2s ease-in-out infinite;
}

/* ---------------------------------------------------------------- */
/* Icon feature blocks                                                */
/* ---------------------------------------------------------------- */

.feature-card {
  position: relative;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 46px 34px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), opacity .6s var(--ease);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--brand-gradient-rich);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-title,
.feature-card:hover .feature-text {
  color: #fff;
}

.feature-card:hover .feature-eyebrow {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.feature-icon {
  width: 78px;
  height: 78px;
  background: var(--brand-gradient-rich);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 14px 28px rgba(60,84,165,.3);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

.feature-eyebrow {
  display: inline-block;
  color: var(--brand-accent);
  background: rgba(42,162,222,.1);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

.feature-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  transition: color .35s var(--ease);
}

.feature-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
  transition: color .35s var(--ease);
}

/* ---------------------------------------------------------------- */
/* Content sections                                                   */
/* ---------------------------------------------------------------- */

.section {
  padding: 70px 0;
  position: relative;
}

.section-light {
  background-color: var(--surface-tint);
  background-image: radial-gradient(circle, rgba(60,84,165,.14) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section-heading {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 54px;
  color: var(--brand-accent);
}

.section h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.section h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.section .feature-text strong {
  color: var(--text-dark);
}

/* Stagger the "Empowering Customers" cards on their scroll-reveal. */
.col-md-4:nth-of-type(2) .feature-card { transition-delay: .1s; }
.col-md-4:nth-of-type(3) .feature-card { transition-delay: .2s; }

.img-wrap {
  position: relative;
  margin-bottom: 36px;
  /* Guarantees a non-zero intersection area for the scroll-reveal
     observer even before the lazy-loaded image inside has fetched
     and settled its intrinsic size. */
  min-height: 200px;
}

/* Clips the image's hover zoom to its rounded corners. Kept separate from
   .img-wrap (which the scroll-reveal engine animates via transform) so the
   reveal's translateY and the hover's scale never fight over the same
   element's transform property. */
.img-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 52px -16px rgba(31,26,68,.35);
  transition: box-shadow .35s var(--ease);
}

.img-frame img {
  display: block;
  transition: transform .5s var(--ease);
}

/* .img-wrap:hover covers the media-tag-badge pattern (hovering the pill,
   which overlaps .img-frame's corner, still counts); .img-frame:hover
   covers standalone frames used without the img-wrap/media-tag scaffold. */
.img-wrap:hover .img-frame,
.img-frame:hover {
  box-shadow: 0 34px 64px -14px rgba(31,26,68,.45);
}

.img-wrap:hover .img-frame img,
.img-frame:hover img {
  transform: scale(1.06);
}

.media-tag {
  position: absolute;
  bottom: -18px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-gradient-rich);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  box-shadow: 0 16px 30px -8px rgba(60,84,165,.5);
  max-width: calc(100% - 56px);
}

.media-tag i {
  font-size: 13px;
}

/* Steps */
.step-number {
  display: inline-block;
  color: #fff;
  background: var(--brand-gradient-rich);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

/* Disclaimer */
.disclaimer-box {
  position: relative;
  text-align: center;
  margin: 0 auto;
  background: var(--surface-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px 44px 44px;
}

.disclaimer-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand-gradient-rich);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
}

.disclaimer-box h3 {
  font-size: 22px;
}

.disclaimer-box h4 {
  margin-bottom: 4px;
  color: var(--brand-primary);
  font-size: 17px;
}

.disclaimer-box h5 {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 15px;
}

/* Disclaimer panel (home page) — centered like .disclaimer-box (icon on
   top, then title/subtitle/tagline). The two smaller icons further down
   (info + callout) stay inline beside their text, not stacked/centered. */
.disclaimer-panel {
  text-align: center;
  margin: 0 auto;
  background: var(--surface-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px 44px 44px;
}

.disclaimer-panel-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand-gradient-rich);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
}

.disclaimer-panel h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.disclaimer-panel-subtitle {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
}

.disclaimer-panel-tagline {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 0;
}

.disclaimer-panel-divider {
  max-width: 100%;
  margin: 26px 0;
  border: none;
  border-top: 1px solid var(--border-subtle);
}

.disclaimer-panel-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  margin-bottom: 26px;
}

.disclaimer-panel-info {
  flex-shrink: 0;
  color: var(--brand-primary);
  font-size: 19px;
  margin-top: 3px;
}

.disclaimer-panel-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(60,84,165,.14);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}

.disclaimer-panel-callout i {
  flex-shrink: 0;
  color: var(--brand-primary);
  font-size: 22px;
}

.disclaimer-panel-callout p {
  color: var(--text-dark);
  font-size: 15px;
}

.disclaimer-panel-callout strong {
  color: var(--brand-primary-dark);
}

@media (max-width: 575.98px) {
  .disclaimer-panel {
    padding: 28px 24px;
  }

  .disclaimer-panel-body,
  .disclaimer-panel-callout {
    flex-direction: column;
    text-align: center;
  }
}

/* Long-form legal content (Terms of Service, Privacy Policy) */
.legal-content {
  margin: 0 auto;
  color: var(--text-dark);
}

.legal-content h1 {
  font-size: 34px;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.legal-content p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.legal-content ul,
.legal-content ol {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  word-break: break-word;
}

.legal-content strong {
  color: var(--text-dark);
}

.legal-content .legal-updated {
  margin-top: 32px;
  font-style: italic;
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- */
/* Footer                                                             */
/* ---------------------------------------------------------------- */

.site-footer {
  position: relative;
  background-color: #12162c;
  background-image:
    linear-gradient(165deg, rgba(60,84,165,.9) 0%, rgba(18,22,44,.98) 55%, rgba(18,22,44,1) 100%),
    url('../images/map-1.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: rgba(255,255,255,.82);
  padding: 84px 0 0;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .45;
  z-index: 0;
  pointer-events: none;
}

.site-footer::before {
  width: 360px;
  height: 360px;
  background: var(--brand-accent);
  top: -140px;
  right: -100px;
}

.site-footer::after {
  width: 300px;
  height: 300px;
  background: var(--brand-violet);
  bottom: -120px;
  left: -80px;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.site-footer .footer-brand img {
  height: 40px;
  margin-bottom: 18px;
  background: rgba(255,255,255,.95);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.site-footer p {
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.site-footer a {
  color: rgba(255,255,255,.85);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h5 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 12px;
}

.site-footer ul li a {
  transition: padding-left .2s var(--ease);
  display: inline-block;
}

.site-footer ul li a:hover {
  padding-left: 4px;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 52px;
  padding: 22px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  background: var(--brand-gradient-rich);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.back-to-top:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------------------- */
/* Contact page — gradient info card alongside the form card, both   */
/* sat below a standard page-hero (using h4l_page_hero like every     */
/* other page) instead of a bare full-resolution photo.               */
/* ---------------------------------------------------------------- */

.contact-info-card {
  height: 100%;
  background: var(--brand-gradient-rich);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  box-shadow: var(--shadow-brand);
}

.contact-info-card h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 28px;
}

.contact-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-card li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-weight: 600;
}

.contact-info-card li:last-child {
  margin-bottom: 0;
}

.contact-info-card a {
  color: #fff;
  word-break: break-word;
}

.contact-info-card a:hover {
  color: rgba(255,255,255,.78);
}

.contact-info-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 46px 42px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 767.98px) {
  .contact-info-card,
  .contact-form-card {
    padding: 32px 26px;
  }
}

/* ---------------------------------------------------------------- */
/* Contact form                                                       */
/* ---------------------------------------------------------------- */

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.contact-form .form-control {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  margin-bottom: 22px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-form .form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(60,84,165,.14);
}

.alert {
  border: none;
  border-radius: var(--radius-sm);
  border-left: 4px solid transparent;
  padding: 16px 20px;
}

.alert-success {
  background: rgba(42,162,222,.1);
  border-left-color: var(--brand-accent);
  color: var(--brand-primary-dark);
}

.alert-danger {
  background: rgba(200,60,60,.08);
  border-left-color: #c83c3c;
  color: #8f2b2b;
}

@media (max-width: 767.98px) {
  .home-hero .slide-caption {
    max-width: 92%;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card {
    padding: 38px 28px;
  }

  .media-tag {
    left: 18px;
    padding: 11px 18px;
    font-size: 13.5px;
  }
}
