/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 80px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--purple);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--purple);
  display: block;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  max-width: 480px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(123,94,167,0.3); }

.btn-secondary {
  font-size: 13px;
  color: var(--purple);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.btn-secondary:hover { gap: 14px; }

.hero-right {
  position: relative;
  overflow: hidden;
  background: none;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.9s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(245, 240, 232, 0.18) 0%,
    transparent 40%
  ),
  linear-gradient(
    to top,
    rgba(44, 36, 53, 0.25) 0%,
    transparent 50%
  );
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(4, 120px);
  grid-template-rows: repeat(4, 120px);
  gap: 6px;
  transform: rotate(-8deg) scale(1.1);
  opacity: 0;
  animation: fadeIn 1.2s 0.8s forwards;
}

.puzzle-piece {
  border-radius: 12px;
  transition: transform 0.6s ease;
}

.puzzle-piece:nth-child(odd) { background: var(--purple-pale); }
.puzzle-piece:nth-child(even) { background: var(--mint-light); }
.puzzle-piece:nth-child(3n) { background: var(--cream-dark); }
.puzzle-piece:nth-child(5n) { background: var(--purple); opacity: 0.6; }
.puzzle-piece:nth-child(7n) { background: var(--mint); opacity: 0.5; }

.puzzle-piece:hover { transform: translateY(-8px) rotate(3deg); }

.hero-float {
  position: absolute;
  background: white;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(44,36,53,0.18);
  opacity: 0;
  animation: floatIn 0.8s 1.2s forwards;
  z-index: 2;
}

.hero-float-1 {
  bottom: 30%;
  left: -20px;
  width: 200px;
}

.hero-float-2 {
  top: 28%;
  right: -10px;
  width: 180px;
}

.float-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 6px;
}

.float-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
}

.float-sub {
  font-size: 11px;
  color: var(--mint);
  font-weight: 500;
  margin-top: 2px;
}

.puzzle-grid { animation: puzzleFloat 6s ease-in-out infinite, fadeIn 1.2s 0.8s forwards; }
