:root {
  --cream: #faf5ea;
  --paper: #fffcf5;
  --ink: #211d1a;
  --ink-soft: #4d453e;
  --wood: #8a5a2b;
  --honey: #d19a45;
  --honey-pale: #fbefd6;
  --teal: #5e9c95;
  --teal-dark: #2f6761;
  --sage: #7e9f6b;
  --sky: #dce7f0;
  --sky-pale: #eaf0f5;
  --rose: #b45a68;
  --line: rgba(33, 29, 26, 0.16);
  --shadow: 0 18px 38px -22px rgba(60, 35, 10, 0.5);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Aviso de propuesta (quitar en la web oficial) ---------- */
.aviso { padding: .55rem 20px; background: var(--honey); color: var(--ink); text-align: center; font-size: .88rem; line-height: 1.4; }

/* ---------- Telas decorativas ---------- */
.gingham {
  --g: 14px;
  background-color: #fffdf6;
  background-image:
    repeating-linear-gradient(90deg, rgba(126, 159, 107, .5) 0 var(--g), transparent var(--g) calc(var(--g) * 2)),
    repeating-linear-gradient(0deg, rgba(126, 159, 107, .5) 0 var(--g), transparent var(--g) calc(var(--g) * 2));
}
.mantel { height: 14px; }
.rayas { height: 22px; background: repeating-linear-gradient(90deg, #fff 0 48px, var(--sky) 48px 96px); }
.toldo { height: 16px; background: repeating-linear-gradient(90deg, #211d1a 0 10px, #35302b 10px 20px); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 245, 234, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.marca { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.marca-oval { border: 2px solid var(--ink); border-radius: 50%; padding: .1rem .95rem; background: var(--paper); font: 800 1.45rem/1.15 var(--serif); letter-spacing: .02em; }
.marca-texto { display: none; font: 700 .7rem/1.25 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--ink-soft); }

.nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-toggle-barras, .nav-toggle-barras::before, .nav-toggle-barras::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; }
.nav-toggle-barras::before { position: absolute; top: -6px; }
.nav-toggle-barras::after { position: absolute; top: 6px; }

.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cream); border-bottom: 1px solid var(--line); padding: .6rem 20px 1.1rem; }
.nav.abierto { display: flex; }
.nav a { padding: .7rem 0; font-weight: 700; text-decoration: none; border-bottom: 1px dotted var(--line); }
.nav a:hover { color: var(--teal-dark); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn-primario { background: var(--ink); color: var(--cream); }
.btn-primario:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-borde { background: transparent; color: var(--ink); }
.btn-borde:hover { background: var(--ink); color: var(--cream); }
.btn-claro { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-claro:hover { background: var(--cream); color: var(--ink); }

/* ---------- Textos de sección ---------- */
.eyebrow { font: 700 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.01em; }
.seccion { padding-block: clamp(3.5rem, 8vw, 6rem); }
.seccion-cab { max-width: 40rem; margin-bottom: 2.2rem; }
.seccion-cab h2 { margin-top: .5rem; }
.seccion-cab p { margin-top: .9rem; color: var(--ink-soft); }

/* ---------- Portada ---------- */
.hero { padding-block: clamp(2.2rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { margin-top: .9rem; font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; letter-spacing: -.015em; }
.hero h1 em { font-weight: 500; color: var(--teal-dark); }
.lead { margin-top: 1.3rem; max-width: 34rem; font-size: 1.2rem; color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.estado { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .95rem; font-weight: 500; }
.estado::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-soft); }
.estado.abierto::before { background: #3f9a54; box-shadow: 0 0 0 4px rgba(63, 154, 84, .2); }
.estado.cerrado::before { background: var(--rose); box-shadow: 0 0 0 4px rgba(180, 90, 104, .18); }

.datos { display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.datos li { display: flex; flex-direction: column; }
.datos strong { font: 800 1.6rem/1.1 var(--serif); }
.datos span { font-size: .88rem; color: var(--ink-soft); }

.hero-foto { position: relative; width: min(100%, 420px); justify-self: center; margin-bottom: 2.5rem; }
.arco { aspect-ratio: 4 / 5; overflow: hidden; border: 3px solid var(--ink); border-radius: 999px 999px 24px 24px; box-shadow: 12px 12px 0 var(--sky); background: var(--sky); }
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.polaroid { position: absolute; left: -4%; bottom: -9%; width: 46%; padding: .45rem .45rem .5rem; background: var(--paper); box-shadow: var(--shadow); transform: rotate(-5deg); }
.polaroid img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.polaroid figcaption { margin-top: .25rem; text-align: center; font: 600 1.15rem/1.1 var(--hand); }
.sello { position: absolute; right: -2%; top: 6%; display: grid; place-content: center; width: 104px; height: 104px; border: 2px dashed var(--ink); border-radius: 50%; background: var(--honey); text-align: center; transform: rotate(10deg); }
.sello b { font: 800 2rem/1 var(--serif); }
.sello span { font: 700 .62rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }

.cinta { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.6rem; padding: 1rem 20px; background: var(--ink); color: var(--cream); font: italic 500 1.2rem/1.3 var(--serif); }
.cinta span + span::before { content: "✦"; margin-right: 1.6rem; color: var(--honey); font-style: normal; }

/* ---------- Tarjetas de momentos ---------- */
.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.card-cuerpo { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.2rem 1.35rem 1.45rem; }
.card h3 { font-size: 1.4rem; font-weight: 800; }
.card p { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.card-link { margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--teal-dark); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
}

/* ---------- El lugar ---------- */
.lugar { background: var(--sky-pale); }
.lugar-grid { display: grid; gap: 2.6rem; align-items: center; }
.lugar-texto p { margin-top: 1rem; max-width: 34rem; color: var(--ink-soft); }
.rasgos { display: grid; gap: 1rem 1.4rem; margin-top: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.rasgos li { padding-left: .9rem; border-left: 3px solid var(--honey); }
.rasgos b { display: block; font-family: var(--serif); font-size: 1.1rem; }
.rasgos span { font-size: .93rem; line-height: 1.5; color: var(--ink-soft); }

.collage { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.collage .c1 { grid-row: span 2; }
.collage .c1 img { object-position: 50% 40%; }
.collage .c2, .collage .c3 { aspect-ratio: 1; }
.collage .c2 img { object-position: 50% 55%; }

/* ---------- La carta ---------- */
.carta-marco { padding: clamp(1rem, 3vw, 2rem); border: 3px double var(--ink); border-radius: 6px; background: var(--paper); }
.tabs { display: flex; gap: .5rem; margin-bottom: 1.6rem; padding-bottom: .5rem; overflow-x: auto; scrollbar-width: thin; }
.tab { flex: none; padding: .55rem 1.1rem; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 .95rem/1.2 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { background: var(--honey-pale); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }

.panel-intro { margin-bottom: 1.4rem; padding: .8rem 1.1rem; border-left: 4px solid var(--teal); background: var(--sky-pale); font-size: .97rem; }
.grupos { columns: 340px 2; column-gap: 2.6rem; }
.grupo { break-inside: avoid; margin-bottom: 1.9rem; }
.grupo h3 { padding-bottom: .3rem; border-bottom: 2px solid var(--ink); font-size: 1.4rem; font-weight: 800; }
.grupo .nota { margin-top: .5rem; font-size: .9rem; font-style: italic; color: var(--ink-soft); line-height: 1.5; }
.grupo--destacado { padding: 1rem 1.2rem 1.1rem; border-radius: 14px; background: var(--honey-pale); }
.items li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px dotted var(--line); }
.items li:last-child { border-bottom: 0; }
.item-nombre { font-weight: 700; line-height: 1.35; }
.item-desc { grid-column: 1; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.item-precio { grid-column: 2; grid-row: 1; align-self: start; font: 800 1.08rem/1.35 var(--serif); color: var(--wood); white-space: nowrap; text-align: right; }
.item-precio small { display: block; font: 500 .74rem/1.2 var(--sans); color: var(--ink-soft); }
.etiqueta { display: inline-block; margin-left: .4rem; padding: .05rem .55rem; border-radius: 999px; background: var(--sage); color: #fff; font: 700 .68rem/1.5 var(--sans); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.carta-pie { margin-top: 1.4rem; font-size: .88rem; color: var(--ink-soft); }
.carta-pie a { color: var(--teal-dark); font-weight: 700; }

/* ---------- Opiniones ---------- */
.opiniones { background: var(--ink); color: var(--cream); }
.opiniones .eyebrow { color: var(--honey); }
.stats { display: grid; gap: 1.6rem; margin-bottom: 2.6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats strong { display: block; font: 800 clamp(3rem, 7vw, 4.4rem)/1 var(--serif); color: var(--honey); }
.stats span { font-size: .98rem; color: rgba(250, 245, 234, .8); }
.op-titulo { margin: 3rem 0 1.2rem; font: 700 clamp(1.4rem, 3vw, 1.8rem)/1.25 var(--serif); color: var(--cream); }
.op-titulo:first-of-type { margin-top: 0; }

.ops { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.op { display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem 1.5rem; border: 1px solid rgba(250, 245, 234, .25); border-radius: 20px; background: rgba(250, 245, 234, .05); }
.op p { font-size: 1rem; line-height: 1.6; }
.op blockquote { font-size: 1rem; line-height: 1.6; }
.op-cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .8rem; }
.estrellas { font-size: 1.15rem; letter-spacing: .12em; color: var(--honey); }
.op-sello { padding: .2rem .8rem; border-radius: 999px; background: var(--honey); color: var(--ink); font: 700 .74rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.op-sello--fb { background: var(--sky); }
.op-sello--suave { background: transparent; border: 1px solid rgba(250, 245, 234, .45); color: var(--cream); }
.op-notas { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.op-notas li { padding: .12rem .65rem; border-radius: 999px; background: rgba(250, 245, 234, .12); font-size: .8rem; line-height: 1.5; color: rgba(250, 245, 234, .85); }
.op .op-fuente { font-size: .8rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: rgba(250, 245, 234, .62); }
.op:not(:has(.op-notas)) .op-fuente { margin-top: auto; }
.op--ligera { background: transparent; }
.op-nota { margin-top: 1.8rem; max-width: 62ch; font-size: .9rem; line-height: 1.55; color: rgba(250, 245, 234, .72); }
.op-nota a { color: var(--honey); font-weight: 700; }
.opiniones-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2.4rem; }
.opiniones-cta p { margin-right: .6rem; font-family: var(--hand); font-size: 1.6rem; font-weight: 600; color: var(--honey); }

/* ---------- Cómo llegar ---------- */
.visita-grid { display: grid; gap: 2rem; align-items: stretch; }
.info { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.info h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.direccion { display: flex; gap: .7rem; margin-top: 1.1rem; font-size: 1.1rem; font-weight: 500; font-style: normal; }
.direccion svg { flex: none; width: 24px; height: 24px; margin-top: .15rem; fill: none; stroke: var(--teal-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.direccion small { display: block; font-size: .9rem; font-weight: 400; color: var(--ink-soft); }
.horario { margin-top: 1.5rem; }
.horario div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border-bottom: 1px dotted var(--line); }
.horario dt { font-weight: 700; }
.horario dd { color: var(--ink-soft); text-align: right; }
.horario .hoy { border-radius: 10px; background: var(--honey-pale); border-bottom-color: transparent; }
.horario .hoy dd { color: var(--ink); font-weight: 700; }
.info .estado { margin-top: 1.2rem; }
.info-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.mapa { display: grid; place-content: center; justify-items: center; gap: .5rem; min-height: 320px; padding: 2rem; border: 3px solid var(--ink); border-radius: 24px; background: var(--sky); text-align: center; text-decoration: none; transition: background .2s; }
.mapa:hover { background: #cfdeea; }
.mapa svg { width: 64px; height: 64px; fill: var(--paper); stroke: var(--teal-dark); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mapa strong { font: 800 1.5rem/1.2 var(--serif); }
.mapa span { font-weight: 700; color: var(--teal-dark); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--cream); }
.pie-in { display: grid; gap: 1.6rem; padding-block: 2.6rem; }
.site-footer .marca-oval { background: transparent; border-color: var(--cream); }
.pie-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.pie-links a { color: var(--cream); font-weight: 500; }
.pie-nota { font-size: .84rem; line-height: 1.55; color: rgba(250, 245, 234, .62); max-width: 44rem; }

/* ---------- Pantallas más grandes ---------- */
@media (min-width: 560px) {
  .marca-texto { display: block; }
}
@media (min-width: 840px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex; flex-direction: row; gap: 1.8rem; padding: 0; border: 0; background: transparent; }
  .nav a { padding: .3rem 0; border: 0; background: linear-gradient(var(--honey), var(--honey)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
  .nav a:hover { background-size: 100% 2px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 4rem; }
  .lugar-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .visita-grid { grid-template-columns: .95fr 1.05fr; }
  .pie-in { grid-template-columns: 1fr auto; align-items: center; }
  .pie-nota { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
