/* ============================================================
   LIVE UNCHAINED NOW — paginas interiores
   Misma linea que el bento de la home (page-templates/bento.php):
   minimalista, tipografia sans, fondos crema, una sola accion clara.
   ============================================================ */

@font-face { font-family: 'AirbnbCereal'; src: url('../fonts/airbnbcereal_w_lt-webfont.woff2') format('woff2'), url('../fonts/airbnbcereal_w_lt-webfont.woff') format('woff'); font-weight: 300 400; font-display: swap; }
@font-face { font-family: 'AirbnbCereal'; src: url('../fonts/airbnbcereal_w_md-webfont.woff2') format('woff2'), url('../fonts/airbnbcereal_w_md-webfont.woff') format('woff'); font-weight: 500 900; font-display: swap; }

:root {
    --page:  #fbf8f4;
    --tile:  #f2eae2;
    --ink:   #2b2a27;
    --muted: #8b7355;
    --olive: #3d3c38;
    --sand:  #ba9378;
    --line:  rgba(43, 42, 39, .12);
    --radius: 28px;
    --wrap: 1180px;
    --prose: 720px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--page); color: var(--ink);
    font-family: 'AirbnbCereal', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 999px; }

/* ============================================================
   BARRA SUPERIOR
   ============================================================ */
.lun-bar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 248, 244, .82);
    -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.lun-bar__in {
    max-width: var(--wrap); margin: 0 auto; height: 60px; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.lun-bar__logo img { height: 15px; width: auto; filter: brightness(.35) sepia(.3); }
.lun-nav ul { list-style: none; display: flex; gap: 26px; }
.lun-nav a { text-decoration: none; font-size: 14px; font-weight: 400; color: var(--ink); opacity: .78; transition: opacity .2s; }
.lun-nav a:hover, .lun-nav .is-current a { opacity: 1; }
.lun-nav .is-current a { font-weight: 500; }
.lun-menu { display: none; }

@media (max-width: 900px) {
    .lun-nav { display: none; }
    .lun-menu { display: block; position: relative; }
    .lun-menu summary {
        list-style: none; cursor: pointer; font-size: 14px; font-weight: 500;
        padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
    }
    .lun-menu summary::-webkit-details-marker { display: none; }
    .lun-menu ul {
        position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
        list-style: none; background: #fff; border-radius: 20px; padding: 10px;
        box-shadow: 0 20px 50px -20px rgba(0,0,0,.25);
    }
    .lun-menu a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
    .lun-menu a:hover { background: var(--tile); }
}

/* ============================================================
   CABECERA DE PAGINA
   ============================================================ */
.lun-main { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lun-head { max-width: 860px; margin: 0 auto; text-align: center; padding: clamp(56px, 10vw, 120px) 0 clamp(36px, 6vw, 64px); }
.eyebrow { font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lun-head h1 {
    margin-top: .4em; font-weight: 500; letter-spacing: -.025em; line-height: 1.05;
    font-size: clamp(38px, 6.4vw, 76px);
}
.lun-head .lead { margin: 1em auto 0; max-width: 34ch; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.45; color: #5d5852; }

.lun-figure { margin: 0 auto clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; max-height: 560px; }
.lun-figure img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }

/* ============================================================
   TEXTO (contenido del editor)
   ============================================================ */
.prose { max-width: var(--prose); margin: 0 auto; padding-bottom: clamp(56px, 8vw, 110px); font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; font-size: clamp(24px, 3vw, 32px); }
.prose h3 { margin-top: 1.8em; font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(43,42,39,.3); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 500; }
.prose blockquote { padding: 24px 28px; background: var(--tile); border-radius: 22px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* Lista de ofertas tipo "fila Apple" */
.prose .offer { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.prose .offer li { margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.prose .offer h3 { margin: 0; }
.prose .offer p { margin-top: .4em; color: #5d5852; }

/* Nota discreta (p.ej. "esto no es terapia") */
.prose .note { font-size: 15px; color: #6c665f; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; }

/* FAQ con <details> */
.prose details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.prose details:first-of-type { border-top: 1px solid var(--line); }
.prose summary {
    cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
    font-weight: 500; font-size: 19px; letter-spacing: -.01em;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 300; transition: transform .3s var(--ease); }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details > p { margin: 0 0 20px; color: #5d5852; }

/* ============================================================
   FORMULARIOS
   ============================================================ */
.lun-signup { background: var(--sand); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); margin-top: 2.4em; }
.lun-signup h2, .lun-signup h3 { margin: 0; color: #fff; font-weight: 500; letter-spacing: -.015em; font-size: clamp(22px, 3vw, 30px); }
.lun-signup p { margin-top: .6em; opacity: .92; font-size: 16px; }
.lun-signup form { margin-top: 18px; display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 5px 5px 5px 20px; max-width: 520px; }
.lun-signup input[type="email"] { flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 9px 0; }
.lun-signup button, .lun-form button {
    flex: 0 0 auto; border: 0; cursor: pointer; border-radius: 999px;
    background: var(--ink); color: #fff; font: inherit; font-weight: 500; font-size: 15px;
    padding: 11px 22px; transition: background .3s;
}
.lun-signup button:hover, .lun-form button:hover { background: #000; }
.lun-signup .msg { font-weight: 500; }
.lun-signup .fine { font-size: 13px; }
.lun-signup .fine a { color: #fff; }

.lun-form { display: grid; gap: 14px; margin-top: 1.6em; }
.lun-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.lun-form input, .lun-form select, .lun-form textarea {
    font: inherit; font-size: 16px; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px;
    outline: none; transition: border-color .2s;
}
.lun-form input:focus, .lun-form select:focus, .lun-form textarea:focus { border-color: var(--ink); }
.lun-form textarea { min-height: 160px; resize: vertical; }
.lun-form button { justify-self: start; }
.lun-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lun-msg { padding: 16px 20px; border-radius: 16px; background: var(--tile); font-weight: 500; }

/* Contact Form 7 dentro de .lun-form (pagina Connect) */
.lun-form .wpcf7-form-control-wrap { display: grid; }
.lun-form input.wpcf7-submit {
    justify-self: start; border: 0; cursor: pointer; border-radius: 999px;
    background: var(--ink); color: #fff; font-weight: 500; font-size: 15px;
    padding: 11px 22px; transition: background .3s;
}
.lun-form input.wpcf7-submit:hover { background: #000; }
.lun-form input.wpcf7-submit:disabled { opacity: .6; cursor: default; }
.lun-form .wpcf7-spinner { margin: 0 0 0 12px; }
.lun-form .wpcf7-not-valid { border-color: #b3261e; }
.lun-form .wpcf7-not-valid-tip { color: #b3261e; font-size: 13px; font-weight: 400; margin-top: 4px; }
.wpcf7 form.lun-form .wpcf7-response-output {
    margin: 0; padding: 16px 20px; border: 0; border-radius: 16px;
    background: var(--tile); font-weight: 500;
}
.wpcf7 form.lun-form.invalid .wpcf7-response-output,
.wpcf7 form.lun-form.failed .wpcf7-response-output { background: #fbeae9; color: #8c1d18; }
@media (max-width: 600px) {
    .lun-form .row { grid-template-columns: 1fr; }
    .lun-signup form { flex-wrap: wrap; border-radius: 20px; padding: 6px; }
    .lun-signup input[type="email"] { flex-basis: 100%; padding: 10px 12px; }
    .lun-signup button { width: 100%; }
}

/* ============================================================
   HEART MUSINGS (blog)
   ============================================================ */
.lun-posts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); padding-bottom: 100px; }
.lun-post { display: flex; flex-direction: column; background: var(--tile); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .5s var(--ease); }
.lun-post:hover { transform: translateY(-3px); }
.lun-post img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.lun-post__body { padding: 26px 28px 30px; }
.lun-post h2 { font-weight: 500; font-size: 22px; letter-spacing: -.015em; line-height: 1.25; margin-top: .4em; }
.lun-post p { margin-top: .6em; color: #5d5852; font-size: 15px; }
.lun-empty { max-width: var(--prose); margin: 0 auto 100px; text-align: center; color: #5d5852; }

.lun-meta { margin-top: 1em; font-size: 14px; color: var(--muted); }
.lun-pager { display: flex; justify-content: space-between; gap: 20px; max-width: var(--prose); margin: 0 auto 100px; }
.lun-pager a { text-decoration: none; font-weight: 500; }

/* ============================================================
   PIE
   ============================================================ */
.lun-foot { border-top: 1px solid var(--line); }
.lun-foot__in {
    max-width: var(--wrap); margin: 0 auto; padding: 34px 20px 44px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
    font-size: 14px; color: var(--muted);
}
.lun-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.lun-foot a { text-decoration: none; }
.lun-foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
