/* ===== La Golosa BCN — estilos ===== */
:root {
  --crema: #fbf6f1;
  --crema-2: #f4ebe3;
  --rosa: #c9737f;
  --rosa-osc: #a85563;
  --chocolate: #3d2a26;
  --texto: #5a4743;
  --oro: #b8925a;
  --linea: #e6d8cc;
  --wa: #25d366;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--chocolate); font-weight: 600; line-height: 1.15; }
em { font-style: italic; color: var(--rosa); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--chocolate); color: #fff; }
.btn-wa:hover { background: var(--rosa-osc); box-shadow: 0 6px 18px rgba(168,85,99,.25); }
.btn-linea { border: 1px solid var(--chocolate); color: var(--chocolate); }
.btn-linea:hover { background: var(--chocolate); color: #fff; }
.btn-grande { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ---------- Cabecera ---------- */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background:
    radial-gradient(circle at 20% 10%, rgba(201,115,127,.12), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(184,146,90,.12), transparent 40%),
    var(--crema);
}
.hero-logo {
  width: 120px; height: 120px; margin: 0 auto 1.5rem;
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--oro);
  box-shadow: 0 0 0 6px var(--crema), 0 0 0 7px var(--linea);
  display: grid; place-items: center; background: #fff;
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-texto { display: none; font-family: var(--serif); font-size: 2.4rem; color: var(--rosa); }
.hero-logo.sin-foto .logo-texto { display: block; }
.hero-pre { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; color: var(--oro); margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 4.5rem); font-weight: 500; }
.hero-sub { max-width: 30rem; margin: 1rem auto 2rem; font-size: 1.05rem; }
.hero-botones { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Menú ---------- */
.menu {
  position: sticky; top: 0; z-index: 10;
  display: flex; gap: 1.6rem; justify-content: center;
  overflow-x: auto; white-space: nowrap;
  padding: .9rem 1.2rem;
  background: rgba(251,246,241,.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
  scrollbar-width: none;
}
.menu::-webkit-scrollbar { display: none; }
.menu a { text-decoration: none; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texto); }
.menu a:hover { color: var(--rosa); }
@media (max-width: 720px) { .menu { justify-content: flex-start; } }

/* ---------- Secciones ---------- */
.seccion { padding: 4.5rem 1.25rem; max-width: 1180px; margin: 0 auto; }
.seccion-tono { max-width: none; background: var(--crema-2); }
.seccion-tono > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.seccion-cab { text-align: center; max-width: 40rem; margin: 0 auto 1rem; }
.seccion-cab h2 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .8rem; }
.etiqueta { text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: var(--oro); font-weight: 500; margin-bottom: .6rem; }
.nota-tamano {
  text-align: center; font-size: .9rem; margin: 0 auto 2.5rem;
  padding: .5rem 1rem; width: fit-content; max-width: 100%;
  border: 1px dashed var(--linea); border-radius: 999px; background: rgba(255,255,255,.5);
}
.nota-tamano strong { color: var(--rosa-osc); font-weight: 500; }

/* ---------- Fotos (con hueco si falta) ---------- */
.foto { position: relative; aspect-ratio: 4 / 3; background: var(--crema-2); overflow: hidden; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.foto-falta { display: none; }
.foto.sin-foto {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #f1e4da, #f1e4da 12px, #f6ece4 12px, #f6ece4 24px);
}
.foto.sin-foto .foto-falta {
  display: block; font-size: .8rem; color: var(--rosa-osc);
  background: rgba(255,255,255,.85); padding: .35rem .8rem; border-radius: 999px;
}
.foto.sin-foto .foto-falta::before { content: "Foto: img/"; }

/* ---------- Destacada ---------- */
.destacada {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(61,42,38,.08);
}
.destacada .foto { aspect-ratio: auto; min-height: 380px; }
.destacada-texto { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.destacada-texto h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.precios { display: grid; gap: .5rem; }
.precios div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .6rem 0; border-bottom: 1px solid var(--linea);
}
.precios small { display: block; font-size: .8rem; color: #9a8984; }
.precios strong, .precio strong { font-family: var(--serif); font-size: 1.6rem; color: var(--chocolate); font-weight: 600; }
.destacada .btn { align-self: flex-start; margin-top: .5rem; }
@media (max-width: 820px) {
  .destacada { grid-template-columns: 1fr; }
  .destacada .foto { min-height: 0; aspect-ratio: 4 / 3; }
  .destacada-texto { padding: 1.8rem 1.5rem; }
}

/* ---------- Tarjetas ---------- */
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
.tarjeta {
  background: #fff; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(61,42,38,.06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.tarjeta:hover { box-shadow: 0 18px 40px rgba(61,42,38,.12); transform: translateY(-3px); }
.tarjeta:hover .foto img { transform: scale(1.04); }
.tarjeta-cuerpo { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.tarjeta h3 { font-size: 1.6rem; }
.tarjeta .btn { margin-top: auto; }

.capas { list-style: none; display: grid; gap: .3rem; font-size: .95rem; }
.capas li { padding-left: 1.1rem; position: relative; }
.capas li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--rosa); }
.extra { font-size: .9rem; font-style: italic; color: #8a7671; }
.precio { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--linea); padding-top: .5rem; font-size: .9rem; }
.precio + .precio { border-top: none; padding-top: 0; }

details { font-size: .85rem; }
details summary { cursor: pointer; color: var(--rosa-osc); font-weight: 400; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+ "; }
details[open] summary::before { content: "– "; }
details p { margin-top: .4rem; color: #8a7671; }

/* ---------- Cómo pedir ---------- */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.pasos li { text-align: center; background: #fff; border-radius: 18px; padding: 2rem 1.5rem; box-shadow: 0 10px 30px rgba(61,42,38,.05); }
.pasos span {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--crema-2); color: var(--rosa-osc); font-family: var(--serif); font-size: 1.4rem; margin-bottom: .8rem;
}
.pasos h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.aviso { text-align: center; font-size: .9rem; margin-bottom: 2rem; }
.centro { text-align: center; }

/* ---------- Pie ---------- */
.pie { background: var(--chocolate); color: #e8dcd6; text-align: center; padding: 3rem 1.5rem 5rem; font-size: .9rem; }
.pie-marca { font-family: var(--serif); font-size: 2rem; color: #fff; margin-bottom: .3rem; }
.pie-marca em { color: #e8a5ae; }
.pie-enlaces { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.pie-enlaces a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.pie-copy { opacity: .6; font-size: .8rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.wa-flotante:hover { transform: scale(1.07); }
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }
