/*
Theme Name: Dr Justyna Bugaj
*/

html {
  scroll-behavior: smooth;
}

body {
  letter-spacing: 0.1px;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
}

.font-bold,
.font-extrabold,
.font-black {
  font-weight: 600 !important;
}

strong,
b {
  font-weight: 600;
}

.hero-overlay {
  background: linear-gradient(
    115deg,
    rgba(1, 56, 110, 0.9) 0%,
    rgba(1, 80, 156, 0.76) 52%,
    rgba(216, 11, 110, 0.26) 100%
  );
}

.hero-bg {
  background-color: #01386d;
}

.hero-slides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease;
  animation: heroZoom 18s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide:nth-child(2) {
  animation-direction: reverse;
}

.intro-menu {
  animation: introFadeIn 0.85s ease-out both;
}

.intro-hero {
  animation: introFadeIn 1.1s ease-out 0.18s both;
}

button,
a.rounded-full,
a.rounded-md,
a.rounded-lg {
  clip-path: none;
  border-radius: 0 !important;
  letter-spacing: 0.5px;
}

.hero-content-stack {
  position: relative;
  height: 100%;
}

.hero-dots {
  display: flex;
  gap: 0.55rem;
  margin-top: 50px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.26);
  opacity: 0.78;
  transition: width 0.28s ease, background-color 0.28s ease, opacity 0.28s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: rgba(255, 255, 255, 0.97);
  opacity: 1;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  opacity: 1;
}

.hero-content-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
  padding-top:40px
}

.hero-content-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.hero-content-slide .hero-stagger-1,
.hero-content-slide .hero-stagger-2,
.hero-content-slide .hero-stagger-3,
.hero-content-slide .hero-stagger-4 {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-content-slide.is-active .hero-stagger-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-content-slide.is-active .hero-stagger-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.hero-content-slide.is-active .hero-stagger-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.95s;
}

.hero-content-slide.is-active .hero-stagger-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

.parallax-image {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.text-brand-cyan  {
color:#d80b6e !important
}

.bg-brand-cyan p {
  color:#fff !important
}

.cyferka {
 background-color:#d80b6e !important 
}

body {
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Urbanist", sans-serif;
  color: #012f5d;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-stagger-1 {
  color:#fff
}

h2 {
  line-height: 1.1 !important;
}

#omnie h2 + p {
  margin-top: 2rem;
}

p {
  color: #232323;
  font-size: 17px;
  line-height: 27px;
}

.hero-bg h1,
.hero-bg h2,
.hero-bg h3,
.hero-bg h4,
.allinone-bg h1,
.allinone-bg h2,
.allinone-bg h3,
.allinone-bg h4,
footer h1,
footer h2,
footer h3,
footer h4 {
  color: #fff;
}

.services-bg {
  background-image: linear-gradient(rgba(243, 244, 246, 0.40), rgba(243, 244, 246, 0.94)),
    url("img/2.jpg");
  background-size: cover;
  background-position: center;
}

.services-bg-color {
  background-color:#f2f2f2
}

.allinone-bg {
  background-image: linear-gradient(rgba(0, 28, 56, 0.78), rgba(0, 32, 62, 0.8)),
    url("img/allonxbg.jpg");
  background-size: cover;
  background-position: center;
}

/* ── Usługi – obraz z placeholderem ─────────────────────────── */
.uslugi-img-wrap {
  border-radius: 1.5rem;
  overflow: hidden;

}

.uslugi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
}

.uslugi-img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8eef5, #cdd8e6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #6b8399;
  border-radius: 1.5rem;
}

.uslugi-img-ph svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

.uslugi-img-ph span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.glass-surface {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  box-shadow: 0 14px 40px rgba(0, 35, 68, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.service-card {
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.service-card span {
  margin-bottom: 0.75rem;
}

.service-card h3 {
  margin-top: 1.75rem !important;
}

.service-card p {
  margin-top: 1.35rem !important;
}

.service-more-link {
  font-size: 14px;
  font-weight: 600;
  color: #01386d;
  text-decoration: none;
  transition: none;
}

.service-more-link::after {
  content: " ->";
  margin-left: 6px;
  transition: none;
}

.cta-shimmer {
  position: relative;
  overflow: hidden;
}

.cta-shimmer::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 40%;
  height: 300%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
  animation: shimmer 4.2s ease-in-out infinite;
}

.timeline-line {
  height: 1px;
  background: linear-gradient(to right, rgba(255, 196, 223, 0), rgba(255, 196, 223, 0.45), rgba(255, 196, 223, 0));
}

.opinie-carousel {
  position: relative;

}

.opinie-viewport {
  overflow: hidden;
}

.opinie-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.opinie-slide {
  flex: 0 0 calc((100% - 24px) / 2);
}

#opinie p {
  color:#232323;
  font-size:16px;
  line-height:24px
}

.opinie-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border: none;
  background: transparent;
  color: #0a345c;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

#kontakt {
  padding-top:70px
}

#kontakt p {
  color:#fff
}

#kontakt p {
  color:#fff;
  font-size:15px
}

.opinie-arrow-prev {
  left: -2px;
}

.opinie-arrow-next {
  right: -2px;
}

.opinie-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 52px;
}

.opinie-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(10, 52, 92, 0.45);
  border-radius: 999px !important;
  background: rgba(10, 52, 92, 0.22);
}

.opinie-dot.is-active {
  width: 26px;
  background: #0a345c;
  border-color: #0a345c;
}

.leading-none {
  line-height:1.35 !important
}

.flip-card {
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

@keyframes shimmer {
  0% {
    transform: translateX(-180%) rotate(18deg);
  }

  100% {
    transform: translateX(480%) rotate(18deg);
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes introFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* ── Desktop dropdown submenu ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(-8px);
  min-width: 310px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(1, 80, 156, 0.18);
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent #fff;
  filter: drop-shadow(0 -3px 3px rgba(1,80,156,0.08));
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown.is-open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: block;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.4px;
  transition: color 0.2s, background-color 0.2s;
  border-left: 3px solid transparent;
}

.nav-dropdown-item:hover {
  color: #d80b6e;
  background-color: #f2f2f2;
  border-left-color: #d80b6e;
}

/* ── Mobile accordion submenu ── */
.mobile-accordion-trigger {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-accordion-arrow {
  flex-shrink: 0;
  transition: transform 0.32s ease;
}

.mobile-accordion-trigger.is-open .mobile-accordion-arrow {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease;
}

.mobile-accordion-content.is-open {
  max-height: 320px;
}

.mobile-accordion-sub-item {
  display: block;
  padding: 9px 12px 9px 20px;
  font-size: 15px;
  color: #4b5563;
  border-left: 3px solid #e5e7eb;
  margin-left: 8px;
  transition: color 0.2s, border-color 0.2s;
}

@media (max-width: 998px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  main,
  header,
  footer {
    overflow-x: clip;
  }

  .site-logo-text {
    font-size: 14px;
  }

  .hero-bg h1 {
    font-size: 2.8125rem !important;
    line-height: 1.08 !important;
  }

  .hero-bg .hero-slide {
    background-position: calc(50% - 120px) center !important;
  }

  .hero-bg [data-hero-content="b"] h1 span {
    font-size: 1.875rem !important;
    line-height: 1.1 !important;
  }

  main section[id] {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  p {
    font-size: 15px;
    line-height: 25px;
  }

  .hero-content-stack {
    height: 100%;
  }

  .hero-bg .hero-stagger-4 a {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  #kontakt {
    padding-top: 50px;
  }

  .footer-main {
    justify-items: center;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .opinie-track {
    gap: 16px;
  }

  .opinie-slide {
    flex: 0 0 100%;
  }

  .opinie-arrow {
    top: auto;
    bottom: -52px;
    margin-top: 0;
    width: 30px;
    height: 30px;
    font-size: 30px;
  }
  
  .footer-legal {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    text-align: center;
  }

  .opinie-arrow-prev {
    left: 0;
  }

  .opinie-arrow-next {
    right: 0;
  }

  .opinie-dots {
    margin-top: 64px;
  }

  .cta-shimmer::after {
    animation-duration: 5.3s;
  }

.hero-bg .mt-16 {
  margin-top:2rem
}

.hero-stagger-3.text-xl{
font-size:17px;
line-height:27px
}

.hero-stagger-1.px-8 {
  padding-left:10px;
  padding-right:10px
}

.hero-stagger-2 span {
  margin-top:15px;
  display:block
}

.hero-content-slide {
  padding-top:10px
}

p.hero-stagger-1 {
  letter-spacing:.9px
}

}

@media (prefers-reduced-motion: reduce) {
  .intro-menu,
  .intro-hero {
    animation: none;
  }

  .hero-slide {
    animation: none;
    transition-duration: 0.01ms;
  }

  .hero-content-slide,
  .hero-content-slide .hero-stagger-1,
  .hero-content-slide .hero-stagger-2,
  .hero-content-slide .hero-stagger-3,
  .hero-content-slide .hero-stagger-4 {
    transition-duration: 0.01ms;
    transition-delay: 0s;
    transform: none;
  }

  .hero-content-slide .hero-stagger-1,
  .hero-content-slide .hero-stagger-2,
  .hero-content-slide .hero-stagger-3,
  .hero-content-slide .hero-stagger-4 {
    opacity: 1;
  }
}


/* ════════════════════════════════════════════════════════════════
   USLUGA PAGE — All on X
   ════════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────── */
.allonx-page-hero {
  padding-top: 120px;
  padding-bottom: 120px;
}

.allonx-page-hero-bg {
  background-image: url("img/2.jpg");
  background-size: cover;
  background-position: center center;
  transform: scale(1);
  animation: heroZoom 22s ease-in-out infinite;
  will-change: transform;
}

.allonx-page-hero-overlay {
  background: linear-gradient(
    115deg,
    rgba(1, 56, 110, 0.9) 0%,
    rgba(1, 80, 156, 0.76) 52%,
    rgba(216, 11, 110, 0.26) 100%
  );
}

.allonx-hero-accent {
  display: inline-block;
  position: relative;
}

.allonx-hero-stagger-1,
.allonx-hero-stagger-2,
.allonx-hero-stagger-3,
.allonx-hero-stagger-4 {
  opacity: 0;
  transform: translateY(24px);
  animation: allonxHeroFadeUp 0.72s ease-out forwards;
}

.allonx-hero-stagger-1 { animation-delay: 0.25s; }
.allonx-hero-stagger-2 { animation-delay: 0.45s; }
.allonx-hero-stagger-3 { animation-delay: 0.68s; }
.allonx-hero-stagger-4 { animation-delay: 0.90s; }

@keyframes allonxHeroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.allonx-scroll-indicator {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 13px !important;
  position: relative;
  opacity: 0;
  animation: allonxHeroFadeUp 0.6s ease-out 1.4s forwards;
}

.allonx-scroll-indicator::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px !important;
  animation: allonxScrollBounce 1.8s ease-in-out 1.6s infinite;
}

@keyframes allonxScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ── Stats bar ───────────────────────────────────────────────── */
.allonx-stats-bar {
  padding: 0;
}

.allonx-stats-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.allonx-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 32px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.allonx-stat-item:last-child {
  border-right: none;
}

.allonx-stat-number {
  font-family: "Urbanist", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: #d80b6e;
  letter-spacing: -0.5px;
  line-height: 1;
}

.allonx-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Intro image ─────────────────────────────────────────────── */
.allonx-intro-img-wrap {
  position: relative;
}

.allonx-intro-img {
  aspect-ratio: 4 / 5;
  display: block;
}

.allonx-intro-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #d80b6e;
  color: #fff;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 30px rgba(216, 11, 110, 0.35);
}

.allonx-intro-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Who-is-it-for cards ─────────────────────────────────────── */
.allonx-who-card {
  background: #fff;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(1, 56, 109, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.allonx-who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(1, 56, 109, 0.14);
}

.allonx-who-card--cta {
  background: linear-gradient(135deg, #0a345c, #012f5d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.allonx-who-card--cta p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.allonx-who-card--cta a {
  color: #ff6aac;
}

.allonx-who-card--cta a:hover {
  color: #fff;
}

.allonx-who-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 11, 110, 0.1);
  color: #d80b6e;
}

.allonx-who-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Benefit cards ───────────────────────────────────────────── */
.allonx-benefit-card {
  background: #f2f2f2;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease;
}

.allonx-benefit-card:hover {
  transform: translateY(-3px);
}

.allonx-benefit-card--accent {
  background: linear-gradient(135deg, #d80b6e, #a0075a);
}

.allonx-benefit-card--accent .allonx-benefit-num,
.allonx-benefit-card--accent .allonx-benefit-title,
.allonx-benefit-card--accent .allonx-benefit-text {
  color: #fff !important;
}

.allonx-benefit-num {
  font-size: 2.2rem;
  font-weight: 600;
  color: rgba(10, 52, 92, 0.12);
  font-family: "Urbanist", sans-serif;
  letter-spacing: -1px;
  line-height: 1;
}

.allonx-benefit-title {
  font-size: 15px;
  font-weight: 600;
  color: #012f5d;
  margin-top: 8px;
  letter-spacing: 0.3px;
}

.allonx-benefit-text {
  font-size: 13px;
  color: #5a6a7a;
  line-height: 22px;
  margin-top: 6px;
}

/* ── Timeline cards ──────────────────────────────────────────── */
.allonx-timeline-card {
  padding: 28px 24px;
  position: relative;
}

.allonx-timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.allonx-timeline-card h3 {
  color: #fff !important;
}

/* ── Photo info card ─────────────────────────────────────────── */
.allonx-photo-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(1, 56, 109, 0.07);
}

.allonx-photo-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 11, 110, 0.1);
  color: #d80b6e;
}

.allonx-photo-info-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Prep tips ───────────────────────────────────────────────── */
.allonx-prep-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #012f5d;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px rgba(1, 56, 109, 0.06);
}

.allonx-prep-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #d80b6e;
}

/* ── Recovery cards ──────────────────────────────────────────── */
.allonx-recovery-card {
  padding: 32px 28px;
  background: #f2f2f2;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease;
}

.allonx-recovery-card:hover {
  transform: translateY(-4px);
}

.allonx-recovery-card--accent {
  background: #fff;
  border-left: 4px solid #d80b6e;
}

.allonx-recovery-num {
  font-family: "Urbanist", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #d80b6e;
  letter-spacing: -0.5px;
  line-height: 1;
}

.allonx-recovery-num--accent {
  color: #012f5d;
  font-size: 2.4rem;
}

/* ── Gallery / Before-After ──────────────────────────────────── */
.allonx-gallery-section {
  background: #f7f8fa;
}

/* ── Before/After image slider ───────────────────────────────────────────── */
.ba-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: 0 4px 20px rgba(1, 56, 109, 0.1);
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}

.ba-after img,
.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--pct, 50%)) 0 0);
}

.ba-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9aacbc;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: center;
  padding: 16px;
}

.ba-ph svg {
  width: 36px;
  height: 36px;
  opacity: 0.4;
}

.ba-ph--before { background: #dde2e9; }
.ba-ph--after  { background: #e8e4f0; }

.ba-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 52, 92, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 3;
  pointer-events: none;
}

.ba-label--after {
  left: auto;
  right: 12px;
  background: rgba(216, 11, 110, 0.88);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pct, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.28);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.24);
}

.ba-handle svg {
  width: 20px;
  height: 20px;
  color: #0a345c;
}

.ba-caption {
  padding: 12px 2px 0;
  font-size: 13px;
  font-weight: 600;
  color: #012f5d;
  letter-spacing: 0.3px;
}

/* ── FAQ Accordion ───────────────────────────────────────────── */
.allonx-faq-item {
  border: 1px solid #e8ecf2;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.allonx-faq-item--open {
  box-shadow: 0 8px 28px rgba(1, 56, 109, 0.1);
}

.allonx-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #012f5d;
  letter-spacing: 0.3px;
  transition: color 0.22s ease;
}

.allonx-faq-trigger:hover {
  color: #d80b6e;
}

.allonx-faq-item--open .allonx-faq-trigger {
  color: #d80b6e;
}

.allonx-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.allonx-faq-icon::before,
.allonx-faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.allonx-faq-icon::before {
  width: 14px;
  height: 2px;
}

.allonx-faq-icon::after {
  width: 2px;
  height: 14px;
}

.allonx-faq-item--open .allonx-faq-icon {
  transform: rotate(45deg);
}

.allonx-faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;
  transition:
    max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    padding 0.3s ease;
}

.allonx-faq-item--open .allonx-faq-body {
  max-height: 800px;
  opacity: 1;
  padding: 0 28px 26px 28px;
}

.allonx-faq-body p {
  font-size: 15px;
  line-height: 26px;
  color: #4a5568;
}

.allonx-faq-body strong {
  color: #012f5d;
}

/* ── Responsive adjustments ──────────────────────────────────── */
@media (max-width: 998px) {
  .allonx-page-hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .allonx-page-hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.12 !important;
  }

  .allonx-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .allonx-stat-item {
    padding: 24px 16px;
  }

  .allonx-stat-item:nth-child(2) {
    border-right: none;
  }

  .allonx-intro-badge {
    left: 0;
    bottom: 0;
    font-size: 12px;
    padding: 10px 14px;
  }

  .allonx-faq-trigger {
    padding: 18px 20px;
    font-size: 14px;
  }

  .allonx-faq-body {
    padding: 0 20px 18px 20px;
  }
}
