/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #01a9ac;
  --color-primary-dark: #049194;
  --color-primary-light: #0fe7ec;
  --color-dark: #2a4751;
  --color-dark-deep: #0d2b37;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray: #c0c0c0;
  --color-gray-light: #ebebeb;
  --color-gray-text: rgba(117, 117, 117, 0.4);
  --color-bg-light: rgba(242, 255, 255, 0.8);
  --color-bg-comparison: #dcf0f0;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Lato', sans-serif;
  --max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ==================== UTILITIES ==================== */
.text-accent {
  color: var(--color-primary);
}

.text-accent-upper {
  color: var(--color-primary);
  text-transform: uppercase;
}

.text-white {
  color: var(--color-white);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 169, 172, 0.3);
}

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

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: #00969a;
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-weight: 400;
  font-size: 16px;
  border: 1px solid #fbfbff;
}

.btn--white:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn--full {
  width: 100%;
  font-size: 20px;
  padding: 16px 32px;
  height: 56px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  width: 100%;
  height: 915px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 5rem;
  margin-bottom: 80px;
}

.hero__title {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 58px;
  line-height: 1.1;
  letter-spacing: -2.32px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero__subtitle {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-gray-light);
  max-width: 663px;
}

.hero__form {
  position: absolute;
  right: 51px;
  bottom: 49px;
  z-index: 2;
  width: 469px;
  background: var(--color-white);
  border-radius: 23px;
  padding: 25px 24px 24px;
  max-height: 666px;
}

.hero__form-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.9px;
  color: var(--color-black);
  margin-bottom: 40px;
}

/* ==================== FORM ==================== */
.form__group {
  margin-bottom: 12px;
}

.form__label {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form__input {
  width: 100%;
  height: 53px;
  border: 1px solid var(--color-gray);
  border-radius: 100px;
  padding: 0 24px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.3s ease;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-gray-text);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-primary);
}

.form__textarea {
  width: 100%;
  height: 119px;
  border: 1px solid var(--color-gray);
  border-radius: 20px;
  padding: 14px 24px;
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--color-dark);
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
}

/* ==================== ABOUT SECTION ==================== */
.about {
  padding: 80px 0 55px;
}

.about__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0 5rem;
}

.about__text-block {
  max-width: 565px;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

.about__headline {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 45px;
  line-height: 54px;
  color: #212529;
}

.about__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 492px;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-items: flex-start;
}

.about__description {
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -0.32px;
  color: var(--color-dark);
}

.about__images {
  display: flex;
  gap: 32px;
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 55px;
  justify-content: flex-end;
}

.about__img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  width: 422px;
  height: 268px;
  flex-shrink: 0;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about__img-wrapper:hover .about__img {
  transform: scale(1.05);
}

/* ==================== CERTAINTY SECTION ==================== */
.certainty {
  background-color: var(--color-dark);
  padding: 86px 0 60px;
}

.certainty__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5rem;
}

.certainty__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.certainty__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 45px;
  line-height: 54px;
  color: var(--color-white);
  max-width: 565px;
}

.certainty__desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 16px;
  line-height: 27px;
  color: var(--color-white);
  max-width: 273px;
}

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

.certainty__card {
  background: var(--color-dark-deep);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 31px 29px;
  min-height: 272px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certainty__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(1, 169, 172, 0.15);
}

.certainty__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.certainty__card-icon svg {
  flex-shrink: 0;
}

.certainty__card-text {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 22.4px;
  line-height: 31.36px;
}

/* Certainty divider line */
.certainty__line {
  width: 100%;
  max-width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.20);
  margin: 0 auto 40px;
}

.certainty__disclaimer {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 19px;
  line-height: 30.4px;
  color: #fefbfb;
  text-align: center;
  max-width: 766px;
  margin: 0 auto;
}

.certainty__disclaimer em {
  font-weight: 700;
  font-style: italic;
  color: var(--color-primary);
}

/* ==================== ACCESS ACCORDION SLIDER ==================== */
.access {
  padding: 80px 0;
}

.access__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5rem;
}

.access__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.access__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 45px;
  line-height: 54px;
  color: #212529;
  max-width: 482px;
}

/* ── The accordion row ── */
.acc-slider {
  display: flex;
  gap: 16px;
  height: 470px;
  width: 100%;
}

/* Every panel starts collapsed */
.acc-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 184px;
  transition:
    flex-grow 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 0.3s ease;
  min-width: 0;
}

/* Expanded panel */
.acc-panel.is-active {
  flex-grow: 1;
  flex-shrink: 1;
}

/* Background image */
.acc-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
}

.acc-panel.is-active img {
  transform: scale(1.04);
}

/* Dark overlay */
.acc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.4s ease;
  border-radius: 20px;
}

.acc-panel.is-active .acc-overlay {
  background: rgba(0, 0, 0, 0.38);
}

/* Collapsed vertical label */
.acc-label-collapsed {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 39px;
  width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  opacity: 1;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

/* Vertical line */
.acc-label-line {
  width: 1px;
  height: 124px;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

/* Vertical text */
.acc-label-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  font-family: var(--font-primary);
  line-height: 29px;
  white-space: pre-wrap;
  width: 58px;
  max-height: 255px;
  overflow: visible;
}

/* Hide label when expanded */
.acc-panel.is-active .acc-label-collapsed {
  opacity: 0;
  transition: opacity 0.12s ease;
}

/* Expanded bottom content */
.acc-content-expanded {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 32px 36px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.32s ease 0.18s,
    transform 0.32s ease 0.18s;
  pointer-events: none;
  min-width: 260px;
}

.acc-panel.is-active .acc-content-expanded {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.acc-content-expanded h3 {
  font-size: clamp(18px, 1.9vw, 30px);
  font-weight: 400;
  font-family: var(--font-primary);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.acc-content-expanded p {
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 400;
  font-family: var(--font-primary);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

/* ==================== INVEST STEPS SECTION ==================== */
.steps {
  padding: 60px 5rem 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.steps__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: clamp(28px, 3.1vw, 45px);
  line-height: 1.2;
  color: #000;
  margin-bottom: 10px;
}

.steps__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 52px;
}

/* 4-column grid */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  align-items: start;
  border-bottom: 1px solid rgba(42, 71, 81, 0.18);
}

/* Horizontal timeline line through dot centres */
.steps__grid::before {
    content: '';
    position: absolute;
    top: 276px;
    left: 25px;
    right: 0;
    height: 1px;
    background: #01A9AC;
    z-index: 0;
    pointer-events: none;
    width: calc(100% - 3rem);
}

/* Each step card */
.step-item {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 40px;
  position: relative;
  border-radius: 12px 12px 0 0;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: default;
  border-bottom: 5px solid transparent;
  margin-bottom: -1px;
  height: 100%;
}

.step-item:hover,
.step-item.is-active {
  background: var(--color-dark);
  border-bottom-color: var(--color-primary);
}

/* Image */
.step-img {
  border-radius: 10px;
  overflow: hidden;
  height: 177px;
  flex-shrink: 0;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.step-item:hover .step-img img,
.step-item.is-active .step-img img {
  transform: scale(1.03);
}

/* "Step N" label */
.step-number {
  font-size: 20px;
  font-weight: 500;
  font-family: var(--font-primary);
  color: #00a9ac;
  line-height: 31px;
  margin-top: 20px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Dot row — sits ON the timeline */
.step-dot-row {
  height: 21px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.step-item:hover .step-dot-row:before ,
 .step-item.is-active .step-dot-row:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 23px;
    right: 0;
    height: 1px;
    background: #01A9AC;
    z-index: 2;
    pointer-events: none;
    width: 100%;
}

/* Dot */
.step-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--color-dark);
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 2px #fff;
}

.step-item:hover .step-dot,
.step-item.is-active .step-dot {
  background: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-dark);
  transform: scale(1.12);
}

/* Title */
.step-title {
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.35;
  margin-top: 27px;
  margin-bottom: 14px;
  transition: color 0.3s;
}

.step-item:hover .step-title,
.step-item.is-active .step-title {
  color: var(--color-primary);
}

/* Description */
.step-desc {
  font-size: 15px;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-dark);
  opacity: 0.8;
  flex-grow: 1;
  transition: color 0.3s, opacity 0.3s;
}

.step-desc .accent {
  color: var(--color-primary);
  opacity: 1;
}

.step-item:hover .step-desc,
.step-item.is-active .step-desc {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.step-item:hover .step-desc .accent,
.step-item.is-active .step-desc .accent {
  color: var(--color-primary);
}

/* Milestone */
.step-milestone {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-dark);
  opacity: 0.8;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 71, 81, 0.15);
  transition: color 0.3s, opacity 0.3s, border-color 0.3s;
}

.step-item:hover .step-milestone,
.step-item.is-active .step-milestone {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
  border-top-color: rgba(255, 255, 255, 0.15);
}

.step-milestone .tag {
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-works {
  background: var(--color-dark);
  padding: 60px 0 48px;
}

.how-works__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5rem;
}

.how-works__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.how-works__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.9px;
  color: var(--color-white);
  max-width: 482px;
}

.how-works__desc {
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -0.32px;
  color: var(--color-white);
  max-width: 441px;
}

.how-works__item {
  overflow: hidden;
}

.how-works__item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
}

.how-works__item-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--color-white);
}

.how-works__item-toggle {
  width: 52px;
  height: 52px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--color-primary);
  border: none;
  color: var(--color-white);
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.how-works__item-toggle--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.how-works__item-toggle:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Arrow icon visibility */
.how-works__icon-up {
  display: none;
}

.how-works__icon-down {
  display: block;
}

.how-works__item--active .how-works__icon-up {
  display: block;
}

.how-works__item--active .how-works__icon-down {
  display: none;
}

/* Accordion body and image */
.how-works__item-body {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.3s ease;
}

.how-works__item--active .how-works__item-body {
  max-height: 100px;
  opacity: 1;
  padding: 12px 0 24px;
}

.how-works__item-line {
    width: 0;
    height: 80px;
    border-left: 2px solid #01A9AC;
    flex-shrink: 0;
}

.how-works__item-text {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-white);
}

.how-works__item-image {
  border-radius: 24px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
  margin-bottom: 0;
}

.how-works__item--active .how-works__item-image {
  max-height: 500px;
  height: 474px;
  opacity: 1;
  margin-bottom: 16px;
}

.how-works__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.how-works__divider {
  height: 2px;
  background: var(--color-primary);
}

/* ==================== TESTIMONIALS SECTION ==================== */
section.testimonials {
  background: rgba(242, 255, 255, 0.8);
  padding: 102px 40px 80px;
  overflow: hidden;
}

.test-inner {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

.test-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.test-header h2 {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: clamp(28px, 3.1vw, 45px);
  line-height: 1.2;
  color: #000;
  max-width: 444px;
}

.test-header p {
  font-size: 16px;
  color: var(--color-dark);
  line-height: 1.69;
  max-width: 513px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.test-layout {
  display: grid;
  grid-template-columns: 492px 1fr;
  gap: 20px;
  align-items: start;
}

.test-photo {
  border-radius: 24px;
  overflow: hidden;
  height: 552px;
}

.test-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.test-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 624px;
}

.test-card {
  background: var(--color-primary);
  border-radius: 32px;
  padding: 20px 32px 32px;
  color: #fff;
  position: relative;
  min-height: 333px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.35s ease;
}

.test-quote-open {
  width: 60px;
  height: 60px;
  display: block;
  margin-bottom: 8px;
  transform: rotate(180deg) scaleY(-1);
}

.test-card blockquote {
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.67vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  flex-grow: 1;
  margin: 0;
}

.test-quote-close {
  width: 48px;
  height: 48px;
  position: absolute;
  right: 32px;
  bottom: 88px;
}

.test-author {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.test-author-name {
  font-family: var(--font-primary);
  font-size: clamp(20px, 1.94vw, 28px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.test-author-role {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.test-nav {
  position: absolute;
  right: 0;
  top: 122px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  z-index: 5;
}
.test-btn-next,
.test-btn-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(15, 15, 15, 0.16);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
  color: #0f0f0f;
}
.test-btn-next:hover,
.test-btn-prev:hover {
  border-color: rgba(15, 15, 15, 0.4);
  background: #0f0f0f;
}
.test-btn-next:hover svg path ,
.test-btn-prev:hover svg path {
  stroke: #fff;
}

/* .test-btn-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f0f0f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.test-btn-next:hover {
  background: #333;
} */

.test-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.test-thumb {
  border-radius: 24px;
  overflow: hidden;
  height: 194px;
}

.test-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.test-thumb:hover img {
  transform: scale(1.05);
}

@media (max-width: 1000px) {
  .test-layout {
    grid-template-columns: 1fr;
  }
  .test-right {
    max-width: 100%;
  }
  .test-photo {
    height: 320px;
  }
  .test-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .test-nav {
    position: static;
    justify-content: flex-end;
    margin-bottom: 16px;
  }
}

/* ==================== COMPARISON TABLE SECTION ==================== */
.comparison {
  padding: 80px 0 60px;
}

.comparison__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5rem;
}

.comparison__heading {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 45px;
  line-height: 54px;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 16px;
}

.comparison__subheading {
  font-size: 20px;
  line-height: 31px;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 40px;
}

.comparison__table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  -webkit-overflow-scrolling: touch;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  table-layout: fixed;
}

/* Column widths */
.comparison__th--feature,
.comparison__td--label {
  width: 193px;
}

.comparison__th--jodoa {
  width: 304px;
}

.comparison__th {
  padding: 18px 20px;
  font-size: 24px;
  font-weight: 400;
  line-height: 31px;
  color: var(--color-white);
  text-align: left;
  background: var(--color-primary-dark);
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.comparison__th--feature {
  border-radius: 20px 0 0 0;
  background: var(--color-primary-dark);
}

.comparison__th--jodoa {
  background: var(--color-primary);
  font-weight: 700;
  font-size: 28px;
}

.comparison__th--last {
  border-radius: 0 20px 0 0;
}

.comparison__td {
  padding: 16px 20px;
  font-size: 18px;
  line-height: 31px;
  color: var(--color-dark);
  background: var(--color-bg-comparison);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  vertical-align: middle;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.comparison__td--label {
  font-size: 18px;
  color: var(--color-black);
  background: var(--color-bg-comparison);
}

.comparison__td--jodoa {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
  font-size: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Column active highlight */
.comparison__col--active {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: 500;
}

.comparison__th.comparison__col--active {
  font-weight: 700;
  font-size: 28px;
}

/* Column hover highlight */
.comparison__table.comparison--col-hover .comparison__col--active {
  background: var(--color-bg-comparison) !important;
  color: var(--color-dark) !important;
  font-weight: 400;
}

.comparison__table.comparison--col-hover .comparison__th.comparison__col--active {
  background: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
  font-weight: 400;
  font-size: 24px;
}

.comparison__table .comparison__col--hover {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-weight: 500;
}

.comparison__table .comparison__th.comparison__col--hover {
  background: var(--color-primary) !important;
  font-weight: 700;
  font-size: 28px;
}

/* ==================== ADVANTAGE SECTION ==================== */
.advantage {
  padding: 60px 0 80px;
  overflow: hidden;
}

.advantage__title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 45px;
  line-height: 54px;
  color: var(--color-black);
  margin-bottom: 40px;
  padding: 0 40px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* Owl overrides for center-mode carousel */
.adv-carousel.owl-carousel .owl-stage-outer {
  overflow: visible;
}

.adv-carousel.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.adv-carousel.owl-carousel .owl-item {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0.55;
  transform: scale(0.95);
}

.adv-carousel.owl-carousel .owl-item.active.center {
  opacity: 1;
  transform: scale(1);
}

.adv-carousel.owl-carousel .owl-dots {
  display: none;
}

.adv-carousel.owl-carousel .owl-nav {
  display: none;
}

/* Panel styling */
.adv-panel {
  position: relative;
  height: 392px;
  border-radius: 20px;
  overflow: hidden;
}

.adv-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adv-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.82) 100%);
  border-radius: 20px;
}

.adv-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 32px;
  color: #fff;
  max-width: 724px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

/* Only show caption on the center (active) slide */
.owl-item.active.center .adv-caption {
  opacity: 1;
  transform: translateY(0);
}

.adv-caption h3 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.adv-caption p {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* Controls */
.adv-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.adv-btn {
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.adv-btn:hover {
  background: #019ea0;
  transform: scale(1.1);
}

.adv-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================== CTA SECTION ==================== */
.cta {
  background: var(--color-primary);
  padding: 50px 0;
  overflow: hidden;
}

.cta__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta__label {
  font-size: 16px;
  line-height: 22.4px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta__heading {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 46px;
  line-height: 42.84px;
  color: var(--color-white);
  margin-bottom: 16px;
  max-width: 780px;
}

.cta__desc {
  font-size: 19.2px;
  line-height: 30.72px;
  color: var(--color-white);
  max-width: 631px;
}

.cta__action {
  flex-shrink: 0;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1200px) {
.hero {
        padding: 4rem 0 0;
        height: auto;
    }

.hero__content {
        padding: 0 2rem;
    }

  .hero__title {
    font-size: 42px;
  }

  .hero__form {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 80px);
    margin: 0 2rem 40px;
    max-height: none;
  }
  .test-nav {
      top: 70px;
  }

  .about__container {
    grid-template-columns: 1fr;
  }

  .about__text-block {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .about__info {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    justify-self: start;
  }

  .about__images {
    grid-column: 1;
    grid-row: 3;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .about__img-wrapper {
    flex: 1;
    min-width: 280px;
    width: auto;
  }

  .certainty__header {
    flex-direction: column;
    gap: 20px;
  }

  .certainty__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .acc-slider {
    flex-wrap: wrap;
    height: auto;
  }

  .acc-panel {
    flex-basis: calc(50% - 8px) !important;
    height: 280px;
    flex-grow: 0 !important;
  }

  .acc-panel.is-active {
    flex-basis: 100% !important;
    height: 380px;
    flex-grow: 0 !important;
  }

  .acc-label-collapsed {
    left: 24px;
    transform: none;
    width: auto;
    flex-direction: row;
    top: auto;
    bottom: 20px;
  }

  .acc-label-line { display: none; }

  .acc-label-text {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 18px;
    width: auto;
    max-height: none;
  }

  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps__grid::before {
    display: none;
  }

  .step-item {
    border-radius: 12px;
  }

  .how-works__header {
    flex-direction: column;
    gap: 16px;
  }

  .cta__container {
    flex-direction: column;
    text-align: center;
  }

  .cta__heading {
    font-size: 36px;
    line-height: 1.1;
  }
}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media (min-width: 768px) and (max-width: 1199px) {
  .certainty__cards {
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
  }
      .acc-panel {
        flex-basis: calc(32.8% - 8px) !important;
    }

}
@media (max-width: 991px) {
  .comparison__container,
  .how-works__container,
  .access__container,
  .certainty__container,
.about__container {
    padding: 0 1rem;
}
.steps {
    padding: 30px 1rem 80px;
}
section.testimonials {
    padding: 4rem 1rem 0;
}

}
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: auto;
    padding-bottom: 0;
  }

  .hero__content {
    padding: 80px 20px 30px;
  }

  .hero__title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__form {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 20px;
  }

  .hero__form-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .about {
    padding: 50px 0 5rem;
  }

  .about__container {
    padding: 0 20px;
  }

  .about__headline {
    font-size: 30px;
    line-height: 38px;
  }

  .about__images {
    flex-direction: column;
  }

  .about__img-wrapper {
    width: 100%;
    min-width: 0;
    height: 220px;
  }

  .certainty {
    padding: 50px 0 5rem;
  }

  .certainty__container {
    padding: 0 20px;
  }

  .certainty__title {
    font-size: 30px;
    line-height: 38px;
  }

  .certainty__cards {
    grid-template-columns: 1fr;
  }

  .certainty__disclaimer {
    font-size: 16px;
    line-height: 26px;
  }

  .access {
    padding: 50px 0;
  }

  .access__container {
    padding: 0 20px;
  }

  .access__title {
    font-size: 30px;
    line-height: 38px;
  }

  .acc-slider {
    flex-direction: column;
    height: auto;
  }

  .acc-panel {
    flex: none !important;
    width: 100% !important;
    height: 200px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .acc-panel.is-active {
    height: 380px;
  }

  .steps {
    padding: 40px 20px 60px;
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .how-works {
    padding: 40px 0;
  }

  .how-works__container {
    padding: 0 20px;
  }

  .how-works__title {
    font-size: 30px;
  }

  .how-works__item-title {
    font-size: 22px;
  }

  .how-works__item--active .how-works__item-image {
    max-height: 300px;
    height: 280px;
  }

  section.testimonials {
    padding: 60px 0;
  }

  .comparison {
    padding: 50px 0;
  }

  .comparison__container {
    padding: 0 20px;
  }

  .comparison__heading {
    font-size: 30px;
    line-height: 38px;
  }

  .advantage {
    padding: 40px 0 60px;
  }

  .advantage__title {
    font-size: 30px;
    line-height: 38px;
    padding: 0 20px;
  }

  .adv-panel {
    height: 280px;
  }

  .cta {
    padding: 40px 0;
  }

  .cta__container {
    padding: 0 20px;
  }

  .cta__heading {
    font-size: 28px;
  }

  .cta__desc {
    font-size: 16px;
    line-height: 26px;
  }

  .btn {
    font-size: 16px;
    padding: 12px 24px;
  }

  .btn--full {
    height: 50px;
    font-size: 18px;
  }
}
@media (max-width: 767px) {
      .hero {
        flex-direction: column;
        gap: 0;
    }
        .hero__content {
        padding: 0 1rem;
        margin-bottom: 60px;margin-top: 60px;
    }
    section.testimonials {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .about__headline {
    font-size: 26px;
    line-height: 34px;
  }

  .certainty__title,
  .access__title,
  .steps__heading,
  .how-works__title {
    font-size: 26px;
  }

  .cta__heading {
    font-size: 24px;
  }
}
@media (max-width: 761px) {
    .comparison__th {text-align: center;
        font-size: 16px;
        padding: 10px 10px;  font-weight: 700;
    }
    .comparison__th.comparison__col--active {
    font-weight: 700;
    font-size: 16px;
}
.comparison__td--jodoa{font-size: 16px;}
.comparison__td{   text-align: center; padding: 7px 20px;font-size: 16px;}
.comparison__td--label {
    font-size: 16px;font-weight: 700;
}

/* ==================== MOBILE FIXED ACCORDION ==================== */
@media (max-width: 768px) {

  /* Container becomes vertical */
  .acc-slider {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  /* Panel base */
  .acc-panel {
    width: 100% !important;
    height: auto;
    flex: none !important;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;

    /* 🔥 IMPORTANT: remove laggy animations */
    transition: none !important;
  }

  /* Image */
  .acc-panel img {
    position: relative;
    height: 200px;
    object-fit: cover;
  }

  /* Overlay */
  .acc-overlay {
    background: rgba(0, 0, 0, 0.35);
  }

  /* Collapsed label (bottom-left style) */
  .acc-label-collapsed {
    position: absolute;
    left: 16px;
    bottom: 16px;
    top: auto;
    transform: none;
    flex-direction: row;
    gap: 8px;
    width: auto;
  }

  .acc-label-line {
    display: none;
  }

  .acc-label-text {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 18px;
    line-height: 1.3;
    width: auto;
    max-height: none;
  }

  /* Hide label when active */
  .acc-panel.is-active .acc-label-collapsed {
    display: none;
  }

  /* 🔥 KEY CHANGE: NO height animation */
  .acc-content-expanded {
    position: relative;
    display: none;
    opacity: 1;
    transform: none;
    padding: 20px;
    background: #000;
    pointer-events: auto;
  }

  /* Show content when active */
  .acc-panel.is-active .acc-content-expanded {
    display: block;
  }

  /* Content text */
  .acc-content-expanded h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .acc-content-expanded p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Optional tap feedback */
  .acc-panel:active {
    transform: scale(0.98);
  }
}
@media (max-width: 768px) {

  .acc-slider {
    flex-direction: column;
    gap: 20px;
    height: auto; cursor: default!important;
  }

  .acc-panel {
    width: 100% !important;
    flex: none !important;
    height: auto !important;
    border-radius: 20px;
    overflow: hidden;
    cursor: default;
    transition: none !important;
  }

  .acc-panel img {
    position: relative;
    height: 220px;
  }

  .acc-label-collapsed {
    display: none !important;
  }

  .acc-content-expanded {
    position: relative;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    padding: 20px;
    background: #2a4751;
  }

  .acc-panel.is-active {
    flex: none !important;
  }
}
@media (max-width: 768px) {

  .acc-panel {
    pointer-events: none;   /* 🔥 disables click completely */
    cursor: default;
  }

}