:root {
  --papel: #EFE6D2;
  --tinta: #2A2118;
  --granate: #8A2B22;
  --mostaza: #C9A24B;
  --mostaza-clara: #D9B865;
  --crema: #F7F1E3;
  --oscuro: #2B2622;
  --linea: rgba(42, 33, 24, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--tinta);
  font-family: 'Lora', Georgia, serif;
  background-color: var(--papel);
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(184, 145, 58, .10), transparent 40%),
    radial-gradient(ellipse at 88% 30%, rgba(120, 80, 30, .08), transparent 45%),
    radial-gradient(ellipse at 30% 75%, rgba(184, 145, 58, .09), transparent 40%),
    radial-gradient(ellipse at 80% 95%, rgba(120, 80, 30, .07), transparent 40%);
}

h1, h2, h3 { font-family: 'IM Fell English', Georgia, serif; font-weight: 400; margin: 0; }
p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--granate); }
a:hover { color: #5E1C16; }
a:focus-visible { outline: 3px solid var(--granate); outline-offset: 4px; }

.contenedor { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0; }

/* Franja superior */
.franja {
  background: var(--tinta);
  color: var(--papel);
  font-size: 14px;
  padding: 9px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
}
.franja a { color: var(--papel); text-decoration: none; }

/* Cabecera */
.cabecera { text-align: center; padding: 34px 20px 10px; }
.marca { display: inline-flex; flex-direction: column; align-items: center; color: var(--tinta); text-decoration: none; line-height: 1; }
.marca:hover { color: var(--tinta); }
.marca-tipo { font-family: 'IM Fell English', serif; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.marca-nicolas { font-family: 'IM Fell English', serif; font-style: italic; font-size: 30px; margin-top: 12px; }
.marca-jorge { font-family: 'Rye', serif; font-size: 68px; letter-spacing: .04em; margin-top: 4px; }
.menu {
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 2px solid var(--tinta);
  width: min(680px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 24px;
  font-size: 17px;
}
.menu a { color: var(--tinta); text-decoration: none; padding: 8px 0; }
.menu a:hover { color: var(--granate); text-decoration: underline; }
.menu-ig { display: inline-flex; color: var(--granate) !important; }

/* Elementos comunes */
.etiqueta { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--granate); margin-bottom: 16px; }
.etiqueta-mostaza { color: var(--mostaza-clara); }
h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 44px; line-height: 1.1; margin-bottom: 22px; }
h3 { font-size: 25px; line-height: 1.2; }
.texto { font-size: 19px; line-height: 1.7; margin-bottom: 16px; }

.foto { filter: drop-shadow(0 10px 18px rgba(42, 33, 24, .28)); }
.marco-crema { border: 10px solid var(--crema); }
.girada-d { transform: rotate(1.6deg); }
.girada-i { transform: rotate(-1.6deg); }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 22px;
  border: 2px solid var(--tinta);
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--tinta);
  text-decoration: none;
  text-align: center;
}
.boton:hover { background: #E3D6B8; color: var(--tinta); }
.boton-oscuro { background: var(--tinta); color: var(--papel); }
.boton-oscuro:hover { background: #4A3A2A; color: var(--papel); }
.icono-wa { width: 20px; height: 20px; flex-shrink: 0; }

/* Portada */
.portada { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-top: 40px; }
.entrada { font-size: 20px; line-height: 1.6; margin: 22px 0 28px; max-width: 520px; }
.botones { display: flex; flex-wrap: wrap; gap: 14px; }
.portada-foto { position: relative; }
.sello { position: absolute; width: 140px; height: 140px; left: -28px; bottom: -40px; transform: rotate(-14deg); }

/* Cordel */
.cordel {
  width: min(1160px, calc(100% - 40px));
  height: 10px;
  margin: 0 auto;
  border-radius: 5px;
  background: repeating-linear-gradient(115deg, var(--granate) 0 9px, #F4ECDC 9px 18px);
  box-shadow: 0 1px 0 rgba(42, 33, 24, .25);
}

/* Dos columnas */
.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* La casa */
.capitular::first-letter { float: left; font-family: 'Rye', serif; font-size: 60px; line-height: .85; color: var(--granate); margin: 6px 10px 0 0; }
.recorte { position: relative; text-align: center; max-width: 480px; justify-self: center; }
.celo { position: absolute; z-index: 2; top: -14px; left: 50%; width: 120px; height: 30px; background: rgba(230, 214, 170, .85); transform: translateX(-50%) rotate(-3deg); }
figcaption { font-family: 'IM Fell English', serif; font-style: italic; font-size: 19px; margin-top: 16px; text-align: center; }
.enlace-reportaje { display: inline-block; margin-top: 8px; font-size: 15px; }

/* Productos */
.productos { background: var(--oscuro); color: #F4ECDC; }
.tablilla { border: 2px solid rgba(244, 236, 220, .35); padding: 26px 26px 6px; }
.producto { margin-bottom: 22px; }
.producto-linea { display: flex; align-items: baseline; gap: 10px; }
.producto p { font-size: 17px; opacity: .85; margin-top: 6px; }
.puntos { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(244, 236, 220, .45); }
.destacado h3 { color: var(--mostaza-clara); font-size: 28px; }
.nota { font-size: 15px; font-style: italic; white-space: nowrap; }
.centrada { max-width: 520px; justify-self: center; }
.productos figcaption { color: #F4ECDC; }

/* Así se hace */
.titulo-centrado { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: start; }
.pasos img { margin: 0 auto 20px; height: 250px; width: auto; max-width: 100%; object-fit: contain; }
.pasos h3 { color: var(--granate); margin-bottom: 8px; }
.pasos p { font-size: 17px; line-height: 1.6; }
.ingredientes {
  max-width: 560px;
  margin: 52px auto 0;
  background: #FBF8F0;
  border: 2px solid var(--tinta);
  padding: 22px 26px;
  text-align: center;
}
.ingredientes span { display: inline-block; background: var(--tinta); color: #F4ECDC; border-radius: 20px; padding: 6px 22px; font-size: 16px; font-weight: 600; letter-spacing: .06em; margin-bottom: 12px; }
.ingredientes p { font-size: 17px; line-height: 1.6; }

/* Encargos */
.encargos { background: var(--mostaza); }
.encargos-rejilla { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; max-width: 980px; padding: 60px 0; }
.encargos h2 { font-size: 40px; }

/* Dónde estamos */
.dato { border-top: 2px solid var(--tinta); padding: 14px 0; display: flex; flex-direction: column; gap: 4px; font-size: 18px; }
.dato strong { font-family: 'IM Fell English', serif; font-size: 22px; font-weight: 400; }
.suave { opacity: .8; }
.mapa { height: 400px; filter: drop-shadow(0 8px 18px rgba(42, 33, 24, .2)); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.boton-llegar { margin-top: 20px; }

/* Pie */
.pie { background: var(--tinta); color: var(--papel); text-align: center; padding: 46px 20px 100px; }
.pie-jorge { font-family: 'Rye', serif; font-size: 34px; }
.pie p { font-size: 16px; line-height: 1.7; max-width: 860px; margin: 12px auto 6px; }
.pie small { font-size: 14px; opacity: .75; }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.wa-flotante:hover { background: #1EB257; color: #fff; }
.wa-flotante svg { width: 32px; height: 32px; }

/* Móvil */
@media (max-width: 860px) {
  .contenedor { padding: 56px 0; }
  .portada, .dos-columnas, .encargos-rejilla { grid-template-columns: 1fr; gap: 40px; }
  .portada { padding-top: 28px; }
  .pasos { grid-template-columns: 1fr; gap: 40px; }
  .pasos img { height: auto; width: 100%; }
  h1 { font-size: 40px; }
  h2 { font-size: 34px; }
  .encargos h2 { font-size: 32px; }
  .marca-jorge { font-size: 54px; }
  .marca-tipo { font-size: 14px; }
  .menu { font-size: 16px; gap: 0 18px; }
  .menu a { padding: 12px 0; }
  .entrada, .texto { font-size: 18px; }
  .botones { flex-direction: column; }
  .boton { width: 100%; }
  .sello { width: 110px; height: 110px; left: -8px; bottom: -36px; }
  .encargos-foto { order: 2; width: min(300px, 90%); justify-self: center; }
  .encargos-rejilla { padding: 50px 0; }
  .nota { white-space: normal; }
  .producto-linea { flex-wrap: wrap; }
  .tablilla { padding: 22px 18px 4px; }
  .mapa { height: 320px; }
  .wa-flotante { right: 16px; bottom: 16px; }
}
