/* ═══════════════════════════════════════
   DESIGN TOKENS — Dark Apple Service Theme
═══════════════════════════════════════ */
:root {
  --white:       #ffffff;
  --off-white:   #f9f9f9;
  --light-gray:  #f5f5f7;
  --mid-gray:    #e8e8e8;
  --text-gray:   #6e6e73;
  --dark-gray:   #424245;
  --near-black:  #1d1d1f;
  --black:       #000000;

  /* Theme color variable mappings - default dark theme */
  --dark-bg:      #0a0a0b;
  --dark-surface: #141415;
  --dark-card:    #1c1c1e;
  --dark-card-hover: #242426;
  --dark-border:  rgba(255,255,255,0.08);
  --dark-border-hover: rgba(255,255,255,0.15);
  --dark-text:    #f5f5f7;
  --dark-muted:   rgba(255,255,255,0.45);
  --dark-subtle:  rgba(255,255,255,0.22);

  --nav-bg:       rgba(10,10,11,0.88);
  --nav-bg-scrolled: rgba(10,10,11,0.96);
  --nav-text:     rgba(255,255,255,0.8);
  --nav-text-hover: #ffffff;
  --nav-border:   rgba(255,255,255,0.08);

  /* Apple specific styling accents */
  --apple-btn-bg:      #ffffff;
  --apple-btn-text:    #1d1d1f;
  --apple-blue:        #2997ff;
  --apple-blue-hover:  #51a8ff;
  --apple-badge-bg:    rgba(255,255,255,0.06);
  --apple-badge-text:  #a1a1a6;
  --apple-badge-border: rgba(255,255,255,0.1);
  --nav-logo-text: #f5f5f7;
  --nav-btn-color: rgba(255,255,255,0.7);
  --nav-btn-hover-bg: rgba(255,255,255,0.08);
  --nav-btn-hover-color: #ffffff;

  /* Dropdown theme properties */
  --nav-drop-bg:          rgba(20,20,21,0.96);
  --nav-drop-border:      rgba(255,255,255,0.08);
  --nav-drop-shadow:      0 20px 60px rgba(0,0,0,0.5);
  --nav-drop-text-big:    #f5f5f7;
  --nav-drop-text-small:  rgba(255,255,255,0.55);
  --nav-drop-city-border: rgba(255,255,255,0.06);
  --nav-drop-city-bg:     rgba(255,255,255,0.03);
  --nav-drop-city-name:   #f5f5f7;
  --nav-drop-city-sub:    rgba(255,255,255,0.45);
  --nav-drop-col-head:    rgba(255,255,255,0.3);
  --nav-drop-divider:     rgba(255,255,255,0.08);

  --about-badge-bg:       linear-gradient(135deg,#1c1c1e,#2a2a2a);
  --about-badge-border:   rgba(255,255,255,0.08);
  --about-badge-text:     #ffffff;

  --proc-num-color:       rgba(255,255,255,0.06);

  --gold:        #c5a059;
  --gold-light:  #e5c27d;
  --gold-dark:   #a2803c;
  --gold-pale:   rgba(197,160,89,0.08);
  --gold-shine:  #f5d98a;
  --apple-blue:  #2997ff;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --shadow-gold: 0 4px 24px rgba(197,160,89,.15);
  --shadow-dark: 0 8px 32px rgba(0,0,0,0.4);

  --nav-h:       44px;
  --max-w:       1200px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
  --dur:         0.3s;
}

/* Light Theme Variable Overrides */
html[data-theme="light"] {
  --apple-blue:   #0066cc;
  --dark-bg:      #f5f5f7;
  --dark-surface: #ffffff;
  --dark-card:    #ffffff;
  --dark-card-hover: #f9f9f9;
  --dark-border:  rgba(0,0,0,0.06);
  --dark-border-hover: rgba(201,168,76,.3);
  --dark-text:    #1d1d1f;
  --dark-muted:   #6e6e73;
  --dark-subtle:  #86868b;

  --nav-bg:       rgba(255,255,255,0.72);
  --nav-bg-scrolled: rgba(255,255,255,0.96);
  --nav-text:     rgba(0,0,0,0.7);
  --nav-text-hover: #000000;
  --nav-border:   rgba(0,0,0,0.06);
  --nav-logo-text: var(--near-black);
  --nav-btn-color: rgba(0,0,0,0.7);
  --nav-btn-hover-bg: rgba(0,0,0,0.06);
  --nav-btn-hover-color: #000000;

  /* Apple specific light theme overrides */
  --apple-btn-bg:      #1d1d1f;
  --apple-btn-text:    #ffffff;
  --apple-blue:        #0066cc;
  --apple-blue-hover:  #0077ed;
  --apple-badge-bg:    rgba(0,0,0,0.04);
  --apple-badge-text:  #6e6e73;
  --apple-badge-border: rgba(0,0,0,0.06);

  --gold:        #b38e46;
  --gold-light:  #c5a059;
  --gold-dark:   #917132;
  --gold-pale:   rgba(179,142,70,0.06);
  --gold-shine:  #dcae58;

  --nav-drop-bg:          rgba(255,255,255,0.96);
  --nav-drop-border:      rgba(0,0,0,0.06);
  --nav-drop-shadow:      0 16px 40px rgba(0,0,0,0.08);
  --nav-drop-text-big:    var(--near-black);
  --nav-drop-text-small:  var(--text-gray);
  --nav-drop-city-border: rgba(0,0,0,0.03);
  --nav-drop-city-bg:     rgba(0,0,0,0.01);
  --nav-drop-city-name:   var(--near-black);
  --nav-drop-city-sub:    var(--text-gray);
  --nav-drop-col-head:    var(--text-gray);
  --nav-drop-divider:     rgba(0,0,0,0.08);

  --about-badge-bg:       linear-gradient(135deg,#ffffff,#f5f5f7);
  --about-badge-border:   #e8e8e8;
  --about-badge-text:     #1d1d1f;

  --proc-num-color:       rgba(0,0,0,0.04);
  --shadow-dark:          var(--shadow);
}

/* Light Mode Visibility Tweaks */
html[data-theme="light"] .device-tag {
  color: var(--dark-text);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .device-tag svg {
  color: var(--dark-muted);
}
html[data-theme="light"] .hero-eyebrow {
  color: var(--dark-text);
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .page-hero .chip {
  border-color: rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.04);
  color: var(--dark-text);
}
html[data-theme="light"] .btn-ghost-light {
  color: var(--dark-text);
  border-color: rgba(0,0,0,0.18);
}
html[data-theme="light"] .btn-ghost-light:hover {
  background: rgba(0,0,0,0.03);
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── RESET ─── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--dark-bg);
  color: var(--dark-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ─── LAYOUT ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* Dark section utility */
.dark-section { background: var(--dark-bg); }
.dark-surface-section { background: var(--dark-surface); }

/* ─── TYPE ─── */
.t-display  { font-size: clamp(2.5rem,5vw,4rem);   font-weight:800; line-height:1.04; letter-spacing:-0.04em; color:var(--dark-text); }
.t-head-xl  { font-size: clamp(1.6rem,3vw,2.2rem); font-weight:700; line-height:1.15; letter-spacing:-0.025em; color:var(--dark-text); }
.t-head-lg  { font-size: 1.25rem;  font-weight:600; line-height:1.3; color:var(--dark-text); }
.t-body     { font-size: 1.0625rem; color:var(--dark-muted); line-height:1.65; }
.t-body-sm  { font-size: 0.875rem;  color:var(--dark-muted); line-height:1.6; }
.t-label    { font-size: 0.75rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold); }
.text-gold  { color: var(--gold-light); }
.text-grad  { background:linear-gradient(135deg,var(--gold-light),var(--gold)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* ─── DIVIDERS ─── */
.hr-gray { height:1px; background:linear-gradient(90deg,transparent,var(--dark-border),transparent); }
.hr-gold { height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); max-width:80px; }

/* ─── CHIP ─── */
.chip {
  display: inline-flex; align-items:center; gap:6px;
  background: rgba(201,168,76,0.1); color: var(--gold-light);
  border: 1px solid rgba(201,168,76,.2); border-radius: var(--radius-full);
  padding: 5px 14px; font-size:.75rem; font-weight:600;
  letter-spacing:.07em; text-transform:uppercase; margin-bottom:20px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items:center; gap:8px;
  padding: 13px 26px; border-radius: var(--radius-full);
  font-size:.9375rem; font-weight:500;
  transition: background var(--dur) var(--ease),
              transform  var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn-gold   { background: var(--gold); color: #fff; border: none; }
.btn-gold:hover { opacity: 0.9; }
.btn-dark   { background: var(--near-black); color: #fff; }
.btn-dark:hover { background: var(--dark-gray); }
.btn-ghost  { background: transparent; color: var(--dark-text); border: 1.5px solid var(--dark-border); }
.btn-ghost:hover { border-color: var(--dark-border-hover); background: var(--apple-badge-bg); }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ─── BADGE ─── */
.badge-bnsp { display:inline-flex; align-items:center; gap:4px; background:#e8f5e9; color:#2e7d32; border-radius:var(--radius-full); padding:2px 8px; font-size:.7rem; font-weight:700; }

/* ═══════════════════════════════════════
   NAVIGATION — Apple.com style
═══════════════════════════════════════ */
#nav {
  position: fixed; top:0; left:0; right:0; height:var(--nav-h); z-index:1000;
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
#nav.scrolled { border-bottom-color: var(--nav-border); background: var(--nav-bg-scrolled); }

/* Nav inner — 3-zone layout: logo | links | icons */
.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  padding: 0 22px;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Logo (left zone) ── */
.nav-logo {
  display: flex; align-items: center; gap: 7px;
  font-size: 1rem; font-weight: 800; letter-spacing: -.035em;
  color: var(--nav-logo-text); cursor: pointer; user-select: none;
  justify-self: start;
}
.logo-box {
  width: 26px; height: 26px; background: var(--dark-surface);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--dark-border);
}
.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.logo-box svg { position:relative; z-index:1; }
.logo-dot { width:4px; height:4px; background:var(--gold); border-radius:50%; display:inline-block; margin-left:1px; vertical-align:super; }

/* ── Links (center zone) ── */
.nav-links {
  display: flex; align-items: center; gap: 0;
  justify-self: center;
}
.nav-lnk {
  padding: 0 12px; height: var(--nav-h);
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 400; letter-spacing: .01em;
  color: var(--nav-text); cursor: pointer; user-select: none;
  position: relative; white-space: nowrap;
  transition: color var(--dur);
}
.nav-lnk:hover { color: var(--nav-text-hover); }
.nav-lnk.active { color: var(--nav-text-hover); font-weight: 500; }
/* active tab styling without underline to match Apple */
.nav-lnk.active::after {
  display: none;
}

/* ── Icon group (right zone) ── */
.nav-icons {
  display: flex; align-items: center; gap: 4px;
  justify-self: end;
}
.nav-icon-btn {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: var(--nav-btn-color); border-radius: 50%; cursor: pointer;
  transition: background var(--dur), color var(--dur);
}
.nav-icon-btn:hover { background: var(--nav-btn-hover-bg); color: var(--nav-btn-hover-color); }
.nav-icon-btn svg { width: 15px; height: 15px; stroke-width: 1.6; }

/* WhatsApp pill — subtle, right of icons */
.nav-wa {
  margin-left: 8px; padding: 5px 13px;
  background: var(--gold);
  color: #fff; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}
.nav-wa:hover { opacity: 0.9; }

/* ── Hamburger (mobile) ── */
.ham-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}
.ham-bar {
  width: 100%;
  height: 1.8px;
  background-color: var(--nav-text);
  border-radius: 9px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

/* Hamburger to X transition */
#ham[aria-expanded="true"] .ham-bar-1 {
  transform: translateY(6.1px) rotate(45deg);
}
#ham[aria-expanded="true"] .ham-bar-2 {
  opacity: 0;
}
#ham[aria-expanded="true"] .ham-bar-3 {
  transform: translateY(-6.1px) rotate(-45deg);
}

/* Theme Switcher Button */
.theme-toggle-btn {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: var(--nav-btn-color); border-radius: 50%; cursor: pointer;
  transition: background var(--dur), color var(--dur);
  background: none; border: none; padding: 0; outline: none;
}
.theme-toggle-btn:hover { background: var(--nav-btn-hover-bg); color: var(--nav-btn-hover-color); }
.theme-toggle-btn svg { width: 15px; height: 15px; stroke-width: 1.8; }

/* In Dark Theme (default), hide moon-icon, show sun-icon */
html:not([data-theme="light"]) .theme-toggle-btn .moon-icon { display: none; }
html:not([data-theme="light"]) .theme-toggle-btn .sun-icon { display: block; }

/* In Light Theme, hide sun-icon, show moon-icon */
html[data-theme="light"] .theme-toggle-btn .sun-icon { display: none; }
html[data-theme="light"] .theme-toggle-btn .moon-icon { display: block; }

/* Mobile backdrop overlay */
.mob-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.mob-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile menu drawer styling */
.mob-menu {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-height: 85vh;
  background: rgba(20,20,21,0.97);
  backdrop-filter: saturate(180%) blur(25px);
  -webkit-backdrop-filter: saturate(180%) blur(25px);
  border-bottom: 1px solid var(--dark-border);
  z-index: 999;
  flex-direction: column;
  padding: calc(var(--nav-h) + 16px) 24px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  
  /* Slide down and fade transitions */
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  overflow-y: auto;
}
.mob-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mob-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Navigation Links */
.mob-menu-nav {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 8px;
}
.mob-lnk {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark-muted);
  border-bottom: 1px solid var(--dark-border);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.mob-lnk:last-child {
  border-bottom: none;
}
.mob-lnk-arr {
  width: 16px;
  height: 16px;
  color: var(--dark-subtle);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mob-lnk:hover, .mob-lnk.active {
  color: var(--dark-text);
  padding-left: 6px;
}
.mob-lnk:hover .mob-lnk-arr, .mob-lnk.active .mob-lnk-arr {
  color: var(--gold-light);
  transform: translateX(4px);
}

.mob-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark-subtle);
  margin-bottom: 12px;
}

/* Quick Services Tags */
.mob-menu-services {
  display: flex;
  flex-direction: column;
}
.mob-svc-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mob-svc-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  color: var(--dark-muted);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  transition: all 0.22s var(--ease);
}
.mob-svc-tag:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
  border-color: rgba(201, 168, 76, 0.2);
}

/* Footer Area (WhatsApp CTA & Info) */
.mob-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius);
  padding: 20px;
}
.mob-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
  transition: all 0.25s var(--ease);
}
.mob-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.mob-contact-info {
  font-size: 0.78rem;
  color: var(--text-gray);
  line-height: 1.6;
  text-align: center;
}
.mob-contact-info p {
  margin-bottom: 2px;
}
.mob-contact-info p:last-child {
  margin-bottom: 0;
}

/* Scroll locked body */
body.scroll-locked {
  overflow: hidden !important;
  height: 100vh !important;
}

/* Staggered load animation */
@keyframes mobFadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mob-menu.open .mob-lnk {
  animation: mobFadeInUp 0.4s var(--ease) both;
}
.mob-menu.open .mob-lnk:nth-child(1) { animation-delay: 0.05s; }
.mob-menu.open .mob-lnk:nth-child(2) { animation-delay: 0.10s; }
.mob-menu.open .mob-lnk:nth-child(3) { animation-delay: 0.15s; }
.mob-menu.open .mob-lnk:nth-child(4) { animation-delay: 0.20s; }

.mob-menu.open .mob-menu-services {
  animation: mobFadeInUp 0.4s var(--ease) both;
  animation-delay: 0.25s;
}
.mob-menu.open .mob-menu-footer {
  animation: mobFadeInUp 0.4s var(--ease) both;
  animation-delay: 0.30s;
}


/* ═══════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════ */
.page { display:none; }
.page.active { display:block; }

/* Standard page hero — dark */
.page-hero { padding-top:calc(var(--nav-h) + 72px); padding-bottom:72px; text-align:center; position:relative; overflow:hidden; background:var(--dark-bg); }
.page-hero::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); width:800px; height:100%; background:radial-gradient(ellipse at center top,rgba(0,102,204,.05),transparent 60%); pointer-events:none; }
.page-hero .chip { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.75); }
.page-hero h1 { font-size:clamp(2.2rem,5vw,3.5rem); font-weight:700; letter-spacing:-.03em; color:var(--dark-text); margin-bottom:16px; }
.page-hero p  { font-size:1.0625rem; color:var(--dark-muted); line-height:1.65; max-width:600px; margin:0 auto 32px; }

/* ═══════════════════════════════════════
   HOME — HERO (Apple Education scroll-morph)
═══════════════════════════════════════ */

/* Wrapper: tall enough to drive the scroll animation */
.hero-scroll-wrapper {
  position: relative;
  height: 200vh; /* Extra scroll distance to drive morph */
}

/* Sticky section: stays in view during the scroll drive */
.hero-fullbleed {
  position: sticky;
  top: 0;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--dark-bg);
  /* Custom properties set by JS on scroll */
  --morph-radius: 0px;
  --morph-margin: 0px;
}

/* The morphing frame — this is what animates */
.hero-morph-frame {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Driven by CSS variables updated by JS */
  margin: var(--morph-margin);
  border-radius: var(--morph-radius);
  overflow: hidden;
  transition: margin 0.05s linear, border-radius 0.05s linear, transform 0.05s linear;
  will-change: margin, border-radius, transform;
}

/* Full-bleed background image */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: block;
}
.hero-slide.active {
  opacity: 1;
}

/* Dark gradient that fades bottom so text is legible */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.08) 35%,
    rgba(0,0,0,0.55) 65%,
    rgba(0,0,0,0.82) 100%
  );
}

/* Content pinned to bottom center */
.hero-content-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Eyebrow badge — white/light in hero context */
.hero-scroll-wrapper .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: rgba(255,255,255,0.75) !important;
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Hero headline — always white over image */
.hero-scroll-wrapper .hero-title-center {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #ffffff !important;
  margin-bottom: 16px;
  text-align: center;
}
.hero-scroll-wrapper .hero-title-center .accent-gold {
  background: linear-gradient(135deg, #ffe090 0%, #c5a059 60%, #917132 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block;
}

/* Sub — white over image */
.hero-scroll-wrapper .hero-sub-center {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.78) !important;
  margin-bottom: 32px;
  max-width: 560px;
  text-align: center;
  letter-spacing: -.011em;
}

/* Centered button row */
.hero-btns-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Ghost button over dark image */
.hero-scroll-wrapper .btn-ghost-light {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-scroll-wrapper .btn-ghost-light:hover {
  background: rgba(255,255,255,0.2) !important;
  border-color: rgba(255,255,255,0.4) !important;
  color: #ffffff !important;
}

/* Keyframes for eyebrow dot */
.hero-eyebrow .dot-live { width:7px; height:7px; background:#30d158; border-radius:50%; display:inline-block; animation:pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* ── Legacy hero classes (kept for other pages) ── */
.hero { padding-top:calc(var(--nav-h) + 84px); padding-bottom:96px; background:var(--dark-bg); position:relative; overflow:hidden; }
.hero-grid { display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center; }
.hero-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:.75rem; font-weight:500; letter-spacing:.03em; color:var(--dark-text); background:var(--apple-badge-bg); border:1px solid var(--apple-badge-border); border-radius:var(--radius-full); padding:5px 14px; margin-bottom:22px; }
.hero-title { font-size:clamp(2.6rem,5vw,4.1rem); font-weight:700; line-height:1.08; letter-spacing:-.03em; color:var(--dark-text); margin-bottom:20px; }
.hero-title .accent-gold { background: linear-gradient(135deg, #ffe090 0%, #c5a059 60%, #917132 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
html[data-theme="light"] .hero-title .accent-gold { background: linear-gradient(135deg, #b38e46 0%, #7e6022 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-title .hero-title-gray { color: var(--dark-subtle); }
.hero-sub { font-size:1.0625rem; line-height:1.55; color:var(--dark-muted); margin-bottom:32px; max-width:460px; letter-spacing:-.011em; }
.hero-btns { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }

.btn-link { font-size: .9375rem; font-weight: 500; color: var(--apple-blue); cursor: pointer; display: inline-flex; align-items: center; transition: color var(--dur) var(--ease); }
.btn-link:hover { color: var(--apple-blue); text-decoration: underline; opacity: 0.85; }

/* Hero Apple Device Selector Tags */
.hero-device-tags { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.device-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 500; color: var(--dark-muted); background: var(--apple-badge-bg); border: 1px solid var(--apple-badge-border); padding: 6px 14px; border-radius: var(--radius-full); cursor: pointer; transition: all 0.22s var(--ease); }
.device-tag svg { width: 14px; height: 14px; color: var(--dark-subtle); transition: color 0.22s var(--ease); }
.device-tag:hover { background: var(--dark-card-hover); border-color: var(--apple-blue); color: var(--dark-text); transform: translateY(-1px); }
.device-tag:hover svg { color: var(--apple-blue); }

.hero-visual { position:relative; }
.hero-img { border-radius: 24px; overflow:hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.04); aspect-ratio:4/3; background:var(--dark-surface); border:1px solid var(--dark-border); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hero-img:hover { border-color: var(--apple-blue); box-shadow: 0 15px 50px rgba(0,0,0,0.06); }
.hero-img img { width:100%; height:100%; object-fit:cover; opacity:0.95; transition: transform 0.6s var(--ease); }
.hero-img:hover img { transform: scale(1.015); }

/* ── STATS BAR (Apple Clean Promo Grid style) ── */
.stats-bar {
  background: var(--dark-bg);
  padding: 80px 0;
  border-bottom: 1px solid var(--dark-border);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
html[data-theme="light"] .stats-bar {
  background: #ffffff; /* pure white background in light mode */
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.s-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.s-ico {
  color: var(--dark-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  transition: color var(--dur) var(--ease);
}
.s-ico svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
}
.s-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
  transition: color var(--dur) var(--ease);
}
.s-desc {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 260px;
  transition: color var(--dur) var(--ease);
}
.s-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--apple-blue);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-decoration: none;
}
.s-link:hover {
  color: var(--apple-blue);
  text-decoration: underline;
  opacity: 0.85;
}
.s-link svg {
  transition: transform 0.2s var(--ease);
}
.s-link:hover svg {
  transform: translateX(2px);
}

/* ── ABOUT ── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-img-wrap { position:relative; }
.about-img { border-radius:var(--radius-xl); overflow:hidden; box-shadow:var(--shadow-dark); aspect-ratio:4/5; background:var(--dark-card); }
.about-img img { width:100%; height:100%; object-fit:cover; }
.about-badge { position:absolute; bottom:-22px; right:-22px; background:var(--about-badge-bg); color:var(--about-badge-text); border-radius:var(--radius-lg); padding:18px 22px; box-shadow:var(--shadow-dark); min-width:150px; border:1px solid var(--about-badge-border); }
.about-badge-n { font-size:1.6rem; font-weight:800; color:var(--gold); }
.about-badge-t { font-size:.8rem; color:var(--dark-muted); margin-top:4px; }
.about-desc { font-size:1rem; line-height:1.78; color:var(--text-gray); margin:18px 0 28px; }
.hl-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hl-card { display:flex; align-items:flex-start; gap:11px; padding:14px; background:var(--dark-card); border-radius:var(--radius); border:1px solid var(--dark-border); transition:border-color var(--dur),background var(--dur); }
.hl-card:hover { border-color:rgba(201,168,76,.3); background:var(--dark-card-hover); }
.hl-ico { width:34px; height:34px; background:linear-gradient(135deg,var(--gold),var(--gold-dark)); border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:15px; }
.hl-title { font-size:.875rem; font-weight:600; color:var(--dark-text); margin-bottom:2px; }
.hl-text  { font-size:.8rem; color:var(--dark-muted); }

/* ── SERVICE CARDS (Dark ruangapple style) ── */
.svc-grid { display:grid; grid-template-columns:1fr; gap:0; }
.svc-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 0;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--dur), border-color var(--dur);
}
.svc-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.svc-card:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.svc-card + .svc-card { border-top: none; }
.svc-card:hover { background: var(--dark-card-hover); border-color: var(--dark-border-hover); }
.svc-ico { width:44px; height:44px; flex-shrink:0; background:rgba(255,255,255,0.06); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; border:1px solid var(--dark-border); }
.svc-body { flex:1; }
.svc-name { font-size:1rem; font-weight:700; color:var(--dark-text); margin-bottom:5px; letter-spacing:-.01em; }
.svc-desc { font-size:.875rem; color:var(--dark-muted); line-height:1.6; margin-bottom:10px; }
.svc-meta { display:flex; align-items:center; justify-content:space-between; }
.svc-price { font-size:.8125rem; font-weight:600; color:var(--dark-subtle); }
.svc-lnk { display:inline-flex; align-items:center; gap:5px; font-size:.8125rem; font-weight:600; color:var(--gold-light); }
.svc-lnk svg { transition:transform .2s; }
.svc-card:hover .svc-lnk svg { transform:translateX(4px); }

/* ── WHY CHOOSE US (Apple Accessories Carousel style) ── */
.why-section {
  background: var(--dark-bg);
  padding: 100px 0;
  border-bottom: 1px solid var(--dark-border);
}
html[data-theme="light"] .why-section {
  background: #f5f5f7;
}

.why-header {
  text-align: center;
  margin-bottom: 48px;
}
.why-header-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.why-header-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--dur) var(--ease);
}
.why-header-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Carousel structure */
.why-carousel-wrapper {
  position: relative;
  overflow: visible;
  /* 
    Pure CSS Bleeding Trick:
    margin-left/right: calc(-50vw + 50%) pulls the edges of the carousel wrapper to the viewport edges.
    padding-left/right: calc(50vw - 50%) pushes the grid content back in, aligning it exactly with the container.
  */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: max(24px, 4vw); /* Bleeds all the way to the right edge of the screen */
}
.why-carousel-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.why-carousel-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Accessory card */
.why-carousel-card {
  flex: 0 0 360px; /* fixed size so cards scroll and bleed off screen to the right */
  scroll-snap-align: start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  padding: 28px 28px 0; /* no bottom padding — image bleeds to edge */
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  cursor: default;
  overflow: hidden; /* ensures full-bleed image stays contained */
}
html[data-theme="light"] .why-carousel-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.why-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--gold-light);
}

.why-card-top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 16px;
}
.why-card-cat {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.why-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.why-card-desc {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.45;
  max-width: 100%;
}

/* Full-bleed image container at the bottom */
.why-card-img-wrap {
  margin-top: 20px; /* tight gap between text and image */
  width: calc(100% + 56px); /* offset card left and right padding */
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: 0;
  flex: 1; /* expand to fill remaining space */
  min-height: 200px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}
.why-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop to fill beautifully */
  transition: transform var(--dur) var(--ease);
}
.why-carousel-card:hover .why-card-img-wrap img {
  transform: scale(1.05);
}

/* Under navigation arrows */
.why-carousel-nav {
  display: flex;
  justify-content: flex-end; /* Right-aligned like Apple's reference */
  gap: 10px;
  margin-top: 20px;
}
@media(max-width: 768px) {
  .why-carousel-card {
    flex: 0 0 310px; /* slightly smaller on tablets & mobile */
  }
}
@media(max-width: 480px) {
  .why-carousel-card {
    flex: 0 0 280px; /* fit nicely on small phones */
  }
}

.why-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-text);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
html[data-theme="light"] .why-nav-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
}
.why-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--dark-card-hover);
}
html[data-theme="light"] .why-nav-btn:hover {
  background: rgba(0,0,0,0.02);
  border-color: var(--gold);
  color: var(--gold);
}
.why-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.why-nav-btn:disabled,
.why-nav-btn[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
/* Active next button highlight (like Apple's blue circle) */
.why-nav-btn.active {
  background: var(--dark-text);
  border-color: var(--dark-text);
  color: var(--dark-bg);
}
html[data-theme="light"] .why-nav-btn.active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

/* ── CTA BANNER ── */
.cta-wrap { background:linear-gradient(135deg,var(--near-black),#111); border-radius:var(--radius-xl); padding:68px; display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center; position:relative; overflow:hidden; }
.cta-wrap::before { content:''; position:absolute; top:-40%; right:-8%; width:380px; height:380px; background:radial-gradient(circle,rgba(201,168,76,.14),transparent 70%); pointer-events:none; }
.cta-title { font-size:clamp(1.5rem,3vw,2.2rem); font-weight:800; color:#fff; letter-spacing:-.03em; line-height:1.15; margin-bottom:10px; }
.cta-sub   { color:rgba(255,255,255,.55); font-size:1rem; }
.cta-btns  { display:flex; gap:12px; align-items:center; flex-shrink:0; flex-wrap:wrap; }

/* ═══════════════════════════════════════
   LAYANAN PAGE
═══════════════════════════════════════ */
.layan-hero-img { border-radius:var(--radius-xl); overflow:hidden; height:400px; position:relative; background:var(--dark-card); }
.layan-hero-img img { width:100%; height:100%; object-fit:cover; opacity:.65; }
.layan-hero-ov { position:absolute; inset:0; background:linear-gradient(to right,rgba(0,0,0,.72),transparent); display:flex; align-items:flex-end; padding:44px; }
.layan-hero-ov h2 { font-size:1.7rem; font-weight:700; color:#fff; margin-bottom:7px; }
.layan-hero-ov p  { color:rgba(255,255,255,.72); max-width:400px; }

.layan-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.layan-card { background:var(--dark-card); border:1px solid var(--dark-border); border-radius:var(--radius-lg); overflow:hidden; transition:border-color var(--dur),box-shadow var(--dur); display:grid; grid-template-columns:auto 1fr; }
.layan-card:hover { border-color:var(--dark-border-hover); box-shadow:var(--shadow-dark); }
.layan-img { width:190px; overflow:hidden; background:var(--dark-surface); }
.layan-img img { width:100%; height:100%; object-fit:cover; opacity:0.85; }
.layan-body { padding:26px; }
.layan-tag { display:inline-block; background:rgba(201,168,76,0.1); color:var(--gold-light); border-radius:var(--radius-full); padding:3px 10px; font-size:.73rem; font-weight:600; letter-spacing:.05em; margin-bottom:11px; }
.layan-name { font-size:1.125rem; font-weight:700; color:var(--dark-text); margin-bottom:7px; letter-spacing:-.01em; }
.layan-desc { font-size:.875rem; color:var(--dark-muted); line-height:1.6; margin-bottom:14px; }
.layan-feats { display:flex; flex-direction:column; gap:5px; margin-bottom:18px; }
.layan-feat { display:flex; align-items:center; gap:7px; font-size:.8125rem; color:var(--dark-muted); }
.layan-feat::before { content:'✓'; color:var(--gold-light); font-weight:700; width:15px; flex-shrink:0; }
.layan-link { display:inline-flex; align-items:center; gap:5px; font-size:.875rem; font-weight:600; color:var(--gold-light); border-bottom:1.5px solid transparent; transition:border-color var(--dur),color var(--dur); }
.layan-link:hover { border-bottom-color:var(--gold-light); color:var(--gold-shine); }

/* Dark card – Logic Board */
.layan-dark { background:var(--near-black); border-radius:var(--radius-lg); padding:34px; display:grid; grid-template-columns:1fr auto; gap:36px; align-items:center; transition:box-shadow var(--dur),transform var(--dur); }
.layan-dark:hover { box-shadow:0 12px 40px rgba(0,0,0,.22); transform:translateY(-2px); }
.layan-dark .layan-tag  { background:rgba(201,168,76,.14); color:var(--gold-light); }
.layan-dark .layan-name { color:#fff; }
.layan-dark .layan-desc { color:rgba(255,255,255,.62); }
.layan-dark .layan-feat { color:rgba(255,255,255,.72); }
.prog-wrap { margin-top:12px; }
.prog-lbl { display:flex; justify-content:space-between; font-size:.73rem; color:rgba(255,255,255,.55); margin-bottom:5px; }
.prog-bar  { height:4px; background:rgba(255,255,255,.1); border-radius:2px; overflow:hidden; }
.prog-fill { height:100%; background:linear-gradient(90deg,var(--gold),var(--gold-light)); border-radius:2px; }

/* Process steps — ruangapple dark numbered style */
.proc-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.proc-step { padding:36px 40px; border:1px solid var(--dark-border); position:relative; background:var(--dark-surface); }
.proc-step:nth-child(1) { border-radius:var(--radius-lg) 0 0 0; }
.proc-step:nth-child(2) { border-radius:0 var(--radius-lg) 0 0; border-left:none; }
.proc-step:nth-child(3) { border-radius:0 0 0 var(--radius-lg); border-top:none; }
.proc-step:nth-child(4) { border-radius:0 0 var(--radius-lg) 0; border-top:none; border-left:none; }
.proc-num  { font-size:4rem; font-weight:800; letter-spacing:-.06em; color:var(--proc-num-color); line-height:1; margin-bottom:16px; font-feature-settings:'tnum'; }
.proc-title { font-size:1.0625rem; font-weight:700; color:var(--dark-text); margin-bottom:8px; }
.proc-desc  { font-size:.875rem; color:var(--dark-muted); line-height:1.6; }

/* Consultation form */
.form-wrap { background:var(--dark-card); border:1px solid var(--dark-border); border-radius:var(--radius-xl); padding:56px; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.form-info h2 { font-size:1.7rem; font-weight:700; color:var(--dark-text); margin-bottom:11px; letter-spacing:-.02em; }
.form-info p  { color:var(--dark-muted); line-height:1.65; margin-bottom:26px; }
.form-contacts { display:flex; flex-direction:column; gap:13px; }
.form-citem { display:flex; align-items:flex-start; gap:11px; font-size:.9375rem; color:var(--dark-muted); }
.form-citem .fi { width:34px; height:34px; background:rgba(255,255,255,0.07); border:1px solid var(--dark-border); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
.fg { margin-bottom:16px; }
.fl { display:block; font-size:.8125rem; font-weight:600; color:var(--dark-text); margin-bottom:5px; }
.fi-input, .fi-sel, .fi-area {
  width:100%; padding:12px 15px; background:var(--dark-surface);
  border:1.5px solid var(--dark-border); border-radius:var(--radius);
  font-family:inherit; font-size:.9375rem; color:var(--dark-text);
  transition:border-color var(--dur),box-shadow var(--dur); outline:none;
}
.fi-input::placeholder, .fi-area::placeholder { color:var(--dark-subtle); }
.fi-input:focus, .fi-sel:focus, .fi-area:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,168,76,.1); }
.fi-area { resize:vertical; min-height:96px; }
.form-row2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }

/* ═══════════════════════════════════════
   CABANG PAGE
═══════════════════════════════════════ */
.map-box { background:var(--dark-surface); border-radius:var(--radius-xl); height:320px; position:relative; overflow:hidden; border:1px solid var(--dark-border); display:flex; align-items:center; justify-content:center; }
.map-pin { position:absolute; width:13px; height:13px; background:var(--gold); border-radius:50%; border:3px solid var(--dark-bg); box-shadow:0 2px 8px rgba(0,0,0,.4); cursor:pointer; transition:transform .2s; }
.map-pin::before { content:''; position:absolute; inset:-4px; border-radius:50%; background:rgba(201,168,76,.2); animation:ring 2s infinite; }
.map-pin:hover { transform:scale(1.5); }
@keyframes ring { 0%{transform:scale(1);opacity:1;} 100%{transform:scale(2.5);opacity:0;} }
.map-lbl { position:absolute; background:var(--dark-card); border:1px solid var(--dark-border); border-radius:8px; padding:3px 9px; font-size:.72rem; font-weight:600; color:var(--dark-text); box-shadow:var(--shadow-dark); white-space:nowrap; transform:translate(-50%,-175%); }

/* ── BRANCH SECTION — Apple Retail style ── */
.branch-section {
  background: var(--dark-bg);
  padding-top: 80px;
  padding-bottom: 80px;
}
html[data-theme="light"] .branch-section {
  background: #f5f5f7;
}
.branch-section .container {
  position: relative;
}

.branch-header {
  text-align: center;
  margin-bottom: 44px;
}
.branch-header-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--dark-text);
}

/* Carousel wrapper */
.branch-carousel-wrapper {
  position: relative;
  overflow: visible;
  /* 
    Pure CSS Bleeding Trick:
    margin-left/right: calc(-50vw + 50%) pulls the edges of the carousel wrapper to the viewport edges.
    padding-left: calc(50vw - 50% + 56px) offsets it back, aligning it with the container padding.
    padding-right: calc(50vw - 50% + 56px) lets the cards bleed and stay visible to the right screen edge.
  */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50% + 56px);
  padding-right: calc(50vw - 50% + 56px);
}

/* Horizontal scroll grid */
.branch-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.branch-grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Individual store card - Apple Retail style */
.branch-card {
  flex: 0 0 340px; /* fixed card width, exactly like Apple */
  scroll-snap-align: start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: default;
  display: flex;
  flex-direction: column;
}
html[data-theme="light"] .branch-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Action button bar for branch cards */
.branch-card-actions {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  border-top: 1px solid var(--dark-border);
  padding-top: 14px;
}
.branch-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--apple-blue);
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.branch-action-btn:hover {
  color: var(--apple-blue);
  text-decoration: underline;
  opacity: 0.85;
}
.branch-action-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.branch-card-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--dark-surface);
}
.branch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.branch-card:hover .branch-card-img img {
  transform: scale(1.03);
}

.branch-card-body {
  padding: 24px 24px 28px;
  text-align: left;
}
.branch-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.branch-card-addr {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 52px; /* aligns different heights */
}
.branch-card-hours {
  font-size: 0.85rem;
  color: var(--dark-muted);
  font-weight: 500;
}

/* Branch carousel navigation layout - floats on left/right edges of container on desktop */
.branch-carousel-nav {
  position: absolute;
  top: 50%;
  left: -22px; /* Centers the 44px buttons exactly on the container boundaries */
  right: -22px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between; /* push arrows to the left and right */
  pointer-events: none; /* let mouse hover through the bar area */
  z-index: 15;
}

/* Apple-style clean circle nav buttons */
.branch-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  color: var(--dark-text);
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
  flex-shrink: 0;
  pointer-events: auto; /* make buttons clickable */
}
html[data-theme="light"] .branch-nav-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.branch-nav-btn:hover {
  background: var(--dark-card-hover);
  border-color: var(--dark-border-hover);
}
html[data-theme="light"] .branch-nav-btn:hover {
  background: #f5f5f7;
}
.branch-nav-btn:disabled,
.branch-nav-btn[aria-disabled="true"] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.branch-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Responsive adjustments for mobile/tablet viewports */
@media (max-width: 768px) {
  .branch-carousel-wrapper {
    /* Align left margin exactly with container (no desktop arrow offset needed) */
    padding-left: calc(50vw - 50%);
    padding-right: max(24px, 4vw);
  }
  /* On mobile, move nav arrows below the cards as a right-aligned row */
  .branch-carousel-nav {
    position: static;
    transform: none;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    pointer-events: auto;
  }
  .branch-card {
    flex: 0 0 310px; /* smaller card width on tablets so it fits well */
  }
}
@media (max-width: 480px) {
  .branch-card {
    flex: 0 0 280px; /* smaller card on phones to ensure the next store peeks on the right edge */
  }
}

/* Footer CTA link */
.branch-footer {
  text-align: center;
  margin-top: 44px;
}
.branch-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gold);
  transition: color var(--dur) var(--ease);
  text-decoration: none;
}
.branch-footer-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Legacy classes still used in other pages */
.cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 24px; border-radius: var(--radius-full); font-size: .875rem; font-weight: 600; text-align: center; transition: opacity var(--dur); cursor: pointer; border: none; text-decoration: none; }
.cb-btn-d { background: var(--apple-btn-bg); color: var(--apple-btn-text); }
.cb-btn-d:hover { opacity: 0.9; }
.cb-btn-o { background: transparent; color: var(--gold); border: none; padding: 6px 0; width: auto; align-self: center; }
.cb-btn-o:hover { color: var(--gold-light); text-decoration: underline; }

/* ═══════════════════════════════════════
   DUKUNGAN PAGE
═══════════════════════════════════════ */
.sup-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:52px; }
.sup-card { background:#fff; border:1px solid var(--mid-gray); border-radius:var(--radius-lg); padding:30px 26px; text-align:center; transition:border-color var(--dur),box-shadow var(--dur),transform var(--dur); }
.sup-card:hover { border-color:rgba(201,168,76,.35); box-shadow:var(--shadow-gold); transform:translateY(-3px); }
.sup-ico { width:62px; height:62px; background:var(--near-black); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:24px; position:relative; overflow:hidden; }
.sup-ico::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(201,168,76,.3),transparent); }
.sup-title { font-size:1rem; font-weight:700; color:var(--near-black); margin-bottom:7px; }
.sup-desc  { font-size:.875rem; color:var(--text-gray); line-height:1.6; margin-bottom:18px; }
.sup-val   { font-size:1rem; font-weight:700; color:var(--near-black); margin-bottom:14px; }
.sup-lnk   { display:inline-flex; align-items:center; gap:5px; font-size:.875rem; font-weight:600; color:var(--gold-dark); }

.contact-ch { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:28px; }
.ch-item { display:flex; align-items:center; gap:13px; background:#fff; border:1px solid var(--mid-gray); border-radius:var(--radius); padding:15px 18px; transition:border-color var(--dur),box-shadow var(--dur); }
.ch-item:hover { border-color:rgba(201,168,76,.35); box-shadow:var(--shadow-sm); }
.ch-ico  { width:38px; height:38px; background:var(--near-black); border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.ch-title { font-size:.875rem; font-weight:700; color:var(--near-black); }
.ch-val   { font-size:.8125rem; color:var(--text-gray); }

/* Guarantee */
.guar-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.guar-badges { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.g-badge { background:#fff; border:1px solid var(--mid-gray); border-radius:var(--radius-lg); padding:22px; transition:border-color var(--dur),box-shadow var(--dur); }
.g-badge:hover { border-color:rgba(201,168,76,.35); box-shadow:var(--shadow-gold); }
.g-ico   { font-size:26px; margin-bottom:9px; }
.g-title { font-size:.875rem; font-weight:700; color:var(--near-black); margin-bottom:4px; }
.g-text  { font-size:.8125rem; color:var(--text-gray); }

/* FAQ */
.faq-list { display:flex; flex-direction:column; }
.faq-item { border-top:1px solid var(--dark-border); overflow:hidden; }
.faq-item:last-child { border-bottom:1px solid var(--dark-border); }
.faq-q { width:100%; text-align:left; padding:19px 0; font-size:.9375rem; font-weight:600; color:var(--dark-text); display:flex; justify-content:space-between; align-items:center; gap:14px; cursor:pointer; transition:color .2s; }
.faq-q:hover { color:var(--gold-light); }
.faq-chev { width:19px; height:19px; flex-shrink:0; transition:transform .3s; color:var(--dark-subtle); }
.faq-item.open .faq-chev { transform:rotate(180deg); color:var(--gold-light); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .38s ease; }
.faq-item.open .faq-a { max-height:220px; }
.faq-a-inner { padding-bottom:18px; font-size:.9375rem; color:var(--dark-muted); line-height:1.65; }

/* ═══════════════════════════════════════
   ESTIMATOR — Apple Trade-In style
═══════════════════════════════════════ */

/* Section wrapper */
.est-section {
  background: var(--dark-bg);
}
html[data-theme="light"] .est-section {
  background: #ffffff;
}
html[data-theme="light"] .estimator-wrap,
html[data-theme="light"] .est-body-grid,
html[data-theme="light"] .est-nav-strip,
html[data-theme="light"] .est-models,
html[data-theme="light"] .est-services {
  background: #f5f5f7 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .est-models-head,
html[data-theme="light"] .est-svc-head,
html[data-theme="light"] .est-svc-footer {
  border-color: rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .est-svc-row {
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .est-model-btn {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #1d1d1f !important;
}
html[data-theme="light"] .est-model-btn:hover {
  background: #f9f9f9 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}
html[data-theme="light"] .est-model-btn.active {
  background: #ffffff !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.25) !important;
}
html[data-theme="light"] .est-models-grid::-webkit-scrollbar-thumb,
html[data-theme="light"] .est-svc-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15) !important;
}

/* Remove default focus outline on buttons */
.est-model-btn:focus,
.est-tab:focus,
.est-dev-btn:focus {
  outline: none !important;
}

/* Centered headline block (Apple Trade-In) */
.est-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.est-header-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark-text);
  margin-bottom: 20px;
}
.est-header-sub {
  font-size: 1.0625rem;
  color: var(--dark-muted);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* Tab bar — icons above labels, underline on active */
.est-tab-bar {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar on Firefox */
}
.est-tab-bar::-webkit-scrollbar {
  display: none; /* Hide scrollbar on Chrome, Safari, Opera */
}
.est-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 40px 18px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--dark-muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  flex: 0 0 auto; /* Prevent tabs from shrinking and clipping on small screens */
}
.est-tab:hover {
  color: var(--dark-text);
}
.est-tab.active {
  color: var(--dark-text);
  border-bottom-color: var(--dark-text);
}

/* Responsive adjustments for the estimator tab bar */
@media (max-width: 768px) {
  .est-tab-bar {
    justify-content: flex-start; /* Start from left on mobile so it scrolls naturally */
    padding-left: 20px;
    padding-right: 20px;
  }
  .est-tab {
    padding: 8px 24px 18px; /* Tighter padding on mobile */
    gap: 8px;
  }
}
.est-tab-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: auto;
}
.est-tab-ico svg {
  height: 44px;
  width: auto;
  max-width: 54px;
  display: block;
}
.est-tab-label {
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  color: inherit;
}
.est-tab-divider {
  display: none; /* divider is handled by est-tab-bar border-bottom */
}

/* Content card */
.estimator-wrap {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.02);
}

/* Horizontal Device Navigation Strip (Apple store style) */
.est-nav-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 24px 20px;
  background: var(--dark-surface);
  border-bottom: 1px solid var(--dark-border);
  overflow-x: auto;
}
.est-nav-strip::-webkit-scrollbar { display: none; } /* hide scrollbars */

.est-dev-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color var(--dur) var(--ease), transform .2s var(--ease);
  color: var(--dark-muted);
  min-width: 90px;
}
.est-dev-btn:hover {
  color: var(--dark-text);
}
.est-dev-btn.active {
  color: var(--gold);
}
.est-dev-btn .est-dev-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  transition: transform .2s var(--ease);
  color: inherit;
}
.est-dev-btn .est-dev-ico svg {
  width: 26px !important;
  height: 26px !important;
  stroke-width: 1.6;
}
.est-dev-btn:hover .est-dev-ico {
  transform: scale(1.06);
}
.est-dev-btn .est-dev-label {
  font-size: .75rem;
  font-weight: 500;
  text-align: center;
  color: inherit;
}
.est-dev-btn.active .est-dev-label {
  font-weight: 600;
  color: var(--gold);
}

.est-body-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--dark-surface);
}

@media(max-width:860px) {
  .est-body-grid { grid-template-columns: 1fr; }
  .est-nav-strip { gap: 16px; justify-content: flex-start; }
}

/* Panel 2 — Model grid */
.est-models {
  display: flex;
  flex-direction: column;
}
.est-models-head {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--dark-border);
}
.est-models-title {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 2px;
}
.est-models-sub {
  font-size: .73rem;
  color: var(--dark-subtle);
}
.est-models-grid {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  overflow-y: auto;
  max-height: 480px;
  flex: 1;
}
.est-models-grid::-webkit-scrollbar { width: 4px; }
.est-models-grid::-webkit-scrollbar-track { background: transparent; }
.est-models-grid::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 2px; }
.est-model-btn {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--dark-border);
  background: var(--dark-card);
  cursor: pointer;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 500;
  color: var(--dark-text);
  text-align: left;
  transition: background .2s, border-color .2s, color .2s;
  line-height: 1.3;
}
.est-model-btn:hover {
  background: rgba(255,255,255,.04);
  border-color: var(--dark-border-hover);
  color: var(--dark-text);
}
.est-model-btn.active {
  background: var(--dark-bg);
  border-color: var(--gold);
  color: var(--dark-text);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(201,168,76,.15);
}
.est-model-btn .est-model-year {
  font-size: .67rem;
  color: var(--dark-subtle);
  margin-top: 2px;
  display: block;
}
.est-model-btn.active .est-model-year { color: var(--gold); }

/* Panel 3 — Service list */
.est-services {
  display: flex;
  flex-direction: column;
  margin: 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.est-services.has-selection {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
html[data-theme="light"] .est-services.has-selection {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Responsive margins */
@media (max-width: 860px) {
  .est-services {
    margin: 12px;
  }
}
.est-svc-head {
  padding: 20px 22px 14px;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.est-svc-title {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 2px;
}
.est-svc-device-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-pale);
  border: 1px solid rgba(197,160,89,.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}
.est-svc-list {
  padding: 10px 22px;
  overflow-y: auto;
  max-height: 420px;
  flex: 1;
}
.est-svc-list::-webkit-scrollbar { width: 4px; }
.est-svc-list::-webkit-scrollbar-track { background: transparent; }
.est-svc-list::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 2px; }

.est-svc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--dark-border);
  transition: background .15s;
}
.est-svc-row:last-child { border-bottom: none; }
.est-svc-left { flex: 1; min-width: 0; }
.est-svc-name {
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 2px;
}
.est-svc-warranty {
  font-size: .7rem;
  color: var(--dark-subtle);
  display: flex;
  align-items: center;
  gap: 4px;
}
.est-svc-price {
  font-size: .875rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}
.est-svc-price.unavail {
  color: var(--dark-subtle);
  font-weight: 400;
  font-size: .8rem;
  font-style: italic;
}

.est-svc-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.est-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .2s;
  text-decoration: none;
}
.est-wa-btn:hover { opacity: .9; transform: translateY(-1px); }
.est-note {
  font-size: .7rem;
  color: var(--dark-subtle);
  text-align: center;
  line-height: 1.5;
}

/* Empty / loading state */
.est-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  text-align: center;
}
.est-empty-ico { font-size: 2.5rem; opacity: .3; }
.est-empty-text { font-size: .875rem; color: var(--dark-subtle); }

/* Fade-in for service rows */
@keyframes estFadeIn { from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }
.est-svc-row { animation: estFadeIn .25s ease both; }

/* Responsive */
@media(max-width:1024px) {
  .estimator-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .est-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--dark-border);
    gap: 6px;
    padding: 14px;
  }
  .est-sidebar-title { width:100%; padding-bottom:8px; }
  .est-dev-btn { width: auto; flex: 0 0 auto; }
  .est-dev-btn .est-dev-sub { display: none; }
  .est-models { border-right: none; border-bottom: 1px solid var(--dark-border); }
  .est-models-grid { max-height: 200px; grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:768px) {
  .estimator-wrap { border-radius: var(--radius-lg); }
  .est-sidebar { padding: 12px; }
  .est-dev-btn { padding: 8px 10px; }
  .est-dev-btn .est-dev-ico { width:28px; height:28px; font-size:14px; }
  .est-dev-btn .est-dev-label { font-size:.78rem; }
  .est-models-grid { grid-template-columns: repeat(2,1fr); max-height:180px; }
  .est-svc-list { max-height: 300px; }
  .form-wrap { padding: 22px; gap: 22px; }
}


/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
/* ─── Apple-style Premium Footer ─── */
footer {
  background: var(--dark-bg-alt); /* matte dark grey background */
  color: var(--dark-muted);
  padding: 32px 0 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
html[data-theme="light"] footer {
  background: #f5f5f7; /* light gray matte */
  color: #86868b;
}

/* Footnotes */
.foot-notes {
  font-size: 0.72rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 18px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.38);
}
html[data-theme="light"] .foot-notes {
  border-bottom-color: rgba(0, 0, 0, 0.12);
  color: #86868b;
}
.foot-notes ol {
  margin: 0;
  padding-left: 14px;
}
.foot-notes li {
  margin-bottom: 8px;
}
.foot-notes li strong {
  color: var(--dark-text);
}
html[data-theme="light"] .foot-notes li strong {
  color: #1d1d1f;
}

/* Breadcrumbs */
.foot-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.45);
}
html[data-theme="light"] .foot-breadcrumbs {
  color: #515154;
}
.foot-breadcrumbs a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
html[data-theme="light"] .foot-breadcrumbs a {
  color: #515154;
}
.foot-breadcrumbs a:hover {
  color: var(--gold-light);
}
html[data-theme="light"] .foot-breadcrumbs a:hover {
  color: var(--gold);
}
.bc-separator {
  color: rgba(255, 255, 255, 0.25);
}
html[data-theme="light"] .bc-separator {
  color: rgba(0, 0, 0, 0.2);
}
.bc-item.current {
  color: var(--dark-text);
  font-weight: 500;
}
html[data-theme="light"] .bc-item.current {
  color: #1d1d1f;
}

/* Footer Dividers */
.foot-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 18px 0;
}
html[data-theme="light"] .foot-divider {
  background: rgba(0, 0, 0, 0.12);
}

/* Footer columns grid */
.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 12px 0 24px;
}
.foot-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
html[data-theme="light"] .foot-col-title {
  color: #1d1d1f;
}
.foot-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-lnk {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
html[data-theme="light"] .foot-lnk {
  color: #515154;
}
.foot-lnk:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
html[data-theme="light"] .foot-lnk:hover {
  color: var(--gold);
}

/* Info block styling */
.foot-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.72rem;
}
.foot-info-item {
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
html[data-theme="light"] .foot-info-item {
  color: #515154;
}
.foot-cta-link {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
html[data-theme="light"] .foot-cta-link {
  color: var(--gold);
}
.foot-cta-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Shop info styling - Apple's "More ways to shop" */
.foot-shop {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  margin-bottom: 12px;
}
html[data-theme="light"] .foot-shop {
  color: #6e6e73;
}
.foot-shop a {
  color: #2997ff; /* Apple Blue in dark mode */
  text-decoration: none;
}
html[data-theme="light"] .foot-shop a {
  color: #0066cc; /* High contrast Apple Blue in light mode */
}
.foot-shop a:hover {
  text-decoration: underline;
}

/* Footer bottom copyright and legal links */
.foot-bottom {
  border-top: none;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
}
html[data-theme="light"] .foot-bottom {
  color: #86868b;
}
.foot-copy {
  margin: 0;
}
.foot-legal {
  display: flex;
  gap: 16px;
}
.foot-legal a {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
html[data-theme="light"] .foot-legal a {
  color: #86868b;
}
.foot-legal a:hover {
  color: var(--dark-text);
  text-decoration: underline;
}
html[data-theme="light"] .foot-legal a:hover {
  color: #1d1d1f;
}

/* ═══════════════════════════════════════
   CTA — Apple-style Minimal Centered
═══════════════════════════════════════ */
.cta-apple-section {
  padding: 100px 24px;
  background: var(--dark-bg);
  text-align: center;
  transition: background var(--dur) var(--ease);
}
html[data-theme="light"] .cta-apple-section {
  background: #f5f5f7;
}

.cta-apple-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-apple-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark-muted);
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  text-transform: none;
}
html[data-theme="light"] .cta-apple-eyebrow {
  color: #6e6e73;
}

.cta-apple-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.cta-apple-sub {
  font-size: 1.0625rem;
  color: var(--dark-muted);
  line-height: 1.65;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
html[data-theme="light"] .cta-apple-sub {
  color: #515154;
}

.cta-apple-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Primary button — solid dark pill (Apple default) */
.cta-apple-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-text);
  color: var(--dark-bg) !important;
  padding: 13px 28px;
  border-radius: 980px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  letter-spacing: -0.01em;
}
.cta-apple-btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
html[data-theme="light"] .cta-apple-btn-primary {
  background: #1d1d1f;
  color: #ffffff !important;
}

/* Secondary button — text link style (Apple "learn more" style) */
.cta-apple-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--apple-blue);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
  letter-spacing: -0.01em;
}
.cta-apple-btn-secondary:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-apple-footnote {
  font-size: 0.75rem;
  color: var(--dark-subtle);
  margin: 0;
  letter-spacing: 0.01em;
}
html[data-theme="light"] .cta-apple-footnote {
  color: #86868b;
}

@media (max-width: 600px) {
  .cta-apple-section { padding: 72px 24px; }
  .cta-apple-actions { flex-direction: column; gap: 12px; }
  .cta-apple-btn-primary,
  .cta-apple-btn-secondary { width: 100%; justify-content: center; }
}


/* Responsive Footer */
@media (max-width: 768px) {
  .foot-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    border-top: 1px solid #333336;
    margin-top: 8px;
  }
  html[data-theme="light"] .foot-grid {
    border-top-color: #d2d2d7;
  }
  .foot-col {
    border-bottom: 1px solid #333336;
    padding: 12px 0;
  }
  html[data-theme="light"] .foot-col {
    border-bottom-color: #d2d2d7;
  }
  .foot-col-title {
    margin-bottom: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    user-select: none;
    font-size: 0.75rem;
    font-weight: 500;
  }
  /* Plus / Chevron icon for toggle */
  .foot-col-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s var(--ease);
    margin-right: 6px;
    opacity: 0.7;
  }
  /* When open, rotate chevron */
  .foot-col.open .foot-col-title::after {
    transform: rotate(-135deg);
  }
  
  /* Collapsible Links container */
  .foot-col .foot-links, .foot-col .foot-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1), padding-top 0.3s var(--ease), opacity 0.3s var(--ease);
    opacity: 0;
    padding-top: 0;
  }
  
  /* Expand when open class is applied */
  .foot-col.open .foot-links, .foot-col.open .foot-info {
    max-height: 250px; /* high enough to contain the list */
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 4px;
  }
  
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .foot-legal {
    flex-wrap: wrap;
    gap: 12px;
  }
  .foot-country {
    margin-left: 0;
    margin-top: 4px;
  }
}

/* ── WA FLOAT ── */
.wa-float { position:fixed; bottom:26px; right:26px; width:54px; height:54px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,.35); z-index:500; transition:transform var(--dur),box-shadow var(--dur); }
.wa-float:hover { transform:scale(1.08); box-shadow:0 8px 28px rgba(37,211,102,.42); }
.wa-float svg { width:27px; height:27px; fill:#fff; }

/* ─── SCROLL ANIMATION ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px);} to{opacity:1;transform:translateY(0);} }
.au  { animation:fadeUp .6s ease both; }
.au2 { animation:fadeUp .6s .12s ease both; }

/* ═══════════════════════════════════════
   CABANG DROPDOWN — Apple mega-menu style
═══════════════════════════════════════ */
.nav-has-drop { position: relative; }

/* The dropdown panel */
.nav-dropdown {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--nav-drop-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--nav-drop-border);
  box-shadow: var(--nav-drop-shadow);
  z-index: 998;
  /* animation */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.nav-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Page Dimming Overlay */
.nav-drop-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease);
}
.nav-drop-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Inner grid — 3 columns like Apple */
.dd-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 24px 40px;
  display: grid;
  grid-template-columns: 260px 1px 1fr;
  gap: 0 48px;
}

/* Col 1 — "Explore" big links */
.dd-col-head {
  font-size: 11px; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--nav-drop-text-small); margin-bottom: 16px;
}
.dd-big-link {
  display: block; font-size: 1.5rem; font-weight: 600;
  color: var(--nav-drop-text-big); line-height: 1.25;
  margin-bottom: 12px; cursor: pointer;
  letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.dd-big-link:hover { color: var(--gold-dark); }
.dd-small-link {
  display: block; font-size: .8125rem; font-weight: 500;
  color: var(--nav-drop-text-small); margin-bottom: 8px; cursor: pointer;
  transition: color .2s var(--ease);
}
.dd-small-link:hover { color: var(--nav-drop-text-big); }

/* Vertical divider between columns */
.dd-divider {
  width: 1px; background: var(--nav-drop-divider);
  align-self: stretch;
}

/* Col 2 & 3 — city cards grid */
.dd-city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dd-city {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border: 1px solid var(--nav-drop-city-border);
  background: var(--nav-drop-city-bg);
  border-radius: var(--radius);
  cursor: pointer; transition: all 0.25s var(--ease);
}
.dd-city:hover {
  background: var(--dark-card-hover);
  border-color: var(--dark-border-hover);
  box-shadow: var(--shadow-dark);
  transform: translateY(-2px);
}
.dd-city-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius-sm); display: flex; align-items: center;
  justify-content: center; color: var(--gold-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.dd-city-ico svg {
  width: 18px; height: 18px;
}
.dd-city:hover .dd-city-ico {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.dd-city-name { font-size: .92rem; font-weight: 600; color: var(--nav-drop-city-name); margin-bottom: 2px; transition: color var(--dur); }
.dd-city:hover .dd-city-name { color: var(--gold-dark); }
.dd-city-sub  { font-size: .75rem; color: var(--nav-drop-city-sub); line-height: 1.4; }
.dd-city-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(46,125,50,0.06); color: #2e7d32;
  border-radius: 4px; padding: 2px 6px; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; margin-top: 6px;
  border: 1px solid rgba(46,125,50,0.12);
}

/* Bottom strip */
.dd-strip {
  border-top: 1px solid var(--nav-drop-divider);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--max-w); margin: 0 auto;
}
.dd-strip-item {
  font-size: .8rem; font-weight: 500; color: var(--nav-drop-text-small); cursor: pointer;
  transition: color .2s var(--ease); display: flex; align-items: center; gap: 6px;
}
.dd-strip-item:hover { color: var(--gold-dark); }
.dd-strip-item svg {
  width: 14px; height: 14px; stroke-width: 2.2;
}
.dd-strip-item .dd-arr {
  transition: transform 0.2s var(--ease);
}
.dd-strip-item:hover .dd-arr {
  transform: translateX(2px);
}
@media(max-width:768px){ .nav-dropdown{ display:none; } }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media(max-width:1024px){
  .hero-grid,.about-grid,.guar-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .svc-grid{ grid-template-columns:1fr 1fr; }
  .why-grid{ grid-template-columns:1fr 1fr; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .s-item:nth-child(2)::after{ display:none; }
  .cta-wrap{ grid-template-columns:1fr; padding:46px; }
  .layan-grid{ grid-template-columns:1fr; }
  .layan-card{ grid-template-columns:1fr; }
  .layan-img{ width:100%; aspect-ratio:16/9; }
  .layan-dark{ grid-template-columns:1fr; }
  .form-wrap{ grid-template-columns:1fr; padding:34px; gap:34px; }
  .proc-grid{ grid-template-columns:repeat(2,1fr); gap:30px; }
  .proc-grid::before{ display:none; }
  .cabang-feat{ grid-template-columns:1fr; }
  .cabang-sm-grid{ grid-template-columns:1fr 1fr; }
  .sup-grid{ grid-template-columns:1fr 1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; gap:28px; }
  .contact-ch{ grid-template-columns:1fr; }
  .hl-grid{ grid-template-columns:1fr; }
}
@media(max-width:768px){
  :root {
    --nav-h: 56px;
  }
  .nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  .nav-icons {
    gap: 12px;
  }
  .nav-links,.nav-wa{ display:none; }
  .ham-btn{ display:flex; }
  .hero{ padding-top:calc(var(--nav-h) + 36px); padding-bottom:56px; }
  .section{ padding:56px 0; }
  .svc-grid{ grid-template-columns:1fr; }
  .why-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    gap: 16px;
    margin-top: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .why-grid::-webkit-scrollbar { display: none; }
  .why-card {
    min-width: 290px;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: 380px;
    padding: 30px 24px;
  }
  .cabang-sm-grid{ grid-template-columns:1fr; }
  .sup-grid{ grid-template-columns:1fr; }
  .form-row2{ grid-template-columns:1fr; }
  .guar-badges{ grid-template-columns:1fr 1fr; }
  .stat-card.tl{ top:-10px; left:-10px; }
  .stat-card.br{ bottom:-10px; right:-10px; }
}
@media(max-width:480px){
  .why-grid{ grid-template-columns:1fr; }
  .guar-badges{ grid-template-columns:1fr; }
  .hero-btns{ flex-direction:column; }
  .cta-btns{ flex-direction:column; width:100%; }
  .btn{ justify-content:center; }
}
