/* ═══════════════════════════════════════════
   ONELLA SALON — Home Page Styles v3 (Light)
   ═══════════════════════════════════════════ */

/* ── Hero: Full-Bleed Layout ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: #0a0a0a;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 5rem);
  will-change: opacity;
  max-width: 800px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 96px);
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

/* ── Scroll Animation 1: Staggered word reveal ── */
.hero-word {
  display: block;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
/* JS adds .animate class to h1 before triggering reveal */
.hero__headline.will-animate .hero-word {
  opacity: 0;
  transform: translateY(24px);
}
.hero__headline.will-animate .hero-word.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-word:nth-child(1) { transition-delay: 0s; }
.hero-word:nth-child(2) { transition-delay: 0.15s; }
.hero-word:nth-child(3) { transition-delay: 0.30s; }

.gold-rule--wide {
  width: 80px;
  height: 1px;
  background: var(--accent);
  border: none;
  margin: 1.5rem 0;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: absolute;
  inset: -15vh 0; /* Add scroll room for parallax */
  z-index: 1;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.hero__image img,
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* ── Trust Bar ── */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.trust-bar__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 3rem;
  text-align: center;
}

.trust-bar__number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.trust-bar__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.trust-bar__divider {
  color: var(--accent);
  font-size: 0.7rem;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* ── Services Preview Grid ── */
.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ── Scroll Animation 2: Horizontal fill reveal ── */
.preview-card {
  position: relative;
  background: var(--bg-primary);
  padding: 2rem 1.5rem;
  text-decoration: none;
  overflow: hidden;
  transition: background var(--duration) var(--ease-smooth);
}

.preview-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0%;
  height: 100%;
  background: var(--bg-elevated);
  transition: width 0.9s var(--ease-smooth);
  z-index: 0;
}

.preview-card.visible::before { width: 100%; }

.preview-card > * { position: relative; z-index: 1; }

.preview-card:hover {
  background: var(--bg-secondary);
}

.preview-card__icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.preview-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.preview-card__name::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-smooth);
  margin-top: 0.3rem;
}

.preview-card:hover .preview-card__name::after { width: 100%; }

.preview-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.preview-card__price {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Reviews ── */
.reviews-section__scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
}

.review-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 0.75rem;
  display: block;
}

.review-card__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-card__author {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

.review-card__stars {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* ── Split layouts ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split__text p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.split__text h2 { margin-bottom: 1.25rem; }

.split__image {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform var(--duration-slow) var(--ease-smooth);
  display: block;
}

.split__image:hover img { transform: scale(1.03); }

.split--img-left .split__image { order: 0; }
.split--img-left .split__text  { order: 1; }
.split--img-right .split__text { order: 0; }
.split--img-right .split__image{ order: 1; }

/* ── Pull Quote ── */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
  max-width: 800px;
  margin-inline: auto;
}

/* ── FAQ ── */
.faq-list { margin-top: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item__q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-smooth);
}

details[open] .faq-item__q::after { transform: rotate(45deg); }

.faq-item__a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-bottom: 1.25rem;
}

.faq-item__a a { color: var(--accent); }

/* ── Instagram Grid ── */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 2rem;
}

.insta-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

.insta-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.insta-grid__item:hover img { transform: scale(1.05); }

/* ── Scroll Animation 3: Price line cascade ── */
.price-line {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}
.price-line.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Scroll Animation 4: Morphing word (services) ── */
.morph-section {
  text-align: center;
  padding-block: var(--section-pad);
}

.morph-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 12vw, 96px);
  color: var(--text-primary);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.morph-word.fading { opacity: 0; }

/* ── Book Banner ── */
.book-banner {
  background: var(--bg-dark);
  border-top: none;
}

.book-banner__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.book-banner__info {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}

.book-banner__info span { color: var(--accent); margin-inline: 0.5rem; }

/* ── Animate on scroll base ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
  }
  .hero__content {
    padding: 6rem 1.5rem 3rem;
  }
  .hero__headline {
    font-size: clamp(48px, 13vw, 80px);
  }
  .services-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split__image { max-height: 400px; order: 0 !important; }
  .split__text  { order: 1 !important; }
  .split__image img { aspect-ratio: 16 / 10; }
}

@media (max-width: 540px) {
  .trust-bar__item { padding: 0.5rem 1.5rem; }
  .services-preview__grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
