/* ==========================================================================
   Manda Grup Nusantara — Jasa Legalitas Perusahaan
   Clean, Modular, Responsive Stylesheet
   ========================================================================== */

:root {
  /* Brand Colors (derived from Manda Grup Nusantara identity) */
  --maroon: #6e1b1e;
  --maroon-dark: #511214;
  --maroon-light: #8b262a;
  --maroon-tint: #f9efef;
  --gold: #c59a45;
  --gold-dark: #a87e2b;
  --gold-soft: #efe3c6;
  --gold-tint: #fbf6ea;

  /* Neutral & Surface Colors */
  --bg-cream: #faf6ee;
  --bg-soft: #f3ece0;
  --surface: #ffffff;
  --text: #221e1f;
  --text-muted: #5c5452;
  --border: #e5dccb;
  --border-strong: #d4c5ab;
  --whatsapp: #1fa855;
  --whatsapp-dark: #178743;

  /* Layout & Radius */
  --container-max: 1220px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(34, 30, 31, 0.05);
  --shadow-md: 0 14px 36px rgba(34, 30, 31, 0.09);
  --shadow-lg: 0 24px 54px rgba(81, 18, 20, 0.16);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg-cream);
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--maroon);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section {
  padding-block: clamp(64px, 8vw, 100px);
  scroll-margin-top: 82px;
}

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

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

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: var(--maroon-tint);
  border: 1px solid rgba(110, 27, 30, 0.14);
  color: var(--maroon);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

.section-heading h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-heading h2 span {
  color: var(--maroon);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Ornamental Divider (matching flyer aesthetic) */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 280px;
  margin: 18px auto 0;
}

.gold-divider::before,
.gold-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gold-divider span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 8px 22px rgba(110, 27, 30, 0.22);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  box-shadow: 0 12px 26px rgba(81, 18, 20, 0.3);
}

.btn-gold {
  background: var(--gold);
  color: #1f1912;
  box-shadow: 0 8px 20px rgba(197, 154, 69, 0.26);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 168, 85, 0.24);
}

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

.btn-outline {
  background: var(--surface);
  color: var(--maroon);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--maroon);
  background: var(--maroon-tint);
}

.btn-white {
  background: #fff;
  color: var(--maroon);
}

.btn-white:hover {
  background: var(--gold-soft);
  color: var(--maroon-dark);
}

.btn-white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
  border-radius: 10px;
}

/* Sub-Page Hero Header (Multi-Page Layout) */
.page-hero {
  background: linear-gradient(180deg, #f6efe0 0%, var(--bg-cream) 100%);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(36px, 5vw, 60px);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero h1 span {
  color: var(--maroon);
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.page-hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* Service Category Hub Cards on Beranda */
.hub-card {
  display: flex;
  flex-direction: column;
}

.hub-card p {
  flex: 1;
}

.hub-card .btn {
  width: 100%;
  margin-top: 6px;
}

/* ==========================================================================
   Header / Sticky Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(34, 30, 31, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--maroon);
  background: var(--maroon-tint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-cta {
  padding: 10px 15px;
  font-size: 13px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--maroon);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(42px, 6vw, 76px);
  padding-bottom: clamp(54px, 7vw, 84px);
  overflow: hidden;
}

/* Subtle decorative corner curves inspired by the brochure */
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 154, 69, 0.18) 0%, rgba(110, 27, 30, 0.05) 60%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 27, 30, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.hero-title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-title .maroon-text {
  display: block;
  color: var(--maroon);
}

.hero-tagline {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 26px;
  max-width: 600px;
}

.hero-price-box {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.hero-price-box span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-price-box strong {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: var(--maroon);
  letter-spacing: -0.03em;
}

.hero-price-box small {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: #4f3910;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.hero-contact-strip strong {
  color: var(--text);
}

.copy-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.copy-phone-btn:hover {
  background: var(--maroon-tint);
  border-color: var(--maroon);
}

.copy-phone-btn svg {
  width: 14px;
  height: 14px;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brochure-frame {
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: 12px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--maroon), #3e0d0f 55%, var(--gold));
  box-shadow: var(--shadow-lg);
}

.hero-poster-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-cream);
}

.hero-poster-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3 Pillars Bar (Proses Cepat | Mudah & Praktis | Gratis Konsultasi) */
.pillars-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(38px, 5vw, 56px);
  padding: 26px 30px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: 10px;
}

.pillar-item + .pillar-item {
  border-left: 1px solid var(--border);
  padding-left: 26px;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  color: var(--gold-dark);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-item strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.pillar-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Quick Price Board (Poster-Inspired Maroon & Gold Bars)
   ========================================================================== */
.quick-board {
  max-width: 880px;
  margin: 0 auto 54px;
  padding: clamp(20px, 3.5vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--bg-cream);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.quick-board-title {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 20px;
}

.quick-rows {
  display: grid;
  gap: 12px;
}

.quick-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 210px;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: var(--radius-pill) 14px 14px var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-row:hover {
  transform: translateY(-2px);
  border-color: var(--maroon);
  box-shadow: var(--shadow-sm);
}

.quick-row-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 2.5px solid var(--maroon);
  color: var(--maroon);
}

.quick-row-icon svg {
  width: 25px;
  height: 25px;
}

.quick-row-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--maroon);
  color: #fff;
  min-height: 54px;
}

.quick-row-name small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
}

.quick-row-name strong {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.quick-row-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #1f1912;
  min-height: 54px;
  font-weight: 800;
}

.quick-row-price span {
  font-size: 13px;
  font-weight: 700;
}

.quick-row-price strong {
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Detailed Service Cards Grid (6 Core Packages = 3x2 Desktop, 2x3 Tablet)
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.package-card.is-featured {
  border: 2px solid var(--maroon);
  box-shadow: 0 18px 42px rgba(110, 27, 30, 0.13);
}

.package-card.is-highlighted {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.package-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: #523b0d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.package-card.is-featured .package-badge {
  background: var(--maroon);
  color: #fff;
}

.package-head {
  padding: 28px 26px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(250, 246, 238, 0.65) 0%, #ffffff 100%);
}

.package-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--maroon-tint);
  color: var(--maroon);
}

.package-icon svg {
  width: 25px;
  height: 25px;
}

.package-category {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.package-head h3 {
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 10px;
}

.package-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.package-price span {
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
}

.package-price strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--maroon);
  letter-spacing: -0.03em;
}

.package-body {
  flex: 1;
  padding: 22px 26px;
}

.package-body h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--maroon-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236e1b1e'%3E%3Cpath fill-rule='evenodd' d='M16.704 5.29a1 1 0 010 1.42l-7.5 7.5a1 1 0 01-1.415 0l-3.5-3.5a1 1 0 111.415-1.42l2.792 2.794 6.793-6.794a1 1 0 011.415 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
}

.package-foot {
  padding: 0 26px 26px;
  display: grid;
  gap: 10px;
}

.package-foot .btn {
  width: 100%;
}

/* ==========================================================================
   Additional Corporate Legal Services ("Kami Juga Menerima")
   ========================================================================== */
.corporate-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f3e6cb 0%, #fbf5e6 100%);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.corporate-banner-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 10px 24px rgba(110, 27, 30, 0.25);
}

.corporate-banner-icon svg {
  width: 38px;
  height: 38px;
}

.corporate-banner-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 6px;
}

.corporate-banner h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin-bottom: 8px;
}

.corporate-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

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

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

.info-card {
  padding: 30px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--maroon-tint);
  color: var(--maroon);
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Interactive Requirements Switcher (Tabs)
   ========================================================================== */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.tab-btn.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  box-shadow: 0 8px 18px rgba(110, 27, 30, 0.22);
}

.tab-panel {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.tab-panel[hidden] {
  display: none !important;
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}

.tab-panel h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tab-panel-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.tab-summary-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--bg-cream);
  border: 1px solid var(--border-strong);
}

.tab-summary-card .summary-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tab-summary-card .summary-price {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 12px;
}

.tab-summary-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.tab-summary-card .btn {
  width: 100%;
}

/* ==========================================================================
   Process Steps (4 Langkah Mudah)
   ========================================================================== */
.step-card {
  position: relative;
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-number {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: rgba(197, 154, 69, 0.25);
  pointer-events: none;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive WhatsApp Consultation Form
   ========================================================================== */
.consult-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.consult-info .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--gold-soft);
}

.consult-info h2 {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.consult-info p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 26px;
}

.direct-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.direct-contact-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #1f1912;
  flex-shrink: 0;
}

.direct-contact-icon svg {
  width: 26px;
  height: 26px;
}

.direct-contact-card small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.direct-contact-card strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.direct-contact-card span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.consult-form {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.consult-form h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.consult-form > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-cream);
  font-size: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(110, 27, 30, 0.12);
}

.estimate-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
}

.estimate-pill span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.estimate-pill strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
}

.consult-form .btn {
  width: 100%;
  padding: 15px 22px;
  font-size: 15px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin-inline: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--maroon);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  padding: 20px 54px 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  cursor: pointer;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--maroon-tint);
  color: var(--maroon);
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
}

.faq-item[open] summary {
  color: var(--maroon);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--maroon);
  color: #fff;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #1a1516;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 64px;
  padding-bottom: 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-box {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--bg-cream);
  margin-bottom: 18px;
}

.footer-brand-box img {
  height: 44px;
  width: auto;
}

.footer-about p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 340px;
}

.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social-wrap {
  margin-top: 18px;
}

.footer-social-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--gold);
  border-color: var(--gold);
  color: #1f1912;
}

.portal-footer {
  padding-top: 26px;
  padding-bottom: 26px;
  margin-top: auto;
}

.portal-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portal-footer-copy strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

.portal-footer-copy span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

.portal-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.portal-footer-social .footer-social-label {
  margin-bottom: 0;
}

/* ==========================================================================
   Floating WhatsApp & Toast
   ========================================================================== */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(31, 168, 85, 0.38);
  border: 2px solid #fff;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-wa:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.floating-wa svg {
  width: 24px;
  height: 24px;
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 1600;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: #221e1f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 16px;
    font-size: 14.5px;
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .brochure-frame {
    max-width: 390px;
  }

  .pillars-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .pillar-item + .pillar-item {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 10px;
    padding-top: 16px;
  }

  .corporate-banner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 18px;
  }

  .tab-panel-grid,
  .consult-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    top: 72px;
  }

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

  .header-cta span {
    display: none;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .quick-row {
    grid-template-columns: 48px minmax(0, 1fr);
    border-radius: 16px;
    padding: 10px;
  }

  .quick-row-icon {
    width: 44px;
    height: 44px;
  }

  .quick-row-price {
    grid-column: 1 / -1;
    min-height: 44px;
    padding: 8px 14px;
  }

  .packages-grid,
  .grid-2,
  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .floating-wa span {
    display: none;
  }

  .floating-wa {
    padding: 14px;
    border-radius: 50%;
    right: 16px;
    bottom: 16px;
  }
}

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

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