/* ═══════════════════════════════════════════
   SAPPHIRE BEAUTY SALON & SPA
   Editorial Luxury · Maryland
   Sapphire · Rose · Cream · Gold
═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #faf7f3;
  --cream-2:     #f3eeea;
  --white:       #ffffff;
  --sapphire:    #1e3a5f;
  --sapphire-d:  #0d1f33;
  --sapphire-l:  #2a5080;
  --rose:        #c4356a;
  --rose-light:  #e07aa0;
  --rose-pale:   #f9eef4;
  --gold:        #b89452;
  --text:        #1a1616;
  --muted:       #7a7272;
  --border:      rgba(30,58,95,.1);
  --nav-h:       76px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script:  'Great Vibes', cursive;
  --font-body:    'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 2px; }

/* ════ REVEAL ANIMATIONS ════ */
.reveal-up, .reveal-fade {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .95s cubic-bezier(.16,1,.3,1) calc(var(--d,0s)),
    transform .95s cubic-bezier(.16,1,.3,1) calc(var(--d,0s));
}
.reveal-fade { transform: scale(.97) translateY(12px); }
.in-view.reveal-up,
.in-view.reveal-fade { opacity: 1; transform: none; }

/* ════ LABELS ════ */
.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .9rem;
}
.label--light { color: rgba(196,53,106,.5); }

/* ════ BUTTONS ════ */
.btn-rose {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--rose);
  padding: .92rem 2.4rem;
  text-decoration: none;
  border-radius: 1px;
  transition: background .22s, transform .15s, box-shadow .22s;
}
.btn-rose:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(196,53,106,.28);
}
.btn-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sapphire);
  background: transparent;
  border: 1px solid rgba(30,58,95,.28);
  padding: .92rem 2.4rem;
  text-decoration: none;
  border-radius: 1px;
  transition: border-color .22s, color .22s, background .22s;
}
.btn-outline:hover { border-color: var(--sapphire); background: var(--sapphire); color: var(--white); }
.btn-outline-dark {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sapphire);
  background: transparent;
  border: 1px solid rgba(30,58,95,.3);
  padding: .88rem 2.25rem;
  text-decoration: none;
  border-radius: 1px;
  transition: background .22s, color .22s;
}
.btn-outline-dark:hover { background: var(--sapphire); color: var(--white); }
.btn-white {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sapphire);
  background: var(--white);
  padding: .92rem 2.4rem;
  text-decoration: none;
  border-radius: 1px;
  transition: background .22s, transform .15s;
}
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-outline-white {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  padding: .92rem 2.4rem;
  text-decoration: none;
  border-radius: 1px;
  transition: border-color .22s, background .22s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ════════════════ NAV ════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  transition: background .35s, box-shadow .35s;
  background: rgba(250,247,243,.0);
}
.nav.scrolled {
  background: rgba(250,247,243,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(30,58,95,.05);
}
.nav__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  height: 54px;
  width: auto;
  border-radius: 50%;
  transition: opacity .2s;
}
.nav__logo:hover { opacity: .85; }
.nav__links {
  display: flex;
  list-style: none;
  gap: 2.75rem;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
  text-decoration: none;
  transition: color .2s;
}
.nav__links a:hover { color: var(--rose-light); }
.nav.scrolled .nav__links a { color: var(--muted); }
.nav.scrolled .nav__links a:hover { color: var(--rose); }
.nav__book {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--rose);
  padding: .6rem 1.6rem;
  text-decoration: none;
  border-radius: 1px;
  flex-shrink: 0;
  transition: background .2s;
}
.nav__book:hover { background: var(--rose-light); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: all .3s;
}
.nav.scrolled .nav__hamburger span { background: var(--text); }

/* ════ MOBILE MENU ════ */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 490;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin: 1rem 0; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--sapphire);
  text-decoration: none;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--rose); }
.mobile-menu .mm-book {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--rose);
  padding: .75rem 2rem;
  border-radius: 1px;
  display: inline-block;
  margin-top: .5rem;
}

/* ════════════════ HERO ════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* Left — text panel */
.hero__text-panel {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 6rem;
  position: relative;
  z-index: 2;
}

/* Decorative rose line on left edge */
.hero__text-panel::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--rose), transparent);
}


.hero__script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--rose);
  line-height: 1;
  margin-bottom: .4rem;
}

.hero__title {
  line-height: .9;
  margin-bottom: 1.85rem;
}
.ht-top {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 6vw, 6.5rem);
  font-weight: 600;
  color: var(--sapphire);
  letter-spacing: -.01em;
  line-height: .92;
}
.ht-mid {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  letter-spacing: .01em;
  line-height: 1;
}
.ht-bot {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  letter-spacing: .02em;
  line-height: 1.1;
}

.hero__sub {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 360px;
  margin-bottom: 2.5rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right — photo panel */
.hero__photo-panel {
  position: relative;
  overflow: hidden;
}
.hero__photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.95) contrast(1.04) saturate(1.08);
}
/* Decorative border accent */
.hero__photo-frame {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  width: 90px; height: 90px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 50%;
  pointer-events: none;
}
.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
}

/* ════ TICKER ════ */
.ticker {
  background: var(--sapphire);
  overflow: hidden;
  padding: .75rem 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 34s linear infinite;
}
.ticker__track span {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  padding: 0 1.4rem;
}
.ticker__track .tick-sep {
  color: var(--rose-light) !important;
  font-size: .5rem !important;
  padding: 0 .1rem !important;
  letter-spacing: 0 !important;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ════════════════ SERVICES ════════════════ */
.services-section {
  padding: 9rem 2.5rem;
  background: var(--white);
}
.services__inner { max-width: 1240px; margin: 0 auto; }
.services__header {
  max-width: 540px;
  margin-bottom: 4.5rem;
}
.services__header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--sapphire);
  margin-bottom: 1.1rem;
}
.services__header h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
}
.services__header p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.85;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.service-card {
  background: var(--cream);
  padding: 2.75rem 2.25rem;
  transition: background .3s, transform .3s, box-shadow .3s;
  cursor: default;
  position: relative;
}
.service-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(30,58,95,.1);
  z-index: 1;
}
.sc-icon {
  font-size: 1.2rem;
  color: var(--rose);
  margin-bottom: 1.5rem;
  display: block;
  opacity: .8;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--sapphire);
  margin-bottom: .75rem;
  line-height: 1.1;
}
.service-card p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ════════════════ GALLERY ════════════════ */
.gallery-section {
  padding: 8rem 0 6rem;
  background: var(--cream);
}
.gallery__header {
  text-align: center;
  padding: 0 2rem;
  margin-bottom: 3.5rem;
}
.gallery__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--sapphire);
  margin-bottom: .5rem;
}
.gallery__header h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
}
.gallery__header p {
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .08em;
}

/* CSS columns masonry */
.gallery__grid {
  columns: 3;
  column-gap: 6px;
  padding: 0 6px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  display: block;
  transition: transform .65s cubic-bezier(.16,1,.3,1), filter .4s;
  filter: brightness(.92) saturate(1.05);
}
.gallery__item:hover img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.12);
}
/* Subtle sapphire overlay on hover */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,58,95,.0);
  transition: background .35s;
  pointer-events: none;
}
.gallery__item:hover::after {
  background: rgba(30,58,95,.04);
}

.gallery__cta {
  text-align: center;
  margin-top: 3.5rem;
  padding: 0 2rem;
}
.gallery__cta p {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

/* ════════════════ ABOUT ════════════════ */
.about-section {
  padding: 9rem 2.5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.about__photo-side {
  position: relative;
}
.about__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.95) saturate(1.05);
}
/* Sapphire border accent behind photo */
.about__photo-side::before {
  content: '';
  position: absolute;
  top: 1.5rem; left: -1.5rem;
  right: 1.5rem; bottom: -1.5rem;
  border: 1.5px solid rgba(30,58,95,.12);
  z-index: 0;
}
.about__photo-side .about__img { position: relative; z-index: 1; }
.about__logo-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 110px; height: 110px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(30,58,95,.15);
  padding: 10px;
  z-index: 2;
}
.about__logo-badge img { width: 100%; border-radius: 50%; }
.about__text-side h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--sapphire);
  margin-bottom: 2rem;
}
.about__text-side h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
}
.about__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--rose);
  line-height: 1.6;
  border-left: 3px solid var(--rose);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}
.about__text-side p {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.1rem;
}
.about__text-side p:last-of-type { margin-bottom: 2.25rem; }

/* ════════════════ BOOKING CTA ════════════════ */
.booking-section {
  position: relative;
  padding: 10rem 2.5rem;
  overflow: hidden;
  background: var(--sapphire);
  text-align: center;
}
.booking__bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.booking__bg-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: .1;
  filter: saturate(.4) brightness(.6);
}
.booking__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.booking__script {
  display: block;
  font-family: var(--font-script);
  font-size: 2.8rem;
  color: rgba(255,255,255,.65);
  line-height: 1;
  margin-bottom: .3rem;
}
.booking__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: .82;
  margin-bottom: 1.75rem;
}
.booking__sub {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  line-height: 1.75;
  margin-bottom: 2.75rem;
}
.booking__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ════════════════ FOOTER ════════════════ */
.footer {
  background: var(--sapphire-d);
  padding: 5rem 2.5rem 2rem;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__logo {
  height: 88px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  opacity: .85;
}
.footer__brand p {
  font-size: .8rem;
  line-height: 1.75;
  color: rgba(255,255,255,.38);
  max-width: 280px;
}
.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-body);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.4rem;
}
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: .65rem; }
.footer__links a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer__links a:hover { color: var(--rose-light); }
.footer__contact p,
.footer__contact a {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  line-height: 1.75;
  transition: color .2s;
}
.footer__contact a:hover { color: var(--rose-light); }
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.75rem;
  text-align: center;
  font-size: .7rem;
  color: rgba(255,255,255,.2);
  letter-spacing: .06em;
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { gap: 4rem; }
}

@media (max-width: 900px) {
  .nav__links, .nav__book { display: none; }
  .nav__hamburger { display: flex; }
  .nav__hamburger span { background: var(--text); }
  .nav .nav__hamburger span { background: var(--sapphire); }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__photo-panel { height: 65vw; order: -1; }
  .hero__text-panel {
    padding: 3.5rem 2rem 4rem;
  }
  .hero__text-panel::before { display: none; }

  .about__inner { grid-template-columns: 1fr; gap: 4rem; }
  .about__photo-side::before { display: none; }
  .about__logo-badge { right: 0; bottom: -.75rem; }
  .about__img { aspect-ratio: 4/3; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .gallery__grid { columns: 2; }
}

@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero__photo-panel { height: 75vw; }
  .hero__sub { max-width: 100%; }
  .booking-section { padding: 6rem 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-section, .about-section { padding: 6rem 1.5rem; }
  .gallery-section { padding: 5rem 0 4rem; }
  .gallery__grid { columns: 2; }
}
