/* Kaan landing — typography & palette */

@font-face {
  font-family: "Atyp Text TRIAL";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://kaanhub.com/wp-content/uploads/2026/01/AtypTextTRIAL-Bold-BF65727125ceed1.otf") format("opentype");
}

@font-face {
  font-family: "Atyp Text TRIAL";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://kaanhub.com/wp-content/uploads/2026/01/AtypTextTRIAL-Regular-BF65727125ea126.otf") format("opentype");
}

:root {
  --color-primary: #046bd2;
  --color-primary-dark: #045cb4;
  --color-heading: #181417;
  --color-body: #262626;
  --color-white: #ffffff;
  --color-bg-soft: #f0f5fa;
  --color-accent-green: #27ae60;
  --color-accent-green-hover: #219a52;
  --cta-band-bg: #E8F7EE;
  --header-bar-green: #27ae60;
  --color-border: #d1d5db;
  --font-display: "Atyp Text TRIAL", system-ui, sans-serif;
  --font-body: "Atyp Text TRIAL", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: min(1200px, calc(100% - 48px));
  --section-pad-y: clamp(3rem, 6vw, 5rem);
  --radius-btn: 9999px;
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.08);
  --footer-bg: #FDEECA;

  /* Heading scale — aligned with kaanhub.com (responsive clamp) */
  --fs-hero: clamp(2rem, 5vw, 4.4rem);
  /* 60px */
  --fs-title-why: clamp(1.6rem, 5.5vw, 3.1rem);
  /* 57px */
  --fs-title-how: clamp(1.75rem, 4vw, 2.75rem);
  /* 44px */
  --fs-h2-band: clamp(1.5rem, 3.5vw, 2.75rem);
  /* 36px — CTA / trust / final */
  --fs-diff-card-title: clamp(1.375rem, 3.2vw, 2.25rem);
  /* up to 36px */
  --diff-neutral-bg: #f0f4f8;
  --diff-cream-bg: #fff9eb;
  --diff-cream-title: #765D20;
  --diff-cream-text: #92700f;
  --diff-mint-bg: #eef9f2;
  --diff-sky-bg: #eef6fb;
  --fs-h3-card: clamp(1.125rem, 2vw, 1.25rem);
  /* 20px */
  --fs-h3-footer: clamp(1.125rem, 2vw, 1.375rem);
  /* 22px */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-white);
}

/* Scroll lock when mobile menu is open: both roots + stable gutter avoids horizontal “white strip” from scrollbar disappearing. */
html.drawer-open,
html.drawer-open body {
  overflow: hidden;
}

html.drawer-open body {
  overscroll-behavior: none;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus,
a:active,
button:focus,
button:active {
  outline: none;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
}

.skip-link:focus {
  inset-inline-start: 1rem;
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  /* position: relative; */
  z-index: 100;
  background: transparent;
  border-bottom: none;
  position: absolute;
  width: 100%;
  top: 0;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 29px 120px;
  /* max-width: 1240px; */
  margin-inline: auto;
  box-sizing: border-box;
}

.header-start {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.logo img {
  width: auto;
  height: 40px;
}

a.btn.btn-join,
a.btn.btn-yellow {
  background-color: #BEE7CF;
  color: #181B25;
  border-radius: 12px;
  padding: 15px 17px;
  font-weight: 600;
  font-size: 16px;
  min-height: 54px;
}

a.btn.btn-join img {
  margin-inline-end: 12px;
}

.btn-join:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

a.btn.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F9C013;
  color: #181B25;
  gap: 8px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-yellow:hover {
  background: #e0ac0f;
  color: #181B25;
}

.btn-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
ul.lang-dropdown__menu li:last-child {
    margin-top: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 0.9rem 1.75rem;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

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

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

.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px;
  background: #f9c74f;
  color: #000000;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  box-shadow: none;
}

.btn-app:hover {
  background: #f5bd3a;
  color: #000000;
}

.btn-app__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-app--block {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--color-white);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile sidebar — slides in from the right edge of the viewport */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer.is-open .mobile-drawer-backdrop,
.mobile-drawer.is-closing .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  box-sizing: border-box;
  background: var(--color-white);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mobile-drawer.is-open .mobile-drawer-panel {
  transform: translate3d(0, 0, 0);
}

.mobile-drawer.is-closing .mobile-drawer-panel {
  transform: translate3d(100%, 0, 0);
}

html[dir="rtl"] .mobile-drawer-panel {
  right: auto;
  left: 0;
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translate3d(-100%, 0, 0);
}

html[dir="rtl"] .mobile-drawer.is-open .mobile-drawer-panel,
html[dir="rtl"] .mobile-drawer.is-closing .mobile-drawer-panel {
  transform: translate3d(0, 0, 0);
}

html[dir="rtl"] .mobile-drawer.is-closing .mobile-drawer-panel {
  transform: translate3d(-100%, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer-panel,
  .mobile-drawer-backdrop {
    transition-duration: 0.01ms;
  }
}

.mobile-drawer-header {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 12px 8px 16px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-heading);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer-close:hover {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

.mobile-drawer-close svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-heading);
  padding: 0.5rem 0;
}

.mobile-nav .btn-app,
.mobile-nav .btn-yellow {
  margin-top: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 921px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-drawer {
    display: block;
  }
}

/* —— Hero —— */
.hero {
  background-color: #27ae60;
  background-image: url("../image/hero-section.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  /* min-height: 842px; */
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  padding-top: 230px;
  padding-bottom: 0px;
  padding-inline: 120px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  /* min-height: 1024px; */
}

.hero__inner {
  width: 100%;
  /* max-width: 1240px; */
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy {
  padding-bottom: 200px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.15;
  color: #000000;
  margin: 0 0 1rem;
  /* max-width: 440px; */
  width: 100%;
}

.hero-copy p {
  margin: 0 0 1.75rem;
  font-size: 16px;
  line-height: 1.65;
  color: #000000;
  font-weight: 300;
  padding-inline-end: 90px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}



.hero-visual {
  text-align: end;
  display: flex;
  justify-content: end;
  flex-direction: column;
  /* padding: 110px 0px 0px; */
}

.card-boxwrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 432px;
  pointer-events: auto;
  margin: 0 auto -70px;
}

.hero-offer-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 120px;
  padding: 12px 16px 12px 12px;
  border-radius: 24px;
  background: #ccecda91;
  border: 0.3px solid #ccecda;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.hero-offer-card--soft {
  background: #ccecda91;
}

.hero-offer-card:hover {
  transform: translateY(-3px);
  border-color: #ccecda;
  box-shadow:
    0 12px 32px rgba(31, 139, 77, 0.12),
    0 4px 14px rgba(15, 23, 42, 0.08);
}

.hero-offer-card__media {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #bee7cf;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-offer-card__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-offer-card__content {
  min-width: 0;
}

.hero-offer-card__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: #121212;
}

.hero-offer-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.45;
  color: #2b303b;
}

.hero-box-wrap {
  z-index: 9999;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  position: relative;
  bottom: 0px;
  overflow: hidden;
  inset-inline-start: 170px;
  left: 0px;
}

.hero-box {
  width: 100%;
  height: auto;
  display: block;
}


/* —— Section titles —— */
.section {
  padding: var(--section-pad-y) clamp(16px, 4vw, 24px);
}

.section__inner {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 0px 120px;
}

.section.section--soft {
  background-color: var(--color-white);
  padding: 90px 0px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: left;
  color: var(--color-heading);
  margin: 0 0 clamp(2rem, 4vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title--how {
  font-size: var(--fs-title-why);
}

.section-title--why {
  font-size: var(--fs-title-why);
  line-height: 1.12;
}

h2#why-title,
h2#how-title {
  text-align: center;
}

.section-title .accent {
  color: var(--color-accent-green);
}

/* —— How it works (matches kaanhub.com soft band) —— */
.section--soft .how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  width: 100%;
}

.section--soft .feature-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.section--soft .feature-card figure,
.section--soft .feature-card__figure {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  width: 100%;
  background-color: #F2F5F8;
  border-radius: 40px;
  overflow: hidden;
}

.section--soft .feature-card figure img,
.section--soft .feature-card__figure img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}



.section--soft .feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3-card);
  font-weight: 800;
  color: var(--color-heading);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.section--soft .feature-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-body);
  max-width: none;
}





/* —— Why different (kaanhub.com card grid) —— */
.section.section--why {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  padding-inline: 120px;
  background: var(--color-white);
}

.section__inner--why {
  max-width: 100%;
  padding: 0px 222px;
}

/* Two equal columns, cards stacked — staggered heights (masonry-style rhythm, like kaanhub.com) */
.diff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  width: 92%;
  align-items: start;
  margin: 0 auto;
}

.diff-list__col {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 28px);
  min-width: 0;
}

.diff-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  padding: clamp(28px, 4vw, 40px);
}

/* Compact cards ~540px tall; featured taller */
.diff-card--compact {
  min-height: 540px;
}

.diff-card--featured {
  min-height: 620px;
}

.diff-card--sky {
  /* background: var(--diff-sky-bg); */
  background-color: #EDF6F9;
}

.diff-card--sky .diff-card__title {
  /* color: var(--color-heading); */
  color: #1E414E;
}

.diff-card--sky .diff-card__copy p {
  color: var(--color-body);
}

.diff-card--neutral {
  /* background: var(--diff-neutral-bg); */
  background-color: #F2F5F8;
}

.diff-card--neutral .diff-card__title {
  color: var(--color-heading);
}

.diff-card--neutral .diff-card__copy p {
  color: var(--color-body);
}

.diff-card--cream {
  /* background: var(--diff-cream-bg); */
  background-color: #FEF9ED;
}

.diff-card--cream .diff-card__title {
  color: var(--diff-cream-title);
}

.diff-card--mint {
  /* background: var(--diff-mint-bg); */
  background-color: #E8F7EE;
}

.diff-card--mint .diff-card__title {
  /* color: var(--color-heading); */
  color: #104626;
}

.diff-card--mint .diff-card__copy p {
  color: var(--color-body);
}

.diff-card__copy {
  text-align: left;
  flex-shrink: 0;
}

.diff-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-diff-card-title);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.diff-card__copy p {
  margin: 0 0 31.5px;
  font-size: 18px;
  line-height: 1.6;
  max-width: none;
}

.diff-card__media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 0;
  flex: 1;
}

.diff-card--compact .diff-card__media {
  min-height: 130px;
}

.diff-card--featured .diff-card__media {
  min-height: 180px;
}

.diff-card__media img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 32px rgba(15, 23, 42, 0.1)) drop-shadow(0 8px 16px rgba(15, 23, 42, 0.06));
}

.diff-card--compact .diff-card__media img {
  max-height: min(330px, 32vw);
}

.diff-card--featured .diff-card__media img {
  max-height: min(370px, 42vw);
}


/* —— CTA band (Start Saving Smarter Today) — kaanhub.com style —— */
.cta-band {
  padding: 99px 0px;
  background: var(--cta-band-bg);
}

.cta-band__inner {
  /* max-width: var(--container); */
  padding: 0px 120px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: 41px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #000000;
  margin: 0;
  /* flex: 1 1 min(100%, 22rem); */
  /* max-width: 32rem; */
}

.cta-band__aside {
  /* flex: 0 1 22rem; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: left;
}

.cta-band__aside .cta-band__text {
  font-size: 21px;
  max-width: 100%;
}

.cta-band__text {
  margin: 0;
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #000000;
  max-width: 26rem;
}

.cta-band__btn.btn {
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-size: 0.9375rem;
  font-weight: 400;
  gap: 17px;
  align-items: center;
}

.cta-band__btn.btn img {
  width: 17px;
}

.cta-band .cta-band__btn.btn-primary {
  background: var(--color-accent-green);
  color: #ffffff;
}

.cta-band .cta-band__btn.btn-primary:hover {
  background: var(--color-accent-green-hover);
  color: #ffffff;
}

@media (max-width: 720px) {

  .cta-band__title {
    max-width: none;
    font-size: clamp(1.875rem, 7vw, 51px);
  }

  .cta-band__aside {
    align-items: center;
    text-align: center;
  }

  .cta-band__text {
    max-width: 36rem;
    margin-inline: auto;
  }
}

/* —— Testimonials (kaanhub.com layout: heading + lead, phone frame, horizontal cards + toolbar) —— */
.testimonials {
  /* --testimonials-pad-x: clamp(16px, 4vw, 40px); */
  /* padding: clamp(3.5rem, 7vw, 5.5rem) var(--testimonials-pad-x); */
  max-width: 100%;
  margin-inline: auto;
  background: var(--color-white);
  padding-block: 110px;
  padding-inline: 120px 50px;
}

.testimonials__intro {
  width: 100%;
  /* max-width: 1240px; */
  margin-inline: auto;
}

.testimonials__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2-band);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  color: #000000;
  margin: 0 0 0.75rem;
}

.testimonials-lead {
  font-family: var(--font-body);
  text-align: left;
  margin: 0 0 clamp(2.25rem, 4.5vw, 3.25rem);
  font-size: clamp(0.9375rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: #4b5563;
}

.testimonials-visual {
  width: 100%;
  background-color: #F2F5F8;
  border-radius: 40px;
  overflow: hidden;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, min(100%, 380px)) 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.testimonials-visual {
  justify-self: start;
  width: 100%;
  max-width: 380px;
}

.testimonials-visual__img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: block;
}

.testimonials-carousel-col {
  min-width: 0;
}

.carousel {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.carousel__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
}

.carousel-track {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-inline: 0;
  padding-inline: 0;
  outline: none;
  max-width: 100%;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slides {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

.slide {
  scroll-snap-align: start;
  flex: 0 0 min(420px, calc(100% - 2.75rem));
  box-sizing: border-box;
  background: #f9fafb;
  border-radius: 18px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.quote-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 500;
  color: #000000;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.quote-body {
  font-family: var(--font-body);
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: 14px;
  font-weight: 200;
  line-height: 1.6;
  color: #4b5563;
  flex: 1;
}

.quote-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.quote-meta__person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.quote-meta img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.quote-meta .stars {
  width: 100px;
  height: auto;
  flex-shrink: 0;
}

.quote-meta .who {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-btn {
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  border: 1px solid #F2F5F8;
  background-color: #fcfcfc;
}

.carousel-btn__label {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
  font-family: var(--font-body), system-ui, sans-serif;
  display: block;
  transform: translateY(-0.06em);
}

/* Prev: light bg + readable arrow; next: green + white; hover both → blue + white */
.carousel-btn--prev {
  border: 1px solid #F2F5F8;
  background-color: #fcfcfc;
}

.carousel-btn--next {
  background: #19c37d;
  color: #ffffff;
}

.carousel-btn--prev:hover:not(:disabled),
.carousel-btn--next:hover:not(:disabled) {
  background: #19c37d;
  color: #ffffff;
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


/* —— Final CTA (kaanhub.com: green rounded card, white type, white pill button, rating) —— */
.final-cta {
  padding: 50px 120px 80px;
  background: var(--color-white);
}

.final-cta__inner {
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--color-accent-green);
  border-radius: clamp(12px, 2.5vw, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  /* max-width: 1240px; */
  /* margin-inline: auto; */
  /* margin: 0px 120px; */
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 4.2vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 clamp(0.65rem, 1.8vw, 0.85rem);
}

.final-cta__lead {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 2.4vw, 1rem);
  font-weight: 200;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 clamp(1.35rem, 3.5vw, 1.75rem);
}

.final-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-accent-green);
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.final-cta__btn:hover {
  background: #f8fafc;
  color: var(--color-accent-green-hover);
}

.final-cta__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.final-cta__btn-icon {
  width: 1em;
  height: 1.125em;
  flex-shrink: 0;
}

.final-cta__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.final-cta__rating-text {
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 2.2vw, 1rem);
  font-weight: 200;
  line-height: 1.3;
  color: #ffffff;
}

.final-cta__rating-stars {
  width: clamp(96px, 22vw, 120px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

/* —— Footer —— */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px 120px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20.5rem;
  max-width: 100%;
  margin-inline: auto;
  /* padding: 0px 120px; */
}

.footer-brand .logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
  color: var(--color-body);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-row a img {
  height: 36px;
  width: auto;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3-footer);
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--color-body);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--color-accent-green);
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.app-badges img {
  height: 48px;
  width: auto;
}

img.scan-img {
  height: 90px;
  max-width: 130px;
  width: 100%;
}

.footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.scan-wrap {
  display: flex;
  gap: 20px;
  padding-top: 20px;
}

.footer-badges-row img {
  height: auto;
}

/* responsive */

@media (max-width: 1499px) {
  .card-boxwrap {
    max-width: 382px;
}
.hero {
    padding-top: 220px;
}
}
@media (max-width: 1399px) {
  .diff-list {
    width: 99%;
}
  .hero {
    padding-top: 190px;
}
  .card-boxwrap {
    max-width: 342px;
}
.hero-grid {
  gap: 20px;
}
.hero-copy {
  padding-bottom: 60px;
}

}
@media (max-width: 1024px) {
.section__inner--why {
  max-width: 100%;
  padding: 0px 21px;
}
.hero {
  padding-top: 181px;
  padding-bottom: 120px;
}
.card-boxwrap {
    max-width: 100%;
    margin-inline-start: 0;
}
h1#hero-title br {
    display: none;
}

h1#hero-title {
    font-size: 43px;
}
.hero-box-wrap {
    display: none;
}
}
@media (max-width: 992px) {
.hero-box-wrap {
    display: none;
}
.section__inner, .cta-band__inner {
    padding: 0px 90px;
}
.cta-band__inner {
    gap: 16px;
}
.hero, .section.section--why {
    padding-inline: 90px;
}
.testimonials {
    padding-block: 90px;
    padding-inline: 80px 90px;
}
.final-cta {
    padding: 50px 90px 80px;
}
.section__inner--why {
    max-width: 100%;
    padding: 0px 0px;
}
.diff-card__media img {
    max-width: 180px;
    height: auto;
}

.diff-card__media {
    min-height: unset;
}
.diff-card--featured {
    min-height: 550px;
}
.diff-card--compact {
    min-height: 490px;
}
}

/* Hero motion: AOS (fade-right / fade-left) — see index.html data-aos */

@media (max-width: 921px) {
  /* .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  } */

  .section.section--soft {
    padding-inline: 0;
  }

  .card-boxwrap {
    max-width: 100%;
    margin-inline-start: 0;
    margin-bottom: clamp(-1.75rem, -5vw, -0.75rem);
  }

  .hero-offer-card {
    column-gap: 12px;
    padding: 10px 12px 10px 10px;
  }
    .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-visual {
    max-width: min(280px, 72vw);
    margin-inline: auto;
    justify-self: center;
  }

  .carousel__toolbar {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .slide {
    flex: 0 0 min(340px, calc(100% - 1.75rem));
  }
}

@media (max-width: 768px) {
    .section--soft .how-grid {
    grid-template-columns: 1fr, 1fr, 1fr;
    gap: 2.5rem;
    max-width: 480px;
    margin-inline: 0;
  }
  h2#why-title {
    margin-bottom: 40px;
  }

  .hero-box {
    width: 50%;
    margin: 0 auto;
  }

  .final-cta__inner {
    padding: 1.75rem 1.125rem 1.85rem;
  }

  .final-cta__title {
    max-width: 100%;
  }

  .cta-band__text {
    max-width: 100%;
  }

  .cta-band__inner {
    max-width: 100%;
  }

  .cta-band__title {
    font-size: 26px;
  }

  h1#hero-title {
    font-size: 31px;
    max-width: 100%;
  }

  .hero {
    min-height: unset;
  }

  .hero {
    min-height: unset;
    padding-top: 140px;
    padding-bottom: 100px;
    padding-inline: 40px;
  }

  h1#hero-title br {
    display: none;
}

.logo img {
  height: 34px;
}

.header-login {
  font-size: 0.9375rem;
}

.scan-wrap {
  display: flex;
  gap: 20px;
}

.section--soft .how-grid {
  max-width: 100%;
}

.hero {
  padding-bottom: 110px;
}

.section__inner--why,
.testimonials,
.testimonials .slide,
.final-cta__inner,
.footer-bottom {
  max-width: 100%;
}

h2#why-title {
  margin-bottom: 70px;
}

.section-title {
  margin-bottom: 40px;
}

.section-title--why {
  line-height: 1.1;
}


.diff-card--compact .diff-card__media img,
.diff-card--featured .diff-card__media img {
  max-height: 170px;
}

.cta-band__inner {
  flex-direction: row;
  gap: 17px;
}

.final-cta__lead {
  padding-inline: 0.125rem;
}

.final-cta__btn {
  width: 100%;
  max-width: 17.5rem;
  padding: 0.7rem 1.25rem;
}

.final-cta__rating {
  flex-direction: row;
  margin-top: 1.15rem;
}

.final-cta__rating-stars {
  width: 92px;
}

.header-inner {
  padding: 29px 40px;
}

 .hero-grid {
    gap: 2rem;
    grid-template-columns: 1fr;
}

  .cta-band__aside .cta-band__text {
    font-size: 17px;
    text-align: center !important;
  }

  .testimonials {
    padding: 63px 50px 60px 40px;
  }

  h2#cta-mid-title br {
    display: none;
  }

  .final-cta {
    padding: 0px 40px 50px;
  }

  .site-footer {
    padding: 48px 40px;
  }

  .footer-grid {
    gap: 3rem;
  }

  .cta-band {
    padding: 49px 0px;
  }

  h2#cta-mid-title {
    text-align: center !important;
    line-height: 1.23;
  }

  h2#cta-mid-title br {
    display: none;
}

  .hero-box-wrap {
    bottom: -700px;
    inset-inline-start: 0;
    display: none;
  }

  .card-boxwrap {
    margin-inline-start: 0;
  }

  .hero-visual {
    margin-top: 0;
  }

  .section__inner--why,
  .cta-band__inner {
    padding: 0px 40px;
  }


  .section__inner {
    padding: 0px 40px;
  }

  .diff-list {
    width: 100%;
  }

  .hero-copy p {
    padding-inline-end: 30px;
  }

  .section.section--why {
    padding-inline: 0;
  }

  /* Single column: reading order Verified → Exclusive → Smart → Track */
  .diff-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .diff-list__col {
    display: flex;
    flex-direction: row;
}
.diff-card__media {
    flex: unset;
}

  /* .diff-card--order-1 {
    order: 1;
  }

  .diff-card--order-2 {
    order: 2;
  }

  .diff-card--order-3 {
    order: 3;
  }

  .diff-card--order-4 {
    order: 4;
  } */


  /* .diff-card--compact {
    min-height: clamp(380px, 95vw, 540px);
  }

  .diff-card--featured {
    min-height: clamp(440px, 105vw, 620px);
  } */

   .diff-list__col  article.diff-card {
    min-height: 320px;
    max-height: 100%;
    height: 410px;
    justify-content: space-between;
}

  .diff-card__media {
    min-height: 100px;
  }

  .diff-card--compact .diff-card__media img,
  .diff-card--featured .diff-card__media img {
    max-height: 150px;
  }

  .diff-card__copy p {
    margin-bottom: 7px;
    font-size: clamp(16px, 2.8vw, 18px);
  }

 .diff-card__title {
    font-size: 25px;
}
.diff-card {
    padding: 23px;
}
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-badges-row img {
    max-width: 110px;
    width: 100%;
  }

  .social-row,
  .app-badges {
    align-items: center;
  }
  .hero-copy {
    padding-bottom: 20px;
}
.testimonials-visual {
  /* max-width: 100%; */
}
}

@media (max-width: 640px) {

  .testimonials__title,
  .testimonials-lead {
    max-width: none;
  }

  /*
   * One card per viewport: slide width = track inner width − gap (set via --carousel-inner in JS).
   * 100cqi fallback when JS hasn’t run yet. Gap = breathing room so the next card never peeks.
   */
  .testimonials .carousel-track {
    container-type: inline-size;
    container-name: testimonial-carousel;
    margin-inline: 0;
  }

  .testimonials .carousel-slides {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: var(--testimonial-slide-gap, 12px);
  }

  .testimonials .slide {
    flex: 0 0 calc(var(--carousel-inner, 100cqi) - var(--testimonial-slide-gap, 12px));
    max-width: calc(var(--carousel-inner, 100cqi) - var(--testimonial-slide-gap, 12px));
    min-width: 0;
    width: auto;
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 1.125rem 1rem 1rem;
    border-radius: 14px;
  }

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

  .testimonials .slide .quote-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 0.45rem;
    line-height: 1.3;
  }

  .testimonials .slide .quote-body {
    font-size: 0.8125rem;
    margin: 0 0 0.875rem;
    line-height: 1.55;
  }

  .testimonials .slide .quote-meta {
    gap: 0.5rem 0.625rem;
    margin-top: 0;
  }

  .testimonials .slide .quote-meta__person {
    gap: 0.5rem;
    min-width: 0;
  }

  .testimonials .slide .quote-meta img.avatar {
    width: 40px;
    height: 40px;
  }

  .testimonials .slide .quote-meta .who {
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .testimonials .slide .quote-meta .stars {
    width: 72px;
    max-width: 72px;
    height: auto;
    flex-shrink: 0;
  }
 
}
@media (max-width: 576px) {
  .hero-copy {
    padding-bottom: 0px;
}
.section.section--soft {
  padding: 60px 0px;
}
.section--soft .how-grid {
  gap: 2.4rem;
}
h2#why-title {
    margin-bottom: 40px;
}
.diff-card__title {
    font-size: 21px;
}
.diff-list__col {
    flex-direction: column;
}
.diff-list__col  article.diff-card {
    min-height: 100%;
    max-height: 100%;
    height: 100%;
}
.section--soft .how-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
}
/* Mobile — overrides tablet (must follow max-width: 768px in cascade) */
@media (max-width: 480px) {
  .section.section--soft {
    padding: 45px 0px;
}
.mobile-nav {
  gap: 0.5rem;
}
.mobile-nav .lang-dropdown {
  margin-bottom: 21px;
}
a.btn.btn-join, a.btn.btn-yellow {
  padding: 11px 17px;
  font-size: 15px;
  min-height: 47px;
}

.hero-grid {
  gap: 1rem;
}
.section-title {
  margin-bottom: 29px;
}

  .diff-card--compact .diff-card__media img,
  .diff-card--featured .diff-card__media img {
    max-height: 170px;
  }

  .section-title {
    margin-bottom: 33px;
  }

  .cta-band__inner {
    padding: 0px 23px;
  }

  .section__inner--why {
    padding: 0px 23px;
  }

  .testimonials {
    padding: 43px 23px 40px 23px;
  }

  .final-cta {
    padding: 0px 23px 35px;
  }

  .hero {
    padding-bottom: 65px;
    padding-inline: 23px;
    padding-top: 110px;
}

.cta-band__title {
  font-size: 23px;
}
  h1#hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .section__inner {
    padding: 0px 23px;
  }

  h1#hero-title br {
    display: none;
  }

  .final-cta {
    padding: 0px 23px 50px;
  }

  .site-footer {
    padding: 48px 23px;
  }

  .diff-card {
    border-radius: 18px;
    padding: 22px 20px 26px;
  }

  .carousel-btn {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .carousel-btn__label {
    font-size: 1.2rem;
  }

  .testimonials .slide {
    padding: 1rem 0.875rem 0.875rem;
    border-radius: 12px;
  }

  .testimonials .slide .quote-title {
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
  }

  .testimonials .slide .quote-body {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

  .testimonials .slide .quote-meta {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem 0.5rem;
  }

  .testimonials .slide .quote-meta img.avatar {
    width: 36px;
    height: 36px;
  }

  .testimonials .slide .quote-meta .who {
    font-size: 0.75rem;
  }

  .testimonials .slide .quote-meta .stars {
    width: 64px;
    max-width: 64px;
  }

  .header-start {
    width: 60%;
    justify-content: space-between;
  }

  .header-inner {
    height: 83px;
    padding-inline: 23px;
  }
}


.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px dashed #606060;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-body);
  display: none;
}

.scroll-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.scroll-top__icon {
  display: block;
  flex-shrink: 0;
}

.scroll-top:hover {
  background: var(--color-primary-dark);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

/* colored-header */
header.site-header.colored-header {
  position: unset;
  background-color: #27AE60;
}