:root {
  --font-main: "Plus Jakarta Sans", sans-serif;
  --bg-dark: #fbfbfe;
  --bg-dark-soft: #050315;
  --bg-light: #fbfbfe;
  --surface-light: #fbfbfe;
  --surface-dark: rgba(251, 251, 254, 0.04);
  --primary: #433bff;
  --primary-dark: #050315;
  --text-dark: #050315;
  --text-light: #050315;
  --muted-dark: rgba(5, 3, 21, 0.68);
  --muted-light: rgba(5, 3, 21, 0.68);
  --border-dark: rgba(5, 3, 21, 0.14);
  --border-light: rgba(5, 3, 21, 0.15);
  --radius-lg: 1.2rem;
  --radius-md: 0.85rem;
  --radius-sm: 0.6rem;
  --shadow-main: 0 20px 40px rgba(5, 3, 21, 0.16);
  --container: min(1120px, calc(100% - 2.5rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  line-height: 1.6;
  background: var(--bg-dark);
  color: var(--text-dark);
}

body.menu-open {
  overflow: hidden;
}

.page-home {
  background: var(--bg-dark);
}

.page-brand {
  background: var(--bg-light);
  color: var(--text-light);
}

.page-perodua {
  --primary: #00a651;
  --primary-dark: #0c7a3f;
  --surface-light: #ffffff;
  --border-light: rgba(139, 149, 160, 0.34);
  --muted-light: rgba(5, 3, 21, 0.76);
  background: #ffffff;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: #fbfbfe;
  color: #050315;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding-top: 1rem;
}

.nav-shell {
  width: var(--container);
  margin-inline: auto;
  position: relative;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.45rem 0.6rem 0.45rem 0.7rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-dark);
  background: rgba(251, 251, 254, 0.9);
  box-shadow: var(--shadow-main);
  transition: transform 0.25s ease, padding 0.25s ease, background 0.25s ease;
}

.page-brand .nav-pill {
  background: rgba(251, 251, 254, 0.85);
  border-color: var(--border-light);
  box-shadow: 0 14px 35px rgba(5, 3, 21, 0.12);
}

.page-perodua .nav-pill {
  background: #ffffff;
  border-color: rgba(132, 142, 154, 0.45);
  box-shadow: 0 14px 35px rgba(5, 3, 21, 0.11);
}

.page-proton .nav-pill {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 35px rgba(5, 3, 21, 0.48);
}

.nav-shell.is-shrunk .nav-pill {
  padding: 0.32rem 0.55rem 0.32rem 0.6rem;
  transform: translateY(-2px) scale(0.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 1.15;
  max-width: calc(100% - 56px);
  overflow: hidden;
  text-overflow: ellipsis;
  color: #050315;
  padding: 0.28rem 0.32rem;
}

.brand.brand-logo {
  padding: 0;
  max-width: none;
}

.brand.brand-logo img {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.page-perodua .brand.brand-logo img {
  height: 36px;
  transform: scale(1.12);
  transform-origin: center;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-links a {
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--muted-dark);
  transition: background 0.2s ease, color 0.2s ease;
}

.page-brand .nav-links a {
  color: var(--muted-light);
}

.page-proton .nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: #050315;
  color: #fbfbfe;
}

.page-brand .nav-links a:hover,
.page-brand .nav-links a:focus-visible,
.page-brand .nav-links a[aria-current="page"] {
  background: #050315;
  color: #fbfbfe;
}

.page-perodua .nav-links a:hover,
.page-perodua .nav-links a:focus-visible,
.page-perodua .nav-links a[aria-current="page"] {
  background: #00a651;
  color: #050315;
}

.page-proton .nav-links a:hover,
.page-proton .nav-links a:focus-visible,
.page-proton .nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.menu-toggle {
  border: 1px solid rgba(5, 3, 21, 0.2);
  background: rgba(251, 251, 254, 0.78);
  color: #050315;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-proton .menu-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #ffffff;
}

.page-perodua .menu-toggle {
  border-color: rgba(0, 166, 81, 0.35);
  background: rgba(232, 236, 241, 0.9);
  color: #050315;
}

.menu-toggle span {
  width: 15px;
  height: 1.7px;
  background: currentColor;
  display: block;
  margin: 2.1px auto;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
  border-radius: 999px;
  transform-origin: center;
}

.menu-toggle span:nth-child(2) {
  width: 11px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(5, 3, 21, 0.34);
  background: #fbfbfe;
}

.page-proton .menu-toggle:hover,
.page-proton .menu-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.page-perodua .menu-toggle:hover,
.page-perodua .menu-toggle:focus-visible {
  border-color: #00a651;
  background: #00a651;
  color: #050315;
}

.menu-toggle:focus-visible {
  outline: 2px solid #433bff;
  outline-offset: 2px;
}

.nav-shell.menu-open .menu-toggle {
  background: #fbfbfe;
  color: #050315;
  border-color: rgba(5, 3, 21, 0.34);
}

.page-proton .nav-shell.menu-open .menu-toggle {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.page-perodua .nav-shell.menu-open .menu-toggle {
  background: #00a651;
  color: #050315;
  border-color: #00a651;
}

.nav-shell.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(4.1px) rotate(45deg);
}

.nav-shell.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-shell.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-4.1px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  border-radius: var(--radius-md);
  background: rgba(251, 251, 254, 0.98);
  border: 1px solid var(--border-dark);
  display: grid;
  gap: 0.3rem;
  padding: 0.65rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.page-brand .mobile-menu {
  background: rgba(251, 251, 254, 0.98);
  border-color: var(--border-light);
}

.page-perodua .mobile-menu {
  background: #ffffff;
  border-color: rgba(132, 142, 154, 0.4);
}

.page-proton .mobile-menu {
  background: rgba(5, 3, 21, 0.98);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu a {
  text-decoration: none;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  color: var(--text-dark);
}

.page-brand .mobile-menu a {
  color: var(--text-light);
}

.page-perodua .mobile-menu a {
  color: #050315;
}

.page-proton .mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: #050315;
  color: #fbfbfe;
}

.page-perodua .mobile-menu a:hover,
.page-perodua .mobile-menu a:focus-visible {
  background: #00a651;
  color: #050315;
}

.page-proton .mobile-menu a:hover,
.page-proton .mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.nav-shell.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.hero {
  padding-top: clamp(6rem, 10vw, 8rem);
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.hero-home .hero-grid {
  grid-template-areas:
    "copy"
    "image"
    "actions";
}

.hero-home .hero-copy {
  grid-area: copy;
}

.hero-home .hero-visual {
  grid-area: image;
}

.hero-home .hero-actions {
  grid-area: actions;
}

.page-proton .hero-grid {
  grid-template-areas:
    "copy"
    "image"
    "actions";
}

.page-perodua .hero-grid {
  grid-template-areas:
    "copy"
    "image"
    "actions";
}

.page-proton .hero-copy {
  grid-area: copy;
}

.page-perodua .hero-copy {
  grid-area: copy;
}

.page-proton .hero-visual {
  grid-area: image;
}

.page-perodua .hero-visual {
  grid-area: image;
}

.page-proton .hero-actions {
  grid-area: actions;
}

.page-perodua .hero-actions {
  grid-area: actions;
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(67, 59, 255, 1);
}

.page-perodua .eyebrow {
  color: #00a651;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.3;
}

.lead {
  color: var(--muted-dark);
  max-width: 60ch;
  margin-bottom: 1.25rem;
}

.page-brand .lead,
.page-brand p,
.page-brand li {
  color: var(--muted-light);
}

.page-perodua .lead,
.page-perodua p,
.page-perodua li {
  color: #050315;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta-row.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #433bff);
  color: #fbfbfe;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #fbfbfe;
  color: #050315;
  border-color: #050315;
}

.btn-outline {
  border-color: rgba(67, 59, 255, 0.55);
  color: inherit;
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #050315;
  color: #fbfbfe;
  border-color: #050315;
}

.btn-ghost {
  border-color: var(--border-dark);
  color: var(--text-dark);
  background: rgba(251, 251, 254, 0.02);
}

.page-brand .btn-ghost {
  border-color: var(--border-light);
  color: var(--text-light);
  background: rgba(5, 3, 21, 0.02);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #050315;
  color: #fbfbfe;
  border-color: #050315;
}

.page-perodua .btn-primary {
  background: #00a651;
  color: #ffffff;
  border-color: #00a651;
}

.page-perodua .btn-primary:hover,
.page-perodua .btn-primary:focus-visible {
  background: #008b45;
  color: #ffffff;
  border-color: #008b45;
}

.page-perodua .btn-outline {
  border-color: #00a651;
  color: #ffffff;
  background: #00a651;
}

.page-perodua .btn-outline:hover,
.page-perodua .btn-outline:focus-visible {
  background: #008b45;
  color: #ffffff;
  border-color: #008b45;
}

.page-perodua .btn-ghost {
  border-color: #00a651;
  color: #ffffff;
  background: #00a651;
}

.page-perodua .btn-ghost:hover,
.page-perodua .btn-ghost:focus-visible {
  background: #008b45;
  color: #ffffff;
  border-color: #008b45;
}

.social-inline,
.footer-social {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-inline {
  margin-top: 1rem;
}

.social-inline a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: #050315;
  background: transparent;
  padding: 0;
  line-height: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-inline img,
.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.page-brand .social-inline a,
.page-brand .footer-social a {
  color: var(--text-light);
  background: transparent;
}

.social-inline a:hover,
.footer-social a:hover,
.social-inline a:focus-visible,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  background: transparent;
  color: #050315;
}

svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.image-frame {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(130deg, rgba(67, 59, 255, 0.22), rgba(5, 3, 21, 0.75)),
    repeating-linear-gradient(45deg, rgba(251, 251, 254, 0.06), rgba(251, 251, 254, 0.06) 10px, transparent 10px, transparent 20px);
  min-height: 220px;
}

.page-brand .image-frame {
  border-color: var(--border-light);
  background:
    linear-gradient(130deg, rgba(67, 59, 255, 0.12), rgba(251, 251, 254, 0.8)),
    repeating-linear-gradient(45deg, rgba(5, 3, 21, 0.05), rgba(5, 3, 21, 0.05) 10px, transparent 10px, transparent 20px);
}

.page-perodua .image-frame {
  border-color: rgba(139, 149, 160, 0.4);
  background: #f3f4f6;
}

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

.image-frame.is-missing::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: rgba(251, 251, 254, 0.88);
  text-align: center;
  padding: 1rem;
}

.page-brand .image-frame.is-missing::after {
  color: rgba(5, 3, 21, 0.75);
}

.hero-visual {
  min-height: clamp(290px, 45vw, 460px);
}

.page-proton .hero-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.page-perodua .hero-visual {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.page-proton .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-perodua .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-home .hero-visual {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin-inline: auto;
}

.hero-home .hero-visual img {
  object-position: center 84%;
  transform: scale(1.22);
  transform-origin: center top;
}

.split-card,
.feature-card,
.brand-card,
.model-card,
.quote-card,
.calculator,
.final-cta .container {
  border: 1px solid var(--border-dark);
  background: rgba(251, 251, 254, 0.02);
  border-radius: var(--radius-lg);
}

.page-brand .split-card,
.page-brand .feature-card,
.page-brand .brand-card,
.page-brand .model-card,
.page-brand .quote-card,
.page-brand .calculator,
.page-brand .final-cta .container {
  border-color: var(--border-light);
  background: var(--surface-light);
}

.page-perodua .split-card,
.page-perodua .feature-card,
.page-perodua .brand-card,
.page-perodua .model-card,
.page-perodua .quote-card,
.page-perodua .calculator,
.page-perodua .final-cta .container {
  border-color: rgba(139, 149, 160, 0.34);
  background: #ffffff;
}

.split-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.25rem;
}

.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.63rem;
}

.page-perodua .trust-list li::before {
  background: #00a651;
}

.split-card-proton {
  grid-template-areas:
    "copy"
    "image"
    "list";
}

.split-card-proton-copy {
  grid-area: copy;
}

.split-card-proton-photo {
  grid-area: image;
  width: min(100%, 250px);
  margin-inline: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 1.05rem;
  overflow: hidden;
}

.split-card-proton-list {
  grid-area: list;
}

.split-card-proton-photo img {
  object-fit: cover;
  object-position: center 18%;
}

.page-proton .split-card-proton {
  border-color: rgba(5, 3, 21, 0.12);
  background: #f3f4f8;
}

.page-perodua .split-card-proton {
  border-color: rgba(139, 149, 160, 0.34);
  background: #ffffff;
}

.page-proton .split-card-proton-copy p {
  max-width: 58ch;
}

.page-perodua .split-card-proton-copy p {
  max-width: 58ch;
}

.page-proton .split-card-proton-list {
  margin-top: 1rem;
  gap: 0.78rem;
}

.page-perodua .split-card-proton-list {
  margin-top: 1rem;
  gap: 0.78rem;
}

.page-proton .split-card-proton-list li {
  color: #050315;
  font-weight: 600;
  padding-left: 1.35rem;
}

.page-perodua .split-card-proton-list li {
  color: #050315;
  font-weight: 600;
  padding-left: 1.35rem;
}

.page-proton .split-card-proton-list li::before {
  background: #050315;
  width: 9px;
  height: 9px;
  top: 0.67rem;
}

.page-perodua .split-card-proton-list li::before {
  background: #050315;
  width: 9px;
  height: 9px;
  top: 0.67rem;
}

.feature-grid,
.brand-grid,
.model-grid,
.testimonial-grid,
.portfolio-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.brand-card,
.model-card,
.quote-card {
  padding: 1.1rem;
}

.model-grid {
  align-items: stretch;
}

.model-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brand-card {
  overflow: hidden;
}

.feature-card .icon {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 0.9rem;
}

.feature-card .icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.feature-card .icon svg {
  width: 80px;
  height: 80px;
}

.brand-card .image-frame,
.model-card .image-frame,
.quote-card .image-frame {
  min-height: 170px;
  margin-bottom: 0.9rem;
}

.model-card .image-frame {
  min-height: 170px;
  aspect-ratio: 16 / 10;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0.9rem;
  overflow: hidden;
}

.page-proton .model-card .image-frame img {
  object-fit: contain;
  transform: scale(1);
  transform-origin: center;
}

.page-perodua .model-card .image-frame img {
  object-fit: contain;
  transform: scale(0.99);
  transform-origin: center;
  filter: drop-shadow(0 10px 16px rgba(5, 3, 21, 0.22));
}

.page-perodua .model-card .image-frame {
  background: #ffffff;
  box-shadow: none;
}

.brand-card .image-frame {
  aspect-ratio: 1 / 1;
  width: min(100%, 420px);
  height: auto;
  min-height: 0;
  border: 0;
  background: transparent;
  border-radius: var(--radius-lg);
  margin: 0 auto 0.95rem;
}

.page-home .brand-card {
  width: min(100%, 420px);
  margin-inline: auto;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.page-home .brand-card .image-frame {
  width: 100%;
  margin: 0 0 0.95rem;
}

.page-home .brand-card .brand-content {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  background: rgba(251, 251, 254, 0.02);
  padding: 1rem 1rem 1.1rem;
}

.page-home .brand-card .brand-content h3,
.page-home .brand-card .brand-content p {
  margin: 0;
}

.page-home .brand-card .brand-content .btn {
  margin-top: 0.15rem;
  width: fit-content;
}

.tiktok-section .section-head {
  margin-bottom: 1.2rem;
}

.tiktok-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  margin-bottom: 1rem;
}

.tiktok-card .tiktok-embed {
  margin: 0 auto !important;
}

.tiktok-section .cta-row {
  justify-content: center;
}

.quote-card.quote-only {
  display: grid;
  gap: 0.85rem;
  border-left: 3px solid var(--primary);
}

.page-perodua .quote-card.quote-only {
  border-left-color: #d7261e;
}

.page-perodua .quote-card.quote-only span {
  color: rgba(215, 38, 30, 0.85);
}

.quote-card.quote-only p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #050315;
}

.quote-card.quote-only span {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(5, 3, 21, 0.62);
}

.model-card ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.model-price {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0.55rem;
  padding: 0.38rem 0.62rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(5, 3, 21, 0.14);
  background: rgba(5, 3, 21, 0.03);
  color: #050315;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.model-price span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(5, 3, 21, 0.62);
}

.page-perodua .model-price {
  border-color: rgba(0, 166, 81, 0.34);
  background: rgba(0, 166, 81, 0.09);
  color: #050315;
}

.page-perodua .model-price span {
  color: rgba(0, 106, 56, 0.9);
}

.card-actions {
  display: grid;
  gap: 0.55rem;
}

.model-card .card-actions {
  margin-top: auto;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.section-head-stack {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.section-head-stack p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted-dark);
}

.section-head .section-note {
  margin: -0.15rem 0 0;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(5, 3, 21, 0.58);
}

.page-perodua .section-head .section-note {
  color: rgba(5, 3, 21, 0.62);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid rgba(5, 3, 21, 0.16);
  border-radius: 0.85rem;
  background: rgba(251, 251, 254, 0.98);
  overflow: clip;
}

.page-brand .faq-item {
  border-color: var(--border-light);
  background: #ffffff;
}

.page-perodua .faq-item {
  border-color: rgba(0, 166, 81, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.5;
  padding: 0.9rem 2.7rem 0.9rem 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 800;
  color: #050315;
}

.faq-item[open] summary::after {
  content: "−";
}

.page-perodua .faq-item summary::after {
  color: #00a651;
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: rgba(5, 3, 21, 0.78);
  font-size: 0.93rem;
  line-height: 1.6;
}

.calculator-wrap {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.page-proton .calculator-wrap {
  grid-template-columns: 1fr;
  justify-items: center;
}

.page-perodua .calculator-wrap {
  grid-template-columns: 1fr;
  justify-items: center;
}

.page-proton .calculator-intro {
  width: min(100%, 760px);
}

.page-perodua .calculator-intro {
  width: min(100%, 760px);
}

.page-proton .calculator-intro p {
  margin-bottom: 0;
}

.page-perodua .calculator-intro p {
  margin-bottom: 0;
}

.page-proton .calculator-wrap .calculator {
  width: min(100%, 760px);
}

.page-perodua .calculator-wrap .calculator {
  width: min(100%, 760px);
}

.calculator {
  padding: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.calculator label {
  font-weight: 600;
  font-size: 0.9rem;
}

.calculator input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  font: inherit;
  padding: 0.7rem 0.85rem;
  background: #fbfbfe;
}

.page-home .calculator input {
  border-color: var(--border-dark);
  background: rgba(251, 251, 254, 0.03);
  color: var(--text-dark);
}

.calc-result {
  margin: 0.5rem 0;
  font-weight: 700;
  color: var(--primary);
}

.page-perodua .calc-result {
  color: #00a651;
}

.calc-send {
  width: fit-content;
}

.final-cta .container {
  padding: clamp(1.5rem, 3.2vw, 2.3rem);
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border-dark);
  padding: 2rem 0 1rem;
  background: #fbfbfe;
  color: #050315;
}

.light-footer {
  border-top: 1px solid var(--border-light);
  background: #fbfbfe;
  color: #050315;
}

.page-perodua .site-footer,
.page-perodua .light-footer {
  background: #d7261e;
  color: #ffffff;
  border-top-color: #b71d18;
}

.page-perodua .site-footer p,
.page-perodua .site-footer a,
.page-perodua .light-footer p,
.page-perodua .light-footer a {
  color: #ffffff;
}

.page-perodua .footer-social-title,
.page-perodua .credits,
.page-perodua .light-footer .credits {
  color: rgba(255, 255, 255, 0.92);
}

.page-perodua .credits .dev-link {
  color: #ffffff;
}

.page-perodua .credits .dev-link:hover,
.page-perodua .credits .dev-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer-social-wrap {
  display: grid;
  gap: 0.42rem;
  justify-items: center;
}

.footer-social {
  justify-content: center;
}

.footer-social-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.credits {
  text-align: center;
  font-size: 0.82rem;
  margin: 1rem auto 0;
  color: var(--muted-dark);
}

.light-footer .credits {
  color: var(--muted-light);
}

.credits .dev-link {
  color: #433bff;
  font-weight: 700;
  text-decoration: none;
}

.credits .dev-link:hover,
.credits .dev-link:focus-visible {
  color: #050315;
  text-decoration: underline;
}

.floating-wa,
.back-top {
  position: fixed;
  z-index: 60;
  border: 0;
  text-decoration: none;
}

.floating-wa {
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #ffffff;
  font-weight: 800;
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(37, 211, 102, 0.35);
}

.floating-wa img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.floating-wa:hover,
.floating-wa:focus-visible {
  background: #1faa52;
  color: #ffffff;
}

.back-top {
  left: 1rem;
  right: auto;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  color: #050315;
  display: grid;
  place-items: center;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  cursor: pointer;
}

.page-brand .back-top {
  background: transparent;
  color: #050315;
  border: 0;
}

.back-top:hover,
.back-top:focus-visible {
  background: transparent;
  color: #433bff;
  border: 0;
}

.page-brand .back-top:hover,
.page-brand .back-top:focus-visible {
  background: transparent;
  color: #433bff;
}

.page-perodua .back-top:hover,
.page-perodua .back-top:focus-visible {
  color: #00a651;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Proton button theme only */
.page-proton .btn-primary,
.page-proton .btn-outline,
.page-proton .btn-ghost {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.page-proton .btn-primary:hover,
.page-proton .btn-primary:focus-visible,
.page-proton .btn-outline:hover,
.page-proton .btn-outline:focus-visible,
.page-proton .btn-ghost:hover,
.page-proton .btn-ghost:focus-visible {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 740px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-home .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "copy image"
      "actions image";
    align-items: start;
  }

  .hero-home .hero-visual {
    justify-self: end;
    margin-inline: 0;
  }

  .hero-home .hero-visual img {
    object-position: center 72%;
    transform: scale(1.15);
  }

  .page-proton .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "copy image"
      "actions image";
    align-items: start;
  }

  .page-perodua .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "copy image"
      "actions image";
    align-items: start;
  }

  .page-proton .hero-visual {
    aspect-ratio: 16 / 10;
  }

  .page-perodua .hero-visual {
    aspect-ratio: 16 / 10;
  }

  .split-card {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .split-card-proton-photo {
    width: min(100%, 340px);
    margin-inline: auto;
    justify-self: center;
  }

  .page-proton .split-card-proton {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    grid-template-areas:
      "copy image"
      "list image";
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.2rem;
  }

  .page-proton .split-card-proton-copy {
    padding-right: 0.15rem;
  }

  .page-perodua .split-card-proton {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    grid-template-areas:
      "copy image"
      "list image";
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.2rem;
  }

  .page-perodua .split-card-proton-copy {
    padding-right: 0.15rem;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
    justify-items: stretch;
    text-align: left;
  }

  .footer-social-wrap {
    justify-items: start;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .calculator-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .floating-wa {
    bottom: 1.25rem;
  }

  .back-top {
    bottom: 1.25rem;
  }
}

@media (min-width: 980px) {
  .nav-pill {
    padding: 0.7rem 1.3rem;
    gap: 1rem;
  }

  .brand {
    font-size: 1.06rem;
    max-width: none;
    padding: 0.22rem 0.35rem;
    background: transparent;
  }

  .brand.brand-logo {
    padding: 0;
  }

  .brand.brand-logo img {
    height: 36px;
  }

  .page-perodua .brand.brand-logo img {
    height: 46px;
    transform: scale(1.12);
  }

  .nav-shell.is-shrunk .nav-pill {
    padding: 0.58rem 1.1rem;
    transform: translateY(-1px) scale(0.995);
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .nav-links {
    display: inline-flex;
    gap: 0.42rem;
  }

  .nav-links a {
    padding: 0.62rem 0.95rem;
    font-size: 0.93rem;
  }

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

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

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

  .page-proton .split-card-proton {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2.1rem;
  }

  .page-perodua .split-card-proton {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2.1rem;
  }
}

@media (max-width: 739px) {
  .page-proton [data-reveal],
  .page-perodua [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-perodua .model-card .image-frame {
    min-height: 190px;
    background: #ffffff;
  }

  .page-perodua .model-card .image-frame img {
    transform: scale(1.02);
  }
}

@media (max-width: 420px) {
  .floating-wa span {
    display: none;
  }

  .floating-wa {
    width: auto;
    height: auto;
    justify-content: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .floating-wa img {
    width: 34px;
    height: 34px;
  }

  .back-top {
    width: 34px;
    height: 34px;
  }

  .back-top svg {
    width: 34px;
    height: 34px;
  }

  .floating-wa:hover,
  .floating-wa:focus-visible {
    background: transparent;
  }
}
