/* ===== Design Tokens ===== */
:root {
  --rose-berry: #c24b6e;
  --rose-light: #f2d5dc;
  --gold: #c9a84c;
  --charcoal: #2b2b2b;
  --ink: #1a1a1a;
  --porcelain: #faf7f4;
  --white: #ffffff;
  --text-secondary: #6b6b6b;
  --line: rgba(43, 43, 43, 0.1);

  --font-display: "Playfair Display", serif;
  --font-body: "Cormorant Garamond", serif;
  --font-ui: "Montserrat", sans-serif;

  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-pill: 50px;
  --ease: 0.3s ease;
  --maxw: 1180px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== Layout helpers ===== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 6rem 0;
}
.section-alt {
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-eyebrow {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-berry);
  margin: 0 0 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin: 0;
}
.section-sub {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
}
.section-sub a {
  color: var(--rose-berry);
  border-bottom: 1px solid var(--rose-light);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  border: none;
  border-radius: var(--radius-pill);
  transition:
    transform var(--ease),
    background var(--ease),
    box-shadow var(--ease),
    color var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--rose-berry);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(194, 75, 110, 0.35);
}
.btn-primary:hover {
  background: #ab3d5e;
  box-shadow: 0 10px 30px rgba(194, 75, 110, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  background: transparent;
  color: var(--rose-berry);
  border: 1px solid var(--rose-berry);
  padding: 0.7rem 1.6rem;
}
.btn-outline:hover {
  background: var(--rose-berry);
  color: var(--white);
}
.btn-full {
  width: 100%;
}
.btn-wa {
  background: #25d366;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #1fb855;
}

/* ===== Nav ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition:
    background var(--ease),
    box-shadow var(--ease),
    padding var(--ease);
  padding: 1.5rem 0;
}
#nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--ease);
}
#nav.scrolled .logo-img {
  filter: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--ease);
}
.nav-links a:hover {
  color: var(--rose-light);
}
.nav-book {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem;
}
.nav-book:hover {
  background: var(--rose-berry);
  border-color: var(--rose-berry);
  color: var(--white) !important;
}
#nav.scrolled .nav-links a {
  color: var(--charcoal);
}
#nav.scrolled .nav-book {
  border-color: var(--rose-berry);
  color: var(--rose-berry);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--ease);
  border-radius: 2px;
}
#nav.scrolled .nav-toggle span {
  background: var(--charcoal);
}

/* ===== Hero ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: url("/images/nail001.jpg") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.35) 0%,
    rgba(26, 26, 26, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  opacity: 0.92;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  margin: 0;
  line-height: 1;
}
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin: 1rem 0 2.5rem;
  opacity: 0.95;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scrolldot 1.8s infinite;
}
@keyframes scrolldot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
}
.about-text .section-title {
  margin-bottom: 1.5rem;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--porcelain);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--ease),
    box-shadow var(--ease);
  cursor: pointer;
  border: 1px solid var(--line);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-img {
  height: 220px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.06);
}
.service-body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.service-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}
.service-body p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}
.service-link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-berry);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-tile {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-tile:hover img {
  transform: scale(1.05);
}
.ig-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--rose-berry), #a83a5c);
  color: var(--white);
}
.ig-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
}
.ig-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.ig-cta-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.ig-cta-sub {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ===== Booking ===== */
.booking-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  border: 1px solid var(--line);
}
.field {
  margin-bottom: 1.4rem;
}
.field label,
.field .label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.optional {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: var(--porcelain);
  color: var(--charcoal);
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose-berry);
  box-shadow: 0 0 0 3px rgba(194, 75, 110, 0.12);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.radio-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 1.05rem;
}
.radio input {
  width: auto;
}
.form-error {
  color: #c0392b;
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

/* ===== Testimonials ===== */
.testimonials-outer {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonials-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testimonials-track::-webkit-scrollbar {
  display: none;
}
.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
  flex: 1;
}
.testimonial-name {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-berry);
  margin: 0;
}
.carousel-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--rose-berry);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.carousel-btn:hover {
  background: var(--rose-berry);
  color: var(--white);
  border-color: var(--rose-berry);
}
.carousel-btn:disabled {
  opacity: 0.32;
  pointer-events: none;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--rose-berry);
  opacity: 0.22;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--ease), transform var(--ease);
}
.carousel-dot.active {
  opacity: 1;
  transform: scale(1.15);
}

/* ===== Locations ===== */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.location-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.location-img {
  height: 240px;
  overflow: hidden;
}
.location-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-body {
  padding: 1.75rem;
}
.location-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
}
.location-addr {
  color: var(--text-secondary);
  margin: 0 0 0.8rem;
}
.location-link {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rose-berry);
  margin-bottom: 1.2rem;
}

/* ===== Footer ===== */
#footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  margin: 0;
  color: var(--white);
}
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 1.2rem;
}
.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.02rem;
  transition: color var(--ease);
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--rose-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ===== FAB ===== */
.fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition:
    opacity var(--ease),
    transform var(--ease);
}
.fab.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.fab.pulse {
  animation: fabPulse 2s 2;
}
@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.fab:hover {
  background: #1fb855;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    gap: 1.5rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right var(--ease);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    color: var(--charcoal);
    font-size: 1rem;
  }
  .nav-book {
    border-color: var(--rose-berry);
    color: var(--rose-berry);
  }
  .nav-toggle {
    display: flex;
    z-index: 110;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--charcoal);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--charcoal);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-image {
    max-height: 340px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .booking-card {
    padding: 1.75rem;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
}

/* ===== Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--rose-berry);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
