/* ==========================================================================
   NAILS BY NOOR — Luxury Nail Studio
   style.css  |  HTML5 + CSS3 + Vanilla JS
   Theme : girly / premium / glassmorphism / Gen Z aesthetic
   ========================================================================== */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
  --pink:        #FF4FA2;
  --light-pink:  #FFD6E8;
  --bg:          #FFF9FC;
  --accent:      #FF87C5;
  --dark:        #2E2E2E;
  --white:       #FFFFFF;
  --gradient:    linear-gradient(135deg, #FF4FA2, #FF87C5);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-soft: 0 18px 50px rgba(255, 79, 162, 0.14);
  --shadow-pink: 0 14px 40px rgba(255, 79, 162, 0.35);

  --font-head: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--pink); color: #fff; }

/* custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-pink); }
::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 999px;
  border: 2px solid var(--light-pink);
}

/* ---------- 3. UTILITIES ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { position: relative; padding: 96px 0; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }

.section-head.left { text-align: left; margin: 0 0 40px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 79, 162, 0.08);
  border: 1px solid var(--light-pink);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub { color: #777; font-size: 1.02rem; }

/* ---------- 4. BUTTONS + RIPPLE ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-position 0.5s ease, background 0.35s ease;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(255, 79, 162, 0.45);
}

.btn-ghost {
  background: var(--white);
  color: var(--pink);
  border: 2px solid var(--light-pink);
  box-shadow: 0 8px 24px rgba(255, 79, 162, 0.08);
}
.btn-ghost:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255, 79, 162, 0.18);
}

.btn-soft {
  background: rgba(255, 79, 162, 0.1);
  color: var(--pink);
  border: 1px solid var(--light-pink);
}
.btn-soft:hover { background: var(--gradient); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-pink); }

.btn-white {
  background: #fff;
  color: var(--pink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.btn-white:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: #1eb958; transform: translateY(-3px); }

.btn-sm { padding: 11px 24px; font-size: 0.85rem; }
.btn-lg { padding: 18px 42px; font-size: 1.02rem; }

/* shimmer sweep on primary buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-primary:hover::after { left: 160%; }

/* ripple element created by JS */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- 5. PRELOADER ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.polish-bottle {
  position: relative;
  width: 56px; height: 110px;
  animation: bob 1.4s ease-in-out infinite;
}
.polish-cap {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 34px;
  border-radius: 8px 8px 6px 6px;
  background: var(--dark);
}
.polish-body {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 70px;
  border-radius: 8px 8px 16px 16px;
  background: var(--gradient);
  box-shadow: var(--shadow-pink);
}
.polish-body::after {
  content: '';
  position: absolute;
  top: 10px; left: 8px;
  width: 12px; height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
}
.preloader-text {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pink);
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 6. CURSOR GLOW ---------- */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 340px; height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  background: radial-gradient(circle, rgba(255, 79, 162, 0.10), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease, width 0.3s ease, height 0.3s ease;
}
#cursor-glow.active { opacity: 1; }
#cursor-glow.hovering {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255, 79, 162, 0.16), transparent 65%);
}

@media (hover: none), (pointer: coarse) { #cursor-glow { display: none; } }

/* ---------- 7. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(255, 79, 162, 0.12);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}
.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.nav-link:hover { color: var(--pink); }
.nav-link:hover::after { width: 100%; }

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

.nav-ig {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--light-pink);
  color: var(--pink);
  transition: all 0.3s ease;
}
.nav-ig svg { width: 20px; height: 20px; }
.nav-ig:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px) rotate(8deg);
  box-shadow: var(--shadow-pink);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--gradient);
  border: none;
  border-radius: 12px;
  align-items: center;
  box-shadow: var(--shadow-pink);
}
.hamburger span {
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile slide-in menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(320px, 84vw);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  z-index: 1100;
  padding: 110px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(105%);
  transition: transform 0.5s var(--ease);
  box-shadow: -20px 0 60px rgba(255, 79, 162, 0.18);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu li a {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--dark);
  transition: background 0.3s ease, color 0.3s ease, padding 0.3s var(--ease);
}
.mobile-menu li a:hover { background: rgba(255, 79, 162, 0.08); color: var(--pink); padding-left: 22px; }
.mobile-menu .btn { width: 100%; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 100px;
  overflow: hidden;
}

/* dreamy background */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 { width: 420px; height: 420px; top: -120px; right: -80px; background: rgba(255, 79, 162, 0.25); }
.blob-2 { width: 380px; height: 380px; bottom: -120px; left: -100px; background: rgba(255, 135, 197, 0.3); animation-delay: -4s; }
.blob-3 { width: 220px; height: 220px; top: 40%; left: 42%; background: rgba(255, 214, 232, 0.6); animation-delay: -8s; }
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* floating decorative emojis */
.sparkle {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.85;
  z-index: 1;
  animation: floatSparkle 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(255, 79, 162, 0.35));
}
.s1 { top: 18%; left: 8%; }
.s2 { top: 30%; right: 12%; animation-delay: -1.2s; }
.s3 { top: 12%; right: 38%; animation-delay: -2.4s; }
.s4 { bottom: 22%; left: 16%; animation-delay: -3s; }
.s5 { bottom: 30%; right: 30%; animation-delay: -1.8s; }
.s6 { bottom: 12%; right: 6%; animation-delay: -0.6s; }
.s7 { top: 55%; left: 30%; animation-delay: -4s; }
.s8 { top: 70%; right: 14%; animation-delay: -2s; }
@keyframes floatSparkle {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-18px) rotate(10deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--light-pink);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(255, 79, 162, 0.1);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-title .gradient-text { display: inline-block; }

.hero-sub {
  font-size: 1.05rem;
  color: #666;
  max-width: 460px;
  margin-bottom: 24px;
}

/* typing line */
.type-line {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 32px;
  min-height: 1.6em;
}
.type-label { color: #999; margin-right: 6px; }
#typed-text { color: var(--pink); font-weight: 600; }
.type-cursor {
  display: inline-block;
  width: 3px; height: 1.15em;
  background: var(--pink);
  margin-left: 4px;
  vertical-align: -2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

/* stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 0.82rem; color: #888; }

/* hero visual */
.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  border-radius: 220px 220px 40px 40px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(255, 79, 162, 0.3);
  border: 8px solid #fff;
  animation: heroFloat 6s ease-in-out infinite;
  aspect-ratio: 4 / 5;
}
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255, 79, 162, 0.25));
  pointer-events: none;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}

/* floating glass cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 18px;
  z-index: 3;
  animation: heroFloat 5.5s ease-in-out infinite;
}
.fc-emoji { font-size: 1.5rem; }
.float-card strong { display: block; font-size: 0.9rem; }
.float-card small { color: #999; font-size: 0.75rem; }
.fc-1 { top: 40px; left: -30px; }
.fc-2 { bottom: 60px; right: -20px; animation-delay: -2s; }

.float-badge {
  position: absolute;
  top: 12%; right: -14px;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  border-radius: 50%;
  z-index: 3;
  animation: badgeSpin 8s linear infinite;
}
@keyframes badgeSpin {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(12deg); }
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid var(--pink);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 10px;
  border-radius: 4px;
  background: var(--pink);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 9. GLASS CARD (features) ---------- */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.features { padding-top: 40px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 30px 70px rgba(255, 79, 162, 0.2); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-pink);
  transition: transform 0.45s var(--ease);
  animation: iconPulse 3.5s ease-in-out infinite;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-6deg); }
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 79, 162, 0.4); }
  50% { box-shadow: 0 0 0 14px rgba(255, 79, 162, 0); }
}

.feature-card h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: #777; }

/* ---------- 10. SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 14px 40px rgba(255, 79, 162, 0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease, border-color 0.45s ease;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 30px 70px rgba(255, 79, 162, 0.22); }
.service-card:hover::before { opacity: 1; }

.service-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.14); }

.service-price {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(255, 79, 162, 0.2);
}

.service-body { padding: 24px; text-align: center; }
.service-body h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 8px; }
.service-body p { font-size: 0.88rem; color: #777; margin-bottom: 18px; }

/* ---------- 11. MASONRY GALLERY ---------- */
.gallery { background: linear-gradient(180deg, var(--bg), #fff, var(--bg)); }

.masonry {
  columns: 4;
  column-gap: 18px;
}

.masonry-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  animation: floatItem 6s ease-in-out infinite;
}
.masonry-item:nth-child(even) { animation-delay: -3s; }
@keyframes floatItem {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.masonry-item img {
  width: 100%;
  aspect-ratio: var(--mh, 1.2);
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.masonry-item:hover img { transform: scale(1.12); }

.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 79, 162, 0.1), rgba(255, 79, 162, 0.55));
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 79, 162, 0.25);
  backdrop-filter: blur(6px);
  transform: translateY(16px);
  transition: transform 0.45s var(--ease);
}
.masonry-item:hover .masonry-overlay span { transform: translateY(0); }

.gallery-cta { text-align: center; margin-top: 44px; }

/* ---------- 12. WHY CHOOSE US ---------- */
.why-us { background: linear-gradient(180deg, var(--bg), #fff); overflow: hidden; }

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.why-visual { position: relative; }
.why-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(255, 79, 162, 0.25);
  transform: rotate(-2deg);
  transition: transform 0.5s var(--ease);
  aspect-ratio: 4 / 5;
}
.why-frame:hover { transform: rotate(0deg) scale(1.02); }
.why-frame img { width: 100%; height: 100%; object-fit: cover; }

.why-stamp {
  position: absolute;
  bottom: 24px; right: -20px;
  padding: 18px 26px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--pink);
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: var(--shadow-pink);
  animation: heroFloat 5s ease-in-out infinite;
}
.why-stamp span { color: var(--dark); }

.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; }

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--light-pink);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, background 0.3s ease;
}
.why-list li:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); background: #fff; }

.tick {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(255, 79, 162, 0.35);
  animation: tickPop 2.4s ease-in-out infinite;
}
.why-list li:nth-child(even) .tick { animation-delay: 1.2s; }
@keyframes tickPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(12deg); }
}

.why-list strong { display: block; font-size: 0.98rem; }
.why-list small { color: #999; font-size: 0.8rem; }

/* ---------- 13. BEFORE & AFTER ---------- */
.ba-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(255, 79, 162, 0.25);
  user-select: none;
  touch-action: none;
  aspect-ratio: 16 / 10;
  --ba-pos: 50%;
}

.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; }

.ba-before { clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0); }

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos);
  width: 4px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 20px rgba(255, 79, 162, 0.6);
  cursor: ew-resize;
  z-index: 5;
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(255, 79, 162, 0.5);
  transition: transform 0.3s var(--ease);
}
.ba-wrap.dragging .ba-handle { transform: translate(-50%, -50%) scale(1.15); }

.ba-label {
  position: absolute;
  top: 18px;
  z-index: 4;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  backdrop-filter: blur(6px);
}
.ba-label.before { left: 18px; }
.ba-label.after { right: 18px; color: #fff; background: rgba(255, 79, 162, 0.85); }

/* ---------- 14. REVIEWS ---------- */
.reviews { background: linear-gradient(180deg, var(--bg), #fff); }

.review-shell { max-width: 900px; margin: 0 auto; }

.review-viewport { overflow: hidden; padding: 10px 4px; }

.review-track {
  display: flex;
  gap: 26px;
  transition: transform 0.65s var(--ease);
}

.review-card {
  min-width: 340px;
  flex: 0 0 340px;
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.review-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(255, 79, 162, 0.2); }

.review-stars {
  color: #FFC107;
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 4px 14px rgba(255, 193, 7, 0.4);
}

.review-text { font-size: 0.96rem; color: #555; font-style: italic; margin-bottom: 22px; }

.review-user { display: flex; align-items: center; gap: 14px; }
.review-user strong { display: block; font-size: 0.95rem; }
.review-user small { color: #999; font-size: 0.78rem; }

.avatar {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--gradient);
  background-position: calc(var(--a, 0) * 40px) 0;
  box-shadow: 0 8px 20px rgba(255, 79, 162, 0.35);
}

.review-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.review-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--light-pink);
  background: #fff;
  color: var(--pink);
  font-size: 1.15rem;
  transition: all 0.35s var(--ease);
}
.review-arrow:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: scale(1.1); box-shadow: var(--shadow-pink); }

.review-dots { display: flex; gap: 8px; }
.review-dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: none;
  background: var(--light-pink);
  transition: all 0.4s var(--ease);
}
.review-dots button.active {
  width: 30px;
  background: var(--gradient);
}

/* ---------- 15. INSTAGRAM SECTION ---------- */
.instagram {
  background: var(--gradient);
  background-size: 200% 200%;
  animation: igGradient 10s ease infinite;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
@keyframes igGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ig-inner { position: relative; z-index: 2; }

.ig-icon {
  width: 90px; height: 90px;
  margin: 0 auto 26px;
  font-size: 2.6rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  animation: heroFloat 4s ease-in-out infinite;
}

.ig-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.ig-title span { color: var(--dark); }

.ig-handle {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.ig-text { max-width: 460px; margin: 0 auto 32px; font-size: 1.02rem; opacity: 0.95; }

.ig-float {
  position: absolute;
  font-size: 2rem;
  opacity: 0.7;
  animation: floatSparkle 6s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}
.f1 { top: 12%; left: 10%; }
.f2 { top: 22%; right: 12%; animation-delay: -1.5s; }
.f3 { bottom: 16%; left: 16%; animation-delay: -3s; }
.f4 { bottom: 22%; right: 20%; animation-delay: -4.5s; }
.f5 { top: 60%; left: 45%; animation-delay: -2s; }

/* ---------- 16. BOOK APPOINTMENT CTA ---------- */
.cta { background: linear-gradient(180deg, var(--bg), var(--light-pink)); }

.cta-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 50px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 40px 100px rgba(255, 79, 162, 0.2);
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -90px; right: -90px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 79, 162, 0.12);
  filter: blur(40px);
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -90px; left: -90px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 135, 197, 0.14);
  filter: blur(40px);
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative; z-index: 2;
}

.cta-text {
  color: #666;
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 36px;
  position: relative; z-index: 2;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  position: relative; z-index: 2;
  margin-bottom: 26px;
}

.cta-note { font-size: 0.88rem; color: #999; position: relative; z-index: 2; }

.cta-sparkle {
  position: absolute;
  font-size: 1.6rem;
  z-index: 2;
  animation: floatSparkle 5s ease-in-out infinite;
}
.cta-sparkle.s1 { top: 26px; left: 34px; }
.cta-sparkle.s2 { top: 40px; right: 40px; animation-delay: -1.4s; }
.cta-sparkle.s3 { bottom: 30px; left: 60px; animation-delay: -2.6s; }
.cta-sparkle.s4 { bottom: 46px; right: 60px; animation-delay: -3.8s; }

/* ---------- 17. FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, #fff, var(--light-pink));
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-brand p { color: #777; font-size: 0.92rem; margin: 16px 0 22px; max-width: 300px; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--light-pink);
  color: var(--pink);
  transition: all 0.35s var(--ease);
}
.socials a svg { width: 20px; height: 20px; }
.socials a:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px) rotate(8deg);
  box-shadow: var(--shadow-pink);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { color: #666; font-size: 0.92rem; transition: color 0.3s ease, padding 0.3s ease; }
.footer-col li a:hover { color: var(--pink); padding-left: 6px; }
.footer-contact li { color: #666; font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 79, 162, 0.15);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: #888; }

/* ---------- 18. FLOATING BUTTONS ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.7rem;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
  transition: transform 0.35s var(--ease);
  animation: heroFloat 4s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.12); }

#to-top {
  position: fixed;
  bottom: 100px; right: 34px;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  box-shadow: var(--shadow-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
}
#to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#to-top:hover { transform: translateY(-4px); }

/* ---------- 19. SCROLL REVEAL (AOS-style, vanilla) ---------- */
[data-aos] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--aos-delay, 0s);
  will-change: opacity, transform;
}
[data-aos="fade-up"]    { transform: translateY(50px); }
[data-aos="fade-left"]  { transform: translateX(50px); }
[data-aos="fade-right"] { transform: translateX(-50px); }
[data-aos="zoom-in"]    { transform: scale(0.85); }

[data-aos].aos-animate { opacity: 1; transform: none; }

/* ---------- 20. KEYFRAMES ---------- */
@keyframes sparkleMove {
  0%, 100% { opacity: 0.2; transform: translateY(0) scale(0.8); }
  50% { opacity: 1; transform: translateY(-14px) scale(1.15); }
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 3; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 980px) {
  .nav-menu { gap: 14px; }
  .nav-links { gap: 18px; }
  .nav-cta { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { max-width: 460px; margin: 0 auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns, .hero-stats { justify-content: center; }
  .fc-1 { left: -6px; }
  .fc-2 { right: -6px; }
}

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .why-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .stat-rating { display: none; }
  .hero-stats { gap: 24px; }
  .review-card { min-width: 82vw; flex: 0 0 82vw; }
  .cta-card { padding: 52px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .navbar { padding: 14px 0; }
  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .ba-wrap { aspect-ratio: 4 / 5; }
  .float-card { display: none; }
}

/* ---------- 22. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
