/* ===== MAK BEAUTY INSTITUTE — Main Stylesheet ===== */
/* Version: 2.0 | Date: 2026-06-19 */

:root {
  --red-primary: #E10000;
  --red-dark: #B80000;
  --red-light: #FF3333;
  --red-glow: rgba(225, 0, 0, 0.12);
  --ink-pure: #0A0A0A;
  --ink-soft: #171717;
  --ink-mid: #262626;
  --ink-800: #3D3D3D;
  --ink-700: #525252;
  --ink-600: #7A7A7A;
  --ink-500: #A8A8A8;
  --ink-400: #D4D4D4;
  --ink-300: #EBEBEB;
  --ink-200: #F5F5F5;
  --ink-100: #FAFAFA;
  --gold: #C9A84C;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; scroll-padding-bottom: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--ink-pure);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 80px;
}
@media (min-width: 1024px) { body { padding-bottom: 0; padding-top: 0; } }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink-100); }
::-webkit-scrollbar-thumb { background: var(--red-primary); border-radius: 3px; }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

/* ===== LIQUID GLASS ===== */
.lg-light {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 8px 32px rgba(225, 0, 0, 0.06), 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
}
.lg-light::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 40%, rgba(255,255,255,0) 60%, rgba(225,0,0,0.04) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

.lg-card-light {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 4px 24px rgba(225, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.03);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lg-card-light::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.3) 50%, rgba(225,0,0,0.04) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.lg-card-light:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 12px 40px rgba(225, 0, 0, 0.08), 0 4px 12px rgba(0,0,0,0.05);
}

.lg-card-dark {
  position: relative;
  background: rgba(23, 23, 23, 0.6);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 4px 24px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lg-card-dark::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 50%, rgba(225,0,0,0.08) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ===== GRADIENTS ===== */
.grad-red { background: linear-gradient(135deg, #E10000 0%, #B80000 50%, #8F0000 100%); }
.grad-red-soft { background: linear-gradient(135deg, #FF3333 0%, #E10000 50%, #B80000 100%); }
.grad-text-red {
  background: linear-gradient(135deg, #E10000, #FF3333);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
.float-slow { animation: float 8s ease-in-out infinite; }
.float-med { animation: float 6s ease-in-out infinite; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0; }
}
.pulse-ring { animation: pulse-ring 2s ease-out infinite; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  position: relative; background: linear-gradient(135deg, #E10000, #B80000);
  color: white; font-weight: 600; letter-spacing: 0.01em; border-radius: 16px;
  border: none; padding: 14px 28px; font-size: 14px;
  overflow: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(225, 0, 0, 0.2);
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 50%); pointer-events: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(225, 0, 0, 0.3); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  position: relative; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px);
  color: var(--ink-pure); font-weight: 600; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 14px 28px; font-size: 14px;
  overflow: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-glass::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 50%); pointer-events: none; }
.btn-glass:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(225,0,0,0.2); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  position: relative; background: transparent;
  color: var(--red-primary); font-weight: 600; border: 1.5px solid rgba(225,0,0,0.2);
  border-radius: 16px; padding: 14px 28px; font-size: 14px;
  overflow: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline:hover { background: rgba(225,0,0,0.04); border-color: rgba(225,0,0,0.4); }

.btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: white; color: var(--red-primary); font-weight: 700;
  border-radius: 16px; padding: 16px 32px; font-size: 15px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); background: #FFF0F0; }

/* ===== DESKTOP HEADER — MENU ONLY ===== */
.desktop-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding: 16px 24px;
}
.desktop-header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: flex-end; /* Menu right-aligned, logo separate on left */
  padding: 10px 28px 10px 160px; /* Left padding for fixed logo */
  border-radius: 20px;
  gap: 4px;
}
.desktop-header-inner nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.desktop-header-inner nav a {
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.desktop-header-inner nav a:hover {
  background: rgba(225,0,0,0.06);
}
.desktop-header-inner .header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(225,0,0,0.06);
  color: var(--red-primary);
  font-weight: 600;
  margin-left: 4px;
  border: 1px solid rgba(225,0,0,0.1);
  white-space: nowrap;
}
.desktop-header-inner .header-phone:hover {
  background: rgba(225,0,0,0.12);
}
.desktop-header-inner .header-phone svg {
  flex-shrink: 0;
}

/* ===== DESKTOP LOGO — COMPLETELY SEPARATE from menu ===== */
.header-logo-fixed {
  position: fixed;
  top: 20px;
  left: 148px;
  z-index: 50;
  background: white;
  border-radius: 18px;
  padding: 14px 26px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-logo-fixed-img {
  height: 76px;
  width: auto;
  display: block;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* On scroll — ONLY logo shrinks, menu does NOT change */
.header-logo-fixed.scrolled {
  padding: 8px 16px;
  border-radius: 14px;
}
.header-logo-fixed.scrolled .header-logo-fixed-img {
  height: 44px;
}

/* ===== MOBILE STICKY LOGO ===== */
/* White rectangle ONLY around the logo, not full-width strip */
.mobile-logo-sticky {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}
.mobile-logo-sticky > a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 8px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}
.mobile-logo-sticky.scrolled {
  top: 8px;
}
.mobile-logo-sticky.scrolled > a {
  padding: 6px 16px;
}
.mobile-logo-sticky.scrolled .mobile-logo-img {
  height: 52px;
}
.mobile-logo-img {
  height: 72px;
  width: auto;
  transition: height 0.3s ease;
  display: block;
}
@media (min-width: 1024px) {
  .mobile-logo-sticky { display: none !important; }
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  padding: 0 12px 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.bottom-nav-inner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.8) inset, 0 8px 32px rgba(0,0,0,0.15);
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px;
}
.bottom-nav-inner::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 50%, rgba(225,0,0,0.04) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 2px; color: rgba(10,10,10,0.35);
  font-size: 9px; font-weight: 500; transition: all 0.3s ease;
  position: relative; flex: 1; min-width: 0;
  min-height: 44px; justify-content: center;
}
.bottom-nav-item.active { color: var(--red-primary); }
.bottom-nav-item.active::after {
  content: ''; position: absolute; bottom: 0; width: 16px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, var(--red-primary), var(--red-light));
}
.bottom-nav-item svg { width: 22px; height: 22px; stroke-width: 1.8; flex-shrink: 0; }
.bottom-nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.bottom-nav-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #E10000, #B80000);
  color: white; font-size: 9px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(225, 0, 0, 0.3), 0 0 0 4px rgba(255,255,255,0.5);
  position: relative; z-index: 2; margin: 0 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bottom-nav-cta:hover, .bottom-nav-cta:active { transform: scale(1.08); box-shadow: 0 6px 24px rgba(225, 0, 0, 0.4), 0 0 0 4px rgba(255,255,255,0.5); }
.bottom-nav-cta svg { width: 20px; height: 20px; stroke-width: 2.5; }

@media (max-width: 374px) {
  .bottom-nav-item { font-size: 8px; padding: 4px 1px; }
  .bottom-nav-item svg { width: 20px; height: 20px; }
  .bottom-nav-cta { width: 48px; height: 48px; font-size: 8px; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
/* Generated hero images: blur + darken to hide AI artifacts */
.hero-bg.ai-generated {
  filter: blur(2px) brightness(0.55);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
}
.hero-content { position: relative; z-index: 10; width: 100%; }

/* ===== REAL PHOTO MASK ===== */
/* Apply red/dark gradient mask to real photos in content sections */
.real-photo-container {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}
.real-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.real-photo-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225,0,0,0.15) 0%, rgba(10,10,10,0.25) 50%, rgba(184,0,0,0.1) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: inherit;
}
.real-photo-container.dark-mask::after {
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.4) 70%, rgba(10,10,10,0.6) 100%);
  mix-blend-mode: normal;
}

/* ===== PROGRESS BARS ===== */
.progress-bar { height: 8px; border-radius: 4px; background: var(--ink-300); overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--red-primary), var(--red-light));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.progress-fill-naccas { background: linear-gradient(90deg, var(--ink-500), var(--ink-400)); }

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.popup-overlay.active { opacity: 1; pointer-events: auto; }
.popup-box {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
  z-index: 61; max-width: min(420px, 92vw); width: 90%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.5) inset;
  opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.popup-box.active { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.popup-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: rgba(0,0,0,0.05); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease;
}
.popup-close:hover { background: rgba(225,0,0,0.1); }

/* ===== DECORATIVE ===== */
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.orb-red { background: radial-gradient(circle, rgba(225,0,0,0.15), transparent 70%); }
.orb-red-light { background: radial-gradient(circle, rgba(255,51,51,0.08), transparent 70%); }

.section-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,0,0,0.15), rgba(0,0,0,0.05), rgba(225,0,0,0.15), transparent);
}

.star-gold { color: var(--gold); }

.badge-red {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(225,0,0,0.9), rgba(184,0,0,0.95));
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15);
}

/* ===== FOOTER ===== */
.footer-link { color: rgba(255,255,255,0.35); font-size: 13px; transition: all 0.2s ease; }
.footer-link:hover { color: white; }
.footer-heading { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .footer-logo-img { height: 100px; }
}
.footer-logo-wrap {
  display: inline-block;
  background: white;
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* ===== FORMS ===== */
.form-input {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--ink-300); background: rgba(255,255,255,0.8);
  color: var(--ink-pure); font-size: 14px;
  transition: all 0.2s ease;
}
.form-input:focus { outline: none; border-color: var(--red-primary); box-shadow: 0 0 0 3px rgba(225,0,0,0.1); }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-700); margin-bottom: 6px; }
.form-group { margin-bottom: 16px; }

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.text-gradient {
  background: linear-gradient(135deg, #E10000, #FF3333);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.bg-dot-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ===== MAC DECORATIONS - MORE VISIBLE ===== */
/* Mac flowers — FULLY OPAQUE in hero sections */
.mac-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}
.mac-decoration img {
  width: 100%;
  height: auto;
}
.mac-float {
  position: absolute;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}
.mac-float img {
  width: 100%;
  height: auto;
}
/* Lighter macs in content sections (not hero) */
.mac-float.mac-content {
  opacity: 0.2;
}

/* Mobile: small + transparent, prevent overlap */
@media (max-width: 639px) {
  .mac-float {
    max-width: 55px !important;
    opacity: 0.2 !important;
  }
  .mac-float img {
    width: 100% !important;
    height: auto;
  }
}

/* Tablet: medium */
@media (min-width: 640px) and (max-width: 1023px) {
  .mac-float {
    max-width: 85px !important;
    opacity: 0.4 !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .desktop-header { display: none !important; }
}
@media (min-width: 1024px) {
  .bottom-nav { display: none !important; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .float-slow, .float-med { animation: none; }
}

/* ===== ACCESSIBILITY ===== */
*:focus-visible { outline: 2px solid var(--red-primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 calc(25% - 12px);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.carousel-slide:hover img { transform: scale(1.08); }
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-800);
}
.carousel-arrow:hover {
  background: var(--red-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(225,0,0,0.3);
}
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-300);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  background: var(--red-primary);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 1023px) {
  .carousel-slide { flex: 0 0 calc(33.333% - 11px); }
  .carousel-arrow { width: 36px; height: 36px; }
}
@media (max-width: 639px) {
  .carousel-slide { flex: 0 0 calc(85% - 8px); scroll-snap-align: center; }
  .carousel-arrow.prev { left: 4px; }
  .carousel-arrow.next { right: 4px; }
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 20px; right: 20px; z-index: 71;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.lightbox-close:hover { background: rgba(225,0,0,0.8); }

/* ===== PROGRAM CARD — FULL BACKGROUND IMAGE ===== */
.program-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.program-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.program-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.4) 35%, rgba(10,10,10,0.8) 65%, rgba(10,10,10,0.95) 100%);
}
.program-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  margin-top: auto;
}
.program-card-content h3,
.program-card-content p,
.program-card-content a {
  color: white;
}
.program-card-content .pc-meta {
  color: rgba(255,255,255,0.65);
  font-size: 11px;
}
.program-card-content .pc-meta svg {
  stroke: rgba(255,255,255,0.8);
}
.program-card-content .pc-divider {
  border-color: rgba(255,255,255,0.2);
}
.program-card-content .pc-price {
  color: white;
}
.program-card-content .pc-price-label {
  color: rgba(255,255,255,0.5);
}
.program-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-primary);
}

/* ===== FRESHA EMBED ===== */
.fresha-embed { width: 100%; min-height: 600px; border: none; border-radius: 20px; }
