/* ============================================================
   ILLUVIA · Page-Specific Styles
   Styling khusus per-halaman: Hero home, Marquee, Stats,
   Categories grid, Timeline, Project Showcase, dll
   ============================================================ */


/* ════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════ */

/* ── 1. HERO SLIDER (Home page) ──────────────────────────── */

.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  background: var(--color-navy);
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero__slide.is-active { opacity: 1; }

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 31, 60, 0.6), transparent 60%),
    linear-gradient(to right, rgba(13, 31, 60, 0.95), rgba(13, 31, 60, 0.6), transparent);
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero__title {
  color: var(--color-white);
  font-size: 2.75rem;
  line-height: 1.1;
  margin-block: var(--space-6);
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .hero__title { font-size: var(--fs-6xl); }
}

@media (min-width: 1024px) {
  .hero__title { font-size: var(--fs-7xl); }
}

.hero__title-line {
  display: block;
}

.hero__title-accent {
  color: var(--color-blue-muted);
}

.hero__sub {
  color: rgba(219, 234, 254, 0.8);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-10);
  max-width: 520px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Slider dots */
.hero__dots {
  position: absolute;
  bottom: var(--space-12);
  left: var(--space-6);
  display: flex;
  gap: var(--space-3);
  align-items: center;
  z-index: 3;
}

@media (min-width: 768px) {
  .hero__dots {
    left: auto;
    right: var(--space-12);
  }
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  transition: all var(--transition-slow);
  cursor: pointer;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero__dot.is-active {
  width: 32px;
  background: var(--color-blue-muted);
}

/* Prev/next buttons (desktop only) */
.hero__arrows {
  position: absolute;
  bottom: var(--space-10);
  right: var(--space-6);
  display: none;
  gap: var(--space-2);
  z-index: 3;
}

@media (min-width: 768px) {
  .hero__arrows { display: flex; }
}

.hero__arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* ── 2. MARQUEE (scrolling keywords) ─────────────────────── */

.marquee {
  background: var(--color-blue-primary);
  padding-block: 12px;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  flex-shrink: 0;
}

.marquee__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-blue-soft);
}

@keyframes marquee-scroll {
  from { transform: translateX(0);     }
  to   { transform: translateX(-50%);  }
}


/* ── 3. STATS BAR ────────────────────────────────────────── */

.stats {
  background: var(--color-navy);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-10);
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__item { text-align: center; }

.stats__value {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  margin-bottom: 4px;
  line-height: 1;
}

.stats__label {
  color: var(--color-blue-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}


/* ── 4. PRODUCT CATEGORIES GRID ──────────────────────────── */

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

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

.category-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    var(--color-navy),
    rgba(13, 31, 60, 0.4) 50%,
    transparent);
}

.category-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-7);
}

.category-card__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.8);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.category-card__title {
  color: var(--color-white);
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .category-card__title { font-size: var(--fs-3xl); }
}

.category-card__desc {
  color: var(--color-blue-pale);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
  max-width: 280px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  transition: gap var(--transition);
}

.category-card:hover .category-card__cta {
  gap: var(--space-3);
}


/* ── 5. WHY ILLUVIA (dark section + image) ───────────────── */

.why-illuvia {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  padding-block: var(--space-24);
}

.why-illuvia::before,
.why-illuvia::after {
  content: "";
  position: absolute;
  width: 384px;
  height: 384px;
  border-radius: var(--radius-full);
  filter: blur(96px);
  pointer-events: none;
}

.why-illuvia::before {
  top: -128px;
  right: -128px;
  background: rgba(37, 99, 235, 0.1);
}

.why-illuvia::after {
  bottom: -128px;
  left: -128px;
  background: rgba(29, 78, 216, 0.1);
}

.why-illuvia__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
}

@media (min-width: 768px) {
  .why-illuvia__grid { grid-template-columns: 1fr 1fr; }
}

.why-illuvia__intro {
  color: rgba(191, 219, 254, 0.7);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-10);
}

.why-illuvia__intro strong {
  color: var(--color-white);
}

.why-illuvia__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.why-illuvia__image-wrap {
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .why-illuvia__image-wrap { display: block; }
}

.why-illuvia__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
}

.why-illuvia__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-illuvia__stat {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-blue-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.why-illuvia__stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  margin-bottom: 4px;
}

.why-illuvia__stat-value {
  color: var(--color-white);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
}


/* ── 6. FEATURED PRODUCTS GRID ──────────────────────────── */

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.product-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.product-card__img-wrap {
  position: relative;
  height: 208px;
  background: var(--color-gray-100);
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-blue-primary);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--radius);
  z-index: 1;
}

.product-card__ip {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--color-gray-700);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.product-card__body {
  padding: var(--space-5);
}

.product-card__model {
  color: var(--color-blue-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 6px;
}

.product-card__name {
  color: var(--color-gray-900);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
  transition: color var(--transition);
}

.product-card:hover .product-card__name {
  color: var(--color-blue-primary);
}

.product-card__desc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card__lifespan {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

.product-card__lifespan svg { color: var(--color-success); }

.product-card__more {
  color: var(--color-blue-bright);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.product-card:hover .product-card__more { gap: 8px; }


/* ── 7. PROJECT SHOWCASE GRID ────────────────────────────── */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover .project-card__img {
  transform: scale(1.1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13, 31, 60, 0.9),
    transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: var(--space-4);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__info { transform: translateY(0); }

.project-card__cat {
  color: var(--color-blue-soft);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 2px;
}

.project-card__label {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}


/* ── 8. CLIENTS STRIP ────────────────────────────────────── */

.clients {
  background: var(--color-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding-block: var(--space-14);
}

.clients__label {
  text-align: center;
  color: var(--color-gray-400);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  margin-bottom: var(--space-10);
}

.clients__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4) var(--space-14);
}

.clients__item {
  color: var(--color-gray-400);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  transition: color var(--transition);
  cursor: default;
}

.clients__item:hover {
  color: var(--color-blue-primary);
}


/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
}

@media (min-width: 768px) {
  .about-intro { grid-template-columns: 1fr 1fr; }
}

.about-intro__title {
  color: var(--color-gray-900);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
  .about-intro__title { font-size: var(--fs-4xl); }
}

.about-intro__text {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

.about-intro__list {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about-intro__list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-gray-700);
  font-weight: var(--fw-medium);
  position: relative;
}

.about-intro__list-item::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-blue-pale);
  flex-shrink: 0;
  position: relative;
}


.about-intro__list-item::after {
  content: "";
  position: absolute;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-blue-primary);
}

.about-intro__image-wrap {
  position: relative;
}

.about-intro__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--color-blue-primary);
  color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-xl);
}

.about-intro__badge-label {
  color: var(--color-blue-pale);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  margin-bottom: 4px;
}

.about-intro__badge-value {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
}

/* Vision/Mission/Values cards */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-20);
}

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

/* Timeline */
.timeline {
  position: relative;
  margin-bottom: var(--space-20);
}

.timeline__line {
  display: none;
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--color-blue-pale);
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .timeline__line { display: block; }
}

.timeline__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
}

.timeline__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .timeline__item {
    flex-direction: row;
    gap: var(--space-12);
    align-items: center;
  }

  .timeline__item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.timeline__side {
  flex: 1;
}

@media (min-width: 768px) {
  .timeline__item:nth-child(odd) .timeline__side--left { text-align: right; }
}

.timeline__side--right {
  display: none;
}

@media (min-width: 768px) {
  .timeline__side--right { display: block; }
}

.timeline__card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  max-width: 360px;
  text-align: left;
}

@media (min-width: 768px) {
  .timeline__item:nth-child(odd) .timeline__card { margin-left: auto; }
}

.timeline__year-badge {
  display: inline-block;
  background: var(--color-blue-pale);
  color: var(--color-blue-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}

.timeline__title {
  color: var(--color-gray-900);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.timeline__desc {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
}

.timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-blue-primary);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}


/* ════════════════════════════════════════════════════════════
   PRODUCTS PAGE
   ════════════════════════════════════════════════════════════ */

.products-strip {
  background: var(--color-blue-primary);
  padding-block: var(--space-6);
}

.products-strip__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}

@media (min-width: 768px) {
  .products-strip__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.products-strip__text {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.products-strip__text strong { font-weight: var(--fw-bold); }

/* Product page category cards (different style from home) */
.products-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .products-cards { grid-template-columns: repeat(3, 1fr); }
}

.products-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.products-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.products-card__img-wrap {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.products-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.products-card:hover .products-card__img {
  transform: scale(1.05);
}

.products-card__count-badge {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: var(--color-blue-bright);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 6px 12px;
  border-radius: var(--radius-lg);
}

.products-card__body {
  padding: var(--space-6);
}

.products-card__title {
  color: var(--color-gray-900);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-2);
  transition: color var(--transition);
}

.products-card:hover .products-card__title {
  color: var(--color-blue-primary);
}

.products-card__desc {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
}

.products-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-6);
}

.products-card__tag {
  background: var(--color-blue-50);
  color: var(--color-blue-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: 4px 12px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.products-card__tag:hover { background: var(--color-blue-pale); }

.products-card__cta {
  color: var(--color-blue-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.products-card__cta:hover { color: var(--color-blue-hover); }

/* Custom Request box */
.custom-request {
  background: var(--color-navy);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-top: var(--space-20);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .custom-request { grid-template-columns: 1fr 1fr; }
}

.custom-request__content {
  padding: var(--space-10);
}

.custom-request__title {
  color: var(--color-white);
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .custom-request__title { font-size: var(--fs-3xl); }
}

.custom-request__desc {
  color: rgba(191, 219, 254, 0.7);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.custom-request__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.custom-request__image {
  display: none;
  position: relative;
}

@media (min-width: 768px) {
  .custom-request__image { display: block; }
}

.custom-request__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}


/* ════════════════════════════════════════════════════════════
   CATALOG PAGE
   ════════════════════════════════════════════════════════════ */

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.catalog-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.catalog-card__cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-gray-100);
}

.catalog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.catalog-card:hover .catalog-card__img {
  transform: scale(1.05);
}

.catalog-card__year {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: var(--color-white);
  color: var(--color-blue-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  padding: 4px 10px;
  border-radius: var(--radius);
}

.catalog-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.catalog-card__name {
  color: var(--color-gray-900);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.catalog-card__meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

.catalog-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.catalog-card__download {
  margin-top: auto;
  width: 100%;
  background: var(--color-blue-primary);
  color: var(--color-white);
  padding: 12px;
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--transition);
}

.catalog-card__download:hover {
  background: var(--color-blue-hover);
  box-shadow: var(--shadow-blue);
}


/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 360px;
  }
}

.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  padding: var(--space-8);
}

@media (min-width: 768px) {
  .contact-form-wrap { padding: var(--space-10); }
}

.contact-form-wrap h2 {
  color: var(--color-gray-900);
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .contact-form-wrap h2 { font-size: var(--fs-3xl); }
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-sidebar__card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.contact-sidebar__title {
  color: var(--color-gray-400);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  margin-bottom: var(--space-5);
}

.contact-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-sidebar__icon {
  width: 36px;
  height: 36px;
  background: var(--color-blue-pale);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue-primary);
  flex-shrink: 0;
}

.contact-sidebar__label {
  color: var(--color-gray-400);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 4px;
}

.contact-sidebar__value {
  color: var(--color-gray-900);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  white-space: pre-line;
}

.wa-card {
  background: var(--color-wa-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  color: var(--color-white);
}

.wa-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.wa-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wa-card__icon svg {
  fill: var(--color-white);
  width: 28px;
  height: 28px;
}

.wa-card__title {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.wa-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.wa-card__status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-wa-green);
}

.wa-card__status-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.wa-card__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

.wa-card__button {
  width: 100%;
  background: var(--color-wa-green);
  color: var(--color-white);
  padding: 12px;
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.wa-card__button:hover {
  background: var(--color-wa-green-hover);
}


/* ════════════════════════════════════════════════════════════
   PAGE HERO (shared: About, Catalog, Contact)
   Dark navy section with breadcrumb + eyebrow + title
   ════════════════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  background: var(--color-navy);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 56px;
}

/* Optional background image (appears at 15% opacity) */
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  color: var(--color-white);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  margin-top: var(--space-3);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .page-hero__title { font-size: var(--fs-5xl); }
}

.page-hero__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
  max-width: 560px;
  margin-top: var(--space-3);
}

/* Catalog hero: inner flex to put count badge on the right */
.page-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}

.page-hero__count {
  flex-shrink: 0;
  background: var(--color-blue-primary);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}


/* ── Breadcrumb (dalam page hero) ─── */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.breadcrumb__link {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.breadcrumb__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__current {
  color: rgba(255, 255, 255, 0.9);
}


/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
  }
}

.about-layout__text .section-title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-4);
}

.about-layout__desc {
  color: var(--text-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

.about-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-base);
  color: var(--text-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
}

.about-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-blue-primary);
  flex-shrink: 0;
  margin-top: 7px;
}

.about-layout__image {
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
}

.about-layout__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ── Info Strip (4-col contact info, dark card) ─── */

.info-strip {
  background: var(--color-navy);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-8);
}

.info-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .info-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.info-strip__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.info-strip__label {
  color: var(--color-blue-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.info-strip__label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.info-strip__value {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  line-height: var(--lh-relaxed);
}

.info-strip__value a {
  color: var(--color-white);
}

.info-strip__value a:hover {
  color: var(--color-blue-accent);
}


/* ════════════════════════════════════════════════════════════
   CONTACT FORM 7 — Styling
   Map CF7 output elements ke desain form kita
   ════════════════════════════════════════════════════════════ */

/* Input, email, tel, textarea, select dari CF7 = sama dengan .form-input */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-number,
.wpcf7-form .wpcf7-url {
  display: block;
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7-form .wpcf7-textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-gray-900);
  resize: vertical;
  min-height: 140px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7-form .wpcf7-select {
  display: block;
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  font-family: inherit;
  background: var(--color-white);
  color: var(--color-gray-900);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

/* Focus state untuk semua CF7 inputs */
.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-tel:focus,
.wpcf7-form .wpcf7-textarea:focus,
.wpcf7-form .wpcf7-select:focus {
  outline: none;
  border-color: var(--color-blue-accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Placeholder */
.wpcf7-form .wpcf7-text::placeholder,
.wpcf7-form .wpcf7-email::placeholder,
.wpcf7-form .wpcf7-tel::placeholder,
.wpcf7-form .wpcf7-textarea::placeholder {
  color: var(--color-gray-400);
}

/* Submit button = btn--primary */
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  background: var(--color-blue-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: var(--space-4);
}

.wpcf7-form .wpcf7-submit:hover {
  background: var(--color-blue-hover);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

/* Error messages */
.wpcf7-form .wpcf7-not-valid-tip {
  color: var(--color-error);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  margin-top: 4px;
  display: block;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: var(--color-error) !important;
}

.wpcf7-form .wpcf7-response-output {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  border: 1px solid transparent;
}

/* Pesan sukses */
.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--color-success);
  color: var(--color-success);
}

/* Pesan error */
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  background: rgba(239, 68, 68, 0.08);
  border-color: var(--color-error);
  color: var(--color-error);
}

/* CF7 span wrapper (hapus display: block default yang ganggu layout) */
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Quiz / Math Captcha */
.captcha-box {
  background: var(--color-gray-50);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

.captcha-box .wpcf7-quiz-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  display: block;
}

.captcha-box .wpcf7-text.wpcf7-quiz {
  max-width: 160px;
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
}

/* reCAPTCHA badge */
.wpcf7-form .grecaptcha-badge {
  visibility: hidden;
}



/* ════════════════════════════════════════════════════════════
   ABOUT PAGE — WordPress Content Styling
   Style output dari the_content() supaya sesuai desain Figma.
   Client edit teks di WP editor → tampil otomatis styled.
   ════════════════════════════════════════════════════════════ */

/* Heading utama (h2) dalam konten About */
.about-layout__text h2 {
  color: var(--color-gray-900);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-5);
}

@media (min-width: 768px) {
  .about-layout__text h2 { font-size: var(--fs-5xl); }
}

/* Paragraf teks */
.about-layout__text p {
  color: var(--text-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-4);
}

/* Bullet list = blue dot, tidak ada list-style default */
.about-layout__text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

.about-layout__text ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

.about-layout__text ul li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-blue-primary);
  margin-top: 7px;
}

/* Ordered list */
.about-layout__text ol {
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.about-layout__text ol li {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}

/* Strong/bold dalam teks */
.about-layout__text strong {
  color: var(--color-gray-900);
  font-weight: var(--fw-bold);
}

/* Subheading (h3/h4) */
.about-layout__text h3 {
  color: var(--color-gray-900);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}


/* ── Info Strip Heading ─── */
.info-strip__heading {
  color: var(--color-white);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-8);
}


/* ════════════════════════════════════════════════════════════
   PRODUCTS — Category Archive & Single Product
   ════════════════════════════════════════════════════════════ */

/* Grid container untuk product cards di category page */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Category filter tabs */
.category-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.category-tab {
  padding: 12px 24px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}
.category-tab:hover { color: var(--color-blue-primary); }
.category-tab.is-active {
  color: var(--color-blue-primary);
  border-bottom-color: var(--color-blue-primary);
}

/* Product count badge di hero */
.product-count-badge {
  display: inline-block;
  background: rgba(29, 78, 216, 0.2);
  color: #93c5fd;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-decoration: none;
  margin-bottom: var(--space-8);
  transition: color var(--transition);
}
.back-link:hover { color: var(--color-blue-primary); }

/* ── SINGLE PRODUCT DETAIL ── */
.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 1024px) {
  .product-detail__grid { grid-template-columns: 1fr 400px; }
}

/* Image panel */
.product-detail__media {
  position: sticky;
  top: 120px;
}
.product-detail__img-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-gray-50);
  aspect-ratio: 4/3;
  margin-bottom: var(--space-4);
}
.product-detail__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--color-gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
}

/* Info sidebar */
.product-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.product-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}
.product-badge--cat {
  background: #eff6ff;
  color: var(--color-blue-primary);
}
.product-badge--sku {
  background: var(--color-gray-100);
  color: var(--color-gray-900);
  font-family: monospace;
}
.product-detail__name {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-black);
  color: var(--color-gray-900);
  line-height: var(--lh-tight);
  margin: 0;
}
.product-detail__desc {
  color: var(--text-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* Specs grid (2x2) */
.product-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.spec-item {
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  background: var(--color-gray-50);
  border: 1px solid var(--border-light);
}
.spec-item__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 6px;
}
.spec-item__value {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-blue-primary);
}

/* Advantages list in single product */
.product-advantages {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}
.product-advantages li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  line-height: var(--lh-relaxed);
}
.product-advantages li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Distributor card */
.distributor-card {
  padding: var(--space-5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
}
.distributor-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.distributor-card__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
}
.distributor-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.distributor-card__info a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.distributor-card__info a:hover { color: var(--color-blue-primary); }


/* ════════════════════════════════════════════════════════════
   BLOG / NEWS
   ════════════════════════════════════════════════════════════ */

/* Post grid (blog listing) */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .posts-grid { grid-template-columns: repeat(3,1fr); } }

/* Post card */
.post-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.post-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-gray-100);
}
.post-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__img-wrap img { transform: scale(1.04); }
.post-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1e3a5f, #0a1628);
  display: flex; align-items: center; justify-content: center;
}
.post-card__body {
  padding: var(--space-5) var(--space-5) var(--space-4);
  display: flex; flex-direction: column; flex: 1;
}
.post-card__cat {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-blue-primary);
  margin-bottom: var(--space-2);
}
.post-card__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--space-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-3);
}
.post-card__meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-light); }
.post-card__read-more {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-blue-primary);
}

/* ── SINGLE POST ── */
.post-hero {
  background: var(--color-navy);
  padding: 100px 0 48px;
}
.post-hero__cat {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.post-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-black);
  color: #fff;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-5);
  max-width: 800px;
}
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  color: rgba(255,255,255,0.65);
  font-size: var(--fs-sm);
}
.post-hero__meta-sep { opacity: 0.4; }

/* Single post layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 1024px) {
  .post-layout { grid-template-columns: 1fr 340px; }
}

/* Featured image full-width */
.post-featured-img {
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: var(--space-8);
  background: var(--color-gray-100);
}
.post-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Article content */
.post-content {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text-body);
}
.post-content h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin: var(--space-8) 0 var(--space-3);
  line-height: var(--lh-tight);
}
.post-content h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin: var(--space-6) 0 var(--space-3);
}
.post-content p { margin: 0 0 var(--space-4); }
.post-content ul, .post-content ol {
  margin: 0 0 var(--space-4) var(--space-6);
}
.post-content li { margin-bottom: var(--space-2); }
.post-content img {
  max-width: 100%;
  border-radius: var(--radius-xl);
  height: auto;
}
.post-content blockquote {
  border-left: 4px solid var(--color-blue-primary);
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  background: var(--color-gray-50);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-style: italic;
  color: var(--text-muted);
}
.post-content a { color: var(--color-blue-primary); text-decoration: underline; }
.post-content a:hover { text-decoration: none; }

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
}
.post-tag {
  padding: 5px 14px;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.post-tag:hover { background: #eff6ff; color: var(--color-blue-primary); }

/* Sidebar widgets */
.blog-sidebar { display: flex; flex-direction: column; gap: var(--space-6); }
.sidebar-widget {
  padding: var(--space-5);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-light);
  background: #fff;
}
.sidebar-widget__title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-muted);
  margin: 0 0 var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}
/* Recent posts in sidebar */
.recent-post {
  display: flex;
  gap: var(--space-3);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
}
.recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post__img {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-gray-100);
}
.recent-post__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-900);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-post__date { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 4px; }
.recent-post:hover .recent-post__title { color: var(--color-blue-primary); }

/* Category list in sidebar */
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  text-decoration: none;
}
.sidebar-cat-list a:hover { color: var(--color-blue-primary); }
.sidebar-cat-list .count {
  font-size: var(--fs-xs);
  background: var(--color-gray-100);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* WA consultation card in sidebar */
.sidebar-wa-card {
  background: linear-gradient(135deg, #0a1628, #1e3a5f);
  border-radius: var(--radius-2xl);
  padding: var(--space-5);
  color: #fff;
}
.sidebar-wa-card h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-2);
}
.sidebar-wa-card p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  margin: 0 0 var(--space-4);
  line-height: var(--lh-relaxed);
}

/* Related posts */
.related-posts { margin-top: var(--space-12); }
.related-posts__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-gray-900);
  margin: 0 0 var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--border-light);
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3,1fr); } }


/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Comprehensive overrides
   Mobile-first: default = mobile, scale up via min-width
   ════════════════════════════════════════════════════════════ */

/* ── GLOBAL MOBILE TOUCH & SCROLL ── */
html { -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; }
table { width: 100%; overflow-x: auto; display: block; }

/* ── HERO — fluid font sizes ── */
@media (max-width: 767px) {
  .hero__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero__sub    { font-size: var(--fs-base); margin-bottom: var(--space-6); }
  .hero          { min-height: 480px; height: auto; padding: 100px 0 60px; }
  .hero__dots    { bottom: var(--space-6); }
  .hero__buttons { flex-direction: column; gap: var(--space-3); }
  .hero__buttons .btn { width: 100%; justify-content: center; }
}

/* ── PAGE HERO — compact on mobile ── */
@media (max-width: 767px) {
  .page-hero { padding: 72px 0 36px; min-height: 200px; }
  .page-hero__title { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .page-hero__desc  { font-size: var(--fs-sm); }
  .page-hero__sub   { font-size: var(--fs-sm); }
  .post-hero        { padding: 80px 0 32px; }
  .post-hero__title { font-size: clamp(1.5rem, 5.5vw, 2.25rem); }
}

/* ── SECTION TITLES — responsive ── */
@media (max-width: 767px) {
  .section-title        { font-size: clamp(1.5rem, 5.5vw, 2.25rem); }
  .section-title__accent{ font-size: inherit; }
  .section { padding-block: var(--space-12); }
}

/* ── STATS BAR — 2-col on mobile ── */
@media (max-width: 479px) {
  .stats__grid   { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .stats__value  { font-size: 2.25rem; }
}

/* ── CATEGORIES GRID — responsive heights ── */
@media (max-width: 767px) {
  .categories-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .category-card   { height: 280px; }
  .category-card__title { font-size: var(--fs-xl); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card   { height: 300px; }
}

/* ── PRODUCT CARDS GRID — responsive ── */
@media (max-width: 479px) {
  .products-grid { grid-template-columns: 1fr !important; }
  .featured-grid { grid-template-columns: 1fr !important; }
  .related-grid  { grid-template-columns: 1fr !important; }
  .posts-grid    { grid-template-columns: 1fr !important; }
  .catalog-grid  { grid-template-columns: 1fr !important; }
}
@media (min-width: 480px) and (max-width: 639px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .posts-grid    { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── SINGLE PRODUCT DETAIL ── */
@media (max-width: 1023px) {
  .product-detail__grid   { grid-template-columns: 1fr; gap: var(--space-8); }
  .product-detail__media  { position: static; top: auto; } /* remove sticky */
  .product-detail__img-wrap { aspect-ratio: 16/9; }
  .product-specs-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .product-specs-grid { grid-template-columns: 1fr 1fr; }
  .product-detail__name { font-size: var(--fs-2xl); }
  .product-badge-row { flex-wrap: wrap; }
}

/* ── SINGLE BLOG POST ── */
@media (max-width: 1023px) {
  .post-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .blog-sidebar { order: 2; } /* sidebar below article on mobile */
}
@media (max-width: 767px) {
  .post-content h2 { font-size: var(--fs-xl); }
  .post-content h3 { font-size: var(--fs-lg); }
  .post-featured-img { aspect-ratio: 4/3; margin-bottom: var(--space-6); }
  .post-hero__meta { flex-wrap: wrap; gap: var(--space-2); }
}

/* ── CONTACT PAGE ── */
@media (max-width: 767px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--space-5); }
  .contact-form-wrap h2 { font-size: var(--fs-xl); }
}

/* ── ABOUT PAGE ── */
@media (max-width: 1023px) {
  .about-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .about-layout__image { aspect-ratio: 16/9; }
}
@media (max-width: 767px) {
  .info-strip__grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}
@media (max-width: 479px) {
  .info-strip__grid { grid-template-columns: 1fr; }
}

/* ── CATALOG PAGE ── */
@media (max-width: 767px) {
  .catalog-grid { grid-template-columns: 1fr; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── BREADCRUMB — wrap on mobile ── */
@media (max-width: 767px) {
  .breadcrumb { flex-wrap: wrap; gap: var(--space-1); font-size: var(--fs-xs); }
}

/* ── CATEGORY TABS — horizontal scroll on mobile ── */
@media (max-width: 767px) {
  .category-tabs {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1px;
  }
  .category-tabs::-webkit-scrollbar { display: none; }
  .category-tab { padding: 10px 16px; font-size: var(--fs-xs); white-space: nowrap; }
}

/* ── BACK LINK — mobile ── */
@media (max-width: 767px) {
  .back-link { margin-bottom: var(--space-5); }
}

/* ── WHY ILLUVIA SECTION ── */
@media (max-width: 767px) {
  .why-illuvia__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .why-illuvia { padding-block: var(--space-14); }
}

/* ── PROJECTS/POSTS GRID on Home ── */
@media (max-width: 767px) {
  .projects-grid { grid-template-columns: 1fr; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── TIMELINE (About) ── */
@media (max-width: 767px) {
  .timeline__item      { flex-direction: column; }
  .timeline__side--right { display: none; }
  .timeline__card      { max-width: 100%; }
}

/* ── DISTRIBUTOR CARD — mobile ── */
@media (max-width: 479px) {
  .distributor-card__info a { font-size: var(--fs-xs); }
}

/* ── POST SHARE BUTTONS — stack on mobile ── */
@media (max-width: 479px) {
  div[style*="display:flex"][style*="share"] { flex-direction: column; }
}

/* ── SIDEBAR WIDGETS — compact on mobile ── */
@media (max-width: 767px) {
  .sidebar-widget { padding: var(--space-4); }
  .recent-post__img { width: 52px; height: 52px; }
}

/* ── WA CARD ── */
@media (max-width: 479px) {
  .wa-card { padding: var(--space-4); }
  .wa-card__button { font-size: var(--fs-sm); }
}
.sidebar-wa-card p { font-size: var(--fs-xs); }

/* ── SPEC ITEMS — 2x2 intact on all mobile ── */
@media (max-width: 359px) {
  .product-specs-grid { grid-template-columns: 1fr; }
}

/* ── CTA BAND (Home) — mobile ── */
@media (max-width: 767px) {
  .cta-band { padding-block: var(--space-10); }
  .cta-band .section-title { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .cta-band__buttons { flex-direction: column; gap: var(--space-3); }
  .cta-band__buttons .btn { width: 100%; justify-content: center; }
}

/* ── MARQUEE — preserve on mobile ── */
@media (max-width: 767px) {
  .marquee__item { font-size: var(--fs-xs); gap: 8px; }
  .marquee__track { gap: 20px; }
}

/* ── FORM — mobile ── */
@media (max-width: 767px) {
  .form-row { flex-direction: column; }
  .form-row > * { width: 100% !important; }
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    justify-content: center;
    font-size: var(--fs-sm);
  }
}

/* ── FOOTER ── */
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-8);
  }
  .footer-socials { justify-content: flex-start; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── PRODUCTS STRIP (page-products.php) ── */
@media (max-width: 767px) {
  .products-strip__inner { flex-direction: column; gap: var(--space-3); }
  .products-strip__inner .btn { width: 100%; justify-content: center; }
}

/* ── PREVENT HORIZONTAL OVERFLOW ── */
@media (max-width: 767px) {
  .container { padding-inline: var(--space-4); }
  .mega-menu  { display: none !important; } /* absolute safety */
  .section-header--center { text-align: center; }
}

/* ── TOUCH TARGETS — minimum 44px ── */
@media (max-width: 1023px) {
  .btn, .navbar__link, .category-tab, .post-tag,
  .back-link, .mega-view-all, .mobile-menu__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .mobile-menu__link { padding-block: 12px; }
}

/* ── IMAGES — prevent overflow ── */
.post-content img,
.about-layout__text img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ── HEADER SPACER adjust on mobile ── */
@media (max-width: 1023px) {
  /* info-bar tersembunyi di mobile → header = navbar saja ~64px */
  .header-spacer {
    height: 64px;
  }
}
@media (max-width: 782px) {
  .admin-bar .header-spacer {
    height: 110px; /* 46px admin bar + 64px navbar */
  }
}

/* posts-grid--home: 3-col desktop, 1-col mobile */
.posts-grid--home { grid-template-columns: 1fr; }
@media (min-width: 640px) { .posts-grid--home { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .posts-grid--home { grid-template-columns: repeat(3,1fr); } }

/* product-media-sticky: sticky only on desktop */
.product-media-sticky { position: static; }
@media (min-width: 1024px) {
  .product-media-sticky { position: sticky; top: 120px; }
}

/* btn full-width on extra small screens */
@media (max-width: 479px) {
  .btn-wa-cta,
  .product-detail__sidebar .btn--outline { width: 100% !important; }
}


/* ════════════════════════════════════════════════════════════
   CATEGORIES SCROLL — Horizontal scroll saat > 3 kategori
   Menampilkan 3 kartu penuh + setengah kartu ke-4 sebagai hint
   ════════════════════════════════════════════════════════════ */

/* Wrapper: relative untuk gradient fade kanan */
.categories-grid--scroll {
  /* Override grid → flex horizontal */
  display: flex !important;
  flex-wrap: nowrap !important;
  grid-template-columns: unset !important;

  /* Scroll horizontal */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /* Spacing */
  gap: 20px;
  padding-bottom: 16px; /* ruang scrollbar */
  padding-right: 24px;  /* sedikit ruang di ujung kanan */

  /* Scrollbar styling — thin & branded */
  scrollbar-width: thin;
  scrollbar-color: #2563eb #e2e8f0;

  /* Pastikan tidak terpotong di kanan */
  position: relative;
}

/* Webkit scrollbar */
.categories-grid--scroll::-webkit-scrollbar {
  height: 4px;
}
.categories-grid--scroll::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 2px;
}
.categories-grid--scroll::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 2px;
}

/* Setiap kartu: lebar tetap agar 3.3 kartu terlihat */
/* Desktop: 3 penuh + setengah ke-4 */
.categories-grid--scroll .category-card {
  flex: 0 0 calc((100% - 60px) / 3.3);
  min-width: 220px;
  max-width: 360px;
  height: 320px;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

/* Tablet (640–1023px): 2 penuh + setengah ke-3 */
@media (min-width: 640px) and (max-width: 1023px) {
  .categories-grid--scroll .category-card {
    flex: 0 0 calc((100% - 40px) / 2.3);
    height: 300px;
  }
}

/* Mobile (< 640px): 1 penuh + setengah ke-2 */
@media (max-width: 639px) {
  .categories-grid--scroll {
    gap: 14px;
    padding-bottom: 12px;
  }
  .categories-grid--scroll .category-card {
    flex: 0 0 82vw;
    height: 280px;
  }
}

/* ── Fade gradient kanan — hint ada konten lebih ── */
.categories-grid--scroll-wrap {
  position: relative;
  overflow: hidden;
}
.categories-grid--scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: calc(100% - 20px); /* tidak cover scrollbar */
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.95)
  );
  pointer-events: none;
  z-index: 2;
}

/* ── Scroll indicator (dots) ── */
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.scroll-hint::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}


/* ════════════════════════════════════════════════════════════
   TAXONOMY 2-PANEL LAYOUT
   Left: type navigator | Right: bounded 3-col grid (1.5 rows)
   ════════════════════════════════════════════════════════════ */
.tax-two-panel {
  display: flex;
  gap: 0;
  min-height: 500px;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
}

/* ── LEFT PANEL ── */
.tax-panel-left {
  width: 260px;
  flex-shrink: 0;
  background: #f8fafc;
  border-right: 1px solid var(--border-light, #e2e8f0);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tax-panel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-blue-primary, #2563eb);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.tax-type-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-body, #374151);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.tax-type-item:hover { background: #eff6ff; color: #2563eb; }
.tax-type-item.is-active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  border: 1px solid #bfdbfe;
}
.tax-type-icon { font-size: 16px; flex-shrink: 0; }
.tax-type-arrow { margin-left: auto; font-size: 14px; }
.tax-panel-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #94a3b8;
}
.tax-panel-meta strong { color: #2563eb; }
.tax-panel-meta a { color: #2563eb; text-decoration: none; display: block; margin-top: 6px; font-weight: 600; font-size: 12px; }

/* ── RIGHT PANEL ── */
.tax-panel-right {
  flex: 1;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ── BOUNDED GRID: 3 cols, 1.5 baris terlihat ── */
.subcats-bounded-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  /* 1.5 rows: card-h=220px × 1.5 + gap = 346px */
  max-height: 346px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px; /* ruang scrollbar */

  /* Scroll snap per baris */
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2563eb #e2e8f0;
}
.subcats-bounded-grid::-webkit-scrollbar { width: 4px; }
.subcats-bounded-grid::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 2px; }
.subcats-bounded-grid::-webkit-scrollbar-thumb { background: #2563eb; border-radius: 2px; }

/* Kartu di dalam bounded grid */
.subcats-bounded-grid .category-card {
  height: 220px;
  scroll-snap-align: start;
}

/* ── FOOTER PANEL ── */
.tax-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #94a3b8;
  flex-shrink: 0;
}
.tax-talk-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .tax-two-panel { flex-direction: column; }
  .tax-panel-left { width: 100%; border-right: none; border-bottom: 1px solid #e2e8f0; flex-direction: row; flex-wrap: wrap; padding: 16px 20px; gap: 8px; }
  .tax-panel-meta { display: none; }
  .subcats-bounded-grid { grid-template-columns: repeat(2, 1fr); max-height: 320px; }
}
@media (max-width: 639px) {
  .tax-panel-left { gap: 6px; }
  .tax-type-item { padding: 8px 12px; font-size: 13px; }
  .subcats-bounded-grid { grid-template-columns: 1fr; max-height: 460px; }
  .subcats-bounded-grid .category-card { height: 200px; }
  .tax-panel-footer { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Categories grid — Home Page ─────────────────────────── */
.categories-grid--home {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  width: 100%;
}
/* Kartu home: tinggi 480px, pakai position:relative dari base .category-card */
.categories-grid--home .category-card {
  height: 480px;
  /* JANGAN pakai display:flex — konflik dengan position:absolute di image/overlay */
}
@media (max-width: 1023px) {
  .categories-grid--home {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .categories-grid--home .category-card { height: 320px; }
}
@media (max-width: 479px) {
  .categories-grid--home .category-card { height: 280px; }
}

/* ── Section header row (title + CTA button) ─────────────── */
.section-header-row {
  display: grid;
  grid-template-columns: 1fr auto; /* title kiri, button kanan — no flex conflict */
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: var(--space-10, 40px);
  width: 100%;
}
.section-header-row > div { min-width: 0; } /* prevent heading overflow */
.section-header-row .section-title { margin-bottom: 0; }
.section-header-row .btn {
  white-space: nowrap;
  align-self: flex-end;
  padding: 12px 24px;
  font-weight: 600;
  font-size: var(--fs-sm, 14px);
}
/* Mobile: stack vertikal */
@media (max-width: 767px) {
  .section-header-row {
    grid-template-columns: 1fr;   /* 1 kolom: heading atas, button bawah */
  }
  .section-header-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}


/* ════════════════════════════════════════════════════════════
   CLIENT FEEDBACK FIXES — May 2026
   ════════════════════════════════════════════════════════════ */

/* ── POIN 1: Category card — text rata tengah ─────────────── */
.category-card__content {
  align-items: center !important;
  text-align: center !important;
}
.category-card__badge {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.category-card__desc {
  max-width: 100% !important;
  text-align: center;
}
.category-card__cta {
  justify-content: center !important;
  width: 100%;
}

/* ── POIN 2a: Why Illuvia — semua teks putih, font lebih besar */
.why-illuvia .section-title,
.why-illuvia .section-title--on-dark {
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
}
.why-illuvia .section-title__accent,
.why-illuvia .section-title__accent--light {
  color: #93c5fd !important;
  font-size: inherit !important;
}
.why-illuvia .eyebrow,
.why-illuvia .eyebrow--on-dark {
  color: #93c5fd !important;
}
.why-illuvia__intro {
  color: #ffffff !important;       /* was rgba(191,219,254,0.7) */
  font-size: var(--fs-lg, 1.125rem) !important;
}
.why-illuvia__intro strong { color: #ffffff !important; }
.feature-row__icon svg { stroke: #93c5fd; }
.feature-row__title {
  color: #ffffff !important;
  font-size: var(--fs-base, 1rem) !important;
}
.feature-row__desc {
  color: rgba(255,255,255,0.88) !important;
  font-size: var(--fs-base, 1rem) !important;   /* = ukuran title sekarang */
}

/* ── POIN 2b: Why Illuvia — kurangi padding atas ─────────── */
.why-illuvia {
  padding-top: var(--space-10, 40px) !important;   /* was space-24 */
  padding-bottom: var(--space-14, 56px) !important;
}
.why-illuvia__grid { gap: var(--space-10, 40px) !important; }

/* ── POIN 4a: Footer — space antara logo dan desc ─────────── */
.footer-brand__desc {
  margin-top: var(--space-4, 16px) !important;
}
.footer-brand__logo-text + .footer-brand__desc,
.footer-brand__logo-link + .footer-brand__desc {
  margin-top: var(--space-4, 16px) !important;
}

/* ── POIN 4b: Footer certifications bar — background putih ── */
.footer-certs {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}
.footer-cert-badge {
  background: transparent !important;
  border-color: #cbd5e1 !important;
  color: #0a1628 !important;
}
.footer-certs__note {
  color: #2563eb !important;    /* biru di atas putih */
}