/* ============================================================
   SEISHUN ESTÉTICA — GLOBAL.CSS
   Tokens, reset, tipografía, utilidades y animaciones
   Paleta derivada del logo (hibisco ciruela) + acento dorado
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Colores de marca (del logo) */
  --ciruela:        #451E41;  /* primario — títulos, navbar, footer */
  --ciruela-medio:  #5D3B5A;  /* hover, bordes, acentos */
  --malva:          #8B6A88;  /* texto secundario, líneas */
  --nude:           #D9C2C9;  /* fondos suaves, detalles */
  --arena:          #E8DCCF;  /* separadores cálidos */
  --marfil:         #FAF6F1;  /* fondo base */
  --dorado:         #B89B6E;  /* acento premium */
  --dorado-claro:   #D3BE97;
  --carbon:         #2B2228;  /* cuerpo de texto */
  --blanco:         #FFFFFF;

  /* Tipografía */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Montserrat', system-ui, sans-serif;
  --body:  'Inter', system-ui, sans-serif;

  /* Espaciado / radios / sombras */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --shadow-soft: 0 10px 40px rgba(69, 30, 65, 0.10);
  --shadow-card: 0 20px 60px rgba(69, 30, 65, 0.14);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--carbon);
  background: var(--marfil);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- TIPOGRAFÍA ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ciruela); line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p  { font-size: 1.02rem; color: var(--carbon); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dorado);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--dorado);
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: linear-gradient(180deg, var(--marfil), var(--arena)); }
.section--nude { background: var(--nude); }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--malva); max-width: 640px; }
.divider-flower {
  width: 60px; height: 2px; background: var(--dorado);
  margin: 1.4rem 0; border: none;
  position: relative;
}
.text-center .divider-flower { margin-left: auto; margin-right: auto; }

/* ---------- BOTONES ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ciruela); color: var(--blanco); }
.btn--primary:hover { background: var(--ciruela-medio); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn--gold { background: var(--dorado); color: var(--blanco); }
.btn--gold:hover { background: var(--dorado-claro); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn--outline { background: transparent; color: var(--ciruela); border-color: var(--ciruela); }
.btn--outline:hover { background: var(--ciruela); color: var(--blanco); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1ebe5a; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn--light { background: var(--blanco); color: var(--ciruela); }
.btn--light:hover { background: var(--arena); transform: translateY(-3px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(250, 246, 241, 0.0);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 18px 0;
}
.navbar.scrolled {
  background: rgba(250, 246, 241, 0.97);
  box-shadow: 0 4px 30px rgba(69,30,65,.08);
  padding: 10px 0;
  backdrop-filter: blur(8px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 48px; height: 48px; transition: transform .4s var(--ease); }
.nav-logo:hover img { transform: rotate(8deg); }
.nav-logo span {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  color: var(--ciruela); line-height: 1;
}
.nav-logo small {
  display: block; font-family: var(--sans); font-size: 0.55rem;
  letter-spacing: 3px; text-transform: uppercase; color: var(--dorado);
}
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > li > a {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.6px; text-transform: uppercase; color: var(--ciruela);
  position: relative; padding: 6px 0; transition: color .3s;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
  background: var(--dorado); transition: width .35s var(--ease);
}
.nav-menu > li > a:hover { color: var(--dorado); }
.nav-menu > li > a:hover::after { width: 100%; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > a::before { content: ""; }
.dropdown {
  position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--blanco); min-width: 290px; border-radius: var(--r-md);
  box-shadow: var(--shadow-card); padding: 12px; opacity: 0; visibility: hidden;
  transition: all .35s var(--ease); border-top: 3px solid var(--dorado);
}
.nav-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 11px 14px; font-family: var(--body); font-size: 0.86rem;
  color: var(--carbon); border-radius: var(--r-sm); transition: all .25s;
}
.dropdown a:hover { background: var(--marfil); color: var(--ciruela); padding-left: 20px; }
.dropdown .drop-label {
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dorado); padding: 10px 14px 4px; font-weight: 600;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ciruela); transition: all .3s; }

/* Mobile */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    background: var(--marfil); flex-direction: column; align-items: flex-start;
    padding: 100px 34px 40px; gap: 6px; transition: right .45s var(--ease);
    box-shadow: -20px 0 60px rgba(69,30,65,.18); overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li { width: 100%; border-bottom: 1px solid var(--arena); }
  .nav-menu > li > a { display: block; padding: 16px 0; font-size: 0.9rem; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    min-width: 100%; padding: 0 0 10px 12px; border-top: none; background: transparent;
  }
  .nav-cta .btn--outline { display: none; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 1500;
  display: flex; align-items: center; gap: 0;
}
.wa-float a {
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 8px 30px rgba(37,211,102,.45);
  animation: wa-pulse 2.4s infinite; transition: transform .3s;
}
.wa-float a:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-label {
  position: absolute; right: 74px; background: var(--ciruela); color: #fff;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: .5px;
  padding: 9px 16px; border-radius: 50px; white-space: nowrap; opacity: 0; pointer-events: none;
  transform: translateX(10px); transition: all .35s var(--ease); box-shadow: var(--shadow-soft);
}
.wa-float:hover .wa-label { opacity: 1; transform: translateX(0); }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 30px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 600px) {
  .wa-float { bottom: 18px; right: 18px; }
  .wa-float a { width: 56px; height: 56px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ciruela); color: #E9DDE7; padding: 70px 0 0; }
.footer h4 {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dorado-claro); margin-bottom: 22px; font-weight: 600;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px;
}
.footer-brand img { width: 64px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { color: #CDB9CB; font-size: 0.92rem; max-width: 280px; }
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 4px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: #CDB9CB; font-size: 0.9rem; transition: all .25s; }
.footer ul li a:hover { color: var(--dorado-claro); padding-left: 6px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #CDB9CB; font-size: 0.9rem; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--dorado-claro); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; text-align: center;
  font-size: 0.8rem; color: #B39CB1;
}
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.footer-social a:hover { background: var(--dorado); border-color: var(--dorado); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ANIMACIONES SCROLL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .wa-float a { animation: none; }
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumb {
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: .5px; text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--malva);
}
.breadcrumb a { color: var(--malva); transition: color .25s; }
.breadcrumb a:hover { color: var(--dorado); }
.breadcrumb .sep { color: var(--dorado); }
.breadcrumb [aria-current] { color: var(--ciruela); font-weight: 600; }

/* ---------- UTIL ---------- */
.maps-embed { width: 100%; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.maps-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
