.farras-guide {
  background:
    radial-gradient(circle at top, rgba(168, 70, 104, 0.08), transparent 42%),
    #fffaf8;
  color: #321f29;
}
.farras-guide__hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(50, 31, 41, 0.78), rgba(50, 31, 41, 0.42)),
    url("/assets/leetah_salon/images/heroes/salon.webp") center/cover no-repeat;
  color: #fff;
  padding: 5rem 1.25rem 4rem;
}
.farras-guide__hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, #fffaf8);
}
.farras-guide__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  animation: farras-guide-rise 0.7s ease both;
}
.farras-guide__eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.farras-guide__hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.22;
}
.farras-guide__hero p {
  margin: 0 0 1.4rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}
.farras-guide__hero-cta,
.farras-guide__end-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.farras-guide__hero .farras-btn,
.farras-guide__hero .farras-btn--ghost {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.farras-guide__hero .farras-btn:hover,
.farras-guide__hero .farras-btn--ghost:hover {
  transform: translateY(-2px);
}
.farras-guide__hero .farras-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.farras-guide__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4.5rem;
  align-items: start;
}
.farras-guide__toc {
  position: sticky;
  top: 5.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ead7dd;
  border-radius: 22px;
  padding: 1.1rem 0.9rem 1.15rem;
  box-shadow: 0 18px 40px rgba(50, 31, 41, 0.06);
  backdrop-filter: blur(12px);
}
.farras-guide__toc h2 {
  margin: 0 0 0.85rem;
  padding: 0 0.35rem;
  font-size: 0.98rem;
}
.farras-guide__toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: calc(100vh - 10rem);
  overflow: auto;
}
.farras-guide__toc-group {
  border-radius: 12px;
}
.farras-guide__toc-sub {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.15rem 0 0.35rem;
}
.farras-guide__toc-group.is-open .farras-guide__toc-sub {
  display: flex;
}
.farras-guide__toc-link {
  color: #5e3244;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.38rem 0.55rem;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.farras-guide__toc-link:hover,
.farras-guide__toc-link:focus {
  background: #fff0f4;
  color: #a84668;
}
.farras-guide__toc-link.is-active {
  background: #321f29;
  color: #fff;
  font-weight: 700;
}
.farras-guide__toc-link--h3 {
  font-size: 0.8rem;
  opacity: 0.92;
  padding-inline-start: 1.1rem;
}
.farras-guide__body {
  background: #fff;
  border: 1px solid #ead7dd;
  border-radius: 28px;
  padding: 1.5rem 1.35rem 2.5rem;
  box-shadow: 0 20px 48px rgba(50, 31, 41, 0.06);
}
.farras-guide__callout,
.farras-guide__body blockquote {
  background: linear-gradient(180deg, #fff7f9, #fff0f4);
  border: 1px solid #ead7dd;
  border-inline-start: 4px solid #a84668;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
}
.farras-guide__callout strong,
.farras-guide__body blockquote strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #873550;
}
.farras-guide__callout p,
.farras-guide__body blockquote p {
  margin: 0;
  line-height: 1.75;
}
.farras-guide__body > h1 {
  display: none;
}
.farras-guide__chapter {
  margin: 0 0 1.6rem;
  padding: 0.2rem 0 0.4rem;
  animation: farras-guide-rise 0.55s ease both;
}
.farras-guide__chapter h2 {
  margin: 0 0 0.95rem;
  padding: 0.85rem 0 0.7rem;
  font-size: 1.45rem;
  color: #321f29;
  border-top: 1px solid #f4e8ec;
  scroll-margin-top: 5.5rem;
}
.farras-guide__chapter:first-of-type h2 {
  border-top: 0;
  padding-top: 0.2rem;
}
.farras-guide__body h3 {
  margin: 1.45rem 0 0.65rem;
  font-size: 1.12rem;
  scroll-margin-top: 5.5rem;
}
.farras-guide__body h4 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1rem;
}
.farras-guide__body p,
.farras-guide__body li {
  line-height: 1.85;
  color: #3b2630;
}
.farras-guide__body a {
  color: #a84668;
  font-weight: 700;
}
.farras-guide__shot,
.farras-guide__body figure {
  margin: 1rem 0 1.45rem;
  animation: farras-guide-rise 0.6s ease both;
}
.farras-guide__shot img,
.farras-guide__body img {
  display: block;
  width: 100%;
  max-width: 920px;
  height: auto;
  margin: 0;
  border-radius: 18px;
  border: 1px solid #ead7dd;
  background: #fffaf8;
  box-shadow: 0 16px 36px rgba(50, 31, 41, 0.08);
  cursor: zoom-in;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.farras-guide__shot img:hover,
.farras-guide__body img:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(50, 31, 41, 0.14);
}
.farras-guide__shot figcaption,
.farras-guide__body figcaption {
  margin-top: 0.55rem;
  color: #6d4a58;
  font-size: 0.88rem;
  font-weight: 600;
}
.farras-guide__body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.85rem 0 1.4rem;
  font-size: 0.92rem;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #ead7dd;
  animation: farras-guide-rise 0.55s ease both;
}
.farras-guide__body th,
.farras-guide__body td {
  border-bottom: 1px solid #ead7dd;
  padding: 0.75rem 0.85rem;
  text-align: start;
  vertical-align: top;
}
.farras-guide__body tr:last-child td { border-bottom: 0; }
.farras-guide__body th {
  background: #321f29;
  color: #fff;
  font-weight: 700;
}
.farras-guide__body tr:nth-child(even) td { background: #fffaf8; }
.farras-guide__body hr {
  border: 0;
  border-top: 1px solid #f4e8ec;
  margin: 2rem 0;
}
.farras-guide__end-cta {
  margin-top: 2.2rem;
  padding: 1.5rem 1.25rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #321f29, #873550);
  color: #fff;
  animation: farras-guide-rise 0.55s ease both;
}
.farras-guide__end-cta h2 {
  margin: 0 0 0.4rem;
  border: 0;
  color: #fff;
}
.farras-guide__end-cta p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
}
.farras-guide__end-cta .farras-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.farras-guide__lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(20, 8, 13, 0.78);
  animation: farras-guide-fade 0.2s ease;
  cursor: zoom-out;
}
.farras-guide__lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
@keyframes farras-guide-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes farras-guide-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 900px) {
  .farras-guide__layout { grid-template-columns: 1fr; }
  .farras-guide__toc { position: static; }
  .farras-guide__toc nav { max-height: 14rem; }
  .farras-guide__toc-group.is-open .farras-guide__toc-sub,
  .farras-guide__toc-sub { display: none; }
  .farras-guide__body { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .farras-guide__hero-inner,
  .farras-guide__chapter,
  .farras-guide__shot,
  .farras-guide__body figure,
  .farras-guide__end-cta,
  .farras-guide__body table,
  .farras-guide__body blockquote,
  .farras-guide__shot img,
  .farras-guide__body img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
