/* Todas Bellas — propuesta de diseño. Mobile first. */
:root {
  --bg: #FFF8F5;
  --bg-2: #F6E4E2;          /* rosa nude suave para secciones alternas */
  --card: #FFFFFF;
  --nude: #E8B4B8;          /* decorativo / fondos */
  --berry: #7A1F3D;         /* titulares y botones (9,6:1 sobre fondo) */
  --berry-2: #5E142D;
  --gold: #B8893B;          /* solo decorativo (no llega a AA como texto) */
  --gold-text: #8A6424;     /* dorado oscurecido para texto pequeño (5,1:1) */
  --text: #33201F;
  --muted: #6E4F4D;         /* 6,9:1 sobre fondo, 5,9:1 sobre rosa */
  --line: #EED6D3;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* espacio para la barra móvil */
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--berry); text-decoration: none; }
a:hover { color: var(--berry-2); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; color: var(--berry); }
h2 { font-size: clamp(2rem, 7vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-top: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--berry); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.ico { width: 20px; height: 20px; flex: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 500 1rem/1 var(--sans); letter-spacing: .02em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--primary { background: var(--berry); color: #fff; }
.btn--primary:hover { background: var(--berry-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(122,31,61,.55); }
.btn--ghost { border-color: var(--berry); color: var(--berry); background: transparent; }
.btn--ghost:hover { background: var(--berry); color: #fff; transform: translateY(-2px); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }

/* Cabecera */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255,248,245,.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.header.scrolled { border-color: var(--line); background: rgba(255,248,245,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--berry); }
.logo:hover { color: var(--berry); }
.logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--berry); font: italic 500 1rem var(--serif);
  background: var(--card);
}
.logo__text { font: 600 1.3rem var(--serif); margin: 0; color: var(--berry); }
.logo__text em { font-weight: 500; }

.menu-btn {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.menu-btn span { width: 24px; height: 2px; background: var(--berry); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px 28px; background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(122,31,61,.25);
  transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s;
}
.nav.open { transform: none; opacity: 1; visibility: visible; }
.nav a:not(.btn) { color: var(--text); padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.nav a:not(.btn):hover { color: var(--berry); }
.nav .btn { margin-top: 16px; }

/* Portada */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 36px) 0 64px;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(232,180,184,.45), transparent 65%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232,180,184,.3), transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__content { position: relative; z-index: 1; }
.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--berry); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.hero__title { font-size: clamp(2.7rem, 12vw, 5.2rem); font-weight: 500; margin-bottom: 20px; letter-spacing: -.01em; }
.hero__title em { font-style: italic; color: var(--text); }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 40ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; }
.hero__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; color: var(--muted); font-size: .95rem; }
.hero__rating strong { color: var(--text); }
.stars { display: flex; gap: 2px; color: var(--gold); margin: 0; }
.stars svg { width: 16px; height: 16px; }
.hero__art { max-width: 320px; width: 100%; margin: 0 auto; }
.hero__svg { width: 100%; height: auto; }

/* Secciones */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-2); }
.section__head { text-align: center; margin-bottom: 44px; }
.section__sub { color: var(--muted); max-width: 54ch; margin: 0 auto; }
.section--alt .section__sub, .section--alt .about__text > p { color: var(--muted); }

/* Servicios */
.cards { display: grid; gap: 16px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover { border-color: var(--nude); transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(122,31,61,.35); }
.card__ico {
  width: 52px; height: 52px; padding: 12px; color: var(--berry); margin-bottom: 18px;
  background: var(--bg-2); border-radius: 50%; box-shadow: inset 0 0 0 1px var(--nude);
}
.card p { color: var(--muted); margin: 0; }
.card--accent { background: var(--berry); border-color: var(--berry); }
.card--accent h3, .card--accent p { color: #fff; }
.card--accent .card__ico { background: rgba(255,255,255,.12); color: #F3D9A8; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.card__link { display: inline-block; margin-top: 14px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.card__link:hover { color: #fff; }
.note { text-align: center; color: var(--muted); margin: 20px 0 0; font-size: .95rem; }

/* Nosotras + valoración */
.about { display: grid; gap: 44px; align-items: center; }
.about__text > p { color: var(--muted); font-size: 1.05rem; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks .ico { width: 24px; height: 24px; color: var(--berry); margin-top: 2px; }
.perks strong { display: block; color: var(--text); }
.perks span { color: var(--muted); font-size: .95rem; }

.rating {
  background: var(--card); border-radius: 200px 200px var(--radius) var(--radius);
  padding: 48px 28px 36px; text-align: center; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(122,31,61,.45);
}
.rating__deco { width: 120px; margin: 0 auto 8px; }
.rating__score { font: 500 4.5rem/1 var(--serif); color: var(--berry); margin: 0 0 10px; }
.rating__score small { font-size: 1.4rem; color: var(--muted); margin-left: 4px; }
.stars--lg { justify-content: center; margin-bottom: 10px; }
.stars--lg svg { width: 22px; height: 22px; }
.rating__src { font-weight: 700; color: var(--text); margin-bottom: 18px; }
.rating__text { color: var(--muted); margin: 0 auto; max-width: 36ch; padding-top: 18px; border-top: 1px solid var(--line); }

/* Horario */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin: 6px 0 0; min-height: 1.5em; padding: 4px 14px; border-radius: 999px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status:empty { padding: 0; }
.status:empty::before { display: none; }
.status.is-open { color: #2F6B3F; background: #E5F2E8; }
.status.is-closed { color: var(--berry); background: var(--bg-2); }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; }
.hours td { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--berry); font-style: italic; }
.hours tr.today th, .hours tr.today td { background: var(--bg-2); color: var(--berry); font-weight: 700; }
.hours tr.today th::after { content: "Hoy"; margin-left: 10px; font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--berry); color: #fff; vertical-align: 2px; }

/* Reservas */
.booking {
  text-align: center; padding: 44px 24px; border-radius: var(--radius);
  border: 1.5px dashed var(--nude); background: var(--card);
}
.booking__ico { width: 52px; height: 52px; color: var(--berry); margin: 0 auto 16px; }
.booking__title { font: 500 1.45rem var(--serif); color: var(--berry); margin-bottom: 8px; }
.booking__text { color: var(--muted); max-width: 44ch; margin: 0 auto 24px; }
.booking__actions { display: flex; flex-direction: column; gap: 12px; }

/* Mapa */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contacto */
.contact { display: grid; gap: 14px; }
.contact__item {
  display: flex; align-items: center; gap: 16px; padding: 20px; color: var(--text); min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.contact__item > span { min-width: 0; overflow-wrap: anywhere; }
.contact__item:hover { color: var(--text); border-color: var(--berry); transform: translateY(-3px); }
.contact__item .ico { width: 28px; height: 28px; color: var(--berry); }
.contact__item strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* Pie */
.footer { padding: 44px 0; text-align: center; color: var(--muted); font-size: .9rem; background: var(--bg); border-top: 1px solid var(--line); }
.footer__inner p { margin: 0 0 6px; }
.footer .logo__text { font-size: 1.5rem; margin-bottom: 8px; }
.footer__demo {
  display: inline-block; margin-top: 10px !important; padding: 4px 14px; border-radius: 999px;
  border: 1px solid var(--nude); font-size: .8rem; letter-spacing: .08em; color: var(--berry);
}

/* Barra fija móvil */
.mobile-cta {
  position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,248,245,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border-radius: 999px; font-weight: 700; color: var(--berry); border: 1.5px solid var(--berry);
}
.mobile-cta__btn--primary { background: var(--berry); color: #fff; }
.mobile-cta__btn--primary:hover { color: #fff; }

/* Animaciones al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Tablet */
@media (min-width: 600px) {
  .hero__actions, .booking__actions { flex-direction: row; justify-content: center; }
  .hero__actions { justify-content: flex-start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: repeat(3, 1fr); }
  .contact__item { flex-direction: column; text-align: center; }
  .map { aspect-ratio: 16 / 9; }
}

/* Escritorio */
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .menu-btn { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0;
    background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible;
  }
  .nav a:not(.btn) { border: 0; padding: 0; font-size: .95rem; }
  .nav .btn { margin: 0; }
  .hero { padding: calc(var(--header-h) + 56px) 0 96px; min-height: min(92vh, 820px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 48px; }
  .hero__art { max-width: 440px; }
  .section { padding: 112px 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: 1.2fr 1fr; gap: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
