:root {
  --coral: #ec7f7a;
  --coral-dark: #d9605b;
  --salmon: #f4a59e;
  --blush: #fbe4e1;
  --blush-2: #fdf1ef;
  --cream: #fffaf9;
  --ink: #1f1a1a;
  --muted: #7a6b6a;
  --line: #f0d6d2;
  --ok: #3f9a6b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(217, 96, 91, .12);
  --script: 'Great Vibes', cursive;
  --sans: 'Jost', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-dark); }
button, input, select, textarea { font: inherit; color: inherit; }

/* Fondo de acuarela */
.splash-bg { position: relative; overflow: hidden; overflow: clip; }
.splash-bg::before, .splash-bg::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none; filter: blur(2px);
  border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%;
}
.splash-bg::before { width: 520px; height: 360px; top: -120px; left: -160px; background: radial-gradient(circle at 40% 40%, rgba(244,165,158,.55), rgba(244,165,158,0) 70%); }
.splash-bg::after { width: 560px; height: 420px; bottom: -200px; right: -180px; background: radial-gradient(circle at 60% 50%, rgba(236,127,122,.35), rgba(236,127,122,0) 70%); }
.splash-bg > * { position: relative; z-index: 1; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,250,249,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { font-family: var(--script); font-size: 2rem; color: var(--ink); text-decoration: none; line-height: 1; }
.brand small { font-family: var(--sans); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--coral-dark); margin-left: 6px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav-links a:hover { color: var(--coral-dark); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; text-decoration: none;
  background: var(--coral); color: #fff; font-weight: 500; letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(236,127,122,.35); transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--coral-dark); border: 1.5px solid var(--coral); box-shadow: none; }
.btn.ghost:hover { background: var(--blush); }
.btn.sm { padding: 7px 14px; font-size: .88rem; }
.btn.danger { background: #c94b4b; box-shadow: none; }
.btn.light { background: #fff; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }

/* Hero */
.hero { padding: 48px 0 56px; text-align: center; }
.hero-logo { width: min(560px, 100%); margin: 0 auto; mix-blend-mode: multiply; }
.hero p.lead { max-width: 560px; margin: 18px auto 26px; color: var(--muted); font-size: 1.08rem; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 { font-family: var(--script); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 0; line-height: 1.1; }
.section-title p { margin: 4px 0 0; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }

/* Tarjetas */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.services-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.service {
  padding: 20px; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s, background .15s;
  display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
}
.service:hover { transform: translateY(-2px); border-color: var(--salmon); }
.service.selected { border-color: var(--coral); background: var(--blush-2); }
.service h3 { margin: 0; font-size: 1.08rem; font-weight: 500; }
.service p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.service .meta { display: flex; justify-content: space-between; font-size: .92rem; margin-top: 6px; }
.service .price { color: var(--coral-dark); font-weight: 600; }

/* Reserva: pasos */
.booking { padding: 28px; scroll-margin-top: 80px; }
@media (max-width: 640px) { .booking { padding: 18px; } }
.steps { display: flex; gap: 6px; margin-bottom: 24px; }
.steps span { flex: 1; height: 5px; border-radius: 5px; background: var(--blush); }
.steps span.on { background: var(--coral); }
.step h3 { margin: 0 0 4px; font-weight: 500; font-size: 1.25rem; }
.step .hint { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.step-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* Calendario */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 760px) { .cal-wrap { grid-template-columns: minmax(0, 1fr); } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-weight: 500; font-size: 1.05rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; }
.icon-btn:hover { background: var(--blush); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal .dow { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 4px 0; }
.cal button {
  aspect-ratio: 1; border-radius: 12px; border: 0; background: transparent; cursor: default; color: #c8b9b7; font-size: .95rem; position: relative;
}
.cal button.avail { color: var(--ink); background: var(--blush-2); cursor: pointer; font-weight: 500; }
.cal button.avail::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--coral); }
.cal button.avail:hover { background: var(--blush); }
.cal button.sel { background: var(--coral) !important; color: #fff; }
.cal button.sel::after { background: #fff; }
.cal button.today { outline: 1.5px dashed var(--salmon); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; align-content: start; }
.slot {
  padding: 12px 8px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: center; font-weight: 500;
}
.slot small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.slot:hover { border-color: var(--salmon); }
.slot.sel { background: var(--coral); border-color: var(--coral); color: #fff; }
.slot.sel small { color: #ffe9e7; }
.empty { color: var(--muted); padding: 22px; text-align: center; border: 1.5px dashed var(--line); border-radius: 14px; }

/* Formularios */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; color: var(--muted); }
.input, input[type=text], input[type=tel], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(236,127,122,.15); }
textarea { resize: vertical; min-height: 80px; }

.summary { background: var(--blush-2); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; display: grid; gap: 4px; }
.summary b { font-weight: 500; }
.notice { font-size: .9rem; color: var(--muted); margin-top: 12px; }
.error { color: #b93e3e; margin-top: 10px; font-size: .95rem; }

.success { text-align: center; padding: 18px 0; }
.success .big { font-family: var(--script); font-size: 3rem; line-height: 1; color: var(--coral-dark); }

/* Instagram / galería */
.gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.ig-embeds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.ig-embeds .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.ig-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.ig-handle { font-size: 1.1rem; }
.ig-placeholder { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.ig-placeholder div {
  aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-family: var(--script); font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--salmon), var(--coral));
}
.ig-placeholder div:nth-child(2n) { background: linear-gradient(135deg, var(--blush), var(--salmon)); color: var(--coral-dark); }

footer { padding: 36px 0 48px; text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); background: #fff; }
footer .brand { display: block; margin-bottom: 6px; }

.hidden { display: none !important; }
.fade-in { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 999px; z-index: 100; font-size: .95rem; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100% - 32px);
}

/* Consentimiento RGPD */
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink); cursor: pointer; background: var(--blush-2); padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); }
.consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--coral); }
.consent.invalid { border-color: #c94b4b; }
.legal-mini { font-size: .78rem; color: var(--muted); margin: 10px 0 0; line-height: 1.45; }
.legal { max-width: 760px; }
.legal h1 { font-family: var(--script); font-weight: 400; font-size: 3rem; margin: 0 0 8px; }
.legal h2 { font-weight: 500; font-size: 1.1rem; margin: 26px 0 6px; }
.legal p, .legal li { color: #3d3434; }
