/* ═══════════════════════════════
   INDEX PAGE — Trust Salon
═══════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5vw 60px;
  gap: 60px;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,150,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { animation: heroFadeIn 1s ease both; }
.hero-content .eyebrow { animation: heroFadeIn 1s ease 0.1s both; }
.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.1;
  color: var(--charcoal);
  margin: 16px 0 24px;
  font-weight: 400;
  animation: heroFadeIn 1s ease 0.2s both;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-content > p {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.85;
  animation: heroFadeIn 1s ease 0.35s both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease 0.5s both;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFadeIn 1s ease 0.4s both;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-img {
  border-radius: 2px;
}
.hero-img-1 {
  width: 78%;
  height: 420px;
  background: url("spa.png") center/cover no-repeat;
  position: relative;
  z-index: 1;
  margin-left: auto;
}
.hero-img-2 {
  width: 55%;
  height: 260px;
  background: url("ball.jpg") center/cover no-repeat;
  position: absolute;
  bottom: -40px;
  left: 0;
  z-index: 2;
  border: 6px solid var(--ivory);
}
.hero-badge {
  position: absolute;
  top: -20px;
  right: 0;
  background: var(--charcoal);
  color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  border: 4px solid var(--ivory);
}
.badge-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-light);
}
.badge-text {
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 2px;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── TABS SECTION ─── */
.tabs-section {
  padding: 100px 5vw;
  background: var(--cream);
}
.tabs-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.tabs-inner .section-title { margin-bottom: 0; }
.tabs-inner .section-title em { font-style: italic; color: var(--gold); }

.tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 40px 0 48px;
  flex-wrap: wrap;
  border: 2px solid var(--light-gray);
  display: inline-flex;
  background: var(--ivory);
}
.tab-btn {
  padding: 13px 28px;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}
.tab-btn.active {
  background: var(--charcoal);
  color: var(--ivory);
}
.tab-btn:hover:not(.active) { color: var(--charcoal); background: var(--gold-pale); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.service-card {
  background: var(--ivory);
  padding: 32px 28px;
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-med); }
.service-card:hover::after { width: 100%; }

.sc-icon {
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.service-card p {
  font-size: 0.83rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.sc-price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.sc-link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--transition);
}
.sc-link:hover { color: var(--gold); }

/* ─── GALLERY PREVIEW ─── */
.gallery-preview {
  padding: 100px 5vw;
  background: var(--ivory);
}
.gp-header { text-align: center; margin-bottom: 56px; }
.gp-header .section-title em { font-style: italic; color: var(--gold); }
.gp-sub { color: var(--mid-gray); font-size: 0.95rem; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.gm-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gm-item.gm-tall { grid-row: span 2; }
.gm-item.gm-wide { grid-column: span 2; }

.gm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background var(--transition);
}
.gm-overlay span {
  font-family: var(--serif);
  font-size: 1rem;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
  font-style: italic;
}
.gm-item:hover .gm-overlay { background: rgba(0,0,0,0.45); }
.gm-item:hover .gm-overlay span { opacity: 1; transform: translateY(0); }

/* ─── WHY SECTION ─── */
.why-section {
  padding: 100px 5vw;
  background: var(--cream);
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text .section-title em { font-style: italic; color: var(--gold); }
.why-text > p {
  font-size: 0.95rem;
  color: var(--mid-gray);
  margin-bottom: 36px;
  line-height: 1.85;
}
.why-features { display: flex; flex-direction: column; gap: 24px; }
.why-feat {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.wf-icon {
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 6px;
  flex-shrink: 0;
}
.why-feat h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.why-feat p { font-size: 0.83rem; color: var(--mid-gray); }

.why-visual { display: flex; justify-content: center; }
.why-img-wrap { position: relative; width: 100%; max-width: 420px; }
.why-img {
  width: 100%;
  height: 480px;
  background: url("Consulation.jpg") center/cover no-repeat;
}
.why-stat-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--charcoal);
  color: #fff;
  padding: 28px 32px;
  text-align: center;
  border: 6px solid var(--cream);
}
.wsc-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold-light);
  line-height: 1;
}
.wsc-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
  color: rgba(255,255,255,0.6);
}

/* ─── REVIEWS ─── */
.reviews-section {
  padding: 100px 5vw;
  background: var(--ivory);
}
.reviews-inner { max-width: 1200px; margin: 0 auto; }
.reviews-header { text-align: center; margin-bottom: 56px; }
.reviews-header .section-title em { font-style: italic; color: var(--gold); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--cream);
  padding: 36px 32px;
  border: 1px solid var(--light-gray);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-med); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold-pale);
  line-height: 1;
}
.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-text {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--charcoal);
}
.author-date {
  font-size: 0.75rem;
  color: var(--mid-gray);
  margin-top: 2px;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 100px 5vw;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(184,150,46,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic { grid-template-rows: 200px 200px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero-content > p { margin: 0 auto 40px; }
  .hero-btns { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .why-inner { grid-template-columns: 1fr; gap: 60px; }
  .why-visual { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gm-item.gm-tall, .gm-item.gm-wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}
@media (max-width: 680px) {
  .service-cards { grid-template-columns: 1fr; }
  .tabs-bar { width: 100%; }
  .tab-btn { padding: 12px 16px; font-size: 0.62rem; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .gm-item { height: 180px; }
}
.gm-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
