/* ============================================
   BuildLab — shared stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,600;1,700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --black: #0a0a0a;
  --black-soft: #141414;
  --panel: #1a1a1a;
  --panel-2: #1f1c14;
  --line: #2b2b2b;
  --gold: #c9a961;
  --gold-bright: #e0c36b;
  --gold-dim: #8a7239;
  --white: #f5f3ee;
  --muted: #b9b6ad;
  --radius: 14px;
  --max: 1160px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Jost', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.gold { color: var(--gold); }

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 18px 0 28px;
}

.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  color: #12100a;
  font-weight: 500;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,169,97,0.25); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
}

.btn-outline:hover { background: rgba(201,169,97,0.08); border-color: var(--gold); transform: translateY(-2px); }

.btn-whatsapp {
  background: #1e2b22;
  color: #7fdb9a;
  border-color: #2f4a37;
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #223428; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
}

.brand .wordmark {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.78rem; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black-soft);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
  }
  .nav-links.open a { padding: 10px 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 18% 20%, rgba(201,169,97,0.10), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(201,169,97,0.07), transparent 40%),
    var(--black);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.hero .container { max-width: 820px; }

.hero p.lead {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  padding: 74px 0 56px;
  text-align: center;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--black-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .rule { margin-left: auto; margin-right: auto; }

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(160deg, var(--panel), #131313);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

.card .icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.card ul li { margin-bottom: 6px; font-size: 0.95rem; }

.card .price {
  margin-top: 18px;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.05rem;
}

/* ---------- Two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.stat-row { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.stat-row .stat b {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
}
.stat-row .stat span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.portrait-frame {
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 8px;
  background: var(--panel);
}
.portrait-frame .inner {
  border-radius: 9px;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg,#232016,#0d0c08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dim);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  text-align: center;
  padding: 20px;
}

.portrait-frame .story-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 9px;
  object-fit: cover;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 22px;
}
.team-card .avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #14120b;
  font-weight: 700;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  background: var(--panel);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Playfair Display', serif;
  color: var(--gold-dim);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--panel-2), var(--black-soft));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 70px 0;
}
.cta-band .actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top: 10px;}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .icon {
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.contact-list a, .contact-list span.value { color: var(--white); font-size: 1rem; }
.contact-list .label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display:block; margin-bottom: 2px;}

form.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  background: rgba(127,219,154,0.1);
  border: 1px solid #2f4a37;
  color: #7fdb9a;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 320px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.8rem;
  color: #6b6b6b;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Reveal on scroll ----------
   Visible by default (no-JS / JS-failure safe). Only hidden pre-reveal
   when JS has confirmed it can run (html.js) and the browser doesn't
   prefer reduced motion. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); }
  html.js .reveal.in { opacity: 1; transform: translateY(0); }
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  z-index: 200;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
