/* ── Base ── */
:root {
  --green: #235541;
  --deep-green: #3e5e28;
  --brown: #9e7a68;
  --terra: #c65d3b;
  --gold: #f7a21b;
  --red: #c81f32;
  --cream: #f4efda;
  --offwhite: #f8f5ed;
  --dark: #2b2b2b;
  --divider: #e8e3d6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--offwhite);
  color: var(--dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Fraunces', Georgia, serif;
}

/* ── Navbar ── */
.am-navbar {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  padding: 0.75rem 0;
}

.am-navbar .navbar-brand span {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  color: var(--green);
  font-size: 1.35rem;
}

.am-navbar .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
  padding: 0.5rem 0.75rem;
}

.am-navbar .nav-link.active {
}

.am-navbar .nav-link:hover {
  color: var(--red);
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  font-size: 1rem;
}

.btn-buy-now {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-buy-now:hover {
  background: #9e2d08;
  color: #fff;
  transform: translateY(-1px);
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  border: 1px solid var(--divider);
  background: transparent;
  color: #777;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.lang-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ── Hero Slider ── */
#heroCarousel {
  position: relative;
}

.hero-slide {
  height: 92svh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Hero layer system ── */
.hero-layer-back {
  /* faded bg texture, slowest drift */
                position: absolute;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 1;
}

.hero-layer-main {
  /* product shot, medium drift */
                position: absolute;
  will-change: transform;
  transition: transform 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 2;
}

.hero-float {
  /* floating ingredient chips, fastest drift */
                position: absolute;
  will-change: transform;
  transition: transform 0.09s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 3;
  object-fit: cover;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.55));
}

/* ── Hero float & product animations (translate & rotate compose
independently with JS transform parallax — no conflict) ── */
@keyframes am-bob {
  0%,
  100% {
    translate: 0 0px;
  }

  50% {
    translate: 0 -28px;
  }
}

@keyframes am-spin {
  0% {
    rotate: 0deg;
  }

  50% {
    rotate: 14deg;
  }

  100% {
    rotate: 0deg;
  }
}

@keyframes am-bob-alt {
  0%,
  100% {
    translate: 0 0px;
  }

  50% {
    translate: 0 -36px;
  }
}

@keyframes am-spin-alt {
  0% {
    rotate: 0deg;
  }

  50% {
    rotate: -16deg;
  }

  100% {
    rotate: 0deg;
  }
}

@keyframes am-bob-product {
  0%,
  100% {
    translate: 0 0px;
  }

  50% {
    translate: 0 -22px;
  }
}

@keyframes am-spin-product {
  0% {
    rotate: 0deg;
  }

  50% {
    rotate: 4deg;
  }

  100% {
    rotate: 0deg;
  }
}

/* ── Orbit stage: product centered + 3 ingredients orbiting ── */
.hero-orbit-stage {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

/* Decorative orbit rings (dashed circles) */
.orbit-ring-deco {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.orbit-ring-deco.r1 {
  width: 540px;
  height: 540px;
}

.orbit-ring-deco.r2 {
  width: 420px;
  height: 420px;
}

.orbit-ring-deco.r3 {
  width: 300px;
  height: 300px;
}

.orbit-product {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  max-width: 380px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 30px 64px rgba(0, 0, 0, 0.55));
  animation: am-bob-product 8s ease-in-out infinite, am-spin-product 14s ease-in-out infinite;
  z-index: 3;
}

.orbit-product.heritage {
  width: 78%;
  max-width: 430px;
  height: 78%;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem 2rem 0 2rem;
}

.orbit-item {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 140px);
  height: var(--size, 140px);
  margin-left: calc(var(--size, 140px) / -2);
  margin-top: calc(var(--size, 140px) / -2);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  transform-origin: center center;
  z-index: 4;
}

/* Each ring spins continuously; ingredient counter-rotates so it stays upright */
@keyframes orbit-1 {
  from {
    transform: rotate(0deg) translateX(270px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(270px) rotate(-360deg);
  }
}

@keyframes orbit-2 {
  from {
    transform: rotate(135deg) translateX(210px) rotate(-135deg);
  }

  to {
    transform: rotate(495deg) translateX(210px) rotate(-495deg);
  }
}

@keyframes orbit-3 {
  from {
    transform: rotate(245deg) translateX(150px) rotate(-245deg);
  }

  to {
    transform: rotate(605deg) translateX(150px) rotate(-605deg);
  }
}

.orbit-1 {
  animation: orbit-1 26s linear infinite;
}

.orbit-2 {
  animation: orbit-2 32s linear infinite reverse;
}

.orbit-3 {
  animation: orbit-3 18s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-1,
  .orbit-2,
  .orbit-3,
  .orbit-product {
    animation: none !important;
  }
}

/* Mobile: shrink orbit radii so ingredients stay inside the stage */
@media (max-width: 767.98px) {
  .orbit-ring-deco.r1 {
    width: 340px;
    height: 340px;
  }

  .orbit-ring-deco.r2 {
    width: 260px;
    height: 260px;
  }

  .orbit-ring-deco.r3 {
    width: 190px;
    height: 190px;
  }

  @keyframes orbit-1 {
    from {
      transform: rotate(0deg) translateX(170px) rotate(0deg);
    }

    to {
      transform: rotate(360deg) translateX(170px) rotate(-360deg);
    }
  }

  @keyframes orbit-2 {
    from {
      transform: rotate(135deg) translateX(130px) rotate(-135deg);
    }

    to {
      transform: rotate(495deg) translateX(130px) rotate(-495deg);
    }
  }

  @keyframes orbit-3 {
    from {
      transform: rotate(245deg) translateX(95px) rotate(-245deg);
    }

    to {
      transform: rotate(605deg) translateX(95px) rotate(-605deg);
    }
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Mirror Bootstrap container left edge at each breakpoint */
@media (min-width: 992px) {
  .hero-content {
    padding-left: calc((100vw - 960px) / 2 + 1.5rem);
  }
}

@media (min-width: 1200px) {
  .hero-content {
    padding-left: calc((100vw - 1140px) / 2 + 1.5rem);
  }
}

@media (min-width: 1400px) {
  .hero-content {
    padding-left: calc((100vw - 1320px) / 2 + 1.5rem);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.hero-title .accent {
  color: #f7a21b;
}

.hero-title .accent-brown {
  color: #f7a21b;
}

.hero-title .accent-terra {
  color: #f7a21b;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.btn-hero-primary {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  transition: all 0.2s;
  box-shadow: 0 6px 24px rgba(200, 58, 12, 0.35);
}

.btn-hero-primary:hover {
  background: #9e2d08;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 58, 12, 0.4);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  backdrop-filter: blur(6px);
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: background 0.2s;
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev {
  left: 1.5rem;
}

.carousel-control-next {
  right: 1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.32);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

/* Dot indicators */
.carousel-indicators {
  bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  margin: 0 4px;
  transition: 0.3s;
  background-clip: content-box;
  padding: 15px;
}

.carousel-indicators .active {
  background: #fff;
  width: 30px;
  border-radius: 999px;
}

/* Slide counter */
.slide-counter {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: 0.04em;
}

/* Progress bar */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 10;
  animation: slideProgress 6s linear infinite;
  width: 0%;
}

@keyframes slideProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* ── Marquee ── */
.marquee-wrap {
  background: var(--green);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-rtl 30s linear infinite;
}

.marquee-track span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 2.5rem;
}

@keyframes marquee-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Section headings ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  color: var(--dark);
}

/* ── Category cards ── */
.cat-card {
  border: 1px solid var(--divider);
  border-radius: 20px;
  padding: 1.75rem;
  background: #fff;
  transition: all 0.25s;
  cursor: pointer;
  height: 100%;
}

.cat-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(79, 122, 90, 0.12);
  transform: translateY(-3px);
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}

.cat-card:hover .cat-icon {
  transform: scale(1.1);
}

.cat-card h5 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.cat-card p {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.cat-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cat-link i {
  transition: transform 0.2s;
}

.cat-card:hover .cat-link i {
  transform: translateX(4px);
}

/* ── Trust section ── */
.trust-section {
  background: var(--cream);
}

.trust-img-wrap {
  position: relative;
}

.trust-img-wrap img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/3;
}

.trust-badge-years {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.trust-badge-years .num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.trust-badge-years .label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  max-width: 120px;
}

.trust-badge-cert {
  position: absolute;
  top: -14px;
  left: -14px;
  background: var(--green);
  color: #fff;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  box-shadow: 0 4px 16px rgba(47, 79, 58, 0.25);
}

.trust-badge-cert .cert-sub {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-badge-cert .cert-main {
  font-size: 0.88rem;
  font-weight: 700;
}

/* Trust point cards */
.trust-point {
  border-radius: 18px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: box-shadow 0.2s;
}

.trust-point:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.trust-point .tp-num {
  position: absolute;
  top: 6px;
  right: 12px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  opacity: 0.15;
  user-select: none;
}

.trust-point .tp-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.trust-point h3,
.trust-point h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  padding-right: 2rem;
  line-height: 1.3;
}

.trust-point p {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.55;
  margin: 0;
}

.tp-1 {
  background: rgba(79, 122, 90, 0.08);
  border-color: rgba(79, 122, 90, 0.18);
}

.tp-1 .tp-num {
  color: var(--green);
}

.tp-1 .tp-icon {
  background: rgba(79, 122, 90, 0.12);
  color: var(--green);
}

.tp-2 {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

.tp-2 .tp-num {
  color: #2563eb;
}

.tp-2 .tp-icon {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.tp-3 {
  background: rgba(234, 88, 12, 0.06);
  border-color: rgba(234, 88, 12, 0.15);
}

.tp-3 .tp-num {
  color: #ea580c;
}

.tp-3 .tp-icon {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

.tp-4 {
  background: rgba(245, 183, 34, 0.08);
  border-color: rgba(245, 183, 34, 0.18);
}

.tp-4 .tp-num {
  color: var(--gold);
}

.tp-4 .tp-icon {
  background: rgba(245, 183, 34, 0.1);
  color: var(--gold);
}

/* ── Product cards ── */
.product-card {
  border: 1px solid var(--divider);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: all 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(79, 122, 90, 0.35);
  box-shadow: 0 12px 40px rgba(79, 122, 90, 0.12);
  transform: translateY(-4px);
}

.product-img-wrap {
  background: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.product-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease, opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.product-card:hover .product-img-wrap img {
  transform: scale(0.9);
  opacity: 0;
}

.product-hover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 0;
}

.product-card:hover .product-hover-photo {
  opacity: 1;
}

.product-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.18) 100%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
}

.product-cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--cream);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.product-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-benefit {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.97rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
  line-clamp: 1;
}

.product-desc {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  border-top: 1px solid var(--divider);
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.btn-product-detail {
  border: none;
  background: transparent;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  transition: 0.2s;
}

.btn-product-detail:hover {
  background: var(--red);
  color: #fff;
}

/* ── Footer ── */
.am-footer {
  background: var(--deep-green);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.5rem;
}

.am-footer .brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem;
}

.am-footer p {
  font-size: 0.85rem;
  line-height: 1.65;
}

.am-footer h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.am-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.am-footer a:hover {
  color: #fff;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1rem;
}

.footer-bottom {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Utility ── */
.btn-green {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.75rem;
  transition: all 0.2s;
}

.btn-green:hover {
  background: #9e2d08;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-green {
  border: 1.5px solid var(--red);
  color: var(--red);
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  transition: 0.2s;
}

.btn-outline-green:hover {
  background: var(--red);
  color: #fff;
}

/* Fade in on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

/* Mobile sticky CTA — diganti am-bottom-nav */
.mobile-cta {
  display: none !important;
}

/* Responsive hero text */
@media (max-width: 576px) {
  .hero-slide {
    min-height: 520px;
  }

  .quiz-card-body {
    padding: 2rem 1.5rem;
  }
}

.home-cat-card {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  height: 280px;
  text-decoration: none;
  border: none;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}

.home-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .45s ease;
}

.home-cat-card:hover img {
  transform: scale(1.08);
}

.home-cat-card .home-cat-title {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  font-family: 'Fraunces',Georgia,serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #235541;
  width: 130px;
  transition: color .2s ease;
}

.home-cat-card:hover .home-cat-title {
  color: #235541;
}

.gram-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22vw;
}

/* Top promo banner (index.html static image slider) */
.new-hero-top {
  background: var(--cream);
}

.new-hero-top .carousel-inner {
  max-height: min(85vh, 720px);
}

.new-hero-top__img {
  width: 100%;
  height: min(85vh, 720px);
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 767.98px) {
  .new-hero-top .carousel-inner {
    max-height: min(52vh, 420px);
  }

  .new-hero-top__img {
    height: min(52vh, 420px);
  }
}

/* Promo popup (index.html) */
.promo-pop-modal-dialog {
  max-width: min(92vw, 560px);
  margin-left: auto;
  margin-right: auto;
}

.promo-pop-modal-content {
  border: none;
  border-radius: 16px;
  overflow: visible;
  box-shadow: none;
  background: transparent !important;
}

.promo-pop-modal-content .modal-header {
  background: transparent;
  border: none;
}

.promo-pop-modal-content .modal-body {
  background: transparent;
}

.promo-pop-img {
  display: block;
  width: 100%;
  max-height: min(85vh, 720px);
  object-fit: contain;
  background: transparent;
}
