/* =========================================================================
   Unleashed Hair & Beauty Skills — design tokens
   Palette pulled from the brand flyer: deep magenta heart-hands logo,
   soft blush pink field, warm near-black ink, cream paper.
   ========================================================================= */

:root {
  --pink-deep: #9c1e5a;
  --pink-hot: #d6317f;
  --pink-hot-light: #ef6aa8;
  --pink-blush: #fde8f0;
  --pink-blush-2: #fbd3e4;
  --ink: #241019;
  --ink-soft: #5c4450;
  --cream: #fffcfc;
  --line: rgba(36, 16, 25, 0.1);
  --shadow: 0 20px 40px -20px rgba(156, 30, 90, 0.35);

  --font-display: "Baloo 2", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.4em;
  line-height: 1.15;
  color: var(--pink-deep);
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-hot);
  background: var(--pink-blush);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--pink-hot);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--pink-deep);
  color: var(--pink-deep);
}
.btn-outline:hover { background: var(--pink-blush); }

/* ---------------------------------------------------------------------
   Header / nav
   ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 252, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.brand:hover img {
  animation: logo-bounce 0.7s ease;
}

@keyframes logo-bounce {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-10px) scale(1.05); }
  50%  { transform: translateY(0) scale(0.98); }
  70%  { transform: translateY(-4px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.brand-text { line-height: 1.1; }
.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pink-deep);
  display: block;
}
.brand-text .brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--pink-hot); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink-hot);
}

.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--pink-deep);
  cursor: pointer;
}

/* ---------------------------------------------------------------------
   Signature wavy divider (echoes the flyer's blob panel)
   ------------------------------------------------------------------- */

.wave-divider {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: -1px;
}
.wave-divider--flip { transform: scaleY(-1); }

/* ---------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--pink-blush) 0%, var(--cream) 100%);
  padding: 64px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--ink);
}
.hero h1 span { color: var(--pink-hot); }

.hero-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 46ch; }

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.promo-banner {
  margin-top: 28px;
  background: #fff;
  border: 2px dashed var(--pink-hot);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.95rem;
}
.promo-banner strong { color: var(--pink-deep); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.heart-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 40px;
  background: linear-gradient(145deg, var(--pink-blush-2), var(--pink-blush));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  padding: 28px;
  overflow: hidden;
}
.heart-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logo-float 3.2s ease-in-out infinite;
}

/* ---------------------------------------------------------------------
   Photo placeholder frames
   Replace the background-image on .photo-frame (or swap the <img> tag,
   see comments in the page templates) with your own photography.
   ------------------------------------------------------------------- */

.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--pink-blush-2), var(--pink-blush));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-hot);
  border: 1px solid var(--pink-blush-2);
}
.photo-frame.circle { border-radius: 50%; }
.photo-frame .placeholder-icon { width: 34%; height: 34%; opacity: 0.55; }
.photo-frame .placeholder-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  background: rgba(255,255,255,0.85);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------
   Section shells
   ------------------------------------------------------------------- */

section { padding: 72px 0; }
.section-alt { background: var(--pink-blush); }

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   Cards / grids
   ------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card .card-icon { width: 44px; height: 44px; margin-bottom: 16px; }

/* Pricing */
.price-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-card h3 { color: #fff; }
.price-figure {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--pink-hot-light);
  margin: 8px 0;
}
.price-figure sup { font-size: 1.1rem; top: -1.2em; }
.price-old {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 1.2rem;
}
.price-note { font-size: 0.85rem; opacity: 0.8; }

/* Topic / theory lists */
.list-panel {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--line);
}
.list-panel h3 {
  color: var(--pink-hot);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  margin-bottom: 18px;
}
.list-panel ul { list-style: none; margin: 0; padding: 0; }
.list-panel li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.list-panel li:last-child { border-bottom: none; }
.list-panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink-hot);
}

/* Certificates */
.cert-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cert-pill {
  flex: 1 1 220px;
  background: #fff;
  border: 2px solid var(--pink-blush-2);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.cert-pill .cert-duration {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--pink-deep);
}

/* Steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  background: var(--pink-hot);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------- */

.form-shell {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid var(--pink-blush-2);
  border-color: var(--pink-hot);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note { font-size: 0.85rem; color: var(--ink-soft); }

.alert {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.alert-success { background: #e8f7ee; color: #1e6b3d; border: 1px solid #bfe6cc; }
.alert-error { background: #fdeaea; color: #9c2020; border: 1px solid #f3c2c2; }

/* ---------------------------------------------------------------------
   Contact / location
   ------------------------------------------------------------------- */

.contact-info-list { list-style: none; padding: 0; margin: 0; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-list .icon-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pink-blush);
  color: var(--pink-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */

footer.site-footer {
  background: var(--ink);
  color: #fdeaf1;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer.site-footer h4 { color: #fff; font-size: 1rem; }
footer.site-footer a { color: #f3c9dc; }
footer.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #c99cb2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
  }
  nav.main-nav.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .form-grid-2, .footer-grid { grid-template-columns: 1fr; }
  .cert-row { flex-direction: column; }
  section { padding: 52px 0; }
  .form-shell { padding: 26px; }
}

/* ---------------------------------------------------------------------
   Nail gallery / slideshow
   ------------------------------------------------------------------- */

.slideshow {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.slideshow-track {
  position: relative;
  aspect-ratio: 3 / 4;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  color: var(--pink-deep);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.slideshow-nav:hover { background: #fff; }
.slideshow-prev { left: 12px; }
.slideshow-next { right: 12px; }

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.slideshow-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--pink-blush-2);
  cursor: pointer;
  padding: 0;
}
.slideshow-dots button.is-active { background: var(--pink-hot); }

.service-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.service-row .icon-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pink-blush);
  color: var(--pink-hot);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
