/* ============================================
   PANACHE BEAUTY - ELEGANT DARK BROWN THEME
   Logo Gold: #D0AE52 | Dark Brown: #2C1E14
   ============================================ */

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #1E1209;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader .loader-logo {
  width: 90px;
  height: 90px;
  animation: loaderPulse 1.8s ease-in-out infinite;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 30px rgba(208,174,82,0.25));
}

.page-loader .loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #D0AE52;
  margin-bottom: 8px;
}

.page-loader .loader-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(253,248,240,0.3);
}

.page-loader .loader-line {
  width: 40px;
  height: 1px;
  background: rgba(208,174,82,0.3);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.page-loader .loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #D0AE52;
  animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes loaderSlide {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #2C1E14;
  --dark-soft: #3D2C1F;
  --dark-deep: #1E1209;
  --gold: #D0AE52;
  --gold-light: #DDBF6E;
  --gold-dark: #B8963A;
  --cream: #FDF8F0;
  --cream-dark: #F0E4D1;
  --white: #ffffff;
  --text: rgba(253,248,240,0.9);
  --text-light: rgba(253,248,240,0.65);
  --text-muted: rgba(253,248,240,0.4);
  --rose: #D4A0A0;
  --rose-dark: #B87777;
  --success: #6DAE7D;
  --danger: #D46B5E;
  --shadow: 0 4px 30px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 50px rgba(0,0,0,0.35);
  --radius: 0px;
  --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  font-size: 16px;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: 'Outfit', 'Lato', sans-serif;
  color: var(--text);
  background: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.header {
  background: var(--dark-deep);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1010;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid rgba(208,174,82,0.06);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  background: var(--dark-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
  transition: height 0.4s ease;
}

.header.scrolled .header-inner {
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: -4px;
}

.logo img {
  height: 58px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(208,174,82,0.1));
  margin-right: -4px;
}

.header.scrolled .logo img {
  height: 46px;
}

.logo:hover img {
  filter: drop-shadow(0 0 12px rgba(208,174,82,0.25));
}

.logo-text {
  color: var(--white);
}

.logo-text h1 {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
}

.logo-text span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 0;
  font-family: 'Outfit', sans-serif;
}

.footer-logo-img {
  height: 44px !important;
}

.footer-brand .logo-text h1 { font-size: 1.3rem; }

.nav { display: flex; align-items: center; gap: 6px; }

.nav a {
  color: rgba(253,248,240,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: var(--transition);
  font-weight: 400;
  font-family: 'Outfit', sans-serif;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.nav a:hover, .nav a.active {
  color: var(--cream);
}

.nav a:hover::after { transform: scaleX(1); }
.nav a.active::after { transform: scaleX(1); }

.nav a.nav-cta {
  background: var(--gold);
  color: var(--dark);
  font-weight: 500;
  padding: 8px 22px;
  margin-left: 8px;
}

.nav a.nav-cta::after { display: none; }

.nav a.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1020;
  position: relative;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: var(--transition);
  display: block;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-deep);
  color: var(--text-muted);
  padding: 60px 0 0;
  border-top: 1px solid rgba(208,174,82,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer h4 {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.footer ul li { margin-bottom: 10px; }

.footer ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer ul li a:hover { color: var(--gold); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(208,174,82,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(208,174,82,0.06);
  padding: 24px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 48px;
  letter-spacing: 0.1em;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--dark-deep);
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(208,174,82,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 65%, rgba(208,174,82,0.04) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D0AE52'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(208,174,82,0.35);
  padding: 8px 28px;
  margin-bottom: 32px;
  font-family: 'Outfit', sans-serif;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--cream);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.9;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-family: 'Outfit', sans-serif;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: rgba(208,174,82,0.4);
}

.btn-outline:hover {
  background: rgba(208,174,82,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-white {
  background: transparent;
  color: var(--cream);
  border-color: rgba(253,248,240,0.3);
}

.btn-white:hover {
  background: rgba(253,248,240,0.1);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark-deep);
  color: var(--gold);
  border-color: var(--dark-deep);
}

.btn-dark:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.68rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.section-light { background: var(--dark); }
.section-cream { background: var(--dark-soft); }
.section-dark { background: var(--dark-deep); color: var(--cream); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header .label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.section-dark .section-header .label { color: var(--gold); }

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
  color: var(--cream);
}

.section-dark .section-header h2 { color: var(--cream); }

.section-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 300;
}

.section-dark .section-header p { color: var(--text-light); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image .img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--dark);
  display: block;
}

.experience-badge .text {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--dark-soft);
}

.about-content .label {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.about-content .label::before {
  content: '';
  width: 25px;
  height: 1px;
  background: var(--gold);
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: var(--cream);
}

.about-content h2 em { font-style: italic; color: var(--gold); }

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
}

.about-content p strong {
  color: var(--gold);
  font-weight: 500;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(208,174,82,0.1);
}

.about-stats .stat { text-align: center; }

.about-stats .stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
}

.about-stats .stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
}

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--dark-soft);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.section-light .service-card { background: var(--dark-soft); }

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(208,174,82,0.05);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(208,174,82,0.2);
  color: var(--gold);
  transition: var(--transition);
  position: relative;
}

.service-card:hover .icon {
  border-color: var(--gold);
  background: rgba(208,174,82,0.06);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--cream);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,30,20,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay span {
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* ---------- Salon Gallery ---------- */
.salon-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.salon-gallery .gallery-card {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--dark-soft);
}

.salon-gallery .gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.salon-gallery .gallery-card:hover img { transform: scale(1.06); }

.salon-gallery .gallery-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ---------- Testimonials ---------- */
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 24px;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
  background: var(--dark);
  border: 1px solid rgba(208,174,82,0.08);
  position: relative;
}

.section-light .testimonial-card { background: var(--dark-soft); }

.testimonial-card .quote-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 24px;
  color: var(--gold);
  opacity: 0.3;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 24px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(208,174,82,0.2);
}

.testimonial-author-info h4 {
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--cream);
}

.testimonial-author-info span {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  background: var(--dark-soft);
  border: 1px solid rgba(208,174,82,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-light);
}

.section-light .testimonial-nav button { background: var(--dark); border-color: rgba(208,174,82,0.15); }

.testimonial-nav button:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.testimonial-dots .dot {
  width: 6px;
  height: 6px;
  background: rgba(208,174,82,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots .dot.active {
  background: var(--gold);
  width: 24px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gold);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  font-weight: 300;
}

.cta-banner p {
  color: var(--dark-soft);
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.cta-label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--dark-soft);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

/* ---------- Rating Badge ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(208,174,82,0.1);
  border: 1px solid rgba(208,174,82,0.25);
  padding: 10px 24px;
  margin-bottom: 24px;
}

.rating-badge .stars {
  display: flex;
  gap: 2px;
}

.rating-badge .stars svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  fill: var(--gold);
}

.rating-badge span {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* ---------- Academy Specific ---------- */
.academy-hero {
  background: var(--dark-deep);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.academy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(208,174,82,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(208,174,82,0.04) 0%, transparent 50%);
}

.academy-hero .hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

.academy-hero h1 {
  color: var(--cream);
  margin-bottom: 24px;
  font-weight: 300;
}

.academy-hero h1 em { color: var(--gold); }

.academy-hero p {
  color: var(--text-light);
}

.academy-hero .hero-badge {
  border-color: rgba(208,174,82,0.35);
  color: var(--gold);
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 107, 94, 0.15);
  color: #E8826E;
  padding: 10px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  animation: pulse-urgency 2s infinite;
  font-family: 'Outfit', sans-serif;
}

@keyframes pulse-urgency {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.urgency-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8826E;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Course details cards */
.course-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.detail-card {
  background: var(--dark-soft);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: none;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(208,174,82,0.05);
}

.detail-card .detail-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(208,174,82,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
}

.detail-card h3 {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.detail-card p {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Outfit', sans-serif;
}

/* Curriculum */
.curriculum-list {
  max-width: 700px;
  margin: 0 auto;
}

.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(208,174,82,0.08);
}

.section-dark .curriculum-item { border-bottom-color: rgba(208,174,82,0.06); }

.curriculum-item .week {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(208,174,82,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
}

.section-dark .curriculum-item .week {
  border-color: rgba(208,174,82,0.15);
  color: var(--text-muted);
}

.curriculum-item .week strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  display: block;
}

.section-dark .curriculum-item .week strong { color: var(--gold); }

.curriculum-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--cream);
}

.section-dark .curriculum-item h4 { color: var(--cream); }

.curriculum-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 300;
}

.section-dark .curriculum-item p { color: var(--text-light); }

/* ---------- Signup Form ---------- */
.signup-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(208,174,82,0.15);
  background: var(--dark-soft);
  color: var(--cream);
  transition: var(--transition);
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(208,174,82,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Certificate Verification ---------- */
.verify-section {
  background: var(--dark-soft);
}

.search-box {
  max-width: 500px;
  margin: 0 auto 48px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  border: 1px solid rgba(208,174,82,0.15);
  background: var(--dark);
  color: var(--cream);
  font-size: 1rem;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(208,174,82,0.1);
}

.search-box svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
}

.graduates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

.graduate-card {
  background: var(--dark);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(208,174,82,0.06);
}

.graduate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: rgba(208,174,82,0.03);
}

.graduate-card .cert-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
}

.graduate-card h4 { font-size: 1.1rem; margin-bottom: 6px; color: var(--cream); }

.graduate-card .cert-id {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.graduate-card .cert-details {
  font-size: 0.82rem;
  color: var(--text-light);
}

.graduate-card .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 16px;
  background: rgba(109,174,125,0.1);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

.no-results {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  display: none;
}

.no-results.show { display: block; }

/* ---------- Services Page ---------- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-detail-card {
  background: var(--dark-soft);
  overflow: hidden;
  transition: var(--transition);
  border: none;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-detail-card .card-img {
  height: 220px;
  overflow: hidden;
}

.service-detail-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-detail-card:hover .card-img img { transform: scale(1.06); }

.service-detail-card .card-body {
  padding: 28px;
}

.service-detail-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--cream);
}

.service-detail-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.service-detail-card .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-detail-card .service-list span {
  padding: 4px 14px;
  border: 1px solid rgba(208,174,82,0.2);
  font-size: 0.68rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

/* ---------- Instagram Feed ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.insta-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--dark-soft);
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}

.insta-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.6);
}

.insta-item .insta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-overlay svg {
  color: var(--cream);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30,18,9,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(208,174,82,0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(208,174,82,0.2);
}

.lightbox-close:hover { background: var(--gold); color: var(--dark); }

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children — cards, grid items */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.48s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Scale-in reveal for images */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1), transform 1s cubic-bezier(0.16,1,0.3,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Image clip reveal — wipes from bottom */
.reveal-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s cubic-bezier(0.16,1,0.3,1);
}

.reveal-clip.visible {
  clip-path: inset(0 0 0 0);
}

/* Section divider line that draws in */
.section-header::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin: 28px auto 0;
  transition: width 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s;
}

.section-header.visible::after {
  width: 40px;
}

/* Counter animation for stat numbers */
.stat-number {
  transition: opacity 0.5s ease;
}

/* Parallax elements */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Hero parallax — content moves slower than scroll */
.hero-content {
  will-change: transform, opacity;
}

/* Gold line accent reveal */
.gold-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1s cubic-bezier(0.16,1,0.3,1);
  margin: 0 auto;
}

.gold-line.visible {
  width: 80px;
}

/* ---------- Form Success Message ---------- */
#formSuccess {
  text-align: center;
  padding: 48px;
}

#formSuccess h3 { color: var(--gold); margin-bottom: 12px; }
#formSuccess p { color: var(--text-light); }

/* ---------- Elegance Enhancements ---------- */
.hero-content h1,
.academy-hero h1 {
  text-shadow: 0 0 60px rgba(208,174,82,0.08);
}

.service-card,
.service-detail-card,
.detail-card,
.graduate-card,
.testimonial-card {
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s ease, background 0.5s ease;
}

.salon-gallery .gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,18,9,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.salon-gallery .gallery-card:hover::after {
  opacity: 1;
}

::selection {
  background: rgba(208,174,82,0.3);
  color: #FDF8F0;
}

/* Smooth scrollbar for webkit */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(208,174,82,0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(208,174,82,0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .course-details-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--dark-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), visibility 0.5s;
    box-shadow: none;
    z-index: 1005;
  }

  .nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 30% 40%, rgba(208,174,82,0.05) 0%, transparent 60%),
      radial-gradient(ellipse at 70% 70%, rgba(208,174,82,0.03) 0%, transparent 50%);
    pointer-events: none;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    width: auto;
    padding: 16px 24px;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-align: center;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1), color 0.3s ease;
    position: relative;
  }

  .nav.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.open a:nth-child(1) { transition-delay: 0.08s; }
  .nav.open a:nth-child(2) { transition-delay: 0.14s; }
  .nav.open a:nth-child(3) { transition-delay: 0.20s; }
  .nav.open a:nth-child(4) { transition-delay: 0.26s; }
  .nav.open a:nth-child(5) { transition-delay: 0.32s; }
  .nav.open a:nth-child(6) { transition-delay: 0.38s; }
  .nav.open a:nth-child(7) { transition-delay: 0.44s; }

  .nav a:hover { color: var(--gold); }
  .nav a.active { color: var(--gold); }

  .nav a::after { display: none; }

  .nav a.nav-cta {
    margin-left: 0;
    margin-top: 20px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 40px;
    font-size: 0.75rem;
  }

  .nav a.nav-cta:hover {
    background: var(--gold);
    color: var(--dark);
    transform: none;
  }

  .header-inner {
    height: 64px;
  }

  .header.scrolled .header-inner {
    height: 56px;
  }

  .logo img {
    height: 44px;
  }

  .header.scrolled .logo img {
    height: 38px;
  }

  .logo-text h1 {
    font-size: 1.2rem;
  }

  .logo-text span {
    font-size: 0.5rem;
  }

  .hero { padding-top: 64px; }
  .academy-hero { padding-top: 64px; }

  .hero h1 { font-size: 2.4rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image .experience-badge { right: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .services-page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .course-details-grid { grid-template-columns: repeat(2, 1fr); }
  .salon-gallery { grid-template-columns: 1fr 1fr; }
  .salon-gallery .gallery-card:first-child { grid-column: span 2; }
  .about-stats { gap: 24px; }

  .testimonial-card { padding: 32px 20px; }
  .testimonial-card blockquote { font-size: 1.1rem; }

  .cta-banner { padding: 60px 0; }
  .cta-banner h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .course-details-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { flex-wrap: wrap; }
  .salon-gallery { grid-template-columns: 1fr; }
  .salon-gallery .gallery-card:first-child { grid-column: span 1; }

  .page-loader .loader-logo { width: 70px; height: 70px; }
  .page-loader .loader-text { font-size: 1.3rem; }
}
