/* src/styles/nav-shared.css */
/* ===== Nav shared (contact + service + post template) — identik dengan homepage ===== */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
  transition: transform .5s var(--ease, ease), background .4s, box-shadow .4s;
  transform: translateY(0);
}
nav#nav .brand { display: flex; align-items: center; text-decoration: none; }
nav#nav .brand-logo { height: 40px; width: auto; display: block; }
nav#nav .brand-logo--light { display: none; }
nav#nav.solid .brand-logo--dark { display: none; }
nav#nav.solid .brand-logo--light { display: block; }
nav#nav .links { display: flex; gap: 30px; }
nav#nav .links a {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  opacity: .85;
  transition: opacity .25s ease, color .3s ease;
}
nav#nav .links a:hover { opacity: 1; color: #fff; }
nav#nav.solid { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line, rgba(16,17,20,.12)); }
nav#nav.solid .links a { color: var(--ink, #101114); }
nav#nav.solid .links a:hover { color: var(--blue, #1350c9); }
nav#nav .nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink, #101114); color: #fff;
  text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 100px;
  transition: transform .3s var(--ease, ease), background .3s;
}
nav#nav .nav-cta:hover { background: var(--blue, #1350c9); transform: translateY(-2px); }
nav#nav.hidden { transform: translateY(-110%); }
@media (max-width: 760px) {
  nav#nav .links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  nav#nav, nav#nav .nav-cta { transition: none; }
}


/* src/styles/lead-shared.css */
body.locked {
  overflow: hidden;
}

/* --- lead capture modal --- */
.lead-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 24, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}

.lead-backdrop.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity .45s var(--ease);
}

.lead-modal {
  position: fixed;
  z-index: 1600;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s .5s;
}

.lead-modal.show {
  visibility: visible;
  pointer-events: auto;
}

.lead-card {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 88svh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .45s var(--ease);
}

.lead-modal.show .lead-card {
  transform: none;
  opacity: 1;
}

.lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(8, 12, 24, 0.08);
  color: var(--ink);
  font-size: 15px;
}

.lead-card h3 {
  font-size: clamp(24px, 3vw, 30px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lead-sub {
  color: rgba(16, 17, 20, 0.6);
  font-size: 14px;
  margin-bottom: 22px;
}

.lead-card label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 14px 0 6px;
}

.lead-card input,
.lead-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.lead-card input:focus,
.lead-card textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19, 80, 201, 0.15);
}

.lead-card textarea {
  min-height: 80px;
  resize: vertical;
}

.lead-card .btn-wa {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  border: 0;
  cursor: pointer;
}

/* src/styles/contact-base.css */
/* Service single page (template: services postType) — EasyVisa Bali */
.svc-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--blue-deep, #0a1224); }
.sp-hero { padding: clamp(48px, 9vw, 110px) clamp(20px, 4vw, 56px) clamp(40px, 7vw, 90px); }
.sp-hero-inner { max-width: 980px; margin: 0 auto; }
.sp-eyebrow { color: #C3D4FF; }
.sp-title { color: #fff; font-size: clamp(38px, 7vw, 72px); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; margin: 18px 0 0; }
.sp-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.sp-cta { background: #fff; color: var(--ink, #101114); text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 100px; display: inline-flex; align-items: center; gap: 10px; transition: transform .3s var(--ease, ease), box-shadow .3s; }
.sp-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.sp-back { color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.sp-back:hover { color: #fff; border-color: #fff; }
.sp-main { flex: 1; background: var(--canvas, #f5f2ec); border-radius: 28px 28px 0 0; margin-top: -24px; padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 56px) clamp(48px, 7vw, 90px); }
.sp-body { max-width: 980px; margin: 0 auto; }
.sp-body p { color: rgba(16,17,20,.72); font-size: 16.5px; line-height: 1.75; margin: 0 0 18px; }
.sp-body h2 { font-family: var(--mono, monospace); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue, #1350c9); margin: 34px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line, rgba(16,17,20,.1)); }
.sp-body ul { list-style: none; margin: 0; padding: 0; }
.sp-body li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; line-height: 1.6; color: rgba(16,17,20,.78); border-bottom: 1px dashed rgba(16,17,20,.08); }
.sp-body li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; background: var(--blue, #1350c9); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.sp-next { max-width: 980px; margin: clamp(44px, 7vw, 80px) auto 0; }
.sp-next-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.sp-next-grid > [data-instatic-loop] { display: contents; }
.sp-next-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line, rgba(16,17,20,.1)); border-radius: 14px; padding: 16px 18px; text-decoration: none; transition: transform .3s var(--ease, ease), box-shadow .3s, border-color .3s; }
.sp-next-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(5,10,24,.08); border-color: var(--blue, #1350c9); }
.sp-next-title { font-size: 14px; font-weight: 600; color: var(--ink, #101114); }
.sp-next-arrow { color: var(--blue, #1350c9); font-size: 16px; }
.sp-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px clamp(20px, 4vw, 56px); background: var(--ink, #101114); color: rgba(255,255,255,.6); font-family: var(--mono, monospace); font-size: 11.5px; letter-spacing: .08em; }
.sp-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.sp-footer a:hover { color: #fff; }
@media (max-width: 680px) {
    .sp-hero-meta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sp-main { border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  }



/* src/styles/contact-page.css */
/* ===== Contact page — EasyVisa Bali (extends service-page base) ===== */
.ct-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--blue-deep, #0a1224); }
.ct-lead { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; max-width: 640px; margin: 26px 0 0; }

.ct-offices { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; }
.ct-office { background: #fff; border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.ct-office-tag { font-family: var(--mono, monospace); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue, #1350c9); }
.ct-office-name { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.01em; margin: 0; color: var(--ink, #101114); }
.ct-office-addr { color: rgba(16,17,20,.7); font-size: 15.5px; line-height: 1.65; margin: 0; }
.ct-office-hours { color: rgba(16,17,20,.55); font-size: 13.5px; margin: 0; padding-top: 12px; border-top: 1px dashed rgba(16,17,20,.12); }
.ct-office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 6px; }
.ct-btn { background: var(--blue, #1350c9); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 100px; display: inline-flex; align-items: center; gap: 8px; transition: transform .3s var(--ease, ease), box-shadow .3s, background .3s; }
.ct-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(19,80,201,.28); background: #0e3fa0; }
.ct-dir { color: var(--ink, #101114); text-decoration: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid rgba(16,17,20,.25); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.ct-dir:hover { color: var(--blue, #1350c9); border-color: var(--blue, #1350c9); }

.ct-cta { max-width: 980px; margin: clamp(44px, 7vw, 80px) auto 0; background: var(--ink, #101114); border-radius: 24px; padding: clamp(36px, 5vw, 64px); text-align: center; }
.ct-cta .eyebrow { color: rgba(255,255,255,.55); }
.ct-cta-title { color: #fff; font-size: clamp(26px, 4vw, 42px); letter-spacing: -0.015em; margin: 14px 0 0; }
.ct-cta-sub { color: rgba(255,255,255,.65); font-size: 15.5px; margin: 14px 0 0; }
.ct-cta-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; background: #25d366; color: #062b16; text-decoration: none; font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: 100px; transition: transform .3s var(--ease, ease), box-shadow .3s; }
.ct-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.3); }

@media (max-width: 760px) {
  .ct-offices { grid-template-columns: 1fr; }
  .ct-office-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-btn, .ct-cta-btn { transition: none; }
}

/* src/styles/contact-final.css */
/* ===== Contact: CTA tunggal + link WA kartu kantor (redesign 23 Okt) ===== */
/* link WA kecil inline di kartu kantor — sejajar Get Directions */
.ct-wa-link {
  font-size: 14px; font-weight: 600; color: var(--blue, #1350c9);
  text-decoration: none; border: none; background: none; padding: 0;
}
.ct-wa-link:hover { text-decoration: underline; }

/* CTA tunggal di akhir halaman — pola post-cta, bersih */
.ct-final {
  max-width: 980px; margin: clamp(44px, 7vw, 84px) auto 0;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line, rgba(16,17,20,.1));
  border-radius: 20px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ct-final .eyebrow { color: var(--blue, #1350c9); font-family: var(--mono, monospace); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ct-final-title { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; margin: 6px 0 4px; }
.ct-final-sub { color: rgba(16,17,20,.65); font-size: 16px; line-height: 1.6; max-width: 520px; margin: 0 0 18px; }
.ct-final-btn { background: #1fae53; color: #fff; }


/* src/styles/nav-hamburger.css */
/* ===== Hamburger: phone + tablet portrait; landscape link penuh ===== */
.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: none; cursor: pointer; z-index: 60;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink, #101114); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
nav#nav:not(.solid) .burger span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.burger-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16,17,20,.14);
  border-bottom: 1px solid rgba(16,17,20,.08);
  padding: 10px 24px 20px;
  z-index: 55;
}
.burger-links { display: flex; flex-direction: column; }
.burger-links a {
  display: block; padding: 14px 0;
  text-decoration: none; color: var(--ink, #101114);
  font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid rgba(16,17,20,.06);
}
.burger-links a:hover { color: var(--blue, #1350c9); }
.burger-menu .nav-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: var(--ink, #101114); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
nav#nav.burger-open .burger-menu { display: block; }

/* Tampil: phone (semua orientasi <=820) ATAU tablet portrait <=1100 */
@media (max-width: 820px), (max-width: 1100px) and (orientation: portrait) {
  nav#nav .links { display: none; }
  nav#nav > .nav-cta { display: none; }
  .burger-menu .nav-cta { display: inline-flex; }
  nav#nav .burger { display: flex; }
}
/* Hero konten tidak boleh masuk area nav fixed (nav mobile ~84px + jarak) */
@media (max-width: 820px), (max-width: 1100px) and (orientation: portrait) {
  .sp-hero, .hero { padding-top: 108px; }
}