/* ============================================
   DIVA NAILS — Editorial Beauty Salon Site
   Palette: Burgundy (#7B2D3B) + Blush (#F5D5CE)
   Fonts: Playfair Display + Inter
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 1rem; line-height: 1.6; color: #1a1a1a; background: #fff; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.15; }
em { font-style: italic; }
.skip-link { position: absolute; left: -999px; top: 0; background: #7B2D3B; color: #fff; padding: .5rem 1rem; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-deeper: #3D131C;
  --blush: #F5D5CE;
  --blush-light: #FDE8E4;
  --blush-pale: #FFF5F2;
  --cream: #FDF8F6;
  --dark: #1A1A1A;
  --dark-soft: #2D2D2D;
  --gray: #6B6B6B;
  --gray-light: #A0A0A0;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-mark { color: var(--burgundy); flex-shrink: 0; }
.logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.35rem;
  font-weight: 600; color: var(--dark); letter-spacing: -0.01em;
}
.logo-light .logo-text { color: var(--white); }
.header-cta { display: none; }

/* Mobile menu */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.menu-line {
  display: block; width: 22px; height: 2px; background: var(--dark);
  border-radius: 2px; transition: var(--transition);
}
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 2px solid var(--blush);
  padding: 1rem 1.5rem 1.5rem; flex-direction: column; gap: .5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .75rem 0; font-size: 1.05rem; font-weight: 500;
  color: var(--dark); border-bottom: 1px solid var(--blush-light);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn-burgundy {
  text-align: center; margin-top: .5rem; border-bottom: none;
}

@media (min-width: 768px) {
  .header-cta { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .site-header .header-inner nav,
  .site-header .header-cta { display: flex; align-items: center; gap: 1.5rem; }
  .site-header .header-inner { justify-content: space-between; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 50px; font-weight: 600;
  font-size: .9rem; letter-spacing: 0.02em; border: 2px solid transparent;
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-small { padding: .5rem 1rem; font-size: .8rem; }
.btn-burgundy {
  background: var(--burgundy); color: var(--white); border-color: var(--burgundy);
}
.btn-burgundy:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(123,45,59,0.3); }
.btn-light { background: var(--white); color: var(--burgundy); border-color: var(--white); }
.btn-light:hover { background: var(--blush-light); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-burgundy { background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn-outline-burgundy:hover { background: var(--burgundy); color: var(--white); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--burgundy-deeper);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(61,19,28,0.92) 0%, rgba(123,45,59,0.78) 50%, rgba(92,31,43,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 1; padding: 8rem 1.5rem 4rem;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blush); margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 500;
  color: var(--white); line-height: 1.05; margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  color: var(--blush);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.8);
  max-width: 540px; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.badge {
  display: inline-flex; align-items: center; padding: .4rem .9rem;
  border-radius: 50px; font-size: .78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-light { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (min-width: 768px) {
  .hero-content { padding-top: 0; padding-right: 2rem; }
}

/* ---------- SECTION COMMON ---------- */
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--burgundy); margin-bottom: 1rem;
}
.section-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--dark);
  margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.section-headline em { color: var(--burgundy); font-style: italic; }
.section-lead {
  font-size: 1.1rem; color: var(--gray); max-width: 600px;
  line-height: 1.7; margin-bottom: 3rem;
}
section { padding: 5rem 0; }

/* ---------- SERVICES ---------- */
.services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(123,45,59,0.1); }
.service-card-img { overflow: hidden; aspect-ratio: 3/2; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.5rem; }
.service-card-title {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  font-weight: 600; color: var(--dark); margin-bottom: .5rem;
}
.service-card-body p { font-size: .95rem; color: var(--gray); line-height: 1.6; }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ABOUT ---------- */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 7/9; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute; bottom: -2rem; right: -1rem;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 4px solid var(--white); aspect-ratio: 3/2;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-body {
  font-size: 1.05rem; color: var(--gray); line-height: 1.8;
  margin-bottom: 1.5rem;
}
.about-stats {
  display: flex; gap: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--blush); margin-top: 1rem;
}
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat-number {
  font-family: 'Playfair Display', serif; font-size: 2rem;
  font-weight: 600; color: var(--burgundy); line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--gray); font-weight: 500; letter-spacing: 0.03em; }
.stat-divider { width: 1px; background: var(--blush); align-self: stretch; }

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .about-img-float { right: -2rem; bottom: -2.5rem; }
}

/* ---------- GALLERY ---------- */
.gallery { background: var(--blush-pale); padding-bottom: 4rem; }
.gallery .container:first-child { text-align: center; }
.gallery .section-lead { margin-left: auto; margin-right: auto; }
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-bottom: 3rem;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: auto; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease; display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white); font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 500;
  transform: translateY(100%); transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); }
.gallery-cta { text-align: center; }
.gallery-cta p { font-size: .95rem; color: var(--gray); }
.gallery-cta a {
  color: var(--burgundy); font-weight: 600;
  border-bottom: 1px solid var(--blush);
  transition: var(--transition);
}
.gallery-cta a:hover { border-bottom-color: var(--burgundy); }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:first-child { grid-row: span 1; }
}

/* ---------- REVIEWS ---------- */
.reviews { background: var(--white); }
.reviews .container { text-align: center; }
.reviews .section-lead { margin-left: auto; margin-right: auto; }
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 2rem; text-align: left; position: relative;
  border: 1px solid var(--blush-light);
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: .75rem; left: 1.25rem;
  font-family: 'Playfair Display', serif; font-size: 4rem;
  color: var(--blush); line-height: 1;
}
.testimonial-stars { display: flex; gap: .2rem; color: var(--burgundy); margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: 1rem; color: var(--dark-soft); line-height: 1.7;
  margin-bottom: 1.25rem; padding-left: 1.5rem;
}
.testimonial-author { display: flex; flex-direction: column; gap: .15rem; }
.author-name { font-weight: 600; color: var(--dark); font-size: .95rem; }
.author-detail { font-size: .8rem; color: var(--gray); }

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative; padding: 5rem 0; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(61,19,28,0.93) 0%, rgba(123,45,59,0.88) 100%);
}
.cta-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 680px; margin: 0 auto;
}
.cta-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blush); margin-bottom: 1rem;
}
.cta-headline {
  font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white);
  margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.cta-headline em { color: var(--blush); }
.cta-body { font-size: 1.1rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- CONTACT ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
.contact-info .section-headline { margin-bottom: 1rem; }
.contact-lead { font-size: 1.05rem; color: var(--gray); line-height: 1.7; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { color: var(--burgundy); flex-shrink: 0; margin-top: .15rem; }
.contact-item strong {
  display: block; font-size: .8rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--burgundy); margin-bottom: .25rem;
}
.contact-item p { font-size: .95rem; color: var(--dark-soft); line-height: 1.6; }
.contact-item a {
  color: var(--dark-soft); border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.contact-item a:hover { color: var(--burgundy); border-bottom-color: var(--burgundy); }

/* Form */
.contact-form-wrap {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem; border: 1px solid var(--blush-light);
}
.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  font-weight: 600; color: var(--dark); margin-bottom: .5rem;
}
.contact-form-wrap > p { font-size: .95rem; color: var(--gray); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dark-soft);
}
.form-group input, .form-group select, .form-group textarea {
  padding: .85rem 1rem; border: 1.5px solid var(--blush);
  border-radius: var(--radius-sm); font-size: .95rem; color: var(--dark);
  background: var(--blush-pale); transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--burgundy); background: var(--white);
  box-shadow: 0 0 0 3px rgba(123,45,59,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-light); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center; padding: 2rem;
}
.form-success svg { color: var(--burgundy); margin: 0 auto 1rem; }
.form-success h4 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--dark); margin-bottom: .5rem;
}
.form-success p { color: var(--gray); font-size: .95rem; }

@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--burgundy-deeper); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-links strong, .footer-hours strong, .footer-contact strong {
  display: block; font-size: .75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blush); margin-bottom: 1rem;
}
.footer-links ul, .footer-hours ul, .footer-contact ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a, .footer-contact a {
  font-size: .9rem; transition: var(--transition);
  display: flex; align-items: center; gap: .5rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-hours li {
  display: flex; justify-content: space-between;
  font-size: .9rem; gap: 1rem;
}
.footer-hours .closed { color: var(--blush); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0; text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer-bottom { text-align: left; display: flex; justify-content: space-between; align-items: center; }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--burgundy); color: var(--white);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(123,45,59,0.4);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--burgundy-dark); transform: translateY(-3px); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero-scroll { animation: none; }
  .service-card:hover { transform: none; }
  .service-card:hover .service-card-img img { transform: none; }
  .gallery-item:hover img { transform: none; }
}
