:root {
  --primary: #1bacaa;
  --dark: #0f172a;
  --muted: #475569;
  --bg: #f7fafc;
  --white: #fff;
  --gradient: linear-gradient(135deg, #1bacaa 0%, #0f172a 100%);
  --shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--dark)
}

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

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

/* Scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: var(--primary);
  z-index: 9999;
  transition: width .1s ease
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(8px);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}

.nav .brand {
  font-weight: 700;
  letter-spacing: .3px
}

.nav .links {
  display: flex;
  gap: 16px;
  align-items: center
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(226, 232, 240, .3);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #e2e8f0;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn-ghost {
  border: 1px solid #334155;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600
}

.btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer
}

.btn-cta:hover {
  filter: brightness(1.05)
}

/* Hero */
header.hero {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 86px 18px 64px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 10px;
  line-height: 1.15
}

.hero p.sub {
  max-width: 760px;
  margin: 0 auto 22px;
  opacity: .95
}

.hero .cta-wrap {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.chip-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px
}

.chip-logo {
  height: 120px;
  margin-bottom: 30px;
  width: auto;
  display: block
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: .95rem;
}

/* Sections */
section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 18px
}

h2.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px
}

p.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto 38px
}

.eyebrow {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--primary);
  margin: 0 0 10px
}

/* Generic cards grid */
.grid {
  display: grid;
  gap: 18px
}

@media(min-width:900px) {
  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav .links {
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 12px 0 4px;
  }
  .nav .links.open {
    display: flex;
  }
  .nav .links .btn-cta,
  .nav .links .btn-ghost {
    width: 100%;
    text-align: center;
  }
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

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

.card h3 {
  color: var(--primary);
  margin-top: 0
}

/* Testimonials */
.testi {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto
}

.testi-track {
  display: flex;
  transition: transform .45s ease;
  width: 100%
}

.testi .card {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box
}

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer
}

.dot.active {
  background: var(--primary)
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--muted);
  padding-right: 18px
}

/* Form */
.form-wrap {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px;
  max-width: 760px;
  margin: 0 auto
}

.row {
  display: grid;
  gap: 14px
}

@media(min-width:720px) {
  .row.cols-2 {
    grid-template-columns: 1fr 1fr
  }
}

label {
  font-weight: 600;
  font-size: .95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem
}

textarea {
  resize: vertical;
  min-height: 108px
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: #334155;
  margin-bottom: 20px;
  margin-top: 20px;
}

.consent input[type="checkbox"] {
  width: auto;
  margin-top: 4px
}

.btn-submit {
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer
}

.btn-submit:hover {
  background: #12203d
}

.form-note {
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px
}

.alert {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600
}

.alert.ok {
  background: #ecfdf5;
  color: #065f46
}

.alert.err {
  background: #fef2f2;
  color: #991b1b
}

footer {
  background: #0b1224;
  color: #cbd5e1;
  padding: 38px 18px;
  text-align: center;
  margin-top: 42px
}

footer .mini {
  opacity: .75;
  font-size: .9rem
}

.endorsements {
  background: #e6f6f6;
  padding: 48px 18px
}

.info-banner {
  background: linear-gradient(135deg, #0f172a, #112745);
  color: #e2e8f0;
  border-radius: 26px;
  margin: 0 auto 42px;
  max-width: 1120px;
  padding: 36px 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .25)
}

.info-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.info-headline {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.info-desc {
  margin: 0;
  opacity: .9
}

.info-link {
  display: inline-flex;
  justify-content: center;
  align-self: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: #38e4c2;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  margin-top: 6px;
  box-shadow: 0 12px 25px rgba(56, 228, 194, .35);
}

.endorsements-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center
}

.endorsements-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 14px
}

.endorsement-card {
  border: 1px solid #bfe2e2;
  background: #fff;
  border-radius: 18px;
  padding: 16px 24px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08)
}

.endorsement-card img {
  max-width: 150px;
  height: auto;
  display: block
}

.endorsement-card span {
  font-weight: 600;
  color: #0f172a
}

/* Sticky CTA mobile */
.sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding: 12px;
  z-index: 998;
  box-shadow: var(--shadow)
}

@media(min-width:900px) {
  .sticky-cta {
    display: none
  }
}

/* WhatsApp */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 998
}

.wa img {
  width: 50px;
  height: 50px;
}

/* Exit intent modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000
}

.modal .box {
  background: #fff;
  border-radius: 18px;
  max-width: 560px;
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: center
}

.modal .box h3 {
  margin-top: 0
}

.modal .actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px
}

.btn-outline {
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer
}

/* ===== HOW IT WORKS (fade + same heights) ===== */
#process {
  --band: #f1f5f9;
  --stepH: 320px;
}

@media (max-width:820px) {
  #process {
    --stepH: 220px;
  }
}

#process .steps-alt {
  display: flex;
  flex-direction: column;
  gap: 38px
}

#process .step-row {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: stretch;
  grid-template-columns: 1.15fr .85fr;
}

#process .step-row::before {
  content: "";
  position: absolute;
  inset: -22px -28px;
  background: var(--band);
  border-radius: 18px;
  z-index: -1;
}

#process .step-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #e6eef1;
  box-shadow: 0 10px 26px rgba(10, 22, 35, 0.06);
  min-height: var(--stepH);
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto;
  overflow: hidden;
}

#process .step-num {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  color: #0b7d8a;
  background: linear-gradient(180deg, #eaf8fb 0%, #ffffff 100%);
  border-right: 1px dotted #cfe1e6;
}

#process .step-card h3 {
  padding-top: 40px;
  grid-column: 2 / 2;
  margin: 12px 24px 6px;
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.1;
  color: #0f1e33;
  font-weight: 800;
}

#process .step-card p {
  grid-column: 2 / 3;
  margin: 0 24px 24px;
  align-self: start;
  color: #5b6b7c;
  font-size: 1.05rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  #process .step-card {
    grid-template-columns: 120px 1fr;
  }
}

#process .step-media {
  height: var(--stepH);
  background: #fff;
  border: 1.5px solid #cbd5e1;
  overflow: hidden;
  position: relative;
  border-radius: 24px 0 0 24px;
}

#process .step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* Capsule corners + fade masks */
#process .media-right {
  border-radius: 24px 0 0 24px;
  -webkit-mask-image: linear-gradient(to right, #000 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, #000 60%, rgba(0, 0, 0, 0) 100%);
}

#process .media-left {
  border-radius: 24px 0 0 24px;
  -webkit-mask-image: linear-gradient(to left, #000 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, #000 60%, rgba(0, 0, 0, 0) 100%);
}

#process .media-opposite {
  border-radius: 0 24px 24px 0;
  -webkit-mask-image: linear-gradient(to left, #000 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, #000 60%, rgba(0, 0, 0, 0) 100%);
}

/* Overlay fallback when mask unsupported */
#process .step-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, transparent 60%, var(--band) 98%);
  opacity: .85;
}

#process .step-row.reverse .step-media::after {
  background: linear-gradient(to left, transparent 60%, var(--band) 98%);
}

@supports (-webkit-mask-image:linear-gradient(#000, transparent)) or (mask-image:linear-gradient(#000, transparent)) {
  #process .step-media::after {
    display: none
  }
}

/* Reverse row */
#process .step-row.reverse {
  grid-template-columns: .85fr 1.15fr
}

#process .step-row.reverse .step-card {
  grid-column: 2
}

#process .step-row.reverse .step-media {
  grid-column: 1
}

/* Responsive */
@media (max-width:820px) {

  #process .step-row,
  #process .step-row.reverse {
    grid-template-columns: 1fr;
    gap: 14px
  }

  #process .step-row::before {
    inset: -12px -12px
  }

  #process .media-right,
  #process .media-left {
    border-radius: 18px
  }
}
