/* Estilos propios de WordPress (contenido editable, blog, barra de admin) */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 0; } }
.entry { font-size: 1.02rem; line-height: 1.8; color: #34404C; }
.entry.narrow { max-width: 820px; margin-inline: auto; }
.entry h2 { position: relative; padding-top: 6px; }
.entry h2::before { content: ''; display: block; width: 38px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 12px; }
.entry blockquote strong { color: var(--orange-d); }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry a { color: var(--magenta-d); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 16px; height: auto; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .35em; }
.entry blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--sand); border-radius: 0 14px 14px 0; font-style: italic; }
.entry-cta { margin-top: 48px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 10%, #fff), color-mix(in srgb, var(--magenta) 8%, #fff)); border: 1px solid #EEE4F5; text-align: center; }
.entry-cta h3 { margin-top: 0; }
.pagination { margin-top: 40px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.readmore p:last-child { margin-bottom: 0; }
.rm-btn[hidden] { display: none; }

/* =========================================================================
   Libro de Reclamaciones
   ========================================================================= */
.lr { font-size: .95rem; line-height: 1.6; }
.lr h2::before { display: none; }
.lr-head { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 22px 22px 0 0; background: radial-gradient(120% 140% at 100% 0%, rgba(143,37,210,.35), transparent 55%), var(--ink); color: #fff; position: relative; overflow: hidden; }
.lr-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.lr-head h2 { color: #fff; font-size: 1.45rem; margin: 0 0 2px; padding: 0; }
.lr-head p { margin: 0; color: #B9C8D5; font-size: .84rem; }
.lr-book { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--magenta)); box-shadow: 0 10px 24px rgba(211,20,123,.35); }
.lr-book .ic { width: 32px; height: 32px; color: #fff; }
.lr-meta { text-align: right; display: grid; }
.lr-meta small { color: #8FA3B4; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.lr-meta b { font: 800 1.2rem var(--f-head); color: #fff; }
.lr-prov { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 1px; background: #ECE5DA; border: 1px solid #ECE5DA; border-top: 0; }
.lr-prov span { background: var(--sand); padding: 12px 18px; display: grid; }
.lr-prov small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.lr-prov b { color: var(--ink); font-size: .9rem; }
.lr .lr-form { border: 1px solid #ECE5DA; border-top: 0; border-radius: 0 0 22px 22px; box-shadow: 0 16px 40px rgba(14,34,51,.08); padding: 28px; }
.lr .fs-t { margin-top: 0; }
.lr-doc select { flex: none !important; width: auto !important; max-width: 46%; height: 100%; border: 0; background: transparent; font: 700 .85rem var(--f-body); color: var(--ink); padding-right: 6px; border-right: 1.5px solid #E9E2D7 !important; margin-right: 4px; }
.lr-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; font-size: .88rem; color: var(--ink-3); cursor: pointer; }
.lr-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--magenta); flex: none; }
.lr-check a { color: var(--magenta-d); }
.lr-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lr-radios label { --c: var(--blue); position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #E9E2D7; border-radius: 14px; cursor: pointer; transition: border-color .25s, box-shadow .25s, background .25s; }
.lr-radios label.c-orange { --c: var(--orange); } .lr-radios label.c-purple { --c: var(--purple); }
.lr-radios input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c); flex: none; }
.lr-radios b { display: block; color: var(--ink); }
.lr-radios small { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.lr-radios label:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent); }
.lr-legal { margin: 16px 0 4px; padding: 14px 16px; border-radius: 14px; background: #FFF7EC; border-left: 4px solid var(--orange); font-size: .8rem; color: #6B4A1C; }
.lr-legal p { margin: 0 0 4px; }
.lr-ok { border: 1px solid #ECE5DA; border-top: 0; border-radius: 0 0 22px 22px; }
.lr-ok .lr-code { font: 800 1.3rem var(--f-head); color: var(--magenta-d); }
@media (max-width: 760px) {
  .lr-head { grid-template-columns: 48px 1fr; padding: 18px; }
  .lr-book { width: 48px; height: 48px; border-radius: 14px; } .lr-book .ic { width: 24px; height: 24px; }
  .lr-meta { grid-column: 1 / -1; text-align: left; grid-auto-flow: column; justify-content: start; gap: 8px; align-items: baseline; }
  .lr-prov { grid-template-columns: 1fr; }
  .lr-radios { grid-template-columns: 1fr; }
  .lr .lr-form { padding: 20px; }
}
/* =========================================================================
   Blog
   ========================================================================= */
.blog-hero { padding: 96px 0 84px; }
.blog-hero::before { background: linear-gradient(100deg, rgba(10,25,38,.92) 0%, rgba(10,25,38,.7) 45%, rgba(10,25,38,.25)); }
.bh-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: .9rem; color: #C9D6E1; }
.bh-stats span { display: inline-flex; align-items: center; gap: 8px; }
.bh-stats b { font: 800 1.25rem/1 var(--f-head); color: #fff; }
.bh-stats .ic { width: 18px; height: 18px; color: #FFC37A; }

.bbar { position: sticky; top: var(--hdr, 72px); z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .bbar { top: calc(var(--hdr, 72px) + 32px); }
.bbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.bcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 2px; }
.bcats::-webkit-scrollbar { display: none; }
.bcats a { --c: var(--ink); flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 700; color: var(--ink-3); transition: border-color .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.bcats a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.bcats a em { font-style: normal; font-size: .74rem; font-weight: 800; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--sand-2); color: var(--muted); text-align: center; }
.bcats a:hover { border-color: var(--c); color: var(--ink); }
.bcats a.on { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 30%, transparent); }
.bcats a.on i { background: #fff; }
.bcats a.on em { background: rgba(255,255,255,.22); color: #fff; }
.bsearch { position: relative; flex: 0 1 300px; }
.bsearch .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.bsearch input[type=search] { width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--sand); font: 500 .92rem var(--f-body); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.bsearch input[type=search]:focus { outline: 0; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(247,137,10,.14); }

.blog-sec { padding-top: 48px; }
.btool { display: flex; justify-content: space-between; align-items: center; margin: 0 0 20px; color: var(--muted); font-size: .92rem; }
.btool b { color: var(--ink); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #EFE9DF; border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }
.bcard[hidden] { display: none; }
.bc-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bcard:hover .bc-img img { transform: scale(1.06); }
.bc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.bc-cat { --c: var(--orange); display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--c); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.bc-img .bc-cat { position: absolute; left: 16px; top: 16px; z-index: 2; pointer-events: none; }
.bc-feat { pointer-events: none; }
.bc-feat { position: absolute; right: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(14,34,51,.78); backdrop-filter: blur(6px); color: #FFD7A3; font-size: .74rem; font-weight: 800; }
.bc-feat .ic { width: 15px; height: 15px; }
.bc-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.bc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.bc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.bc-meta .ic { width: 15px; height: 15px; }
.bcard h3, .bcard h2 { margin: 0; font-size: 1.16rem; line-height: 1.35; }
.bcard h3 a::after, .bcard h2 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.bcard:hover h3 a, .bcard:hover h2 a { color: var(--orange-d); }
.bc-body p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-body .link-arrow { margin-top: auto; padding-top: 6px; font-size: .92rem; }
.bfeat { display: grid; grid-template-columns: 1.35fr 1fr; margin-bottom: 44px; box-shadow: var(--sh-1); }
.bfeat .bc-img { aspect-ratio: auto; min-height: 380px; }
.bfeat .bc-body { justify-content: center; padding: clamp(26px, 4vw, 48px); gap: 14px; }
.bfeat h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; }
.bfeat .bc-body p { -webkit-line-clamp: 4; font-size: 1rem; }
.bfeat .bc-body .link-arrow { margin-top: 8px; }
.blog-cta { margin-top: 72px; }
.post-hero { padding: 100px 0 80px; }
.post-hero .bc-cat { margin-bottom: 16px; }
.post-hero .bc-cat:hover { filter: brightness(1.08); }
.ph-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: #DDE7EF; font-size: .92rem; }
.ph-meta > * { display: inline-flex; align-items: center; gap: 7px; }
.ph-meta .ic { width: 17px; height: 17px; color: #FFC37A; }
.entry .lead { font-size: 1.18rem; line-height: 1.7; color: var(--ink-3); font-weight: 500; }
.entry table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry th, .entry td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry th { background: var(--sand); color: var(--ink); font-weight: 700; }
.entry .faq-q { font-weight: 700; color: var(--ink); margin-bottom: .2em; }
.blog-rel { background: var(--sand); }
@media (max-width: 1024px) {
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .bfeat { grid-template-columns: 1fr; }
  .bfeat .bc-img { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 760px) {
  .bbar-in { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 12px; }
  .bsearch { flex: none; }
  .bcats { margin-inline: -16px; padding-inline: 16px; }
  .bgrid { grid-template-columns: 1fr; gap: 20px; }
  .blog-hero, .post-hero { padding: 60px 0 50px; }
  .entry .table-wrap, .entry figure.wp-block-table { overflow-x: auto; }
}

/* =========================================================================
   Aviso de cookies (barra horizontal + preferencias)
   ========================================================================= */
.ck-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(14,34,51,.97); backdrop-filter: blur(12px); color: #C9D6E1; box-shadow: 0 -12px 40px rgba(0,0,0,.25); transform: translateY(100%); transition: transform .5s var(--ease); }
.ck-bar::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.ck-bar.in { transform: none; }
.ck-bar[hidden] { display: none; }
.ck-in { display: flex; align-items: center; gap: 22px; padding-block: 18px; }
.ck-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--magenta)); box-shadow: 0 8px 20px rgba(211,20,123,.3); }
.ck-ic svg { width: 26px; height: 26px; fill: #fff; }
.ck-ic svg circle { fill: var(--orange-d); }
.ck-txt { flex: 1; margin: 0; font-size: .88rem; line-height: 1.55; }
.ck-txt b { color: #fff; }
.ck-txt a { color: #FFC37A; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.ck-acts { flex: none; display: flex; align-items: center; gap: 10px; }
.ck-btn { height: 46px; padding: 0 22px; border-radius: 999px; font: 700 .9rem/1 var(--f-body); white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.ck-acc { color: #fff; border: 0; padding: 0 28px; background: linear-gradient(135deg, #2FA8E8, var(--blue-d)); box-shadow: 0 10px 24px rgba(17,139,204,.45); }
.ck-acc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(17,139,204,.6); }
.ck-rej { color: #B9C8D5; background: transparent; border: 0; font-weight: 600; padding: 0 12px; }
.ck-rej:hover { color: #fff; }
.ck-link { background: none; border: 0; color: #8FA3B4; font: 600 .86rem var(--f-body); text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; cursor: pointer; }
.ck-link:hover { color: #fff; }
.ck-btn:focus-visible, .ck-link:focus-visible { outline: 2px solid #FFC37A; outline-offset: 3px; }
body.ck-open .wa-float, body.ck-open .to-top { transform: translateY(calc(-1 * var(--ck-h, 0px))); }
body.ck-open .to-top.show { transform: translateY(calc(-1 * var(--ck-h, 0px))); }
.ck-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.ck-modal[hidden] { display: none; }
.ck-scrim { position: absolute; inset: 0; background: rgba(10,25,38,.6); backdrop-filter: blur(4px); }
.ck-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--sh-3); }
.ck-box h3 { margin: 0 0 6px; font-size: 1.35rem; padding-right: 40px; }
.ck-sub { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.ck-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); border: 0; color: var(--ink); cursor: pointer; }
.ck-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; cursor: pointer; }
.ck-cat b { display: block; color: var(--ink); font-size: .95rem; }
.ck-cat small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.ck-always { flex: none; font-size: .72rem; font-weight: 800; color: #0F7A3D; background: #EAF9F0; padding: 5px 10px; border-radius: 999px; }
.ck-sw { flex: none; appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 999px; background: #D5DCE3; position: relative; cursor: pointer; transition: background .25s; }
.ck-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.ck-sw:checked { background: var(--orange); }
.ck-sw:checked::after { transform: translateX(20px); }
.ck-sw:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ck-mfoot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.ck-mfoot .ck-btn { padding: 0 16px; font-size: .86rem; }
.ck-mfoot .ck-rej { color: var(--muted); }
.ck-mfoot .ck-rej:hover { color: var(--ink); }
.ck-sw:checked { background: var(--blue); }
.ck-save { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.ck-save:hover { background: var(--ink); color: #fff; }
.f-credit .wrap { gap: 10px 28px; flex-wrap: wrap; }
.f-credit .f-ck a { background: none; color: #A9BBCB; font-weight: 600; -webkit-background-clip: border-box; background-clip: border-box; }
.f-credit .f-ck a:hover { color: #fff; }
@media (max-width: 900px) {
  .ck-in { flex-wrap: wrap; gap: 12px 14px; padding-block: 14px; }
  .ck-ic { width: 38px; height: 38px; border-radius: 12px; } .ck-ic svg { width: 22px; height: 22px; }
  .ck-txt { flex: 1 1 calc(100% - 60px); font-size: .82rem; }
  .ck-acts { width: 100%; display: grid; grid-template-columns: auto 1fr 1.4fr; gap: 8px; }
  .ck-btn { height: 44px; padding: 0 14px; }
}
@media (max-width: 420px) { .ck-txt b { display: block; } }
@media (max-width: 600px) { .ck-mfoot { display: grid; grid-template-columns: 1fr; } .ck-mfoot .ck-acc { order: -1; } .ck-box { padding: 22px 18px; } }

/* Selector de idioma (enlaces Polylang) */
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; font-size: .72rem; font-weight: 800; color: #B9C8D5; letter-spacing: .04em; transition: background .2s, color .2s; }
.lang a svg { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); flex: none; }
.lang a:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang a.on { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 760px) { .lang a span { display: none; } }
