:root {
  --pink: #f84d8c;
  --pink-2: #ff8db5;
  --rose: #fff0f6;
  --ink: #111113;
  --muted: #68636a;
  --line: #f5d7e3;
  --shadow: 0 24px 80px rgba(217, 64, 123, .14);
  --container: 1180px;
}

@font-face {
  font-family: "AhangTitle";
  src: url("assets/fonts/Ahang-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 209, 225, .9), transparent 28rem),
    radial-gradient(circle at 90% 3%, rgba(255, 184, 211, .54), transparent 24rem),
    linear-gradient(180deg, #fff8fb 0%, #fff 44%, #fff7fb 100%);
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

svg {
  display: none;
}

h1,
h2,
h3,
.brand strong {
  font-family: "AhangTitle", "Vazirmatn", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.fa-duotone,
.fad {
  --fa-primary-color: #f72e7c;
  --fa-secondary-color: #ffc2d8;
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: .62;
}

.site-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 22px 16px 104px;
}

.glass-nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(247, 194, 216, .78);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 60px rgba(186, 67, 116, .1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.45;
}

.brand strong {
  font-size: .98rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
}

.brand-mark {
  position: relative;
  width: 48px;
  height: 44px;
  display: grid;
  place-items: center;
}

.brand-mark span {
  position: absolute;
  width: 17px;
  height: 31px;
  border-radius: 100% 100% 55% 55%;
  background: linear-gradient(180deg, #ffb6d0, #ee4b88);
  transform-origin: bottom center;
  opacity: .9;
}

.brand-mark span:nth-child(1) { transform: rotate(-42deg) translateY(-2px); opacity: .54; }
.brand-mark span:nth-child(2) { transform: rotate(-22deg) translateY(-8px); opacity: .7; }
.brand-mark span:nth-child(3) { transform: rotate(0) translateY(-11px); }
.brand-mark span:nth-child(4) { transform: rotate(22deg) translateY(-8px); opacity: .72; }
.brand-mark span:nth-child(5) { transform: rotate(42deg) translateY(-2px); opacity: .55; }

.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  color: #242125;
  font-size: .95rem;
  font-weight: 700;
}

.desktop-nav a {
  transition: color .2s ease;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-btn .fa-duotone {
  --fa-primary-color: #fff;
  --fa-secondary-color: #ffd7e6;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #ff7fac 0%, #f42672 100%);
  box-shadow: 0 16px 35px rgba(248, 77, 140, .28);
}

.ghost-btn {
  color: var(--pink);
  background: rgba(255, 255, 255, .88);
  border-color: #ffb4cf;
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.nav-cta {
  display: none;
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--pink);
  border: 0;
  border-radius: 50%;
  background: #ffd7e7;
}

.mobile-menu {
  position: fixed;
  inset: 94px 16px auto;
  z-index: 45;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: .22s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 800;
}

.mobile-menu a:hover {
  background: var(--rose);
  color: var(--pink);
}

.hero-section {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  width: min(100%, var(--container));
  min-height: auto;
  margin-inline: auto;
  padding: 38px 4px 30px;
  overflow: visible;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 90px auto auto -100px;
  width: 320px;
  height: 520px;
  border-radius: 48% 52% 41% 59%;
  background: linear-gradient(180deg, rgba(255, 211, 228, .52), rgba(255, 240, 246, .1));
  transform: rotate(-24deg);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  direction: rtl;
}

.mini-line,
.eyebrow {
  color: var(--pink);
  font-weight: 900;
}

.hero-copy h1 {
  margin: 10px 0 2px;
  font-size: clamp(2.4rem, 12vw, 5rem);
  line-height: 1.15;
  font-weight: 900;
}

.hero-copy h2 {
  margin: 0;
  color: #f96d9f;
  font-size: clamp(2rem, 10vw, 4.1rem);
  line-height: 1.25;
  font-weight: 900;
}

.hero-copy p {
  width: min(100%, 620px);
  margin: 18px auto 0;
  color: #5c5860;
  font-size: 1.04rem;
  line-height: 2.15;
}

.hero-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 330px);
  margin: 26px auto 0;
}

.hero-media {
  position: relative;
  z-index: 1;
  order: 2;
  display: grid;
  place-items: center;
  min-height: auto;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(82vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9cc2, #ffd8e8);
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, .34);
  opacity: .42;
  z-index: -1;
}

.hero-hand {
  display: block;
  width: min(100%, 540px);
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  border-radius: 34px;
  filter: drop-shadow(0 30px 45px rgba(160, 58, 94, .16));
}

.sparkle {
  position: absolute;
  z-index: 3;
  color: #ff7bad;
  width: 1.6em;
  font-size: 2rem;
  animation: twinkle 2.6s ease-in-out infinite;
  pointer-events: none;
}

.sparkle.fa-duotone {
  --fa-primary-color: #ff4b8e;
  --fa-secondary-color: #ffd0e1;
}

.s1 { top: 15%; right: 11%; }
.s2 { bottom: 18%; left: 12%; animation-delay: .7s; }
.s3 { top: 40%; left: 4%; font-size: 1.45rem; animation-delay: 1.1s; }
.text-sparkle { display: none; }

@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.9) rotate(0); }
  50% { opacity: 1; transform: scale(1.12) rotate(8deg); }
}

.services-panel,
.work-section,
.split-section,
.booking-section {
  position: relative;
  width: min(100%, var(--container));
  margin-inline: auto;
  margin-top: 30px;
  border: 1px solid rgba(249, 213, 228, .82);
  border-radius: 30px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.services-panel {
  padding: 24px 12px 32px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto 18px;
  width: min(100%, calc(var(--container) - 60px));
  direction: rtl;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.8;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 900;
}

.section-heading i {
  color: var(--pink);
}

.service-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 14px;
  width: min(100%, 980px);
  margin: 0 auto;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.service-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  scroll-snap-align: start;
  min-height: 150px;
  padding: 24px 16px 18px;
  border: 1px solid #f7cddd;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 249, 252, .96));
}

.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: var(--pink);
  background: var(--rose);
  font-size: 1.35rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: #5d5960;
  font-size: .86rem;
  line-height: 1.8;
}

.slider-btn {
  display: none;
}

.work-section {
  padding: 28px 14px 32px;
}

.filter-row {
  display: flex;
  gap: 8px;
  width: min(100%, 1120px);
  margin: 0 auto 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.filter-row button {
  min-width: max-content;
  height: 38px;
  padding: 0 18px;
  border: 1px solid #ffd0e2;
  border-radius: 999px;
  color: var(--pink);
  background: #fff;
  font-weight: 800;
}

.filter-row button.active {
  color: #fff;
  background: var(--pink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.gallery-card {
  min-height: 142px;
  border: 0;
  border-radius: 18px;
  background-color: #ffe7f0;
  box-shadow: 0 12px 30px rgba(98, 33, 58, .11);
  cursor: pointer;
  transition: transform .22s ease, opacity .2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-card.hidden {
  display: none;
}

.ref {
  background-image: url("assets/nail-design-reference.png");
  background-repeat: no-repeat;
  background-size: 1536px 1024px;
}

.ref-1 { background-position: -500px -875px; }
.ref-2 { background-position: -684px -874px; }
.ref-3 { background-position: -874px -872px; }
.ref-4 { background-position: -1040px -874px; }
.ref-5 { background-position: -1180px -870px; }
.ref-6 { background-position: -1307px -870px; }

.split-section {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.price-card,
.about-card,
.booking-section {
  border: 1px solid rgba(249, 213, 228, .82);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.price-card,
.about-card {
  padding: 26px;
}

.price-card h2,
.about-card h2,
.booking-section h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.55rem, 5vw, 2.2rem);
  line-height: 1.5;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff7fb;
  color: #4c4850;
}

.price-card strong {
  color: var(--pink);
  white-space: nowrap;
}

.about-card p,
.booking-section p {
  color: var(--muted);
  line-height: 2.1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.stats span {
  display: grid;
  gap: 4px;
  padding: 13px 8px;
  border-radius: 18px;
  text-align: center;
  background: #fff7fb;
  color: #645f67;
  font-size: .8rem;
}

.stats strong {
  color: var(--pink);
  font-size: 1.1rem;
}

.booking-section {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.booking-form {
  display: grid;
  gap: 12px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: #504b53;
  font-weight: 800;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #f4cddd;
  border-radius: 18px;
  outline: none;
  background: #fff;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(248, 77, 140, .12);
}

.form-note {
  min-height: 28px;
  margin: 0;
  color: var(--pink);
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(247, 194, 216, .9);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 40px rgba(141, 52, 87, .16);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 52px;
  border-radius: 18px;
  color: #f35e94;
  font-size: .72rem;
  font-weight: 800;
}

.bottom-nav span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff1f7;
  font-size: 1rem;
}

.bottom-nav .fa-duotone {
  --fa-primary-color: #f35e94;
  --fa-secondary-color: #ffc4da;
}

.bottom-nav a.active span {
  color: #fff;
  background: var(--pink);
}

.bottom-nav a.active .fa-duotone {
  --fa-primary-color: #fff;
  --fa-secondary-color: #ffd4e4;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(41, 19, 29, .62);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox button {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--pink);
  background: #fff;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-image {
  width: min(92vw, 680px);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background-image: url("assets/nail-design-reference.png");
  background-repeat: no-repeat;
  background-size: 1536px 1024px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

@media (min-width: 760px) {
  .site-shell {
    padding: 28px 24px 72px;
  }

  .glass-nav {
    min-height: 88px;
    padding: 16px 28px;
    border-radius: 22px;
  }

  .desktop-nav,
  .nav-cta {
    display: inline-flex;
  }

  .menu-btn,
  .bottom-nav,
  .mobile-menu {
    display: none;
  }

  .hero-section {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 64px);
    min-height: 560px;
    direction: rtl;
    padding: 42px 44px 30px;
    border-bottom: 1px solid rgba(247, 218, 229, .9);
    grid-auto-flow: column;
  }

  .hero-copy {
    grid-column: 1;
    text-align: right;
    align-self: center;
    max-width: 560px;
  }

  .hero-copy p {
    font-size: 1.08rem;
    margin-inline: 0;
  }

  .hero-copy h2 {
    font-size: 55px;
    line-height: 1.45;
  }

  .hero-actions {
    grid-template-columns: 1fr 1fr;
    width: min(100%, 520px);
    margin-inline: 0;
  }

  .hero-media {
    grid-column: 2;
    order: 0;
    min-height: 470px;
    align-self: center;
  }

  .hero-media::before {
    width: min(46vw, 560px);
  }

  .hero-hand {
    width: min(48vw, 740px);
    max-width: 240%;
    max-height: 570px;
    border-radius: 42px;
    object-position: center;
  }

  .text-sparkle {
    display: inline-block;
  }

  .t1 { top: 12%; right: 4%; font-size: 1.4rem; }
  .t2 { bottom: 18%; left: 8%; font-size: 1.7rem; animation-delay: .55s; }

  .services-panel {
    margin-top: 0;
    padding: 34px 54px 48px;
    border-radius: 30px;
  }

  .section-heading {
    flex-direction: row;
    align-items: flex-end;
  }

  .section-heading p {
    max-width: 360px;
    text-align: left;
  }

  .section-heading h2 {
    text-align: right;
  }

  .service-track {
    grid-auto-columns: minmax(170px, 1fr);
    overflow: hidden;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--pink);
    box-shadow: 0 14px 30px rgba(248, 77, 140, .25);
  }

  .slider-btn.prev {
    right: 34px;
  }

  .slider-btn.next {
    left: 34px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .gallery-card {
    min-height: 182px;
  }

  .split-section,
  .booking-section {
    grid-template-columns: 1fr 1fr;
  }

  .booking-section {
    align-items: center;
    padding: 34px;
  }
}

@media (min-width: 1120px) {
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-card {
    min-height: 150px;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-copy h2 {
    font-size: 1.75rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-section::before {
    display: none;
  }
}
