/* Base del sitio. estudio.css redefine variables y algunos detalles del diseño. */
:root{
  --bg:#f3eee6;--surface:#ebe4d8;--ink:#1e2230;--muted:#565a64;--line:#d6cdbf;
  --accent:#8e2a2a;--accent-hover:#6f1f1f;--on-accent:#fff;
  --dark:#1e2230;--on-dark:#f3eee6;--on-dark-muted:#b9bcc6;--dark-line:rgba(243,238,230,.22);
  --photo:#dfe0e4;
  --display:'Newsreader',Georgia,serif;--text:'Instrument Sans',system-ui,sans-serif;
  --display-weight:400;--display-tracking:-.02em;
  --pad-x:max(calc((100vw - 1120px)/2),7vw);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--text);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
h1,h2,h3,p,figure,blockquote,dl,dd,ol{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:var(--display-weight);letter-spacing:var(--display-tracking);text-wrap:balance}
p{text-wrap:pretty}
:is(a,button,summary):focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.skip-link{position:absolute;left:-9999px;top:0}
.skip-link:focus{left:1rem;top:1rem;z-index:99;background:var(--bg);padding:1rem}
.section-pad{padding:112px var(--pad-x)}

/* Cabecera */
.site-header{height:80px;position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav-wrap{height:100%;padding:0 var(--pad-x);display:flex;align-items:center;justify-content:space-between;gap:24px}
.wordmark{font-family:var(--display);font-size:24px;line-height:1;letter-spacing:-.01em;white-space:nowrap}
.main-nav{display:flex;align-items:center;gap:30px;font-size:15px;white-space:nowrap}
.main-nav>a:not(.nav-cta){color:var(--muted);transition:color .2s}
.main-nav>a:not(.nav-cta):hover,.main-nav>a[aria-current="page"]{color:var(--ink)}
.main-nav>a[aria-current="page"]{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:7px;text-decoration-thickness:2px}
.nav-cta{background:var(--ink);color:var(--bg);padding:11px 18px;font-weight:500;transition:background .2s}
.nav-cta:hover{background:var(--accent);color:var(--on-accent)}
.nav-cta span,.button span{margin-left:10px}
.menu-toggle{display:none}

.breadcrumbs{padding:16px var(--pad-x) 0;display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted)}
.breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
.breadcrumbs [aria-current="page"]{color:var(--ink);max-width:min(60vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Botones y enlaces */
.button{display:inline-flex;align-items:center;gap:6px;padding:15px 22px;font-size:15px;font-weight:500;transition:background .2s,color .2s}
.button-dark{background:var(--ink);color:var(--bg)}
.button-dark:hover{background:var(--accent);color:var(--on-accent)}
.button-light{background:var(--on-dark);color:var(--dark)}
.button-light:hover{background:var(--accent);color:var(--on-accent)}
.text-link{font-size:15px;font-weight:500;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1px;text-underline-offset:6px;transition:color .2s}
.text-link:hover{color:var(--accent);text-decoration-thickness:2px}

/* Portada */
.hero-inner{padding:72px var(--pad-x) 96px;display:grid;grid-template-columns:1.1fr .9fr;gap:6%;align-items:center}
h1{font-size:clamp(46px,5.4vw,76px);line-height:1.04;margin-bottom:26px}
.hero-intro{font-size:19px;line-height:1.7;max-width:460px;color:var(--muted)}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:28px;margin-top:36px}
.hero-note{display:flex;align-items:center;gap:14px;margin-top:56px}
.note-line{width:36px;height:1px;background:var(--accent)}
.hero-note p{font-size:15px;font-weight:500;line-height:1.45}
.hero-note small{font-weight:400;color:var(--muted);font-size:14px}
.hero-art{position:relative;width:100%;max-width:460px;justify-self:end;background:var(--photo)}
.hero-art img{display:block;width:100%;height:auto;aspect-ratio:.84;object-fit:cover}
.hero-art figcaption{display:none}

.intro-band{display:grid;grid-template-columns:1fr 1fr;gap:6%;background:var(--surface);padding:80px var(--pad-x);align-items:start}
.intro-title h2,.section-heading h2,.about-copy h2,.method-heading h2,.faq-title h2{font-size:clamp(34px,3.6vw,50px);line-height:1.1}
.intro-copy p{color:var(--muted);margin-bottom:20px}

.about{display:grid;grid-template-columns:.85fr 1.15fr;gap:9%;align-items:center}
.portrait-shape{background:var(--photo);overflow:hidden}
.portrait-photo{display:block;width:100%;height:auto;aspect-ratio:.82;object-fit:cover;object-position:center 40%}
.about-copy h2{margin-bottom:24px}
.about-copy>p{color:var(--muted);margin-bottom:16px;max-width:560px}
.credentials{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;border-top:1px solid var(--line);margin:32px 0 30px;padding-top:20px}
.credentials dt{font-weight:600;font-size:15px}
.credentials dd{font-size:14px;line-height:1.5;color:var(--muted);margin-top:4px}

.section-heading{display:flex;justify-content:space-between;align-items:end;gap:48px;margin-bottom:52px}
.section-heading h2{max-width:720px}
.section-aside{max-width:300px;font-size:15px;color:var(--muted);line-height:1.6}

.care{background:var(--bg)}
.care-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 40px}
.care-card{padding:26px 0 34px;border-top:1px solid var(--line)}
.care-card h3{font-size:25px;line-height:1.2;margin-bottom:10px}
.care-card p{font-size:15px;line-height:1.65;color:var(--muted);max-width:320px}
.care-note{margin-top:28px;padding-top:24px;border-top:1px solid var(--line);font-size:16px;color:var(--muted)}
.care-note a{color:var(--ink);font-weight:500;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:5px;margin-left:6px;white-space:nowrap}

.method{background:var(--dark);color:var(--on-dark);padding:104px var(--pad-x)}
.method-inner{display:grid;grid-template-columns:.8fr 1.2fr;gap:12%}
.method-list{list-style:none;padding:0;counter-reset:step;border-top:1px solid var(--dark-line)}
.method-item{counter-increment:step;display:grid;grid-template-columns:48px 1fr;padding:26px 0;border-bottom:1px solid var(--dark-line)}
.method-item::before{content:counter(step);font-family:var(--display);font-size:24px;line-height:1.1;color:var(--on-dark-muted);grid-row:1 / 3}
.method-item h3{font-size:24px;line-height:1.2;margin-bottom:8px}
.method-item p{color:var(--on-dark-muted);font-size:16px;max-width:480px}

.press-list{border-top:1px solid var(--line)}
.press-row{display:grid;grid-template-columns:44px 1fr 220px 110px 24px;grid-template-areas:"index title pub date arrow";gap:20px;align-items:baseline;padding:26px 0;border-bottom:1px solid var(--line);transition:background .2s}
.press-row:hover .press-title{color:var(--accent)}
.press-index{grid-area:index;font-family:var(--display);font-size:20px;color:var(--muted)}
.press-author{display:none}
.press-title{grid-area:title;font-family:var(--display);font-size:23px;line-height:1.3;transition:color .2s}
.press-publication{grid-area:pub;font-size:15px;font-weight:500}
.press-publication small{display:block;font-size:14px;font-weight:400;color:var(--muted)}
.press-date{grid-area:date;font-size:14px;color:var(--muted)}
.press-arrow{grid-area:arrow;color:var(--accent);text-align:right}
.press-more{display:inline-block;margin-top:30px}

.journal{background:var(--surface)}
.journal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.journal-card[hidden]{display:none!important}
.journal-cover{display:flex;align-items:flex-end;min-height:230px;padding:26px;background:var(--bg);border-top:3px solid var(--accent);transition:background .2s}
.journal-cover blockquote{font-family:var(--display);font-style:italic;font-size:21px;line-height:1.35;color:var(--ink)}
.journal-cover:hover{background:color-mix(in srgb,var(--bg) 85%,var(--accent))}
.journal-meta{display:flex;justify-content:space-between;gap:12px;margin:18px 0 10px;font-size:14px;color:var(--muted)}
.journal-card h2,.journal-card h3{font-size:25px;line-height:1.22;margin-bottom:10px}
.journal-card h2 a:hover,.journal-card h3 a:hover{color:var(--accent)}
.journal-card>p{font-size:15px;color:var(--muted)}
.journal-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px}
.filter-chip{border:1px solid var(--line);border-radius:99px;background:transparent;padding:7px 15px;font-size:14px;color:var(--muted);cursor:pointer;transition:.2s}
.filter-chip:hover{border-color:var(--ink);color:var(--ink)}
.filter-chip.active{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.filter-chip span{opacity:.65;margin-left:4px}

.faq{display:grid;grid-template-columns:.7fr 1.3fr;gap:10%}
.faq-title h2{margin-bottom:18px}
.faq-title p{font-size:15px;color:var(--muted);max-width:260px}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list details:first-child{border-top:1px solid var(--line)}
.faq-list summary{list-style:none;cursor:pointer;padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-family:var(--display);font-size:22px;line-height:1.3}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary span{font-family:var(--text);font-size:22px;color:var(--accent);transition:transform .2s}
.faq-list details[open] summary span{transform:rotate(45deg)}
.faq-list details p{font-size:16px;color:var(--muted);max-width:600px;padding:0 40px 22px 0}

.closing{background:var(--dark);color:var(--on-dark);text-align:center;padding:112px 24px}
.closing h2{font-size:clamp(36px,4.4vw,60px);line-height:1.1;max-width:880px;margin:0 auto 20px}
.closing-copy{font-size:17px;color:var(--on-dark-muted);margin-bottom:32px}

.site-footer{background:var(--dark);color:var(--on-dark);padding:44px var(--pad-x) 24px;border-top:1px solid var(--dark-line)}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:30px;border-bottom:1px solid var(--dark-line)}
.footer-wordmark{font-size:28px}
.footer-top>p{font-family:var(--display);font-size:19px;line-height:1.35;color:var(--on-dark-muted)}
.footer-book{font-size:15px;text-decoration:underline;text-underline-offset:6px}
.footer-nav{display:flex;flex-wrap:wrap;gap:26px;padding:20px 0;border-bottom:1px solid var(--dark-line);font-size:15px}
.footer-nav a:hover,.footer-bottom a:hover{text-decoration:underline;text-underline-offset:4px}
.footer-bottom{padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:var(--on-dark-muted);font-size:13px}

/* Páginas interiores */
.listing-hero{padding:72px var(--pad-x) 20px}
.page-hero h1,.listing-hero h1{font-size:clamp(44px,5.6vw,76px);line-height:1.04;margin-bottom:20px;max-width:900px}
.page-hero p,.listing-hero p{font-size:19px;color:var(--muted);max-width:580px}
.listing-hero .text-link{display:inline-block;margin-top:24px}
.standalone-list{padding-top:40px;background:var(--bg)}
.page-hero{padding:56px var(--pad-x) 40px;display:grid;grid-template-columns:1fr .62fr;gap:8%;align-items:center}
.page-hero figure{background:var(--photo);overflow:hidden}
.page-hero img{display:block;width:100%;height:auto;aspect-ratio:.86;object-fit:cover;object-position:center 22%}
.profile-copy{max-width:760px;padding:40px 24px 110px;margin:auto}
.profile-copy h2{font-size:36px;line-height:1.15;margin:40px 0 18px}
.profile-copy h2:first-child{margin-top:0}
.profile-copy p{font-size:18px;line-height:1.8;color:var(--muted);margin-bottom:20px}
.profile-copy .button{margin-top:14px}
.page-links{max-width:1000px;margin:0 auto;padding:0 24px 100px}
.page-links h2{font-size:clamp(28px,3vw,38px);line-height:1.2;margin-bottom:24px}
.page-links>a{display:grid;grid-template-columns:.55fr 1fr;gap:24px;padding:20px 0;border-top:1px solid var(--line);font-size:17px}
.page-links>a:last-child{border-bottom:1px solid var(--line)}
.page-links>a span{color:var(--muted);font-size:15px}
.page-links>a strong{font-weight:500;transition:color .2s}
.page-links>a:hover strong{color:var(--accent)}
.related-links{padding-top:12px}

.article-page{padding:56px 24px 110px}
.article-top{max-width:760px;margin:0 auto 48px}
.back-link{font-size:15px;color:var(--muted);display:inline-block;margin-bottom:40px}
.back-link:hover{color:var(--accent)}
.article-category{font-size:15px;color:var(--accent);margin-bottom:14px}
.article-page h1{font-size:clamp(40px,5.4vw,66px);line-height:1.08;margin-bottom:20px}
.article-byline{font-size:15px;color:var(--muted)}
.article-byline span{color:var(--accent);margin:0 8px}
.article-body{max-width:680px;margin:auto}
.article-body>p{font-family:var(--display);font-size:20px;line-height:1.75;margin:0 0 26px}
.article-body>.article-lead{font-size:25px;line-height:1.45;font-style:italic;color:var(--muted);margin-bottom:36px}
.article-end{border-top:3px solid var(--accent);background:var(--surface);padding:28px 30px;margin-top:52px}
.article-end p{font-family:var(--display);font-size:22px;line-height:1.4;max-width:500px;margin-bottom:20px}

@media(max-width:960px){
  .section-pad{padding:88px var(--pad-x)}
  .main-nav{gap:20px}
  .hero-inner{gap:5%}
  .care-grid{grid-template-columns:1fr 1fr}
  .press-row{grid-template-columns:36px 1fr 24px;grid-template-areas:"index title arrow" "index pub arrow" "index date arrow";gap:4px 14px;padding:22px 0}
  .press-title{margin-bottom:6px}
  .press-publication small{display:inline;margin-left:8px}
  .journal-grid{grid-template-columns:1fr 1fr;gap:32px}
  .method-inner{gap:8%}
  .faq{gap:6%}
}
@media(max-width:880px){
  .site-header{height:68px}
  .menu-toggle{display:flex;flex-direction:column;gap:7px;border:0;background:none;padding:12px 4px;cursor:pointer}
  .menu-toggle i{width:24px;height:1.5px;background:var(--ink);transition:transform .2s}
  .menu-toggle[aria-expanded="true"] i:first-child{transform:translateY(4.25px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] i:last-child{transform:translateY(-4.25px) rotate(-45deg)}
  .main-nav{display:none;position:absolute;top:67px;left:0;right:0;background:var(--bg);padding:12px var(--pad-x) 24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;font-size:17px}
  .main-nav.open{display:flex}
  .main-nav>a:not(.nav-cta){padding:14px 0;border-bottom:1px solid var(--line)}
  .nav-cta{margin-top:18px;text-align:center;padding:14px}
}
@media(max-width:720px){
  :root{--pad-x:22px}
  html{scroll-padding-top:74px}
  body{font-size:16px}
  .site-header{height:68px}
  .wordmark{font-size:21px}
  .section-pad{padding:68px var(--pad-x)}
  .hero-inner{display:flex;flex-direction:column;align-items:stretch;gap:40px;padding:44px var(--pad-x) 64px}
  h1{font-size:clamp(40px,11vw,52px)}
  .hero-intro{font-size:17px}
  .hero-actions{gap:20px}
  .hero-note{margin-top:36px}
  .hero-art{max-width:none;justify-self:auto}
  .intro-band{grid-template-columns:1fr;gap:20px;padding:56px var(--pad-x)}
  .about{display:flex;flex-direction:column;align-items:stretch;gap:40px}
  .credentials{grid-template-columns:1fr 1fr}
  .section-heading{display:block;margin-bottom:32px}
  .section-aside{margin-top:14px}
  .intro-title h2,.section-heading h2,.about-copy h2,.method-heading h2,.faq-title h2{font-size:clamp(32px,9vw,40px)}
  .care-grid{grid-template-columns:1fr}
  .care-card{padding:20px 0 24px}
  .care-card h3{font-size:22px}
  .method{padding:68px var(--pad-x)}
  .method-inner{display:block}
  .method-heading{margin-bottom:32px}
  .method-item{grid-template-columns:36px 1fr}
  .press-title{font-size:20px}
  .journal-grid{grid-template-columns:1fr;gap:44px}
  .journal-cover{min-height:180px}
  .faq{display:block}
  .faq-title{margin-bottom:30px}
  .faq-list summary{font-size:19px;padding:18px 0}
  .closing{padding:80px var(--pad-x)}
  .footer-top{flex-direction:column;align-items:flex-start}
  .footer-bottom{flex-direction:column;gap:6px}
  .page-hero{display:flex;flex-direction:column;align-items:stretch;padding:36px var(--pad-x) 16px;gap:28px}
  .listing-hero{padding:44px var(--pad-x) 12px}
  .profile-copy{padding:28px var(--pad-x) 72px}
  .profile-copy h2{font-size:30px}
  .profile-copy p{font-size:17px}
  .page-links{padding:0 var(--pad-x) 72px}
  .page-links>a{grid-template-columns:1fr;gap:4px}
  .article-page{padding:36px var(--pad-x) 80px}
  .back-link{margin-bottom:30px}
  .article-body>p{font-size:18px}
  .article-body>.article-lead{font-size:21px}
  .article-end{padding:24px 22px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

/* Aviso de borrador en la vista previa desde el panel */
.draft-notice{display:inline-block;margin-top:1rem;padding:.35rem .75rem;border:1px dashed currentColor;border-radius:999px;font-size:.85rem;opacity:.8}
.preview-banner{position:sticky;top:0;z-index:30;padding:8px var(--pad-x);background:var(--accent);color:#fff;font-size:14px;text-align:center}

/* Barra de edición visible solo con la sesión del panel abierta */
.cms-bar{position:fixed;left:16px;bottom:16px;z-index:50;display:flex;gap:2px;padding:4px;background:#15171c;border-radius:99px;box-shadow:0 6px 24px rgba(0,0,0,.25);font-family:system-ui,sans-serif;font-size:13px}
.cms-bar a{color:#e6e7ea;padding:7px 13px;border-radius:99px;text-decoration:none}
.cms-bar a:hover{background:#a8231b;color:#fff}

/* Imagen destacada de los artículos */
.journal-cover.has-image{position:relative;padding:0;overflow:hidden}
.journal-cover.has-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.journal-cover.has-image:hover img{transform:scale(1.03)}
.article-image{max-width:1040px;margin:0 auto 56px}
.article-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:cover}

/* Texto con formato del editor visual (artículos y páginas) */
.article-body>:is(h2,h3,h4),.rich-text :is(h2,h3,h4){font-family:var(--display);font-weight:var(--display-weight,500);letter-spacing:var(--display-tracking,0);line-height:1.2}
.article-body>h2{font-size:32px;margin:48px 0 18px}
.article-body>h3{font-size:25px;margin:38px 0 14px}
.article-body>h4{font-size:20px;margin:30px 0 12px}
.article-body>:is(ul,ol){font-family:'Newsreader',Georgia,serif;font-size:20px;line-height:1.7;margin:0 0 26px;padding-left:1.4em}
.article-body li{margin-bottom:8px}
.article-body>blockquote{border-left:3px solid var(--accent);padding:4px 0 4px 26px;margin:36px 0;font-family:var(--display);font-size:25px;line-height:1.4}
.article-body a,.rich-text a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.article-body img,.rich-text img{display:block;max-width:100%;height:auto;margin:36px auto}
.article-body>hr{border:0;border-top:1px solid var(--line);margin:44px 0}
.rich-text :is(ul,ol){font-size:18px;line-height:1.8;color:var(--muted);margin:0 0 20px;padding-left:1.3em}
.rich-text blockquote{border-left:3px solid var(--accent);padding-left:22px;margin:28px 0;font-size:22px;line-height:1.45}
.rich-text h3{font-size:26px;margin:32px 0 14px}
.profile-copy .rich-text>h2:first-child{margin-top:0}
@media(max-width:720px){.article-body>h2{font-size:27px}.article-body>blockquote{font-size:21px}.article-body>:is(ul,ol){font-size:18px}.article-image{margin-bottom:36px}}

/* Redes sociales en el pie de página */
.footer-social{display:flex;flex-wrap:wrap;gap:10px 22px;padding:20px 0;border-bottom:1px solid var(--dark-line);font-size:15px}
.footer-social a{color:var(--on-dark)}
.footer-social a span{color:var(--on-dark-muted);font-size:12px;margin-left:2px}
.footer-social a:hover{text-decoration:underline;text-underline-offset:4px}
.article-category a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}
.article-category a:hover{border-bottom-color:currentColor}
.article-byline a{color:inherit}
.article-toc{border-left:2px solid var(--line);padding:4px 0 4px 20px;margin:0 0 36px}
.article-toc p{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.article-toc ol{margin:0;padding-left:18px;display:grid;gap:6px}
.article-toc a{color:inherit}
.article-body h2[id],.article-body h3[id]{scroll-margin-top:96px}
a.filter-chip{text-decoration:none;display:inline-block}
