/* ── VARIABLES ── */
:root {
  --bg: #fdfaf8;
  --bg2: #f7f0ec;
  --text: #2a2220;
  --text-muted: #7a6e6a;
  --accent: #b5446e;
  --accent-light: #f2dce6;
  --accent-hover: #952f56;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

/* ── LAYOUT ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ── SECTION LABELS ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  text-align: center;
  margin-bottom: 3rem;
  font-style: italic;
}

/* ── WHATSAPP FLOTANTE ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: transform 0.25s, box-shadow 0.25s;
}

.whatsapp-float svg { width: 28px; height: 28px; }

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ── HEADER ── */
header {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
}

/* Logo de Luna Salon */
.header-logo {
  max-width: 320px;
  height: auto;
  margin-bottom: 1.25rem;
  mix-blend-mode: multiply;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
  font-style: italic;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2.25rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ── SERVICIOS ── */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.price {
  font-weight: 500;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: block;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── GALERÍA ── */
.gallery-section { background: var(--bg2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Placeholders */
.gallery-img {
  aspect-ratio: 3 / 4;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--accent);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Estilos para imágenes */
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s;
}

.gallery-grid img:hover { transform: scale(1.03); }

/* ── RESERVA ── */
.booking { background: var(--bg); }

.booking-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 500px;
  margin: -1.5rem auto 2.5rem;
  font-size: 0.95rem;
}

.booking-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.calendly-wrap {
  width: 100%;
  max-width: 700px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.booking-alt {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ── UBICACIÓN ── */
.location { background: var(--bg2); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.location-detail a {
  color: var(--text);
  transition: color 0.2s;
}

.location-detail a:hover { color: var(--accent); }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.social-links a:hover { color: var(--accent); }

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: none;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.4rem;
}

.footer-brand em { color: #e8a4be; }

.footer-copy {
  font-size: 0.82rem;
}

.footer-copy a {
  color: #e8a4be;
  transition: color 0.2s;
}

.footer-copy a:hover { color: #fff; }

/* ── ANIMACIONES ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  header { padding: 3.5rem 1.5rem 3rem; }

  .logo-text { font-size: 3rem; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}