/* ================================================================
   ASCOT GALLERY - HOME MODERN UI
   Palet: putih, charcoal, merah ASCOT, dan abu netral.
   Semua ukuran dan jarak dibuat responsif agar tidak terpotong.
   ================================================================ */

/* ---------- RESET DASAR ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #20252d;
  background: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8e9ec;
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand img {
  width: 1120px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  color: #4c5562;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  padding-block: 31px;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: #e30613;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #e30613;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  color: #ffffff;
  background: #e30613;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(227, 6, 19, 0.24);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 4px;
  border-left: 1px solid #e1e3e7;
}

.language-button {
  border: 0;
  background: transparent;
  color: #717987;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 2px;
}

.language-button.is-active {
  color: #e30613;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid #e1e3e7;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #20252d;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: min(720px, calc(100vh - 86px));
  min-height: 620px;
  overflow: hidden;
  background: #17191d;
}

.hero-track {
  display: flex;
  /* Lima posisi: empat slide asli + satu clone slide pertama. */
  width: 500%;
  height: 100%;
  transition: transform 850ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  /* Setiap slide mengambil satu viewport dari track lima posisi. */
  flex: 0 0 20%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 6s cubic-bezier(.2, .7, .2, 1);
}

.hero-slide.is-active > img {
  transform: scale(1.085);
}

.hero-slide-company > img {
  object-position: 54% 46%;
}

.hero-slide-sika > img {
  object-position: 74% 50%;
  transform: scale(1.28);
}

.hero-slide-onna > img {
  object-position: 52% 50%;
  transform: scale(1.15);
}

.hero-slide-ascot > img {
  object-position: 50% 50%;
  transform: scale(1.12);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(10, 12, 15, 0.62), rgba(10, 12, 15, 0.08) 66%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16));
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1200px) / 2));
  bottom: 104px;
  width: min(560px, calc(100% - 48px));
  color: #ffffff;
}

.hero-copy-right {
  left: auto;
  right: max(24px, calc((100vw - 1200px) / 2));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #ff4350;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow-dark {
  color: #e30613;
}

.hero-copy h1,
.hero-copy h2 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: #e30613;
  box-shadow: 0 16px 30px rgba(227, 6, 19, 0.22);
}

.button-light {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button-dark {
  color: #ffffff;
  background: #20252d;
  box-shadow: 0 14px 30px rgba(32, 37, 45, 0.16);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 5;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.hero-dot.is-active {
  width: 25px;
  border-radius: 999px;
  background: #ffffff;
}

/* ---------- QUICK STRIP ---------- */
.quick-strip {
  background: #101216;
  color: #ffffff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-grid a {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-right: 1px solid #292c32;
  transition: background 180ms ease;
}

.quick-grid a:first-child {
  border-left: 1px solid #292c32;
}

.quick-grid a:hover {
  background: #181b20;
}

.quick-grid b {
  color: #ff1d2c;
  font-size: 22px;
}

.quick-grid span {
  font-size: 14px;
  font-weight: 800;
}

.quick-grid i {
  color: #8c929d;
  font-style: normal;
}

/* ---------- ABOUT ---------- */
.about-showcase {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  color: #ffffff;
  background: #15181c;
}

.about-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 14, 17, 0.9), rgba(12, 14, 17, 0.52)),
    url("../images/hero/company-01.webp") center 48% / cover no-repeat;
  filter: saturate(0.92);
  transform: scale(1.03);
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}

.about-intro h2 {
  max-width: 600px;
  margin: 0 0 22px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.about-intro p {
  max-width: 580px;
  margin: 0 0 28px;
  color: #d7dbe2;
  font-size: 16px;
  line-height: 1.75;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  position: relative;
  min-height: 2120px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #20252d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.value-image {
  height: 126px;
  overflow: hidden;
  background: #eef0f2;
}

.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.value-card-sika .value-image img {
  object-position: 76% 50%;
  transform: scale(1.28);
}

.value-card-onna .value-image img {
  object-position: 52% 50%;
  transform: scale(1.25);
}

.value-card-ascot .value-image img {
  object-position: 50% 50%;
  transform: scale(1.15);
}

.value-card-company .value-image img {
  object-position: 54% 42%;
  transform: scale(1.22);
}

.value-card:hover .value-image img {
  transform: scale(1.34);
}

.value-body {
  padding: 20px 22px 22px;
}

.value-body small {
  color: #e30613;
  font-size: 12px;
  font-weight: 1200;
}

.value-body h3 {
  margin: 15px 0 8px;
  font-size: 23px;
}

.value-body p {
  margin: 0;
  color: #68717e;
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- SECTION HEADINGS ---------- */
.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-heading-row h2,
.catalog-heading h2,
.insights-layout h2,
.channels-section h2 {
  max-width: 760px;
  margin: 0;
  color: #171a1f;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.text-link {
  color: #e30613;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- FEATURED MARQUEE ---------- */
.featured-products {
  padding: 100px 0 92px;
  background: #ffffff;
  overflow: hidden;
}

.marquee {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee-left 14s linear infinite;
}

.marquee-right .marquee-track {
  animation-name: marquee-right;
}

.feature-card {
  position: relative;
  width: 300px;
  height: 142px;
  overflow: hidden;
  flex: 0 0 300px;
  border: 1px solid #e3e5e8;
  border-radius: 18px;
  background: #f6f7f8;
  box-shadow: 0 10px 28px rgba(27, 31, 38, 0.06);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0 43%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.feature-card span,
.feature-card strong {
  position: absolute;
  z-index: 2;
  left: 18px;
}

.feature-card span {
  top: 17px;
  color: #e30613;
  font-size: 11px;
  font-weight: 1200;
}

.feature-card strong {
  bottom: 18px;
  max-width: 140px;
  color: #1f242b;
  font-size: 14px;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.feature-card:hover img {
  transform: scale(1.08);
}

.marquee-note {
  margin: 18px auto 0;
  color: #7c838d;
  text-align: center;
  font-size: 12px;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(calc(-50% - 9px));
  }
  to {
    transform: translateX(0);
  }
}

/* ---------- CATALOG ---------- */
.catalog-section {
  padding: 100px 0;
  background: #f6f7f8;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.catalog-heading p {
  max-width: 6120px;
  margin: 18px 0 0;
  color: #69717d;
  line-height: 1.65;
}

.catalog-count {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: #e30613;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 800;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  margin-bottom: 26px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #e0e3e7;
  border-radius: 14px;
  background: #ffffff;
}

.search-box span {
  color: #e30613;
  font-size: 22px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #20252d;
  background: transparent;
}

#product-category {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #e0e3e7;
  border-radius: 14px;
  color: #39414b;
  background: #ffffff;
  outline: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e6e9;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(32, 37, 45, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(32, 37, 45, 0.1);
}

.product-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f3f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-body {
  padding: 15px;
}

.product-body small {
  color: #e30613;
  font-size: 10px;
  font-weight: 1200;
  text-transform: uppercase;
}

.product-body h3 {
  min-height: 42px;
  margin: 8px 0 7px;
  color: #20252d;
  font-size: 14px;
  line-height: 1.45;
}

.product-body p {
  display: -webkit-box;
  min-height: 38px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #747c88;
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #eceef0;
  padding-top: 11px;
}

.product-meta span {
  color: #8a919b;
  font-size: 10px;
}

.product-meta a {
  color: #e30613;
  font-size: 11px;
  font-weight: 800;
}

/* ---------- INSIGHTS ---------- */
.insights-section {
  padding: 92px 0;
  background: #ffffff;
}

.insights-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 54px;
  border-radius: 28px;
  background: #f2f3f4;
}

/* ---------- CHANNELS ---------- */
.channels-section {
  padding: 100px 0;
  background: #f7f8f9;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.channel-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border: 1px solid #e1e4e8;
  border-radius: 22px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 14px 34px rgba(32, 37, 45, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(32, 37, 45, 0.1);
}

.channel-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  object-fit: contain;
}

.channel-card span {
  color: #20252d;
  font-size: 15px;
  font-weight: 800;
}

.channel-card small {
  margin-top: 5px;
  color: #818894;
  font-size: 11px;
}

.channel-card b {
  margin-top: 18px;
  padding: 9px 16px;
  border: 1px solid #f0a0a6;
  border-radius: 999px;
  color: #e30613;
  font-size: 11px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #15181c;
}

.footer-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 10, 13, 0.88), rgba(8, 10, 13, 0.62)),
    url("../images/footer/company-building.webp") center / cover no-repeat;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 50px;
  padding: 78px 0 54px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  color: #c8cdd4;
  font-size: 13px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-socials a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 14px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: #b9c0c9;
  font-size: 12px;
  line-height: 1.55;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #929aa5;
  font-size: 10px;
}

/* ---------- REVEAL ---------- */
.quick-strip,
.about-showcase,
.featured-products,
.catalog-section,
.insights-section,
.channels-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.quick-strip.is-visible,
.about-showcase.is-visible,
.featured-products.is-visible,
.catalog-section.is-visible,
.insights-section.is-visible,
.channels-section.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVE TABLET ---------- */
@media (max-width: 1100px) {
  .site-nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 12px;
  }

  .site-brand img {
    width: 165px;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- RESPONSIVE MOBILE ---------- */
@media (max-width: 800px) {
  .container {
    width: min(100% - 32px, 640px);
  }

  .header-inner {
    min-height: 72px;
  }

  .site-brand img {
    width: 155px;
    max-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid #e1e4e8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(20, 24, 30, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 10px;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    justify-content: center;
    margin: 8px 0;
  }

  .language-switch {
    justify-content: center;
    margin-top: 5px;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid #eceef0;
  }

  .hero {
    height: 680px;
    min-height: 620px;
  }

  .hero-copy,
  .hero-copy-right {
    left: 20px;
    right: 20px;
    bottom: 76px;
    width: auto;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-copy p {
    font-size: 14px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid a {
    min-height: 84px;
    padding: 16px;
  }

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

  .section-heading-row,
  .catalog-heading,
  .insights-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-body {
    padding: 12px;
  }

  .product-body h3 {
    min-height: auto;
    font-size: 13px;
  }

  .product-body p {
    display: none;
  }

  .insights-layout {
    padding: 34px 26px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .channel-card {
    min-height: 200px;
    padding: 20px 12px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ================================================================
   PATCH 2026-08 - VISUAL REFINEMENT BERDASARKAN REVIEW TERBARU
   ================================================================ */

/* HERO: foto perusahaan dibuat crop landscape yang konsisten dan lebih terang. */
.hero-slide-company > img {
  object-position: 52% 48%;
  transform: scale(1.12);
}

/* HERO: logo brand tetap jelas tanpa overlay hitam yang terlalu pekat. */
.hero-shade {
  background:
    linear-gradient(
      120deg,
      rgba(8, 10, 13, 0.46),
      rgba(8, 10, 13, 0.10) 72%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.12)
    );
}

/* HERO: semua gambar dipotong dalam bidang landscape, bukan portrait. */
.hero-slide > img {
  object-fit: cover;
}

/* TENTANG KAMI: kartu nilai hanya artikel, tanpa foto brand yang rancu. */
.value-card {
  min-height: 250px;
}

.value-image {
  display: none;
}

.value-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.value-body h3 {
  margin-top: 16px;
  font-size: 28px;
  line-height: 1.1;
}

.value-body p {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.7;
}

/* TENTANG KAMI: foto gedung menjadi background utama dan tetap mudah dibaca. */
.about-background {
  background:
    linear-gradient(
      120deg,
      rgba(8, 10, 13, 0.78),
      rgba(8, 10, 13, 0.44) 56%,
      rgba(8, 10, 13, 0.22)
    ),
    url("../images/hero/company-0.jpg") center 48% / cover no-repeat;
  filter: saturate(0.96) brightness(1.04);
}

/* MARQUEE: dua baris bergerak terus ke kanan, tanpa memantul atau berhenti. */
.marquee-track,
.marquee-right .marquee-track,
.marquee-left .marquee-track {
  animation-name: marquee-right-continuous;
  animation-duration: 14s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

@keyframes marquee-right-continuous {
  from {
    transform: translateX(calc(-50% - 9px));
  }
  to {
    transform: translateX(0);
  }
}

/* Katalog: area upload foto dibuat jelas tanpa mengganggu grid produk. */
.catalog-upload-note {
  margin: -8px 0 24px;
  color: #7a828e;
  font-size: 12px;
  line-height: 1.7;
}

.catalog-upload-note code {
  padding: 3px 6px;
  border-radius: 6px;
  color: #b0000b;
  background: #fff0f1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Produk: foto asli selalu memenuhi bidang secara proporsional dan tajam. */
.product-image {
  aspect-ratio: 1 / 1;
  background: #f4f5f6;
}

.product-image img {
  object-fit: contain;
  object-position: center;
  padding: 14px;
  background: #ffffff;
}

/* Kanal resmi: logo Tokopedia dan platform lain dibuat lebih besar. */
.channel-card img {
  width: 68px;
  height: 68px;
}

.channel-card:nth-child(4) img {
  width: 76px;
  height: 76px;
}

/* FOOTER: logo ASCOT Gallery dibuat lebih besar dan tetap tajam. */
.footer-brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

/* FOOTER: foto gedung dibuat lebih terang agar detail bangunan tetap terlihat. */
.footer-background {
  background:
    linear-gradient(
      120deg,
      rgba(7, 9, 12, 0.70),
      rgba(7, 9, 12, 0.48)
    ),
    url("../images/footer/company-building.webp") center / cover no-repeat;
}

/* RESPONSIVE: ruang tetap aman pada tablet dan ponsel. */
@media (max-width: 1200px) {
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .site-brand img {
    width: 165px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-slide-company > img {
    object-position: 54% 46%;
    transform: scale(1.22);
  }

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

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

/* ================================================================
   PATCH 2026-08-25 - FINAL VISUAL ALIGNMENT
   Tujuan patch ini adalah menyamakan posisi teks, foto, dan transisi.
   ================================================================ */

/* ---------- HERO: TRACK PRESISI ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  height: min(760px, calc(100svh - 86px));
  overflow: hidden;
  background: #15181c;
}

/* Track memakai ukuran viewport agar setiap slide selalu tepat 1 layar. */
.hero-track {
  display: flex;
  width: max-content;
  height: 100%;
  margin: 0;
  transition: transform 1200ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

/* Setiap slide benar-benar selebar viewport dan tidak ikut menyusut. */
.hero-slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  min-width: 100vw;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

/* Semua foto hero memakai crop landscape yang konsisten. */
.hero-slide > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.06);
  transform-origin: center center;
  transition: transform 1200ms ease;
}

/* Slide perusahaan difokuskan ke papan logo tanpa mengubah tinggi layout. */
.hero-slide-company > img {
  object-position: 52% 48%;
  transform: scale(1.12);
}

/* Slide Sika mengarahkan titik fokus ke logo pada area kanan. */
.hero-slide-sika > img {
  object-position: 72% 50%;
  transform: scale(1.18);
}

/* Slide ONNA mengarahkan fokus ke identitas ONNA di bagian tengah. */
.hero-slide-onna > img {
  object-position: 52% 50%;
  transform: scale(1.12);
}

/* Slide ASCOT Gallery mempertahankan logo sebagai fokus utama. */
.hero-slide-ascot > img {
  object-position: 50% 50%;
  transform: scale(1.10);
}

/* Foto aktif sedikit diperbesar agar perpindahan terasa hidup tetapi stabil. */
.hero-slide.is-active > img {
  transform: scale(1.10);
}

/* Overlay dibuat ringan agar logo tidak tenggelam dalam warna hitam. */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      120deg,
      rgba(7, 9, 12, 0.76) 0%,
      rgba(7, 9, 12, 0.48) 34%,
      rgba(7, 9, 12, 0.12) 72%,
      rgba(7, 9, 12, 0.26) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.06) 0%,
      rgba(0, 0, 0, 0.20) 100%
    );
  pointer-events: none;
}

/* Copy hero dibuat selalu di posisi yang sama sehingga tidak ikut "melompat". */
.hero-copy,
.hero-copy-right {
  position: absolute;
  left: max(
    24px,
    calc((100vw - 1200px) / 2)
  );
  right: auto;
  bottom: 92px;
  z-index: 3;
  width: min(500px, calc(100vw - 48px));
  margin: 0;
}

/* Panel tipis menjaga teks terbaca tanpa menutup logo utama. */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -26px -30px -28px -26px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(8, 10, 13, 0.20);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}

/* Ukuran judul dibuat konsisten pada seluruh slide. */
.hero-copy h1,
.hero-copy h2 {
  max-width: 500px;
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

/* Paragraf dibatasi agar tidak melebar ke area logo. */
.hero-copy p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.65;
}

/* Tombol tetap berada di area teks, bukan di atas logo. */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* ---------- ABOUT: HANYA ARTIKEL, TANPA FOTO DI KARTU ---------- */
.about-showcase {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: #15181c;
}

/* Foto perusahaan hanya menjadi background section, bukan isi kartu. */
.about-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(8, 10, 13, 0.84) 0%,
      rgba(8, 10, 13, 0.58) 52%,
      rgba(8, 10, 13, 0.30) 100%
    ),
    url("../images/hero/company-05.webp")
      center 48% / cover no-repeat;
  filter: saturate(0.98) brightness(1.04);
  transform: none;
}

/* Grid nilai tidak lagi memiliki ruang gambar atau background foto brand. */
.value-grid {
  position: relative;
  z-index: 2;
}

.value-card,
.value-card-sika,
.value-card-onna,
.value-card-ascot,
.value-card-company {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  color: #20252d;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

/* Semua elemen gambar lama pada kartu nilai dinonaktifkan. */
.value-card .value-image {
  display: none !important;
}

/* Isi kartu dibuat simetris agar empat artikel memiliki tinggi visual seragam. */
.value-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  padding: 30px;
}

.value-body h3 {
  margin: 14px 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.value-body p {
  max-width: 34ch;
  margin: 0;
  color: #667180;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- MARQUEE: HANYA BERGERAK KE KANAN ---------- */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee-right-continuous 14s linear infinite;
  will-change: transform;
}

/* Setengah track pertama dan duplikatnya identik sehingga loop tidak terlihat. */
@keyframes marquee-right-continuous {
  from {
    transform: translate3d(
      calc(-50% - 9px),
      0,
      0
    );
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

/* Tidak ada animasi kiri pada showcase produk. */
.marquee-left .marquee-track,
.marquee-right .marquee-track {
  animation-name: marquee-right-continuous;
  animation-duration: 14s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Fokus visual kartu marquee sedikit diperbesar pada area logo/foto utama. */
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 500ms ease;
}

.feature-card:nth-child(1) img {
  object-position: 52% 44%;
  transform: scale(1.10);
}

.feature-card:nth-child(2) img {
  object-position: 72% 50%;
  transform: scale(1.16);
}

.feature-card:nth-child(3) img {
  object-position: 52% 50%;
  transform: scale(1.10);
}

.feature-card:nth-child(4) img {
  object-position: 50% 50%;
  transform: scale(1.08);
}

.feature-card:hover img {
  transform: scale(1.18);
}

/* ---------- KATALOG: SLOT FOTO NYATA ---------- */
.product-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f6f7;
}

.product-image img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  transition: transform 350ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

/* ---------- HEADER DAN LOGO ---------- */
.site-brand img {
  width: 205px;
  max-height: 62px;
  image-rendering: auto;
}

/* ---------- KANAL RESMI ---------- */
.channel-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.channel-card:nth-child(4) img {
  width: 82px;
  height: 82px;
}

/* ---------- FOOTER ---------- */
.footer-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(7, 9, 12, 0.72) 0%,
      rgba(7, 9, 12, 0.50) 52%,
      rgba(7, 9, 12, 0.34) 100%
    ),
    url("../images/footer/company-building.webp")
      center 42% / cover no-repeat;
  filter: brightness(1.10) saturate(0.96);
}

.footer-brand img {
  width: 230px;
  max-width: 100%;
  height: auto;
}

/* ---------- MOBILE ---------- */
@media (max-width: 800px) {
  .hero {
    min-height: 680px;
    height: calc(100svh - 72px);
  }

  .hero-copy,
  .hero-copy-right {
    left: 24px;
    right: 24px;
    bottom: 82px;
    width: auto;
  }

  .hero-copy::before {
    inset: -20px -18px -20px -18px;
    border-radius: 22px;
    background: rgba(8, 10, 13, 0.28);
  }

  .hero-copy h1,
  .hero-copy h2 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 14px;
  }

  .site-brand img {
    width: 175px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 640px;
  }

  .hero-slide-company > img {
    object-position: 52% 45%;
    transform: scale(1.16);
  }

  .hero-slide-sika > img {
    object-position: 70% 50%;
    transform: scale(1.22);
  }

  .hero-slide-onna > img {
    object-position: 52% 50%;
    transform: scale(1.16);
  }

  .hero-slide-ascot > img {
    object-position: 50% 50%;
    transform: scale(1.14);
  }

  .marquee-track {
    animation-duration: 12s;
  }
}

/* ================================================================
   FEATURED PRODUCTS V7
   Polishing layer untuk showcase produk nyata dan marquee dua arah.
   ================================================================ */

/* Heading produk diberi ruang agar tidak bertabrakan dengan CTA. */
.featured-heading {
  align-items: end;
  margin-bottom: 34px;
}

/* Paragraf pengantar dibatasi agar panjang baris tetap nyaman dibaca. */
.featured-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: #69717d;
  line-height: 1.7;
  font-size: 15px;
}

/* CTA tetap ringkas sehingga fokus visual tetap pada produk. */
.featured-cta {
  align-self: end;
  margin-bottom: 4px;
}

/* Setiap baris memiliki ruang vertikal yang cukup supaya kartu tidak berhimpitan. */
.featured-marquee {
  padding: 10px 0 16px;
}

/* Gap diperbesar supaya antar kartu tidak terlihat menempel. */
.featured-marquee .marquee-track {
  gap: 24px;
  padding-inline: 12px;
  will-change: transform;
}

/* Baris pertama berjalan dari kiri menuju kanan. */
.featured-marquee.marquee-right .marquee-track {
  animation: featured-marquee-right 14s linear infinite;
}

/* Baris kedua berjalan dari kanan menuju kiri. */
.featured-marquee.marquee-left .marquee-track {
  animation: featured-marquee-left 14s linear infinite;
}

/* Kartu produk dibuat lebih besar agar foto dan nama produk lebih lega dibaca. */
.featured-marquee .feature-card-product {
  width: 420px;
  height: 240px;
  flex: 0 0 420px;
  border-radius: 20px;
  border-color: #e1e4e8;
  background: #f1f3f5;
  box-shadow: 0 16px 36px rgba(27, 31, 38, 0.08);
}

/* Foto mengisi seluruh kartu sebagai visual produk. */
.featured-marquee .feature-card-product img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.02);
}

/* Overlay bertingkat menjaga foto tetap terlihat tetapi teks tidak tenggelam. */
.featured-marquee .feature-card-product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.120) 42%,
      rgba(255, 255, 255, 0.25) 100%
    );
  pointer-events: none;
}

/* Nomor produk dibuat sebagai penanda visual yang ringan. */
.featured-marquee .feature-card-product > span {
  top: 17px;
  left: 20px;
  z-index: 3;
  color: #e30613;
  font-size: 12px;
  font-weight: 1200;
}

/* Copy ditempatkan di area terang agar hierarki informasi konsisten. */
.feature-copy {
  position: absolute;
  left: 22px;
  top: 46px;
  z-index: 3;
  width: min(280px, calc(100% - 52px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Label brand dibuat kecil seperti katalog premium. */
.feature-copy small {
  color: #6d7580;
  font-size: 11px;
  font-weight: 1200;
  letter-spacing: 0.14em;
}

/* Nama produk menjadi elemen informasi paling dominan. */
.feature-copy strong {
  position: static;
  max-width: none;
  color: #1f242b;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 800;
}

/* CTA marketplace dibuat kecil agar kartu tidak terasa seperti iklan agresif. */
.feature-copy em {
  color: #e30613;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

/* Hover memberi sedikit zoom pada foto tanpa menggeser layout. */
.featured-marquee .feature-card-product:hover img {
  transform: scale(1.07);
}

/* Masking halus di tepi marquee membuat perpindahan kartu terlihat seamless. */
.featured-marquee {
  -webkit-mask-image:
    linear-gradient(
      120deg,
      transparent 0,
      #000 4%,
      #000 96%,
      transparent 100%
    );
  mask-image:
    linear-gradient(
      120deg,
      transparent 0,
      #000 4%,
      #000 96%,
      transparent 100%
    );
}

/* Animasi baris kanan: posisi awal sedikit ke kiri lalu masuk ke kanan. */
@keyframes featured-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* Animasi baris kiri: bergerak dari posisi awal ke arah kiri. */
@keyframes featured-marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Tablet: ukuran kartu diperkecil agar tetap nyaman dalam viewport. */
@media (max-width: 1200px) {
  .featured-heading {
    align-items: start;
  }

  .featured-cta {
    margin-top: 12px;
  }

  .featured-marquee .feature-card-product {
    width: 380px;
    height: 220px;
    flex-basis: 380px;
  }
}

/* Mobile: heading dan CTA ditumpuk agar tidak terpotong. */
@media (max-width: 600px) {
  .featured-heading {
    display: block;
    margin-bottom: 24px;
  }

  .featured-intro {
    font-size: 14px;
  }

  .featured-cta {
    display: inline-flex;
    margin-top: 18px;
  }

  .featured-marquee .feature-card-product {
    width: 330px;
    height: 195px;
    flex-basis: 330px;
  }

  .featured-marquee .marquee-track {
    gap: 18px;
  }

  .featured-marquee.marquee-right .marquee-track,
  .featured-marquee.marquee-left .marquee-track {
    animation-duration: 18s;
  }
}

/* Pengguna yang mematikan motion tidak mendapat animasi yang mengganggu. */
@media (prefers-reduced-motion: reduce) {
  .featured-marquee .marquee-track {
    animation: none;
  }
}

/* ================================================================
   PREMIUM VALUE CARDS
   Empat kartu nilai perusahaan dibuat lebih editorial, informatif,
   dan konsisten dengan gaya website corporate modern.
   ================================================================ */
.value-grid-premium {
  gap: 20px;
}

.value-card-premium {
  position: relative;
  min-height: 335px;
  padding: 0;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 248, 250, 0.94)
    );
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Aksen merah tipis memberi identitas ASCOT tanpa membuat kartu ramai. */
.value-card-premium .value-accent {
  position: absolute;
  top: 0;
  left: 28px;
  width: 62px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: #e30613;
}

/* Lingkaran nomor menjadi focal point kecil di setiap kartu. */
.value-card-premium .value-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.18);
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.06);
  color: #e30613;
  font-size: 12px;
  font-weight: 1200;
  letter-spacing: 0.08em;
}

/* Isi kartu dibuat lebih lapang agar paragraf panjang tetap nyaman dibaca. */
.value-card-premium .value-body {
  min-height: 335px;
  justify-content: flex-start;
  padding: 82px 30px 58px;
}

/* Label kecil membangun hirarki visual sebelum judul utama. */
.value-card-premium .value-body small {
  color: #e30613;
  font-size: 11px;
  font-weight: 1200;
  letter-spacing: 0.14em;
}

/* Judul dibuat lebih kuat agar empat nilai langsung terbaca saat scanning. */
.value-card-premium .value-body h3 {
  max-width: 250px;
  margin: 13px 0 13px;
  color: #171b21;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* Penjelasan diperpanjang tetapi tetap dibatasi agar tidak melebar. */
.value-card-premium .value-body p {
  max-width: 430px;
  margin: 0;
  color: #657080;
  font-size: 14px;
  line-height: 1.72;
}

/* Nomor kecil di bawah memberi kesan editorial dan membantu orientasi. */
.value-card-premium .value-index {
  position: absolute;
  right: 30px;
  bottom: 24px;
  color: #9aa1ac;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* Hover mengangkat kartu dan menonjolkan aksen tanpa animasi berlebihan. */
.value-card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 6, 19, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

/* Hover pada nomor membuat interaksi terasa lebih hidup. */
.value-card-premium:hover .value-icon {
  background: #e30613;
  color: #ffffff;
  border-color: #e30613;
  transform: rotate(6deg) scale(1.04);
  transition: 0.3s ease;
}

/* Tablet menjaga dua kolom agar kartu tetap proporsional. */
@media (max-width: 1200px) {
  .value-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card-premium,
  .value-card-premium .value-body {
    min-height: 320px;
  }

  .value-card-premium .value-body p {
    font-size: 13.5px;
  }
}

/* Mobile mengubah kartu menjadi satu kolom agar teks tidak terjepit. */
@media (max-width: 620px) {
  .value-grid-premium {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card-premium,
  .value-card-premium .value-body {
    min-height: 300px;
  }

  .value-card-premium .value-body {
    padding: 78px 24px 54px;
  }

  .value-card-premium .value-icon {
    top: 24px;
    right: 24px;
  }

  .value-card-premium .value-index {
    right: 24px;
  }
}
/* ================================================================
   ASCOT PRODUCT CATEGORIES
================================================================ */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}


/* ================================================================
   CATEGORY CARD
================================================================ */

.category-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 330px;

  padding: 30px;

  overflow: hidden;

  border: 1px solid rgba(20, 25, 32, 0.08);
  border-radius: 26px;

background:
  radial-gradient(
    circle at 88% 8%,
    rgba(255, 225, 218, 0.55) 0%,
    rgba(255, 225, 218, 0) 38%
  ),
  linear-gradient(
    145deg,
    #ffffff 0%,
    #fdfbf8 45%,
    #f7f1ec 100%
  );

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}


/* GARIS MERAH DI ATAS */

.category-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 28px;

  width: 58px;
  height: 4px;

  border-radius: 0 0 8px 8px;

  background: #e30613;

  transition: width 0.35s ease;
}


/* ================================================================
   NOMOR
================================================================ */

.category-number {
  position: absolute;

  top: 25px;
  right: 27px;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  border:
    1px solid rgba(227, 6, 19, 0.20);

  border-radius: 50%;

  background:
    rgba(227, 6, 19, 0.05);

  color: #e30613;

  font-size: 12px;
  font-weight: 1200;

  letter-spacing: 0.08em;
}


/* ================================================================
   ISI
================================================================ */

.category-content {
  padding-top: 58px;
}


.category-content small {
  display: block;

  max-width: 80%;

  margin-bottom: 13px;

  color: #e30613;

  font-size: 10px;

  font-weight: 1200;

  line-height: 1.4;

  letter-spacing: 0.13em;
}


.category-content h3 {
  margin: 0 0 14px;

  color: #171b21;

  font-size: 28px;

  line-height: 1.08;

  letter-spacing: -0.035em;
}


.category-content p {
  margin: 0 0 20px;

  color: #687280;

  font-size: 13px;

  line-height: 1.65;
}


/* ================================================================
   BRAND
================================================================ */

.category-brands {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}


.category-brands span {
  display: inline-flex;

  align-items: center;

  padding: 7px 10px;

  border:
    1px solid rgba(30, 35, 42, 0.09);

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.8);

  color: #4d5662;

  font-size: 10px;

  font-weight: 700;

  line-height: 1.3;
}


/* ================================================================
   ARROW
================================================================ */

.category-arrow {
  position: absolute;

  right: 28px;
  bottom: 25px;

  color: #9aa1aa;

  font-size: 18px;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}


/* ================================================================
   KARTU KE-7
================================================================ */

.category-card:nth-child(7) {
  grid-column: 2;
}


/* ================================================================
   HOVER
================================================================ */

.category-card:hover {
  transform: translateY(-7px);

  border-color:
    rgba(227, 6, 19, 0.18);

  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.14);
}


.category-card:hover::before {
  width: 120px;
}


.category-card:hover .category-arrow {
  color: #e30613;

  transform:
    translate(4px, -4px);
}


/* ================================================================
   TABLET
================================================================ */

@media (max-width: 1000px) {

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card:nth-child(7) {
    grid-column: auto;
  }

}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 620px) {

  .category-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .category-card:nth-child(7) {
    grid-column: auto;
  }

  .category-card {
    min-height: 300px;

    padding: 26px;
  }

  .category-content {
    padding-top: 55px;
  }

  .category-content h3 {
    font-size: 25px;
  }

}
/* ================================================================
   EXTRA CATEGORY SLIDER 05 - 07
================================================================ */

.category-extra-slider {
  grid-column: 1 / -1;

  display: flex;

  gap: 20px;

  width: 100%;

  overflow-x: auto;

  overflow-y: hidden;

  scroll-behavior: smooth;

  scroll-snap-type: x mandatory;

  padding-bottom: 8px;

  scrollbar-width: none;
}


/* Hilangkan scrollbar Chrome */

.category-extra-slider::-webkit-scrollbar {
  display: none;
}


/* Kartu 05-07 */

.category-extra-slider .category-card {
  flex: 0 0 calc((100% - 20px) / 2);

  min-width: calc((100% - 20px) / 2);

  scroll-snap-align: start;
}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 650px) {

  .category-extra-slider {
    gap: 15px;
  }

  .category-extra-slider .category-card {
    flex: 0 0 85%;

    min-width: 85%;
  }

}
/* =========================================================
   CATEGORY PRODUCT MODAL
========================================================= */

.category-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}


/* MODAL AKTIF */

.category-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* BACKGROUND */

.category-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(5, 8, 14, 0.78);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


/* BOX */

.category-modal-box {
  position: relative;

  width: min(1100px, 94vw);
  max-height: 88vh;

  overflow-y: auto;

  background: #ffffff;

  border-radius: 28px;

  padding: 48px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.3);

  transform: translateY(30px) scale(0.97);

  transition:
    transform 0.4s ease;
}


/* ANIMASI BOX */

.category-modal.active .category-modal-box {
  transform: translateY(0) scale(1);
}


/* CLOSE */

.category-modal-close {
  position: absolute;

  top: 22px;
  right: 22px;

  width: 44px;
  height: 44px;

  border: 1px solid #e5e5e5;
  border-radius: 50%;

  background: #ffffff;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  color: #222;

  transition: all 0.25s ease;
}

.category-modal-close:hover {
  background: #ed1c24;
  color: #ffffff;
  border-color: #ed1c24;

  transform: rotate(120deg);
}


/* HEADER */

.category-modal-header {
  max-width: 760px;

  margin-bottom: 35px;
}

.category-modal-header small {
  display: block;

  margin-bottom: 10px;

  color: #ed1c24;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.category-modal-header h2 {
  margin: 0 0 12px;

  color: #111827;

  font-size: clamp(30px, 4vw, 48px);

  line-height: 1.05;

  letter-spacing: -1.5px;
}

.category-modal-header p {
  margin: 0;

  color: #687386;

  font-size: 15px;

  line-height: 1.7;
}


/* PRODUCT GRID */

.modal-product-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;
}


/* PRODUCT CARD */

.modal-product-card {
  position: relative;

  overflow: hidden;

  border: 1px solid #e8e8e8;

  border-radius: 20px;

  background: #ffffff;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.modal-product-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.1);
}


/* PRODUCT IMAGE */

.modal-product-image {
  position: relative;

  width: 100%;
  height: 210px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #f4f5f7,
      #e8eaed
    );
}


/* FOTO PRODUK */

.modal-product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.5s ease;
}

.modal-product-card:hover
.modal-product-image img {
  transform: scale(1.05);
}


/* PLACEHOLDER KALAU BELUM ADA FOTO */

.modal-product-no-image {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  text-align: center;

  color: #9aa1ab;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 0.5px;
}


/* PRODUCT INFO */

.modal-product-info {
  padding: 20px;
}

.modal-product-brand {
  display: inline-block;

  margin-bottom: 9px;

  padding: 6px 10px;

  border: 1px solid #e5e5e5;

  border-radius: 8px;

  color: #ed1c24;

  background: #ffffff;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;
}

.modal-product-info h3 {
  margin: 0;

  color: #151922;

  font-size: 19px;

  line-height: 1.25;
}

.modal-product-info p {
  margin: 8px 0 0;

  color: #788291;

  font-size: 13px;

  line-height: 1.6;
}


/* SCROLLBAR */

.category-modal-box::-webkit-scrollbar {
  width: 6px;
}

.category-modal-box::-webkit-scrollbar-thumb {
  background: #d7d7d7;

  border-radius: 10px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

  .modal-product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .category-modal-box {
    padding: 35px;
  }

}


@media (max-width: 600px) {

  .category-modal {
    padding: 15px;
  }

  .category-modal-box {
    width: 100%;

    max-height: 92vh;

    padding: 28px 20px;

    border-radius: 22px;
  }

  .modal-product-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .modal-product-image {
    height: 1120px;
  }

  .category-modal-close {
    top: 15px;
    right: 15px;
  }

}
/* =========================================================
   UNTUK BERBAGAI KEBUTUHAN
========================================================= */

.needs-showcase {
  padding: 120px 5vw;
  background: #fff;
  overflow: hidden;
}

.needs-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.needs-header .eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.needs-header h2 {
  margin: 0 0 15px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
}

.needs-header h2 span {
  color: #e30613;
}

.needs-header p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}


/* =========================================================
   SLIDER
========================================================= */

.needs-slider {
  display: flex;
  gap: 18px;
  width: max-content;
  overflow: visible;
}


/* =========================================================
   CARD
========================================================= */

.need-card {
  position: relative;
  width: 420px;
  height: 560px;
  flex: 0 0 420px;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  cursor: pointer;
}

/* =========================================================
   FOTO CARD TENTANG KAMI
========================================================= */

.need-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;

  transition: transform 0.7s ease;
}


/* FOTO MEMBESAR SAAT KURSOR DIARAHKAN */

.need-card:hover img {
  transform: scale(1.08);
}

.need-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}


/* efek saat gambar disentuh */
.need-card:hover img {
  transform: scale(1.06);
}


/* =========================================================
   OVERLAY
========================================================= */

.need-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.30) 45%,
      rgba(0,0,0,0) 75%
    );
}


/* =========================================================
   CONTENT DI ATAS FOTO
========================================================= */

.need-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
}

.need-content > span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  opacity: .8;
}

.need-content h3 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.1;
}

.need-content p {
  margin: 0 0 18px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

.need-content a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.need-content a b {
  font-size: 18px;
}


/* =========================================================
   DOT
========================================================= */

.needs-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.needs-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
}

.needs-dots span.active {
  width: 25px;
  border-radius: 10px;
  background: #e30613;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .needs-showcase {
    padding: 65px 20px;
  }

  .need-card {
    width: 300px;
    height: 430px;
    flex-basis: 300px;
    border-radius: 18px;
  }

  .need-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .need-content h3 {
    font-size: 26px;
  }

}
/* ================================
   TOMBOL NAIK KE ATAS
================================ */

.floating-contact-button.back-to-top {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  background: #ffffff;
  color: #111111;
  align-items: center;
  justify-content: center;
}

.floating-contact-button.back-to-top:hover {
  background: #ed1c24;
  color: #ffffff;
}
/* ================================================================
   SEMUA TOMBOL BRAND
================================================================ */

.category-brands span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;

  border: 1px solid rgba(227, 6, 19, 0.35);
  border-radius: 8px;

  background: transparent;
  color: #e30613;

  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Saat diarahkan mouse, baru terisi penuh - menjaga tombol aksi utama (CTA merah solid) tetap paling menonjol. */
.category-brands span:hover {
  background: #e30613;
  border-color: #e30613;
  color: #ffffff;

  transform: translateY(-2px);

  box-shadow: 0 6px 16px rgba(227, 6, 19, 0.25);
}

/* =========================================================
   ASCOT GALLERY - FINAL RESPONSIVE
   HP / TABLET / LAPTOP
   Tambahkan PALING BAWAH file CSS
========================================================= */


/* =========================================================
   FIX ANGKA YANG TERLALU BESAR
========================================================= */

.site-brand img {
  width: 205px;
  max-width: 100%;
  height: auto;
}

.hero-copy {
  width: min(500px, calc(100vw - 48px));
}

.catalog-heading p {
  max-width: 620px;
}


/* =========================================================
   TABLET
   601px - 900px
========================================================= */

@media (min-width: 601px) and (max-width: 900px) {

  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 76px;
  }

  .site-brand img {
    width: 175px;
  }

  /* Hero lebih proporsional */
  .hero {
    height: 600px;
    min-height: 600px;
  }

  .hero-slide > img {
    transform: scale(1.02);
  }

  .hero-slide.is-active > img {
    transform: scale(1.05);
  }

  .hero-slide-company > img {
    object-position: 52% 48%;
    transform: scale(1.02);
  }

  .hero-slide-sika > img {
    object-position: 70% 50%;
    transform: scale(1.05);
  }

  .hero-slide-onna > img {
    object-position: 52% 50%;
    transform: scale(1.03);
  }

  .hero-slide-ascot > img {
    object-position: 50% 50%;
    transform: scale(1.03);
  }

  .hero-copy,
  .hero-copy-right {
    left: 30px;
    right: 30px;
    bottom: 80px;
    width: min(520px, calc(100% - 60px));
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(42px, 7vw, 58px);
  }

  .hero-copy p {
    font-size: 15px;
    max-width: 500px;
  }

  /* Quick cards */
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-grid a {
    min-height: 90px;
  }

  /* Kategori */
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Produk */
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}


/* =========================================================
   HP
   600px ke bawah
========================================================= */

@media (max-width: 600px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 28px);
    max-width: 100%;
  }


  /* =========================
     HEADER
  ========================= */

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand img {
    width: 145px;
    max-width: 145px;
    max-height: 42px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }


  /* =========================
     HERO
  ========================= */

  .hero {
    width: 100%;
    height: 540px;
    min-height: 540px;
  }

  /*
     Jangan terlalu zoom di HP.
     Ini bagian utama yang memperbaiki
     tampilan screenshot kamu.
  */

  .hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
  }

  .hero-slide.is-active > img {
    transform: scale(1.02);
  }

  /* Foto ASCOT */
  .hero-slide-company > img {
    object-position: 52% 48%;
    transform: scale(1);
  }

  /* Foto SIKA */
  .hero-slide-sika > img {
    object-position: 68% 50%;
    transform: scale(1.02);
  }

  /* Foto ONNA */
  .hero-slide-onna > img {
    object-position: 52% 50%;
    transform: scale(1);
  }

  /* Foto ASCOT Gallery */
  .hero-slide-ascot > img {
    object-position: 50% 50%;
    transform: scale(1);
  }


  /* =========================
     HERO TEXT
  ========================= */

  .hero-copy,
  .hero-copy-right {
    left: 16px;
    right: 16px;
    bottom: 68px;
    width: auto;
    max-width: none;
  }

  .hero-copy::before {
    inset: -18px -14px -18px -14px;
    border-radius: 18px;
    background: rgba(8, 10, 13, 0.32);
    backdrop-filter: blur(5px);
  }

  .hero-copy h1,
  .hero-copy h2 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(32px, 9.5vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .button {
    min-height: 44px;
    padding: 0 17px;
    font-size: 12px;
  }


  /* =========================
     DOT HERO
  ========================= */

  .hero-dots {
    bottom: 22px;
    gap: 6px;
  }

  .hero-dot {
    width: 6px;
    height: 6px;
  }

  .hero-dot.is-active {
    width: 21px;
  }


  /* =========================
     QUICK STRIP
  ========================= */

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

  .quick-grid a {
    min-height: 76px;
    gap: 8px;
    padding: 12px 10px;
  }

  .quick-grid b {
    font-size: 18px;
  }

  .quick-grid span {
    font-size: 11px;
    line-height: 1.3;
  }

  .quick-grid i {
    font-size: 12px;
  }


  /* =========================
     SECTION
  ========================= */

  .about-showcase,
  .featured-products,
  .catalog-section,
  .channels-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .section-heading-row,
  .catalog-heading {
    display: block;
  }

  .section-heading-row h2,
  .catalog-heading h2 {
    font-size: 32px;
  }


  /* =========================
     CATEGORY
  ========================= */

  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-card {
    min-height: 280px;
    padding: 24px;
    border-radius: 20px;
  }

  .category-content {
    padding-top: 52px;
  }

  .category-content h3 {
    font-size: 24px;
  }

  .category-content p {
    font-size: 12px;
  }

  .category-number {
    width: 46px;
    height: 46px;
    top: 20px;
    right: 20px;
  }


  /* =========================
     FEATURED PRODUCT
  ========================= */

  .featured-heading {
    display: block;
  }

  .featured-intro {
    font-size: 13px;
  }

  .featured-cta {
    margin-top: 16px;
  }

  .featured-marquee .feature-card-product {
    width: 330px;
    height: 195px;
    flex-basis: 330px;
  }


  /* =========================
     PRODUCT CATALOG
  ========================= */

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-body {
    padding: 10px;
  }

  .product-body h3 {
    font-size: 12px;
    line-height: 1.35;
  }


  /* =========================
     CHANNEL
  ========================= */

  .channel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .channel-card {
    min-height: 175px;
    padding: 16px 10px;
    border-radius: 18px;
  }

  .channel-card span {
    font-size: 13px;
  }

  .channel-card small {
    font-size: 10px;
  }


  /* =========================
     FOOTER
  ========================= */

  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 190px;
  }


  /* =========================
     MODAL PRODUK
  ========================= */

  .category-modal {
    padding: 10px;
  }

  .category-modal-box {
    width: 100%;
    max-height: 94vh;
    padding: 24px 16px;
    border-radius: 20px;
  }

  .category-modal-header {
    margin-bottom: 24px;
    padding-right: 35px;
  }

  .category-modal-header h2 {
    font-size: 30px;
  }

  .category-modal-header p {
    font-size: 13px;
  }

  .modal-product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modal-product-image {
    height: 210px;
  }

  .modal-product-info {
    padding: 16px;
  }

  .modal-product-info h3 {
    font-size: 17px;
  }


  /* =========================
     NEEDS / UNTUK BERBAGAI
     KEBUTUHAN
  ========================= */

  .needs-showcase {
    padding: 60px 16px;
  }

  .needs-header h2 {
    font-size: 36px;
  }

  .needs-header p {
    font-size: 14px;
  }

  .need-card {
    width: calc(100vw - 32px);
    max-width: 330px;
    height: 430px;
    flex-basis: calc(100vw - 32px);
    border-radius: 18px;
  }

  .need-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .need-content h3 {
    font-size: 25px;
  }

  .need-content p {
    font-size: 13px;
  }

}