/* =========================================================
   Tu Boda en Almería · Estilos del escaparate para parejas
   (se carga después de styles.css y reutiliza sus colores)
   ========================================================= */

.preview-bar {
  background: var(--gold); color: #111; text-align: center;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; padding: 8px 16px;
}

/* Cabecera */
.dir-top { position: relative; z-index: 20; padding: 16px 0; background: var(--cream-2); }
.dir-top--solid { border-bottom: 1px solid rgba(156,127,82,.18); }
.dir-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dir-top__link { font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(156,127,82,.4); padding-bottom: 2px; transition: color .2s; }
.dir-top__link:hover { color: var(--gold-deep); }

/* Portada */
.dir-hero {
  position: relative; overflow: hidden; padding: 56px 0 120px;
  background:
    radial-gradient(900px 480px at 90% 10%, rgba(210,182,138,.38), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
}
.dir-hero__in { position: relative; max-width: 900px; }
.dir-hero h1 { font-size: clamp(2.5rem, 8.5vw, 4.4rem); margin: 18px 0 .35em; }
.dir-hero .lead { margin-bottom: 30px; }

.finder {
  display: grid; gap: 12px; padding: 16px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgba(60,45,20,.45);
}
.finder__field { display: grid; gap: 4px; }
.finder__field span { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); padding-left: 4px; }
.finder select {
  width: 100%; min-height: 54px; padding: 0 42px 0 14px; border-radius: 14px;
  border: 1.5px solid rgba(156,127,82,.3); background: #fffdf8; font: inherit; font-size: 16px; color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%239c7f52' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.finder select:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(210,182,138,.3); }
.finder .btn { min-height: 56px; }

/* Categorías */
.cats { padding-bottom: 90px; }
.cat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 20px 16px; min-height: 150px;
  background: #fffdf8; border: 1px solid rgba(156,127,82,.16); border-radius: var(--radius);
  text-decoration: none; color: var(--text); box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(156,127,82,.5); }
.tile__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); }
.tile__icon svg { width: 28px; height: 28px; }
.tile__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.tile__n { font-size: .82rem; color: var(--muted); margin-top: auto; }

.all-cats { margin-top: 26px; background: #fffdf8; border: 1px solid rgba(156,127,82,.18); border-radius: var(--radius); }
.all-cats summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.all-cats summary::-webkit-details-marker { display: none; }
.all-cats summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-deep); transition: transform .3s; }
.all-cats[open] summary::after { transform: rotate(45deg); }
.all-cats__groups { display: grid; gap: 18px; padding: 0 22px 22px; }
.all-cats__g { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(156,127,82,.35); background: var(--cream-2); color: var(--text);
  font: inherit; font-size: .9rem; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s;
}
.chip:hover { background: var(--cream); border-color: var(--gold-deep); }
.chip--clear { background: transparent; }

/* Listado */
.results { padding-top: 70px; }
.results__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.results__head h2 { margin-bottom: .2em; }
.results__count { color: var(--muted); margin-bottom: 26px; }
.grid { display: grid; gap: 18px; }

.pcard {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  background: #fffdf8; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(156,127,82,.16); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 44px -18px rgba(60,45,20,.35); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold-deep);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 55%),
    repeating-linear-gradient(135deg, rgba(156,127,82,.07) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #f4ecdd, #e2d3b7);
}
.pcard__ph svg { width: 54px; height: 54px; opacity: .85; }
.pcard__ph span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pcard__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; background: rgba(11,11,11,.78); color: var(--cream); backdrop-filter: blur(6px); }
.tag--gold { background: var(--gold); color: #111; }
.tag--line { background: transparent; color: var(--gold-deep); border: 1px solid rgba(156,127,82,.5); }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 6px; }
.pcard h3 { font-size: 1.55rem; margin-bottom: .25em; }
.pcard__loc { display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.pcard__loc svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }
.pcard__frase { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.pcard__more { margin-top: auto; font-weight: 600; color: var(--gold-deep); font-size: .95rem; }

.empty { text-align: center; padding: 40px 20px; border: 1.5px dashed rgba(156,127,82,.45); border-radius: var(--radius); color: var(--muted); }
.empty__title { font-family: var(--serif); font-size: 1.6rem; color: var(--text); margin-bottom: .3em; }

/* Cómo funciona */
.how__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.how__list li { padding: 26px 24px; border-radius: var(--radius); border: 1px solid rgba(238,229,211,.14); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
.how__list .step__num { -webkit-text-stroke-color: var(--gold); display: block; font-family: var(--serif); font-weight: 600; font-size: 3.6rem; line-height: .9; color: transparent; -webkit-text-stroke-width: 1.5px; margin-bottom: 10px; }
.how__list p { margin: 0; color: rgba(238,229,211,.8); }

/* Banda proveedores */
.pro-band { background: var(--black); color: var(--cream); padding: 40px 0; border-top: 1px solid rgba(210,182,138,.2); }
.pro-band__in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.pro-band .kicker { color: var(--gold); margin-bottom: .4rem; }
.pro-band__title { font-family: var(--serif); font-size: 1.8rem; margin: 0; }
.btn--ghost { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn--ghost:hover { background: var(--gold); color: #111; box-shadow: none; }

/* ---------- Ficha ---------- */
.ficha__loading, .ficha__missing { padding: 80px var(--gutter); text-align: center; }
.ficha-hero { padding: 22px 0 10px; background: var(--cream-2); }
.crumbs { display: flex; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gal__item { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.gal__item--0 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; }
.gal .ph { border-radius: 18px; }
.ficha-head { display: grid; gap: 20px; padding: 26px 0 20px; }
.ficha-head__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ficha-head h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); margin-bottom: .2em; }
.ficha-head__loc { font-size: 1rem; }
.ficha-head .lead { margin: 0; }
.ficha-head__cta { display: grid; gap: 12px; align-content: start; }
.ficha-ig { text-align: center; color: var(--gold-deep); font-weight: 600; }
.btn--wa svg { width: 22px; height: 22px; }

.ficha-body { padding: 30px 0 70px; background: var(--cream-2); }
.ficha-body__grid { display: grid; gap: 36px; }
.ficha-body h2 { font-size: 2rem; margin-top: 0; }
.ficha-body p { color: var(--muted); font-size: 1.05rem; }
.ofrece { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ofrece li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: #fffdf8; border: 1px solid rgba(156,127,82,.16); border-radius: 14px; }
.ofrece svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.precio-box { padding: 22px; border-radius: var(--radius); background: var(--ink); color: var(--cream); }
.precio-box__label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 4px; }
.precio-box__val { font-family: var(--serif); font-size: 2.2rem; color: var(--cream) !important; margin: 0 0 6px; line-height: 1.1; }
.precio-box__note { font-size: .92rem !important; color: var(--gray) !important; margin: 0; }
.reel__label { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep) !important; margin-bottom: 10px; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; max-width: 340px; border-radius: 26px; overflow: hidden; margin: 0 auto; box-shadow: 0 26px 50px -24px rgba(40,30,10,.5); background: var(--ink); }
.reel__frame video { width: 100%; height: 100%; object-fit: cover; }
.reel__frame .ph { border-radius: 26px; }
.reel__credit { text-align: center; font-size: .82rem !important; margin-top: 12px; }
.otros { padding-top: 70px; padding-bottom: 90px; }
.otros .grid { margin-top: 26px; }

.ficha-bar { display: block; }
.ficha ~ .footer { padding-bottom: 110px; }
.demo-note { font-size: .88rem; background: #fff6e2; border: 1px dashed var(--gold-deep); border-radius: 12px; padding: 10px 12px; color: var(--text); }
.demo-msg { white-space: pre-wrap; font-family: var(--sans); font-size: .92rem; background: #e7f6e1; border-radius: 14px 14px 14px 4px; padding: 14px; margin: 14px 0 0; color: #1d3b17; }

/* ---------- Escritorio ---------- */
@media (min-width: 720px) {
  .finder { grid-template-columns: 1fr 1fr auto; align-items: end; padding: 18px; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .how__list { grid-template-columns: repeat(3, 1fr); }
  .gal { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 460px; }
  .gal__item, .gal__item--0 { aspect-ratio: auto; }
  .gal__item--0 { grid-column: 1; grid-row: 1 / 3; }
  .ficha-head { grid-template-columns: 1fr auto; align-items: end; }
  .ficha-head__cta { min-width: 330px; }
  .ficha-body__grid { grid-template-columns: 1.4fr 1fr; gap: 60px; }
  .all-cats__groups { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .dir-hero { padding: 80px 0 150px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .ficha-bar { display: none; }
  .ficha ~ .footer { padding-bottom: 48px; }
  .all-cats__groups { grid-template-columns: repeat(3, 1fr); }
}

/* Ajustes */
[hidden] { display: none !important; }
.ficha-body .precio-box__val { font-size: 2.2rem; }
.ficha-body .precio-box__label { font-size: .74rem; }
.ficha-body .precio-box__note { font-size: .92rem; }

/* ---------- Favoritos ---------- */
.dir-top__right { display: flex; align-items: center; gap: 16px; }
.favlink { position: relative; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 500; min-height: 44px; }
.favlink svg { width: 22px; height: 22px; color: var(--gold-deep); }
.favlink__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #111; font-size: .74rem; font-weight: 600; }
@media (max-width: 560px) { .favlink__txt { display: none; } .dir-top__link { font-size: .82rem; } .dir-top__right { gap: 12px; } }

.pcard-wrap { position: relative; display: flex; }
.pcard-wrap > .pcard { flex: 1; }
.fav {
  position: absolute; z-index: 2; right: 12px; top: 12px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255,253,248,.88); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.35);
  transition: transform .2s ease, color .2s ease;
}
.fav svg { width: 22px; height: 22px; fill: transparent; transition: fill .2s ease; }
.fav:hover { transform: scale(1.08); }
.fav.is-on { color: #b4472f; }
.fav.is-on svg { fill: currentColor; animation: latido .35s ease; }
.fav:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
@keyframes latido { 50% { transform: scale(1.25); } }
.fav--txt {
  position: static; width: auto; height: auto; min-height: 50px; padding: 0 18px; gap: 8px;
  display: inline-flex; justify-content: center; border-radius: 999px;
  background: transparent; box-shadow: inset 0 0 0 1.5px rgba(156,127,82,.45); font: inherit; font-weight: 500;
}
.fav--txt:hover { transform: none; background: #fffdf8; }
@media (prefers-reduced-motion: reduce) { .fav.is-on svg { animation: none; } }

/* ---------- Distintivo de Miembro Fundador ---------- */
.tag--fundador { gap: 7px; background: var(--gold); color: #111; padding: 6px 12px 6px 9px; }
.tag--fundador .corona { width: 18px; height: 14px; }
.sello-fundador {
  display: inline-flex; align-items: center; gap: 14px; margin: 4px 0 14px;
  background: var(--ink); color: var(--cream); padding: 12px 22px 12px 16px; border-radius: 14px;
  border: 1px solid rgba(210,182,138,.5);
}
.sello-fundador .corona { width: 34px; height: 26px; color: var(--gold); flex: none; }
.sello-fundador p { margin: 0 !important; }
.sello-fundador__t { font-family: var(--serif); font-size: 1.12rem !important; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; color: var(--cream) !important; line-height: 1.1; }
.sello-fundador__s { font-family: var(--serif); font-style: italic; color: var(--gold) !important; font-size: 1rem !important; }

/* ---------- Arquito (nivel de permanencia) ---------- */
.nivel {
  display: flex; align-items: center; gap: 14px; margin: 18px 0 4px;
  padding: 12px 18px 12px 10px; border-radius: 18px;
  background: #fffdf8; border: 1px solid rgba(156,127,82,.25); box-shadow: var(--shadow);
  max-width: 460px;
}
.nivel__img { width: 84px; height: 84px; flex: none; }
.nivel p { margin: 0 !important; }
.nivel__t { font-family: var(--serif); font-size: 1.3rem !important; font-weight: 600; color: var(--text) !important; line-height: 1.2; }
.nivel__s { font-size: .95rem !important; color: var(--muted) !important; }
.nivel__next { font-size: .88rem !important; color: var(--gold-deep) !important; font-weight: 500; margin-top: 4px !important; }
.nivel { align-items: flex-start; }

/* Arquito pequeño en la tarjeta del listado */
.pcard__nivel {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,253,248,.95); box-shadow: 0 4px 14px -6px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.pcard__nivel img { width: 48px; height: 48px; }

/* Reel horizontal y galería de más fotos */
.reel__frame--h { aspect-ratio: 16 / 9; max-width: none; }
.reel__frame--h video { object-fit: contain; }
.mas-fotos { margin-top: 56px; }
.mas-fotos__grid { columns: 2 220px; column-gap: 10px; }
.mas-fotos__grid figure { margin: 0 0 10px; break-inside: avoid; border-radius: 18px; overflow: hidden; }
.mas-fotos__grid img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .mas-fotos__grid { columns: 3; } }
