/* Salchichas de la Realeza · capa "premium"
   Línea selecta, páginas individuales de ejemplares y efectos sutiles. */

/* ---------- Detalles finos ---------- */
::selection { background: rgba(213, 178, 111, 0.35); color: inherit; }
:focus-visible { outline-color: var(--gold, #d5b26f); }

/* barra de progreso de lectura, muy fina */
#premium-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(213, 178, 111, 0.4), #d5b26f 60%, #f1d99c);
}

/* aparición más fina: sube, se enfoca y aclara */
[data-reveal] { filter: blur(5px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease; }
[data-reveal].revealed { filter: none; }

/* las fotos de familias "respiran" al aparecer */
.fam-item img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1); }
.fam-item.revealed img { transform: scale(1); }

/* destello suave al pasar el mouse (solo escritorio con mouse) */
.selecta__card, .fam-item, .dog-more__card { position: relative; overflow: hidden; }
.selecta__card::after, .fam-item::after, .dog-more__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.38) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform 0.9s ease;
}
@media (hover: hover) {
  .selecta__card:hover::after, .fam-item:hover::after, .dog-more__card:hover::after { transform: translateX(130%); }
  .selecta__card:hover, .dog-more__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(60, 38, 16, 0.14); }
}

/* paralaje apenas perceptible en el hero */
.hero { background-position: 0 0, 0 0, 0 0, center calc(50% + var(--hero-shift, 0px)); }

/* ---------- Línea selecta (inicio y linaje) ---------- */
.selecta { background: linear-gradient(180deg, var(--bg-soft, #fcf8f4), #fff); }
.selecta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(20px, 4vw, 34px); }
.selecta__card {
  padding: 28px 22px; text-align: center; border-radius: 24px; background: #fff;
  border: 1px solid rgba(213, 178, 111, 0.42); box-shadow: var(--shadow-sm, 0 8px 24px rgba(50, 29, 10, 0.08));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.selecta__card > i {
  display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft, #ecd9ad), var(--gold, #d5b26f)); color: var(--primary, #5c3c1c); font-size: 1.25rem;
}
.selecta__card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.selecta__card p { margin: 0; color: var(--text-soft, #6b5a48); font-size: 0.93rem; }
.selecta__note { text-align: center; margin: 20px auto 0; max-width: 60ch; color: var(--text-soft, #6b5a48); font-size: 0.88rem; font-style: italic; }
.selecta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
@media (max-width: 900px) { .selecta__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .selecta__grid { grid-template-columns: 1fr; } .selecta__actions .btn { width: 100%; justify-content: center; } }

/* ---------- Banda "línea selecta" sobre el pie de todas las páginas ---------- */
.selecta-band { background: linear-gradient(120deg, #3d2815, #5c3c1c); color: #f6efe3; padding: 26px 0; }
.selecta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.selecta-band__lead { margin: 0; font-size: 0.95rem; letter-spacing: 0.02em; }
.selecta-band__lead span { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #d5b26f; margin-bottom: 2px; }
.selecta-band__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.selecta-band__list li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; }
.selecta-band__list i { color: #d5b26f; }
.selecta-band__list strong { font-weight: 600; }
.selecta-band__link { color: #f1d99c; font-weight: 700; font-size: 0.88rem; text-decoration: none; border-bottom: 1px solid rgba(213, 178, 111, 0.6); padding-bottom: 2px; }
.selecta-band__link i { margin-left: 4px; transition: transform 0.25s ease; }
.selecta-band__link:hover i { transform: translateX(4px); }
@media (max-width: 760px) { .selecta-band .container { flex-direction: column; align-items: flex-start; } }

/* ---------- Página individual de cada ejemplar ---------- */
.dog-page { padding-top: clamp(28px, 4vw, 48px); }
.dog-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 0.86rem; color: var(--text-soft, #6b5a48); }
.dog-crumbs a { color: var(--primary-2, #7a5230); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(213, 178, 111, 0.6); }
.dog-crumbs strong { color: var(--primary, #5c3c1c); }
.dog-story {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 56px); align-items: start;
  margin-top: clamp(28px, 5vw, 56px); padding: clamp(28px, 5vw, 52px); border-radius: 36px;
  background: radial-gradient(circle at 0% 0%, rgba(213, 178, 111, 0.2), transparent 55%), linear-gradient(175deg, #fffdfa, var(--bg-soft, #fcf8f4));
  border: 1px solid rgba(213, 178, 111, 0.45); box-shadow: var(--shadow-md, 0 16px 42px rgba(50, 29, 10, 0.12));
}
.dog-story__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold, #d5b26f); }
.dog-story__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold, #d5b26f); }
.dog-story h2 { margin: 10px 0 14px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.12; }
.dog-story p { margin: 0 0 14px; color: var(--text-soft, #6b5a48); font-size: 1.02rem; line-height: 1.7; }
.dog-story p strong { color: var(--primary, #5c3c1c); }
.dog-story__aside { display: grid; gap: 14px; }
.dog-traits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dog-traits li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(213, 178, 111, 0.4); font-weight: 600; color: var(--primary, #5c3c1c); }
.dog-traits i { color: var(--gold, #d5b26f); }
.dog-ideal { padding: 18px 20px; border-radius: 20px; background: linear-gradient(135deg, #fffaf0, #f7ecd6); border: 1px solid rgba(213, 178, 111, 0.55); }
.dog-ideal span { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-2, #7a5230); margin-bottom: 4px; }
.dog-ideal p { margin: 0; font-family: "Playfair Display", serif; font-style: italic; font-size: 1.05rem; color: var(--primary, #5c3c1c); line-height: 1.5; }
.dog-more { margin-top: clamp(32px, 6vw, 64px); }
.dog-more h2 { text-align: center; margin: 0 0 22px; font-size: clamp(1.5rem, 3vw, 2rem); }
.dog-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dog-more__card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: #fff; border: 1px solid rgba(213, 178, 111, 0.4); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm, 0 8px 24px rgba(50, 29, 10, 0.08)); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.dog-more__card img { width: 78px; height: 98px; object-fit: cover; border-radius: 14px; flex: none; }
.dog-more__card strong { display: block; font-family: "Playfair Display", serif; font-size: 1.2rem; color: var(--primary, #5c3c1c); }
.dog-more__card span { display: block; font-size: 0.82rem; color: var(--text-soft, #6b5a48); }
.dog-more__card em { font-style: normal; font-weight: 800; color: var(--primary-2, #7a5230); font-size: 0.9rem; }
.dog-more__all { text-align: center; margin-top: 22px; }
@media (max-width: 860px) { .dog-story { grid-template-columns: 1fr; } .dog-more__grid { grid-template-columns: 1fr; } }

/* link a la página individual dentro de cada tarjeta */
.ej-story-link { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-weight: 700; color: var(--primary-2, #7a5230); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid var(--gold, #d5b26f); align-self: center; }
.ej-story-link i { color: var(--gold, #d5b26f); transition: transform 0.25s ease; }
.ej-story-link:hover i { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].revealed { filter: none !important; }
  .fam-item img { transform: none !important; }
  .selecta__card::after, .fam-item::after, .dog-more__card::after { display: none; }
  #premium-progress { display: none; }
}
.dog-more__all .btn { background: transparent; color: var(--primary, #5c3c1c); border: 1.5px solid var(--gold, #d5b26f); box-shadow: none; }
.dog-more__all .btn:hover, .dog-more__all .btn:focus-visible { background: var(--gold-soft, #ecd9ad); }
.price-card .price-range { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.price-card .price-intl-label { margin: 0 0 4px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold, #d5b26f); }

/* ---------- Selector de idioma con banderas ---------- */
.language-switcher { display: inline-flex; align-items: center; gap: 4px; }
.language-switcher button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; }
.language-switcher .flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); flex: none; }
.language-switcher button:not(.is-active) .flag { opacity: 0.85; }
@media (max-width: 560px) { .language-switcher button { padding: 4px 7px; gap: 4px; font-size: 0.72rem; } .language-switcher .flag { width: 18px; height: 12px; } }


/* servicios especializados */
.svc-pro .feature-card { display: flex; flex-direction: column; gap: .6rem; }
.svc-list { list-style: none; margin: .2rem 0 .4rem; padding: 0; display: grid; gap: .45rem; }
.svc-list li { position: relative; padding-left: 1.5rem; font-size: .95rem; line-height: 1.45; color: var(--text-soft, #6b5a48); }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .62rem; height: .62rem; border-radius: 50%; background: var(--gold, #b89452); box-shadow: 0 0 0 3px rgba(184, 148, 82, .18); }
.svc-pro .feature-card .btn { margin-top: auto; align-self: flex-start; }
.svc-price-note { display: flex; align-items: center; justify-content: center; gap: .5rem; max-width: 640px; margin: 2rem auto 0; text-align: center; font-size: .92rem; color: var(--text-soft, #6b5a48); }
.svc-price-note i { color: var(--gold, #b89452); }


/* franja de promo (inicio) */
.promo-strip { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: .55rem 1rem; background: linear-gradient(90deg, #701826, #8a2a3a); color: #fff; text-decoration: none; font-size: .92rem; line-height: 1.3; }
.promo-strip img { width: 28px; height: 50px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .5); flex: 0 0 auto; }
.promo-strip strong { font-weight: 800; letter-spacing: .02em; }
.promo-strip em { font-style: normal; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .16); white-space: nowrap; }
.promo-strip:hover em, .promo-strip:focus-visible em { background: rgba(255, 255, 255, .28); }
@media (max-width: 560px) { .promo-strip { font-size: .82rem; gap: .6rem; } .promo-strip em { display: none; } }
