/* Estilo ATENEA, versión refinada: negro profundo, oro y lila.
   Títulos en Cormorant (serif de alta costura), textos en Jost (nítida y liviana), Cinzel solo en detalles de marca,
   Great Vibes solo para la firma "Mabi". Líneas finas, brillos suaves, mucho aire. */
:root {
  --fondo: #070502; --fondo2: #0d0a05; --vidrio: rgba(20,15,6,.55);
  --oro1: #FFF6D6; --oro2: #E9C766; --oro3: #C9A030; --oro4: #8B6510; --oro5: #3a2800;
  --brillo: #FFE58A; --lila: #8A5FBF; --lila-claro: #C9B0EA;
  --texto: #F4ECD8; --suave: rgba(244,236,216,.66); --tenue: rgba(244,236,216,.42);
  --linea: rgba(233,199,102,.22); --linea-fuerte: rgba(233,199,102,.5);
  --ok: #a8dcb8; --alerta: #e9c27a; --mal: #eb9a8c;
  --firma: 'Great Vibes', cursive; --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --ui: 'Jost', 'Helvetica Neue', Arial, sans-serif; --caps: 'Cinzel', Georgia, serif;
  --display: var(--firma); --cuerpo: var(--serif);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  min-height: 100vh; color: var(--texto); font-family: var(--ui); font-weight: 300; font-size: 16px; line-height: 1.6; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(201,160,48,.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(138,95,191,.07), transparent 70%),
    var(--fondo);
  background-attachment: fixed;
}
body::before {
  content: ""; position: fixed; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(closest-side at 78% 18%, rgba(138,95,191,.20), transparent 70%),
    radial-gradient(closest-side at 15% 70%, rgba(138,95,191,.10), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: translate3d(-3%, -2%, 0) scale(1) } to { transform: translate3d(4%, 3%, 0) scale(1.08) } }
a { color: var(--oro2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oro1); }
:focus-visible { outline: 1px solid var(--oro2); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: rgba(233,199,102,.3); }

/* Oro con brillo que pasa despacio (solo en textos grandes) */
.oro {
  background: linear-gradient(100deg, #B8892A 0%, #E9C766 28%, #FFF6D6 42%, #E4D2FA 48%, #FFF6D6 53%, #E9C766 64%, #B8892A 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: brillo 9s ease-in-out infinite;
}
@keyframes brillo { 0%,100% { background-position: 100% 0 } 50% { background-position: 0 0 } }

.chispas { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.chispas span {
  position: absolute; border-radius: 50%; background: var(--oro1); box-shadow: 0 0 6px 1px rgba(233,199,102,.55);
  animation: titila 5s ease-in-out infinite; opacity: 0;
}
@keyframes titila { 0%,100% { opacity: 0; transform: scale(.5) } 50% { opacity: .7; transform: scale(1) } }

/* Barra */
.barra {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 20px; background: rgba(7,5,2,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--linea);
}
.marca { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; text-decoration: none; line-height: 1; }
/* La cursiva tiene trazos que salen de su caja (la curva de la M, el punto de la i):
   el relleno extra deja lugar para que el dorado los pinte enteros, y el margen negativo lo compensa. */
.firma {
  display: inline-block; font-family: var(--firma); font-weight: 400; font-size: 34px; line-height: 1.25;
  padding: .06em .34em .14em .42em; margin: -.06em -.34em -.14em -.42em;
  filter: drop-shadow(0 0 10px rgba(201,160,48,.25)) drop-shadow(0 0 22px rgba(138,95,191,.22));
}
.firma-wrap { position: relative; display: inline-block; }
.firma-wrap::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: 170%; height: 150%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(150,110,205,.30), rgba(150,110,205,.10) 50%, rgba(150,110,205,0));
  mix-blend-mode: screen;
  pointer-events: none; z-index: -1; animation: halo 6s ease-in-out infinite;
}
@keyframes halo { 0%,100% { opacity: .65 } 50% { opacity: 1 } }
.destello { position: absolute; top: -.05em; right: -.32em; width: .42em; height: .42em; font-size: inherit; pointer-events: none;
  animation: destello 4.5s ease-in-out infinite; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px rgba(201,176,234,.9)); }
.marca .destello { font-size: 34px; }
@keyframes destello { 0%,62%,100% { opacity: 0; transform: scale(.3) rotate(0) } 72% { opacity: 1; transform: scale(1) rotate(45deg) } 84% { opacity: 0; transform: scale(.4) rotate(90deg) } }
.filete { display: flex; align-items: center; gap: 8px; width: 132px; margin: 3px 0 4px; }
.filete::before, .filete::after { content: ""; flex: 1; height: 1px; }
.filete::before { background: linear-gradient(90deg, transparent, rgba(233,199,102,.6)); }
.filete::after { background: linear-gradient(90deg, rgba(201,176,234,.6), transparent); }
.filete i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--lila-claro); box-shadow: 0 0 8px rgba(201,176,234,.9); }
.sello { font-family: var(--ui); font-weight: 400; font-size: 9px; letter-spacing: .44em; color: var(--oro3); padding-left: .44em; }

/* Página */
.caja { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 44px 22px 96px; }
.eyebrow { margin: 0; font-family: var(--ui); font-weight: 400; font-size: 11px; letter-spacing: .38em; color: var(--oro3); text-transform: uppercase; }
.titulo { margin: 10px 0 6px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(40px, 10vw, 54px); line-height: 1.05; letter-spacing: -.005em; }
.bajada { margin: 0; color: var(--suave); font-size: 15px; max-width: 42ch; }
.titulo-chico { margin: 6px 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; line-height: 1.1; }

/* Ornamento: línea fina con un rombo en el medio */
.orn { display: flex; align-items: center; gap: 12px; margin: 26px 0 4px; color: var(--oro3); }
.orn::before, .orn::after { content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--linea-fuerte), transparent); }
.orn i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--oro2); background: rgba(138,95,191,.55); box-shadow: 0 0 10px rgba(201,176,234,.6); }

.bloque { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.paso { margin: 0; display: flex; align-items: baseline; gap: 12px; font-family: var(--ui); font-weight: 400; font-size: 11.5px; letter-spacing: .28em; color: var(--oro2); text-transform: uppercase; }
.paso .n { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: 0; color: var(--lila-claro); text-transform: none; text-shadow: 0 0 12px rgba(138,95,191,.6); }
.ayuda { font-family: var(--ui); font-weight: 300; letter-spacing: .01em; text-transform: none; font-size: 13px; color: var(--tenue); }
.cargando { color: var(--tenue); font-size: 14px; }

.tarjeta {
  padding: 26px 22px; border-radius: 4px; border: 1px solid var(--linea);
  background: linear-gradient(180deg, rgba(30,22,8,.55), rgba(10,8,4,.75));
  box-shadow: inset 0 1px 0 rgba(255,246,214,.04), 0 20px 50px rgba(0,0,0,.35);
  position: relative;
}
/* Esquinas de joyería */
.tarjeta::before, .tarjeta::after { content: ''; position: absolute; width: 14px; height: 14px; border-color: var(--oro3); border-style: solid; opacity: .8; }
.tarjeta::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.tarjeta::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* Servicios */
.chips { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--linea); }
.chip {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: left;
  font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--texto); min-height: 56px; padding: 12px 6px;
  background: transparent; border: 0; border-bottom: 1px solid var(--linea); cursor: pointer; transition: color .25s, padding .25s, background .25s;
}
.chip small { font-family: var(--ui); font-weight: 300; font-size: 13px; color: var(--tenue); letter-spacing: .04em; white-space: nowrap; }
.chip:hover { color: var(--oro1); padding-left: 12px; }
.chip.on { color: var(--oro2); padding-left: 14px; background: linear-gradient(90deg, rgba(233,199,102,.08), transparent 70%); box-shadow: inset 2px 0 0 var(--oro2); }
.chip.on small { color: var(--oro3); }

/* Días */
.tira { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tira::-webkit-scrollbar { display: none; }
.dia {
  flex: 0 0 auto; width: 62px; min-height: 84px; border-radius: 999px; cursor: pointer; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: transparent; border: 1px solid var(--linea); color: var(--texto); transition: all .25s;
}
.dia .dn { font-family: var(--ui); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--suave); }
.dia .dnum { font-family: var(--ui); font-weight: 300; font-size: 22px; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.dia .dl { font-family: var(--ui); font-size: 10px; color: var(--tenue); letter-spacing: .02em; }
.dia:hover { border-color: var(--linea-fuerte); }
.dia.on { border-color: var(--oro2); background: linear-gradient(180deg, rgba(233,199,102,.14), rgba(233,199,102,.02)); box-shadow: 0 0 18px rgba(233,199,102,.18); }
.dia.on .dnum, .dia.on .dn { color: var(--oro2); }
.dia.lleno { opacity: .35; cursor: not-allowed; }

/* Horarios */
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.hora { font-family: var(--ui); font-weight: 400; font-size: 14px; letter-spacing: .06em; min-height: 46px; border-radius: 999px; cursor: pointer; transition: all .2s; font-variant-numeric: tabular-nums; }
.hora.libre { background: transparent; border: 1px solid var(--linea-fuerte); color: var(--oro1); }
.hora.libre:hover { border-color: var(--oro2); box-shadow: 0 0 14px rgba(233,199,102,.25); }
.hora.ocupada { background: transparent; border: 1px solid rgba(244,236,216,.07); color: rgba(244,236,216,.42); cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(244,236,216,.25); }
.hora.on { background: linear-gradient(135deg, #C9A030, #E9C766 55%, #FFE58A); border-color: transparent; color: #1a1205; font-weight: 500; box-shadow: 0 6px 20px rgba(233,199,102,.3); }

/* Formularios: línea inferior, sin cajas pesadas */
label { font-family: var(--ui); font-weight: 400; font-size: 11px; letter-spacing: .22em; color: var(--oro3); margin-top: 10px; text-transform: uppercase; }
input, textarea, select {
  width: 100%; min-height: 46px; padding: 8px 2px; border-radius: 0; border: 0; border-bottom: 1px solid var(--linea-fuerte);
  background: transparent; color: var(--texto); font-family: var(--ui); font-weight: 300; font-size: 16px;
}
select { padding-right: 8px; }
select option { background: #120d05; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--tenue); }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--oro2); outline: none; box-shadow: 0 1px 0 0 var(--oro2); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.resumen { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; color: var(--oro1); }
.error { margin: 0; color: var(--mal); min-height: 1em; font-size: 14px; }

/* Botones */
.btn-oro, .btn-linea {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px;
  font-family: var(--ui); font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: box-shadow .3s, transform .3s, background-position .6s, border-color .3s;
}
.btn-oro { border: 0; color: #1a1205; background: linear-gradient(110deg, #B8892A, #E9C766 40%, #FFF0B8 50%, #E9C766 60%, #B8892A); background-size: 220% 100%; background-position: 100% 0; box-shadow: 0 8px 24px rgba(201,160,48,.22); }
.btn-oro:hover { background-position: 0 0; box-shadow: 0 10px 30px rgba(233,199,102,.35); transform: translateY(-1px); color: #1a1205; }
.btn-oro:disabled { opacity: .6; cursor: wait; }
.btn-linea { border: 1px solid var(--linea-fuerte); background: transparent; color: var(--oro2); }
.btn-linea:hover { border-color: var(--oro2); color: var(--oro1); }
.grande { min-height: 54px; margin-top: 14px; width: 100%; }
.alterno { margin-top: 30px; font-size: 14px; color: var(--suave); text-align: center; }

/* Confirmación */
.listo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-top: 20px; padding: 40px 24px;
  animation: aparece .7s cubic-bezier(.2,.7,.2,1) both; }
.listo svg { filter: drop-shadow(0 0 12px rgba(255,229,138,.45)); }
.grande-txt { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; color: var(--oro1); }
.acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px 0 6px; }
@keyframes aparece { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

/* Entrada suave de cada bloque */
.bloque, .tarjeta { animation: aparece .6s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  .oro, .chispas span, .listo, .bloque, .tarjeta, body::before, .firma-wrap::before, .destello { animation: none; }
  .destello { opacity: .8; }
  .chispas span { opacity: .4; }
}

/* Marca larga en una línea ("Mabi Giugni Studio"): halo más alto y suave */
.firma-wrap.larga::before { width: 118%; height: 330%; background: radial-gradient(closest-side, rgba(150,110,205,.26), rgba(150,110,205,.08) 55%, rgba(150,110,205,0)); }
