/* ========================= spots ========================== */

.spot-container {
  position: relative;
}

.spot {
  position: absolute;
  z-index: -1;
}

.spot--spot_01 {
  height: auto;
  width: 480px;
  top: 1503px;
  left: 791px;
  transform: rotate(354deg);
}

.spot--spot_02 {
  height: auto;
  width: 280px;
  top: 1699px;
  left: -78px;
  transform: rotate(85deg);
}

.spot--spot_03 {
  height: auto;
  width: 321px;
  top: 3474px;
  left: 639px;
  transform: rotate(349deg);
}

.spot--spot_04 {
  height: auto;
  width: 391px;
  top: 4436px;
  left: -157px;
  transform: rotate(195deg);
}

.spot--spot_05 {
  height: auto;
  width: 400px;
  top: 5396px;
  left: 305px;
  transform: rotate(357deg);
}

.spot--spot_06 {
  height: auto;
  width: 500px;
  top: 6023px;
  left: 797px;
  transform: rotate(344deg);
}

.spot--spot_07 {
  height: auto;
  width: 200px;
  top: 6987px;
  left: -63px;
  transform: rotate(60deg);
}

@media (max-width: 600px) {

  .spot--spot_01 {
    height: auto;
    width: 300px;
    top: 1716px;
    left: -166px;
    transform: rotate(354deg);
  }

  .spot--spot_02 {
    height: auto;
    width: 300px;
    top: 1696px;
    left: 293px;
    transform: rotate(18deg);
  }

  .spot--spot_03 {
    height: auto;
    width: 300px;
    top: 2749px;
    left: 193px;
    transform: rotate(18deg);
  }

  .spot--spot_04 {
    height: auto;
    width: 300px;
    top: 4476px;
    left: 176px;
    transform: rotate(59deg);
  }

  .spot--spot_05 {
    height: auto;
    width: 300px;
    top: 5148px;
    left: 176px;
    transform: rotate(225deg);
  }

  .spot--spot_06 {
    height: auto;
    width: 300px;
    top: 5548px;
    left: -139px;
    transform: rotate(225deg);
  }

  .spot--spot_07 {
    height: auto;
    width: 300px;
    top: 5548px;
    left: 339px;
    transform: rotate(225deg);
  }
}


/* ========================= Common ========================== */

.ReadBasix-capabilities,
.ReadBasix-solutions-scope,
.ReadBasix-features,
.ReadBasix-advantages,
.Capti-model,
.Testimonials,
.Why-it-works,
.Additional-services,
.Reports,
.Ready-to-make,
.Subcribe {
  display: grid;
  margin: 160px 0px 0px;
}

@media (max-width: 900px) {

  .ReadBasix-capabilities,
  .ReadBasix-solutions-scope,
  .ReadBasix-features,
  .ReadBasix-advantages,
  .Capti-model,
  .Testimonials,
  .Why-it-works,
  .Additional-services,
  .Reports,
  .Ready-to-make,
  .Subcribe {
    margin: 80px 0 0;
  }
}

/* ========================= Hero ========================== */

.hero {
  position: relative;
  background-color: var(--capti-color--primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  padding-bottom: 50%;
  background: url('/capti-site/themes/capti/new/images/hero/home/bubble-top-left-mobile.svg') no-repeat right bottom;
  background-size: cover;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: calc(40vh - 190px);
  right: 0;
  width: 224px;
  height: 380px;
  background: url('/capti-site/themes/capti/new/images/hero/home/bubble-bottom-right-mobile.svg') no-repeat left top;
  background-size: contain;
}

@media (min-width: 900px) {
  .hero {
    min-height: 700px;
  }

  .hero::before {
    background-image: url('/capti-site/themes/capti/new/images/hero/home/bubble-top-left-desktop.svg');
  }

  .hero::after {
    background-image: url('/capti-site/themes/capti/new/images/hero/home/bubble-bottom-right-desktop.svg');
    background-size: cover;
    width: 600px;
    height: 600px;
    top: auto;
    bottom: 0;
  }
}

.hero__image-wrap {
  position: relative;
  isolation: isolate;
}

.hero__image-wrap::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to top,
      rgba(11, 115, 235, 1),
      rgba(11, 115, 235, 0));
  z-index: 1;
}

.hero__image {
  position: relative;
  display: block;
  height: 40vh;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(50%);
  background: url('/capti-site/themes/capti/new/images/hero/home/bubble-middle-mobile.svg') no-repeat center center;
  background-size: contain;
  width: 400px;
  height: 700px;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: clamp(80%, -20vw, 100%) 50%;
}

@media (min-width: 900px) {
  .hero__image-wrap {
    width: 80%;
    transition: width 0.3s ease-in-out;
    margin-left: auto;
  }

  .hero__image-wrap::before {
    top: 0;
    bottom: auto;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(11, 115, 235, 1),
        rgba(11, 115, 235, 0));
  }

  .hero__image::after {
    top: 0;
    transform: translateX(-50%);
    background-image: url('/capti-site/themes/capti/new/images/hero/home/bubble-middle-desktop.svg');
    width: 870px;
    height: auto;
    background-size: 100% 100%;
  }

  .hero__image {
    height: calc(100vh - 76px);
    min-height: 700px;
  }

  .hero .container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
  }

  .hero__content {
    max-width: 60%;
  }
}

@media (min-width: 1200px) {
  .hero__image-wrap {
    width: 60%;
  }

  .hero__image {
    height: calc(100vh - 84px);
  }

  .hero__content {
    max-width: 50%;
  }
}

.hero__content {
  position: relative;
  color: white;
  z-index: 2;
}

.hero__title {
  color: white;
  margin-bottom: 24px;
}

@media (min-width: 900px) {
  .hero__title {
    max-width: 360px;
    margin-bottom: 32px;
  }
}

@media (min-width: 1200px) {
  .hero__title {
    max-width: none;
  }
}

.hero__description {
  color: white;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .hero__description {
    max-width: 360px;
    margin-bottom: 48px;
  }
}

@media (min-width: 1200px) {
  .hero__description {
    max-width: none;
  }
}

.hero__button-wrap {
  display: flex;
  gap: 16px;
  margin-bottom: 136px;
}

.hero__button-wrap .button {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 600px) {
  .hero__button-wrap {
    gap: 24px;
  }

  .hero__button-wrap .button {
    min-width: 220px;
    width: auto;
  }
}

@media (min-width: 900px) {
  .hero__button-wrap {
    margin-bottom: 0;
  }
}

.sub-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: relative;
}

.sub-hero__video-placeholder {
  position: relative;
  left: -74px;
  top: -74px;
  border-radius: 8px;
  width: 600px;
  height: auto;
}

@media (max-width: 900px) {
  .sub-hero {
    display: block;
  }

  .sub-hero__video-placeholder-wrap {
    margin-bottom: 40px;
  }
}

.sub-hero__title {
  margin-bottom: 16px;
  color: white;
}

@media (min-width: 900px) {
  .sub-hero__title {
    margin-bottom: 36px;
  }
}

.sub-hero__video-light-box {
  position: relative;
  max-width: 448px;
  margin-top: -120px;
  cursor: pointer;
  transition: transform 0.6s ease, filter 0.6s ease;
  pointer-events: auto;
  /* Ensure container can receive clicks for js-play-video */
}

/* Video hover effects */
.sub-hero__video-light-box:hover {
  filter: brightness(1.05);
}

/* Change overlay opacity on hover */
.sub-hero__video-light-box:hover .sub-hero__video-placeholder-wrap::after {
  opacity: 0.6;
}

/* Play button hover effects */
.sub-hero__video-light-box:hover .button--play-video {
  transform: translate(-50%, -50%) scale(1.1) translateZ(10px);
  background: rgba(255, 255, 255, 1);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.sub-hero__video-light-box:hover .button--play-video::before,
.sub-hero__video-light-box:hover .button--play-video::after {
  animation: ripple-fast 2.5s infinite ease-out;
  animation-delay: 0.4s;
}

.sub-hero__video-light-box:hover .button--play-video::after {
  animation-delay: 1.65s;
}

/* Video placeholder effects */
.sub-hero__video-light-box:hover .sub-hero__video-placeholder-wrap {
  box-shadow: 0 8px 32px rgba(11, 115, 235, 0.3);
}

@media (max-width: 900px) {
  .sub-hero__video-light-box {
    margin: -80px auto 0;
    z-index: 1;
  }

  .sub-hero__video-light-box:hover {
    filter: brightness(1.03);
  }
}

.sub-hero__video-placeholder-wrap {
  flex-shrink: 0;
  max-width: 448px;
  height: 300px;
  border-radius: 32px 32px 32px 32px;
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
  transition: box-shadow 0.6s ease;
  position: relative;
  border: 2px solid #A7CAE3;
}

.sub-hero__video-placeholder-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1f2057;
  opacity: 0.8;
  transition: opacity 0.6s ease;
}

.sub-hero__video-light-box .button--play-video {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  cursor: pointer;
  pointer-events: none;
  /* Allow clicks to pass through to js-play-video */
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 20px;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.5s ease, box-shadow 0.5s ease;
  overflow: visible;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Ripple effect elements */
.sub-hero__video-light-box .button--play-video::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.sub-hero__video-light-box .button--play-video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-delay: 2s;
  z-index: -1;
}

/* Ripple animation keyframes */
@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }

  20% {
    opacity: 0.9;
  }

  50% {
    opacity: 0.6;
    /* Плавний спад посередині */
  }

  80% {
    opacity: 0.3;
  }

  100% {
    width: 140px;
    height: 140px;
    opacity: 0;
  }
}

/* Fast ripple for hover state */
@keyframes ripple-fast {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }

  25% {
    opacity: 0.95;
  }

  50% {
    opacity: 0.7;
  }

  75% {
    opacity: 0.4;
  }

  100% {
    width: 160px;
    height: 160px;
    opacity: 0;
  }
}

/* Click ripple effect */
.sub-hero__video-light-box .button--play-video:active::before {
  animation: ripple-click 0.6s ease-out;
}

@keyframes ripple-click {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    background: rgba(255, 255, 255, 0.6);
  }

  100% {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}

/* Focus state for accessibility */
.sub-hero__video-light-box .button--play-video:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

/* SVG icon animation */
.sub-hero__video-light-box .button--play-video svg {
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transform: scale(1.1);
}

.sub-hero__video-light-box:hover .button--play-video svg {
  transform: scale(1.25);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Підтримка зменшеної анімації */
@media (prefers-reduced-motion: reduce) {

  .sub-hero__video-light-box .button--play-video::before,
  .sub-hero__video-light-box .button--play-video::after {
    animation: none;
  }

  .sub-hero__video-light-box,
  .sub-hero__video-light-box .button--play-video,
  .sub-hero__video-light-box .button--play-video svg {
    transition: none;
  }

  .sub-hero__video-light-box:hover {
    transform: none;
    filter: brightness(1.02);
  }
}

/* Мобільні оптимізації для ripple */
@media (max-width: 768px) {
  @keyframes ripple {
    100% {
      width: 120px;
      /* Більший базовий розмір на мобільних */
      height: 120px;
    }
  }

  @keyframes ripple-fast {
    100% {
      width: 140px;
      /* Більший hover розмір на мобільних */
      height: 140px;
    }
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

/* ========================= ReadGBasix capabilities ========================== */

.ReadBasix-capabilities {
  grid-template-columns: 1.1fr 1fr;
  align-self: stretch;
}

.ReadBasix-capabilities__text-blcok {
  display: flex;
  max-width: 592px;
  padding: var(--Primitives-16, 16px) 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  flex: 1 0 0;
}

.ReadBasix-capabilities__text-blcok ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--Primitives-16, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ReadBasix-capabilities__text-blcok li {
  color: var(--capti-color--text-color);
}

@media (max-width: 900px) {

  .ReadBasix-capabilities {
    grid-template-columns: 1fr;
    margin: 80px 0px 0px;
    gap: 20px;
  }

  .ReadBasix-capabilities h2 {
    text-align: center;
  }

  .ReadBasix-capabilities__text-blcok {
    gap: 32px;
  }
}


.ReadBasix-capabilities__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ReadBasix-capabilities__image img {
  transition: opacity 0.3s ease-in-out;
  max-width: 448px;
  width: 100%;
  height: auto;
}

.ReadBasix-capabilities__accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-header {
  background: none;
  border: none;
  color: var(--capti-color--text-color);
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-item.open .accordion-header {
  color: var(--capti-color--text-primary);
}

.accordion-item.open .accordion-header:hover {
  text-decoration: unset;
}

.accordion-item.open .accordion-body {
  max-height: 1000px;
  /* Достатньо велика висота для плавного відкриття */
}

.accordion-body p {
  margin: 16px 0;
}

.accordion-header:hover {
  text-decoration: underline;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-body.open {
  max-height: calc(1000px + 32px);
  min-height: calc(254px + 32px);
}

/* ========================= ReadBasix Solutions Scope ========================== */

.ReadBasix-solutions-scope {
  grid-template-columns: 1fr;
  gap: 80px;
  align-self: stretch;
  margin: 120px 0px 0px;
}

.ReadBasix-solutions-scope__blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ReadBasix-solutions-scope__blcok {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 0 0;
}

.ReadBasix-solutions-scope__blcok p {
  color: var(--capti-color--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {

  .ReadBasix-solutions-scope {
    gap: 20px;
    margin: 80px 0px 0px;
  }

  .ReadBasix-solutions-scope h2 {
    text-align: center;
  }

  .ReadBasix-solutions-scope__blocks {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ReadBasix-solutions-scope__blcok {
    gap: 16px;
  }

  .ReadBasix-solutions-scope__block-icon {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .ReadBasix-solutions-scope__blcok h3 {
    width: 100%;
  }

}

/* ========================= ReadBasix features ==========================  !!!!!!!!!!!!!!!!!!!!!!!!TODO:!!!!!!!!!!!!!!!!!!!*/

.ReadBasix-features {
  grid-template-columns: 1fr;
  gap: 74px;
  align-self: stretch;
}

.ReadBasix-features__blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ReadBasix-features__see-also-card {
  padding: 24px;
}

.ReadBasix-features .see-also-card__content {
  align-items: flex-start;
}

.ReadBasix-features .see-also-card__content h2 {
  text-align: left;
}

.ReadBasix-features .see-also-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ReadBasix-features__square-icon {
  width: 92px;
  height: 92px;
  min-width: 92px;
  min-height: 92px;
}

.ReadBasix-features__square-icon .square-icon__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
}

@media (max-width: 900px) {

  .ReadBasix-features {
    gap: 20px;
    margin: 80px 0px 0px;
  }

  .ReadBasix-features h2 {
    text-align: center;
  }

  .ReadBasix-features__blocks {
    grid-template-columns: 1fr;
    /* Stack items on smaller screens */
    gap: 16px;
    /* Adjust gap for smaller screens */
  }

  .ReadBasix-features__square-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .ReadBasix-features__square-icon .square-icon__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .ReadBasix-features .see-also-card__text {
    gap: 12px;
  }
}

/* ========================= ReadBasix advantages ========================== */

.ReadBasix-advantages {
  grid-template-columns: repeat(2, 1fr);
  align-self: stretch;
  gap: 80px;
}

@media (max-width: 900px) {
  .ReadBasix-advantages {
    grid-template-columns: 1fr;
    /* Stack items on smaller screens */
    gap: 40px;
    /* Adjust gap for smaller screens */
  }
}

.ReadBasix-advantages img {
  width: 100%;
  height: auto;
}

.ReadBasix-advantages__text-block {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 40px;
  padding-top: 16px;
}

.ReadBasix-advantages__advantage-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 4px 0;
}

.ReadBasix-advantages__advantage-text p {
  margin: 0;
  color: var(--capti-color--text-secondary);
}

.ReadBasix-advantages__advantages {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ReadBasix-advantages__advantage {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
}

.ReadBasix-advantages .square-icon__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
}

/* ========================= The Capti model for ... ========================== */

.Capti-model {
  grid-template-columns: 1fr;
  gap: 74px;
  align-self: stretch;
  text-align: center;
}

.Capti-model__content {
  position: relative;
}

.Capti-model__content .chip {
  position: absolute;
}

.Capti-model__content a.chip {
  cursor: pointer;
}

@media screen and (max-width: 1144px) {
  .Capti-model__content .chip {
    display: none;
  }

}

.Capti-model__6-subtests {
  top: 296px;
  left: 102px;
}

.Capti-model__reports {
  top: 339px;
  left: 137px;
}

.Capti-model__data-review {
  top: 297px;
  left: 410px;
}

.Capti-model__recommendations {
  top: 339px;
  left: 446px;
}

.Capti-model__interventions {
  top: 339px;
  left: 756px;
}

.Capti-model__6-subtests,
.Capti-model__reports,
.Capti-model__data-review,
.Capti-model__recommendations,
.Capti-model__interventions {
  text-decoration: none;
}

.Capti-model__6-subtests:hover,
.Capti-model__reports:hover {
  color: #0B73EB;
  background-color: #C9E0FB;
}

.Capti-model__data-review:hover {
  color: #DA8A43;
  background-color: #FCE9D7;
}

.Capti-model__content img {
  width: 100%;
  height: auto;
}

.Capti-model h2 {
  text-align: center;
}

/* ========================= Testimonials ========================== */

.Testimonials {
  grid-template-columns: 1fr;
  align-self: stretch;
  gap: 32px;
}

.Testimonials h2 {
  text-align: center;
}

.Testimonials__content {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.Testimonials__row {
  display: grid;
  gap: 16px;
}

.Testimonials__row--first {
  grid-template-columns: 32fr 41fr 35fr;
}

.Testimonials__row--second {
  grid-template-columns: 48fr 35fr 26fr;
}

@media (max-width: 900px) {
  .Testimonials__content {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px 0;
    scroll-padding: 0 0 0 0;
    max-width: none;
    margin-right: -16px;
  }

  .Testimonials__row {
    display: contents;
  }

  .Testimonials__row--first,
  .Testimonials__row--second {
    display: contents;
  }

  .Testimonials__testimonial {
    scroll-snap-align: start;
  }

  .Testimonials__testimonial--Jenna-Osborn {
    min-width: 322px;
    width: 322px;
  }

  .Testimonials__testimonial--Sara-Henschell {
    min-width: 414px;
    width: 414px;
  }

  .Testimonials__testimonial--Kate-Leo {
    min-width: 352px;
    width: 352px;
  }

  .Testimonials__testimonial--Sonja-Brookins-Santelises {
    min-width: 480px;
    width: 480px;
  }

  .Testimonials__testimonial--Yvette-Herrera {
    min-width: 352px;
    width: 352px;
  }

  .Testimonials__testimonial--Brandice-Walton {
    min-width: 256px;
    width: 256px;
  }
}

.Testimonials__testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  height: 320px;
  padding: 24px;
  border-radius: var(--R-medium, 24px);
  color: white;
}

.Testimonials__author {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
}

.Testimonials__author-icon {
  height: 48px;
  width: 48px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.Testimonials__author-icon:hover {
  transform: scale(1.1);
}

.Testimonials__testimonial q {
  color: white;
}

.Testimonials__author-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
}

.Testimonials__author-text>.button-s,
.Testimonials__author-text p {
  margin: 0;
  color: white;
}


.Testimonials__testimonial--Kate-Leo,
.Testimonials__testimonial--Yvette-Herrera {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--capti-color--brand-violet, #bb6bd9);
  transition: transform 0.5s ease;
  position: relative;
  overflow: hidden;
}

.Testimonials__testimonial--Kate-Leo::after,
.Testimonials__testimonial--Yvette-Herrera::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  z-index: 0;
  pointer-events: none;
}

.Testimonials__testimonial--Kate-Leo::after {
  background-image: url('/capti-site/themes/capti/new/images/testimonials/Kate_Leo_01.png');
}

.Testimonials__testimonial--Yvette-Herrera::after {
  background-image: url('/capti-site/themes/capti/new/images/testimonials/Yvette_Herrera_01.png');
}

.Testimonials__testimonial--brand {
  background: var(--capti-color--brand-brand, #0b73eb);
}

.Testimonials__testimonial--Kate-Leo {
  background-image: url('/capti-site/themes/capti/new/images/testimonials/Kate_Leo_01.png');
}


.Testimonials__testimonial--Kate-Leo.js-play-testimonial-video,
.Testimonials__testimonial--Yvette-Herrera.js-play-video,
.Testimonials__testimonial--Sonja-Brookins-Santelises.js-play-video,
.Testimonials__testimonial.js-play-video {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.Testimonials__testimonial--Kate-Leo:hover::after {
  transform: scale(1.1);
}

.Testimonials__testimonial--Kate-Leo>* {
  position: relative;
  z-index: 1;
}

.Testimonials__testimonial--orange {
  background: var(--capti-color--brand-orange, #f2994a);
}

.Testimonials__testimonial--violet {
  background: var(--capti-color--brand-violet, #bb6bd9);
}

.Testimonials__testimonial--Yvette-Herrera {
  background-image: url('/capti-site/themes/capti/new/images/testimonials/Yvette_Herrera_01.png');
}

.Testimonials__testimonial--Yvette-Herrera.js-play-testimonial-video {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.Testimonials__testimonial--Yvette-Herrera:hover::after {
  transform: scale(1.15);
}

.Testimonials__testimonial--Yvette-Herrera>* {
  position: relative;
  z-index: 1;
}

.Testimonials__testimonial--green {
  background: var(--capti-color--brand-green, #49834f);
}

.Testimonials__action {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========================= Why it works ========================== */

.Why-it-works {
  grid-template-columns: 3fr 2fr;
  align-self: stretch;
  gap: 80px;
}

@media (max-width: 900px) {
  .Why-it-works {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.Why-it-works__text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0px;
}

.Why-it-works__text-block p.body-l {
  padding: 0;
}

@media (max-width: 900px) {

  .Why-it-works__text-block {
    align-items: center;
    gap: 20px;
    padding: 0;
  }

  .Why-it-works__text-block p.body-l {
    text-align: center;
  }
}

.Why-it-works__link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;

}

.Why-it-works__link-icon {
  height: 24px;
}

.Why-it-works__image {
  width: 100%;
  height: auto;
}

/* ========================= Additional services ========================== */

.Additional-services {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "image text";
  gap: 74px;
}

@media (max-width: 768px) {
  .Additional-services {
    grid-template-columns: 1fr;
    gap: 28px;
    grid-template-areas:
      "text"
      "image";
  }
}

.Additional-services__title-block {
  grid-area: image;
}

.Additional-services__text-block {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 768px) {
  .Additional-services__text-block {
    gap: 24px;
  }
}

.Additional-services__text-block-texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.Additional-services__title-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.Additional-services__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-self: stretch;
  gap: 32px;
}

@media (max-width: 900px) {
  .Additional-services__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ========================= Download MTSS toolkit ========================== */

.Download-MTSS-toolkit {
  margin: 120px 0px 0px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  padding: 66px 96px;
  border-radius: 24px;
  background:
    url('/capti-site/themes/capti/new/images/3d/opening_book.png') no-repeat right 98px top 130px,
    linear-gradient(320deg, rgba(187, 107, 217, 0.20) 0%, rgba(11, 115, 235, 0.20) 100%),
    var(--capti-color--white, #FFF);
  background-size: 300px, cover;
}

@media (max-width: 768px) {
  .Download-MTSS-toolkit {
    margin: 80px -16px 0px;
    padding: 32px 32px 40px;
    border-radius: 0;
    width: unset;
    background:
      url('/capti-site/themes/capti/new/images/3d/opening_book.png') no-repeat right 42px top 150px,
      linear-gradient(320deg, rgba(187, 107, 217, 0.20) 0%, rgba(11, 115, 235, 0.20) 100%),
      var(--capti-color--white, #FFF);
    background-size: 162px auto, cover;
  }
}

.Download-MTSS-toolkit__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 612px;
}

.Download-MTSS-toolkit__content p {
  max-width: 440px;
  color: var(--capti-color--text-secondary);
}

.Download-MTSS-toolkit__link-icon svg path {
  fill: white;
}

/* ========================= Reports ========================== */

.Reports {
  grid-template-columns: 1fr;
  gap: 74px;
}

.Reports__description {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "text image";
  gap: 40px;
}

.Reports__title-block {
  grid-area: text;
}

.Reports__image {
  grid-area: image;
}

@media (max-width: 900px) {
  .Reports__description {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image";
    gap: 20px;
  }
}

.Reports__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .Reports__links {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.Reports__title-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 32px;
}


@media (max-width: 900px) {
  .Reports__title-block {
    gap: 20px;
  }
}

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

.Reports__image {
  border-radius: 9px;
  background: var(--Background-Default, #FFF);
  box-shadow: 0 8px 32px 0 rgba(187, 107, 217, 0.16), 0 0 4px 0 rgba(11, 115, 235, 0.30);
  overflow: hidden;
}


/* ========================= Subcribe Section ========================== */
.Subcribe {
  grid-template-columns: 1fr;
  padding: clamp(40px, 10%, 80px);
  align-items: center;
  align-self: stretch;
  justify-self: center;
  gap: 54px;
  border-radius: 32px;
  background:
    linear-gradient(90deg,
      var(--Background-Brand, rgba(11, 115, 235, 0.16)) 0%,
      var(--Brand-Violet, rgba(187, 107, 217, 0.16)) 100%),
    var(--Background-Default, #fff);
  margin: 0;
}

.Subcribe__title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 54px;
}

.Subcribe__chips {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.Subcribe__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.Subcribe__title p {
  margin: 0;
  text-align: center;
}

.Subcribe__form-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 612px;
  gap: 16px;
  margin: 0 auto;
}

.Subcribe__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.Subcribe__form input {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: var(--Primitives-12, 12px) var(--Primitives-24, 24px);
  align-items: center;
  gap: var(--Primitives-8, 8px);
  border-radius: var(--R-big, 32px);
  border: 1px solid var(--Outline-Dark, #98a8b9);
  background: var(--Background-Default, #fff);
}

.Subcribe__form button {
  width: 100%;
}


@media (max-width: 900px) {

  .Subcribe {
    border-radius: 0px;
    margin: 0 -16px;
    width: unset;
  }
}


@media (min-width: 900px) {

  .Subcribe__form {
    flex-direction: row;
  }

  .Subcribe__form input {
    width: auto;
  }

  .Subcribe__form button {
    width: auto;
  }
}

.Subcribe__private-policy {
  text-align: center;
  color: var(--capti-color--text-secondary);
}

/* ========================= MailChimp Form Component - Main Page Context ========================== */

/* Main Page Context - Newsletter Subscription Section */
.Subcribe__form .sing-up__form {
  max-width: 100%;
  width: 100%;
}

.Subcribe__form .sing-up__additional-fields {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "firs last"
    "position position"
    "school school"
    "state state";
  gap: 16px;
}

.Subcribe__form .sing-up__input-block--firs-name,
.Subcribe__form .sing-up__input-block--last-name {
  width: 100%;
}

/* Ensure inputs don't overflow container */
.Subcribe__form .sing-up__form-input {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile adjustments for main page */
@media (max-width: 600px) {
  .Subcribe__form .sing-up__additional-fields {
    gap: 12px;
  }
}
