/* ===========================
   Home Page Component Styles
   =========================== */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.hero-text { padding: 80px 48px 80px 0; }

.hero-text .label-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-text .label-gold::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--color-gold);
}

.hero-text .heading-xl { margin-bottom: 20px; }
.hero-text .heading-xl span { color: var(--color-gold); }

.hero-text p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-gold);
  line-height: 1;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

.hero-image-col {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-image-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-dark) 0%, rgba(20,20,20,0.3) 40%, transparent 70%);
  z-index: 1;
}

.hero-image-col::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--color-dark), transparent);
  z-index: 1;
}

.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-gold-line {
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
  z-index: 2;
}

/* --- EXPERTISE SWITCHER --- */
.expertise { background: var(--color-dark-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.expertise-header { text-align: center; margin-bottom: 56px; }
.expertise-header .gold-bar { margin: 12px auto 0; }

.expertise-switcher {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
}

.expertise-tabs { border-right: 1px solid var(--color-border); background: rgba(255,255,255,0.02); }

.expertise-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: var(--transition);
  position: relative;
}
.expertise-tab:last-child { border-bottom: none; }

.tab-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.tab-icon .material-symbols-outlined { font-size: 24px; color: var(--color-gold); }

.tab-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: var(--transition);
  line-height: 1.3;
}

.tab-arrow { margin-left: auto; color: transparent; transition: var(--transition); font-size: 20px; }

.expertise-tab:hover { background: rgba(201,168,76,0.04); }
.expertise-tab.active { background: var(--color-gold-dim); }
.expertise-tab.active .tab-label { color: var(--color-gold); }
.expertise-tab.active .tab-icon { background: rgba(201,168,76,0.25); }
.expertise-tab.active .tab-arrow { color: var(--color-gold); }

.expertise-tab.active::before {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--color-gold);
  border-radius: 2px 0 0 2px;
}

.expertise-content { position: relative; overflow: hidden; }

.expertise-panel {
  position: absolute;
  inset: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.expertise-panel.active { opacity: 1; transform: translateX(0); pointer-events: auto; }

.panel-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--color-gold-dim);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel-icon .material-symbols-outlined { font-size: 32px; color: var(--color-gold); }

.expertise-panel h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-white); }
.expertise-panel p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.8; }

.expertise-panel ul { display: flex; flex-direction: column; gap: 10px; }
.expertise-panel ul li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--color-text-muted); }
.expertise-panel ul li .material-symbols-outlined { font-size: 16px; color: var(--color-gold); }

.panel-cta { margin-top: auto; }

.expertise-progress { height: 2px; background: var(--color-border); border-radius: 1px; margin-top: 28px; overflow: hidden; }
.expertise-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 1px;
  transition: width 0.1s linear;
}

/* --- TESTIMONIAL --- */
.testimonial-strip {
  background: linear-gradient(135deg, var(--color-gold-dim), transparent);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

.testimonial-inner { display: flex; align-items: center; gap: 40px; }

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  flex: 1;
}
.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 0;
  vertical-align: -1.4rem;
  margin-right: 4px;
  font-family: var(--font-heading);
}

.testimonial-author { text-align: right; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--color-white); }
.testimonial-author span { font-size: 0.8rem; color: var(--color-text-muted); }

/* --- CTA BANNER --- */
.cta-banner {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.1) 0%, transparent 70%);
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--color-text-muted); max-width: 520px; margin: 0 auto 32px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 48px 0 32px; order: 2; }
  .hero-image-col { height: 60vw; min-height: 320px; max-height: 480px; order: 1; width: 100%; }
  .hero-image-col::before { background: linear-gradient(to top, var(--color-dark) 0%, transparent 50%); }
  .hero-stats { gap: 20px; }

  .expertise-switcher { grid-template-columns: 1fr; min-height: auto; }
  .expertise-tabs { border-right: none; border-bottom: 1px solid var(--color-border); display: flex; overflow-x: auto; }
  .expertise-tab { flex-direction: column; text-align: center; padding: 20px 16px; min-width: 120px; border-bottom: none; border-right: 1px solid var(--color-border); gap: 8px; }
  .expertise-tab .tab-label { font-size: 0.78rem; }
  .expertise-tab .tab-arrow { display: none; }
  .expertise-tab.active::before { right: auto; bottom: -1px; top: auto; left: 50%; transform: translateX(-50%); width: 60%; height: 3px; border-radius: 2px 2px 0 0; }
  .expertise-content { min-height: 340px; }
  .expertise-panel { padding: 32px 24px; }
  .testimonial-inner { flex-direction: column; text-align: center; gap: 24px; }
  .testimonial-author { text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
}
