/* ---------- Base común (se usa igual en todas las páginas) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 0; padding: 10px 14px; z-index: 100; background: #000; color: #fff; }
.saltar:focus { left: 8px; top: 8px; }
.form__error:empty { display: none; }
[hidden] { display: none !important; }

/* Botón flotante de WhatsApp con menú */
.wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: grid; justify-items: end; gap: 10px; transition: transform .3s ease, opacity .3s ease; }
.wa.oculto { transform: translateY(110px); opacity: 0; pointer-events: none; }
.wa__boton { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #1F8A4C; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s ease; }
.wa__boton:hover { transform: scale(1.06); }
.wa__boton:active { transform: scale(.95); }
.wa__boton .ico { width: 30px; height: 30px; }
.wa__menu { display: grid; gap: 6px; min-width: 230px; padding: 8px; border-radius: 16px; background: #fff; color: #1d1d1f; box-shadow: 0 14px 40px rgba(0,0,0,.25);
  transform-origin: bottom right; transform: scale(.85) translateY(10px); opacity: 0; visibility: hidden; transition: transform .22s ease, opacity .22s ease, visibility 0s .22s; }
.wa.abierto .wa__menu { transform: none; opacity: 1; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
.wa__menu p { font-size: .8125rem; color: #555; padding: 6px 10px 2px; }
.wa__menu a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; background: #F1F4F2; }
.wa__menu a:hover, .wa__menu a:focus-visible { background: #DCF1E3; }

/* Movimiento al hacer scroll: solo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].visto { opacity: 1; transform: none; }
  .js [data-cascada] > * { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-cascada].visto > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Aura ---------- */
:root {
  --rosa: #C2255C;
  --rosa-osc: #9E1A49;
  --rubor: #FCEFF3;
  --rubor-2: #F6D7E1;
  --oro: #D4AF5A;
  --oro-texto: #8A6620;
  --tinta: #2B1A21;
  --gris: #6A5560;
  --display: "Italiana", "Didot", serif;
  --texto: "Plus Jakarta Sans", system-ui, sans-serif;
  --max: 1140px;
  --g: 22px;
}
body { background: var(--rubor); color: var(--tinta); font: 400 1.0625rem/1.65 var(--texto); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }

.mariposa { color: var(--oro); }
.cabecera { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--g); max-width: var(--max); margin: 0 auto; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca .mariposa { width: 40px; height: 38px; color: var(--rosa); transition: transform .5s ease; }
.marca:hover .mariposa { animation: aletear .7s ease; }
@keyframes aletear { 0%, 100% { transform: none; } 30% { transform: scaleX(.72); } 60% { transform: scaleX(1.05); } }
.marca__texto { display: grid; line-height: 1; }
.marca__nombre { font: 400 1.7rem/1 var(--display); letter-spacing: .2em; color: var(--rosa); }
.marca__rubro { font-size: .72rem; letter-spacing: .18em; color: var(--gris); margin-top: 3px; }
.cabecera__ig { display: grid; place-items: center; width: 44px; height: 44px; color: var(--rosa); }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 13px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--texto); text-decoration: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.boton:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(194,37,92,.15), 0 12px 24px -14px rgba(158,26,73,.8); }
.boton:active { transform: scale(.98); }
.boton--rosa { background: var(--rosa); color: #fff; }
.boton--rosa:hover { background: var(--rosa-osc); }
.boton--linea { border-color: var(--rosa); color: var(--rosa); background: #fff; }
.enlace { color: var(--rosa); font-weight: 700; text-underline-offset: 5px; text-decoration-color: var(--oro); }
.titulo { font-size: clamp(2.6rem, 11vw, 4.4rem); color: var(--rosa); }

/* Hero: el espejo redondo con luz */
.hero { max-width: var(--max); margin: 0 auto; padding: 10px var(--g) 64px; display: grid; gap: 30px; justify-items: center; text-align: center; }
.espejo { position: relative; width: min(84vw, 460px); aspect-ratio: 1; }
.espejo__luz { position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, transparent 66%, rgba(255,255,255,.95) 69%, rgba(255,244,250,.6) 72%, transparent 76%);
  box-shadow: 0 0 40px 10px rgba(255,255,255,.9), 0 0 90px 20px rgba(246,215,225,.9); }
.espejo__vidrio { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 3px solid #fff; }
.espejo__vidrio img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.espejo__mariposa { position: absolute; width: 74px; height: 70px; right: 2%; bottom: 4%; color: var(--oro); filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.hero__texto { display: grid; gap: 16px; justify-items: center; max-width: 600px; }
.hero__titulo { font-size: clamp(2.3rem, 9.5vw, 4rem); color: var(--tinta); }
.hero__sub { color: var(--gris); max-width: 32em; }
.hero__texto .boton { width: 100%; max-width: 340px; }
.hero__nota { color: var(--gris); font-size: .95rem; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; justify-content: center; }
.hero__num { font: 400 1.9rem/1 var(--display); color: var(--rosa); }
.estrellas { color: var(--oro); letter-spacing: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .espejo__vidrio { animation: aparecer 1s cubic-bezier(.2,.7,.2,1) both; }
  .espejo__luz { animation: encender 1.1s .35s ease both; }
  .espejo__mariposa { animation: posarse 1s .7s cubic-bezier(.3,1.4,.5,1) both; }
  .hero__titulo { animation: subir .8s .3s ease both; }
  .hero__sub, .hero__nota { animation: subir .8s .45s ease both; }
  .hero__texto .boton { animation: subir .8s .6s ease both; }
  @keyframes aparecer { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes encender { 0% { opacity: 0; } 40% { opacity: .5; } 55% { opacity: .2; } 100% { opacity: 1; } }
  @keyframes posarse { from { opacity: 0; transform: translate(40px, -60px) rotate(25deg) scaleX(.5); } to { opacity: 1; transform: none; } }
  @keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Servicios en espejos chicos */
.servicios { background: #fff; padding: 64px var(--g); }
.servicios .titulo { max-width: var(--max); margin: 0 auto 26px; text-align: center; }
.servicios__lista { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.servicio { display: grid; justify-items: center; text-align: center; gap: 8px; }
.servicio__circulo { width: min(36vw, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rubor-2), 0 0 24px 4px rgba(246,215,225,.9); transition: box-shadow .35s ease, transform .35s ease; }
.servicio:hover .servicio__circulo { transform: scale(1.04); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--oro), 0 0 34px 8px rgba(255,255,255,1); }
.servicio__circulo img { width: 100%; height: 100%; object-fit: cover; }
.servicio__nombre { font-size: 1.4rem; line-height: 1.15; }
.servicio:last-child { grid-column: 1 / -1; }
.consultar { font-size: .9rem; font-weight: 700; color: var(--rosa); text-decoration: none; padding: 7px 16px; border: 1.5px solid var(--rubor-2); border-radius: 999px; transition: background-color .25s ease, border-color .25s ease; }
.consultar:hover { background: var(--rubor); border-color: var(--rosa); }

/* Frase */
.frase { background: var(--rosa); color: #fff; padding: 64px var(--g); text-align: center; display: grid; justify-items: center; gap: 18px; }
.frase__mariposa { width: 60px; height: 58px; color: var(--oro); }
.frase p { font: 400 clamp(1.9rem, 8vw, 3.2rem)/1.15 var(--display); max-width: 20ch; }

/* Trabajos */
.trabajos { max-width: var(--max); margin: 0 auto; padding: 64px var(--g); }
.trabajos__cab { display: flex; justify-content: space-between; align-items: end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.trabajos__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trabajos__lista li { border-radius: 200px 200px 18px 18px; overflow: hidden; aspect-ratio: 3 / 4.2; }
.trabajos__lista img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.trabajos__lista li:hover img { transform: scale(1.06); }

/* Reseñas */
.resenas { background: var(--rubor-2); padding: 64px var(--g); }
.resenas__cab, .resenas__lista { max-width: var(--max); margin: 0 auto; }
.resenas__cab { display: grid; gap: 6px; margin-bottom: 22px; }
.resenas__nota { color: var(--gris); }
.resenas__num { font: 400 1.6rem var(--display); color: var(--rosa); }
.resenas__lista { list-style: none; padding: 0; display: grid; gap: 14px; }
.cita { background: #fff; border-radius: 22px; padding: 22px 22px 18px; position: relative; }
.cita::before { content: "“"; position: absolute; top: -8px; right: 18px; font: 400 5rem/1 var(--display); color: var(--oro); }
.cita blockquote { margin: 0; }
.cita p { font-size: 1.15rem; font-weight: 500; }
.cita__fuente { font-size: .85rem !important; color: var(--gris); font-weight: 400 !important; margin-top: 6px; }

/* Visita */
.visita { max-width: var(--max); margin: 0 auto; padding: 64px var(--g) 72px; display: grid; gap: 24px; }
.visita__info { display: grid; gap: 16px; align-content: start; }
address { font-style: normal; font-size: 1.1rem; font-weight: 500; }
.horarios { width: 100%; border-collapse: collapse; }
.horarios th, .horarios td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rubor-2); font-weight: 500; }
.horarios td { text-align: right; }
.horarios .hoy th, .horarios .hoy td { color: var(--rosa); font-weight: 700; }
.hoy__marca { font-size: .72rem; background: var(--rosa); color: #fff; border-radius: 999px; padding: 1px 9px; margin-left: 4px; vertical-align: 2px; }
.abierto { color: var(--gris); font-size: .95rem; }
.abierto--si { color: #1E6B43; font-weight: 700; }
.visita__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visita__acciones .boton { padding: 12px 8px; }
.visita__mapa { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rubor-2); }
.visita__mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

.pie { background: var(--tinta); color: #E8D6DD; text-align: center; padding: 44px var(--g) 110px; display: grid; gap: 2px; justify-items: center; }
.pie__mariposa { width: 48px; height: 46px; margin-bottom: 6px; }
.pie__marca { font: 400 2rem var(--display); letter-spacing: .2em; color: #fff; margin-right: -.2em; }
.pie a { color: #fff; text-underline-offset: 4px; }
.pie__brito { margin-top: 14px; font-size: .85rem; }

.wa__boton { background: var(--rosa); }
.wa__menu { border-radius: 22px; }
.wa__menu a { border-radius: 14px; background: var(--rubor); }
.wa__menu a:hover, .wa__menu a:focus-visible { background: var(--rubor-2); }

@media (min-width: 820px) {
  :root { --g: 40px; }
  .hero { grid-template-columns: 1fr 1fr; text-align: left; justify-items: start; align-items: center; gap: 64px; padding-top: 30px; padding-bottom: 90px; }
  .espejo { width: min(42vw, 500px); justify-self: center; }
  .hero__texto { justify-items: start; }
  .hero__nota { justify-content: start; }
  .servicios__lista { grid-template-columns: repeat(5, 1fr); }
  .servicio:last-child { grid-column: auto; }
  .trabajos__lista { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .resenas__lista { grid-template-columns: repeat(3, 1fr); }
  .visita { grid-template-columns: 1fr 1.3fr; }
  .visita__mapa { aspect-ratio: auto; min-height: 400px; }
  .pie { padding-bottom: 48px; }
}
