/* ------------------------------------------------------------------
   AstroHealing — global site chrome (header, footer, shared UI)
   Loaded on every page after theme.css
------------------------------------------------------------------ */

:root {
  --ah-primary: #377dff;
  --ah-primary-dark: #2b63cc;
  --ah-primary-soft: rgba(55, 125, 255, 0.1);
  --ah-primary-glow: rgba(55, 125, 255, 0.18);
  --ah-ink: #1e2022;
  --ah-muted: #77838f;
  --ah-border: rgba(30, 32, 34, 0.08);
  --ah-surface: #ffffff;
  --ah-surface-soft: #f6f9fc;
  --ah-radius: 1.1rem;
  --ah-radius-sm: 0.75rem;
  --ah-shadow: 0 8px 28px rgba(30, 32, 34, 0.06);
  --ah-shadow-hover: 0 16px 40px rgba(55, 125, 255, 0.12);
  --ah-transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
  --ah-header-h: 4.5rem;
}

/* Base polish ----------------------------------------------------- */

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  color: var(--ah-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  transition: color var(--ah-transition);
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------ */

.ah-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--ah-transition), box-shadow var(--ah-transition), backdrop-filter var(--ah-transition);
}

/* When theme sticky/scrolled classes apply, keep modern look */
.ah-header.u-header--bg-transparent .u-header__section,
.ah-header .u-header__section {
  background: transparent;
  transition: background var(--ah-transition), box-shadow var(--ah-transition);
}

/* Solid state after scroll (theme may add classes; also force on non-home pages via body) */
body:not(.ah-home) .ah-header,
.ah-header.u-header--show-hide-md.js-header-fix-scrolled,
.ah-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--ah-border), 0 8px 24px rgba(30, 32, 34, 0.04);
}

body:not(.ah-home) .ah-header .u-header__section,
.ah-header.is-scrolled .u-header__section {
  background: transparent;
}

.ah-header__topbar {
  border-bottom: 1px solid transparent;
  padding-top: 0.35rem;
  padding-bottom: 0.15rem;
}

body:not(.ah-home) .ah-header__topbar {
  border-bottom-color: var(--ah-border);
}

.ah-header__topbar-link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ah-muted) !important;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: color var(--ah-transition), background var(--ah-transition);
}

.ah-header__topbar-link:hover {
  color: var(--ah-primary) !important;
  background: var(--ah-primary-soft);
  text-decoration: none;
}

.ah-header .u-header__navbar {
  padding-top: 0.35rem;
  padding-bottom: 0.55rem;
}

.ah-header .u-header__navbar-brand {
  padding: 0.25rem 0;
  width: 11.375rem;
}

.ah-header .u-header__navbar-brand img {
  max-height: 42px;
  width: auto;
  transition: max-height var(--ah-transition);
}

.ah-header .u-header__nav-link {
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: var(--ah-ink) !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px;
  transition: color var(--ah-transition), background var(--ah-transition) !important;
}

.ah-header .u-header__nav-link:hover,
.ah-header .u-header__nav-link:focus {
  color: var(--ah-primary) !important;
  background: var(--ah-primary-soft);
}

.ah-header__cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px var(--ah-primary-glow);
  transition: transform var(--ah-transition), box-shadow var(--ah-transition) !important;
}

.ah-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px var(--ah-primary-glow);
}

/* Mobile nav */
.ah-header .u-hamburger {
  border: 1px solid var(--ah-border);
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: var(--ah-surface);
  box-shadow: var(--ah-shadow);
}

/* Mobile / tablet nav: hamburger through lg breakpoint (991px) */
@media (max-width: 991.98px) {
  .ah-header #navBar {
    background: var(--ah-surface);
    border: 1px solid var(--ah-border);
    border-radius: var(--ah-radius);
    box-shadow: var(--ah-shadow);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.65rem !important;
  }

  .ah-header .u-header__navbar-nav {
    width: 100%;
  }

  .ah-header .nav-item {
    width: 100%;
  }

  .ah-header .u-header__nav-link {
    display: block;
    width: 100%;
  }

  .ah-header .ah-header__cta-wrap {
    display: block !important;
    width: 100%;
    padding: 0.5rem 0.35rem 0.25rem !important;
  }

  .ah-header .ah-header__cta {
    width: 100%;
    justify-content: center;
  }
}

/* Hide legacy broken search drawer */
#searchPushTop {
  display: none !important;
}

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

.ah-footer {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--ah-border);
  margin-top: 0;
}

.ah-footer__main {
  padding: 3rem 0 2.25rem;
}

@media (min-width: 768px) {
  .ah-footer__main {
    padding: 3.75rem 0 2.75rem;
  }
}

.ah-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .ah-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.ah-footer__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-muted);
  margin: 0 0 0.85rem;
}

.ah-footer__name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ah-ink);
  margin: 0 0 0.15rem;
  line-height: 1.3;
}

.ah-footer__role {
  display: block;
  font-size: 0.88rem;
  color: var(--ah-muted);
  margin-bottom: 0.65rem;
}

.ah-footer__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ah-primary);
  background: var(--ah-primary-soft);
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.ah-footer__bio {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ah-muted);
  margin: 0 0 1.1rem;
}

.ah-footer__links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.ah-footer__links li {
  margin: 0 0 0.45rem;
}

.ah-footer__links a {
  color: var(--ah-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  display: inline-block;
  transition: color var(--ah-transition);
}

.ah-footer__links a:hover {
  color: var(--ah-primary);
  text-decoration: none;
}

.ah-footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.ah-footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: #3b4046;
  line-height: 1.45;
}

.ah-footer__contacts i,
.ah-footer__contacts .fa,
.ah-footer__contacts .fab {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ah-surface);
  color: var(--ah-primary);
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(55, 125, 255, 0.1);
  margin-top: 0.05rem;
}

.ah-footer__contacts a {
  color: var(--ah-ink);
  text-decoration: none;
  font-weight: 500;
}

.ah-footer__contacts a:hover {
  color: var(--ah-primary);
}

.ah-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform var(--ah-transition), box-shadow var(--ah-transition), background var(--ah-transition);
}

.ah-footer__btn--ghost {
  color: var(--ah-primary);
  background: var(--ah-primary-soft);
  border: 1px solid rgba(55, 125, 255, 0.14);
}

.ah-footer__btn--ghost:hover {
  color: var(--ah-primary);
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(55, 125, 255, 0.16);
}

.ah-footer__btn--solid {
  color: #fff;
  background: var(--ah-primary);
  box-shadow: 0 6px 16px var(--ah-primary-glow);
}

.ah-footer__btn--solid:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px var(--ah-primary-glow);
}

.ah-footer__bottom {
  border-top: 1px solid var(--ah-border);
  padding: 1.35rem 0 1.5rem;
  text-align: center;
}

.ah-footer__bottom img {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.ah-footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ah-muted);
}

/* ------------------------------------------------------------------
   Shared CTA band (used site-wide)
------------------------------------------------------------------ */

.ah-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2f6fed 0%, #377dff 45%, #5b94ff 100%);
  color: #fff;
  padding: 3rem 1rem;
}

.ah-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.1), transparent 35%);
  pointer-events: none;
}

.ah-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.ah-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ah-primary);
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ah-cta h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.ah-cta h2 strong {
  font-weight: 700;
}

.ah-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
}

.ah-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ah-primary);
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform var(--ah-transition), box-shadow var(--ah-transition);
}

.ah-cta__btn:hover {
  color: var(--ah-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

/* ------------------------------------------------------------------
   Form pages (kontakt, izris)
------------------------------------------------------------------ */

.ah-form-page {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(55, 125, 255, 0.07), transparent 55%),
    #fff;
}

@media (min-width: 768px) {
  .ah-form-page {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
  }
}

.ah-form-page__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.ah-form-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ah-primary);
  margin-bottom: 0.75rem;
}

.ah-form-page__eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ah-primary);
}

.ah-form-page__title {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--ah-ink);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.ah-form-page__title strong {
  font-weight: 700;
  color: var(--ah-primary);
}

.ah-form-page__intro {
  color: var(--ah-muted);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.ah-form-page__card {
  max-width: 32rem;
  margin: 0 auto;
  background: var(--ah-surface);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
  padding: 1.5rem 1.25rem 1.75rem;
}

@media (min-width: 576px) {
  .ah-form-page__card {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.ah-form-page label.h6,
.ah-form-page .h6.small {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  color: var(--ah-muted);
  margin-bottom: 0.4rem;
}

.ah-form-page .form-control,
.ah-form-page .u-form__input {
  border-radius: 0.75rem !important;
  border-color: var(--ah-border) !important;
  padding: 0.7rem 0.95rem !important;
  font-size: 0.98rem;
  transition: border-color var(--ah-transition), box-shadow var(--ah-transition);
}

.ah-form-page .form-control:focus,
.ah-form-page .u-form__input:focus {
  border-color: rgba(55, 125, 255, 0.45) !important;
  box-shadow: 0 0 0 3px var(--ah-primary-soft) !important;
}

.ah-form-page .btn-primary,
.ah-form-page .u-btn-primary {
  border-radius: 999px !important;
  padding: 0.75rem 1.75rem !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 16px var(--ah-primary-glow);
}

/* ------------------------------------------------------------------
   Homepage
------------------------------------------------------------------ */

.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 80% 20%, rgba(55, 125, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(55, 125, 255, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  min-height: auto;
}

@media (min-width: 768px) {
  .home-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: min(88vh, 720px);
    display: flex;
    align-items: center;
  }
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ah-primary);
  margin-bottom: 0.85rem;
}

.home-hero__eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ah-primary);
}

.home-hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--ah-primary);
  margin: 0 0 0.35rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.home-hero__subtitle {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--ah-ink);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.home-hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ah-muted);
  margin: 0 0 1.75rem;
  max-width: 28rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform var(--ah-transition), box-shadow var(--ah-transition), background var(--ah-transition);
}

.home-hero__btn--primary {
  color: #fff;
  background: var(--ah-primary);
  box-shadow: 0 8px 22px var(--ah-primary-glow);
}

.home-hero__btn--primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--ah-primary-glow);
}

.home-hero__btn--ghost {
  color: var(--ah-primary);
  background: var(--ah-primary-soft);
  border: 1px solid rgba(55, 125, 255, 0.14);
}

.home-hero__btn--ghost:hover {
  color: var(--ah-primary);
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(55, 125, 255, 0.16);
}

.home-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-hero__visual img {
  max-width: min(100%, 420px);
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(55, 125, 255, 0.15));
}

@media (max-width: 768px) {
  .home-hero__visual {
    order: -1;
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Section helpers */
.home-section {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .home-section {
    padding: 4.5rem 0;
  }

  .home-section.process-desc {
    padding: 4.5rem 0 6rem;
  }
}

.home-section--soft {
  background: var(--ah-surface-soft);
}

.home-section__header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

.home-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ah-primary);
  margin-bottom: 0.55rem;
}

.home-section__title {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  color: var(--ah-ink);
  margin: 0 0 0.55rem;
  line-height: 1.3;
}

.home-section__title strong {
  font-weight: 700;
  color: var(--ah-primary);
}

.home-section__intro {
  color: var(--ah-muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.home-section__intro a {
  color: var(--ah-primary);
  font-weight: 500;
}

/* Feature / therapy cards */
.home-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .home-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }
}

.home-card {
  display: flex;
  flex-direction: column;
  background: var(--ah-surface);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
  padding: 1.5rem 1.4rem 1.35rem;
  transition: transform var(--ah-transition), box-shadow var(--ah-transition), border-color var(--ah-transition);
  height: 100%;
}

.home-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ah-shadow-hover);
  border-color: rgba(55, 125, 255, 0.18);
}

.home-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ah-ink);
  margin: 0 0 0.65rem;
}

.home-card p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ah-muted);
  margin: 0 0 1.15rem;
}

.home-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ah-primary);
  text-decoration: none;
  align-self: flex-start;
}

.home-card__link:hover {
  color: var(--ah-primary-dark);
  text-decoration: none;
  gap: 0.55rem;
}

/* Split content blocks */
.home-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .home-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .home-split--flip .home-split__media {
    order: 2;
  }
}

.home-split__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ah-primary);
  margin: 0 0 0.75rem;
}

.home-split p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3b4046;
  margin: 0 0 1rem;
}

.home-split__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.home-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--ah-radius-sm);
  box-shadow: var(--ah-shadow);
}

.home-split__media img:nth-child(1) {
  aspect-ratio: 4/5;
}

.home-split__media img:nth-child(2) {
  aspect-ratio: 4/3;
  margin-top: 1.25rem;
}

.home-split__media img:nth-child(3) {
  aspect-ratio: 1;
}

.home-split__media img:nth-child(4) {
  aspect-ratio: 4/5;
  margin-top: -0.75rem;
}

/* Confidentiality strip */
.home-trust {
  background: linear-gradient(135deg, #2f6fed 0%, #377dff 50%, #5b94ff 100%);
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.home-trust__icon {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ah-primary);
  margin-bottom: 1rem;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-trust h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.home-trust p {
  max-width: 40rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  font-size: 1.02rem;
}

/* Testimonials — static readable card grid */
.home-testimonials,
.testimonials-section {
  background: var(--ah-surface-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .testimonials-grid {
    gap: 1.75rem;
  }
}

.testimonials-grid__item {
  min-width: 0;
  height: 100%;
}

.testimonials-grid__item.is-hidden,
.testimonials-grid__item[hidden] {
  display: none;
}

/* Soft reveal when JS un-hides a batch */
.testimonials-grid__item.is-revealing .testimonial-card {
  animation: testimonialReveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes testimonialReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonials-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.testimonials-more[hidden] {
  display: none;
}

.testimonials-more__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ah-primary);
  background: var(--ah-surface);
  border: 1px solid rgba(55, 125, 255, 0.22);
  border-radius: 999px;
  box-shadow: var(--ah-shadow);
  cursor: pointer;
  transition: transform var(--ah-transition), box-shadow var(--ah-transition), background var(--ah-transition), border-color var(--ah-transition);
}

.testimonials-more__btn:hover,
.testimonials-more__btn:focus-visible {
  color: var(--ah-primary);
  background: var(--ah-primary-soft);
  border-color: rgba(55, 125, 255, 0.35);
  box-shadow: var(--ah-shadow-hover);
  transform: translateY(-2px);
  outline: none;
}

.testimonials-more__btn:focus-visible {
  box-shadow: 0 0 0 3px var(--ah-primary-glow), var(--ah-shadow-hover);
}

.testimonials-more__icon {
  font-size: 0.85em;
  line-height: 1;
  transition: transform var(--ah-transition);
}

.testimonials-more__btn:hover .testimonials-more__icon {
  transform: translateY(2px);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ah-surface);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
  padding: 1.6rem 1.45rem 1.35rem;
  transition: box-shadow var(--ah-transition), transform var(--ah-transition), border-color var(--ah-transition);
}

.testimonial-card:hover {
  border-color: rgba(55, 125, 255, 0.18);
  box-shadow: var(--ah-shadow-hover);
  transform: translateY(-2px);
}

.testimonial-card__quote {
  position: absolute;
  top: 0.55rem;
  left: 1rem;
  font-size: 3.25rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ah-primary);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.testimonial-card__body {
  position: relative;
  flex: 1 1 auto;
  padding-top: 0.85rem;
}

.testimonial-card__body p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #3b4046;
  margin: 0 0 0.9rem;
}

.testimonial-card__body p:last-child {
  margin-bottom: 0;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ah-border);
}

.testimonial-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--ah-primary-soft);
  color: var(--ah-primary);
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__author {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ah-primary);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Legacy class names kept for safety if used elsewhere */
.home-testimonial {
  background: var(--ah-surface);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
  padding: 1.75rem 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.home-testimonial p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #3b4046;
  margin: 0 0 1rem;
}

.home-testimonial__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ah-primary);
  margin: 0;
}

/* Homepage FAQ accordion */
.home-faq {
  background: var(--ah-surface);
}

.home-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.home-faq__item {
  background: var(--ah-surface-soft);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius-sm);
  overflow: hidden;
  transition: border-color var(--ah-transition), box-shadow var(--ah-transition), background var(--ah-transition);
}

.home-faq__item[open] {
  background: var(--ah-surface);
  border-color: rgba(55, 125, 255, 0.22);
  box-shadow: 0 4px 16px rgba(55, 125, 255, 0.06);
}

.home-faq__summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.2rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ah-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  user-select: none;
}

.home-faq__summary::-webkit-details-marker {
  display: none;
}

.home-faq__summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ah-primary-soft);
  color: var(--ah-primary);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--ah-transition), background var(--ah-transition), color var(--ah-transition);
}

.home-faq__item[open] .home-faq__summary::after {
  content: "−";
  background: var(--ah-primary);
  color: #fff;
}

.home-faq__q {
  flex: 1 1 auto;
  line-height: 1.45;
}

.home-faq__body {
  padding: 0 1.2rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3b4046;
}

.home-faq__body p {
  margin: 0 0 0.85rem;
}

.home-faq__body p:last-child {
  margin-bottom: 0;
}

.home-faq__body ul,
.home-faq__body ol {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.home-faq__body li {
  margin-bottom: 0.3rem;
}

.home-faq__footer {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Newsletter */
.home-newsletter {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
}

.home-newsletter form .input-group {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--ah-shadow);
  border: 1px solid var(--ah-border);
  background: #fff;
}

.home-newsletter .form-control {
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 1.25rem !important;
}

.home-newsletter .btn {
  border-radius: 0 !important;
  background: var(--ah-primary) !important;
  color: #fff !important;
  padding: 0 1.25rem !important;
}

/* Chakra list polish on homepage */
.home-chakras {
  max-width: 52rem;
  margin: 0 auto;
}

.home-chakras__image {
  display: block;
  max-width: 280px;
  margin: 0 auto 2rem;
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
}

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

.chakras li {
  background: var(--ah-surface);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius-sm);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 2px 10px rgba(30, 32, 34, 0.03);
  transition: border-color var(--ah-transition), box-shadow var(--ah-transition);
}

.chakras li:hover {
  border-color: rgba(55, 125, 255, 0.2);
}

.chakras li > a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.chakras li > a img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.chakras .chakra-function {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--ah-muted);
  line-height: 1.5;
}

.chakras p.d-none + p,
.chakras p:not(.chakra-function):not(.d-none) {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3b4046;
  margin: 0.45rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--ah-border);
}

@media (max-width: 767.98px) {
  .chakras .col-md-5 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .chakras .col-md-1 {
    display: none !important;
  }
}

/* Go to top */
.u-go-to {
  border-radius: 999px !important;
  box-shadow: 0 8px 20px rgba(55, 125, 255, 0.25) !important;
}

/* Utility: hide old SVG decoration noise when present under modern sections */
.ah-hide-svg figure.position-absolute-bottom-0 {
  display: none;
}

/* ------------------------------------------------------------------
   Shared content polish
------------------------------------------------------------------ */

.essences-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.essences-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #3b4046;
  border-bottom: 1px solid var(--ah-border);
}

.essences-list li:last-child {
  border-bottom: 0;
}

.essences-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ah-primary);
  opacity: 0.75;
}

/* Anchor offset under fixed header */
html {
  scroll-padding-top: 5.5rem;
}

/* Non-home: ensure solid header from load */
body:not(.ah-home) .ah-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--ah-border);
}

/* Mobile CTA spacing on home hero */
@media (max-width: 575.98px) {
  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__btn {
    justify-content: center;
  }

  .navbar-brand.u-header__navbar-brand img {
    margin-left: -12px !important;
  }
}
