/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0a0c10;
  color: #fff;
  overflow-x: hidden;
}

.font-cormorant { font-family: 'Cormorant Garamond', serif; }
.font-montserrat { font-family: 'Montserrat', sans-serif; }

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(10, 12, 16, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-link:hover { color: #c9a84c; }

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a0c10;
  background: #c9a84c;
  padding: 12px 28px;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid #c9a84c;
}
.btn-gold:hover {
  background: transparent;
  color: #c9a84c;
}

/* ===== CONSULTATION BUTTON ENHANCEMENTS ===== */
.btn-consultation {
  position: relative;
  overflow: hidden;
  border-width: 2px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Special styling for navbar consultation button */
#navbar .btn-consultation {
  background: transparent !important;
  color: #c9a84c !important;
  border-color: #c9a84c !important;
  margin-left: 20px;
}

#navbar .btn-consultation:hover {
  background: #c9a84c !important;
  color: #0a0c10 !important;
  border-color: #c9a84c !important;
}

.btn-consultation::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}
.btn-consultation:hover::before {
  left: 100%;
}
.btn-consultation:hover {
  border-color: #d4b868;
  background: linear-gradient(135deg, #d4b868, #c9a84c);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-outline:hover::before {
  width: 300px;
  height: 300px;
}
.btn-outline:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}

/* ===== HERO ===== */
.hero-bg {
  background: 
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(26,30,48,0.8) 0%, transparent 70%),
    linear-gradient(135deg, #060709 0%, #0d0f18 50%, #0a0c10 100%);
}
.grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ===== PORTRAIT FRAME ===== */
.portrait-frame {
  position: relative;
  width: 380px;
  height: 480px;
}
.portrait-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(201,168,76,0.3);
  pointer-events: none;
}
.portrait-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid rgba(201,168,76,0.1);
  pointer-events: none;
}
.portrait-inner {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.portrait-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #c9a84c;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  text-align: center;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a84c;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: #c9a84c;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
}
.section-title em {
  font-style: italic;
  color: #c9a84c;
}
.section-divider {
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* ===== ABOUT ===== */
.about-stat {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.about-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-value-card {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, background 0.3s;
}
.about-value-card.col-span-2 { grid-column: span 2; }
.about-value-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}
.card-icon { font-size: 24px; margin-bottom: 12px; }

/* ===== PRACTICE CARDS ===== */
.practice-card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
  transition: all 0.4s;
  overflow: hidden;
  animation-delay: var(--delay);
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c, transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.practice-card:hover::before { transform: scaleX(1); }
.practice-card:hover {
  border-color: rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.04);
  transform: translateY(-4px);
}
.practice-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(201,168,76,0.4);
  margin-bottom: 20px;
}
.practice-icon {
  margin-bottom: 16px;
}
.practice-line {
  position: absolute;
  bottom: 0;
  left: 32px;
  width: 0;
  height: 1px;
  background: #c9a84c;
  transition: width 0.4s;
}
.practice-card:hover .practice-line { width: calc(100% - 64px); }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, #c9a84c, rgba(201,168,76,0.1));
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: #c9a84c;
  border-radius: 50%;
}
.timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
}
.timeline-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
}

/* ===== MEMBERSHIPS ===== */
.membership-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s;
}
.membership-card:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}
.membership-badge {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== EDUCATION CARDS ===== */
.education-card {
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  text-align: center;
  position: relative;
  transition: all 0.4s;
  animation-delay: var(--delay);
}
.education-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #c9a84c;
  transition: width 0.4s;
}
.education-card:hover::after { width: 60%; }
.education-card:hover {
  border-color: rgba(201,168,76,0.25);
  background: rgba(201,168,76,0.04);
  transform: translateY(-6px);
}
.edu-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
  margin-bottom: 16px;
}
.edu-icon { font-size: 36px; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: all 0.3s;
  animation-delay: var(--delay);
}
.testimonial-card:hover {
  border-color: rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.03);
}
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 1;
  color: rgba(201,168,76,0.15);
  margin-bottom: -20px;
  font-style: italic;
}
.stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: #c9a84c;
}

/* ===== CONTACT ===== */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: all 0.3s;
}
.contact-info-row:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.04);
}
.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  flex-shrink: 0;
}
.whatsapp-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #128c7e;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s;
}
.whatsapp-btn:hover::before {
  left: 100%;
}
.whatsapp-btn:hover {
  background: transparent;
  border-color: #25d366;
  color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  padding: 48px 44px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
@media (max-width: 640px) {
  .contact-form-wrap { padding: 28px 20px; }
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-input:focus { border-color: rgba(201,168,76,0.6); background: rgba(201,168,76,0.03); }
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-select { cursor: pointer; appearance: none; }
.form-select option { background: #0d0f15; color: #fff; }

/* ===== FLOATING BUTTONS ===== */
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,0,0,0.5);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }
.reveal.delay-4 { transition-delay: 0.6s; }
.reveal.delay-5 { transition-delay: 0.75s; }
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
  .about-card-grid { grid-template-columns: 1fr; }
  .about-value-card.col-span-2 { grid-column: span 1; }
  .section-title { font-size: 2.2rem; }
  .contact-form-wrap { padding: 28px 24px; }
  
  /* ===== MOBILE NAVIGATION ENHANCEMENTS ===== */
  #mobile-menu {
    transform-origin: top;
    animation: slideDown 0.3s ease forwards;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: scaleY(0.8); }
    to { opacity: 1; transform: scaleY(1); }
  }
  
  .btn-consultation {
    font-size: 11px !important;
    padding: 14px 24px !important;
    margin-top: 16px !important;
    border-width: 2px !important;
  }
  
  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
  }
  .nav-link:hover {
    color: #c9a84c;
    padding-left: 8px;
  }
  
  /* ===== CONTACT SECTION MOBILE FIXES ===== */
  .contact-info-row {
    padding: 16px !important;
    gap: 12px !important;
  }
  .contact-icon {
    width: 36px !important;
    height: 36px !important;
  }
  .contact-info-row .font-cormorant {
    font-size: 18px !important;
  }
  .contact-info-row .font-montserrat {
    font-size: 9px !important;
  }
  
  /* ===== STATISTICS SECTION MOBILE FIXES ===== */
  .hero-stats {
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 0 16px !important;
  }
  .hero-stats > div {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 0 !important;
    text-align: center !important;
  }
  .hero-stats .w-px {
    display: none !important;
  }
  .hero-stats .font-cormorant {
    font-size: 2rem !important;
  }
  .hero-stats .font-montserrat {
    font-size: 10px !important;
  }
  
  /* ===== TESTIMONIALS MOBILE FIXES ===== */
  .testimonial-card {
    padding: 24px 20px !important;
  }
  .testimonial-card p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

@media (max-width: 640px) {
  .btn-gold, .btn-outline {
    font-size: 10px !important;
    padding: 10px 20px !important;
  }
  
  .btn-consultation {
    font-size: 10px !important;
    padding: 12px 20px !important;
  }
  
  .whatsapp-btn {
    font-size: 11px !important;
    padding: 12px 20px !important;
  }
  
  /* ===== CONTACT SECTION SMALLER MOBILE FIXES ===== */
  .contact-info-row {
    padding: 14px !important;
    gap: 10px !important;
  }
  .contact-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .contact-info-row .font-cormorant {
    font-size: 16px !important;
  }
  .contact-info-row .font-montserrat {
    font-size: 8px !important;
  }
  
  /* ===== STATISTICS SECTION SMALLER MOBILE FIXES ===== */
  .hero-stats {
    gap: 12px !important;
    padding: 0 12px !important;
  }
  .hero-stats > div {
    flex: 1 1 calc(50% - 6px) !important;
  }
  .hero-stats .font-cormorant {
    font-size: 1.75rem !important;
  }
  .hero-stats .font-montserrat {
    font-size: 9px !important;
  }
  
  /* ===== TESTIMONIALS SMALLER MOBILE FIXES ===== */
  .testimonial-card {
    padding: 20px 16px !important;
  }
  .testimonial-card p {
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  .btn-gold, .btn-outline {
    font-size: 9px !important;
    padding: 8px 16px !important;
    letter-spacing: 0.1em !important;
  }
  
  .btn-consultation {
    font-size: 9px !important;
    padding: 10px 16px !important;
    letter-spacing: 0.1em !important;
  }
  
  .whatsapp-btn {
    font-size: 10px !important;
    padding: 10px 16px !important;
  }
  
  /* ===== CONTACT SECTION SMALLEST MOBILE FIXES ===== */
  .contact-info-row {
    padding: 12px !important;
    gap: 8px !important;
  }
  .contact-icon {
    width: 28px !important;
    height: 28px !important;
  }
  .contact-info-row .font-cormorant {
    font-size: 14px !important;
  }
  .contact-info-row .font-montserrat {
    font-size: 7px !important;
  }
  .contact-info-row svg:last-child {
    width: 16px !important;
    height: 16px !important;
  }
  
  /* ===== STATISTICS SECTION SMALLEST MOBILE FIXES ===== */
  .hero-stats {
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .hero-stats > div {
    flex: 1 1 calc(50% - 4px) !important;
  }
  .hero-stats .font-cormorant {
    font-size: 1.5rem !important;
  }
  .hero-stats .font-montserrat {
    font-size: 8px !important;
  }
  
  /* ===== TESTIMONIALS SMALLEST MOBILE FIXES ===== */
  .testimonial-card {
    padding: 16px 12px !important;
  }
  .testimonial-card p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}
