/* reveal — visible by default; animate only after JS opts in */
.reveal {
  opacity: 1;
  transform: none;
}

html.ef-reveal .reveal:not(.in) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1);
}

html.ef-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

html.ef-reveal .reveal.reveal-instant {
  transition: none;
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(15, 21, 18, .22);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--ink);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.page-main--home {
  min-height: auto;
  padding: 0;
  margin: 0;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(12px, 2vw, 24px) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(90% 70% at 10% -5%, var(--lime) 0%, transparent 52%),
    radial-gradient(90% 90% at 100% 105%, var(--mint-2) 0%, transparent 58%),
    linear-gradient(135deg, var(--lime) 0%, var(--lime-2) 42%, var(--mint) 100%);
}

.hero .wrap.hero-inner {
  width: 100%;
}

.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .5;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.hero .blob.b1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, .6), transparent 70%);
  top: 12%;
  right: 8%;
}

.hero .blob.b2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(127, 224, 194, .6), transparent 70%);
  bottom: 6%;
  left: 4%;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 9px 18px 9px 12px;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 24px;
}

.hero-badge .dots {
  display: flex;
  margin-right: 2px;
}

.hero-badge .dots i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--lime-2));
  border: 2px solid #fff;
  margin-left: -8px;
  font-style: normal;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
}

.hero-badge .dots i:first-child {
  margin-left: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 6.6vw, 5.2rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -.03em;
}

.hero h1 mark {
  background: linear-gradient(180deg, transparent 62%, rgba(15, 21, 18, .14) 62%);
  color: inherit;
  padding: 0 4px;
}

.hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 620px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 21, 18, .08);
  border-radius: 100px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero-mini-chip .stars {
  color: #F4B740;
  letter-spacing: 1px;
  font-size: .82rem;
}

.hero-mini-chip .chip-dot {
  opacity: .45;
}

.hero-mini-chip b,
.hero-mini-chip .highlight {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  color: var(--ink);
}

.hero-side {
  position: relative;
  height: 100%;
  min-height: 340px;
}

.fcard {
  position: absolute;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
  animation: float 7s ease-in-out infinite;
}

.fcard.c1 {
  top: 0;
  right: 0;
  width: 74%;
  z-index: 2;
}

.fcard.c2 {
  bottom: 26px;
  left: 0;
  width: 66%;
  animation-delay: -2.5s;
  z-index: 3;
}

.fcard.c3 {
  top: 44%;
  right: 8%;
  width: 52%;
  animation-delay: -4.5s;
  z-index: 1;
  background: var(--ink);
  color: #fff;
}

.fcard .lbl {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.fcard.c3 .lbl {
  color: rgba(255, 255, 255, .6);
}

.fcard .big {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1;
}

.fcard .big.accent {
  color: var(--lime);
}

.fcard .sub {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 6px;
}

.fcard .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.fcard .ic svg {
  width: 22px;
  height: 22px;
}

.fcard.c2 .head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.fcard.c2 .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  display: grid;
  place-items: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
}

.fcard.c2 .name {
  font-size: .92rem;
}

.fcard.c2 .stars {
  color: #F4B740;
  font-size: .85rem;
}

.fcard.c2 .quote {
  margin-top: 8px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* trust strip */
.trust-strip {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
}

.trust-track {
  display: inline-flex;
  animation: scroll 30s linear infinite;
}

.trust-track span {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
}

.trust-track span::after {
  content: "●";
  color: var(--lime);
  font-size: .5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 26px;
}

/* sections */
.page-main--home section:not(.hero):not(.trust-strip) {
  padding: var(--sect) 0;
}

.page-main--home .section-tight {
  padding-top: 0;
}

.page-main--home .section-band {
  padding-top: 0;
  padding-bottom: calc(var(--sect) * 0.75);
  margin-top: calc(var(--sect) * -0.25);
}

.sh {
  max-width: 820px;
  margin-bottom: 52px;
}

.sh.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sh.center .eyebrow {
  justify-content: center;
}

.sh h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 16px 0 14px;
  font-weight: 800;
  text-wrap: balance;
}

.sh p {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.12rem);
}

.eyebrow-light {
  color: var(--lime);
}

.eyebrow-light::before {
  background: var(--lime);
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}

.bx {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.bx:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.bx .ic {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  margin-bottom: auto;
}

.bx .ic svg {
  width: 26px;
  height: 26px;
}

.bx h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  margin: 20px 0 8px;
  letter-spacing: -.01em;
}

.bx p {
  color: var(--muted);
  font-size: .98rem;
}

.bx.wide {
  grid-column: span 2;
}

.bx.tall {
  grid-row: span 2;
}

.bx.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.bx.dark p {
  color: rgba(255, 255, 255, .65);
}

.bx.dark .ic {
  background: rgba(255, 255, 255, .1);
}

.bx.lime {
  background: linear-gradient(135deg, var(--lime), var(--mint));
  border-color: transparent;
}

.bx.lime .ic {
  background: rgba(255, 255, 255, .5);
}

.bx .big-stat {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1;
  margin-bottom: 6px;
}

.bx.dark .big-stat {
  color: var(--lime);
}

.bx-stat-zero .big-stat {
  margin-bottom: 4px;
}

.bx-stat-zero h3 {
  margin-top: 10px;
}

.bx-stat-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--lime);
}

.bx-stat-star {
  font-size: 1.35rem;
  line-height: 1;
}

.bx-stat-rating {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* services */
.services {
  background: var(--paper-2);
}

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

.svc {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Real link overlay (replaces invalid article[role=link]) */
.svc-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.svc-card-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: .3s;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  z-index: 0;
}

.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.svc:hover::before {
  opacity: 1;
}

.svc > *:not(.svc-card-link) {
  position: relative;
  z-index: 1;
}

.svc.feature {
  grid-column: span 2;
  background: var(--ink);
  border-color: var(--ink);
}

.svc.feature * {
  color: #fff;
}

.svc.feature:hover::before {
  opacity: 0;
}

.svc .ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.svc.feature .ic {
  background: rgba(255, 255, 255, .1);
}

.svc .ic svg {
  width: 26px;
  height: 26px;
}

.svc h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.svc p {
  color: var(--muted);
  font-size: .98rem;
  flex: 1;
}

.svc.feature p {
  color: rgba(255, 255, 255, .72);
}

.svc .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 12px;
  flex-wrap: wrap;
}

.svc .price {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.svc .arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .94rem;
}

.svc .arrow svg {
  transition: transform .25s;
}

.svc:hover .arrow svg {
  transform: translateX(5px);
}

.svc .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.svc .tags span {
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .14);
}

/* process */
.proc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proc.reveal {
  opacity: 1;
  transform: none;
}

.proc-line {
  grid-column: 1 / -1;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .75s cubic-bezier(.2, .7, .2, 1);
}

.proc.in .proc-line {
  transform: scaleX(1);
}

.pstep {
  padding: 34px 26px 34px 0;
  position: relative;
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .55s cubic-bezier(.2, .7, .2, 1),
    transform .55s cubic-bezier(.2, .7, .2, 1);
}

.proc.in .pstep {
  opacity: 1;
  transform: none;
}

.proc.in .pstep:nth-child(2) { transition-delay: .5s; }
.proc.in .pstep:nth-child(3) { transition-delay: .68s; }
.proc.in .pstep:nth-child(4) { transition-delay: .86s; }
.proc.in .pstep:nth-child(5) { transition-delay: 1.04s; }

.pstep:last-child {
  border-right: none;
  padding-right: 0;
}

.pstep:not(:first-child) {
  padding-left: 26px;
}

.pstep .n {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.pstep h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pstep p {
  color: var(--muted);
  font-size: .96rem;
}

/* stats band */
.band {
  background: radial-gradient(100% 140% at 0% 0%, var(--lime) 0%, transparent 55%), linear-gradient(120deg, var(--lime-2), var(--mint));
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px) clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.band .st {
  text-align: center;
}

.band .st b {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  display: block;
  line-height: 1;
}

.band .st span {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 10px;
  display: block;
}

/* segments */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.seg {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: .25s;
}

.seg:hover {
  border-color: var(--ink);
}

.seg .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.seg .ic svg {
  width: 24px;
  height: 24px;
}

.seg h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.seg p {
  color: var(--muted);
  font-size: .96rem;
}

/* testimonials */
.tst {
  background: var(--paper-2);
  overflow: hidden;
}

.tst-slider {
  margin-top: 8px;
}

.tst-viewport {
  overflow: hidden;
  padding-left: max(var(--page-pad-x), calc((100vw - var(--container)) / 2 + var(--page-pad-x)));
  cursor: grab;
  touch-action: pan-y;
}

.tst-viewport.is-dragging {
  cursor: grabbing;
}

.tst-track {
  display: flex;
  gap: 18px;
  will-change: transform;
}

.tcard {
  flex: 0 0 clamp(280px, 32vw, 380px);
  min-height: 280px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.tcard.big {
  flex-basis: clamp(300px, 36vw, 420px);
  background: var(--ink);
  color: #fff;
}

.tst-controls {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding-left: max(var(--page-pad-x), calc((100vw - var(--container)) / 2 + var(--page-pad-x)));
}

.tst-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, opacity .2s;
}

.tst-btn:hover:not(:disabled) {
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}

.tst-btn:disabled {
  opacity: .35;
  cursor: default;
}

.tcard .stars {
  color: #F4B740;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.tcard p {
  flex: 1;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.tcard.big p {
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.5;
  letter-spacing: -.01em;
}

.tcard .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.tcard .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  display: grid;
  place-items: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  flex: none;
}

.tcard.big .av {
  background: var(--lime);
}

.tcard .who b {
  font-size: .96rem;
}

.tcard .who small {
  display: block;
  color: var(--muted);
  font-size: .84rem;
}

.tcard.big .who small {
  color: rgba(255, 255, 255, .6);
}

/* guarantee */
.guarantee {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.guarantee::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 243, 92, .16), transparent 65%);
}

.guarantee-seal-wrap {
  display: grid;
  place-items: center;
}

.guarantee .g-seal {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.guarantee h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin: 14px 0;
  position: relative;
  z-index: 2;
}

.guarantee p {
  color: rgba(255, 255, 255, .7);
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.guarantee .eyebrow,
.guarantee .eyebrow-light {
  color: var(--lime);
  position: relative;
  z-index: 2;
}

.guarantee .eyebrow::before,
.guarantee .eyebrow-light::before {
  background: var(--lime);
}

.g-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.g-list div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.g-list .ck {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  flex: none;
}

.g-list .ck svg {
  width: 15px;
  height: 15px;
}

/* faq */
.faq {
  background: var(--paper-2);
}

.faq-list {
  max-width: 840px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.q {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}

.q.open {
  border-color: var(--ink);
}

.q button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 26px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.08rem);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.q .ic {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  transition: .25s;
}

.q.open .ic {
  background: var(--lime);
  transform: rotate(45deg);
}

.q .ic::before {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
}

.q .ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s;
}

.q .ans p {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* final cta */
.final {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 130% at 100% 0%, var(--mint-2) 0%, transparent 55%), linear-gradient(135deg, var(--lime), var(--lime-2) 45%, var(--mint));
  border-radius: var(--radius-lg);
  padding: clamp(56px, 8vw, 110px) clamp(30px, 5vw, 72px);
  text-align: center;
}

.final .eyebrow {
  justify-content: center;
}

.final h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 920px;
  margin: 16px auto 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.final p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.5vw, 1.14rem);
  font-weight: 500;
}

.final-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-direct {
  margin-top: 22px;
  text-align: center;
}

.final-direct [data-messenger-links] {
  display: flex;
  justify-content: center;
}

.final .final-direct-text {
  max-width: none;
  margin: 0 auto 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* home blog */
.home-blog {
  background: var(--paper-2);
}

/* Category chips are not shown on the home news widget */
.home-blog .blog-cats-scroll {
  display: none;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-archive-grid {
  margin-bottom: 8px;
}

.home-post {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  /* Єдиний easing: reveal і hover не б’ються між собою */
  transition:
    opacity .55s cubic-bezier(.2, .7, .2, 1),
    transform .55s cubic-bezier(.2, .7, .2, 1),
    box-shadow .35s ease,
    background .4s ease,
    border-color .35s ease;
}

.home-post::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
  background: linear-gradient(135deg, var(--lime), var(--mint));
  z-index: 0;
  pointer-events: none;
}

.home-post > * {
  position: relative;
  z-index: 1;
}

/* Після появи — однакове плавне підняття для всіх карток */
.home-post.reveal.in,
.home-post:not(.reveal) {
  transition:
    transform .35s cubic-bezier(.22, .61, .36, 1),
    box-shadow .35s ease,
    background .4s ease,
    border-color .35s ease,
    opacity .35s ease;
}

.home-post:hover,
.home-post:focus-visible,
.home-post:active {
  transform: translate3d(0, -6px, 0);
  box-shadow: var(--shadow);
  border-color: transparent;
  outline: none;
}

.home-post:hover::before,
.home-post:focus-visible::before,
.home-post:active::before {
  opacity: 1;
}

.home-post:active {
  transform: translate3d(0, -2px, 0);
}

.home-post:hover > span,
.home-post:focus-visible > span,
.home-post:active > span,
.home-post:hover p,
.home-post:focus-visible p,
.home-post:active p {
  color: var(--ink-soft);
}

.home-post > span {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  transition: color .25s ease;
}

.home-post h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin: 20px 0 14px;
}

.home-post p {
  color: var(--muted);
  flex: 1;
  transition: color .25s ease;
}

.home-post b {
  margin-top: 22px;
  font-weight: 700;
  font-size: .94rem;
}

.home-post.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.home-post.dark p,
.home-post.dark > span {
  color: rgba(255, 255, 255, .6);
}

.home-post.dark:hover,
.home-post.dark:focus-visible,
.home-post.dark:active {
  transform: translate3d(0, -6px, 0);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.home-post.dark:hover::before,
.home-post.dark:focus-visible::before,
.home-post.dark:active::before {
  opacity: 0;
}

.home-post.dark:hover > span,
.home-post.dark:focus-visible > span,
.home-post.dark:active > span,
.home-post.dark:hover p,
.home-post.dark:focus-visible p,
.home-post.dark:active p {
  color: rgba(255, 255, 255, .6);
}

@media (prefers-reduced-motion: reduce) {
  .home-post,
  .home-post.reveal.in,
  .home-post:not(.reveal),
  .home-post:hover,
  .home-post.dark:hover {
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: auto;
    display: block;
    padding: clamp(32px, 7vw, 52px) 0 clamp(44px, 9vw, 68px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-side {
    min-height: 300px;
    order: 2;
  }

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

  .bx.wide,
  .bx.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .svc-grid,
  .seg-grid,
  .home-blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc.feature {
    grid-column: span 2;
  }

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

  .pstep {
    border-right: none;
    border-top: none;
    padding: 28px 0;
  }

  .pstep:nth-child(odd) {
    padding-right: 20px;
  }

  .pstep:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }

  .band {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .guarantee {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .guarantee .g-seal {
    margin: 0 auto;
  }

  .guarantee .eyebrow,
  .guarantee .eyebrow-light {
    justify-content: center;
  }

  .g-list div {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .bento,
  .svc-grid,
  .seg-grid,
  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .svc.feature {
    grid-column: span 1;
  }

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

  .pstep {
    padding: 26px 0 !important;
    border-left: none !important;
  }

  .tcard,
  .tcard.big {
    flex-basis: min(86vw, 340px);
  }

  .band {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .hero-cta .btn,
  .final-cta .btn {
    width: 100%;
  }

  .hero {
    padding: 0 0 clamp(24px, 5vw, 36px);
  }

  .hero-inner {
    gap: 0;
  }

  .hero-inner > div:first-child {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(12px, 3vw, 20px) 0;
  }

  .hero-badge {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 16px;
    font-size: .82rem;
    padding: 8px 14px 8px 10px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 11.2vw, 3.15rem);
    line-height: 1.06;
    margin-bottom: 16px;
    letter-spacing: -.035em;
  }

  .hero .lead {
    font-size: clamp(1.02rem, 4.1vw, 1.1rem);
    line-height: 1.45;
    max-width: none;
    margin-bottom: 20px;
  }

  .hero-cta {
    gap: 10px;
    margin-bottom: 16px;
  }

  .hero-cta .btn {
    font-size: 1rem;
    min-height: 52px;
  }

  .hero-mini {
    align-self: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .hero-mini-chip {
    width: auto;
    max-width: 100%;
    justify-content: center;
    font-size: .93rem;
    padding: 11px 16px;
    white-space: nowrap;
  }

  .hero-mini-chip .stars {
    font-size: .88rem;
  }

  .fcard.c1,
  .fcard.c2,
  .fcard.c3 {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-bottom: 14px;
    animation: none;
  }

  .hero-side {
    min-height: auto;
    margin-top: clamp(20px, 5vw, 32px);
  }

  .sh {
    margin-bottom: 36px;
  }

  .q button {
    padding: 20px 18px;
  }

  .q .ans p {
    padding: 0 18px 20px;
  }

  .trust-strip {
    padding: 22px 0;
  }
}

@media (max-width: 620px) and (max-height: 780px) {
  .hero-inner > div:first-child {
    padding: 10px 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10vw, 2.85rem);
    margin-bottom: 14px;
  }

  .hero .lead {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .hero-cta {
    margin-bottom: 14px;
  }

  .hero-cta .btn {
    min-height: 48px;
  }

  .hero-mini-chip {
    padding: 10px 14px;
    font-size: .88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .proc-line,
  .proc.in .pstep {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tst-track {
    transition: none !important;
  }

  .hero .blob,
  .fcard {
    animation: none !important;
  }
}
