/* Elegant Hair Studio — shared styles for static guide pages */
:root {
  --ivory: #FBF9F5;
  --espresso: #221B14;
  --espresso-light: #33291F;
  --gold: #B4894D;
  --gold-light: #D9BE92;
  --gold-pale: #F4EBDD;
  --stone: #6B6259;
  --border: #E9E2D6;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ivory);
  color: var(--espresso);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.2; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(251, 249, 245, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; letter-spacing: .18em;
  text-decoration: none; color: var(--espresso); font-size: 15px;
}
.topbar .brand img { width: 32px; height: 32px; border-radius: 50%; }
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, #D9BE92, #B4894D);
  color: var(--espresso); text-decoration: none;
  font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 12px 26px; border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(120, 90, 40, .5);
  transition: transform .2s;
}
.btn-gold:hover { transform: translateY(-1px); }
.btn-outline {
  display: inline-block; border: 1px solid var(--espresso);
  color: var(--espresso); text-decoration: none;
  font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 26px; border-radius: 999px;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.hero { padding: 48px 0 8px; }
.crumbs { font-size: 13px; color: var(--stone); margin-bottom: 18px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.eyebrow {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 14px; }
.meta { font-size: 13px; color: var(--stone); margin-bottom: 8px; }

.answer {
  background: #fff; border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 20px 22px; margin: 26px 0;
  box-shadow: 0 12px 32px -24px rgba(34, 27, 20, .3);
}
.answer strong { color: var(--gold); }

article { padding-bottom: 20px; }
article h2 { font-size: clamp(23px, 4.5vw, 30px); margin: 44px 0 14px; }
article h3 { font-size: 19px; margin: 28px 0 10px; }
article p { margin: 0 0 16px; color: #3D352C; }
article ul, article ol { margin: 0 0 18px 22px; color: #3D352C; }
article li { margin-bottom: 8px; }
article img { max-width: 100%; border-radius: 16px; margin: 10px 0 18px; }
article a { color: var(--gold); }

.table-scroll { overflow-x: auto; margin: 18px 0 22px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: 14.5px; min-width: 480px; box-shadow: 0 12px 32px -24px rgba(34,27,20,.3); }
th { background: var(--espresso); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; }
td { padding: 12px 14px; border-top: 1px solid var(--border); }
tr:nth-child(even) td { background: #FCFAF6; }

.imgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.imgrid img { margin: 0; aspect-ratio: 1; object-fit: cover; width: 100%; }

.cta {
  background: var(--espresso); color: #fff;
  border-radius: 20px; padding: 34px 28px; margin: 44px 0;
  text-align: center;
}
.cta h2 { color: #fff; margin: 0 0 10px; font-size: 26px; }
.cta .accent { font-style: italic; color: var(--gold-light); }
.cta p { color: rgba(255, 255, 255, .75); margin-bottom: 22px; }
.cta .btn-gold { margin: 4px 6px; }
.cta .sub { font-size: 12.5px; color: rgba(255,255,255,.5); margin: 14px 0 0; }

.faq { margin: 26px 0; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.faq details p { margin: 12px 0 0; font-size: 14.5px; }

.related { margin: 44px 0; }
.related h2 { font-size: 24px; margin-bottom: 16px; }
.related-grid { display: grid; gap: 10px; }
.related-grid a {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
  text-decoration: none; color: var(--espresso); font-weight: 500; font-size: 15px;
}
.related-grid a span { color: var(--gold); }

footer {
  background: var(--espresso); color: rgba(255, 255, 255, .6);
  padding: 40px 20px; text-align: center; font-size: 14px; margin-top: 40px;
}
footer .brand { font-family: 'Playfair Display', serif; letter-spacing: .18em; color: #fff; font-size: 17px; margin-bottom: 12px; }
footer a { color: var(--gold-light); text-decoration: none; }
footer p { margin: 4px 0; }
footer .links { margin-top: 16px; font-size: 13px; }
footer .links a { margin: 0 8px; }

@media (min-width: 640px) {
  .hero { padding-top: 64px; }
  .imgrid { grid-template-columns: repeat(3, 1fr); }
}
