/* ============================================================
   KlikLawyer — Global Stylesheet
   Ubah font atau warna di sini, berlaku ke semua halaman
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@1,600;1,700&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── VARIABLES ── */
:root {
  /* Font */
  --font-body: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Brand Colors */
  --orange: #E8622A;
  --orange-bright: #FF7A42;
  --orange-dim: #C4501F;
  --orange-glow: rgba(232, 98, 42, 0.1);
  --orange-glow2: rgba(232, 98, 42, 0.06);

  /* Backgrounds — Light Theme */
  --bg: #FFFFFF;
  --bg2: #F8F7F5;
  --bg3: #F1EFE9;
  --bg4: #E8E5DE;
  --bg5: #DEDAD2;

  /* Text */
  --text: #1A1A1A;
  --text-2: #555555;
  --text-3: #999999;

  /* Borders */
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.15);
  --border-o: rgba(232, 98, 42, 0.35);

  /* Status */
  --green: #16A34A;
  --red: #DC2626;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--text);
}
h1 .ac {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--orange);
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
}
h2 .ac {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--orange);
}
section { padding: 5.5rem 6vw; }
.ssub { color: var(--text-2); margin-top: .85rem; max-width: 490px; font-size: .91rem; line-height: 1.82; }

/* ── STAG (section label) ── */
.stag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .85rem;
}
.stag::before { content: ''; width: 14px; height: 1.5px; background: var(--orange); }

/* ── PAGE HERO (shared across inner pages) ── */
.page-hero { padding: 140px 6vw 80px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.ph-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 300px; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,98,42,.09) 0%, transparent 70%); pointer-events: none; }
.ph-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,.4) 0%, transparent 100%), radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,.3) 0%, transparent 100%), radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,.25) 0%, transparent 100%), radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.2) 0%, transparent 100%); }
.ph-sub { margin-top: 1rem; font-size: .98rem; color: var(--text-2); max-width: 520px; position: relative; z-index: 1; line-height: 1.8; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--text-3); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.breadcrumb a { color: var(--text-3); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--text-3); }

/* ── BUTTONS ── */
.btn-p {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: .82rem 1.9rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-p:hover { background: var(--orange-bright); transform: translateY(-1px); }

.btn-g {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
  padding: .82rem 1.9rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  display: inline-block;
}
.btn-g:hover { border-color: var(--orange); color: var(--orange); }

.btn-ng {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  padding: .42rem 1rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border-radius: 6px;
  transition: all .2s;
}
.btn-ng:hover { border-color: var(--orange); color: var(--orange); }

.btn-no {
  background: var(--orange);
  border: none;
  color: #fff;
  padding: .42rem 1.1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.btn-no:hover { background: var(--orange-bright); }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.nav-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: .84rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: .85rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px 0; }

/* ── FOOTER ── */
footer { background: #1A1A1A; border-top: 1px solid var(--border); padding: 3.75rem 6vw 2rem; }
.ft-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ft-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; color: #EEEEF0; text-decoration: none; display: inline-block; margin-bottom: .9rem; }
.ft-logo span { color: var(--orange); }
.ft-brand p { font-size: .81rem; color: #9999A8; line-height: 1.85; max-width: 275px; }
.ft-col h5 { font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.ft-col a { font-size: .81rem; color: #9999A8; text-decoration: none; transition: color .2s; }
.ft-col a:hover { color: #EEEEF0; }
.ft-bot { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; font-size: .73rem; color: #555560; flex-wrap: wrap; gap: .5rem; }

/* ── FORM FIELDS (shared) ── */
.fg { display: flex; flex-direction: column; gap: .38rem; margin-bottom: .9rem; }
.fg label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.fg input, .fg select, .fg textarea {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: .72rem 1rem;
  font-family: var(--font-body);
  font-size: .87rem;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--orange); }
.fg textarea { resize: vertical; min-height: 96px; }
.fg select option { background: var(--bg4); }
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-3); }

/* ── TEAM CARD (shared) ── */
.tmcard { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .25s, transform .25s; }
.tmcard:hover { border-color: var(--border-o); transform: translateY(-3px); }
.tmcard img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; filter: grayscale(15%); background: var(--bg4); }
.tmcard-ph { width: 100%; aspect-ratio: 3/4; background: var(--bg4); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 800; color: var(--orange-dim); }
.tmcard-info { padding: 1.1rem 1.35rem; }
.tmcard-name { font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.tmcard-role { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-top: .32rem; }
.tmcard-desc { font-size: .78rem; color: var(--text-2); line-height: 1.7; margin-top: .5rem; }

/* ── STAR RATING ── */
.tc-stars { display: flex; gap: 3px; margin-bottom: .9rem; }
.star { width: 13px; height: 13px; background: var(--orange); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* ── ANIMATIONS ── */
@keyframes fu { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

/* ── CTA BAND ── */
.cta-band { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 6vw; text-align: center; }
.cta-band h2 { max-width: 600px; margin: 0 auto; }
.cta-band p { color: var(--text-2); font-size: .95rem; margin: .9rem auto 2rem; max-width: 460px; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ft-top { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  section { padding: 4rem 5vw; }
  .page-hero { padding: 110px 5vw 60px; }
  .nav-links, .btn-ng, .btn-no { display: none; }
  .hamburger { display: block; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .ft-top { grid-template-columns: 1fr; gap: 1.75rem; }
}