/* =========================================================
   BEAUTY SPACE CANDYRIM — Tokens
   ========================================================= */
:root {
  --seda: #F6EEE7;        /* fondo principal — ivory cálido */
  --nude: #EFE1D2;        /* superficie / tarjetas */
  --tinta: #3A2A22;       /* texto principal — castaño cálido */
  --oro: #C9A66B;         /* acento dorado champán */
  --oro-suave: #DCC79A;
  --malva: #B98A82;       /* acento rosa malva, uso puntual */
  --terciopelo: #2A1F1C;  /* franja oscura de contraste */
  --terciopelo-texto: #F1E6DC;
  --borde: #DCCFC0;

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

  --radius: 2px;
  --container: 1100px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--seda);
  color: var(--tinta);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--tinta); color: var(--seda); padding: .8rem 1.2rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* =========================================================
   Type helpers
   ========================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--malva);
  margin: 0 0 1rem;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 32rem;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.25;
}
.section-title--left { text-align: left; margin: 0 0 1rem; max-width: none; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 2rem;
  font-size: .85rem;
  letter-spacing: .05em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--gold {
  background: var(--tinta);
  color: var(--seda);
  border-color: var(--tinta);
}
.btn--gold:hover { background: var(--oro); border-color: var(--oro); color: var(--tinta); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--tinta);
  border-color: var(--tinta);
}
.btn--ghost:hover { background: var(--tinta); color: var(--seda); }
.btn--small { padding: .6rem 1.3rem; font-size: .75rem; }
.btn--full { width: 100%; margin-top: .5rem; }
.btn--gold:disabled { opacity: .6; cursor: progress; transform: none; }

/* =========================================================
   Flick — elemento de firma (trazo de eyeliner)
   ========================================================= */
.flick path {
  fill: none;
  stroke: var(--oro);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.flick--hero {
  width: clamp(180px, 30vw, 260px);
  margin: 0 auto 1rem;
  opacity: .9;
}
.flick--small { width: 70px; margin: 0 auto .9rem; opacity: .85; }
.flick--corner {
  position: absolute;
  top: -18px; right: 28px;
  width: 110px;
  opacity: .9;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 238, 231, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--borde);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.nav__brand span { color: var(--oro); font-style: italic; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  font-size: .85rem;
  letter-spacing: .03em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.nav__links a:not(.btn):hover { border-color: var(--oro); color: var(--malva); }
.icon-ig { width: 19px; height: 19px; fill: var(--tinta); transition: fill .2s ease; }
.icon-ig:hover { fill: var(--oro); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem 5rem;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.12;
  margin: 0 0 1.4rem;
}
.hero__title em { color: var(--oro); font-style: italic; }
.hero__subtitle {
  font-size: 1.02rem;
  color: #5a473c;
  max-width: 32rem;
  margin: 0 auto 2.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* =========================================================
   Services
   ========================================================= */
.services {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.services__grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.service-group__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--malva);
  margin: 0 0 1.4rem;
  text-align: center;
}
.service-group__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.service-card {
  background: var(--nude);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color .25s ease, transform .25s ease;
}
.service-card:hover { border-color: var(--oro); transform: translateY(-2px); }
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 .4rem;
}
.service-card .duracion {
  font-size: .78rem;
  letter-spacing: .04em;
  color: #8a7766;
  text-transform: uppercase;
}
.service-card .descripcion {
  font-size: .88rem;
  color: #5a473c;
  line-height: 1.55;
  margin: .8rem 0 0;
}
.service-card .badge {
  font-size: .78rem;
  font-style: italic;
  color: var(--malva);
  margin: .6rem 0 0;
}
.service-card .precio {
  margin-top: .9rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--oro);
  border-top: 1px solid var(--borde);
  padding-top: .7rem;
}

/* =========================================================
   Trust band
   ========================================================= */
.trust {
  background: var(--terciopelo);
  color: var(--terciopelo-texto);
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.trust__item { text-align: center; }
.trust__item .flick path { stroke: var(--oro-suave); }
.trust__item p { font-size: .95rem; max-width: 18rem; margin: 0 auto; color: #e7dccf; }

/* =========================================================
   Booking
   ========================================================= */
.booking {
  max-width: 42rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.booking__card {
  position: relative;
  background: var(--nude);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3rem);
}
.booking__hint { font-size: .92rem; color: #5a473c; margin: 0 0 2rem; }

.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: #6b584a; }
input, select, textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .75rem .85rem;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: var(--seda);
  color: var(--tinta);
}
input:focus, select:focus, textarea:focus { border-color: var(--oro); }
textarea { resize: vertical; }

.form-status {
  margin-top: 1rem;
  font-size: .9rem;
  min-height: 1.2em;
}
.form-status[data-state="ok"] { color: #4f7a52; }
.form-status[data-state="error"] { color: #a8453a; }

.hora-hint {
  margin: 0;
  font-size: .8rem;
  color: #8a7766;
}
.hora-hint[data-state="error"] { color: #a8453a; }
select:disabled { opacity: .65; cursor: not-allowed; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--terciopelo);
  color: var(--terciopelo-texto);
  padding: 3.5rem 1.5rem 2.5rem;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 1.4rem;
}
.footer__brand span { color: var(--oro); font-style: italic; }
.footer__contact {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  font-size: .88rem;
  margin-bottom: .9rem;
}
.footer__contact a:hover { color: var(--oro); }
.footer__horario {
  font-size: .82rem;
  color: #c9bbae;
  margin-bottom: 1.6rem;
}
.footer__horario div { margin-bottom: .15rem; }
.footer__legal { font-size: .72rem; color: #8a7766; margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 640px) {
  .nav__links { gap: 1rem; }
  .nav__links a:not(.btn) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .flick--corner { right: 10px; width: 80px; }
}

/* =========================================================
   SPLASH SCREEN v2 — editorial / asimétrico / Maxymova-inspired
   ========================================================= */

/* Verde salvia — solo para la splash, sutil */
:root {
  --salvia: #6B8C7A;        /* verde confianza, suave */
  --salvia-claro: #8FAF9B;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--terciopelo);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Mitad izquierda: texto ── */
.splash__left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  z-index: 2;
  animation: slideInLeft .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.splash__eyebrow {
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--salvia-claro);
  margin: 0 0 2rem;
  font-weight: 400;
}

/* Burbujas flotantes */
.splash__bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  animation: bubbleFloat linear infinite;
}
/* Oro translúcido */
.bubble--1 {
  width: 320px; height: 320px;
  top: -80px; left: -60px;
  background: radial-gradient(circle at 35% 35%, rgba(201,166,107,.13), rgba(201,166,107,.03));
  border: 1px solid rgba(201,166,107,.12);
  animation-duration: 11s; animation-delay: 0s;
}
.bubble--2 {
  width: 200px; height: 200px;
  bottom: 5%; right: 30%;
  background: radial-gradient(circle at 40% 40%, rgba(201,166,107,.10), transparent);
  border: 1px solid rgba(201,166,107,.09);
  animation-duration: 14s; animation-delay: -3s;
}
.bubble--3 {
  width: 90px; height: 90px;
  top: 20%; left: 38%;
  background: radial-gradient(circle at 40% 40%, rgba(201,166,107,.08), transparent);
  border: 1px solid rgba(201,166,107,.14);
  animation-duration: 9s; animation-delay: -5s;
}
/* Verde salvia translúcido */
.bubble--4 {
  width: 260px; height: 260px;
  bottom: -60px; left: 18%;
  background: radial-gradient(circle at 35% 35%, rgba(107,140,122,.10), transparent);
  border: 1px solid rgba(107,140,122,.11);
  animation-duration: 13s; animation-delay: -1s;
}
.bubble--5 {
  width: 140px; height: 140px;
  top: 10%; right: 8%;
  background: radial-gradient(circle at 40% 40%, rgba(107,140,122,.08), transparent);
  border: 1px solid rgba(107,140,122,.10);
  animation-duration: 10s; animation-delay: -7s;
}
.bubble--6 {
  width: 55px; height: 55px;
  top: 60%; left: 55%;
  background: transparent;
  border: 1px solid rgba(201,166,107,.18);
  animation-duration: 8s; animation-delay: -4s;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-18px) scale(1.03); }
  66%       { transform: translateY(-8px) scale(.97); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
}

/* Línea horizontal que atraviesa TODA la pantalla */
.splash__hline {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--oro) 15%, rgba(107,140,122,.4) 85%, transparent 100%);
  opacity: .25;
  pointer-events: none;
  z-index: 1;
}

.splash__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--terciopelo-texto);
  opacity: .6;
  margin: 0 0 3rem;
  line-height: 1.5;
}
.splash__tagline em {
  font-style: normal;
  color: var(--salvia-claro);
  opacity: 1;
}

.splash__btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: transparent;
  color: var(--terciopelo-texto);
  border: 1px solid var(--salvia);
  border-radius: 2px;
  padding: 1.1rem 2.4rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background .35s ease, border-color .35s ease, color .35s ease, transform .25s ease;
  margin-bottom: 3rem;
}
.splash__btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.splash__btn:hover {
  background: var(--salvia);
  border-color: var(--salvia);
  color: #fff;
  transform: translateY(-2px);
}
.splash__btn:hover svg { transform: translateX(5px); }

.splash__sub {
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--oro-suave);
  opacity: .4;
  margin: 0;
  text-transform: uppercase;
}

/* ── Mitad derecha: nombre gigante + decoración ── */
.splash__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeIn 1.1s ease both .15s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Imagen de fondo — pestañas con difuminado */
.splash__right::after {
  content: none;
}

/* Degradado que funde la imagen hacia la izquierda, arriba y abajo */
.splash__right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 45%, rgba(107,140,122,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(201,166,107,.08) 0%, transparent 60%);
  z-index: 1;
}

/* Nombre Candyrim a pantalla completa */
.splash__name-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}
.splash__title-beauty {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(.85rem, 2.5vw, 1.2rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--terciopelo-texto);
  opacity: .45;
  margin-bottom: .5rem;
}
.splash__title-name {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4rem, 11vw, 8.5rem);
  color: var(--oro);
  letter-spacing: -.02em;
  line-height: .9;
  animation: scaleIn 1s cubic-bezier(.22,1,.36,1) both .2s;
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Detalle decorativo: arco dorado a la derecha */
.splash__arc {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(201,166,107,.18);
  pointer-events: none;
}
.splash__arc--2 {
  right: -180px;
  width: 500px;
  height: 500px;
  border-color: rgba(107,140,122,.1);
}

/* Punto de color salvia — pequeño detalle de confianza */
.splash__dot {
  position: absolute;
  bottom: 15%;
  left: 15%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--salvia);
  opacity: .6;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.6); opacity: .25; }
}

/* ── Mobile: apilado vertical ── */
@media (max-width: 640px) {
  .splash { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }

  .splash__left {
    align-items: center;
    text-align: center;
    padding: 3rem 1.8rem 1.5rem;
    order: 2;
  }
  .splash__btn { align-self: center; }

  .splash__right {
    order: 1;
    min-height: 40vh;
    padding: 2rem 0 0;
  }
  .splash__title-name { font-size: clamp(3.5rem, 18vw, 5rem); }
  .splash__arc { right: -160px; }
  .splash__arc--2 { right: -220px; }
  .splash__hline { top: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  .splash__left { animation: none; }
  .splash__right { animation: none; }
  .splash__title-name { animation: none; }
  .splash__dot { animation: none; }
  .splash { transition: none; }
}

/* =========================================================
   HERO VISUAL — imagen difuminada entre hero y servicios
   ========================================================= */
.hero-visual {
  position: relative;
  width: 100%;
  height: clamp(380px, 55vw, 680px);
  overflow: hidden;
  margin-bottom: -2px;
}
.hero-visual__img {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-beauty.jpg');
  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(.85) brightness(.96);
}
.hero-visual__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--seda) 0%, transparent 18%, transparent 70%, var(--seda) 100%),
    linear-gradient(to right, var(--seda) 0%, transparent 15%, transparent 85%, var(--seda) 100%);
}

@media (max-width: 640px) {
  .hero-visual { height: 220px; }
}
