/* =========================================================
   BeautyFill — Sistema de diseño
   Paleta tomada del logo real y de las fotos del local:
   rosa palo mate, crema cálido, tinta café oscuro, latón/dorado.
   Tipografía: Cormorant Garamond (display, elegante, con carácter)
   + Poppins (cuerpo/utilitaria, limpia y clínica).
   ========================================================= */

:root{
  --cream:        #FAF5EE;
  --cream-deep:   #F1E8DC;
  --rose:         #B98F98;
  --rose-deep:    #8C616B;
  --rose-pale:    #E9D9DA;
  --ink:          #3B2E2C;
  --ink-soft:     #6E5B57;
  --gold:         #A9803F;
  --gold-soft:    #C7A467;
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Poppins', sans-serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 50px -25px rgba(59, 46, 44, 0.35);
  --container: 1180px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .4em;
  letter-spacing: .01em;
}

h1{ font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.05; }
h2{ font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
h3{ font-size: clamp(1.4rem, 2vw, 1.7rem); }

p{ margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before{
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6vw;
}

section{ padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }

/* ---------- Botones ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 500;
  padding: .95em 1.9em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--rose-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ background: var(--ink); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--white); }
.btn-light{
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover{ background: var(--gold-soft); color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59,46,44,.08);
}
.nav{
  max-width: var(--container);
  margin: 0 auto;
  padding: .9rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo{ display: flex; align-items: center; gap: .6em; }
.nav-logo img{ height: 42px; width: auto; }
.nav-logo span{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--rose-deep);
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: .88rem;
  letter-spacing: .03em;
}
.nav-links a{
  position: relative;
  padding: .3em 0;
  transition: color .2s;
}
.nav-links a::after{
  content:'';
  position: absolute; left:0; bottom:-2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--rose-deep); }

.nav-cta{ display: flex; align-items: center; gap: 1rem; }
.nav-toggle{ display:none; background:none; border:none; font-size:1.6rem; cursor:pointer; color: var(--ink); }

@media (max-width: 880px){
  .nav-links{
    position: fixed; inset: 64px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 8vw;
    gap: 1.6rem;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display:block; }
  .nav-cta .btn-outline{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(2rem,6vw,4rem);
}
.hero-bg{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(59,46,44,.72) 10%, rgba(59,46,44,.42) 45%, rgba(59,46,44,.12) 75%);
}
.hero-content{
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6vw;
  color: var(--white);
  max-width: 720px;
}
.hero .eyebrow{ color: var(--gold-soft); }
.hero .eyebrow::before{ background: var(--gold-soft); }
.hero h1{ color: var(--white); margin-top: .3em; }
.hero h1 em{ font-style: italic; color: var(--rose-pale); }
.hero p.lead{
  color: rgba(255,255,255,.86);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 1.2em 0 2em;
}
.hero-actions{ display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-butterfly{
  position: absolute; z-index: 1;
  right: 4vw; bottom: -6vw;
  width: min(38vw, 480px);
  opacity: .16;
}

/* ---------- Badge strip ---------- */
.badge-strip{
  background: var(--ink);
  color: var(--cream);
  padding: .9rem 0;
}
.badge-strip .container{
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  justify-content: center;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}
.badge-strip .dot{ color: var(--gold-soft); margin: 0 .5em; }

/* ---------- Secciones generales ---------- */
.section-head{
  max-width: 620px;
  margin-bottom: 3rem;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.grid{ display:grid; gap: 1.6rem; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* ---------- Cards de servicio ---------- */
.card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(59,46,44,.05);
}
.card:hover{ transform: translateY(-6px); }
.card .icon{
  width: 46px; height:46px;
  margin-bottom: 1.1rem;
  color: var(--rose-deep);
}
.card h3{ margin-bottom:.5rem; }
.card p{ font-size: .93rem; margin-bottom: 0; }
.card a.card-link{
  display:inline-block; margin-top:1rem;
  font-size:.82rem; color: var(--gold);
  border-bottom: 1px solid var(--gold);
  font-weight: 500;
}

/* ---------- Categoria de servicios (imagen) ---------- */
.service-photo-card{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
}
.service-photo-card img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.service-photo-card:hover img{ transform: scale(1.06); }
.service-photo-card .overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(59,46,44,.88) 0%, rgba(59,46,44,.1) 55%, transparent 75%);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 1.5rem;
  color: var(--white);
}
.service-photo-card .overlay span{
  font-size:.7rem; letter-spacing:.15em; text-transform:uppercase; color: var(--gold-soft);
}
.service-photo-card .overlay h3{ color: var(--white); margin: .2em 0 0; }

/* ---------- Antes / Después slider ---------- */
.ba-slider{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
  cursor: ew-resize;
  user-select: none;
}
.ba-slider img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-slider .ba-after{ clip-path: inset(0 0 0 50%); }
.ba-slider .ba-handle{
  position:absolute; top:0; bottom:0; left:50%;
  width:2px; background: var(--white);
  transform: translateX(-1px);
}
.ba-slider .ba-handle::after{
  content:'⇔';
  position:absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width:38px; height:38px; border-radius:50%;
  background: var(--white); color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ba-slider .tag{
  position:absolute; bottom:12px;
  font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  background: rgba(59,46,44,.75); color:#fff;
  padding:.35em .8em; border-radius:100px;
}
.ba-slider .tag.before{ left:12px; }
.ba-slider .tag.after{ right:12px; }

/* ---------- Paquetes ---------- */
.package{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(59,46,44,.05);
  display:flex; flex-direction:column; height:100%;
}
.package.featured{
  background: linear-gradient(160deg, var(--rose-deep), #6d4650);
  color: var(--white);
}
.package.featured h3, .package.featured .price, .package.featured strong{ color:var(--white); }
.package.featured p{ color: rgba(255,255,255,.82); }
.package .price{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--rose-deep);
  margin: .3rem 0 1rem;
}
.package .price small{ font-family: var(--font-body); font-size: .9rem; opacity:.7; }
.package ul{ list-style:none; padding:0; margin: 0 0 1.6rem; flex-grow:1; }
.package ul li{
  font-size: .88rem;
  padding: .5em 0;
  border-bottom: 1px dashed rgba(59,46,44,.14);
  display:flex; gap:.6em;
}
.package.featured ul li{ border-color: rgba(255,255,255,.22); }
.package ul li::before{ content:'✦'; color: var(--gold); flex-shrink:0; }

/* ---------- CTA banda ---------- */
.cta-band{
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem,6vw,4.5rem);
  text-align:center;
  position: relative;
  overflow:hidden;
}
.cta-band h2{ color: var(--white); }
.cta-band p{ color: rgba(250,245,238,.75); max-width:480px; margin-inline:auto; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(250,245,238,.75);
  padding: 4rem 0 1.6rem;
  margin-top: 4rem;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width:820px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{
  color: var(--gold-soft);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .14em;
  margin-bottom: 1.2rem;
}
.site-footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.7rem; font-size:.9rem; }
.site-footer a:hover{ color: var(--gold-soft); }
.footer-logo{ display:flex; align-items:center; gap:.7em; margin-bottom:1rem; }
.footer-logo img{ height:38px; }
.footer-logo span{ font-family: var(--font-display); font-size:1.3rem; color: var(--white); }
.social-row{ display:flex; gap:.8rem; margin-top:1rem; }
.social-row a{
  width:38px; height:38px; border-radius:50%;
  border: 1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s, border-color .2s;
}
.social-row a:hover{ background: var(--rose-deep); border-color: var(--rose-deep); }
.footer-bottom{
  padding-top: 1.6rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  font-size: .78rem;
  opacity:.6;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height:58px; border-radius:50%;
  background: #25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s ease;
}
.wa-float:hover{ transform: scale(1.08); }

/* ---------- Utilidades ---------- */
.mt-0{ margin-top:0; }
.text-center{ text-align:center; }
.divider-butterfly{
  display:flex; justify-content:center; margin: 0 0 2rem;
  opacity:.55;
}
.divider-butterfly svg{ width:34px; height:34px; color: var(--rose); }

.page-hero{
  padding: clamp(6rem,12vw,9rem) 0 3rem;
  text-align:center;
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
}
.page-hero .eyebrow{ justify-content:center; }
.page-hero .eyebrow::before{ display:none; }
