:root {
  --white: #ffffff;
  --brand-primary: #7A963C;
  --brand-primary-rgb: 122, 150, 60;
  --brand-primary-dark: #536B2A;
  --brand-primary-dark-rgb: 83, 107, 42;
  --brand-primary-soft: #EEF5E7;
  --brand-primary-soft-rgb: 238, 245, 231;
  --brand-text: #102033;
  --footer-bg: #213816;
  --footer-bg-dark: #172812;
  --footer-text: #FFFFFF;
  --footer-muted: rgba(255, 255, 255, 0.72);
  --footer-border: rgba(255, 255, 255, 0.12);
  --footer-accent: #A8D46F;
  --brand-accent: var(--footer-accent);
  --soft-bg: var(--brand-primary-soft);
  --section-soft-background: var(--brand-primary-soft);
  --section-soft-gradient: linear-gradient(180deg, #ffffff 0%, var(--brand-primary-soft) 100%);
  --text: var(--brand-text);
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(var(--brand-primary-dark-rgb), 0.1);
  --radius: 18px;
  --topbar-height: 34px;
  --header-height: 82px;
  --site-header-offset: calc(var(--topbar-height) + var(--header-height));
}

body[data-brand="mataram"] {
  --white: #ffffff;
  --brand-primary: #7A963C;
  --brand-primary-rgb: 122, 150, 60;
  --brand-primary-dark: #536B2A;
  --brand-primary-dark-rgb: 83, 107, 42;
  --brand-primary-soft: #EEF5E7;
  --brand-primary-soft-rgb: 238, 245, 231;
  --brand-text: #102033;
  --footer-bg: #213816;
  --footer-bg-dark: #172812;
  --footer-text: #FFFFFF;
  --footer-muted: rgba(255, 255, 255, 0.72);
  --footer-border: rgba(255, 255, 255, 0.12);
  --footer-accent: #A8D46F;
  --brand-accent: var(--footer-accent);
  --soft-bg: var(--brand-primary-soft);
  --section-soft-background: var(--brand-primary-soft);
  --section-soft-gradient: linear-gradient(180deg, #ffffff 0%, var(--brand-primary-soft) 100%);
  --text: var(--brand-text);
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(var(--brand-primary-dark-rgb), 0.1);
  --radius: 18px;
  --topbar-height: 34px;
  --header-height: 82px;
  --site-header-offset: calc(var(--topbar-height) + var(--header-height));
}

body[data-brand="mega"] {
  --brand-primary: #0057B8;
  --brand-primary-rgb: 0, 87, 184;
  --brand-primary-dark: #003E87;
  --brand-primary-dark-rgb: 0, 62, 135;
  --brand-primary-soft: #EAF3FF;
  --brand-primary-soft-rgb: 234, 243, 255;
  --brand-text: #102033;
  --footer-bg: #071E46;
  --footer-bg-dark: #04152F;
  --footer-text: #FFFFFF;
  --footer-muted: rgba(255, 255, 255, 0.74);
  --footer-border: rgba(255, 255, 255, 0.14);
  --footer-accent: #4DA3FF;
  --brand-accent: var(--footer-accent);
  --soft-bg: var(--brand-primary-soft);
  --section-soft-background:
    radial-gradient(circle at 18% 12%, rgba(var(--brand-primary-rgb), 0.08), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, var(--brand-primary-soft) 100%);
  --section-soft-gradient: linear-gradient(180deg, #ffffff 0%, var(--brand-primary-soft) 100%);
  --shadow: 0 18px 45px rgba(var(--brand-primary-dark-rgb), 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-offset) + 24px);
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: var(--site-header-offset);
  overflow-x: hidden;
  width: 100%;
  background: var(--white);
  color: var(--text);
  font-family: Inter, Poppins, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img,
svg,
iframe {
  max-width: 100%;
}

img,
iframe {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

section {
  scroll-margin-top: calc(var(--site-header-offset) + 24px);
}

.topbar,
.top-bar {
  background: var(--brand-primary);
  color: var(--white);
  height: var(--topbar-height);
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-size: 14px;
}

.topbar-inner,
.top-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 18px);
  min-width: 0;
}

.brand-switcher,
.top-bar__brand-switches {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
}

.brand-switch {
  position: relative;
  overflow: hidden;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.82;
  transition: background-color 0.25s ease, opacity 0.25s ease;
}

.brand-switch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.brand-switch:hover,
.brand-switch.active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand-switch:hover::after,
.brand-switch.active::after {
  transform: translateX(120%);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  min-width: 0;
}

.topbar-portal {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.9;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background-color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.topbar-portal:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switch a,
.language-switch span {
  color: var(--white);
  text-decoration: none;
}

.language-switch a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body[data-brand="mega"] .topbar,
body[data-brand="mega"] .top-bar,
body[data-brand="mega"] .topbar a,
body[data-brand="mega"] .topbar button,
body[data-brand="mega"] .topbar span,
body[data-brand="mega"] .top-bar a,
body[data-brand="mega"] .top-bar button,
body[data-brand="mega"] .top-bar span,
body[data-brand="mega"] .btn--primary,
body[data-brand="mega"] .badge {
  color: #ffffff;
}

body[data-brand="mega"] .btn--primary:hover {
  color: #ffffff;
}

.topbar,
.top-bar,
.site-header,
.navbar,
.navbar__menu,
main,
.site-main,
.hero,
section,
.feature-card,
.category-card,
.promo-card,
.brand-card,
.card,
.service-item,
.stat-card,
.contact-card,
.map-placeholder,
.btn,
.footer {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

body.is-brand-switching main,
body.is-brand-switching .site-main,
body.is-brand-switching .navbar,
body.is-brand-switching .site-footer,
body.is-brand-switching .footer {
  opacity: 0.35;
  transform: translateY(6px);
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

.brand-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.58) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.brand-transition-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.brand-transition-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.brand-transition-overlay.is-active .brand-transition-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.brand-transition-mark img {
  width: 82px;
  height: auto;
  object-fit: contain;
}

body[data-brand="mataram"] .brand-transition-mark {
  box-shadow:
    0 24px 70px rgba(90, 159, 50, 0.22),
    0 0 0 1px rgba(90, 159, 50, 0.16);
}

body[data-brand="mega"] .brand-transition-mark {
  box-shadow:
    0 24px 70px rgba(0, 87, 184, 0.24),
    0 0 0 1px rgba(0, 87, 184, 0.18);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: var(--white);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.navbar {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 28px);
  min-width: 0;
  background: var(--white);
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 0;
}

.navbar__logo img {
  width: auto;
  max-width: clamp(124px, 13vw, 150px);
  max-height: 64px;
  object-fit: contain;
}

.navbar__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(2px, 0.5vw, 8px);
  min-width: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 clamp(8px, 0.9vw, 12px);
  color: var(--text);
  font-size: clamp(13px, 0.9vw, 14px);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary-dark);
}

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

.navbar__toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.navbar__toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar__toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 42px);
  text-align: center;
}

.section-heading--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  text-align: left;
}

.section-heading h2,
.service-copy h2,
.about-layout h2,
.contact-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p,
.service-copy p,
.about-layout p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
}

.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 clamp(18px, 2vw, 22px);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--primary {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(var(--brand-primary-rgb), 0.22);
}

.btn--primary:hover {
  background: var(--brand-primary-dark);
}

.btn--outline {
  border-color: rgba(var(--brand-primary-dark-rgb), 0.28);
  background: var(--white);
  color: var(--brand-primary-dark);
}

.btn--outline:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.btn--soft {
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
}

.btn--soft:hover {
  background: var(--brand-primary);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 680px);
  height: auto;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(var(--brand-primary-soft-rgb), 0.74) 100%),
    radial-gradient(circle at 90% 18%, rgba(var(--brand-primary-rgb), 0.12), transparent 28%);
  pointer-events: none;
}

.hero__carousel,
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero__slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: clamp(520px, 78vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 360px), 0.92fr);
  align-items: center;
  gap: clamp(28px, 4vw, 48px);
}

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

.hero__content h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(36px, 5.6vw, 58px);
  line-height: 1.05;
  font-weight: 900;
}

.hero__content h1 span {
  color: var(--brand-primary-dark);
}

.hero__subtitle {
  max-width: 590px;
  margin: clamp(16px, 2vw, 22px) 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 14px);
  margin-top: clamp(24px, 3vw, 32px);
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-height: clamp(360px, 36vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
  border-radius: 30px;
  background: var(--soft-bg);
  box-shadow: var(--shadow);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.18));
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 36vw, 430px);
  object-fit: cover;
  display: block;
}

.hero__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: clamp(42px, 4vw, 48px);
  height: clamp(42px, 4vw, 48px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--brand-primary-dark-rgb), 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-primary-dark);
  box-shadow: 0 12px 26px rgba(31, 41, 55, 0.1);
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero__nav:hover {
  background: var(--brand-primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.hero__nav--prev {
  left: max(20px, calc((100vw - 1180px) / 2 - 72px));
}

.hero__nav--next {
  right: max(20px, calc((100vw - 1180px) / 2 - 72px));
}

.hero__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--brand-primary-dark-rgb), 0.24);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero__dots button.active {
  width: 28px;
  background: var(--brand-primary);
}

.quick-menu {
  background: var(--section-soft-background);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2vw, 22px);
}

.feature-card {
  min-height: clamp(180px, 18vw, 214px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-size: 22px;
}

.feature-card h3,
.promo-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.feature-card p,
.promo-card p {
  margin: 0;
  color: var(--muted);
}

.category-section {
  background: var(--white);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(16px, 2vw, 20px);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(190px, 20vw, 220px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: clamp(128px, 14vw, 150px);
  object-fit: cover;
}

.category-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(62px, 6vw, 68px);
  padding: 0 clamp(16px, 2vw, 18px);
  color: var(--text);
  font-weight: 800;
}

.category-card span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--brand-primary);
  border-right: 2px solid var(--brand-primary);
  transform: rotate(45deg);
}

.promo-section {
  background: var(--section-soft-background);
}

.promo-section .section-heading {
  max-width: 780px;
}

.promo-brand-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2vw, 22px);
}

.promo-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(var(--brand-primary-dark-rgb), 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.promo-card:hover {
  border-color: rgba(var(--brand-primary-rgb), 0.55);
  box-shadow: 0 18px 42px rgba(var(--brand-primary-dark-rgb), 0.12);
  transform: translateY(-4px);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.promo-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand-primary-dark);
  font-weight: 800;
}

.promo-card a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.brand-section {
  padding-block: clamp(56px, 8vw, 90px);
  background: var(--section-soft-gradient);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-top: clamp(30px, 4vw, 42px);
}

.brand-card {
  min-height: clamp(120px, 13vw, 150px);
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);

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

  overflow: hidden;

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

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

  max-width: clamp(96px, 8vw, 118px);
  max-height: 80px;

  object-fit: contain;
  display: block;

  filter: grayscale(1) contrast(0.95) brightness(0.72);
  opacity: 0.58;

  transition:
    filter 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s ease;
}

.brand-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--brand-primary-rgb), 0.45);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.10),
    0 0 0 6px rgba(var(--brand-primary-rgb), 0.08);
  background: var(--section-soft-gradient);
}

.brand-card:hover img {
  filter: grayscale(0) contrast(1) brightness(1);
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  }

  .brand-card {
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}

.service-section {
  background: var(--section-soft-background);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 54px);
}

.service-copy {
  max-width: 520px;
}

.service-copy .btn {
  margin-top: 28px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(12px, 1.6vw, 16px);
}

.service-item {
  min-height: clamp(96px, 9vw, 112px);
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.8vw, 16px);
  padding: clamp(18px, 2vw, 20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.service-item span {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.service-item p {
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 700;
}

.about-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.about-section::before,
.about-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.about-section::before {
  width: clamp(260px, 30vw, 520px);
  height: clamp(260px, 30vw, 520px);
  right: min(-12vw, -80px);
  top: 8%;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.13), transparent 68%);
  filter: blur(4px);
}

.about-section::after {
  width: clamp(180px, 18vw, 320px);
  height: clamp(180px, 18vw, 320px);
  left: min(-8vw, -64px);
  bottom: 10%;
  background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.08), transparent 70%);
}

.about-wrapper,
.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.about-content {
  max-width: 680px;
}

.about-content [data-about-text] {
  max-width: 650px;
  line-height: 1.85;
}

.about-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 28px);
}

.about-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.09);
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 850;
}

.about-badge--soft {
  background: var(--white);
  box-shadow: 0 12px 28px rgba(var(--brand-primary-dark-rgb), 0.06);
}

.about-layout .btn,
.about-content .btn {
  margin-top: clamp(24px, 3vw, 34px);
}

.stats-grid,
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 20px);
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(150px, 13vw, 172px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.5vw, 28px);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(var(--brand-primary-soft-rgb), 0.88) 100%);
  box-shadow: 0 18px 42px rgba(var(--brand-primary-dark-rgb), 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -42px;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.08);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-primary-rgb), 0.45);
  box-shadow:
    0 24px 56px rgba(var(--brand-primary-dark-rgb), 0.12),
    0 0 0 6px rgba(var(--brand-primary-rgb), 0.06);
}

.stat-card strong {
  position: relative;
  z-index: 1;
  color: var(--brand-primary-dark);
  font-size: clamp(32px, 3.5vw, 42px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.stat-card .stat-value--compact {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
}

.stat-card span {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.history-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 16%, rgba(var(--brand-primary-rgb), 0.10), transparent 26%),
    linear-gradient(180deg, #f8faf7 0%, var(--brand-primary-soft) 100%);
}

.history-section::after {
  content: "SINCE 1986";
  position: absolute;
  left: 50%;
  top: clamp(28px, 5vw, 72px);
  z-index: -1;
  transform: translateX(-50%);
  color: rgba(var(--brand-primary-dark-rgb), 0.055);
  font-size: clamp(58px, 12vw, 170px);
  font-weight: 950;
  line-height: 0.9;
  white-space: nowrap;
  letter-spacing: 0;
  pointer-events: none;
}

.history-header {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 58px);
  text-align: center;
}

.history-header h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.history-header p {
  margin: 0 auto;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.history-timeline {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 42px);
  max-width: 1080px;
  margin: 0 auto;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  bottom: 16px;
  width: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(var(--brand-primary-rgb), 0.35), transparent);
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
}

.history-item:nth-child(odd) .history-card {
  grid-column: 1;
}

.history-item:nth-child(even) .history-card {
  grid-column: 3;
}

.history-dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 20px;
  height: 20px;
  border: 5px solid var(--white);
  border-radius: 999px;
  background: var(--brand-primary);
  box-shadow:
    0 0 0 1px rgba(var(--brand-primary-rgb), 0.18),
    0 16px 32px rgba(var(--brand-primary-dark-rgb), 0.18);
}

.history-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(var(--brand-primary-dark-rgb), 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.history-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-primary-rgb), 0.42);
  box-shadow: 0 28px 68px rgba(var(--brand-primary-dark-rgb), 0.13);
}

.year-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.history-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
}

.history-card p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.8;
}

.history-summary {
  margin-bottom: 18px;
}

.history-detail {
  margin-top: 16px;
}

.history-detail[hidden] {
  display: none;
}

.history-card[data-history-expanded="true"] .history-detail {
  animation: historyDetailReveal 0.24s ease;
}

.history-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.history-toggle:hover {
  background: rgba(var(--brand-primary-rgb), 0.14);
  border-color: rgba(var(--brand-primary-rgb), 0.34);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(var(--brand-primary-dark-rgb), 0.08);
}

.history-toggle:focus-visible {
  outline-offset: 3px;
}

@keyframes historyDetailReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  background: var(--section-soft-background);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.contact-card,
.map-placeholder {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.04);
}

.contact-card {
  padding: clamp(24px, 3vw, 32px);
}

.contact-list {
  display: grid;
  gap: clamp(14px, 2vw, 16px);
  margin-top: clamp(22px, 3vw, 26px);
}

.contact-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-primary-soft);
  color: var(--brand-primary-dark);
  font-size: 16px;
}

.contact-item__content span {
  display: block;
  color: var(--brand-primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.contact-item__content p {
  margin-top: 3px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.8vw, 12px);
  margin-top: clamp(24px, 3vw, 28px);
}

.contact-actions .btn {
  gap: 10px;
}

.map-placeholder {
  min-height: clamp(340px, 45vw, 520px);
  overflow: hidden;
  border-color: rgba(var(--brand-primary-rgb), 0.18);
  border-radius: 24px;
  background: var(--soft-bg);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 45vw, 520px);
  display: block;
  border: 0;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .map-placeholder,
  .map-placeholder iframe {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .map-placeholder,
  .map-placeholder iframe {
    min-height: 320px;
  }
}

.footer,
.site-footer {
  background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-dark) 100%);
  color: var(--footer-text);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(min(100%, 260px), 1fr) minmax(128px, 0.42fr) minmax(128px, 0.42fr) minmax(min(100%, 360px), 1.08fr);
  gap: clamp(28px, 4vw, 46px);
  padding: clamp(44px, 5vw, 58px) 0 clamp(30px, 4vw, 36px);
}

.footer__brand img {
  width: auto;
  max-width: 140px;
  max-height: 72px;
  height: auto;
  margin-bottom: 18px;
  border-radius: 0;
  object-fit: contain;
  overflow: visible;
}

body[data-brand="mega"] .footer__brand img {
  max-width: 150px;
  max-height: 92px;
  padding: 6px;
  box-sizing: content-box;
}

.footer__brand p {
  max-width: 480px;
  margin: 0;
  color: var(--footer-muted);
}

.footer p,
.footer a,
.site-footer p,
.site-footer a {
  color: var(--footer-muted);
}

.footer__links,
.footer-payment {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h3,
.footer-payment h4,
.site-footer h3,
.site-footer h4 {
  margin: 0 0 16px;
  color: var(--footer-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.footer__links a {
  color: var(--footer-muted);
}

.footer__links a:hover,
.site-footer a:hover {
  color: var(--footer-accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer__links--contact .footer-contact__link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--footer-text);
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer__links--contact .footer-contact__link:last-child {
  border-bottom: 0;
}

.footer__links--contact .footer-contact__link:hover {
  color: var(--footer-text);
  text-decoration: none;
  transform: translateX(3px);
}

.footer__links--contact .footer-contact__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--footer-text);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.footer__links--contact .footer-contact__link:hover .footer-contact__icon {
  background: var(--footer-accent);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--footer-bg-dark);
  transform: translateY(-1px);
}

.footer__links--contact .footer-contact__text {
  min-width: 0;
  color: var(--footer-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  align-items: center;
  gap: 12px;
  max-width: 390px;
  margin-top: 18px;
}

.payment-logo-card {
  width: 100%;
  height: 80px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.payment-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.payment-logo--qris {
  width: 74px;
  height: auto;
  max-height: 32px;
}

.payment-logo--mandiri,
.payment-logo--bni,
.payment-logo--visa {
  width: 78px;
  height: auto;
  max-height: 30px;
}

.payment-logo--bsi {
  width: 150px;
  height: auto;
}

.payment-logo--bca {
  width: 96px;
  height: auto;
  max-height: 34px;
}

.payment-logo--bpddiy {
  width: 100px;
  height: auto;
  max-height: 32px;
}

.payment-logo--jcb,
.payment-logo--mastercard {
  width: auto;
  height: 50px;
}

.payment-logo-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer__bottom,
.footer-bottom,
.footer-divider {
  padding: 22px 0 28px;
  border-top: 1px solid var(--footer-border);
}

.footer__bottom p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 14px;
}

:focus-visible {
  outline: 3px solid rgba(var(--brand-primary-rgb), 0.35);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .navbar__toggle {
    display: grid;
  }

  .navbar__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.13);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease, border-color 0.2s ease;
  }

  .navbar__menu.is-open {
    max-height: min(70vh, 430px);
    padding: 12px;
    border-color: var(--border);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    justify-content: center;
    border-radius: 12px;
  }

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

  .nav-link:hover,
  .nav-link.active {
    background: var(--brand-primary-soft);
  }

  .hero__nav--prev {
    left: 18px;
  }

  .hero__nav--next {
    right: 18px;
  }
}

@media (max-width: 980px) {
  :root,
  body[data-brand="mataram"],
  body[data-brand="mega"] {
    --header-height: 76px;
  }

  html {
    scroll-padding-top: calc(var(--site-header-offset) + 20px);
  }

  section {
    scroll-margin-top: calc(var(--site-header-offset) + 20px);
  }

  .hero {
    min-height: clamp(500px, 72vh, 560px);
  }

  .hero__inner {
    min-height: clamp(500px, 72vh, 560px);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__content {
    max-width: 650px;
    padding-right: 72px;
  }

  .hero__content h1 {
    font-size: clamp(34px, 6vw, 46px);
  }

  .hero__visual {
    position: absolute;
    right: -140px;
    bottom: 38px;
    width: min(440px, 58vw);
    min-height: clamp(260px, 34vw, 300px);
    opacity: 0.38;
  }

  .hero__visual img {
    min-height: clamp(260px, 34vw, 300px);
  }

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

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

  .service-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .service-copy {
    max-width: 720px;
  }

  .about-content {
    max-width: 760px;
  }

  .history-timeline::before {
    left: 24px;
  }

  .history-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .history-item:nth-child(odd) .history-card,
  .history-item:nth-child(even) .history-card {
    grid-column: 2;
  }

  .history-dot {
    grid-column: 1;
  }

  .history-timeline {
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .top-bar {
    min-height: 34px;
    padding: 6px 0;
    font-size: 12px;
  }

  .top-bar__inner {
    min-height: 34px;
    gap: 10px;
  }

  .top-bar__brand-switches {
    display: inline-flex;
    gap: 6px;
  }

  .brand-switch {
    padding: 4px 8px;
    font-size: 12px;
  }

  .language-switch {
    font-size: 12px;
  }

  .navbar__logo img {
    max-width: 124px;
    max-height: 56px;
  }

  .navbar__menu {
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: clamp(48px, 10vw, 66px);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .service-copy h2,
  .about-layout h2,
  .history-header h2,
  .contact-card h2 {
    font-size: clamp(28px, 8vw, 30px);
  }

  .hero {
    min-height: clamp(460px, 74vh, 520px);
  }

  .hero__inner {
    min-height: clamp(460px, 74vh, 520px);
  }

  .hero__content {
    padding-right: 0;
  }

  .hero__content h1 {
    font-size: clamp(32px, 10vw, 36px);
  }

  .hero__subtitle {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero__visual {
    right: max(-190px, -36vw);
    bottom: 22px;
    width: min(390px, 88vw);
    min-height: clamp(240px, 52vw, 260px);
  }

  .hero__visual img {
    min-height: clamp(240px, 52vw, 260px);
  }

  .hero__nav {
    top: auto;
    bottom: 22px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .hero__nav:hover {
    transform: scale(1.04);
  }

  .hero__nav--prev {
    left: 14px;
  }

  .hero__nav--next {
    right: 14px;
  }

  .hero__dots {
    bottom: 34px;
  }

  .quick-grid,
  .promo-grid,
  .category-grid,
  .service-list,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card,
  .promo-card,
  .contact-card {
    padding: clamp(20px, 6vw, 22px);
  }

  .category-card {
    min-height: clamp(180px, 48vw, 190px);
  }

  .category-card img {
    height: clamp(120px, 34vw, 128px);
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }

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

  .payment-grid {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    gap: 12px;
    max-width: 100%;
  }

  .payment-logo-card {
    height: 52px;
    padding: 8px 9px;
  }

  .payment-logo--qris {
    width: 66px;
    max-height: 28px;
  }

  .payment-logo--mandiri,
  .payment-logo--bni,
  .payment-logo--visa {
    width: 70px;
    max-height: 27px;
  }

  .payment-logo--bsi {
    width: 70px;
    height: 70px;
  }

  .payment-logo--bca {
    width: 84px;
    max-height: 30px;
  }

  .payment-logo--bpddiy {
    width: 88px;
    max-height: 20px;
  }

  .payment-logo--jcb,
  .payment-logo--mastercard {
    width: auto;
    height: 32px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: calc(var(--site-header-offset) + 10px);
  }

  section {
    scroll-margin-top: calc(var(--site-header-offset) + 10px);
  }

  .topbar,
  .top-bar {
    min-height: 34px;
  }

  .topbar-inner,
  .top-bar__inner {
    gap: 10px;
  }

  .topbar-right {
    gap: 10px;
  }

  .topbar-portal,
  .brand-switch,
  .language-switch {
    font-size: 12px;
  }

  .topbar-portal {
    padding: 3px 7px;
  }
}

@media (max-width: 430px) {
  .topbar-inner,
  .top-bar__inner {
    gap: 4px;
  }

  .brand-switcher,
  .top-bar__brand-switches {
    gap: 3px;
  }

  .brand-switch {
    padding-inline: 3px;
    font-size: 10px;
  }

  .topbar-right {
    gap: 3px;
  }

  .topbar-portal {
    padding-inline: 3px;
    font-size: 10px;
  }

  .language-switch {
    gap: 3px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .hero__content h1 {
    font-size: clamp(30px, 9vw, 32px);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__dots {
    display: none;
  }

  .service-item {
    min-height: auto;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .history-card {
    padding: 22px;
  }

  .history-card h3 {
    font-size: clamp(20px, 6vw, 24px);
  }

  .history-summary,
  .history-detail p {
    font-size: 15px;
    line-height: 1.7;
  }

  .history-toggle {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .brand-transition-overlay {
    display: none;
  }
}
