.page-hero { background: var(--black); color: var(--white); padding: calc(var(--nav-h) + 5rem) 0 5rem; position: relative; overflow: hidden; }
    .page-hero::after { content:''; position:absolute; right:-10%; top:50%; transform:translateY(-50%); width:500px; height:500px; background:radial-gradient(circle,rgba(232,133,42,0.1) 0%,transparent 70%); pointer-events:none; }
    .page-hero .label { margin-bottom:1rem; display:block; }
    .page-hero h1 { color:var(--white); max-width:700px; }
    .page-hero p { color:rgba(255,255,255,0.55); max-width:560px; margin-top:var(--space-md); font-size:1.1rem; }

    /* ── Hero variant: split layout (text kiri + image full-bleed kanan)
       Pattern identik dengan about/support supaya konsisten lintas page ── */
    .page-hero--split { min-height: 560px; }
    .page-hero--split .container { position: relative; z-index: 2; }
    .page-hero--split .hero-text { max-width: 700px; padding-right: var(--space-md); }
    .page-hero--split h1 { max-width: none; }
    .page-hero--split .hero-text p { max-width: none; }
    .page-hero--split .hero-visual {
      position: absolute;
      top: 0; right: 0; bottom: 0;
      width: 56%;
      overflow: hidden;
      z-index: 1;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 8%, rgba(0,0,0,0.55) 20%, #000 38%);
              mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 8%, rgba(0,0,0,0.55) 20%, #000 38%);
    }
    .page-hero--split .hero-visual img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
      animation: heroFadeZoom 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    @keyframes heroFadeZoom {
      from { transform: scale(1.06); opacity: 0; }
      to   { transform: scale(1);    opacity: 1; }
    }
    .page-hero--split .hero-visual::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(13,13,13,0.45) 0px, transparent 160px),
        radial-gradient(ellipse 85% 75% at 62% 48%, transparent 0%, rgba(13,13,13,0.18) 60%, rgba(13,13,13,0.55) 100%);
      pointer-events: none;
    }
    .page-hero--split::after { display: none; }
    @media (prefers-reduced-motion: reduce) {
      .page-hero--split .hero-visual img { animation: none; }
    }

    /* ── Branches section — header before map ── */
    .branches-section { background: var(--white); padding: var(--space-3xl) 0 0; }
    .branches-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-xl); }
    .branches-header .label { display: inline-block; margin-bottom: 0.75rem; }
    .branches-header h2 { margin-bottom: var(--space-sm); }
    .branches-header p { color: var(--gray-500); font-size: 1.05rem; line-height: 1.65; }
    /* Contact Layout */
    .contact-section { background: var(--white); }
    .contact-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: var(--space-2xl);
      align-items: start;
    }

    /* Office Card (right side) */
    .office-card {
      position: sticky;
      top: calc(var(--nav-h) + 2rem);
      background: var(--gray-100);
      border-radius: 14px;
      padding: var(--space-xl) var(--space-lg);
    }
    .office-card .label { margin-bottom: 0.75rem; display: block; }
    .office-card h3 {
      font-size: 1.5rem;
      margin-bottom: var(--space-md);
      letter-spacing: -0.01em;
    }
    .office-address {
      font-size: 0.95rem;
      color: var(--gray-700);
      line-height: 1.7;
      margin-bottom: 0.5rem;
    }

    /* Google Maps direction link below address */
    .office-direction-link {
      display: inline-flex; align-items: center; gap: 0.4rem;
      font-size: 0.82rem;
      color: var(--gray-500);
      text-decoration: none;
      padding: 0.35rem 0;
      transition: color 0.15s;
      margin-bottom: var(--space-lg);
    }
    .office-direction-link:hover { color: var(--amber); }
    .office-direction-link svg { flex-shrink: 0; }

    /* Primary WhatsApp CTA in office card */
    .office-cta-wa {
      display: flex; align-items: center; justify-content: center;
      gap: 0.6rem;
      background: #25D366;
      color: #ffffff;
      padding: 0.85rem 1.25rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.92rem;
      text-decoration: none;
      transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
      box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    }
    .office-cta-wa:hover {
      background: #1da851;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    }
    .office-cta-wa svg { flex-shrink: 0; }

    .office-channels-divider {
      text-align: center;
      font-size: 0.72rem;
      color: var(--gray-400);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: var(--space-md) 0 var(--space-sm);
      position: relative;
    }
    .office-channels-divider::before,
    .office-channels-divider::after {
      content: '';
      position: absolute;
      top: 50%; width: 28%;
      height: 1px; background: var(--gray-200);
    }
    .office-channels-divider::before { left: 0; }
    .office-channels-divider::after { right: 0; }
    .office-channels {
      list-style: none;
      padding: 0;
      margin: 0 0 var(--space-lg);
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }
    .office-channels li {
      display: grid;
      grid-template-columns: 88px 1fr;
      gap: var(--space-sm);
      align-items: baseline;
    }
    .oc-label {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--gray-400);
    }
    .oc-value {
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--black);
      transition: color 0.15s;
    }
    .oc-value:hover { color: var(--amber); }
    .office-hours-block {
      padding-top: var(--space-md);
      border-top: 1px solid var(--gray-200);
      margin-top: var(--space-md);
    }
    .oh-label {
      display: block;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--gray-400);
      margin-bottom: 0.5rem;
    }
    .office-hours-block p {
      font-size: 0.875rem;
      color: var(--gray-700);
      line-height: 1.7;
      margin: 0;
    }
    /* Contact Form */
    .contact-form-block { background: var(--white); }
    .form-title { margin-bottom: var(--space-xl); }
    .form-title .label { display: block; margin-bottom: 0.5rem; }
    .form-title h3 { margin-bottom: 0.5rem; font-size: 1.8rem; letter-spacing: -0.01em; }
    .form-title p { font-size: 0.95rem; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-md); }
    .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--space-md); }
    .form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }
    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 0.75rem 1rem;
      border: 1.5px solid var(--gray-200);
      border-radius: 6px;
      font-family: var(--font-sans);
      font-size: 0.9rem;
      color: var(--black);
      background: var(--white);
      transition: border-color 0.2s;
      outline: none;
      width: 100%;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--amber); }
    .form-group textarea { resize: vertical; min-height: 120px; }
    .form-group select { cursor: pointer; }

    .form-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: var(--space-lg); flex-wrap: wrap; }
    .form-checkbox input[type="checkbox"] { margin-top: 2px; accent-color: var(--amber); flex-shrink: 0; }
    /* flex:1 + min-width:0 — supaya label stay inline dengan checkbox dan text wrap di dalam label,
       bukan label wrap ke baris baru sebagai flex item. */
    .form-checkbox label {
      flex: 1;
      min-width: 0;
      font-size: 0.82rem;
      color: var(--gray-500);
      line-height: 1.5;
    }
    .form-checkbox label a { color: var(--amber); text-decoration: underline; }

    /* ── Validation state ── */
    .field-error {
      display: none;
      margin-top: 0.4rem;
      font-size: 0.78rem;
      color: #dc2626;
      line-height: 1.45;
    }
    .form-group.is-invalid .field-error,
    .form-checkbox.is-invalid .field-error {
      display: block;
    }
    .form-group.is-invalid input,
    .form-group.is-invalid textarea {
      border-color: #dc2626;
      background: rgba(220, 38, 38, 0.02);
    }
    .form-group.is-invalid input:focus,
    .form-group.is-invalid textarea:focus {
      border-color: #dc2626;
      box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }
    .form-checkbox.is-invalid .field-error {
      width: 100%;
      margin-top: 0.5rem;
      padding-left: calc(16px + 0.75rem); /* align dengan label, skip checkbox width */
    }
    .form-checkbox.is-invalid input[type="checkbox"] { outline: 2px solid #dc2626; outline-offset: 2px; }

    .btn-submit {
      width: 100%; padding: 1rem; background: var(--black); color: var(--white);
      border: none; border-radius: 6px; font-family: var(--font-sans);
      font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
      position: relative;
    }
    .btn-submit:hover { background: var(--gray-700); }
    .btn-submit:disabled { cursor: not-allowed; opacity: 0.7; }
    .btn-submit .btn-spinner { display: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--white); border-radius: 50%; animation: btnSpin 0.7s linear infinite; }
    .btn-submit.is-loading .btn-label::after { content: ' Mengirim...'; }
    .btn-submit.is-loading .btn-label { font-size: 0; }
    .btn-submit.is-loading .btn-label::after { font-size: 0.95rem; }
    .btn-submit.is-loading .btn-spinner { display: inline-block; }
    @keyframes btnSpin { to { transform: rotate(360deg); } }

    /* Honeypot — visually hidden tapi bot crawler tetap "lihat" field-nya */
    .form-honeypot {
      position: absolute;
      left: -9999px;
      width: 1px; height: 1px;
      overflow: hidden;
      opacity: 0;
      pointer-events: none;
    }

    /* Error state — shown saat EmailJS send gagal */
    .form-error {
      display: none;
      margin-top: var(--space-md);
      padding: 0.85rem 1rem;
      background: rgba(220, 38, 38, 0.08);
      border: 1px solid rgba(220, 38, 38, 0.25);
      border-left: 3px solid #dc2626;
      border-radius: 6px;
      font-size: 0.875rem;
      color: #991b1b;
      line-height: 1.5;
    }
    .form-error strong { display: block; margin-bottom: 0.2rem; }

    /* ── Form Success state — editorial redesign ── */
    .form-success {
      display: none;
      text-align: center;
      padding: var(--space-2xl) var(--space-xl);
      background: var(--gray-100);
      border-radius: 14px;
      position: relative;
      overflow: hidden;
    }
    /* Subtle radial amber glow di belakang icon */
    .form-success::before {
      content: '';
      position: absolute;
      top: -40%; left: 50%;
      width: 320px; height: 320px;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(232,133,42,0.10) 0%, transparent 65%);
      pointer-events: none;
    }

    /* Animated check badge */
    .form-success .success-icon {
      position: relative;
      z-index: 1;
      width: 68px; height: 68px;
      margin: 0 auto var(--space-md);
      background: var(--amber);
      color: var(--white);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 10px 24px rgba(232, 133, 42, 0.28);
      animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }
    .form-success .success-icon svg {
      width: 32px; height: 32px;
      stroke-dasharray: 36;
      stroke-dashoffset: 36;
      animation: successDraw 0.45s 0.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    }
    @keyframes successPop {
      0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
      60%  { transform: scale(1.08) rotate(0deg); opacity: 1; }
      100% { transform: scale(1) rotate(0deg); opacity: 1; }
    }
    @keyframes successDraw {
      to { stroke-dashoffset: 0; }
    }

    .form-success h4 {
      position: relative; z-index: 1;
      font-family: var(--font-serif);
      font-size: 1.75rem;
      font-weight: 400;
      letter-spacing: -0.01em;
      color: var(--black);
      margin-bottom: 0.5rem;
    }
    .form-success p {
      position: relative; z-index: 1;
      font-size: 0.92rem;
      color: var(--gray-500);
      line-height: 1.65;
      max-width: 380px;
      margin: 0 auto;
    }

    /* Action buttons row */
    .success-actions {
      position: relative; z-index: 1;
      display: flex;
      gap: 0.6rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: var(--space-lg);
    }
    .success-actions .btn { min-width: 160px; }

    @media (prefers-reduced-motion: reduce) {
      .form-success .success-icon { animation: none; }
      .form-success .success-icon svg { animation: none; stroke-dashoffset: 0; }
    }

    /* ── Branch map (Google Maps embed) — nested di .branches-section ── */
    .branches-section { background: var(--white); }
    .branches-section .map-block {
      height: 520px;
      width: 100%;
      background: var(--gray-100); /* fallback selama maps loading */
    }

    /* ══════════════════════════════════════════════════════
       MAP INFO WINDOW POPUP — Modern editorial card style
       Google generate wrapper:
         .gm-style-iw-c   → container utama
         .gm-style-iw-d   → inner scroll
         .gm-style-iw-tc  → tail/arrow pointer
         .gm-ui-hover-effect → close button (X)
    ══════════════════════════════════════════════════════ */
    .map-popup {
      font-family: var(--font-sans);
      width: 260px;
      padding: 4px 2px 2px;
    }
    .map-popup-eyebrow {
      display: inline-block;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--amber);
      margin-bottom: 0.5rem;
    }
    .map-popup-title {
      font-family: var(--font-serif);
      font-weight: 400;
      font-size: 1.35rem;
      line-height: 1.15;
      color: var(--black);
      margin: 0 0 0.65rem;
      letter-spacing: -0.01em;
    }
    .map-popup-addr {
      font-size: 0.78rem;
      line-height: 1.6;
      color: var(--gray-500);
      margin: 0 0 1rem;
    }
    .map-popup-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.4rem;
      padding-top: 0.85rem;
      border-top: 1px solid var(--gray-200);
    }
    .map-popup-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      padding: 0.55rem 0.6rem;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0;
      text-decoration: none;
      border-radius: 6px;
      transition: background 0.15s, color 0.15s, transform 0.15s;
    }
    .map-popup-link svg { flex-shrink: 0; }
    .map-popup-link:hover { transform: translateY(-1px); }
    .map-popup-link--ghost {
      color: var(--gray-700);
      background: var(--gray-100);
    }
    .map-popup-link--ghost:hover { background: var(--gray-200); color: var(--black); }
    .map-popup-link--primary {
      color: var(--white);
      background: var(--black);
    }
    .map-popup-link--primary:hover { background: var(--gray-700); }

    /* ── Override Google container chrome ── */
    .gm-style .gm-style-iw-c {
      padding: 1.25rem 1.4rem 1.25rem !important;
      border-radius: 14px !important;
      box-shadow:
        0 24px 48px -8px rgba(0, 0, 0, 0.16),
        0 8px 16px -4px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04) !important;
      max-width: 320px !important;
      max-height: none !important;
    }
    .gm-style .gm-style-iw-d {
      overflow: visible !important;
      max-width: none !important;
      max-height: none !important;
      padding: 0 !important;
    }
    /* Tail/arrow — modern: subtle, follows container shadow */
    .gm-style .gm-style-iw-tc::after {
      background: var(--white) !important;
      box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
    }
    /* Close button (X) — minimal, circular, top-right */
    .gm-style .gm-ui-hover-effect {
      top: 8px !important;
      right: 8px !important;
      width: 24px !important;
      height: 24px !important;
      border-radius: 50% !important;
      background: var(--gray-100) !important;
      opacity: 1 !important;
      transition: background 0.15s !important;
    }
    .gm-style .gm-ui-hover-effect:hover { background: var(--gray-200) !important; }
    .gm-style .gm-ui-hover-effect > span {
      margin: 5px auto !important;
      width: 14px !important;
      height: 14px !important;
      background-color: var(--gray-500) !important;
    }

    @media (max-width: 768px) {
      .branches-section .map-block { height: 360px; }
    }

    /* ════════════════════════════════════════════════════════════
       MODAL — Kebijakan Privasi (reusable pattern, opens via JS)
    ════════════════════════════════════════════════════════════ */
    .modal-overlay {
      position: fixed; inset: 0;
      background: rgba(13, 13, 13, 0.65);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      z-index: 9999;
      display: flex; align-items: center; justify-content: center;
      padding: var(--space-md);
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    .modal-overlay[hidden] { display: none; }
    .modal-overlay.is-open { opacity: 1; }
    .modal-box {
      background: var(--white);
      border-radius: 12px;
      max-width: 560px;
      width: 100%;
      max-height: 88vh;
      display: flex; flex-direction: column;
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
      position: relative;
      transform: scale(0.96) translateY(8px);
      transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .modal-overlay.is-open .modal-box { transform: scale(1) translateY(0); }
    .modal-close {
      position: absolute;
      top: 12px; right: 12px;
      width: 32px; height: 32px;
      border: none; background: var(--gray-100);
      border-radius: 50%;
      cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center;
      color: var(--gray-700);
      transition: background 0.15s, color 0.15s;
      z-index: 2;
    }
    .modal-close:hover { background: var(--gray-200); color: var(--black); }
    .modal-header {
      padding: 1.75rem 1.75rem 1.1rem;
      border-bottom: 1px solid var(--gray-200);
    }
    .modal-header .label { display: inline-block; margin-bottom: 0.5rem; }
    .modal-header h3 {
      font-size: 1.45rem;
      margin: 0.25rem 0 0.35rem;
      letter-spacing: -0.01em;
      padding-right: 36px; /* space for close button */
      line-height: 1.2;
    }
    .modal-body {
      padding: 1.25rem 1.75rem 1.5rem;
      overflow-y: auto;
      flex: 1;
      font-size: 0.9rem;
      line-height: 1.7;
      color: var(--gray-700);
    }
    .modal-body h4 {
      font-size: 0.95rem;
      color: var(--black);
      margin: 1.2rem 0 0.4rem;
      font-weight: 700;
      letter-spacing: -0.005em;
    }
    .modal-body h4:first-of-type { margin-top: 0; }
    .modal-body p { margin: 0 0 0.65rem; }
    .modal-body ul {
      margin: 0 0 0.75rem;
      padding-left: 1.15rem;
    }
    .modal-body ul li { margin-bottom: 0.25rem; }
    .modal-body a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
    .modal-body a:hover { color: var(--black); }
    .modal-footer {
      padding: 0.9rem 1.75rem;
      border-top: 1px solid var(--gray-200);
      background: var(--gray-100);
      display: flex; justify-content: flex-end;
    }
    /* Body lock saat modal open (set via JS) */
    body.modal-open { overflow: hidden; }

    @media (max-width: 1024px) {
      .page-hero { padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem; }
      .page-hero--split { min-height: 480px; }
      .page-hero--split .hero-visual {
        width: 48%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.55) 18%, #000 35%);
                mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.55) 18%, #000 35%);
      }
      .page-hero--split .hero-text { max-width: 500px; padding-right: var(--space-sm); }
      .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
      .office-card { position: static; }
    }
    @media (max-width: 768px) {
      /* Padding di-pindah ke .container supaya hero-visual cover FULL section (no bar hitam) */
      .page-hero { padding: 0; }
      .page-hero--split { min-height: 380px; }
      .page-hero--split .container {
        padding-top: calc(var(--nav-h) + 3rem);
        padding-bottom: 3rem;
      }
      .page-hero--split .hero-visual {
        position: absolute;
        inset: 0;
        width: 100%;
        z-index: 0;
        -webkit-mask-image: none;
                mask-image: none;
      }
      .page-hero--split .hero-visual::after {
        background: linear-gradient(180deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.78) 50%, rgba(13,13,13,0.7) 100%);
      }
      .page-hero--split .hero-text {
        position: relative;
        z-index: 2;
        max-width: none;
        padding-right: 0;
      }
      .page-hero--split .hero-text h1 {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        line-height: 1.2;
      }
      .page-hero--split .hero-text p {
        font-size: 0.95rem;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.75);
        margin-top: 1rem;
      }
      .branches-section { padding-top: var(--space-2xl); }
      .form-row { grid-template-columns: 1fr; }
      .office-card { padding: var(--space-lg) var(--space-md); }
      .office-channels li { grid-template-columns: 1fr; gap: 0.2rem; }
      .modal-box { max-height: 92vh; border-radius: 10px; }
      .modal-header { padding: 1.35rem 1.25rem 0.95rem; }
      .modal-body { padding: 1rem 1.25rem 1.25rem; }
      .modal-footer { padding: 0.85rem 1.25rem; }
      .modal-header h3 { font-size: 1.3rem; }
    }