/* ===== NeyraNailsBeauty - Estilos Globales ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Josefin+Sans:wght@300;400;500;600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9A7A30;
  --gold-pale: #EDE5F5;
  --cream: #F5F0FA;
  --cream-mid: #ECE4F5;
  --dark: #1A1512;
  --dark-soft: #2C2318;
  --dark-alt: #221A10;
  --text: #2E2440;
  --text-light: #7A6A8A;
  --text-on-dark: #2E2440;
  --white: #FFFFFF;
  --nav-bg: #FFFFFF;
  --nav-border: rgba(201,168,76,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 20px rgba(201,168,76,0.12), 0 1px 4px rgba(0,0,0,0.06);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  white-space: nowrap;
}

nav.desktop-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav.desktop-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

nav.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

nav.desktop-nav a:hover::after,
nav.desktop-nav a.active::after { transform: scaleX(1); }

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

/* ===== DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown > a .chevron {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.nav-dropdown:hover > a .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.2);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light) !important;
  text-decoration: none;
  font-weight: 500 !important;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(201,168,76,0.08);
  white-space: nowrap;
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a::after { display: none !important; }

.dropdown-menu a:hover {
  background: var(--gold-pale);
  color: var(--gold-dark) !important;
  padding-left: 1.8rem;
}

/* ===== BOTÓN RESERVAR NAV ===== */
.btn-reservar {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, #D4607A, #B8405A);
  color: #fff !important;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600 !important;
  border: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-reservar:hover {
  background: linear-gradient(135deg, #E07090, #C4506A);
  box-shadow: 0 4px 16px rgba(180,60,80,0.35);
  transform: translateY(-1px);
  color: #fff !important;
}

.btn-reservar::after { display: none !important; }

.btn-reservar-mobile {
  display: block;
  margin: 0.75rem 0 0.25rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #D4607A, #B8405A);
  color: #fff !important;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
}

.btn-reservar-mobile:hover {
  background: linear-gradient(135deg, #E07090, #C4506A);
}
.mobile-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-mid);
  text-decoration: none;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  font-family: 'Josefin Sans', sans-serif;
}

.mobile-sub-toggle .sub-chevron {
  width: 16px;
  height: 16px;
  stroke: var(--gold-dark);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-sub-toggle.open .sub-chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: grid;
  grid-template-rows: 0fr;
  flex-direction: column;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  margin: 0 -2rem;
  padding: 0;
  overflow: hidden;
  transition: grid-template-rows 0.35s ease, padding 0.35s ease;
}

.mobile-submenu.open {
  grid-template-rows: 1fr;
  padding: 0.25rem 0;
}

.mobile-submenu-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.mobile-submenu a {
  padding: 0.7rem 1.5rem 0.7rem 2rem !important;
  font-size: 0.85rem !important;
  color: var(--text) !important;
  border-bottom: 1px solid rgba(201,168,76,0.1) !important;
  letter-spacing: 0.08em;
}

.mobile-submenu a:last-child {
  border-bottom: none !important;
}

.mobile-submenu a:hover {
  background: var(--gold-pale);
  color: var(--gold-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--gold-dark);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 0;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.35s ease;
}

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

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-mid);
  transition: color 0.3s;
  font-weight: 500;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--gold-dark); }

main { padding-top: 70px; }

@media (max-width: 768px) {
  main { padding-top: 0; }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* ===== GENERAL SECTIONS ===== */
section { padding: 80px 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-label {
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title em { font-style: italic; color: var(--gold-dark); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  letter-spacing: 0.03em;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover { background: var(--gold); color: var(--white); }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 50px 2rem 30px;
  text-align: center;
}

footer .logo { display: inline-block; margin-bottom: 1rem; }
footer p { font-size: 0.95rem; letter-spacing: 0.05em; line-height: 2; }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

footer .footer-links a:hover { color: var(--gold-light); }

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

footer .social-links a {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
}

footer .social-links a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

footer .copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav.desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  section { padding: 60px 1.25rem; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}
