/*
 * Basmat Amal — Atelier V16
 * A restrained refinement layer over the existing production design system.
 * It intentionally avoids changing booking, payment, scheduling, or admin logic.
 */

:root {
  --ba-forest-950: #082a24;
  --ba-forest-900: #0d352d;
  --ba-forest-800: #164a3e;
  --ba-sage-100: #edf3ef;
  --ba-sage-200: #dce9e2;
  --ba-ivory-50: #fffdf8;
  --ba-ivory-100: #faf6ee;
  --ba-gold-400: #c5a46b;
  --ba-gold-500: #b48b4c;
  --ba-ink: #17332d;
  --ba-muted: #66746f;
  --ba-line: rgba(20, 65, 55, .14);
  --ba-shadow-soft: 0 20px 60px rgba(8, 42, 36, .09);
  --ba-shadow-lift: 0 28px 78px rgba(8, 42, 36, .14);
  --ba-radius-sm: 12px;
  --ba-radius-md: 18px;
  --ba-radius-lg: 26px;
}

::selection {
  color: #fff;
  background: var(--ba-forest-800);
}

html {
  background: var(--ba-ivory-100);
  scroll-padding-top: 96px;
}

body {
  background:
    radial-gradient(circle at 7% 7%, rgba(197, 164, 107, .09), transparent 24rem),
    radial-gradient(circle at 96% 31%, rgba(82, 135, 120, .07), transparent 28rem),
    var(--ba-ivory-100);
}

body,
button,
input,
select,
textarea {
  font-kerning: normal;
}

body > main {
  position: relative;
  z-index: 2;
}

a,
button,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(197, 164, 107, .48);
}

/* Calm, balanced global rhythm. */
.section-container {
  padding-block: clamp(76px, 8vw, 112px);
}

.section-heading {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.section-heading h2 {
  color: var(--ba-forest-950);
  letter-spacing: -.018em;
}

.section-heading > p:last-child {
  color: var(--ba-muted);
  text-wrap: pretty;
}

.eyebrow {
  letter-spacing: .035em;
}

/* Header: preserve every route while removing the crowded feeling. */
.site-header {
  min-height: 80px;
  grid-template-columns: minmax(175px, 1fr) auto minmax(230px, 1fr);
  gap: clamp(16px, 2vw, 30px);
  background: rgba(250, 246, 238, .9);
  border-bottom-color: rgba(20, 65, 55, .1);
  box-shadow: 0 8px 30px rgba(8, 42, 36, .035);
}

.brand {
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 47px;
}

.brand-copy strong {
  letter-spacing: -.015em;
}

.desktop-nav {
  gap: clamp(15px, 1.55vw, 24px);
}

.desktop-nav a {
  font-size: 12.5px;
}

.header-actions {
  gap: 8px;
}

.header-cta,
.ba-manage-booking-link {
  min-height: 44px;
  border-radius: 11px;
}

.ba-manage-booking-link {
  padding-inline: 14px;
  color: var(--ba-forest-800);
  background: rgba(255, 253, 248, .72);
  border-color: rgba(20, 65, 55, .16);
}

.ba-manage-booking-link:hover {
  background: var(--ba-sage-100);
  border-color: rgba(20, 65, 55, .38);
}

.header-cta {
  padding-inline: 19px;
  box-shadow: 0 10px 24px rgba(8, 42, 36, .14);
}

/* Intro and route transitions: elegant and brief, never blocking navigation. */
.brand-intro {
  background:
    radial-gradient(circle at 50% 45%, rgba(197, 164, 107, .12), transparent 22rem),
    var(--ba-ivory-100);
}

.brand-intro-logo-wrap {
  filter: drop-shadow(0 18px 34px rgba(8, 42, 36, .1));
}

.route-transition {
  background: rgba(250, 246, 238, .96);
  backdrop-filter: blur(12px);
}

.route-transition-mark {
  filter: drop-shadow(0 14px 28px rgba(8, 42, 36, .14));
}

/* A quiet animated floral field placed only at the page edges. */
.ba-petal-field {
  position: fixed;
  z-index: 18;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.ba-petal {
  --ba-petal-size: 18px;
  position: absolute;
  width: var(--ba-petal-size);
  height: calc(var(--ba-petal-size) * 1.8);
  opacity: .13;
  border: 1px solid rgba(180, 139, 76, .32);
  border-radius: 85% 12% 82% 18%;
  background: linear-gradient(155deg, rgba(255, 253, 248, .84), rgba(197, 164, 107, .42));
  box-shadow: 0 8px 24px rgba(8, 42, 36, .08);
  animation: ba-petal-drift 13s ease-in-out infinite alternate;
  transform: rotate(var(--ba-petal-rotate, 18deg));
}

.ba-petal:nth-child(1) { top: 13%; right: 1.2%; --ba-petal-size: 15px; --ba-petal-rotate: 24deg; animation-delay: -3s; }
.ba-petal:nth-child(2) { top: 31%; left: 1.4%; --ba-petal-size: 20px; --ba-petal-rotate: -32deg; animation-delay: -8s; }
.ba-petal:nth-child(3) { top: 55%; right: .7%; --ba-petal-size: 24px; --ba-petal-rotate: 46deg; animation-delay: -5s; }
.ba-petal:nth-child(4) { top: 76%; left: 1%; --ba-petal-size: 14px; --ba-petal-rotate: -8deg; animation-delay: -10s; }
.ba-petal:nth-child(5) { top: 89%; right: 3%; --ba-petal-size: 17px; --ba-petal-rotate: 66deg; animation-delay: -1s; }
.ba-petal:nth-child(6) { top: 7%; left: 3.2%; --ba-petal-size: 12px; --ba-petal-rotate: -48deg; animation-delay: -6s; }

@keyframes ba-petal-drift {
  0% { translate: 0 -8px; rotate: -4deg; }
  55% { translate: 8px 10px; rotate: 7deg; }
  100% { translate: -4px 24px; rotate: -8deg; }
}

/* Scroll reveals are attached only after JavaScript is ready. */
.ba-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .72s cubic-bezier(.2, .75, .2, 1),
    transform .72s cubic-bezier(.2, .75, .2, 1);
  transition-delay: var(--ba-reveal-delay, 0ms);
}

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

/* Elevation and micro-interaction, without making the site feel busy. */
.support-grid article,
.area-card,
.service-cards article,
.catalog-grid article,
.process-list article,
.policy-page-grid article,
.legal-sections article,
.faq-list details,
.program-grid article {
  border-color: var(--ba-line);
  box-shadow: 0 14px 44px rgba(8, 42, 36, .055);
}

.support-grid article:hover,
.area-card:hover,
.service-cards article:hover,
.catalog-grid article:hover,
.program-grid article:hover {
  border-color: rgba(180, 139, 76, .42);
  box-shadow: var(--ba-shadow-lift);
}

.primary-button,
.card-button,
.light-button,
.submit-button,
.header-cta {
  position: relative;
  overflow: hidden;
}

.primary-button::after,
.card-button::after,
.submit-button::after,
.header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.14), transparent 70%);
  transform: translateX(115%);
  transition: transform .65s ease;
}

.primary-button:hover::after,
.card-button:hover::after,
.submit-button:hover::after,
.header-cta:hover::after {
  transform: translateX(-115%);
}

/* Workshops and seasonal programs. */
.programs-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 164, 107, .14), transparent 23rem),
    radial-gradient(circle at 88% 90%, rgba(103, 158, 142, .14), transparent 28rem),
    linear-gradient(145deg, var(--ba-forest-950), var(--ba-forest-900));
}

.programs-section::before,
.programs-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 70% 30% 68% 32%;
  transform: rotate(34deg);
}

.programs-section::before { top: -120px; right: 7%; }
.programs-section::after { bottom: -145px; left: 9%; }

.programs-heading {
  max-width: 760px;
}

.programs-heading h2 {
  color: #fff;
}

.programs-heading > p:last-child {
  color: rgba(255, 255, 255, .67);
}

.program-grid {
  gap: 24px;
}

.program-grid article {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 42px);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .055));
  backdrop-filter: blur(10px);
}

.program-card-top {
  flex-wrap: wrap;
  align-items: flex-start;
}

.program-card-top > span {
  font-size: 12px;
}

.closed-badge {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .06);
}

.program-grid h3 {
  max-width: 24ch;
  margin-top: 28px;
  font-size: clamp(21px, 2.15vw, 27px);
  line-height: 1.55;
}

.program-grid article > p {
  max-width: 58ch;
  text-wrap: pretty;
}

.program-grid dl {
  margin-top: auto;
  padding-top: 24px;
}

.program-grid article > a {
  align-self: flex-start;
  margin-top: 24px;
}

/* Program-interest page: dedicated layout fixes the overlapping copy. */
.interest-section {
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(38px, 5vw, 70px);
  align-items: start;
}

.interest-info {
  top: 118px;
  padding: 10px 0;
}

.interest-info h2 {
  max-width: 18ch;
}

.interest-form {
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--ba-shadow-soft);
}

.interest-form .registration-status {
  margin-bottom: 30px;
  padding: 18px 20px;
  border-radius: 14px;
}

.interest-form .service-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.interest-form .service-options label {
  min-width: 0;
  min-height: 158px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-content: start;
  gap: 14px;
  padding: 24px;
  overflow: visible;
}

.interest-form .service-options input {
  position: static;
  grid-column: 1;
  grid-row: 1;
  margin: 2px 0 0;
}

.interest-form .service-options label > span {
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  color: var(--ba-ink) !important;
}

.interest-form .service-options strong {
  color: var(--ba-forest-900);
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.7;
}

.interest-form .service-options small {
  display: block;
  margin-top: 6px;
  color: var(--ba-muted);
  font-size: 11px;
  line-height: 1.75;
}

.interest-form .free-interest-note {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--ba-line);
  color: var(--ba-forest-800) !important;
}

.interest-form .consent-row {
  margin-top: 4px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--ba-sage-100);
}

.interest-form .consent-row::before {
  display: none !important;
}

.booking-section .booking-form .consent-row::before {
  content: "موافقتك قبل الانتقال إلى الدفع";
}

/* Contact block: four clear actions in a calm two-column matrix. */
.ba-contact {
  margin-block: clamp(62px, 7vw, 94px) 44px;
  padding: clamp(38px, 5vw, 66px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 12%, rgba(197, 164, 107, .14), transparent 18rem),
    linear-gradient(145deg, var(--ba-forest-900), var(--ba-forest-950));
  box-shadow: 0 34px 90px rgba(8, 42, 36, .2);
}

.ba-contact-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .72fr);
  gap: clamp(42px, 6vw, 82px);
}

.ba-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 590px;
}

.ba-contact-button {
  width: 100%;
  min-height: 51px;
  padding-inline: 15px;
  border-radius: 11px;
}

.ba-contact-social {
  padding: 28px;
  border-radius: 19px;
  background: rgba(255, 255, 255, .055);
}

.ba-social-link {
  min-height: 72px;
}

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

.footer-main.ba-footer-main-simple {
  min-height: 130px;
}

.footer-bottom {
  gap: 24px;
}

/* Legal pages remain readable instead of looking like dense fine print. */
.legal-sections {
  gap: 16px;
}

.legal-sections article,
.policy-page-grid article {
  border-radius: 18px;
  background: rgba(255, 253, 248, .92);
}

.legal-sections article p,
.policy-page-grid article p {
  text-wrap: pretty;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(132px, 1fr) auto minmax(210px, 1fr);
    gap: 14px;
  }

  .brand-copy small { display: none; }
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 11.5px; }
  .ba-manage-booking-link { padding-inline: 11px; }
}

@media (max-width: 1050px) {
  .interest-section { grid-template-columns: 1fr; }
  .interest-info { position: static; max-width: 760px; }
  .ba-contact-inner { grid-template-columns: 1fr; }
  .ba-contact-social { max-width: 650px; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .brand-copy small { display: block; }
  .ba-petal:nth-child(even) { display: none; }
}

@media (max-width: 720px) {
  .program-grid,
  .interest-form .service-options,
  .ba-contact-actions {
    grid-template-columns: 1fr;
  }

  .program-grid article {
    min-height: 0;
  }

  .program-grid dl {
    margin-top: 22px;
    padding-top: 0;
  }

  .interest-form .service-options label {
    min-height: 136px;
  }

  .ba-contact-social {
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .section-container {
    padding-block: 64px;
  }

  .brand-copy small { display: none; }

  .interest-form {
    padding: 23px 18px;
  }

  .interest-form .service-options label {
    padding: 20px;
  }

  .ba-contact {
    width: min(calc(100% - 28px), var(--container));
    padding: 34px 20px;
    border-radius: 22px;
  }

  .ba-petal {
    opacity: .085;
    scale: .8;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .ba-petal-field { display: none !important; }
  .ba-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .primary-button::after,
  .card-button::after,
  .submit-button::after,
  .header-cta::after { display: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* V17 — final visual polish: flower identity, contained portrait, and compact support areas. */
.brand-mark img,
.brand-wordmark-mark {
  object-fit: contain;
}

/* Keep the official original mark in every rendered brand location. */
.brand-mark img[src$="brand-mark.png"],
.brand-wordmark-mark[src$="brand-mark.png"],
.route-transition-mark img[src$="brand-mark.png"] {
  content: normal;
}

/* The first-visit mark becomes a branded arched window that opens onto the logo. */
.brand-intro {
  background:
    radial-gradient(circle at 50% 43%, rgba(197, 164, 107, .2), transparent 23rem),
    radial-gradient(circle at 50% 100%, rgba(73, 131, 112, .12), transparent 30rem),
    linear-gradient(145deg, #fdfaf3, #e9f0ea);
}

.brand-intro::before {
  z-index: 0;
  width: min(390px, 82vw);
  height: min(500px, 108vw);
  border: 1px solid rgba(180, 139, 76, .42);
  border-radius: 210px 210px 34px 34px;
  background: linear-gradient(160deg, rgba(255, 253, 248, .96), rgba(223, 235, 227, .88));
  box-shadow: 0 30px 90px rgba(8, 42, 36, .12), inset 0 0 0 10px rgba(255, 253, 248, .5);
  animation: none;
  top: 50%;
  transform: translate(-50%, -50%);
}

.brand-intro::after,
.brand-intro-line,
.brand-intro > p {
  display: none;
}

.brand-intro-logo-wrap {
  z-index: 1;
  width: min(346px, 73vw);
  aspect-ratio: .72;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(13, 53, 45, .14);
  border-radius: 180px 180px 25px 25px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .96), rgba(255, 253, 248, .58) 48%, rgba(197, 164, 107, .16) 100%);
  box-shadow: 0 24px 60px rgba(8, 42, 36, .16), inset 0 0 0 7px rgba(255, 255, 255, .45);
  animation: none;
  display: grid;
}

.brand-intro-logo-wrap::before,
.brand-intro-logo-wrap::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 52%;
  background:
    linear-gradient(145deg, rgba(13, 53, 45, .98), rgba(24, 78, 65, .96)),
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.brand-intro-logo-wrap::before {
  left: 0;
  border-right: 1px solid rgba(197, 164, 107, .5);
  transform-origin: left center;
  animation: ba-window-open-left 1.35s cubic-bezier(.22, .82, .25, 1) .1s both;
}

.brand-intro-logo-wrap::after {
  right: 0;
  border-left: 1px solid rgba(197, 164, 107, .5);
  transform-origin: right center;
  animation: ba-window-open-right 1.35s cubic-bezier(.22, .82, .25, 1) .1s both;
}

.brand-intro-logo {
  position: relative;
  z-index: 1;
  gap: 13px;
  color: var(--ba-forest-950);
  transform: translateY(7px);
}

.brand-intro-logo::before {
  display: none;
}

.brand-intro-logo .brand-wordmark-mark {
  display: block;
}

.brand-intro-logo .brand-wordmark-copy small {
  display: block;
  color: var(--ba-forest-800);
  opacity: .74;
  margin-top: 7px;
  font-size: 10px;
}

@keyframes ba-window-open-left {
  0%, 34% { transform: translateX(0); }
  76%, 100% { transform: translateX(-108%); }
}

@keyframes ba-window-open-right {
  0%, 34% { transform: translateX(0); }
  76%, 100% { transform: translateX(108%); }
}

/* Keep the coach photograph entirely within its arched portrait. */
.hero-section {
  position: relative;
  isolation: isolate;
}

.hero-copy,
.hero-coach {
  z-index: 1;
}

.hero-coach-frame {
  overflow: hidden !important;
  clip-path: inset(0 round 175px 175px 24px 24px);
  -webkit-clip-path: inset(0 round 175px 175px 24px 24px);
  isolation: isolate;
}

.hero-coach-frame img {
  width: 96% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain !important;
  object-position: center bottom !important;
  bottom: 0;
  transform: translateX(-50%) !important;
}

/* Make the two final program fields share their desktop row. */
.interest-form .form-grid > .ba-interest-topic {
  display: block;
  grid-column: auto;
}

/* Contact: less empty space, a one-line desktop message, and proper platform icons. */
.ba-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 4.2vw, 56px);
}

.ba-contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  aspect-ratio: 1;
  left: -72px;
  bottom: -105px;
  opacity: .1;
  border: 1px solid rgba(197, 164, 107, .45);
  border-radius: 62% 38% 56% 44%;
  transform: rotate(-18deg);
}

.ba-contact-inner {
  align-items: center;
  grid-template-columns: minmax(0, 1.18fr) minmax(315px, .68fr);
  gap: clamp(38px, 5vw, 68px);
}

.ba-contact-copy > p:not(.ba-contact-kicker) {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(13px, 1.04vw, 15px);
}

.ba-contact-social {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 224px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 38px rgba(0, 0, 0, .12);
}

.ba-contact-social::before {
  content: "";
  position: absolute;
  width: 146px;
  aspect-ratio: 1;
  left: -52px;
  top: -58px;
  opacity: .13;
  border: 1px solid rgba(197, 164, 107, .7);
  border-radius: 58% 42% 66% 34%;
  transform: rotate(18deg);
}

.ba-contact-social > * {
  position: relative;
  z-index: 1;
}

.ba-contact-social > p {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
}

.ba-social-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 253, 248, .09);
  color: #fff;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.ba-social-link:hover {
  border-color: rgba(197, 164, 107, .68);
  background: rgba(255, 253, 248, .15);
  transform: translateX(-3px);
}

.ba-social-icon,
.ba-platform-icon {
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(197, 164, 107, .52);
  border-radius: 12px;
  background: rgba(255, 253, 248, .12);
  display: grid;
}

.ba-social-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #f7e6be;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.ba-social-link strong {
  color: #fff;
  font-size: 13px;
}

.ba-social-link small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .66);
  direction: ltr;
  text-align: right;
  font-size: 11px;
}

.ba-social-link > span:last-child {
  color: #f7e6be;
  font-size: 19px;
}

/* Footer: bring the brand, legal links, and licence into a compact clear hierarchy. */
.site-footer.ba-footer-refined {
  margin-top: 0;
}

.footer-main.ba-footer-main-simple {
  min-height: 0;
  padding-block: 28px 24px;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.4vw, 48px);
}

.footer-brand p {
  max-width: 44ch;
  padding-right: 0;
  padding-inline-start: clamp(20px, 3vw, 38px);
  border-right: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, .22);
}

.footer-bottom {
  min-height: 0;
  padding-block: 14px;
}

@media (max-width: 1180px) {
  .ba-contact-copy > p:not(.ba-contact-kicker) { white-space: normal; }
}

@media (max-width: 900px) {
  .footer-brand { gap: 24px; }
}

@media (max-width: 720px) {
  .hero-coach-frame {
    clip-path: inset(0 round 145px 145px 22px 22px);
    -webkit-clip-path: inset(0 round 145px 145px 22px 22px);
  }

  .ba-contact-inner { grid-template-columns: 1fr; }
  .ba-contact-social { min-height: 0; max-width: none; }
  .ba-contact-copy > p:not(.ba-contact-kicker) { white-space: normal; }

  .footer-main.ba-footer-main-simple { padding-block: 26px 20px; }
  .footer-brand { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
  .footer-brand p { padding-inline-start: 0; border-inline-start: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-intro-logo-wrap::before,
  .brand-intro-logo-wrap::after { display: none; }
}

/* V18 — final identity, spacing, and finishing pass. */
/* The original Basmat Amal mark is intentionally used without substitutions. */
.brand-mark img,
.brand-wordmark-mark,
.route-transition-mark img {
  content: normal !important;
  object-fit: contain;
}

/* A richer first-visit window: it opens around the original logo, without a new mark. */
.brand-intro {
  background:
    radial-gradient(circle at 14% 18%, rgba(197, 164, 107, .18), transparent 13rem),
    radial-gradient(circle at 86% 78%, rgba(94, 143, 126, .16), transparent 20rem),
    linear-gradient(145deg, #fffdf8 0%, #f4efe3 52%, #e9f1eb 100%);
}

.brand-intro::before {
  width: min(476px, 90vw);
  height: min(574px, 110vw);
  border: 1px solid rgba(180, 139, 76, .5);
  border-radius: 240px 240px 42px 42px;
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 255, 255, .95), rgba(255, 253, 248, .52) 48%, rgba(197, 164, 107, .16) 100%),
    linear-gradient(165deg, rgba(255, 253, 248, .94), rgba(223, 235, 227, .82));
  box-shadow:
    0 34px 95px rgba(8, 42, 36, .12),
    inset 0 0 0 10px rgba(255, 253, 248, .45);
}

.brand-intro::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(620px, 112vw);
  height: min(620px, 112vw);
  border: 1px solid rgba(22, 74, 62, .1);
  border-radius: 50%;
  background: none;
  opacity: .68;
  transform: translate(-50%, -50%);
  animation: ba-intro-orbit 8s ease-in-out infinite alternate;
}

.brand-intro-logo-wrap {
  z-index: 2;
  width: min(360px, 76vw);
  aspect-ratio: .73;
  border-color: rgba(13, 53, 45, .18);
  border-radius: 188px 188px 30px 30px;
  background:
    radial-gradient(circle at 50% 31%, rgba(255, 255, 255, .98), rgba(255, 253, 248, .7) 53%, rgba(197, 164, 107, .18) 100%);
  box-shadow:
    0 27px 64px rgba(8, 42, 36, .17),
    inset 0 0 0 8px rgba(255, 255, 255, .46);
  animation: ba-intro-arrive .86s cubic-bezier(.2, .8, .2, 1) both;
}

.brand-intro-logo-wrap::before,
.brand-intro-logo-wrap::after {
  background:
    linear-gradient(145deg, rgba(8, 42, 36, .98), rgba(24, 78, 65, .96)),
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent);
}

.brand-intro-logo {
  z-index: 2;
  align-items: center;
  color: var(--ba-forest-950);
  transform: translateY(5px);
}

.brand-intro-logo::before { display: none; }

.brand-intro-logo .brand-wordmark-mark {
  display: block !important;
  width: 88px;
  height: 108px;
  filter: drop-shadow(0 12px 16px rgba(8, 42, 36, .15));
  animation: ba-intro-mark .9s cubic-bezier(.2, .8, .2, 1) .32s both;
}

.brand-intro-logo .brand-wordmark-copy {
  align-items: center;
}

.brand-intro-logo .brand-wordmark-copy strong {
  font-size: clamp(27px, 3vw, 32px);
}

.brand-intro-logo .brand-wordmark-copy small {
  display: block;
  margin-top: 7px;
  color: var(--ba-forest-800);
  font-size: 10px;
  opacity: .74;
}

.brand-intro-line {
  display: block;
  position: relative;
  z-index: 2;
  width: 118px;
  height: 1px;
  margin-top: 17px;
  background: linear-gradient(90deg, transparent, var(--ba-gold-500), transparent);
  animation: ba-intro-line .85s ease-out .55s both;
}

.brand-intro > p {
  display: block;
  position: relative;
  z-index: 2;
  margin: 11px 0 0;
  color: var(--ba-forest-800);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  animation: ba-intro-copy .65s ease-out .68s both;
}

@keyframes ba-intro-arrive {
  from { opacity: 0; transform: translateY(20px) scale(.965); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ba-intro-mark {
  from { opacity: 0; transform: translateY(12px) scale(.9); }
  to { opacity: 1; transform: none; }
}

@keyframes ba-intro-line {
  from { opacity: 0; transform: scaleX(.2); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes ba-intro-copy {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: .78; transform: none; }
}

@keyframes ba-intro-orbit {
  from { transform: translate(-50%, -50%) scale(.985); }
  to { transform: translate(-50%, -50%) scale(1.015); }
}

/* The coach portrait is now enclosed by one unambiguous, safely clipped arch. */
.hero-section {
  overflow: clip;
}

.hero-section > :not(.ba-botanical-field) {
  position: relative;
  z-index: 1;
}

.hero-coach::after {
  display: block !important;
  z-index: 3;
  width: 86%;
  height: 92%;
  bottom: 1%;
  left: 50%;
  border: 1px solid rgba(197, 164, 107, .5);
  border-radius: 175px 175px 24px 24px;
  background: transparent;
  opacity: .7;
  transform: translateX(-50%) scale(.988);
  transform-origin: center bottom;
  animation: ba-coach-frame-breathe 5.8s ease-in-out infinite alternate;
}

.hero-coach::before {
  width: 86%;
  height: 92%;
  bottom: 0;
  border: 1px solid rgba(197, 164, 107, .55);
  background: linear-gradient(165deg, #245a4d 0%, var(--ba-forest-950) 100%);
}

.hero-coach-frame {
  position: relative;
  width: 80% !important;
  height: 500px;
  overflow: hidden !important;
  contain: paint;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 175px 175px 24px 24px;
  clip-path: inset(0 round 175px 175px 24px 24px);
  -webkit-clip-path: inset(0 round 175px 175px 24px 24px);
  box-shadow:
    0 22px 52px rgba(8, 42, 36, .22),
    inset 0 0 0 6px rgba(255, 255, 255, .05);
}

.hero-coach-frame img {
  width: 90% !important;
  height: 92% !important;
  max-width: none;
  object-fit: contain !important;
  object-position: center bottom !important;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) !important;
}

/* Varied, small botanical sprigs replace the repeated large flower blooms. */
.ba-botanical-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ba-botanical-sprig {
  position: absolute;
  display: block;
  width: 118px;
  height: 166px;
  opacity: .44;
  filter: drop-shadow(0 9px 15px rgba(8, 42, 36, .08));
  animation: ba-botanical-sway 12s ease-in-out infinite alternate;
}

.ba-botanical-stem {
  position: absolute;
  top: 14px;
  left: 56px;
  width: 1px;
  height: 132px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(197, 164, 107, .72), rgba(22, 74, 62, .46));
  transform: rotate(19deg);
  transform-origin: bottom;
}

.ba-botanical-leaf {
  position: absolute;
  display: block;
  width: 26px;
  height: 48px;
  border: 1px solid rgba(180, 139, 76, .43);
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, rgba(255, 253, 248, .94), rgba(197, 164, 107, .66));
}

.ba-botanical-leaf--one { top: 24px; left: 31px; transform: rotate(-45deg); }
.ba-botanical-leaf--two { top: 51px; left: 62px; transform: rotate(48deg) scale(.88); }
.ba-botanical-leaf--three { top: 84px; left: 22px; transform: rotate(-38deg) scale(.75); }
.ba-botanical-leaf--four { top: 105px; left: 65px; transform: rotate(54deg) scale(.62); }

.ba-botanical-field--hero .ba-botanical-sprig--one { top: 3%; right: 5%; left: auto; opacity: .36; transform: rotate(16deg) scale(.7); }
.ba-botanical-field--hero .ba-botanical-sprig--two { top: auto; right: 8%; bottom: 7%; left: auto; opacity: .28; transform: rotate(-26deg) scale(.5); animation-delay: -4s; }
.ba-botanical-field--hero .ba-botanical-sprig--three { display: none; }

.programs-section > .section-container,
.faq-section > :not(.ba-botanical-field) {
  position: relative;
  z-index: 1;
}

.programs-section::before,
.programs-section::after { display: none; }

.ba-botanical-field--programs .ba-botanical-sprig--one {
  top: 2%;
  right: 6%;
  left: auto;
  opacity: .34;
  transform: rotate(14deg) scale(.64);
  animation-delay: -2.4s;
}

.ba-botanical-field--programs .ba-botanical-sprig--two {
  top: auto;
  right: 7%;
  bottom: 3%;
  left: auto;
  opacity: .27;
  transform: rotate(-24deg) scale(.48);
  animation-delay: -4.6s;
}

.ba-botanical-field--faq .ba-botanical-sprig--one {
  top: 14px;
  left: 3.5%;
  width: 74px;
  height: 65px;
  opacity: .36;
  transform: rotate(-14deg) scale(.78);
  animation-delay: -4s;
}

.ba-botanical-field--faq .ba-botanical-stem { display: none; }
.ba-botanical-field--faq .ba-botanical-leaf { width: 16px; height: 28px; }
.ba-botanical-field--faq .ba-botanical-leaf--one { top: 4px; left: 18px; }
.ba-botanical-field--faq .ba-botanical-leaf--two { top: 11px; left: 40px; }
.ba-botanical-field--faq .ba-botanical-leaf--three { top: 27px; left: 7px; }
.ba-botanical-field--faq .ba-botanical-leaf--four { top: 33px; left: 35px; }

@keyframes ba-botanical-sway {
  0% { translate: 0 0; rotate: -2deg; }
  50% { translate: 5px -7px; rotate: 3deg; }
  100% { translate: -3px 5px; rotate: -1deg; }
}

/* Programs: the explanatory line stays as one measured desktop line. */
.programs-heading {
  max-width: 1000px;
}

.programs-heading > p:last-child {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(13px, 1vw, 15px);
}

/* FAQ: clear scope, calmer cards, and comfortable breathing room for each question. */
.ba-faq-refined,
.faq-section {
  position: relative;
  isolation: isolate;
}

.ba-faq-refined .section-heading {
  padding-top: 12px;
}

.ba-faq-refined .faq-list {
  display: grid;
  gap: 14px;
  padding-top: 22px;
}

.ba-faq-refined .faq-list details {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 65, 55, .15);
  border-radius: 17px;
  background: rgba(255, 253, 248, .88);
  box-shadow: 0 12px 34px rgba(8, 42, 36, .055);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.ba-faq-refined .faq-list details[open] {
  border-color: rgba(180, 139, 76, .54);
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(8, 42, 36, .08);
}

.ba-faq-refined .faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 27px 24px 22px;
  color: var(--ba-forest-900);
  line-height: 1.85;
}

.ba-faq-refined .faq-list summary > span {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--ba-gold-500);
}

.ba-faq-refined .faq-list details > p {
  margin: 0;
  padding: 0 24px 23px;
  color: var(--ba-muted);
  line-height: 2;
}

/* Action icons are light, unboxed, and consistently sit to the left of the Arabic label. */
.ba-contact-actions .ba-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  direction: ltr;
}

.ba-contact-button-label {
  direction: rtl;
  unicode-bidi: plaintext;
}

.ba-contact-button .ba-social-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f7e6be;
}

.ba-contact-button .ba-social-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor !important;
}

.ba-contact-button.primary .ba-social-icon { color: var(--ba-forest-800); }

/* Footer: remove the oversized empty band and keep the legal row compact. */
.site-footer .footer-main.ba-footer-main-simple {
  min-height: 0 !important;
  padding-block: 21px 18px !important;
  gap: clamp(20px, 3vw, 42px);
}

.site-footer .footer-brand { gap: clamp(16px, 2.5vw, 32px); }

.site-footer .footer-brand p {
  max-width: 48ch;
  line-height: 1.75;
}

.site-footer .footer-bottom {
  min-height: 0 !important;
  padding-block: 12px !important;
}

@media (max-width: 1100px) {
  .programs-heading > p:last-child { white-space: normal; }
}

@media (max-width: 720px) {
  .brand-intro::before {
    width: min(390px, 88vw);
    height: min(504px, 112vw);
  }

  .brand-intro-logo-wrap {
    width: min(318px, 74vw);
    border-radius: 166px 166px 25px 25px;
  }

  .brand-intro-logo .brand-wordmark-mark { width: 76px; height: 93px; }
  .brand-intro-logo .brand-wordmark-copy strong { font-size: 27px; }

  .hero-coach::before { width: 90%; height: 92%; }

  .hero-coach-frame {
    width: 82% !important;
    height: 430px;
    border-radius: 145px 145px 22px 22px;
    clip-path: inset(0 round 145px 145px 22px 22px);
    -webkit-clip-path: inset(0 round 145px 145px 22px 22px);
  }

  .hero-coach-frame img {
    width: 89% !important;
    height: 92% !important;
  }

  .ba-botanical-field--hero .ba-botanical-sprig--one { top: 1%; right: 1%; left: auto; transform: rotate(16deg) scale(.5); }
  .ba-botanical-field--hero .ba-botanical-sprig--two { right: 1%; bottom: 3%; left: auto; transform: rotate(-26deg) scale(.38); }
  .ba-botanical-field--hero .ba-botanical-sprig--three { display: none; }
  .ba-botanical-field--programs .ba-botanical-sprig--one { top: 1%; right: 1%; left: auto; transform: rotate(14deg) scale(.46); }
  .ba-botanical-field--programs .ba-botanical-sprig--two { right: 1%; bottom: 1%; left: auto; transform: rotate(-24deg) scale(.34); }
  .ba-botanical-field--faq .ba-botanical-sprig--one { top: 10px; left: 2%; transform: rotate(-14deg) scale(.62); }

  .ba-faq-refined .faq-list { gap: 11px; padding-top: 17px; }
  .ba-faq-refined .faq-list summary { min-height: 76px; padding: 23px 19px 18px; gap: 14px; }
  .ba-faq-refined .faq-list details > p { padding: 0 19px 20px; }

  .site-footer .footer-main.ba-footer-main-simple { padding-block: 24px 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-botanical-field { display: none !important; }
  .brand-intro::after,
  .brand-intro-logo-wrap,
  .brand-intro-logo .brand-wordmark-mark,
  .brand-intro-line,
  .brand-intro > p { animation: none !important; }
}

/* V20 — precise finishing layer: one smooth portrait frame, restrained movement,
   and a stronger visual hierarchy in the lower page sections. */
@keyframes ba-coach-frame-breathe {
  from { opacity: .5; transform: translateX(-50%) scale(.988); }
  to { opacity: .82; transform: translateX(-50%) scale(1.008); }
}

@keyframes ba-hero-orbit-spin {
  to { transform: rotate(360deg); }
}

.hero-section > .ba-hero-orbit {
  display: block !important;
  position: absolute;
  z-index: 0;
  top: 8%;
  right: -5%;
  width: min(30vw, 440px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: .76;
}

.ba-hero-orbit span {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(180, 139, 76, .22);
  border-radius: 50%;
  animation: ba-hero-orbit-spin 18s linear infinite;
}

.ba-hero-orbit span:nth-child(2) {
  inset: 16%;
  border-color: rgba(22, 74, 62, .19);
  animation-duration: 13s;
  animation-direction: reverse;
}

.ba-hero-orbit span:nth-child(3) {
  inset: 34%;
  border-color: rgba(197, 164, 107, .43);
  animation-duration: 8.5s;
  animation-timing-function: ease-in-out;
}

.ba-hero-orbit span::after {
  content: "";
  position: absolute;
  top: 11%;
  left: 12%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ba-gold-500);
  box-shadow: 0 0 0 6px rgba(197, 164, 107, .12);
}

.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-section .about-inner {
  position: relative;
  z-index: 1;
}

.ba-about-botanical {
  position: absolute;
  z-index: 0;
  top: 11%;
  left: clamp(18px, 4.3vw, 82px);
  width: 148px;
  height: 470px;
  pointer-events: none;
  opacity: .54;
  transform-origin: bottom center;
  animation: ba-about-plant-sway 8.8s ease-in-out infinite alternate;
}

.ba-about-stem {
  position: absolute;
  top: 2px;
  left: 71px;
  width: 1px;
  height: 424px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 224, 188, .86), rgba(197, 164, 107, .3));
  transform: rotate(-10deg);
  transform-origin: top center;
}

.ba-about-leaf {
  position: absolute;
  display: block;
  width: 29px;
  height: 67px;
  border: 1px solid rgba(240, 224, 188, .52);
  border-radius: 100% 0 100% 0;
  background: linear-gradient(145deg, rgba(255, 253, 248, .8), rgba(197, 164, 107, .37));
  box-shadow: inset 3px -3px 0 rgba(255, 255, 255, .1);
}

.ba-about-leaf--one { top: 28px; left: 45px; transform: rotate(-57deg); }
.ba-about-leaf--two { top: 66px; left: 74px; transform: rotate(52deg) scale(.9); }
.ba-about-leaf--three { top: 119px; left: 34px; transform: rotate(-52deg) scale(.83); }
.ba-about-leaf--four { top: 161px; left: 76px; transform: rotate(48deg) scale(.75); }
.ba-about-leaf--five { top: 219px; left: 28px; transform: rotate(-49deg) scale(.74); }
.ba-about-leaf--six { top: 267px; left: 74px; transform: rotate(44deg) scale(.64); }
.ba-about-leaf--seven { top: 325px; left: 25px; transform: rotate(-44deg) scale(.57); }
.ba-about-leaf--eight { top: 367px; left: 68px; transform: rotate(42deg) scale(.48); }

@keyframes ba-about-plant-sway {
  from { transform: translateX(-4px) rotate(-2.2deg); }
  to { transform: translateX(8px) rotate(2.7deg); }
}

.ba-faq-followup {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 26px 0 0;
  padding: 23px 27px;
  overflow: hidden;
  border: 1px solid rgba(180, 139, 76, .3);
  border-radius: 18px;
  background: linear-gradient(125deg, rgba(255, 253, 248, .96), rgba(238, 245, 240, .95));
  box-shadow: 0 17px 42px rgba(8, 42, 36, .07);
}

.ba-faq-followup::after {
  content: "";
  position: absolute;
  top: -85px;
  left: -52px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(197, 164, 107, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(197, 164, 107, .06), 0 0 0 55px rgba(197, 164, 107, .035);
  pointer-events: none;
}

.ba-faq-followup-copy { position: relative; z-index: 1; }
.ba-faq-followup-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--ba-gold-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .045em;
}

.ba-faq-followup h3 {
  margin: 0 0 4px;
  color: var(--ba-forest-950);
  font-size: 20px;
  line-height: 1.55;
}

.ba-faq-followup p {
  max-width: 58ch;
  margin: 0;
  color: var(--ba-muted);
  font-size: 13px;
  line-height: 1.9;
}

.ba-faq-followup-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 18px;
  border: 1px solid var(--ba-forest-800);
  border-radius: 11px;
  background: var(--ba-forest-800);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.ba-faq-followup-action:hover {
  background: var(--ba-forest-950);
  box-shadow: 0 11px 24px rgba(8, 42, 36, .18);
  transform: translateY(-2px);
}

.ba-faq-followup-action .ba-social-icon {
  display: grid;
  width: 18px;
  height: 18px;
  color: #f6dfa8;
}

.ba-faq-followup-action .ba-social-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

@media (min-width: 821px) {
  .ba-faq-refined .faq-list details > p {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(13px, 1.03vw, 15px);
  }
}

.testimonials-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.testimonials-section .testimonial-carousel { position: relative; z-index: 1; }

.ba-v20-ready .testimonials-section .testimonial-carousel {
  animation: ba-testimonial-arrive .78s cubic-bezier(.22, .75, .24, 1) both;
}

.testimonial-slide blockquote {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.testimonial-slide blockquote:hover {
  border-color: rgba(180, 139, 76, .46);
  box-shadow: 0 18px 42px rgba(8, 42, 36, .11);
  transform: translateY(-3px);
}

.testimonial-slide blockquote .quote-mark {
  animation: ba-quote-float 5.4s ease-in-out infinite alternate;
}

@keyframes ba-testimonial-arrive {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ba-quote-float {
  from { transform: translateY(0) rotate(0); }
  to { transform: translateY(-5px) rotate(-2deg); }
}

.site-footer.ba-footer-refined {
  background:
    radial-gradient(circle at 13% 15%, rgba(197, 164, 107, .17), transparent 25rem),
    radial-gradient(circle at 83% 105%, rgba(82, 135, 120, .18), transparent 28rem),
    linear-gradient(145deg, #103c33 0%, #082720 100%);
}

.site-footer.ba-footer-refined::before { height: 1px; opacity: .82; }

.site-footer .footer-main.ba-footer-main-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr);
  align-items: start;
  gap: clamp(30px, 5vw, 78px);
  padding-block: 40px 31px !important;
}

.site-footer.ba-footer-refined .footer-brand {
  align-items: flex-start;
  padding-top: 4px;
}

.site-footer.ba-footer-refined .footer-brand p {
  max-width: 44ch;
  padding-inline-start: 22px;
  border-inline-start: 1px solid rgba(255, 255, 255, .2);
}

.ba-footer-docket {
  padding-inline-start: clamp(22px, 3vw, 38px);
  border-inline-start: 1px solid rgba(255, 255, 255, .2);
}

.ba-footer-docket-title {
  margin: 0 0 13px;
  color: rgba(247, 230, 190, .94);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
}

.ba-footer-docket .footer-legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

.ba-footer-docket .footer-legal a {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.ba-footer-docket .footer-legal a:hover {
  color: #fff;
  border-bottom-color: rgba(247, 230, 190, .76);
}

.site-footer.ba-footer-refined .footer-bottom {
  min-height: 0;
  padding-block: 15px !important;
  border-top-color: rgba(255, 255, 255, .16);
}

.ba-footer-copyright,
.site-footer.ba-footer-refined .footer-business {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
}

@media (max-width: 900px) {
  .site-footer .footer-main.ba-footer-main-simple { grid-template-columns: 1fr; }
  .ba-footer-docket { max-width: 500px; }
}

@media (max-width: 720px) {
  .hero-section > .ba-hero-orbit {
    top: auto;
    right: -18%;
    bottom: 8%;
    width: 220px;
    opacity: .42;
  }

  .hero-coach::after {
    width: 90%;
    height: 92%;
    bottom: 1%;
    border-radius: 145px 145px 22px 22px;
  }

  .ba-about-botanical {
    top: 8%;
    left: -51px;
    opacity: .28;
    transform: scale(.78);
  }

  .ba-faq-followup {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 21px 20px;
  }

  .ba-faq-followup-action { width: 100%; }
  .ba-faq-followup p { font-size: 12px; }
  .ba-faq-refined .faq-list details > p { white-space: normal; }

  .site-footer .footer-main.ba-footer-main-simple { padding-block: 31px 25px !important; }
  .site-footer.ba-footer-refined .footer-brand p { padding-inline-start: 0; border-inline-start: 0; }
  .ba-footer-docket { padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); border-inline-start: 0; }
  .ba-footer-docket .footer-legal { grid-template-columns: 1fr 1fr; }
  .site-footer.ba-footer-refined .footer-bottom { flex-direction: column; align-items: flex-start; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-coach::after,
  .ba-hero-orbit span,
  .ba-about-botanical,
  .ba-v20-ready .testimonials-section .testimonial-carousel,
  .testimonial-slide blockquote .quote-mark { animation: none !important; }
  .ba-hero-orbit,
  .ba-about-botanical { display: none !important; }
}
