/* Layout: warm-white page, one beige hero panel inset from the edges, a floating pill nav
   on desktop and a bottom action bar on phones; sections alternate white / sand. */
:root {
  --bg: #FCFAF6;
  --surface: #FFFFFF;
  --sand: #F6F0E4;
  --sand-2: #E3D5B8;
  --ink: #2A2621;
  --muted: #6A6157;
  --line: #E8DFCF;
  --accent: #2F5D57;
  --panel: #EDE1C7;
  --on-panel: #2A2621;
  --on-panel-muted: #5E5446;
  --panel-glow: #FFFFFF;
  --glow: #9DBBAE;
  --star: #C98B2E;
  --wa: #1FA855;
  --shadow: 0 10px 30px rgba(74, 58, 32, .10);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1140px;
  /* Siempre en claro: el beige es parte de la identidad, también con el celular en modo oscuro. */
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 7.4vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.8vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(64px, 10vw, 116px); }
.band.sand { background: var(--sand); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 700px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; }
.head-row .head { margin-bottom: 0; }
.textlink { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.textlink:hover { text-decoration: underline; }


/* ---------- Header: floating pill ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 25; padding-block: 12px; pointer-events: none; }
.pill {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 10px;
  box-shadow: var(--shadow); max-width: 900px; margin: 0 auto;
}
.mono { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.mono b {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--accent); color: var(--bg); font: 500 1rem var(--display); letter-spacing: .02em;
}
.mono span { font-weight: 700; font-size: 0.95rem; line-height: 1.15; white-space: nowrap; }
.mono small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); }
.links { display: flex; gap: 2px; }
.links a { text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--muted); padding: 9px 13px; border-radius: 999px; }
.links a:hover, .links a[aria-current="page"] { background: var(--sand); color: var(--ink); }
.cta-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--bg); text-decoration: none; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink); cursor: pointer; place-items: center; flex: none; }
.burger svg { width: 20px; height: 20px; }
.sheet { display: none; pointer-events: auto; margin: 10px auto 0; max-width: 900px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); }
.sheet.open { display: grid; }
.sheet a { text-decoration: none; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 1.05rem; }
.sheet a:hover { background: var(--sand); }
@media (max-width: 920px) {
  .links, .cta-pill { display: none; }
  .burger { display: grid; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font: 700 1rem var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-light { background: transparent; color: var(--on-panel); border-color: color-mix(in srgb, var(--on-panel) 40%, transparent); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }

/* ---------- Hero ---------- */
.hero { padding-block: 8px 0; }
.panel {
  position: relative; overflow: hidden; border-radius: 32px;
  background: var(--panel); color: var(--on-panel);
  padding: clamp(36px, 7vw, 84px) clamp(22px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 5vw, 56px); align-items: end;
}
.panel::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, var(--panel-glow) 0%, transparent 65%); opacity: .6; pointer-events: none;
}
.panel > * { position: relative; z-index: 1; min-width: 0; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .kicker { color: var(--on-panel-muted); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-copy p { color: var(--on-panel-muted); font-size: 1.12rem; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.first-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.first-card .tag { justify-self: start; font-size: 0.74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--sand); padding: 5px 10px; border-radius: 999px; }
.first-card h3 { font-size: 1.35rem; }
.first-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.94rem; color: var(--muted); }
.first-card li { display: flex; gap: 10px; align-items: baseline; }
.first-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-1px); }
.creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding-block: 26px 0; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.creds span { display: inline-flex; align-items: center; gap: 8px; }
.creds svg { width: 18px; height: 18px; color: var(--accent); }
.creds a { text-decoration: none; }
.creds a:hover { color: var(--ink); }
@media (max-width: 880px) { .panel { grid-template-columns: 1fr; border-radius: 26px; } }

/* ---------- Temas ---------- */
.topics-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.98rem; }
.chip.hl { background: var(--accent); color: var(--bg); border-color: transparent; }
.topic-note { margin-top: 22px; font-size: 0.95rem; color: var(--muted); }
.topic-note a { color: var(--accent); font-weight: 700; }
@media (max-width: 880px) { .topics-layout { grid-template-columns: 1fr; } .topics-layout .head { margin-bottom: 0; } }

/* ---------- Cómo trabajo ---------- */
.method { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.method-text { display: grid; gap: 18px; min-width: 0; }
.method-text p { color: var(--muted); max-width: 54ch; }
.method-text strong { color: var(--ink); }
@media (max-width: 880px) { .method { grid-template-columns: 1fr; } }

/* ---------- Terapia online ---------- */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mode { border-radius: 28px; padding: clamp(24px, 4vw, 34px); display: grid; gap: 12px; align-content: start; min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.mode.dark { background: var(--panel); color: var(--on-panel); border-color: transparent; }
.mode.dark p { color: var(--on-panel-muted); }
.mode .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--accent); }
.mode.dark .ico { background: color-mix(in srgb, var(--on-panel) 14%, transparent); color: var(--on-panel); }
.mode .ico svg { width: 26px; height: 26px; }
.mode h3 { font-size: 1.4rem; }
.mode p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 880px) { .modes { grid-template-columns: 1fr; } }

/* ---------- Opiniones ---------- */
.reviews-top { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 72px); align-items: center; margin-bottom: 40px; }
.counter { background: var(--panel); color: var(--on-panel); border-radius: 28px; padding: clamp(24px, 4vw, 36px); display: grid; gap: 6px; position: relative; overflow: hidden; }
.counter::after { content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, var(--panel-glow) 0%, transparent 65%); opacity: .6; }
.counter > * { position: relative; z-index: 1; }
.counter .num { font-family: var(--display); font-size: clamp(3.4rem, 9vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.counter .lbl { font-weight: 700; font-size: 1.05rem; }
.counter .src { font-size: 0.88rem; color: var(--on-panel-muted); }
.counter a { color: var(--on-panel); font-weight: 700; font-size: 0.92rem; margin-top: 10px; justify-self: start; }
.reviews-intro { display: grid; gap: 14px; min-width: 0; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.review { grid-template-rows: auto 1fr auto; }
.review .qmark { font-family: var(--display); font-size: 3.2rem; line-height: .6; color: var(--accent); height: 22px; }
.review p { font-size: 0.98rem; line-height: 1.6; }
.reply { font-size: 0.88rem; color: var(--muted); background: var(--sand); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.reply b { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.review footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; font-size: 0.82rem; color: var(--muted); padding: 12px 0 0; border-top: 1px solid var(--line); }
.mentions { display: flex; flex-wrap: wrap; gap: 8px; }
.mentions span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.mentions span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.reviews-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.reviews-more .btn { background: var(--surface); }
.review footer b { color: var(--ink); font-weight: 700; }
@media (max-width: 960px) {
  .reviews-top { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .review { scroll-snap-align: start; }
}

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.photo-wrap { padding: 16px; }
.photo { width: clamp(200px, 28vw, 320px); aspect-ratio: 1; max-width: 100%; border-radius: 50%; position: relative; background: var(--sand-2); display: grid; place-items: end center; overflow: hidden; }
.photo-wrap { position: relative; }
.photo-wrap::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 1.5px dashed var(--accent); opacity: .4; }
.photo svg { width: 70%; color: var(--accent); opacity: .45; }
.photo span { position: absolute; top: 44%; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.about-text { display: grid; gap: 16px; min-width: 0; }
.about-text > p { color: var(--muted); max-width: 62ch; }
.signature { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.35; max-width: 36ch; }
.signature::before { content: "“"; color: var(--accent); }
.signature::after { content: "”"; color: var(--accent); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.badge { display: grid; padding: 12px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.badge small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.badge span { font-weight: 600; font-size: 0.95rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; justify-items: center; } }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s; min-width: 0; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cover { aspect-ratio: 16 / 9; max-width: 100%; position: relative; overflow: hidden; background: var(--panel); }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .c1 { fill: var(--glow); opacity: .7; }
.cover .c2 { fill: var(--accent); opacity: .9; }
.cover .c3 { fill: var(--on-panel); opacity: .16; }
.cover.alt { background: var(--sand-2); }
.cover.alt .c1 { fill: var(--accent); opacity: .55; }
.cover.alt .c2 { fill: var(--glow); opacity: .7; }
.cover.alt .c3 { fill: var(--panel); opacity: .18; }
.post-body { display: grid; gap: 10px; align-content: start; padding: 22px; }
.cat { justify-self: start; font-size: 0.72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: var(--sand); padding: 5px 10px; border-radius: 999px; }
.post h3 { font-size: 1.28rem; line-height: 1.2; }
.post p { font-size: 0.94rem; color: var(--muted); }
.post .meta { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 10px 16px; font: 600 0.92rem var(--body); text-decoration: none; }
.filter[aria-current="page"] { background: var(--accent); color: var(--bg); border-color: transparent; }

.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-head .head { margin-bottom: 0; }

/* ---------- Artículo ---------- */
.crumbs { font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--accent); font-weight: 600; text-decoration: none; }
.article-head { display: grid; gap: 18px; max-width: 780px; margin: 0 auto; padding-block: clamp(28px, 5vw, 56px) 28px; }
.article-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.byline { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.byline b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--bg); font: 500 0.95rem var(--display); flex: none; }
.byline strong { color: var(--ink); display: block; }
.article-cover { max-width: 980px; margin: 0 auto; }
.article-cover .cover { border-radius: 28px; aspect-ratio: 21 / 9; }
.prose { max-width: 680px; margin: 0 auto; padding-block: 44px 20px; font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 3.6vw, 2rem); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 700; }
.callout { background: var(--sand); border-radius: 20px; padding: 20px 22px; font-size: 1rem; }
.callout b { color: var(--accent); }
.author-box { max-width: 680px; margin: 30px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--panel); color: var(--on-panel); border-radius: 24px; padding: 24px; }
.author-box > b { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on-panel) 16%, transparent); font: 500 1.3rem var(--display); }
.author-box div { display: grid; gap: 10px; min-width: 0; }
.author-box p { color: var(--on-panel-muted); font-size: 0.95rem; }
.author-box .btn { justify-self: start; padding: 12px 20px; font-size: 0.95rem; }
@media (max-width: 480px) { .author-box { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 10px; min-width: 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; }
.faq details[open] { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--sand); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }
@media (max-width: 880px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .head { margin-bottom: 0; } }

/* ---------- Contacto ---------- */
.contact-box { border-radius: 32px; background: var(--panel); color: var(--on-panel); padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; width: 460px; height: 460px; left: -180px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, var(--panel-glow) 0%, transparent 65%); opacity: .6; pointer-events: none; }
.contact-box > * { position: relative; z-index: 1; min-width: 0; }
.contact-intro { display: grid; gap: 18px; align-content: start; }
.contact-intro .kicker { color: var(--on-panel-muted); }
.contact-intro p { color: var(--on-panel-muted); max-width: 44ch; }
.contact-intro .btn-wa { justify-self: start; }
.hours { display: grid; gap: 4px; font-size: 0.92rem; margin-top: 8px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-panel) 20%, transparent); }
.hours div { display: flex; justify-content: space-between; gap: 16px; color: var(--on-panel-muted); }
.hours b { color: var(--on-panel); font-weight: 600; }
.cards { display: grid; gap: 10px; align-content: start; }
.c-item { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 16px 18px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; text-decoration: none; }
.c-item .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--sand); color: var(--accent); display: grid; place-items: center; }
.c-item .ic svg { width: 22px; height: 22px; }
.c-item > div { min-width: 0; }
.c-item small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-item .v { font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.c-item .go { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.copy { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 7px 13px; font: 600 0.8rem var(--body); cursor: pointer; white-space: nowrap; }
.copy.ok { color: var(--accent); border-color: var(--accent); }
@media (max-width: 880px) { .contact-box { grid-template-columns: 1fr; border-radius: 26px; } }
@media (max-width: 400px) { .c-item { grid-template-columns: 40px 1fr; } .c-item .ic { width: 40px; height: 40px; } .c-item .copy, .c-item .go { grid-column: 2; justify-self: start; } }

.site-foot { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.86rem; color: var(--muted); }
.foot a { color: var(--muted); }

/* ---------- Bottom action bar (phones) ---------- */
.actionbar { display: none; }
@media (max-width: 920px) {
  .actionbar {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .actionbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 999px; padding: 14px 18px; font-weight: 700; font-size: 0.98rem; }
  .actionbar .wa { background: var(--wa); color: #fff; }
  .actionbar .more { background: var(--sand); color: var(--ink); }
  .actionbar svg { width: 20px; height: 20px; }
  .site-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- WordPress ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.links ul, .sheet ul { list-style: none; margin: 0; padding: 0; display: contents; }
.links li, .sheet li { display: contents; }
.sheet li a { display: block; }
.links .current-menu-item > a { background: var(--sand); color: var(--ink); }
.post .cover img, .article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-cover .cover { position: relative; }
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: 18px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose a { color: var(--accent); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--accent); font-family: var(--display); font-style: italic; font-size: 1.25rem; }
.prose .alignwide, .prose .alignfull { max-width: 100%; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .wp-block-button__link { display: inline-flex; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--accent); color: var(--bg); border-color: transparent; }
.empty { padding: 40px; border-radius: 24px; background: var(--sand); color: var(--muted); text-align: center; }
.notfound { padding-block: clamp(64px, 12vw, 140px); display: grid; gap: 18px; justify-items: start; }
