/* ============================================
   INVITARA — LANDING PAGE
   Mobile-First · Soft Romantic Palette
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #faf7f4;
  --bg-2: #f4ede8;
  --bg-card: #ffffff;
  --bg-dark: #2e2320;

  --rose: #c4776a;
  --rose-light: #e8a89d;
  --rose-dim: #d4918a;
  --rose-pale: #f5e4e1;

  --sage: #7a9e8e;
  --sage-light: #a8c4b8;
  --sage-pale: #e4f0eb;

  --clay: #8a5e52;
  --clay-light: #b08880;

  --ink: #2e2320;
  --ink-mid: #5a3f38;
  --ink-dim: #9a7e78;
  --cream: #faf7f4;
  --white: #ffffff;

  --border: rgba(196, 119, 106, 0.15);
  --border-card: rgba(0, 0, 0, 0.07);
  --shadow: 0 8px 40px rgba(46, 35, 32, 0.1);
  --shadow-card: 0 2px 16px rgba(46, 35, 32, 0.08);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-script: 'Playfair Display', serif;

  --radius: 12px;
  --radius-lg: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ░░ NOISE TEXTURE ░░ */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ░░ CONTAINER ░░ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ░░ BUTTONS ░░ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--gold {
  background: var(--rose);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(196, 119, 106, 0.3);
}

.btn--gold:hover {
  background: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 119, 106, 0.35);
}

.btn--outline {
  border: 1.5px solid rgba(122, 158, 142, 0.4);
  color: var(--sage);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--sage);
  background: var(--sage-pale);
  color: var(--sage);
}

.btn--ghost {
  color: var(--rose);
  border: 1.5px solid var(--border);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--rose-pale);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ░░ NAVBAR ░░ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(250, 247, 244, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  padding: 12px 20px;
  box-shadow: 0 2px 20px rgba(46, 35, 32, 0.06);
}

.nav__logo-script {
  font-family: var(--font-script);
  font-size: 24px;
  font-style: italic;
  color: var(--rose);
}

/* ░░ HERO ░░ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 20px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.hero__orb--1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(232, 168, 157, 0.35), transparent 70%);
  top: -80px;
  right: -100px;
  animation: float1 9s ease-in-out infinite;
}

.hero__orb--2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(168, 196, 184, 0.28), transparent 70%);
  bottom: 20px;
  left: -80px;
  animation: float2 11s ease-in-out infinite;
}

.hero__orb--3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(196, 119, 106, 0.15), transparent 70%);
  top: 50%;
  left: 40%;
  animation: float1 13s ease-in-out infinite reverse;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-16px, 20px) scale(1.08);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, -14px) scale(1.06);
  }
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 119, 106, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 119, 106, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 40% 40%, black 20%, transparent 70%);
}

.hero__deco {
  position: absolute;
  right: -20px;
  top: 80px;
  width: 280px;
  height: 280px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rose-light);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 10vw, 76px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero__title em {
  font-style: italic;
  color: var(--rose);
}

.hero__sub {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--rose);
  line-height: 1;
}

.stat__label {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.stat__divider {
  width: 1px;
  height: 36px;
  background: rgba(196, 119, 106, 0.2);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--rose-light), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ░░ REVEAL ANIMATIONS ░░ */
.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

.reveal--delay-4 {
  transition-delay: 0.4s;
}

.reveal.visible,
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ░░ SECTION ░░ */
.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--bg-2);
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section__eyebrow::before,
.section__eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--rose-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section__title em {
  font-style: italic;
  color: var(--rose);
}

.section__sub {
  font-size: 14px;
  color: var(--ink-mid);
  max-width: 420px;
  margin: 0 auto;
}

/* ░░ TABS ░░ */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border-card);
  background: var(--white);
  color: var(--ink-mid);
  transition: all 0.25s var(--ease-out);
  box-shadow: var(--shadow-card);
}

.tab:hover {
  border-color: var(--rose-light);
  color: var(--rose);
}

.tab--active {
  background: var(--rose);
  color: #fff !important;
  border-color: var(--rose);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(196, 119, 106, 0.25);
}

.tab--active a {
  color: #fff !important;
}

/* ░░ TEMPLATE GRID ░░ */
.template-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  animation: fadeIn 0.4s var(--ease-out);
}

.template-grid.active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ░░ CARD ░░ */
.card {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--rose-light);
  box-shadow: 0 16px 40px rgba(196, 119, 106, 0.15);
}

.card__img {
  position: relative;
  height: 155px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(250, 247, 244, 0.5));
}

.card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(232, 168, 157, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 75%, rgba(168, 196, 184, 0.2) 0%, transparent 50%);
}

/* Soft palette backgrounds per card */
.card__img--1 {
  background: linear-gradient(145deg, #f5e4e1, #e8c4bf);
}

.card__img--2 {
  background: linear-gradient(145deg, #e4f0eb, #c4ddd5);
}

.card__img--3 {
  background: linear-gradient(145deg, #f0e8f4, #d8c4e4);
}

.card__img--4 {
  background: linear-gradient(145deg, #fdf0e0, #f5d8b4);
}

.card__img--5 {
  background: linear-gradient(145deg, #e0e8f8, #c4d4ec);
}

.card__img--6 {
  background: linear-gradient(145deg, #f8f0e0, #ecdcc4);
}

.card__img--7 {
  background: linear-gradient(145deg, #fce8e8, #f0c0c0);
}

.card__img--8 {
  background: linear-gradient(145deg, #f4ede0, #e4d0b4);
}

.card__img--9 {
  background: linear-gradient(145deg, #e8f4ec, #c4e4cc);
}

.card__img--10 {
  background: linear-gradient(145deg, #ede8f8, #ccc0ec);
}

.card__img--11 {
  background: linear-gradient(145deg, #f8e8f0, #ecc0d8);
}

.card__img--12 {
  background: linear-gradient(145deg, #f0f0f0, #dcdcdc);
}

.card__img--13 {
  background: linear-gradient(145deg, #e8eef8, #c4d0e8);
}

.card__img--1::after,
.card__img--5::after {
  background:
    linear-gradient(to bottom, transparent 50%, rgba(250, 247, 244, 0.5)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.5) 0%, transparent 40%);
}

.card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card__badge--new {
  background: var(--sage);
}

.card__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 119, 106, 0.12);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .card__overlay {
  opacity: 1;
}

.card__demo-btn {
  padding: 9px 18px;
  border-radius: 50px;
  background: #fff;
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--rose-light);
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 16px rgba(196, 119, 106, 0.2);
}

.card__demo-btn:hover {
  transform: scale(1.04);
  background: var(--rose-pale);
}

.card__body {
  padding: 14px 16px;
}

.card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.card__style {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__price {
  font-size: 11px;
  color: var(--ink-mid);
}

.card__order {
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--rose-pale);
  border: 1px solid rgba(196, 119, 106, 0.25);
  color: var(--rose);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
}

.card__order:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

/* ░░ STEPS ░░ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.step:hover {
  border-color: var(--rose-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(196, 119, 106, 0.12);
}

.step__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(196, 119, 106, 0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.step__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
}

.step__arrow {
  text-align: center;
  font-size: 18px;
  color: var(--rose-light);
  transform: rotate(90deg);
  padding: 4px 0;
}

/* ░░ FEATURES ░░ */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.feature:hover {
  border-color: var(--sage-light);
  transform: translateY(-3px);
}

.feature__icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.feature__desc {
  font-size: 12px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ░░ TESTIMONIALS ░░ */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.testi::before {
  content: '"';
  position: absolute;
  top: -8px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 110px;
  color: rgba(196, 119, 106, 0.07);
  line-height: 1;
  pointer-events: none;
}

.testi__stars {
  color: var(--rose);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testi__text {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 18px;
}

.testi__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-pale), var(--rose-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--rose);
  flex-shrink: 0;
}

.testi__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.testi__event {
  font-size: 11px;
  color: var(--rose-dim);
}

/* ░░ ORDER SECTION ░░ */
.order-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.order-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.order-box {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  padding: 60px 24px;
  background: var(--white);
  border: 1px solid rgba(196, 119, 106, 0.15);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(196, 119, 106, 0.12);
}

.order-box__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 7vw, 48px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}

.order-box__title em {
  font-style: italic;
  color: var(--rose);
}

.order-box__sub {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 32px;
}

.order-box__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
}

.order-box .section__eyebrow {
  justify-content: center;
}

/* ░░ FOOTER ░░ */
.footer {
  border-top: 1px solid var(--border-card);
  padding: 40px 0 24px;
  background: var(--bg);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

.footer__brand p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-dim);
  max-width: 240px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__links a {
  font-size: 13px;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--rose);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border-card);
  font-size: 11px;
  color: var(--ink-dim);
}

/* ══════════════════════════════════
   TABLET 640px+
══════════════════════════════════ */
@media (min-width: 640px) {
  .nav {
    padding: 20px 32px;
  }

  .nav.scrolled {
    padding: 13px 32px;
  }

  .hero {
    padding: 120px 32px 100px;
  }

  .template-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .card__img {
    height: 175px;
  }

  .steps {
    flex-direction: row;
    align-items: flex-start;
  }

  .step__arrow {
    transform: rotate(0);
    padding: 56px 0 0;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .testi:last-child {
    grid-column: 1 / -1;
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ══════════════════════════════════
   DESKTOP 900px+
══════════════════════════════════ */
@media (min-width: 900px) {
  .nav {
    padding: 24px 48px;
  }

  .hero {
    padding: 140px 48px 100px;
  }

  .container {
    padding: 0 32px;
  }

  .section {
    padding: 100px 0;
  }

  .template-grid {
    gap: 24px;
  }

  .card__img {
    height: 195px;
  }

  .steps {
    gap: 24px;
  }

  .step {
    padding: 32px 28px;
  }

  .features {
    gap: 20px;
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  .testi:last-child {
    grid-column: auto;
  }

  .hero__deco {
    right: 0;
    width: 360px;
    height: 360px;
  }
}

/* ░░ TESTIMONI CAROUSEL (mode dinamis) ░░ */
.testi-carousel-wrap {
  position: relative;
}

.testi-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 14px 4px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testi-carousel::-webkit-scrollbar {
  display: none;
}

.testi-carousel .testi {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testi-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--white);
  color: var(--rose);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
}

.testi-nav__btn:hover {
  background: var(--rose-pale);
  border-color: var(--rose-light);
}

.testi-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (min-width: 600px) {
  .testi-carousel .testi {
    flex: 0 0 340px;
  }
}

@media (min-width: 900px) {
  .testi-carousel .testi {
    flex: 0 0 380px;
  }
}

.testi-carousel {
  scroll-behavior: smooth;
}

/* Saat auto-scroll jalan, beri sedikit fade di tepi kiri-kanan biar smooth */
.testi-carousel-wrap {
  position: relative;
}

.testi-carousel-wrap::before,
.testi-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  /* lebih sempit dari 40px sebelumnya */
  z-index: 2;
  pointer-events: none;
}

.testi-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-2), transparent);
}

.testi-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-2), transparent);
}

/* Mobile: gradient lebih tipis lagi supaya tidak menutupi kartu */
@media (max-width: 599px) {

  .testi-carousel-wrap::before,
  .testi-carousel-wrap::after {
    width: 10px;
  }
}

/* ░░ SEARCH ░░ */
.search-wrap {
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 400px;
  margin: 0 auto 10px;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--ink-dim);
  pointer-events: none;
  flex-shrink: 0;
}

#searchKatalog {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border-radius: 50px;
  border: 1.5px solid var(--border-card);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}

#searchKatalog:focus {
  border-color: var(--rose-light);
  box-shadow: 0 0 0 3px rgba(196, 119, 106, 0.1);
}

#searchKatalog::placeholder {
  color: var(--ink-dim);
}

.search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--ink-dim);
  cursor: pointer;
  font-size: 13px;
  display: none;
  padding: 0;
  line-height: 1;
}

.search-result-info {
  text-align: center;
  font-size: 13px;
  color: var(--ink-dim);
  min-height: 20px;
}

.card--hidden {
  display: none !important;
}

/* ░░ FAQ ░░ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--rose-light);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  line-height: 1.5;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--rose);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out), background 0.2s;
  line-height: 1;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--rose);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin: 0;
}

/* ░░ PAYMENT LOGOS ░░ */
.payment-section {
  padding: 48px 0;
}

.payment-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 20px;
}

.payment-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.payment-logo-item {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 8px 14px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, transform 0.2s;
}

.payment-logo-item:hover {
  border-color: var(--rose-light);
  transform: translateY(-2px);
}

.payment-logo-item img {
  height: 24px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Grayscale default, warna saat hover — opsional tapi elegan */
  filter: grayscale(30%);
  transition: filter 0.2s;
}

.payment-logo-item:hover img {
  filter: grayscale(0%);
}

.payment-note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-dim);
}