/* ═══════════════════════════════════════════════════════════
   HERO — salon.png full-bleed background (right half)
   Matches the BrixoDesigns reference design
═══════════════════════════════════════════════════════════ */

/* Override the base hero to be a positioned container */
.hero {
  position: relative;
  overflow: hidden;
  background: #f5f4f2;
  padding-top: 64px; /* navbar height */
  border-bottom: 1px solid var(--line);
}

/* The salon image fills the entire hero as a background */
.hero-salon {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-salon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Left-to-right gradient: solid warm white on left → transparent on right
   This keeps text readable while letting the photo show on the right */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    #f5f4f2 0%,
    #f5f4f2 32%,
    rgba(245, 244, 242, 0.96) 42%,
    rgba(245, 244, 242, 0.72) 58%,
    rgba(245, 244, 242, 0.18) 78%,
    rgba(245, 244, 242, 0.04) 100%
  );
}

/* All hero content must sit above the image + overlay */
.hero-grid,
.hero-content,
.hero-aside,
.hero-marquee {
  position: relative;
  z-index: 2;
}

/* Hero grid: left content + right card stack */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px 32px 80px;
}

/* Left column */
.hero-content {
  max-width: 520px;
}

/* Right column — card stack floats over the photo */
.hero-aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

/* Cards get a stronger shadow so they pop off the photo */
.hcard {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Marquee bar */
.hero-marquee {
  border-top: 1px solid var(--line);
  background: rgba(238, 236, 234, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Hero primary CTA — green to match reference design ── */
.hero-btns .cta-btn {
  background: #2d7a3a;
}
.hero-btns .cta-btn:hover {
  background: #235f2c;
}

/* ── PRODUCT CATEGORIES SECTION ─────────────────────────── */
.cat-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 48px;
}

.cat-box {
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.cat-box:hover {
  background: #faf9f7;
}

.cat-box__ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.cat-box__ico svg {
  width: 22px;
  height: 22px;
  color: var(--ink-3);
}

.cat-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.cat-box p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cat-box__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
  display: inline-block;
  transition: gap 0.2s;
}

.cat-box:hover .cat-box__link {
  text-decoration: underline;
}

/* Section head centered */
.section-head.center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.section-head.center .overline {
  color: #2d7a3a;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 12px;
}

/* ── ABOUT SECTION ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* Green overline + italic heading in about section */
.about-left .overline {
  color: #2d7a3a;
}

.about-left .section-title em {
  color: #2d7a3a;
}

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: #111;
  padding: 72px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-family: 'DM Serif Display', serif;
  font-style: italic;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  font-weight: 300;
  max-width: 420px;
}

.cta-banner__btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.ghost-btn--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ghost-btn--light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-btn--white {
  background: #fff;
  color: #111;
}

.cta-btn--white:hover {
  background: #f0eeeb;
  transform: translateY(-1px);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(245, 244, 242, 0.97) 0%,
      rgba(245, 244, 242, 0.90) 50%,
      rgba(245, 244, 242, 0.75) 100%
    );
  }

  .hero-aside {
    justify-content: flex-start;
  }

  .hero-card-stack {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hcard--main { flex: 1; min-width: 200px; }
  .hcard--stat { flex: 1; min-width: 200px; }

  .cat-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner p {
    max-width: 100%;
  }

  .cta-banner__btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    padding: 48px 20px 48px;
  }

  .hero-card-stack {
    flex-direction: column;
  }

  .cat-showcase {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .cta-banner {
    padding: 56px 0;
  }
}

