/* ═══════════════════════════════════════════════
   BARBERKING STUDIO — style.css
   Design: dark canvas + aged gold + Cormorant+DM Sans
   Mobile-first, premium, performance-focused
═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --ink:       #0E0E0E;
  --ink-card:  #161616;
  --ink-card2: #1C1C1C;
  --cream:     #F2EDE4;
  --cream-dim: #B8A99A;
  --gold:      #B8922A;
  --gold-lt:   #D4A83A;
  --border:    #2A2A2A;
  --border-lt: #333333;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;

  --nav-h: 64px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── LAYOUT ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── TYPOGRAPHY UTILS ────────────────────────── */
.eyebrow,
.section-label {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.section-label-light { color: var(--gold-lt); }

h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 24px;
}
h3 {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
p { color: var(--cream-dim); line-height: 1.7; }
em { font-style: italic; }
.gold-em {
  color: var(--gold);
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
}
.section-sub {
  font-size: 16px;
  color: var(--cream-dim);
  margin-bottom: 40px;
  max-width: 520px;
}
.link-gold { color: var(--gold); text-decoration: underline; }
.link-gold:hover { color: var(--gold-lt); }
.br-desk { display: none; }
@media (min-width: 768px) { .br-desk { display: block; } }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: opacity .2s var(--ease), transform .15s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 1; }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-gold {
  background: var(--gold);
  color: #0E0E0E;
  padding: 14px 28px;
}
.btn-gold:hover { background: var(--gold-lt); opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  padding: 14px 28px;
  border: 1px solid var(--border-lt);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--cream);
  padding: 14px 28px;
  border: 1px solid var(--border-lt);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); opacity: 1; }

.btn-sm  { font-size: 13px; padding: 10px 18px; }
.btn-lg  { font-size: 16px; padding: 16px 32px; }
.btn-xl  { font-size: 17px; padding: 18px 40px; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cream);
}
.logo-accent { color: var(--gold); }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
  overflow: hidden;
}

/* Signature element: diagonal stripe texture */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 28px,
      rgba(184,146,42,.045) 28px,
      rgba(184,146,42,.045) 29px
    );
  pointer-events: none;
}
/* Radial vignette for depth */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 60% 40%, transparent 20%, rgba(14,14,14,.7) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-headline {
  font-family: var(--ff-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--cream-dim);
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.trust-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 8px 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-inline: 20px;
}
.trust-item:first-child { padding-left: 0; }
.trust-item strong {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
}
.trust-item span {
  font-size: 12px;
  color: var(--cream-dim);
  letter-spacing: .04em;
}
.trust-sep {
  width: 1px;
  height: 36px;
  background: var(--border-lt);
  flex-shrink: 0;
}

/* ── PROBLEM ─────────────────────────────────── */
.problem {
  padding: 100px 0;
  background: var(--ink-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-headline {
  font-size: clamp(26px, 4.5vw, 42px);
  margin-bottom: 28px;
  max-width: 700px;
}
.problem-body {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-body em { color: var(--cream); font-style: italic; }
.problem-pivot {
  font-family: var(--ff-display);
  font-size: clamp(18px, 3vw, 24px);
  font-style: italic;
  color: var(--gold);
  margin-top: 8px;
}

/* ── ABOUT ───────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--ink);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.about-visual { position: relative; }
.about-img-frame {
  aspect-ratio: 4/5;
  background: var(--ink-card2);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-inner {
  text-align: center;
  padding: 24px;
}
.about-img-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.about-img-note {
  font-size: 13px;
  color: var(--border-lt);
}
.about-badge {
  position: absolute;
  bottom: 20px;
  right: -12px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2px;
}
.about-badge strong {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.about-badge span { font-size: 12px; font-weight: 500; color: rgba(14,14,14,.7); }

.about-copy h2 { margin-bottom: 20px; }
.about-copy p { margin-bottom: 16px; }
.about-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--cream-dim);
  line-height: 1.5;
}
.about-list li::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ── FEATURES ────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--ink-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features h2 { margin-bottom: 48px; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feat-card {
  background: var(--ink-card2);
  padding: 28px 24px;
  transition: background .2s var(--ease);
}
.feat-card:hover { background: #202020; }
.feat-icon {
  display: block;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 14px;
}
.feat-card h3 { font-size: 15px; margin-bottom: 10px; }
.feat-card p  { font-size: 14px; line-height: 1.6; }

/* ── GALLERY ─────────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--ink);
}
.gallery h2 { margin-bottom: 12px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-card {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gallery-slot {
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  text-align: center;
  position: relative;
}
.gallery-before { background: #111; border-right: 1px solid var(--border); }
.gallery-after  { background: #181510; }
.slot-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.slot-note { font-size: 11px; color: var(--border-lt); }
.gallery-info {
  padding: 14px 16px;
  background: var(--ink-card2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
}
.gallery-info strong { font-size: 14px; color: var(--cream); }
.gallery-info span   { font-size: 12px; color: var(--cream-dim); }
.gallery-note {
  text-align: center;
  font-size: 14px;
  margin-top: 32px;
}

/* ── TESTIMONI ───────────────────────────────── */
.testi {
  padding: 100px 0;
  background: var(--ink-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testi h2 { margin-bottom: 48px; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}
.testi-card {
  background: var(--ink-card2);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.testi-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--cream);
  flex: 1;
}
.testi-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-name strong { display: block; font-size: 14px; color: var(--cream); }
.testi-name span   { font-size: 12px; color: var(--cream-dim); }

/* ── PROSES ──────────────────────────────────── */
.process {
  padding: 100px 0;
  background: var(--ink);
}
.process h2 { margin-bottom: 48px; }
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 768px) {
  .process-steps { flex-direction: row; align-items: flex-start; }
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  padding: 8px 0;
}
@media (min-width: 768px) {
  .process-step { flex-direction: column; gap: 16px; }
}
.step-num {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.step-body h3 { color: var(--cream); font-size: 17px; margin-bottom: 8px; }
.step-body p  { font-size: 14px; }
.step-connector {
  flex-shrink: 0;
  background: var(--border-lt);
  margin: 28px 0;
  height: 1px;
  width: 60px;
  align-self: flex-start;
  margin-top: 36px;
}
@media (min-width: 768px) {
  .step-connector {
    width: 1px;
    height: 48px;
    margin: 0 8px;
    margin-top: 48px;
  }
}

/* ── PRICING ─────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--ink-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing h2 { margin-bottom: 48px; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  background: var(--ink-card2);
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.price-card-featured {
  border-color: var(--gold);
  background: #171209;
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0;
}
.price-amount {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-rp  { font-size: 20px; font-weight: 600; }
.price-per { font-size: 15px; font-weight: 400; color: var(--cream-dim); }
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--cream-dim);
  line-height: 1.5;
}
.price-card li::before {
  content: '✓';
  color: var(--gold);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--cream-dim);
  margin-top: 28px;
}

/* ── CTA SECTION ─────────────────────────────── */
.cta-section {
  padding: 120px 0;
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(184,146,42,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-headline {
  font-size: clamp(30px, 5.5vw, 52px);
  margin-bottom: 20px;
}
.cta-sub {
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 40px;
  font-size: 16px;
}
.cta-hint {
  font-size: 13px;
  color: var(--cream-dim);
  margin-top: 14px;
}
.cta-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  align-items: center;
}
@media (min-width: 640px) {
  .cta-info { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 20px 40px; }
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  text-align: left;
}
.info-row span { font-size: 18px; flex-shrink: 0; }
.info-row div  { display: flex; flex-direction: column; gap: 2px; }
.info-row strong { color: var(--cream); font-size: 14px; }
.info-row span.val { color: var(--cream-dim); }

/* ── FAQ ─────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--ink-card);
  border-top: 1px solid var(--border);
}
.faq h2 { margin-bottom: 48px; }
.faq-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-lt);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  background: var(--ink-card2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background .2s var(--ease);
}
.faq-q:hover { background: #202020; }
.faq-q[aria-expanded="true"] { color: var(--gold); background: #181510; }
.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-lt);
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s, transform .25s var(--ease);
}
.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cream-dim);
  border-radius: 2px;
  transition: background .2s, transform .25s var(--ease);
}
.faq-chevron::before {
  width: 8px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-chevron::after {
  width: 1.5px; height: 8px;
  transform: translate(-50%, -50%);
}
.faq-q[aria-expanded="true"] .faq-chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-chevron { border-color: var(--gold); }
.faq-q[aria-expanded="true"] .faq-chevron::before,
.faq-q[aria-expanded="true"] .faq-chevron::after { background: var(--gold); }

.faq-a {
  padding: 0 24px;
  background: var(--ink-card2);
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.faq-a:not([hidden]) {
  max-height: 300px;
  padding: 16px 24px 20px;
}
.faq-a[hidden] { display: block !important; }
.faq-a p { font-size: 14px; color: var(--cream-dim); line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--ink-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto auto; align-items: start; gap: 48px; }
}
.footer-brand .logo {
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { font-size: 14px; color: var(--cream-dim); line-height: 1.6; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 14px;
  color: var(--cream-dim);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-cta { align-self: start; }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--cream-dim); }

/* ── STICKY MOBILE CTA ───────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  z-index: 99;
  transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-book, .sticky-wa {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.sticky-book:hover, .sticky-wa:hover { opacity: .88; }
.sticky-book {
  background: var(--gold);
  color: var(--ink);
}
.sticky-wa {
  background: #1C1C1C;
  color: var(--cream);
  border-top: 1px solid var(--border-lt);
}

/* hide sticky on wide screens */
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── REDUCED MOTION ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── FOCUS VISIBLE GLOBAL ────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
