:root{
  --ink:#111318;--ink-2:#191c22;--paper:#f4f1ea;--white:#fff;--gold:#c99a56;--gold-2:#e5bc7b;
  --muted:#767a80;--line:rgba(17,19,24,.12);--radius:26px;--shadow:0 24px 70px rgba(12,15,20,.14);
  --header-h:84px;--max:1280px;--ease:cubic-bezier(.2,.75,.2,1)
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}body.modal-open,body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}img{max-width:100%;display:block}button{cursor:pointer}.container{width:min(calc(100% - 48px),var(--max));margin-inline:auto}.section-pad{padding:120px 0}.eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:800;color:var(--gold)}.eyebrow:before{content:"";width:24px;height:1px;background:currentColor}.center{display:flex;justify-content:center;margin-top:48px}.reveal{opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease),transform .8s var(--ease)}.reveal.is-visible{opacity:1;transform:none}
.scroll-progress{position:fixed;z-index:1200;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--gold),var(--gold-2));box-shadow:0 0 18px rgba(201,154,86,.45)}.cursor-glow{position:fixed;width:380px;height:380px;border-radius:50%;pointer-events:none;z-index:-1;background:radial-gradient(circle,rgba(201,154,86,.10),transparent 68%);transform:translate(-50%,-50%);opacity:0;transition:opacity .25s}.cursor-glow.active{opacity:1}
.site-header{position:fixed;z-index:1000;top:0;left:0;right:0;height:var(--header-h);padding:0 max(24px,calc((100vw - var(--max))/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.13);transition:background .35s,backdrop-filter .35s,height .35s,border-color .35s}.site-header.scrolled{height:70px;background:rgba(17,19,24,.92);backdrop-filter:blur(18px);border-color:rgba(255,255,255,.08)}.brand{width:150px;height:56px;display:flex;align-items:center}.brand img{width:100%;height:100%;object-fit:contain}.desktop-nav{display:flex;align-items:center;gap:30px}.desktop-nav a{color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;position:relative;opacity:.78;transition:.25s}.desktop-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-9px;height:1px;background:var(--gold);transition:right .3s}.desktop-nav a:hover,.desktop-nav a.active{opacity:1}.desktop-nav a:hover:after,.desktop-nav a.active:after{right:0}.header-actions{display:flex;align-items:center;gap:14px}.header-social{width:38px;height:38px;border:1px solid rgba(255,255,255,.24);border-radius:50%;display:grid;place-items:center;color:#fff;font-family:Georgia,serif;font-weight:700;transition:.25s}.header-social:hover{background:#fff;color:var(--ink)}.menu-toggle{display:none;border:0;background:transparent;width:42px;height:42px;position:relative}.menu-toggle span{position:absolute;left:9px;width:24px;height:1px;background:#fff;transition:.3s}.menu-toggle span:first-child{top:16px}.menu-toggle span:last-child{top:25px}.menu-toggle.active span:first-child{top:21px;transform:rotate(45deg)}.menu-toggle.active span:last-child{top:21px;transform:rotate(-45deg)}
.mobile-menu{position:fixed;z-index:900;inset:0;background:rgba(17,19,24,.98);display:grid;place-items:center;opacity:0;visibility:hidden;transition:.35s}.mobile-menu.open{opacity:1;visibility:visible}.mobile-menu-inner{display:flex;flex-direction:column;gap:12px;width:min(85vw,480px)}.mobile-menu-inner .eyebrow{margin-bottom:16px}.mobile-menu-inner a{color:#fff;font-size:clamp(30px,8vw,48px);font-family:Georgia,"Times New Roman",serif;border-bottom:1px solid rgba(255,255,255,.10);padding:9px 0}.mobile-menu-inner a:hover{color:var(--gold-2)}.mobile-socials{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px}.mobile-socials a{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:12px;text-transform:uppercase;letter-spacing:.12em;border:0;padding:8px 0;color:var(--gold-2)}
.hero{position:relative;height:min(900px,100svh);min-height:720px;background:#0b0d10;color:#fff;overflow:hidden}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.86) contrast(1.04)}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,15,.93) 0%,rgba(10,12,15,.68) 46%,rgba(10,12,15,.26) 78%,rgba(10,12,15,.50) 100%),linear-gradient(0deg,rgba(10,12,15,.8),transparent 48%)}.hero-grid{position:absolute;inset:0;opacity:.14;background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,#000,transparent 75%)}.hero-content{position:absolute;z-index:3;left:max(24px,calc((100vw - var(--max))/2));right:24px;bottom:150px;width:min(680px,calc(100% - 48px));margin:0;padding-top:0}.hero-kicker{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#dfc79f;display:flex;align-items:center;gap:12px}.hero-kicker span{width:34px;height:1px;background:#dfc79f}.hero h1{max-width:900px;margin:18px 0 16px;font-size:clamp(42px,5.8vw,78px);line-height:.92;letter-spacing:-.055em;font-weight:550}.hero h1 em,.section-head h2 em,.profile-copy h2 em,.contact-intro h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--gold-2)}.hero-lead{max-width:560px;font-size:clamp(15px,1.35vw,19px);line-height:1.6;color:rgba(255,255,255,.72);margin:0 0 34px}.hero-cta{display:flex;flex-wrap:wrap;gap:12px}.btn{border:0;border-radius:999px;min-height:54px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:16px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;transition:transform .25s,background .25s,color .25s,border-color .25s,box-shadow .25s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:var(--gold);color:#151515;box-shadow:0 14px 30px rgba(201,154,86,.19)}.btn-primary:hover{background:var(--gold-2);box-shadow:0 16px 34px rgba(201,154,86,.29)}.btn-ghost{border:1px solid rgba(255,255,255,.24);color:#fff;background:rgba(255,255,255,.05);backdrop-filter:blur(10px)}.btn-ghost:hover{background:#fff;color:#111}.hero-stats{position:absolute;z-index:4;right:max(24px,calc((100vw - var(--max))/2));bottom:34px;display:flex;background:rgba(14,16,19,.56);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(16px);border-radius:18px;overflow:hidden}.hero-stats a{padding:17px 23px;min-width:112px;border-right:1px solid rgba(255,255,255,.1);transition:.25s}.hero-stats a:last-child{border:0}.hero-stats a:hover{background:rgba(255,255,255,.08)}.hero-stats strong{display:block;font:400 26px Georgia,serif;color:var(--gold-2)}.hero-stats span{display:block;margin-top:2px;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.58)}.sound-toggle{position:absolute;z-index:4;right:max(24px,calc((100vw - var(--max))/2));top:110px;border:1px solid rgba(255,255,255,.18);background:rgba(17,19,24,.36);color:#fff;border-radius:999px;padding:9px 14px;display:flex;gap:8px;align-items:center;font-size:10px;text-transform:uppercase;letter-spacing:.12em;backdrop-filter:blur(12px)}.hero-scroll{position:absolute;z-index:4;left:max(24px,calc((100vw - var(--max))/2));bottom:42px;font-size:10px;text-transform:uppercase;letter-spacing:.18em;color:rgba(255,255,255,.55);display:flex;align-items:center;gap:12px}.hero-scroll span{display:block;width:72px;height:1px;background:rgba(255,255,255,.25);position:relative;overflow:hidden}.hero-scroll span:after{content:"";position:absolute;inset:0;background:#fff;transform:translateX(-100%);animation:scrollLine 2.2s infinite}@keyframes scrollLine{55%,100%{transform:translateX(100%)}}
.section-head{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:end;margin-bottom:58px}.section-head h2,.profile-copy h2,.contact-intro h2{margin:10px 0 0;font-size:clamp(42px,5.4vw,74px);line-height:.96;letter-spacing:-.045em;font-weight:600}.section-head p{margin:0;max-width:540px;color:#73777e;line-height:1.75;font-size:16px}.explore{background:var(--paper)}.bento-grid{display:grid;grid-template-columns:1.1fr .9fr .9fr;grid-auto-rows:255px;gap:16px}.bento{position:relative;border-radius:var(--radius);padding:28px;background:#fff;border:1px solid rgba(17,19,24,.07);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;transition:transform .4s var(--ease),box-shadow .4s,background .4s,color .4s}.bento:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.bento:before{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-80px;top:-80px;background:radial-gradient(circle,rgba(201,154,86,.20),transparent 68%);transform:scale(.4);opacity:0;transition:.45s}.bento:hover:before{transform:scale(1);opacity:1}.bento-large{grid-row:span 2;background:var(--ink);color:#fff}.bento-wide{grid-column:span 2;background:#ded6c9}.bento-number{font-size:11px;letter-spacing:.12em;color:var(--gold);font-weight:800}.bento h3{margin:10px 0 8px;font-size:clamp(27px,3vw,42px);line-height:1;font-weight:600;letter-spacing:-.03em}.bento p{margin:0;color:#777b81;line-height:1.6;max-width:360px}.bento-large p{color:rgba(255,255,255,.62)}.bento-arrow{position:absolute;right:22px;top:20px;width:40px;height:40px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;opacity:.35;transition:.3s}.bento:hover .bento-arrow{transform:rotate(-45deg);opacity:1}
.profile{background:#fff}.profile-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:8vw;align-items:start}.profile-photo{position:sticky;top:100px;min-height:650px;border-radius:32px;overflow:visible;perspective:1200px}.profile-photo-card{position:relative;min-height:650px;border-radius:32px;overflow:hidden;background:#ddd;box-shadow:0 28px 60px rgba(14,18,24,.16);transition:transform .35s var(--ease),box-shadow .35s}.profile-photo-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.14),transparent 20%);z-index:1;pointer-events:none}.profile-photo-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,12,14,.76),rgba(10,12,14,.15) 38%,transparent 66%);z-index:1;pointer-events:none}.profile-photo img{width:100%;height:690px;object-fit:cover;object-position:center 18%;transition:transform .5s var(--ease),filter .5s var(--ease)}.profile-photo-glow{position:absolute;right:-60px;bottom:-40px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(201,154,86,.38),rgba(201,154,86,0) 70%);z-index:1;pointer-events:none;transition:transform .45s var(--ease),opacity .35s}.photo-badge{position:absolute;z-index:2;left:22px;top:22px;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.14);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:800}.photo-label{position:absolute;z-index:2;left:28px;bottom:26px;color:#fff;max-width:70%}.photo-label span{display:block;color:var(--gold-2);text-transform:uppercase;font-size:10px;letter-spacing:.14em;font-weight:800}.photo-label strong{display:block;margin-top:6px;font:400 32px Georgia,serif;line-height:1.02}.profile-copy{padding-top:24px}.split-title span,.split-title em{display:block}.profile-intro{font-size:18px;line-height:1.8;color:#5f646a;margin:30px 0 28px}.profile-focus{position:relative;margin-bottom:26px;padding:24px 26px;border:1px solid rgba(17,19,24,.09);border-radius:24px;background:linear-gradient(180deg,#fff,#faf8f4);box-shadow:0 18px 45px rgba(16,18,21,.06);overflow:hidden}.profile-focus:before{content:"";position:absolute;right:-50px;top:-40px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(201,154,86,.16),rgba(201,154,86,0) 72%)}.profile-focus-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;position:relative;z-index:1}.profile-focus-top .eyebrow{margin:0}.profile-focus-top strong{font:400 32px Georgia,serif;color:var(--gold)}.profile-focus h3{position:relative;z-index:1;margin:0 0 8px;font-size:28px;letter-spacing:-.03em;line-height:1.08}.profile-focus p{position:relative;z-index:1;margin:0;color:#666b72;line-height:1.75}.profile-pillars{display:grid;gap:14px}.pillar{position:relative;width:100%;border:1px solid var(--line);border-radius:22px;background:#fff;display:grid;grid-template-columns:54px 1fr 40px;gap:20px;align-items:start;padding:20px 20px 20px 18px;text-align:left;transition:transform .35s var(--ease),box-shadow .35s,border-color .35s,background .35s}.pillar:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:999px;background:linear-gradient(180deg,var(--gold),var(--gold-2));opacity:0;transition:opacity .3s}.pillar>span{font:400 18px Georgia,serif;color:var(--gold);padding-top:4px}.pillar div{min-width:0}.pillar h3{margin:0 0 6px;font-size:18px}.pillar p{margin:0;color:#777b81;line-height:1.6}.pillar i{font-style:normal;justify-self:end;align-self:center;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:#8a8f96;transition:.3s}.pillar:hover,.pillar:focus-visible,.pillar.is-active{transform:translateY(-4px);box-shadow:0 18px 40px rgba(12,16,22,.08);border-color:rgba(201,154,86,.32);background:#fffdf8}.pillar:hover i,.pillar:focus-visible i,.pillar.is-active i{transform:rotate(-45deg);border-color:rgba(201,154,86,.4);color:var(--ink)}.pillar.is-active:before{opacity:1}.pillar.is-active>span{color:var(--ink)}.pillar:focus-visible{outline:none}.profile-actions{display:flex;align-items:center;gap:24px;margin-top:36px}.text-link{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;border-bottom:1px solid var(--line);padding-bottom:5px}.text-link:hover{color:var(--gold)}.profile-ready .profile-photo-card{animation:profileLift .8s var(--ease) both}.profile-ready .profile-focus{animation:profileFade .75s var(--ease) .08s both}.profile-ready .profile-pillars .pillar:nth-child(1){animation:profileFade .55s var(--ease) .12s both}.profile-ready .profile-pillars .pillar:nth-child(2){animation:profileFade .55s var(--ease) .2s both}.profile-ready .profile-pillars .pillar:nth-child(3){animation:profileFade .55s var(--ease) .28s both}.profile-ready .profile-pillars .pillar:nth-child(4){animation:profileFade .55s var(--ease) .36s both}@keyframes profileLift{from{opacity:0;transform:translateY(26px) scale(.98)}to{opacity:1;transform:none}}@keyframes profileFade{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.publications{background:#f8f8f7}.publication-toolbar,.article-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;color:#7a7d82;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.search-box{width:min(420px,100%);height:50px;border:1px solid var(--line);border-radius:999px;padding:0 18px;display:flex;align-items:center;gap:10px;background:#fff}.search-box input{border:0;outline:0;background:transparent;width:100%;height:100%;font-size:14px;color:var(--ink)}.publication-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.publication-card{min-width:0}.publication-cover{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;border-radius:20px;overflow:hidden;padding:14px;background:linear-gradient(180deg,#f5f5f3,#ecebe8);box-shadow:0 15px 38px rgba(20,24,30,.08)}.publication-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,13,15,.74),transparent 45%);opacity:0;transition:.35s}.publication-cover img{width:100%;height:100%;object-fit:contain;object-position:center center;transition:transform .55s var(--ease)}.publication-open{position:absolute;z-index:2;left:18px;bottom:16px;color:#fff;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;opacity:0;transform:translateY(8px);transition:.35s}.publication-card:hover .publication-cover img{transform:scale(1.02)}.publication-card:hover .publication-cover:after,.publication-card:hover .publication-open{opacity:1}.publication-card:hover .publication-open{transform:none}.publication-body{padding:18px 5px 8px}.publication-body .eyebrow{font-size:9px}.publication-body .eyebrow:before{width:15px}.publication-body h3{font-size:19px;line-height:1.25;margin:10px 0 8px;letter-spacing:-.02em}.publication-body p{margin:0;color:#898c91;font-size:12px}.publication-card.search-hidden,.article-card.search-hidden{display:none}
.gallery-section{background:var(--ink);color:#fff;position:relative;overflow:hidden}.gallery-section:before{content:"";position:absolute;width:700px;height:700px;border-radius:50%;right:-300px;top:-180px;background:radial-gradient(circle,rgba(201,154,86,.13),transparent 67%)}.section-head.light p{color:rgba(255,255,255,.55)}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:28px}.gallery-filters{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.04);color:rgba(255,255,255,.66);border-radius:999px;padding:10px 14px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;transition:.25s}.filter-chip:hover,.filter-chip.active{background:var(--gold);color:#111;border-color:var(--gold)}.gallery-counter{font:400 18px Georgia,serif;color:var(--gold-2);white-space:nowrap}.modern-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-flow:dense;gap:12px}.gallery-card{position:relative;border:0;padding:0;background:#25282f;border-radius:16px;overflow:hidden;min-height:250px;text-align:left;color:#fff;isolation:isolate}.gallery-card:nth-child(7n+1){grid-column:span 2;grid-row:span 2;min-height:512px}.gallery-card:nth-child(9n+4){grid-row:span 2;min-height:512px}.gallery-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s var(--ease),filter .4s}.gallery-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,12,15,.76),transparent 50%);z-index:1}.gallery-card:hover img{transform:scale(1.045);filter:saturate(.75)}.gallery-card-meta{position:absolute;z-index:2;left:18px;right:18px;bottom:16px;display:flex;justify-content:space-between;align-items:end;gap:18px}.gallery-card-meta span{font-size:9px;text-transform:uppercase;letter-spacing:.12em;color:var(--gold-2);font-weight:800}.gallery-card-meta p{margin:4px 0 0;font-size:13px;line-height:1.35;color:rgba(255,255,255,.84);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gallery-zoom{width:34px;height:34px;flex:0 0 auto;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:grid;place-items:center}.btn-light{background:#fff;color:#111}.btn-light:hover{background:var(--gold-2)}
.videos-section{background:#ece9e3}.video-grid-modern{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.video-card{position:relative;min-height:350px;border:1px solid rgba(17,19,24,.08);border-radius:24px;overflow:hidden;background:#171a1f;color:#fff;padding:0;text-align:left;transition:transform .35s,box-shadow .35s}.video-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.video-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 20%,rgba(201,154,86,.35),transparent 30%),linear-gradient(155deg,#252a32,#0f1115 65%)}.video-card:after{content:"";position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px);background-size:40px 40px}.video-card-inner{position:absolute;z-index:2;inset:0;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.play-circle{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(10px);transition:.3s;font-size:20px}.video-card:hover .play-circle{background:var(--gold);color:#111;transform:scale(1.08)}.video-card small{display:block;color:var(--gold-2);font-size:9px;text-transform:uppercase;letter-spacing:.13em;font-weight:800}.video-card h3{font-size:19px;line-height:1.35;margin:10px 0 0;font-weight:550}.btn-ghost-dark{border:1px solid rgba(17,19,24,.18);background:transparent;color:var(--ink)}.btn-ghost-dark:hover{background:var(--ink);color:#fff}
.articles-section{background:#fff}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.article-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;display:grid;grid-template-columns:118px 1fr;min-height:160px;transition:transform .35s,box-shadow .35s}.article-card:hover{transform:translateY(-4px);box-shadow:0 18px 46px rgba(20,24,30,.09)}.article-thumb{position:relative;background:#eee;overflow:hidden}.article-thumb img{width:100%;height:100%;object-fit:cover;transition:.4s}.article-card:hover .article-thumb img{transform:scale(1.05)}.article-index{position:absolute;top:9px;left:9px;background:rgba(17,19,24,.74);backdrop-filter:blur(10px);color:#fff;border-radius:99px;padding:6px 9px;font-size:9px;letter-spacing:.1em}.article-copy{padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:14px}.article-copy h3{margin:0;font-size:17px;line-height:1.35}.article-copy a{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--gold)}.article-card.article-hidden{display:none}.btn-outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-outline:hover{border-color:var(--ink);background:var(--ink);color:#fff}
.contact-section{background:#121419;color:#fff;position:relative;overflow:hidden}.contact-section:before{content:"";position:absolute;left:-250px;bottom:-330px;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,rgba(201,154,86,.16),transparent 70%)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8vw;position:relative;z-index:2}.contact-intro p{max-width:500px;line-height:1.7;color:rgba(255,255,255,.58);font-size:16px}.social-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}.social-row a{border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:10px 14px;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:rgba(255,255,255,.72);transition:.25s}.social-row a:hover{background:#fff;color:#111}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:34px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);border-radius:28px;backdrop-filter:blur(10px)}.field{display:flex;flex-direction:column;gap:9px}.field.full,.contact-form .full{grid-column:1/-1}.field label{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.55);font-weight:800}.field input,.field textarea{width:100%;border:0;border-bottom:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;outline:0;border-radius:0;padding:11px 0;resize:vertical}.field input:focus,.field textarea:focus{border-color:var(--gold)}
.site-footer{background:#090a0d;color:#fff;padding:58px 0 26px;border-top:1px solid rgba(255,255,255,.06)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.footer-grid img{width:180px;height:86px;object-fit:contain}.footer-grid p{margin:0;color:rgba(255,255,255,.4);font-size:12px}.footer-grid a{color:rgba(255,255,255,.63);font-size:13px;transition:.2s}.footer-grid a:hover{color:var(--gold-2)}.footer-bottom{margin-top:46px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;color:rgba(255,255,255,.34);font-size:10px;text-transform:uppercase;letter-spacing:.1em}
.modal{position:fixed;z-index:2000;inset:0;display:grid;place-items:center;visibility:hidden;opacity:0;transition:.3s}.modal.open{visibility:visible;opacity:1}.modal-backdrop{position:absolute;inset:0;background:rgba(6,8,10,.86);backdrop-filter:blur(12px)}.modal-panel,.video-modal-panel,.media-modal{position:relative;z-index:2}.modal-panel{width:min(900px,calc(100% - 32px));max-height:min(86vh,850px);overflow:auto;background:#fff;border-radius:24px;padding:48px}.modal-text h2{font-size:clamp(34px,5vw,58px);margin:10px 0 28px;letter-spacing:-.04em}.bio-long p{font-size:16px;color:#60656b;line-height:1.85}.modal-close{position:absolute;z-index:5;top:16px;right:16px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(17,19,24,.86);color:#fff;font-size:27px;line-height:1;display:grid;place-items:center}.media-modal{width:min(1200px,calc(100% - 32px));height:min(88vh,850px);display:grid;place-items:center}.media-modal figure{width:100%;height:100%;margin:0;position:relative;border-radius:24px;overflow:hidden;background:#111}.media-modal figure img{width:100%;height:100%;object-fit:contain;background:#0c0e11}.media-modal figcaption{position:absolute;left:0;right:0;bottom:0;padding:50px 28px 24px;background:linear-gradient(0deg,rgba(8,10,12,.92),transparent);color:#fff}.media-modal figcaption span{font-size:9px;text-transform:uppercase;letter-spacing:.13em;color:var(--gold-2);font-weight:800}.media-modal figcaption p{margin:7px 0 0;max-width:900px;line-height:1.5}.media-nav{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(10,12,14,.58);color:#fff;font-size:32px;display:grid;place-items:center;backdrop-filter:blur(8px)}.media-nav.prev{left:18px}.media-nav.next{right:18px}.video-modal-panel{width:min(1000px,calc(100% - 32px));background:#111318;border-radius:24px;overflow:hidden;color:#fff;box-shadow:var(--shadow)}.video-frame{aspect-ratio:16/9;background:#050607}.video-frame iframe{width:100%;height:100%;border:0}.video-modal-panel h3{font-size:17px;line-height:1.5;margin:0;padding:20px 24px 24px;color:rgba(255,255,255,.78);font-weight:500}.back-top{position:fixed;z-index:800;right:22px;bottom:22px;width:46px;height:46px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(17,19,24,.82);backdrop-filter:blur(10px);color:#fff;opacity:0;visibility:hidden;transform:translateY(12px);transition:.3s}.back-top.show{opacity:1;visibility:visible;transform:none}.back-top:hover{background:var(--gold);color:#111}
@media(max-width:1100px){.desktop-nav{gap:18px}.desktop-nav a{font-size:10px}.publication-grid{grid-template-columns:repeat(3,1fr)}.modern-gallery{grid-template-columns:repeat(3,1fr)}.video-grid-modern{grid-template-columns:repeat(2,1fr)}.article-grid{grid-template-columns:repeat(2,1fr)}.bento-grid{grid-template-columns:1fr 1fr}.bento-large{grid-row:span 1}.bento-wide{grid-column:span 1}.profile-grid{gap:5vw}.profile-focus h3{font-size:25px}.hero-stats a{padding:14px 17px;min-width:96px}}
@media(max-width:860px){:root{--header-h:72px}.container{width:min(calc(100% - 32px),var(--max))}.section-pad{padding:86px 0}.desktop-nav,.header-social{display:none}.menu-toggle{display:block}.site-header{padding-inline:16px}.brand{width:126px}.hero{min-height:780px}.hero-content{position:relative;left:auto;right:auto;bottom:auto;width:calc(100% - 32px);margin:auto;padding-top:19vh}.hero h1{font-size:clamp(42px,11vw,66px)}.hero-lead{font-size:15px;max-width:500px}.hero-stats{left:16px;right:16px;bottom:24px;display:grid;grid-template-columns:repeat(4,1fr)}.hero-stats a{min-width:0;padding:12px 10px}.hero-stats strong{font-size:22px}.hero-stats span{font-size:8px}.hero-scroll{display:none}.sound-toggle{right:16px;top:88px}.section-head{grid-template-columns:1fr;gap:22px;margin-bottom:40px}.bento-grid{grid-template-columns:1fr 1fr;grid-auto-rows:220px}.profile-grid{grid-template-columns:1fr}.profile-photo{position:relative;top:auto;min-height:0}.profile-photo-card{min-height:0}.profile-photo img{height:min(680px,115vw)}.photo-label strong{font-size:28px}.profile-focus{padding:22px}.profile-focus h3{font-size:24px}.pillar{grid-template-columns:48px 1fr 38px}.publication-grid{grid-template-columns:repeat(2,1fr)}.modern-gallery{grid-template-columns:repeat(2,1fr)}.gallery-card:nth-child(7n+1){grid-column:span 2;min-height:450px}.gallery-card:nth-child(9n+4){grid-row:span 1;min-height:250px}.gallery-toolbar{align-items:flex-start;flex-direction:column}.contact-grid{grid-template-columns:1fr;gap:50px}.footer-grid{grid-template-columns:1.5fr 1fr 1fr}.cursor-glow{display:none}}
@media(max-width:600px){.section-pad{padding:74px 0}.hero{height:100svh;min-height:730px}.hero-overlay{background:linear-gradient(90deg,rgba(10,12,15,.92),rgba(10,12,15,.62)),linear-gradient(0deg,rgba(10,12,15,.82),transparent 55%)}.hero-content{padding-top:17vh}.hero h1{margin-top:14px;font-size:clamp(36px,12vw,54px)}.hero-lead{line-height:1.55;margin-bottom:24px}.hero-cta .btn{min-height:50px;padding:0 18px}.hero-stats{grid-template-columns:repeat(2,1fr);bottom:16px}.hero-stats a:nth-child(2){border-right:0}.hero-stats a:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.1)}.hero-stats a{padding:9px 12px}.hero-stats strong{font-size:19px}.bento-grid{grid-template-columns:1fr;grid-auto-rows:210px}.bento-wide{grid-column:auto}.bento{padding:23px}.profile-intro{font-size:16px}.profile-focus-top strong{font-size:28px}.profile-focus h3{font-size:22px}.pillar{grid-template-columns:40px 1fr 32px;padding:18px 16px}.pillar i{width:30px;height:30px}.profile-actions{align-items:flex-start;flex-direction:column}.publication-toolbar,.article-toolbar{align-items:flex-start;gap:12px;flex-direction:column}.search-box{width:100%}.publication-grid{grid-template-columns:1fr 1fr;gap:12px}.publication-body h3{font-size:15px}.publication-body p{display:none}.modern-gallery{grid-template-columns:1fr 1fr;gap:8px}.gallery-card,.gallery-card:nth-child(9n+4){min-height:190px}.gallery-card:nth-child(7n+1){min-height:330px}.gallery-card-meta{left:12px;right:12px;bottom:11px}.gallery-card-meta p{display:none}.video-grid-modern{grid-template-columns:1fr}.video-card{min-height:300px}.article-grid{grid-template-columns:1fr}.contact-form{padding:24px;grid-template-columns:1fr}.field.full,.contact-form .full{grid-column:auto}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:8px}.modal-panel{padding:38px 22px 28px}.media-modal{height:min(82vh,760px)}.media-modal figcaption{padding:44px 18px 18px}.media-modal figcaption p{font-size:13px}.media-nav{width:40px;height:40px}.media-nav.prev{left:8px}.media-nav.next{right:8px}.section-head h2,.profile-copy h2,.contact-intro h2{font-size:clamp(40px,12vw,56px)}}
@media(max-width:390px){.publication-grid{grid-template-columns:1fr}.hero h1{font-size:44px}.hero-lead{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}.hero-video{display:none}}

/* --- V3.7 | Entrada refinada para módulo Trayectoria --- */
.profile#trayectoria .profile-copy .eyebrow,
.profile#trayectoria .split-title span,
.profile#trayectoria .split-title em,
.profile#trayectoria .profile-intro,
.profile#trayectoria .profile-focus,
.profile#trayectoria .profile-actions,
.profile#trayectoria .pillar,
.profile#trayectoria .profile-photo-card,
.profile#trayectoria .photo-badge,
.profile#trayectoria .photo-label{
  opacity:0;
  will-change:transform,opacity,filter;
}

.profile#trayectoria .profile-photo-card{
  transform:translateY(42px) scale(.965);
  filter:saturate(.9) contrast(.98);
}

.profile#trayectoria .photo-badge{
  transform:translateY(-14px);
}

.profile#trayectoria .photo-label{
  transform:translateY(18px);
}

.profile#trayectoria .profile-copy .eyebrow{
  transform:translateY(14px);
}

.profile#trayectoria .split-title span,
.profile#trayectoria .split-title em{
  transform:translateY(34px);
}

.profile#trayectoria .profile-intro{
  transform:translateY(24px);
}

.profile#trayectoria .profile-focus{
  transform:translateY(28px) scale(.985);
}

.profile#trayectoria .pillar{
  transform:translateY(18px);
}

.profile#trayectoria .profile-actions{
  transform:translateY(20px);
}

.profile#trayectoria.profile-ready .profile-photo-card{
  animation:profilePhotoReveal .95s cubic-bezier(.2,.75,.2,1) .04s forwards;
}

.profile#trayectoria.profile-ready .photo-badge{
  animation:profileSoftRise .6s cubic-bezier(.2,.75,.2,1) .36s forwards;
}

.profile#trayectoria.profile-ready .photo-label{
  animation:profileSoftRise .72s cubic-bezier(.2,.75,.2,1) .44s forwards;
}

.profile#trayectoria.profile-ready .profile-copy .eyebrow{
  animation:profileSoftRise .55s cubic-bezier(.2,.75,.2,1) .16s forwards;
}

.profile#trayectoria.profile-ready .split-title span{
  animation:profileTitleReveal .72s cubic-bezier(.2,.75,.2,1) .24s forwards;
}

.profile#trayectoria.profile-ready .split-title em{
  animation:profileTitleReveal .82s cubic-bezier(.2,.75,.2,1) .38s forwards;
}

.profile#trayectoria.profile-ready .profile-intro{
  animation:profileSoftRise .78s cubic-bezier(.2,.75,.2,1) .5s forwards;
}

.profile#trayectoria.profile-ready .profile-focus{
  animation:profilePanelReveal .82s cubic-bezier(.2,.75,.2,1) .62s forwards;
}

.profile#trayectoria.profile-ready .pillar:nth-child(1){animation:profileSoftRise .56s cubic-bezier(.2,.75,.2,1) .76s forwards;}
.profile#trayectoria.profile-ready .pillar:nth-child(2){animation:profileSoftRise .56s cubic-bezier(.2,.75,.2,1) .88s forwards;}
.profile#trayectoria.profile-ready .pillar:nth-child(3){animation:profileSoftRise .56s cubic-bezier(.2,.75,.2,1) 1s forwards;}
.profile#trayectoria.profile-ready .pillar:nth-child(4){animation:profileSoftRise .56s cubic-bezier(.2,.75,.2,1) 1.12s forwards;}
.profile#trayectoria.profile-ready .profile-actions{
  animation:profileSoftRise .72s cubic-bezier(.2,.75,.2,1) 1.1s forwards;
}

@keyframes profilePhotoReveal{
  0%{opacity:0;transform:translateY(42px) scale(.965);filter:saturate(.88) contrast(.98) blur(2px)}
  60%{opacity:1;transform:translateY(-4px) scale(1.01);filter:saturate(1) contrast(1)}
  100%{opacity:1;transform:translateY(0) scale(1);filter:saturate(1) contrast(1)}
}

@keyframes profileTitleReveal{
  0%{opacity:0;transform:translateY(34px);filter:blur(4px)}
  100%{opacity:1;transform:translateY(0);filter:blur(0)}
}

@keyframes profilePanelReveal{
  0%{opacity:0;transform:translateY(28px) scale(.985);box-shadow:0 0 0 rgba(0,0,0,0)}
  100%{opacity:1;transform:translateY(0) scale(1);box-shadow:0 18px 45px rgba(16,18,21,.06)}
}

@keyframes profileSoftRise{
  0%{opacity:0;transform:translateY(18px);filter:blur(3px)}
  100%{opacity:1;transform:translateY(0);filter:blur(0)}
}

@media(max-width:860px){
  .profile#trayectoria .split-title span,
  .profile#trayectoria .split-title em{transform:translateY(26px)}
}

@media(prefers-reduced-motion:reduce){
  .profile#trayectoria .profile-copy .eyebrow,
  .profile#trayectoria .split-title span,
  .profile#trayectoria .split-title em,
  .profile#trayectoria .profile-intro,
  .profile#trayectoria .profile-focus,
  .profile#trayectoria .profile-actions,
  .profile#trayectoria .pillar,
  .profile#trayectoria .profile-photo-card,
  .profile#trayectoria .photo-badge,
  .profile#trayectoria .photo-label{
    opacity:1;
    transform:none;
    filter:none;
    animation:none !important;
  }
}

/* --- V3.8 | Transición negra desde portada hacia Trayectoria --- */
.profile#trayectoria{
  position:relative;
  padding-top:180px;
  background:
    radial-gradient(circle at 18% 12%, rgba(201,154,86,.18), rgba(201,154,86,0) 24%),
    linear-gradient(180deg,
      #0b0d10 0%,
      #0f1217 10%,
      #181c22 18%,
      #353941 27%,
      #d9d4ca 40%,
      #f4f2ee 50%,
      #ffffff 62%,
      #ffffff 100%);
}

.profile#trayectoria::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:300px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  pointer-events:none;
}

.profile#trayectoria .container{
  position:relative;
  z-index:1;
}

@media(max-width:860px){
  .profile#trayectoria{
    padding-top:135px;
    background:
      radial-gradient(circle at 22% 10%, rgba(201,154,86,.16), rgba(201,154,86,0) 25%),
      linear-gradient(180deg,
        #0b0d10 0%,
        #11141a 11%,
        #252a31 22%,
        #dcd7cf 42%,
        #f7f5f2 56%,
        #ffffff 70%,
        #ffffff 100%);
  }
  .profile#trayectoria::before{height:230px}
}

@media(max-width:600px){
  .profile#trayectoria{
    padding-top:112px;
    background:
      radial-gradient(circle at 20% 8%, rgba(201,154,86,.14), rgba(201,154,86,0) 24%),
      linear-gradient(180deg,
        #0b0d10 0%,
        #14181d 12%,
        #31353c 25%,
        #e3dfd8 44%,
        #faf8f6 58%,
        #ffffff 72%,
        #ffffff 100%);
  }
  .profile#trayectoria::before{height:180px}
}

/* --- V3.9 | Fade real y visible entre portada y Trayectoria --- */
.profile#trayectoria{
  position:relative;
  overflow:hidden;
  padding-top:420px;
  background:#fff;
}

.profile#trayectoria::before{
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  top:0;
  height:420px;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 18%, rgba(201,154,86,.14), rgba(201,154,86,0) 30%),
    linear-gradient(180deg,
      #0b0d10 0%,
      #0d1014 12%,
      #171b20 25%,
      #343941 40%,
      #70747a 55%,
      #b9b8b4 70%,
      #e9e7e2 84%,
      #f8f7f4 93%,
      #ffffff 100%);
}

.profile#trayectoria::after{
  content:"";
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  top:300px;
  height:180px;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 88%);
}

.profile#trayectoria .container{
  position:relative;
  z-index:1;
}

@media(max-width:860px){
  .profile#trayectoria{padding-top:320px;background:#fff}
  .profile#trayectoria::before{
    height:320px;
    background:
      radial-gradient(circle at 22% 14%, rgba(201,154,86,.12), rgba(201,154,86,0) 28%),
      linear-gradient(180deg,
        #0b0d10 0%,
        #11151a 16%,
        #252a30 34%,
        #666a70 54%,
        #c5c3be 74%,
        #f1efeb 90%,
        #ffffff 100%);
  }
  .profile#trayectoria::after{top:225px;height:135px}
}

@media(max-width:600px){
  .profile#trayectoria{padding-top:250px;background:#fff}
  .profile#trayectoria::before{
    height:250px;
    background:
      linear-gradient(180deg,
        #0b0d10 0%,
        #14181d 18%,
        #30353b 38%,
        #85878a 60%,
        #d8d5cf 80%,
        #f7f5f2 94%,
        #ffffff 100%);
  }
  .profile#trayectoria::after{top:175px;height:110px}
}

/* --- V4.2 | Fondo negro hasta debajo del párrafo que termina en 1990 --- */
.profile#trayectoria{
  position:relative;
  overflow:hidden;
  padding-top:120px;
  background:#ffffff;
}

.profile#trayectoria::before{
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  right:0;
  height:860px;
  background:#0b0d10;
  pointer-events:none;
}

.profile#trayectoria::after{
  content:none;
}

.profile#trayectoria .container{
  position:relative;
  z-index:1;
}

.profile#trayectoria .profile-copy > .eyebrow,
.profile#trayectoria .profile-copy > .eyebrow:before{
  color:var(--gold-2);
}

.profile#trayectoria .split-title span{
  color:#ffffff;
}

.profile#trayectoria .split-title em{
  color:var(--gold-2);
}

.profile#trayectoria .profile-intro{
  color:rgba(255,255,255,.82);
  max-width:95%;
}

.profile#trayectoria .profile-focus{
  margin-top:34px;
}

@media(max-width:1100px){
  .profile#trayectoria::before{
    height:900px;
  }
}

@media(max-width:860px){
  .profile#trayectoria{
    padding-top:86px;
  }

  .profile#trayectoria::before{
    height:860px;
  }

  .profile#trayectoria .split-title span{
    color:#ffffff;
  }

  .profile#trayectoria .profile-intro{
    color:rgba(255,255,255,.82);
  }
}

@media(max-width:600px){
  .profile#trayectoria{
    padding-top:74px;
  }

  .profile#trayectoria::before{
    height:760px;
  }

  .profile#trayectoria .profile-intro{
    color:rgba(255,255,255,.86);
  }

  .profile#trayectoria .profile-focus{
    margin-top:26px;
  }
}

/* --- V4.1 | Unión cinematográfica Portada → Trayectoria --- */
/* El video se funde completamente a negro antes de terminar */
.hero::after{
  content:"";
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  height:260px;
  pointer-events:none;
  background:linear-gradient(180deg,
    rgba(11,13,16,0) 0%,
    rgba(11,13,16,.16) 18%,
    rgba(11,13,16,.48) 42%,
    rgba(11,13,16,.78) 65%,
    rgba(11,13,16,.96) 86%,
    #0b0d10 100%);
}

/* Mantener texto, botones y estadísticas por encima del fundido */
.hero-content,
.hero-stats,
.sound-toggle,
.hero-scroll{
  z-index:4;
}

/* Negro continuo al entrar en Trayectoria; termina antes de "Explora la trayectoria" */
.profile#trayectoria{
  position:relative;
  overflow:hidden;
  padding-top:120px;
  background:#fff;
}

.profile#trayectoria::before{
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  right:0;
  height:675px;
  background:#0b0d10;
  pointer-events:none;
}

.profile#trayectoria::after{
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  left:0;
  right:0;
  top:675px;
  height:1px;
  background:#fff;
  pointer-events:none;
}

.profile#trayectoria .container{
  position:relative;
  z-index:1;
}

/* Zona superior legible sobre negro */
.profile#trayectoria .profile-copy > .eyebrow{
  color:var(--gold-2);
}
.profile#trayectoria .profile-copy > .eyebrow::before{
  background:currentColor;
}
.profile#trayectoria .split-title span{color:#fff;}
.profile#trayectoria .split-title em{color:var(--gold-2);}
.profile#trayectoria .profile-intro{color:rgba(255,255,255,.78);}

/* Desde Explora la trayectoria, todo vuelve visualmente a blanco */
.profile#trayectoria .profile-focus{
  position:relative;
  z-index:2;
  background:#fff;
  margin-top:34px;
}

@media(max-width:1100px){
  .profile#trayectoria::before{height:710px;}
  .profile#trayectoria::after{top:710px;}
}

@media(max-width:860px){
  .hero::after{height:220px;}
  .profile#trayectoria{padding-top:86px;}
  .profile#trayectoria::before{height:820px;}
  .profile#trayectoria::after{top:820px;}
}

@media(max-width:600px){
  .hero::after{height:190px;}
  .profile#trayectoria{padding-top:74px;}
  .profile#trayectoria::before{height:760px;}
  .profile#trayectoria::after{top:760px;}
  .profile#trayectoria .profile-focus{margin-top:26px;}
}

/* --- V4.4 | La foto acompaña la lectura durante todo el módulo --- */
.profile#trayectoria .profile-grid{
  align-items:stretch;
}

.profile#trayectoria .profile-photo{
  position:relative;
  align-self:stretch;
  min-height:100%;
}

.profile#trayectoria .profile-photo-card{
  position:sticky;
  top:108px;
}

@media(max-width:860px){
  .profile#trayectoria .profile-grid{
    align-items:start;
  }

  .profile#trayectoria .profile-photo{
    align-self:auto;
    min-height:0;
  }

  .profile#trayectoria .profile-photo-card{
    position:relative;
    top:auto;
  }
}

/* --- V4.5 | Corrección real del sticky de la foto --- */
.profile#trayectoria{
  overflow:visible !important;
}

.profile#trayectoria .profile-grid{
  align-items:stretch !important;
}

.profile#trayectoria .profile-photo{
  position:relative !important;
  top:auto !important;
  align-self:stretch !important;
  min-height:100% !important;
  overflow:visible !important;
}

.profile#trayectoria .profile-photo-card{
  position:sticky !important;
  top:96px !important;
  z-index:3;
}

@media(max-width:860px){
  .profile#trayectoria{
    overflow:hidden !important;
  }
  .profile#trayectoria .profile-photo{
    min-height:0 !important;
  }
  .profile#trayectoria .profile-photo-card{
    position:relative !important;
    top:auto !important;
  }
}

/* --- V4.6 | Rediseño modal "Acerca de mí" --- */
.modal-bio{
  width:min(1120px,calc(100% - 32px));
  max-height:min(88vh,900px);
  padding:0;
  overflow:hidden;
  border-radius:30px;
  background:linear-gradient(180deg,#fbfaf8,#ffffff);
  box-shadow:0 32px 80px rgba(7,10,14,.28);
  border:1px solid rgba(255,255,255,.12);
}

.bio-modal-grid{
  display:grid;
  grid-template-columns:340px 1fr;
  min-height:min(88vh,900px);
}

.bio-sidebar{
  position:relative;
  padding:42px 32px 32px;
  color:#fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(201,154,86,.26), rgba(201,154,86,0) 34%),
    linear-gradient(180deg,#111419 0%,#171b22 38%,#0f1217 100%);
  overflow:hidden;
}

.bio-sidebar::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(180deg,#000,transparent 88%);
  pointer-events:none;
}

.bio-sidebar > *{position:relative;z-index:1}

.bio-sidebar .eyebrow{color:var(--gold-2)}
.bio-sidebar .eyebrow::before{background:currentColor}
.bio-sidebar h2{margin:22px 0 18px;color:#fff;font-size:clamp(42px,4.6vw,64px);line-height:.95;letter-spacing:-.045em}
.bio-sidebar-lead{margin:0;color:rgba(255,255,255,.72);line-height:1.75;font-size:15px}

.bio-mini-card{
  margin-top:30px;
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  backdrop-filter:blur(10px);
}
.bio-mini-card span{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-2);font-weight:800}
.bio-mini-card strong{display:block;margin-top:8px;font:400 28px Georgia,serif;line-height:1.08;color:#fff}
.bio-mini-card ul{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}
.bio-mini-card li{color:rgba(255,255,255,.74);line-height:1.5;font-size:14px}
.bio-mini-card b{color:#fff;font-weight:700}

.bio-content{
  padding:40px 40px 34px;
  overflow:auto;
}

.bio-highlight{
  position:relative;
  padding:26px 28px;
  border-radius:24px;
  background:linear-gradient(180deg,#f8f5ef,#fefdfb);
  border:1px solid rgba(201,154,86,.18);
  box-shadow:0 16px 40px rgba(18,22,28,.06);
}
.bio-highlight::before{
  content:"";
  position:absolute;
  left:0;top:22px;bottom:22px;width:4px;border-radius:999px;
  background:linear-gradient(180deg,var(--gold),var(--gold-2));
}
.bio-highlight .eyebrow{margin-left:12px}
.bio-highlight p{margin:14px 0 0;color:#596068;font-size:17px;line-height:1.95}

.bio-long{display:grid;gap:18px;margin-top:22px;padding-bottom:4px}
.bio-block{
  padding:24px 28px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 28px rgba(16,20,25,.04);
}
.bio-block .eyebrow{margin-bottom:12px}
.bio-block p{margin:0;color:#5d646c;font-size:16px;line-height:1.95}

.modal-bio .modal-close{
  top:18px;
  right:18px;
  width:46px;height:46px;
  background:rgba(17,19,24,.88);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}

@media(max-width:900px){
  .modal-bio{width:min(100%,calc(100% - 20px));max-height:min(92vh,920px)}
  .bio-modal-grid{grid-template-columns:1fr;min-height:auto}
  .bio-sidebar{padding:34px 24px 26px}
  .bio-content{padding:26px 22px 24px}
  .bio-sidebar h2{font-size:clamp(36px,9vw,56px)}
  .bio-highlight p,.bio-block p{font-size:15px;line-height:1.85}
}

@media(max-width:600px){
  .modal-bio{border-radius:24px}
  .bio-sidebar{padding:30px 20px 22px}
  .bio-mini-card{padding:18px}
  .bio-mini-card strong{font-size:24px}
  .bio-highlight{padding:22px 20px 22px 22px}
  .bio-block{padding:20px}
}

/* --- V4.7 | Rediseño elegante del módulo Biblioteca --- */
.publications{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#fbfaf8 0%,#f6f4f0 100%);
}

.publications::before{
  content:"";
  position:absolute;
  top:-180px;
  right:-180px;
  width:520px;
  height:520px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(201,154,86,.10),rgba(201,154,86,0) 68%);
  pointer-events:none;
}

.publications::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,rgba(201,154,86,0),rgba(201,154,86,.4),rgba(201,154,86,0));
}

.publications-head{
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:end;
  margin-bottom:38px;
}

.publications-copy h2{
  margin-top:14px;
}

.publications-search-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
}

.publication-search-box{
  width:min(520px,100%);
  height:60px;
  border:1px solid rgba(24,28,34,.08);
  background:rgba(255,255,255,.76);
  backdrop-filter:blur(12px);
  box-shadow:0 16px 32px rgba(18,22,28,.04);
}

.publication-search-box span{
  font-size:13px;
  color:#8c9096;
}

.publication-search-box input{
  font-size:15px;
}

.publication-total{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#8a8e95;
  font-weight:700;
}

.publication-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:26px 18px;
  align-items:start;
}

.publication-card{
  position:relative;
  min-width:0;
  transition:transform .35s var(--ease);
}

.publication-card::before{
  content:"";
  position:absolute;
  inset:10px 14px auto 14px;
  height:76%;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(17,19,24,.10),rgba(17,19,24,0));
  filter:blur(18px);
  opacity:.26;
  z-index:0;
  transition:opacity .35s,transform .35s;
}

.publication-cover{
  position:relative;
  z-index:1;
  padding:16px;
  border-radius:24px;
  background:linear-gradient(180deg,#f8f7f4 0%,#ebe7df 100%);
  border:1px solid rgba(24,28,34,.06);
  box-shadow:0 20px 44px rgba(16,20,25,.08);
}

.publication-cover::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.30),transparent 24%);
  pointer-events:none;
}

.publication-cover img{
  border-radius:14px;
}

.publication-open{
  left:16px;
  bottom:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(17,19,24,.52);
  backdrop-filter:blur(10px);
  font-size:10px;
}

.publication-body{
  position:relative;
  z-index:1;
  padding:18px 4px 6px;
}

.publication-body h3{
  font-size:17px;
  line-height:1.28;
}

.publication-body p{
  font-size:12px;
  color:#83878d;
}

.publication-card:hover{
  transform:translateY(-8px);
}

.publication-card:hover::before{
  opacity:.38;
  transform:translateY(8px) scale(1.02);
}

.publication-card:hover .publication-cover img{
  transform:scale(1.03) translateY(-2px);
}

.publications .publication-card.reveal{
  transform:translateY(34px);
}

.publications .publication-card.reveal.is-visible{
  transform:none;
}

.publications .publication-card:nth-child(1).reveal{transition-delay:.03s}
.publications .publication-card:nth-child(2).reveal{transition-delay:.07s}
.publications .publication-card:nth-child(3).reveal{transition-delay:.11s}
.publications .publication-card:nth-child(4).reveal{transition-delay:.15s}
.publications .publication-card:nth-child(5).reveal{transition-delay:.19s}
.publications .publication-card:nth-child(6).reveal{transition-delay:.23s}
.publications .publication-card:nth-child(7).reveal{transition-delay:.27s}
.publications .publication-card:nth-child(8).reveal{transition-delay:.31s}
.publications .publication-card:nth-child(9).reveal{transition-delay:.35s}

@media(max-width:1180px){
  .publications-head{grid-template-columns:1fr;gap:24px;align-items:start}
  .publications-search-wrap{align-items:flex-start}
  .publication-search-box{width:min(560px,100%)}
  .publication-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:860px){
  .publications-head{margin-bottom:30px}
  .publications-search-wrap{gap:10px}
  .publication-search-box{height:56px}
  .publication-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 14px}
}

@media(max-width:600px){
  .publication-search-box{height:52px}
  .publication-total{font-size:11px;letter-spacing:.12em}
  .publication-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .publication-body h3{font-size:15px}
}

/* --- V4.8 | Biblioteca Showcase Editorial Premium --- */
.publications{
  position:relative;
  overflow:hidden;
  background:#f6f3ee;
  color:var(--ink);
}

.publications::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 10%,rgba(201,154,86,.10),transparent 28%),
    linear-gradient(rgba(17,19,24,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(17,19,24,.02) 1px,transparent 1px);
  background-size:auto,72px 72px,72px 72px;
  pointer-events:none;
}

.publications > .container{position:relative;z-index:1}

.publications-intro{
  display:grid;
  grid-template-columns:1fr minmax(360px,520px);
  gap:60px;
  align-items:end;
  margin-bottom:42px;
}

.publications-intro h2{
  margin:12px 0 0;
  font-size:clamp(46px,5.8vw,78px);
  line-height:.92;
  letter-spacing:-.05em;
  font-weight:600;
}

.publications-intro h2 em{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  color:var(--gold-2);
}

.publications-search-wrap{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-end;
}

.publication-search-box{
  width:100%;
  height:58px;
  border-radius:999px;
  border:1px solid rgba(17,19,24,.10);
  background:rgba(255,255,255,.78);
  box-shadow:0 16px 40px rgba(20,24,30,.05);
  backdrop-filter:blur(12px);
}

.publication-total{
  padding-right:10px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:800;
  color:#85898f;
}

.book-showcase{
  display:grid;
  grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr);
  min-height:650px;
  border-radius:36px;
  overflow:hidden;
  background:#111419;
  box-shadow:0 34px 80px rgba(10,13,18,.18);
  border:1px solid rgba(17,19,24,.08);
}

.book-stage{
  position:relative;
  min-height:650px;
  display:grid;
  place-items:center;
  padding:58px 42px 72px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 42%,rgba(201,154,86,.24),transparent 36%),
    linear-gradient(145deg,#1b2028,#0d0f13 72%);
}

.book-stage::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.18;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px);
  background-size:70px 70px;
  mask-image:linear-gradient(180deg,#000,transparent 86%);
}

.book-stage::after{
  content:"";
  position:absolute;
  left:12%;
  right:12%;
  bottom:82px;
  height:42px;
  border-radius:50%;
  background:rgba(0,0,0,.52);
  filter:blur(18px);
}

.book-stage-glow{
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(226,185,123,.22),rgba(226,185,123,0) 68%);
  animation:bookGlow 6s ease-in-out infinite alternate;
}

@keyframes bookGlow{
  from{transform:translate(-14px,-10px) scale(.94);opacity:.75}
  to{transform:translate(18px,12px) scale(1.07);opacity:1}
}

.book-cover-shell{
  position:relative;
  z-index:2;
  width:min(280px,82%);
  aspect-ratio:3/4;
  padding:12px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 36px 55px rgba(0,0,0,.36);
  transform:perspective(1000px) rotateY(-5deg) rotateX(1deg);
  transition:opacity .3s,transform .45s var(--ease),filter .3s;
}

.book-cover-shell::before{
  content:"";
  position:absolute;
  left:-9px;
  top:14px;
  bottom:14px;
  width:12px;
  border-radius:9px 0 0 9px;
  background:linear-gradient(90deg,rgba(0,0,0,.54),rgba(255,255,255,.08));
  opacity:.72;
}

.book-cover-shell img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:10px;
}

.book-cover-shell:hover{
  transform:perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.015);
}

.book-cover-shell.book-changing{
  opacity:.18;
  filter:blur(4px);
  transform:perspective(1000px) rotateY(-10deg) translateY(12px) scale(.97);
}

.book-stage-caption{
  position:absolute;
  z-index:3;
  left:34px;
  bottom:26px;
  color:rgba(255,255,255,.52);
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:800;
}

.book-details{
  position:relative;
  padding:48px 44px 42px;
  background:linear-gradient(180deg,#fff 0%,#fbfaf7 100%);
}

.book-details::before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-100px;
  top:-100px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(201,154,86,.11),transparent 68%);
}

.book-details-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
  margin-bottom:24px;
}

.book-counter{
  display:flex;
  align-items:baseline;
  gap:5px;
  color:var(--gold);
}

.book-counter strong{
  font:400 clamp(42px,4vw,62px) Georgia,serif;
  line-height:.8;
}

.book-counter small{
  font-size:11px;
  color:#999da3;
  letter-spacing:.12em;
}

.book-feature-copy{
  position:relative;
  z-index:1;
  min-height:190px;
  padding-bottom:28px;
  border-bottom:1px solid var(--line);
  transition:opacity .25s,transform .35s var(--ease),filter .25s;
}

.book-feature-copy.book-changing{
  opacity:0;
  filter:blur(3px);
  transform:translateY(10px);
}

.book-feature-copy h3{
  max-width:700px;
  margin:0;
  font-size:clamp(32px,3.2vw,50px);
  line-height:1.04;
  letter-spacing:-.045em;
  font-weight:600;
}

.book-feature-copy p{
  margin:14px 0 24px;
  color:#7c8188;
  font-size:14px;
}

.book-open-main{
  min-height:50px;
  padding-inline:22px;
}

.book-selector-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:26px;
}

.book-selector{
  position:relative;
  min-width:0;
  min-height:152px;
  padding:8px;
  border:1px solid rgba(17,19,24,.08);
  border-radius:16px;
  background:#fff;
  text-align:left;
  overflow:hidden;
  transition:transform .28s var(--ease),border-color .28s,box-shadow .28s,background .28s;
}

.book-selector[hidden]{display:none!important}

.book-selector-number{
  position:absolute;
  top:9px;
  right:10px;
  z-index:2;
  font:400 12px Georgia,serif;
  color:#a0a4aa;
}

.book-selector-thumb{
  display:block;
  height:88px;
  border-radius:10px;
  overflow:hidden;
  background:#f0ede7;
  margin-bottom:10px;
}

.book-selector-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .35s var(--ease);
}

.book-selector-title{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:10px;
  line-height:1.35;
  color:#51565d;
  font-weight:700;
}

.book-selector:hover{
  transform:translateY(-4px);
  border-color:rgba(201,154,86,.34);
  box-shadow:0 12px 26px rgba(17,19,24,.07);
}

.book-selector:hover .book-selector-thumb img{transform:scale(1.045)}

.book-selector.is-active{
  background:#15191f;
  border-color:#15191f;
  box-shadow:0 16px 34px rgba(15,19,24,.16);
}

.book-selector.is-active .book-selector-number{color:var(--gold-2)}
.book-selector.is-active .book-selector-title{color:#fff}
.book-selector.is-active .book-selector-thumb{background:#252a31}

.book-empty{
  margin-top:28px;
  padding:22px;
  border:1px dashed var(--line);
  border-radius:16px;
  color:#7b8087;
  text-align:center;
}

/* Entrada cinematográfica del showcase */
.book-showcase.reveal{
  opacity:0;
  transform:translateY(42px) scale(.985);
  clip-path:inset(0 0 16% 0 round 36px);
  transition:opacity .9s var(--ease),transform .9s var(--ease),clip-path 1s var(--ease);
}

.book-showcase.reveal.is-visible{
  opacity:1;
  transform:none;
  clip-path:inset(0 0 0 0 round 36px);
}

.book-showcase.reveal .book-cover-shell{
  opacity:0;
  transform:perspective(1000px) rotateY(-14deg) translateX(-24px) translateY(20px) scale(.95);
}

.book-showcase.reveal.is-visible .book-cover-shell{
  opacity:1;
  transform:perspective(1000px) rotateY(-5deg) rotateX(1deg);
  transition-delay:.22s;
}

.book-showcase.reveal .book-details-top,
.book-showcase.reveal .book-feature-copy,
.book-showcase.reveal .book-selector-grid{
  opacity:0;
  transform:translateY(22px);
}

.book-showcase.reveal.is-visible .book-details-top{
  animation:bookShowcaseRise .6s var(--ease) .25s forwards;
}
.book-showcase.reveal.is-visible .book-feature-copy{
  animation:bookShowcaseRise .65s var(--ease) .36s forwards;
}
.book-showcase.reveal.is-visible .book-selector-grid{
  animation:bookShowcaseRise .65s var(--ease) .48s forwards;
}

@keyframes bookShowcaseRise{
  to{opacity:1;transform:none}
}

@media(max-width:1120px){
  .publications-intro{grid-template-columns:1fr;gap:24px;align-items:start}
  .publications-search-wrap{align-items:flex-start}
  .publication-search-box{width:min(560px,100%)}
  .book-showcase{grid-template-columns:360px minmax(0,1fr)}
  .book-stage{padding-inline:32px}
  .book-details{padding:40px 30px 34px}
  .book-selector-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
  .book-selector{min-height:142px;padding:8px}
}

@media(max-width:860px){
  .book-showcase{grid-template-columns:1fr;min-height:0}
  .book-stage{min-height:520px}
  .book-cover-shell{width:min(260px,66%)}
  .book-details{padding:34px 24px 30px}
  .book-feature-copy{min-height:0}
  .book-selector-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}

@media(max-width:650px){
  .publications-intro h2{font-size:clamp(42px,13vw,62px)}
  .book-stage{min-height:430px;padding:46px 24px 62px}
  .book-cover-shell{width:min(230px,72%)}
  .book-details-top{margin-bottom:20px}
  .book-feature-copy h3{font-size:clamp(28px,8.5vw,40px)}
  .book-selector-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .book-selector{min-height:136px}
}

@media(prefers-reduced-motion:reduce){
  .book-stage-glow{animation:none}
  .book-showcase.reveal,
  .book-showcase.reveal .book-cover-shell,
  .book-showcase.reveal .book-details-top,
  .book-showcase.reveal .book-feature-copy,
  .book-showcase.reveal .book-selector-grid{
    opacity:1;
    transform:none;
    clip-path:none;
    animation:none!important;
  }
}

/* --- V4.9 | Reseña bajo portada + entrada editorial dinámica --- */
.book-showcase{
  position:relative;
}

.book-stage{
  min-height:760px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:26px;
  padding:54px 42px 78px;
}

.book-stage-description{
  position:relative;
  z-index:3;
  width:min(330px,90%);
  padding:18px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
  transition:opacity .28s,transform .35s var(--ease),filter .28s;
}

.book-stage-description::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--gold-2),var(--gold));
}

.book-stage-description span{
  display:block;
  margin-left:8px;
  color:var(--gold-2);
  font-size:9px;
  letter-spacing:.17em;
  text-transform:uppercase;
  font-weight:800;
}

.book-stage-description p{
  margin:8px 0 0 8px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.65;
}

.book-stage-description.book-changing{
  opacity:0;
  transform:translateY(10px);
  filter:blur(3px);
}

/* Cortina editorial al entrar al módulo */
.book-showcase.reveal::after{
  content:"";
  position:absolute;
  z-index:20;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,#111419 0%,#111419 55%,#d2a35e 56%,#f7f5f0 57%,#f7f5f0 100%);
  transform:translateX(0);
}

.book-showcase.reveal.is-visible::after{
  animation:bookCurtainReveal 1.15s cubic-bezier(.72,0,.18,1) .04s forwards;
}

@keyframes bookCurtainReveal{
  0%{transform:translateX(0)}
  100%{transform:translateX(102%)}
}

/* La portada entra desde la izquierda; la ficha desde la derecha */
.book-showcase.reveal .book-stage{
  opacity:0;
  transform:translateX(-34px) scale(.985);
}

.book-showcase.reveal .book-details{
  opacity:0;
  transform:translateX(34px);
}

.book-showcase.reveal.is-visible .book-stage{
  animation:bookStageEnter .8s var(--ease) .34s forwards;
}

.book-showcase.reveal.is-visible .book-details{
  animation:bookDetailsEnter .82s var(--ease) .40s forwards;
}

@keyframes bookStageEnter{
  from{opacity:0;transform:translateX(-34px) scale(.985)}
  to{opacity:1;transform:none}
}

@keyframes bookDetailsEnter{
  from{opacity:0;transform:translateX(34px)}
  to{opacity:1;transform:none}
}

/* Reseña entra después de la portada */
.book-showcase.reveal .book-stage-description{
  opacity:0;
  transform:translateY(18px);
}

.book-showcase.reveal.is-visible .book-stage-description{
  animation:bookDescriptionEnter .62s var(--ease) .72s forwards;
}

@keyframes bookDescriptionEnter{
  to{opacity:1;transform:none}
}

/* Selector de libros aparece como secuencia editorial */
.book-showcase.reveal .book-selector{
  opacity:0;
  transform:translateY(16px) scale(.96);
}

.book-showcase.reveal.is-visible .book-selector{
  animation:bookSelectorEnter .48s var(--ease) forwards;
}

.book-showcase.reveal.is-visible .book-selector:nth-child(1){animation-delay:.76s}
.book-showcase.reveal.is-visible .book-selector:nth-child(2){animation-delay:.82s}
.book-showcase.reveal.is-visible .book-selector:nth-child(3){animation-delay:.88s}
.book-showcase.reveal.is-visible .book-selector:nth-child(4){animation-delay:.94s}
.book-showcase.reveal.is-visible .book-selector:nth-child(5){animation-delay:1s}
.book-showcase.reveal.is-visible .book-selector:nth-child(6){animation-delay:1.06s}
.book-showcase.reveal.is-visible .book-selector:nth-child(7){animation-delay:1.12s}
.book-showcase.reveal.is-visible .book-selector:nth-child(8){animation-delay:1.18s}
.book-showcase.reveal.is-visible .book-selector:nth-child(9){animation-delay:1.24s}

@keyframes bookSelectorEnter{
  to{opacity:1;transform:none}
}

@media(max-width:860px){
  .book-stage{min-height:650px;padding:46px 30px 72px}
  .book-stage-description{width:min(390px,88%)}
}

@media(max-width:650px){
  .book-stage{min-height:570px;padding:42px 22px 66px;gap:20px}
  .book-stage-description{width:min(340px,92%);padding:16px 17px}
  .book-stage-description p{font-size:12px;line-height:1.6}
}

@media(prefers-reduced-motion:reduce){
  .book-showcase.reveal::after{display:none}
  .book-showcase.reveal .book-stage,
  .book-showcase.reveal .book-details,
  .book-showcase.reveal .book-stage-description,
  .book-showcase.reveal .book-selector{
    opacity:1;
    transform:none;
    animation:none!important;
  }
}

/* --- V4.9.2 | Portadas del selector claramente más grandes --- */
.book-selector{
  min-height:184px !important;
  padding:8px !important;
}

.book-selector-thumb{
  height:120px !important;
  margin-bottom:10px !important;
  border-radius:12px !important;
  background:#f0ede7;
}

.book-selector-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  transform:scale(1.04);
}

.book-selector:hover .book-selector-thumb img{
  transform:scale(1.09) !important;
}

.book-selector-title{
  font-size:11px !important;
  line-height:1.3 !important;
}

@media(max-width:1180px){
  .book-selector{min-height:174px !important}
  .book-selector-thumb{height:110px !important}
}

@media(max-width:860px){
  .book-selector{min-height:166px !important}
  .book-selector-thumb{height:104px !important}
}

@media(max-width:600px){
  .book-selector{min-height:154px !important}
  .book-selector-thumb{height:94px !important}
}

/* --- V5.0 | Fotografía compacta, elegante e interactiva --- */
.gallery-section{
  background:linear-gradient(180deg,#101318 0%,#0c0f13 100%);
}

.compact-gallery-head{
  margin-bottom:30px;
}

.compact-gallery-head p{
  max-width:560px;
}

.gallery-stage{
  position:relative;
  border-radius:34px;
  padding:28px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 82% 12%, rgba(201,154,86,.14), rgba(201,154,86,0) 28%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow:0 24px 64px rgba(0,0,0,.24);
  overflow:hidden;
}

.gallery-stage::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(180deg,#000,transparent 88%);
  opacity:.22;
  pointer-events:none;
}

.gallery-stage > *{position:relative;z-index:1}

.gallery-stage-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:start;
  margin-bottom:22px;
}

.gallery-stage-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.gallery-counter-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 2px;
}

.gallery-counter-label{
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.52);
  font-weight:800;
}

.gallery-counter{
  font:400 22px Georgia,serif;
  color:var(--gold-2);
  white-space:nowrap;
}

.gallery-nav{
  display:flex;
  gap:8px;
}

.gallery-nav-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:#fff;
  display:grid;
  place-items:center;
  transition:transform .25s var(--ease),background .25s,border-color .25s,opacity .25s;
}

.gallery-nav-btn:hover:not(:disabled){
  transform:translateY(-2px);
  background:var(--gold);
  border-color:var(--gold);
  color:#111;
}

.gallery-nav-btn:disabled{
  opacity:.35;
  cursor:default;
}

.gallery-open-all{
  min-height:42px;
  padding:0 18px;
}

.gallery-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.filter-chip{
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.72);
  border-radius:999px;
  padding:11px 15px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-weight:800;
  transition:.25s;
}

.filter-chip:hover,.filter-chip.active{
  background:var(--gold);
  color:#111;
  border-color:var(--gold);
}

.gallery-compact-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  grid-auto-rows:168px;
  gap:14px;
  min-height:518px;
}

.gallery-card{
  position:relative;
  border:0;
  padding:0;
  background:#25282f;
  border-radius:24px;
  overflow:hidden;
  text-align:left;
  color:#fff;
  isolation:isolate;
  min-height:0;
  --from-x:0px;
  --from-y:26px;
  --from-r:0deg;
  opacity:0;
  transform:translate3d(var(--from-x),var(--from-y),0) rotate(var(--from-r)) scale(.955);
  transition:transform .72s cubic-bezier(.2,.78,.18,1), opacity .72s cubic-bezier(.2,.78,.18,1), box-shadow .35s var(--ease);
  transition-delay:var(--delay,0ms);
  box-shadow:0 18px 38px rgba(0,0,0,.20);
}

.gallery-card.is-mounted{
  opacity:1;
  transform:translate3d(0,0,0) rotate(0deg) scale(1);
}

.gallery-card-featured{
  grid-column:span 2;
  grid-row:span 2;
}

.gallery-card img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s var(--ease), filter .45s var(--ease);
}

.gallery-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(10,12,15,.78),rgba(10,12,15,.10) 45%,rgba(10,12,15,.04));
  z-index:1;
}

.gallery-card:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 46px rgba(0,0,0,.26);
}

.gallery-card:hover img{
  transform:scale(1.045);
  filter:saturate(.88);
}

.gallery-card-meta{
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:16px;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
}

.gallery-card-featured .gallery-card-meta{
  left:22px;
  right:22px;
  bottom:20px;
}

.gallery-card-meta span{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--gold-2);
  font-weight:800;
}

.gallery-card-meta p{
  margin:6px 0 0;
  color:rgba(255,255,255,.9);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
  -webkit-line-clamp:2;
  line-height:1.35;
  font-size:13px;
}

.gallery-card-featured .gallery-card-meta p{
  font-size:15px;
  max-width:90%;
}

.gallery-zoom{
  width:38px;
  height:38px;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.28);
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(8px);
}

.gallery-stage.reveal{
  opacity:0;
  transform:translateY(34px);
}

.gallery-stage.reveal.is-visible{
  opacity:1;
  transform:none;
}

.gallery-stage.reveal::after{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:100%;
  background:linear-gradient(90deg,#0c0f13 0%, rgba(12,15,19,.95) 26%, rgba(12,15,19,0) 72%);
  transform:translateX(0);
  transition:transform 1s cubic-bezier(.2,.78,.18,1);
  z-index:3;
  pointer-events:none;
}

.gallery-stage.reveal.is-visible::after{
  transform:translateX(101%);
}

.gallery-stage.reveal .gallery-stage-top,
.gallery-stage.reveal .gallery-compact-grid{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}

.gallery-stage.reveal.is-visible .gallery-stage-top{
  opacity:1;
  transform:none;
  transition-delay:.16s;
}

.gallery-stage.reveal.is-visible .gallery-compact-grid{
  opacity:1;
  transform:none;
  transition-delay:.28s;
}

@media(max-width:1180px){
  .gallery-stage-top{grid-template-columns:1fr}
  .gallery-stage-actions{justify-content:flex-start}
  .gallery-compact-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:170px;min-height:530px}
  .gallery-card-featured{grid-column:span 2;grid-row:span 2}
}

@media(max-width:860px){
  .gallery-stage{padding:22px}
  .gallery-stage-actions{gap:10px}
  .gallery-counter{font-size:20px}
  .gallery-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:180px;min-height:auto}
  .gallery-card-featured{grid-column:span 2;grid-row:span 2}
}

@media(max-width:600px){
  .compact-gallery-head p{display:none}
  .gallery-stage{padding:18px;border-radius:26px}
  .gallery-counter-wrap{width:100%;justify-content:space-between}
  .gallery-open-all{width:100%}
  .gallery-nav{margin-left:auto}
  .gallery-filters{gap:8px}
  .filter-chip{padding:10px 13px;font-size:9px}
  .gallery-compact-grid{grid-template-columns:1fr;grid-auto-rows:210px;gap:12px}
  .gallery-card-featured,.gallery-card{grid-column:auto;grid-row:auto}
  .gallery-card-featured{min-height:260px}
}

@media(prefers-reduced-motion:reduce){
  .gallery-stage.reveal,
  .gallery-stage.reveal .gallery-stage-top,
  .gallery-stage.reveal .gallery-compact-grid,
  .gallery-card,
  .gallery-stage.reveal::after{
    opacity:1;
    transform:none;
    transition:none;
    animation:none;
  }
  .gallery-stage.reveal::after{display:none}
}

/* --- V5.1 | Corrección galería: fotos visibles + textos limpios --- */
.gallery-compact-grid{
  grid-template-columns:1.25fr 1.25fr 1fr 1fr 1fr;
  grid-auto-rows:180px;
  min-height:374px;
}

.gallery-card-featured{
  grid-column:span 2;
  grid-row:span 2;
}

.gallery-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  color:transparent;
}

.gallery-card.image-error{
  background:
    radial-gradient(circle at 70% 20%,rgba(201,154,86,.18),transparent 30%),
    linear-gradient(145deg,#2a2f37,#171a20 65%);
}

.gallery-card.image-error::before{
  content:"Fotografía";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.18);
  font:400 28px Georgia,serif;
  letter-spacing:.04em;
}

.gallery-card-meta{
  left:16px;
  right:16px;
  bottom:14px;
  gap:12px;
}

.gallery-card-meta > div{
  min-width:0;
}

.gallery-card-meta p{
  margin:5px 0 0;
  font-size:12px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  display:block;
}

.gallery-card-featured .gallery-card-meta p{
  font-size:14px;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.gallery-zoom{
  width:34px;
  height:34px;
}

@media(max-width:1180px){
  .gallery-compact-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:175px;
    min-height:539px;
  }
  .gallery-card-featured{grid-column:span 2;grid-row:span 2}
}

@media(max-width:860px){
  .gallery-compact-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:180px;
    min-height:auto;
  }
  .gallery-card-featured{grid-column:span 2;grid-row:span 2}
}

@media(max-width:600px){
  .gallery-compact-grid{
    grid-template-columns:1fr;
    grid-auto-rows:220px;
  }
  .gallery-card-featured,.gallery-card{grid-column:auto;grid-row:auto}
  .gallery-card-featured{min-height:280px}
  .gallery-card-meta p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}


/* --- V5.2 | Mosaico que se arma al entrar --- */
.gallery-compact-grid .gallery-card:nth-child(1){--from-x:-130px;--from-y:42px;--from-r:-4deg}
.gallery-compact-grid .gallery-card:nth-child(2){--from-x:0px;--from-y:-120px;--from-r:2.5deg}
.gallery-compact-grid .gallery-card:nth-child(3){--from-x:110px;--from-y:-70px;--from-r:4deg}
.gallery-compact-grid .gallery-card:nth-child(4){--from-x:150px;--from-y:24px;--from-r:5deg}
.gallery-compact-grid .gallery-card:nth-child(5){--from-x:-80px;--from-y:110px;--from-r:-3deg}
.gallery-compact-grid .gallery-card:nth-child(6){--from-x:85px;--from-y:105px;--from-r:3deg}
.gallery-compact-grid .gallery-card:nth-child(7){--from-x:-95px;--from-y:0px;--from-r:-4deg}
.gallery-compact-grid .gallery-card:nth-child(8){--from-x:120px;--from-y:85px;--from-r:4deg}

.gallery-card-featured.is-mounted{transition-duration:.84s}
.gallery-stage.reveal.is-visible .gallery-compact-grid{transition-delay:.18s}

@media(max-width:860px){
  .gallery-compact-grid .gallery-card:nth-child(1){--from-x:-70px;--from-y:30px;--from-r:-3deg}
  .gallery-compact-grid .gallery-card:nth-child(2){--from-x:0px;--from-y:-70px;--from-r:2deg}
  .gallery-compact-grid .gallery-card:nth-child(3){--from-x:70px;--from-y:-26px;--from-r:3deg}
  .gallery-compact-grid .gallery-card:nth-child(4){--from-x:72px;--from-y:18px;--from-r:3deg}
  .gallery-compact-grid .gallery-card:nth-child(5){--from-x:-50px;--from-y:70px;--from-r:-2deg}
  .gallery-compact-grid .gallery-card:nth-child(6){--from-x:50px;--from-y:68px;--from-r:2deg}
}

@media(prefers-reduced-motion:reduce){
  .gallery-card{opacity:1;transform:none;transition:none}
}

/* --- V5.3 | Ensamble real del mosaico al llegar a la galería --- */
.gallery-stage.reveal::after{
  display:none !important;
}

.gallery-stage.reveal .gallery-compact-grid,
.gallery-stage.reveal.is-visible .gallery-compact-grid{
  opacity:1 !important;
  transform:none !important;
  transition:none !important;
}

.gallery-card{
  opacity:0;
  filter:blur(7px);
  transform:translate3d(var(--from-x),var(--from-y),0) rotate(var(--from-r)) scale(.88);
  transition:
    transform .92s cubic-bezier(.16,.84,.18,1),
    opacity .58s ease,
    filter .78s ease,
    box-shadow .35s var(--ease);
  transition-delay:var(--delay,0ms);
}

.gallery-card.is-mounted{
  opacity:1;
  filter:blur(0);
  transform:translate3d(0,0,0) rotate(0deg) scale(1);
}

.gallery-compact-grid .gallery-card:nth-child(1){--from-x:-300px;--from-y:90px;--from-r:-6deg}
.gallery-compact-grid .gallery-card:nth-child(2){--from-x:-35px;--from-y:-250px;--from-r:5deg}
.gallery-compact-grid .gallery-card:nth-child(3){--from-x:120px;--from-y:-220px;--from-r:-5deg}
.gallery-compact-grid .gallery-card:nth-child(4){--from-x:330px;--from-y:25px;--from-r:7deg}
.gallery-compact-grid .gallery-card:nth-child(5){--from-x:-210px;--from-y:240px;--from-r:5deg}
.gallery-compact-grid .gallery-card:nth-child(6){--from-x:190px;--from-y:260px;--from-r:-6deg}
.gallery-compact-grid .gallery-card:nth-child(7){--from-x:-260px;--from-y:-40px;--from-r:-7deg}
.gallery-compact-grid .gallery-card:nth-child(8){--from-x:260px;--from-y:190px;--from-r:7deg}

.gallery-card-featured{
  transition-duration:1.02s,.62s,.82s,.35s;
}

@media(max-width:860px){
  .gallery-compact-grid .gallery-card:nth-child(1){--from-x:-150px;--from-y:60px;--from-r:-5deg}
  .gallery-compact-grid .gallery-card:nth-child(2){--from-x:0px;--from-y:-160px;--from-r:4deg}
  .gallery-compact-grid .gallery-card:nth-child(3){--from-x:130px;--from-y:-110px;--from-r:-4deg}
  .gallery-compact-grid .gallery-card:nth-child(4){--from-x:160px;--from-y:30px;--from-r:5deg}
  .gallery-compact-grid .gallery-card:nth-child(5){--from-x:-120px;--from-y:150px;--from-r:4deg}
  .gallery-compact-grid .gallery-card:nth-child(6){--from-x:110px;--from-y:160px;--from-r:-4deg}
}

@media(max-width:600px){
  .gallery-card{--from-x:0px;--from-y:80px;--from-r:0deg}
  .gallery-compact-grid .gallery-card:nth-child(odd){--from-x:-90px;--from-y:55px;--from-r:-3deg}
  .gallery-compact-grid .gallery-card:nth-child(even){--from-x:90px;--from-y:55px;--from-r:3deg}
}

@media(prefers-reduced-motion:reduce){
  .gallery-card{opacity:1;filter:none;transform:none;transition:none}
}

/* --- V5.4 | Fondos con líneas en movimiento para Libros y Galería --- */
.publications,
.publications .container,
.gallery-section,
.gallery-stage{
  position:relative;
}

.publications{
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(201,154,86,.10), rgba(201,154,86,0) 28%),
    linear-gradient(90deg, rgba(16,19,24,.035) 0, rgba(16,19,24,.035) 1px, transparent 1px, transparent 130px),
    linear-gradient(180deg, rgba(201,154,86,.045) 0, rgba(201,154,86,.045) 1px, transparent 1px, transparent 130px),
    linear-gradient(180deg,#fbfaf8 0%,#f6f4f0 100%);
  background-size:auto, 130px 130px, 130px 130px, auto;
  animation:booksLinesMove 20s linear infinite;
}

.publications::before{
  content:"";
  position:absolute;
  inset:-10% -5%;
  pointer-events:none;
  opacity:.55;
  background:
    linear-gradient(120deg, transparent 0 10%, rgba(201,154,86,.08) 12%, transparent 16%),
    linear-gradient(120deg, transparent 0 44%, rgba(201,154,86,.06) 46%, transparent 50%),
    linear-gradient(120deg, transparent 0 72%, rgba(201,154,86,.05) 74%, transparent 78%);
  background-size:150% 150%;
  animation:booksGlowSweep 16s linear infinite;
}

.publications > * ,
.publications .container > *{
  position:relative;
  z-index:1;
}

.gallery-section{
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(201,154,86,.12), rgba(201,154,86,0) 22%),
    linear-gradient(90deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px, transparent 1px, transparent 138px),
    linear-gradient(180deg, rgba(201,154,86,.045) 0, rgba(201,154,86,.045) 1px, transparent 1px, transparent 138px),
    linear-gradient(180deg,#101318 0%,#0c0f13 100%);
  background-size:auto, 138px 138px, 138px 138px, auto;
  animation:galleryLinesMove 22s linear infinite;
}

.gallery-section::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(115deg, transparent 0 14%, rgba(201,154,86,.075) 16%, transparent 20%),
    linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.045) 38%, transparent 41%),
    linear-gradient(115deg, transparent 0 62%, rgba(201,154,86,.055) 64%, transparent 67%);
  opacity:.45;
  background-size:170% 170%;
  animation:gallerySweep 18s linear infinite;
}

.gallery-stage{
  background:
    radial-gradient(circle at 78% 12%, rgba(201,154,86,.16), rgba(201,154,86,0) 28%),
    linear-gradient(100deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 112px),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  background-size:auto, 112px 112px, auto;
  animation:stageLinesMove 14s linear infinite;
}

.gallery-stage::before{
  opacity:.16;
}

@keyframes booksLinesMove{
  0%{background-position:0 0, 0 0, 0 0, 0 0}
  100%{background-position:0 0, 180px 0, 0 180px, 0 0}
}

@keyframes booksGlowSweep{
  0%{transform:translate3d(-8%,0,0)}
  100%{transform:translate3d(8%,0,0)}
}

@keyframes galleryLinesMove{
  0%{background-position:0 0, 0 0, 0 0, 0 0}
  100%{background-position:0 0, 220px 0, 0 220px, 0 0}
}

@keyframes gallerySweep{
  0%{transform:translate3d(-6%,0,0)}
  100%{transform:translate3d(6%,0,0)}
}

@keyframes stageLinesMove{
  0%{background-position:0 0, 0 0, 0 0}
  100%{background-position:0 0, 170px 0, 0 0}
}

@media(max-width:860px){
  .publications,
  .gallery-section{
    background-size:auto, 92px 92px, 92px 92px, auto;
  }
  .gallery-stage{
    background-size:auto, 86px 86px, auto;
  }
}

@media(prefers-reduced-motion:reduce){
  .publications,
  .gallery-section,
  .gallery-stage,
  .publications::before,
  .gallery-section::after{
    animation:none !important;
  }
}


/* --- V5.5 | Ondas tipo Vektoor más visibles en Libros y Galería --- */
.publications,
.gallery-section,
.gallery-stage{
  position:relative;
  overflow:hidden;
}

.publications{
  background:linear-gradient(180deg,#fbfaf8 0%,#f4f1ea 100%) !important;
}

.publications::before,
.publications::after{
  content:"";
  position:absolute;
  inset:-4% -6%;
  pointer-events:none;
  z-index:0;
}

.publications::before{
  background:
    radial-gradient(circle at 18% 18%, rgba(201,154,86,.14), rgba(201,154,86,0) 22%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 460' fill='none'%3E%3Cpath d='M-120 110C70 10 220 210 420 110C620 10 780 210 980 110C1180 10 1340 210 1560 110C1660 70 1720 90 1760 110' stroke='%23c99a56' stroke-opacity='.62' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M-120 210C80 120 210 320 420 210C630 100 760 320 980 210C1200 100 1330 320 1560 210C1660 170 1720 190 1760 210' stroke='%23c99a56' stroke-opacity='.40' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-120 320C90 220 220 420 430 320C640 220 770 420 980 320C1190 220 1320 420 1560 320C1660 280 1720 300 1760 320' stroke='%23c99a56' stroke-opacity='.26' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:auto, 1550px 420px;
  background-position:0 0, center 10px;
  opacity:.95;
  animation:vekWaveDriftGold 18s linear infinite, vekWaveFloatA 11s ease-in-out infinite;
}

.publications::after{
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 460' fill='none'%3E%3Cpath d='M-120 110C70 10 220 210 420 110C620 10 780 210 980 110C1180 10 1340 210 1560 110C1660 70 1720 90 1760 110' stroke='%23c99a56' stroke-opacity='.62' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M-120 210C80 120 210 320 420 210C630 100 760 320 980 210C1200 100 1330 320 1560 210C1660 170 1720 190 1760 210' stroke='%23c99a56' stroke-opacity='.40' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-120 320C90 220 220 420 430 320C640 220 770 420 980 320C1190 220 1320 420 1560 320C1660 280 1720 300 1760 320' stroke='%23c99a56' stroke-opacity='.26' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:1750px 470px;
  background-position:center 140px;
  opacity:.55;
  filter:blur(.2px);
  animation:vekWaveDriftSoft 24s linear infinite reverse, vekWaveFloatB 15s ease-in-out infinite;
}

.publications > *,
.publications .container > *{
  position:relative;
  z-index:1;
}

.gallery-section{
  background:linear-gradient(180deg,#0e1218 0%,#090d12 100%) !important;
}

.gallery-section::before,
.gallery-section::after{
  content:"";
  position:absolute;
  inset:-5% -6%;
  pointer-events:none;
}

.gallery-section::before{
  z-index:0;
  background:
    radial-gradient(circle at 82% 12%, rgba(201,154,86,.18), rgba(201,154,86,0) 24%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 460' fill='none'%3E%3Cpath d='M-120 120C70 20 220 220 420 120C620 20 780 220 980 120C1180 20 1340 220 1560 120C1660 80 1720 100 1760 120' stroke='%23ffffff' stroke-opacity='.18' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-120 230C80 140 210 340 420 230C630 120 760 340 980 230C1200 120 1330 340 1560 230C1660 190 1720 210 1760 230' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 460' fill='none'%3E%3Cpath d='M-120 110C70 10 220 210 420 110C620 10 780 210 980 110C1180 10 1340 210 1560 110C1660 70 1720 90 1760 110' stroke='%23c99a56' stroke-opacity='.62' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M-120 210C80 120 210 320 420 210C630 100 760 320 980 210C1200 100 1330 320 1560 210C1660 170 1720 190 1760 210' stroke='%23c99a56' stroke-opacity='.40' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-120 320C90 220 220 420 430 320C640 220 770 420 980 320C1190 220 1320 420 1560 320C1660 280 1720 300 1760 320' stroke='%23c99a56' stroke-opacity='.26' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:auto, 1680px 450px, 1680px 450px;
  background-position:0 0, center 0px, center 95px;
  opacity:.92;
  animation:vekWaveDriftDark 20s linear infinite, vekWaveFloatA 12s ease-in-out infinite;
}

.gallery-section::after{
  z-index:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 460' fill='none'%3E%3Cpath d='M-120 110C70 10 220 210 420 110C620 10 780 210 980 110C1180 10 1340 210 1560 110C1660 70 1720 90 1760 110' stroke='%23c99a56' stroke-opacity='.62' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M-120 210C80 120 210 320 420 210C630 100 760 320 980 210C1200 100 1330 320 1560 210C1660 170 1720 190 1760 210' stroke='%23c99a56' stroke-opacity='.40' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-120 320C90 220 220 420 430 320C640 220 770 420 980 320C1190 220 1320 420 1560 320C1660 280 1720 300 1760 320' stroke='%23c99a56' stroke-opacity='.26' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:1850px 490px;
  background-position:center 210px;
  opacity:.42;
  animation:vekWaveDriftSoft 28s linear infinite reverse, vekWaveFloatC 18s ease-in-out infinite;
}

.gallery-stage{
  z-index:1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)),
    radial-gradient(circle at 82% 10%, rgba(201,154,86,.16), rgba(201,154,86,0) 24%);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 28px 70px rgba(0,0,0,.28);
}

.gallery-stage::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.48;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 460' fill='none'%3E%3Cpath d='M-120 110C70 10 220 210 420 110C620 10 780 210 980 110C1180 10 1340 210 1560 110C1660 70 1720 90 1760 110' stroke='%23c99a56' stroke-opacity='.62' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M-120 210C80 120 210 320 420 210C630 100 760 320 980 210C1200 100 1330 320 1560 210C1660 170 1720 190 1760 210' stroke='%23c99a56' stroke-opacity='.40' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-120 320C90 220 220 420 430 320C640 220 770 420 980 320C1190 220 1320 420 1560 320C1660 280 1720 300 1760 320' stroke='%23c99a56' stroke-opacity='.26' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center 18px/1500px 390px;
  animation:vekWaveDriftStage 16s linear infinite, vekWaveFloatB 10s ease-in-out infinite;
}

.gallery-stage > *{
  position:relative;
  z-index:1;
}

@keyframes vekWaveDriftGold{
  0%{background-position:0 0, center 10px}
  100%{background-position:0 0, calc(50% + 120px) 10px}
}

@keyframes vekWaveDriftSoft{
  0%{background-position:center 140px}
  100%{background-position:calc(50% - 120px) 140px}
}

@keyframes vekWaveDriftDark{
  0%{background-position:0 0, center 0px, center 95px}
  100%{background-position:0 0, calc(50% + 120px) 0px, calc(50% - 120px) 95px}
}

@keyframes vekWaveDriftStage{
  0%{background-position:center 18px}
  100%{background-position:calc(50% + 90px) 18px}
}

@keyframes vekWaveFloatA{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

@keyframes vekWaveFloatB{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(10px)}
}

@keyframes vekWaveFloatC{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

@media(max-width:860px){
  .publications::before{background-size:auto, 1180px 340px;background-position:0 0, center 25px;}
  .publications::after{background-size:1280px 360px;background-position:center 150px;}
  .gallery-section::before{background-size:auto, 1240px 350px, 1240px 350px;background-position:0 0, center 20px, center 110px;}
  .gallery-section::after{background-size:1320px 370px;background-position:center 220px;}
  .gallery-stage::before{background-size:1120px 310px;background-position:center 24px;}
}

@media(prefers-reduced-motion:reduce){
  .publications::before,
  .publications::after,
  .gallery-section::before,
  .gallery-section::after,
  .gallery-stage::before{
    animation:none !important;
  }
}


/* --- V5.6 | Fondo igual al estilo servicios de Vektoor, adaptado a la paleta actual --- */
.publications,
.gallery-section,
.gallery-stage{
  position:relative;
  overflow:hidden;
}

.publications{
  background:linear-gradient(180deg,#fbfaf6 0%,#f3efe7 100%) !important;
}

.publications::before,
.publications::after{
  content:"";
  position:absolute;
  inset:-2% -4%;
  pointer-events:none;
  z-index:0;
  will-change:transform, background-position;
}

.publications::before{
  background:
    radial-gradient(circle at 16% 16%, rgba(201,154,86,.13), rgba(201,154,86,0) 24%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 92C60 56 162 32 294 46C447 63 539 135 694 137C845 139 942 68 1088 57C1240 45 1348 102 1494 114C1622 125 1717 97 1878 56' stroke='%23c99a56' stroke-opacity='.58' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-98 174C56 135 165 112 315 127C459 141 559 218 712 220C853 221 945 158 1088 145C1235 132 1348 179 1499 194C1640 208 1732 186 1895 145' stroke='%23c99a56' stroke-opacity='.42' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-100 258C42 220 150 203 299 219C438 234 546 308 699 309C840 309 945 245 1085 233C1230 220 1344 265 1496 280C1637 294 1737 272 1898 229' stroke='%23c99a56' stroke-opacity='.28' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M-116 344C33 304 156 284 304 302C445 319 551 392 699 394C833 396 937 335 1077 321C1230 306 1340 349 1493 364C1630 378 1734 356 1896 314' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-70 86C90 36 198 48 330 79C469 111 555 161 701 164C849 166 940 121 1080 95C1237 66 1335 78 1488 111C1620 140 1712 135 1886 83' stroke='%23d6c2a0' stroke-opacity='.28' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-72 224C88 174 203 186 339 217C474 248 566 298 709 300C853 302 945 257 1085 231C1240 202 1339 213 1493 246C1628 275 1717 270 1887 218' stroke='%23d6c2a0' stroke-opacity='.18' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:auto, 1820px 500px, 1720px 460px;
  background-position:0 0, center 20px, center 190px;
  opacity:.92;
  animation:vekServiceWavesPrimary 18s linear infinite, vekServiceFloatA 12s ease-in-out infinite;
}

.publications::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-70 86C90 36 198 48 330 79C469 111 555 161 701 164C849 166 940 121 1080 95C1237 66 1335 78 1488 111C1620 140 1712 135 1886 83' stroke='%23d6c2a0' stroke-opacity='.28' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-72 224C88 174 203 186 339 217C474 248 566 298 709 300C853 302 945 257 1085 231C1240 202 1339 213 1493 246C1628 275 1717 270 1887 218' stroke='%23d6c2a0' stroke-opacity='.18' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 92C60 56 162 32 294 46C447 63 539 135 694 137C845 139 942 68 1088 57C1240 45 1348 102 1494 114C1622 125 1717 97 1878 56' stroke='%23c99a56' stroke-opacity='.58' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-98 174C56 135 165 112 315 127C459 141 559 218 712 220C853 221 945 158 1088 145C1235 132 1348 179 1499 194C1640 208 1732 186 1895 145' stroke='%23c99a56' stroke-opacity='.42' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-100 258C42 220 150 203 299 219C438 234 546 308 699 309C840 309 945 245 1085 233C1230 220 1344 265 1496 280C1637 294 1737 272 1898 229' stroke='%23c99a56' stroke-opacity='.28' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M-116 344C33 304 156 284 304 302C445 319 551 392 699 394C833 396 937 335 1077 321C1230 306 1340 349 1493 364C1630 378 1734 356 1896 314' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:1880px 520px, 1980px 540px;
  background-position:center -20px, center 250px;
  opacity:.55;
  animation:vekServiceWavesSecondary 24s linear infinite reverse, vekServiceFloatB 16s ease-in-out infinite;
}

.publications > *,
.publications .container > *{position:relative;z-index:1}

.gallery-section{
  background:linear-gradient(180deg,#0b1016 0%,#090d12 100%) !important;
}

.gallery-section::before,
.gallery-section::after{
  content:"";
  position:absolute;
  inset:-3% -4%;
  pointer-events:none;
  z-index:0;
  will-change:transform, background-position;
}

.gallery-section::before{
  background:
    radial-gradient(circle at 80% 12%, rgba(201,154,86,.16), rgba(201,154,86,0) 22%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 110C60 74 162 52 294 66C447 83 539 155 694 157C845 159 942 88 1088 77C1240 65 1348 122 1494 134C1622 145 1717 117 1878 76' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-98 214C56 175 165 152 315 167C459 181 559 258 712 260C853 261 945 198 1088 185C1235 172 1348 219 1499 234C1640 248 1732 226 1895 185' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M-116 332C33 292 156 272 304 290C445 307 551 380 699 382C833 384 937 323 1077 309C1230 294 1340 337 1493 352C1630 366 1734 344 1896 302' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 92C60 56 162 32 294 46C447 63 539 135 694 137C845 139 942 68 1088 57C1240 45 1348 102 1494 114C1622 125 1717 97 1878 56' stroke='%23c99a56' stroke-opacity='.58' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-98 174C56 135 165 112 315 127C459 141 559 218 712 220C853 221 945 158 1088 145C1235 132 1348 179 1499 194C1640 208 1732 186 1895 145' stroke='%23c99a56' stroke-opacity='.42' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-100 258C42 220 150 203 299 219C438 234 546 308 699 309C840 309 945 245 1085 233C1230 220 1344 265 1496 280C1637 294 1737 272 1898 229' stroke='%23c99a56' stroke-opacity='.28' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M-116 344C33 304 156 284 304 302C445 319 551 392 699 394C833 396 937 335 1077 321C1230 306 1340 349 1493 364C1630 378 1734 356 1896 314' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:auto, 1880px 520px, 1880px 520px;
  background-position:0 0, center 10px, center 120px;
  opacity:.94;
  animation:vekServiceWavesPrimary 19s linear infinite, vekServiceFloatA 13s ease-in-out infinite;
}

.gallery-section::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 92C60 56 162 32 294 46C447 63 539 135 694 137C845 139 942 68 1088 57C1240 45 1348 102 1494 114C1622 125 1717 97 1878 56' stroke='%23c99a56' stroke-opacity='.58' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-98 174C56 135 165 112 315 127C459 141 559 218 712 220C853 221 945 158 1088 145C1235 132 1348 179 1499 194C1640 208 1732 186 1895 145' stroke='%23c99a56' stroke-opacity='.42' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-100 258C42 220 150 203 299 219C438 234 546 308 699 309C840 309 945 245 1085 233C1230 220 1344 265 1496 280C1637 294 1737 272 1898 229' stroke='%23c99a56' stroke-opacity='.28' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M-116 344C33 304 156 284 304 302C445 319 551 392 699 394C833 396 937 335 1077 321C1230 306 1340 349 1493 364C1630 378 1734 356 1896 314' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 110C60 74 162 52 294 66C447 83 539 155 694 157C845 159 942 88 1088 77C1240 65 1348 122 1494 134C1622 145 1717 117 1878 76' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-98 214C56 175 165 152 315 167C459 181 559 258 712 260C853 261 945 198 1088 185C1235 172 1348 219 1499 234C1640 248 1732 226 1895 185' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M-116 332C33 292 156 272 304 290C445 307 551 380 699 382C833 384 937 323 1077 309C1230 294 1340 337 1493 352C1630 366 1734 344 1896 302' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:2000px 540px, 1940px 540px;
  background-position:center -34px, center 240px;
  opacity:.42;
  animation:vekServiceWavesSecondary 26s linear infinite reverse, vekServiceFloatC 17s ease-in-out infinite;
}

.gallery-stage{
  z-index:1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)),
    radial-gradient(circle at 85% 10%, rgba(201,154,86,.12), rgba(201,154,86,0) 22%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 30px 70px rgba(0,0,0,.30);
  backdrop-filter:blur(4px);
}

.gallery-stage::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 110C60 74 162 52 294 66C447 83 539 155 694 157C845 159 942 88 1088 77C1240 65 1348 122 1494 134C1622 145 1717 117 1878 76' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-98 214C56 175 165 152 315 167C459 181 559 258 712 260C853 261 945 198 1088 185C1235 172 1348 219 1499 234C1640 248 1732 226 1895 185' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M-116 332C33 292 156 272 304 290C445 307 551 380 699 382C833 384 937 323 1077 309C1230 294 1340 337 1493 352C1630 366 1734 344 1896 302' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 520' fill='none'%3E%3Cpath d='M-80 92C60 56 162 32 294 46C447 63 539 135 694 137C845 139 942 68 1088 57C1240 45 1348 102 1494 114C1622 125 1717 97 1878 56' stroke='%23c99a56' stroke-opacity='.58' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-98 174C56 135 165 112 315 127C459 141 559 218 712 220C853 221 945 158 1088 145C1235 132 1348 179 1499 194C1640 208 1732 186 1895 145' stroke='%23c99a56' stroke-opacity='.42' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-100 258C42 220 150 203 299 219C438 234 546 308 699 309C840 309 945 245 1085 233C1230 220 1344 265 1496 280C1637 294 1737 272 1898 229' stroke='%23c99a56' stroke-opacity='.28' stroke-width='1.65' stroke-linecap='round'/%3E%3Cpath d='M-116 344C33 304 156 284 304 302C445 319 551 392 699 394C833 396 937 335 1077 321C1230 306 1340 349 1493 364C1630 378 1734 356 1896 314' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:1480px 400px, 1520px 410px;
  background-position:center 16px, center 130px;
  opacity:.28;
  animation:vekServiceWavesStage 16s linear infinite, vekServiceFloatB 11s ease-in-out infinite;
}

.gallery-stage > *{position:relative;z-index:1}

@keyframes vekServiceWavesPrimary{
  0%{background-position:0 0, calc(50% - 110px) 10px, calc(50% + 80px) 120px}
  100%{background-position:0 0, calc(50% + 110px) 10px, calc(50% - 80px) 120px}
}

@keyframes vekServiceWavesSecondary{
  0%{background-position:calc(50% + 90px) -24px, calc(50% - 120px) 240px}
  100%{background-position:calc(50% - 90px) -24px, calc(50% + 120px) 240px}
}

@keyframes vekServiceWavesStage{
  0%{background-position:calc(50% - 70px) 16px, calc(50% + 45px) 130px}
  100%{background-position:calc(50% + 70px) 16px, calc(50% - 45px) 130px}
}

@keyframes vekServiceFloatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes vekServiceFloatB{0%,100%{transform:translateY(0)}50%{transform:translateY(9px)}}
@keyframes vekServiceFloatC{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}

@media(max-width:860px){
  .publications::before{background-size:auto, 1280px 360px, 1220px 330px;background-position:0 0, center 18px, center 142px;}
  .publications::after{background-size:1320px 370px, 1380px 390px;background-position:center 0px, center 190px;}
  .gallery-section::before{background-size:auto, 1320px 380px, 1320px 380px;background-position:0 0, center 18px, center 110px;}
  .gallery-section::after{background-size:1400px 400px, 1360px 390px;background-position:center -6px, center 190px;}
  .gallery-stage::before{background-size:1080px 300px, 1120px 300px;background-position:center 20px, center 108px;}
}

@media(prefers-reduced-motion:reduce){
  .publications::before,
  .publications::after,
  .gallery-section::before,
  .gallery-section::after,
  .gallery-stage::before{animation:none !important}
}


/* --- V5.7 | Fondos estilo servicios de Vektoor, realmente adaptados --- */
.publications,
.gallery-section,
.gallery-stage,
.book-showcase{position:relative;overflow:hidden}

.publications{
  background:linear-gradient(180deg,#fbfaf6 0%,#f4efe6 100%) !important;
}
.publications::before,
.publications::after,
.gallery-section::before,
.gallery-section::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
.publications::before{
  background:
    radial-gradient(circle at 78% 12%, rgba(201,154,86,.10), rgba(201,154,86,0) 20%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23c99a56' stroke-opacity='.30' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23c99a56' stroke-opacity='.12' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-121 184C153 232 297 238 475 169C651 100 752 55 930 81C1114 108 1220 199 1396 229C1590 262 1740 242 2050 179' stroke='%230f1720' stroke-opacity='.08' stroke-width='1.9' stroke-linecap='round'/%3E%3Cpath d='M-121 450C153 499 300 505 478 435C655 365 757 320 938 347C1117 374 1223 465 1399 495C1592 528 1742 508 2053 445' stroke='%230f1720' stroke-opacity='.05' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:auto, 2100px 760px, 2100px 760px;
  background-position:0 0, center -10px, center 110px;
  opacity:1;
  animation:vekSectionWaveA 19s ease-in-out infinite alternate;
}
.publications::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23c99a56' stroke-opacity='.30' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23c99a56' stroke-opacity='.12' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 500' fill='none'%3E%3Crect x='84' y='90' width='46' height='46' rx='14' stroke='%23c99a56' stroke-opacity='.16'/%3E%3Crect x='278' y='36' width='34' height='34' rx='10' stroke='%230f1720' stroke-opacity='.10'/%3E%3Ccircle cx='771' cy='91' r='32' stroke='%23c99a56' stroke-opacity='.12'/%3E%3Ccircle cx='624' cy='312' r='22' stroke='%23c99a56' stroke-opacity='.10'/%3E%3Crect x='124' y='352' width='32' height='32' rx='11' stroke='%230f1720' stroke-opacity='.08'/%3E%3Crect x='742' y='390' width='44' height='44' rx='16' stroke='%23c99a56' stroke-opacity='.10'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:2200px 790px, 1000px 560px;
  background-position:center 255px, center 8px;
  opacity:.92;
  animation:vekSectionWaveB 24s ease-in-out infinite alternate;
}
.publications > .container,
.gallery-section > .container{position:relative;z-index:1}

.book-showcase{
  border:1px solid rgba(15,23,32,.08);
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.60));
  box-shadow:0 24px 64px rgba(18,22,28,.08);
}
.book-showcase::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23c99a56' stroke-opacity='.30' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23c99a56' stroke-opacity='.18' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23c99a56' stroke-opacity='.12' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"),
    radial-gradient(circle at 80% 18%, rgba(201,154,86,.10), rgba(201,154,86,0) 22%);
  background-repeat:no-repeat,no-repeat;
  background-size:1650px 550px, auto;
  background-position:center 35px, 0 0;
  opacity:.42;
  animation:vekPanelWave 18s ease-in-out infinite alternate;
}
.book-showcase > *{position:relative;z-index:1}

.gallery-section{
  background:linear-gradient(180deg,#0b1016 0%,#090d12 100%) !important;
}
.gallery-section::before{
  background:
    radial-gradient(circle at 18% 15%, rgba(214,164,93,.12), rgba(214,164,93,0) 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-121 160C153 208 297 214 475 145C651 76 752 31 930 57C1114 84 1220 175 1396 205C1590 238 1740 218 2050 155' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-121 432C153 481 300 487 478 417C655 347 757 302 938 329C1117 356 1223 447 1399 477C1592 510 1742 490 2053 427' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 118C145 166 297 178 477 107C650 39 756 -7 935 21C1119 50 1230 139 1401 170C1591 204 1736 181 2053 114' stroke='%23d6a45d' stroke-opacity='.40' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-129 305C147 354 294 361 475 291C651 223 757 177 936 205C1120 233 1226 325 1400 357C1590 392 1741 370 2054 302' stroke='%23d6a45d' stroke-opacity='.26' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-121 533C147 579 297 589 483 520C658 455 764 405 947 430C1124 455 1230 544 1402 576C1590 611 1740 591 2052 527' stroke='%23d6a45d' stroke-opacity='.18' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-size:auto, 2150px 780px, 2150px 780px;
  background-position:0 0, center -25px, center 95px;
  opacity:1;
  animation:vekSectionWaveA 18s ease-in-out infinite alternate;
}
.gallery-section::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 118C145 166 297 178 477 107C650 39 756 -7 935 21C1119 50 1230 139 1401 170C1591 204 1736 181 2053 114' stroke='%23d6a45d' stroke-opacity='.40' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-129 305C147 354 294 361 475 291C651 223 757 177 936 205C1120 233 1226 325 1400 357C1590 392 1741 370 2054 302' stroke='%23d6a45d' stroke-opacity='.26' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-121 533C147 579 297 589 483 520C658 455 764 405 947 430C1124 455 1230 544 1402 576C1590 611 1740 591 2052 527' stroke='%23d6a45d' stroke-opacity='.18' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 500' fill='none'%3E%3Crect x='84' y='90' width='46' height='46' rx='14' stroke='%23ffffff' stroke-opacity='.14'/%3E%3Crect x='278' y='36' width='34' height='34' rx='10' stroke='%23d6a45d' stroke-opacity='.20'/%3E%3Ccircle cx='771' cy='91' r='32' stroke='%23ffffff' stroke-opacity='.10'/%3E%3Ccircle cx='624' cy='312' r='22' stroke='%23d6a45d' stroke-opacity='.16'/%3E%3Crect x='124' y='352' width='32' height='32' rx='11' stroke='%23d6a45d' stroke-opacity='.14'/%3E%3Crect x='742' y='390' width='44' height='44' rx='16' stroke='%23ffffff' stroke-opacity='.12'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:2250px 820px, 1040px 580px;
  background-position:center 230px, center 12px;
  opacity:.85;
  animation:vekSectionWaveB 23s ease-in-out infinite alternate;
}

.gallery-stage{
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 28px 72px rgba(0,0,0,.28);
  backdrop-filter:blur(4px);
}
.gallery-stage::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-121 160C153 208 297 214 475 145C651 76 752 31 930 57C1114 84 1220 175 1396 205C1590 238 1740 218 2050 155' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-121 432C153 481 300 487 478 417C655 347 757 302 938 329C1117 356 1223 447 1399 477C1592 510 1742 490 2053 427' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 118C145 166 297 178 477 107C650 39 756 -7 935 21C1119 50 1230 139 1401 170C1591 204 1736 181 2053 114' stroke='%23d6a45d' stroke-opacity='.40' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-129 305C147 354 294 361 475 291C651 223 757 177 936 205C1120 233 1226 325 1400 357C1590 392 1741 370 2054 302' stroke='%23d6a45d' stroke-opacity='.26' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M-121 533C147 579 297 589 483 520C658 455 764 405 947 430C1124 455 1230 544 1402 576C1590 611 1740 591 2052 527' stroke='%23d6a45d' stroke-opacity='.18' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat,no-repeat;
  background-size:1550px 560px, 1550px 560px;
  background-position:center -8px, center 115px;
  opacity:.34;
  animation:vekPanelWave 17s ease-in-out infinite alternate;
}
.gallery-stage > *{position:relative;z-index:1}

@keyframes vekSectionWaveA{
  0%{transform:translate3d(-18px,0,0)}
  100%{transform:translate3d(18px,0,0)}
}
@keyframes vekSectionWaveB{
  0%{transform:translate3d(14px,0,0)}
  100%{transform:translate3d(-14px,0,0)}
}
@keyframes vekPanelWave{
  0%{transform:translate3d(-10px,0,0)}
  100%{transform:translate3d(10px,0,0)}
}

@media(max-width:860px){
  .publications::before{background-size:auto, 1450px 540px, 1450px 540px;background-position:0 0, center 0px, center 88px;}
  .publications::after{background-size:1520px 560px, 760px 430px;background-position:center 185px, center 30px;}
  .book-showcase::before{background-size:1100px 400px, auto;background-position:center 38px, 0 0;}
  .gallery-section::before{background-size:auto, 1500px 560px, 1500px 560px;background-position:0 0, center 0px, center 90px;}
  .gallery-section::after{background-size:1560px 590px, 780px 430px;background-position:center 185px, center 36px;}
  .gallery-stage::before{background-size:1080px 420px, 1080px 420px;background-position:center 10px, center 95px;}
}

@media(prefers-reduced-motion:reduce){
  .publications::before,
  .publications::after,
  .book-showcase::before,
  .gallery-section::before,
  .gallery-section::after,
  .gallery-stage::before{animation:none !important}
}


/* --- V5.8 | Movimiento más visible y fondo un tono arriba de negro --- */
.gallery-section{
  background:linear-gradient(180deg,#11161d 0%,#0d1218 100%) !important;
}

.gallery-stage{
  background:linear-gradient(180deg, rgba(23,28,36,.78), rgba(14,18,24,.62)) !important;
  border:1px solid rgba(255,255,255,.08);
}

.gallery-section::before{
  opacity:1;
  animation:galleryWavesPrimary 11s linear infinite !important;
}

.gallery-section::after{
  opacity:.92;
  animation:galleryWavesSecondary 15s linear infinite !important;
}

.gallery-stage::before{
  opacity:.42;
  animation:galleryPanelWaves 9s linear infinite !important;
}

.publications{
  background:linear-gradient(180deg,#faf8f3 0%,#f2ede4 100%) !important;
}

.publications::before{
  opacity:1;
  animation:booksWavesPrimary 12s linear infinite !important;
}

.publications::after{
  opacity:.9;
  animation:booksWavesSecondary 16s linear infinite !important;
}

.book-showcase::before{
  opacity:.5;
  animation:booksPanelWaves 10s linear infinite !important;
}

@keyframes galleryWavesPrimary{
  0%{
    background-position:0 0, calc(50% - 180px) -25px, calc(50% + 140px) 95px;
  }
  50%{
    background-position:0 0, calc(50% + 140px) -6px, calc(50% - 110px) 118px;
  }
  100%{
    background-position:0 0, calc(50% - 180px) -25px, calc(50% + 140px) 95px;
  }
}

@keyframes galleryWavesSecondary{
  0%{
    background-position:calc(50% + 120px) 220px, center 12px;
  }
  50%{
    background-position:calc(50% - 120px) 244px, center -4px;
  }
  100%{
    background-position:calc(50% + 120px) 220px, center 12px;
  }
}

@keyframes galleryPanelWaves{
  0%{
    background-position:calc(50% - 115px) -8px, calc(50% + 90px) 115px;
  }
  50%{
    background-position:calc(50% + 115px) 8px, calc(50% - 90px) 132px;
  }
  100%{
    background-position:calc(50% - 115px) -8px, calc(50% + 90px) 115px;
  }
}

@keyframes booksWavesPrimary{
  0%{
    background-position:0 0, calc(50% - 160px) -10px, calc(50% + 120px) 110px;
  }
  50%{
    background-position:0 0, calc(50% + 160px) 10px, calc(50% - 120px) 130px;
  }
  100%{
    background-position:0 0, calc(50% - 160px) -10px, calc(50% + 120px) 110px;
  }
}

@keyframes booksWavesSecondary{
  0%{
    background-position:calc(50% + 100px) 255px, center 8px;
  }
  50%{
    background-position:calc(50% - 100px) 280px, center -6px;
  }
  100%{
    background-position:calc(50% + 100px) 255px, center 8px;
  }
}

@keyframes booksPanelWaves{
  0%{
    background-position:calc(50% - 90px) 35px, 0 0;
  }
  50%{
    background-position:calc(50% + 90px) 54px, 0 0;
  }
  100%{
    background-position:calc(50% - 90px) 35px, 0 0;
  }
}

@media(max-width:860px){
  .gallery-section::before{
    animation-duration:9s !important;
  }
  .gallery-section::after{
    animation-duration:12s !important;
  }
  .gallery-stage::before{
    animation-duration:8s !important;
  }
  .publications::before{
    animation-duration:10s !important;
  }
  .publications::after{
    animation-duration:13s !important;
  }
}


/* --- V5.9 | Quitar texto lateral y cambiar líneas a negro grafito --- */
.compact-gallery-head{
  grid-template-columns:1fr !important;
}
.compact-gallery-head p{
  display:none !important;
}

.gallery-section::before{
  background:
    radial-gradient(circle at 18% 15%, rgba(49,61,75,.08), rgba(49,61,75,0) 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-121 160C153 208 297 214 475 145C651 76 752 31 930 57C1114 84 1220 175 1396 205C1590 238 1740 218 2050 155' stroke='%23364555' stroke-opacity='.44' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-121 432C153 481 300 487 478 417C655 347 757 302 938 329C1117 356 1223 447 1399 477C1592 510 1742 490 2053 427' stroke='%23364555' stroke-opacity='.26' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 118C145 166 297 178 477 107C650 39 756 -7 935 21C1119 50 1230 139 1401 170C1591 204 1736 181 2053 114' stroke='%232a3440' stroke-opacity='.70' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-129 305C147 354 294 361 475 291C651 223 757 177 936 205C1120 233 1226 325 1400 357C1590 392 1741 370 2054 302' stroke='%232a3440' stroke-opacity='.50' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-121 533C147 579 297 589 483 520C658 455 764 405 947 430C1124 455 1230 544 1402 576C1590 611 1740 591 2052 527' stroke='%232a3440' stroke-opacity='.34' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat,no-repeat,no-repeat !important;
  background-size:auto, 2150px 780px, 2150px 780px !important;
  background-position:0 0, center -25px, center 95px !important;
}

.gallery-section::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 118C145 166 297 178 477 107C650 39 756 -7 935 21C1119 50 1230 139 1401 170C1591 204 1736 181 2053 114' stroke='%232a3440' stroke-opacity='.70' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-129 305C147 354 294 361 475 291C651 223 757 177 936 205C1120 233 1226 325 1400 357C1590 392 1741 370 2054 302' stroke='%232a3440' stroke-opacity='.50' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-121 533C147 579 297 589 483 520C658 455 764 405 947 430C1124 455 1230 544 1402 576C1590 611 1740 591 2052 527' stroke='%232a3440' stroke-opacity='.34' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-size:2250px 820px !important;
  background-position:center 230px !important;
  opacity:.78 !important;
}

.gallery-stage::before{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-121 160C153 208 297 214 475 145C651 76 752 31 930 57C1114 84 1220 175 1396 205C1590 238 1740 218 2050 155' stroke='%23364555' stroke-opacity='.44' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-121 432C153 481 300 487 478 417C655 347 757 302 938 329C1117 356 1223 447 1399 477C1592 510 1742 490 2053 427' stroke='%23364555' stroke-opacity='.26' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 118C145 166 297 178 477 107C650 39 756 -7 935 21C1119 50 1230 139 1401 170C1591 204 1736 181 2053 114' stroke='%232a3440' stroke-opacity='.70' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-129 305C147 354 294 361 475 291C651 223 757 177 936 205C1120 233 1226 325 1400 357C1590 392 1741 370 2054 302' stroke='%232a3440' stroke-opacity='.50' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-121 533C147 579 297 589 483 520C658 455 764 405 947 430C1124 455 1230 544 1402 576C1590 611 1740 591 2052 527' stroke='%232a3440' stroke-opacity='.34' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat,no-repeat !important;
  background-size:1550px 560px, 1550px 560px !important;
  background-position:center -8px, center 115px !important;
  opacity:.50 !important;
}

.publications::before{
  background:
    radial-gradient(circle at 78% 12%, rgba(51,63,77,.08), rgba(51,63,77,0) 20%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23303b48' stroke-opacity='.24' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23303b48' stroke-opacity='.16' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23303b48' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23303b48' stroke-opacity='.24' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23303b48' stroke-opacity='.16' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23303b48' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat,no-repeat,no-repeat !important;
  background-size:auto, 2100px 760px, 2100px 760px !important;
  background-position:0 0, center -10px, center 110px !important;
}

.publications::after{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23303b48' stroke-opacity='.24' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23303b48' stroke-opacity='.16' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23303b48' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-size:2200px 790px !important;
  background-position:center 255px !important;
  opacity:.82 !important;
}

.book-showcase::before{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 720' fill='none'%3E%3Cpath d='M-130 112C145 160 297 172 477 101C650 33 756 -13 935 15C1119 44 1230 133 1401 164C1591 198 1736 175 2053 108' stroke='%23303b48' stroke-opacity='.24' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M-129 299C147 348 294 355 475 285C651 217 757 171 936 199C1120 227 1226 319 1400 351C1590 386 1741 364 2054 296' stroke='%23303b48' stroke-opacity='.16' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-121 528C147 574 297 584 483 515C658 450 764 400 947 425C1124 450 1230 539 1402 571C1590 606 1740 586 2052 522' stroke='%23303b48' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"),
    radial-gradient(circle at 80% 18%, rgba(48,59,72,.07), rgba(48,59,72,0) 22%) !important;
  background-repeat:no-repeat,no-repeat !important;
  background-size:1650px 550px, auto !important;
  background-position:center 35px, 0 0 !important;
  opacity:.36 !important;
}

@media(max-width:860px){
  .gallery-section::after{background-size:1560px 590px !important;background-position:center 185px !important;}
  .publications::after{background-size:1520px 560px !important;background-position:center 185px !important;}
}


/* --- V6.0 | Solo 4 líneas y movimiento visible --- */
.gallery-section::after,
.publications::after,
.gallery-stage::before,
.book-showcase::before{
  display:none !important;
}

.gallery-section::before,
.publications::before{
  content:"";
  position:absolute;
  top:0;
  left:-18%;
  width:136%;
  height:100%;
  pointer-events:none;
  z-index:0;
  transform:translate3d(0,0,0);
  will-change:transform;
}

.gallery-section::before{
  inset:auto;
  background:
    radial-gradient(circle at 18% 14%, rgba(49,61,75,.06), rgba(49,61,75,0) 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2200 760' fill='none'%3E%3Cpath d='M-160 108C68 150 216 158 392 112C579 63 714 24 900 46C1089 68 1207 152 1382 178C1574 207 1722 186 1975 138C2102 114 2198 106 2360 124' stroke='%23212a34' stroke-opacity='.88' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M-155 268C80 309 232 318 407 273C594 224 730 184 915 206C1101 229 1217 312 1394 338C1583 366 1726 347 1979 299C2105 276 2204 268 2360 286' stroke='%23212a34' stroke-opacity='.68' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-149 456C79 497 228 505 404 461C591 414 728 373 913 394C1098 416 1216 499 1392 526C1584 554 1727 535 1978 486C2105 462 2203 455 2360 472' stroke='%23212a34' stroke-opacity='.52' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-146 646C81 684 228 692 405 649C592 603 728 561 912 582C1097 603 1216 685 1393 711C1585 739 1728 721 1978 672C2106 647 2202 640 2360 656' stroke='%23212a34' stroke-opacity='.36' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center center / cover;
  opacity:.88;
  animation:floatFourLinesDark 10s ease-in-out infinite alternate !important;
}

.publications::before{
  inset:auto;
  background:
    radial-gradient(circle at 82% 16%, rgba(87,95,105,.06), rgba(87,95,105,0) 18%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2200 760' fill='none'%3E%3Cpath d='M-160 108C68 150 216 158 392 112C579 63 714 24 900 46C1089 68 1207 152 1382 178C1574 207 1722 186 1975 138C2102 114 2198 106 2360 124' stroke='%23575f69' stroke-opacity='.34' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M-155 268C80 309 232 318 407 273C594 224 730 184 915 206C1101 229 1217 312 1394 338C1583 366 1726 347 1979 299C2105 276 2204 268 2360 286' stroke='%23575f69' stroke-opacity='.26' stroke-width='2.0' stroke-linecap='round'/%3E%3Cpath d='M-149 456C79 497 228 505 404 461C591 414 728 373 913 394C1098 416 1216 499 1392 526C1584 554 1727 535 1978 486C2105 462 2203 455 2360 472' stroke='%23575f69' stroke-opacity='.20' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M-146 646C81 684 228 692 405 649C592 603 728 561 912 582C1097 603 1216 685 1393 711C1585 739 1728 721 1978 672C2106 647 2202 640 2360 656' stroke='%23575f69' stroke-opacity='.14' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center center / cover;
  opacity:.9;
  animation:floatFourLinesLight 11s ease-in-out infinite alternate !important;
}

@keyframes floatFourLinesDark{
  0%{transform:translate3d(-3.5%,0,0)}
  100%{transform:translate3d(3.5%,0,0)}
}

@keyframes floatFourLinesLight{
  0%{transform:translate3d(-3%,0,0)}
  100%{transform:translate3d(3%,0,0)}
}

@media(max-width:860px){
  .gallery-section::before{left:-26%;width:152%;animation-duration:8s !important;}
  .publications::before{left:-24%;width:148%;animation-duration:9s !important;}
}

@media(prefers-reduced-motion:reduce){
  .gallery-section::before,
  .publications::before{animation:none !important;transform:none !important;}
}


/* --- V6.1 | Regresar a rayas/cuadros con un poco más de movimiento --- */
.publications::before,
.publications::after,
.gallery-section::before,
.gallery-section::after,
.gallery-stage::before,
.book-showcase::before{
  display:none !important;
  animation:none !important;
  background:none !important;
}

.publications,
.gallery-section,
.gallery-stage,
.book-showcase{
  position:relative;
  overflow:hidden;
}

.publications{
  background:
    radial-gradient(circle at 18% 22%, rgba(201,154,86,.10), rgba(201,154,86,0) 28%),
    linear-gradient(90deg, rgba(16,19,24,.045) 0, rgba(16,19,24,.045) 1px, transparent 1px, transparent 118px),
    linear-gradient(180deg, rgba(201,154,86,.055) 0, rgba(201,154,86,.055) 1px, transparent 1px, transparent 118px),
    linear-gradient(180deg,#fbfaf8 0%,#f6f4f0 100%) !important;
  background-size:auto, 118px 118px, 118px 118px, auto !important;
  animation:booksGridMove 14s linear infinite !important;
}

.book-showcase{
  background:
    radial-gradient(circle at 80% 18%, rgba(201,154,86,.08), rgba(201,154,86,0) 22%),
    linear-gradient(90deg, rgba(15,23,32,.035) 0, rgba(15,23,32,.035) 1px, transparent 1px, transparent 92px),
    linear-gradient(180deg, rgba(201,154,86,.04) 0, rgba(201,154,86,.04) 1px, transparent 1px, transparent 92px),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62)) !important;
  background-size:auto, 92px 92px, 92px 92px, auto !important;
  animation:booksPanelGridMove 11s linear infinite !important;
}

.gallery-section{
  background:
    radial-gradient(circle at 82% 12%, rgba(201,154,86,.12), rgba(201,154,86,0) 22%),
    linear-gradient(90deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 126px),
    linear-gradient(180deg, rgba(201,154,86,.05) 0, rgba(201,154,86,.05) 1px, transparent 1px, transparent 126px),
    linear-gradient(180deg,#101318 0%,#0c0f13 100%) !important;
  background-size:auto, 126px 126px, 126px 126px, auto !important;
  animation:galleryGridMove 13s linear infinite !important;
}

.gallery-stage{
  background:
    radial-gradient(circle at 78% 12%, rgba(201,154,86,.12), rgba(201,154,86,0) 28%),
    linear-gradient(90deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 104px),
    linear-gradient(180deg, rgba(255,255,255,.03) 0, rgba(255,255,255,.03) 1px, transparent 1px, transparent 104px),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03)) !important;
  background-size:auto, 104px 104px, 104px 104px, auto !important;
  animation:galleryPanelGridMove 10s linear infinite !important;
}

@keyframes booksGridMove{
  0%{background-position:0 0, 0 0, 0 0, 0 0}
  100%{background-position:0 0, 210px 0, 0 210px, 0 0}
}

@keyframes booksPanelGridMove{
  0%{background-position:0 0, 0 0, 0 0, 0 0}
  100%{background-position:0 0, 160px 0, 0 160px, 0 0}
}

@keyframes galleryGridMove{
  0%{background-position:0 0, 0 0, 0 0, 0 0}
  100%{background-position:0 0, 230px 0, 0 230px, 0 0}
}

@keyframes galleryPanelGridMove{
  0%{background-position:0 0, 0 0, 0 0, 0 0}
  100%{background-position:0 0, 170px 0, 0 170px, 0 0}
}

@media(max-width:860px){
  .publications{background-size:auto, 90px 90px, 90px 90px, auto !important;}
  .book-showcase{background-size:auto, 76px 76px, 76px 76px, auto !important;}
  .gallery-section{background-size:auto, 94px 94px, 94px 94px, auto !important;}
  .gallery-stage{background-size:auto, 80px 80px, 80px 80px, auto !important;}
  .publications{animation-duration:11s !important;}
  .book-showcase{animation-duration:9s !important;}
  .gallery-section{animation-duration:10s !important;}
  .gallery-stage{animation-duration:8s !important;}
}

@media(prefers-reduced-motion:reduce){
  .publications,
  .book-showcase,
  .gallery-section,
  .gallery-stage{
    animation:none !important;
  }
}


/* --- V6.2 | Cuadros realmente animados en Libros y Galería --- */
.publications,
.book-showcase,
.gallery-section,
.gallery-stage{
  position:relative;
  overflow:hidden;
}

/* Fondos base */
.publications{
  background:linear-gradient(180deg,#fbfaf8 0%,#f6f4f0 100%) !important;
}
.book-showcase{
  background:linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.66)) !important;
}
.gallery-section{
  background:linear-gradient(180deg,#101318 0%,#0c0f13 100%) !important;
}
.gallery-stage{
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03)) !important;
}

/* Reestablecer capas animadas */
.publications::before,
.book-showcase::before,
.gallery-section::before,
.gallery-stage::before{
  content:"" !important;
  display:block !important;
  position:absolute;
  inset:-8%;
  pointer-events:none;
  z-index:0;
  background-repeat:repeat, repeat;
  will-change:transform, background-position;
}

.publications::before{
  background-image:
    repeating-linear-gradient(90deg, rgba(18,22,28,.06) 0 1px, transparent 1px 122px),
    repeating-linear-gradient(180deg, rgba(201,154,86,.05) 0 1px, transparent 1px 122px);
  opacity:.95;
  animation:gridMoveLight 9s linear infinite;
}

.book-showcase::before{
  background-image:
    repeating-linear-gradient(90deg, rgba(15,23,32,.05) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(180deg, rgba(201,154,86,.04) 0 1px, transparent 1px 92px);
  opacity:.72;
  animation:gridMovePanelLight 7s linear infinite;
}

.gallery-section::before{
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 126px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.045) 0 1px, transparent 1px 126px);
  opacity:.7;
  animation:gridMoveDark 8.2s linear infinite;
}

.gallery-stage::before{
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 104px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 104px);
  opacity:.48;
  animation:gridMovePanelDark 6.8s linear infinite;
}

/* Mantener contenido encima */
.publications > .container,
.gallery-section > .container,
.book-showcase > *,
.gallery-stage > *{
  position:relative;
  z-index:1;
}

@keyframes gridMoveLight{
  0%{background-position:0 0, 0 0}
  100%{background-position:180px 0, 0 180px}
}

@keyframes gridMovePanelLight{
  0%{background-position:0 0, 0 0}
  100%{background-position:140px 0, 0 140px}
}

@keyframes gridMoveDark{
  0%{background-position:0 0, 0 0}
  100%{background-position:190px 0, 0 190px}
}

@keyframes gridMovePanelDark{
  0%{background-position:0 0, 0 0}
  100%{background-position:150px 0, 0 150px}
}

@media(max-width:860px){
  .publications::before{
    background-image:
      repeating-linear-gradient(90deg, rgba(18,22,28,.06) 0 1px, transparent 1px 92px),
      repeating-linear-gradient(180deg, rgba(201,154,86,.05) 0 1px, transparent 1px 92px);
    animation-duration:7s;
  }
  .book-showcase::before{
    background-image:
      repeating-linear-gradient(90deg, rgba(15,23,32,.05) 0 1px, transparent 1px 74px),
      repeating-linear-gradient(180deg, rgba(201,154,86,.04) 0 1px, transparent 1px 74px);
    animation-duration:5.6s;
  }
  .gallery-section::before{
    background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 92px),
      repeating-linear-gradient(180deg, rgba(255,255,255,.045) 0 1px, transparent 1px 92px);
    animation-duration:6.8s;
  }
  .gallery-stage::before{
    background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 80px),
      repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 80px);
    animation-duration:5.4s;
  }
}

@media(prefers-reduced-motion:reduce){
  .publications::before,
  .book-showcase::before,
  .gallery-section::before,
  .gallery-stage::before{
    animation:none !important;
  }
}


/* --- V6.3 | Cuadricula visible y animada en Libros y Galería --- */
.publications,
.book-showcase,
.gallery-section,
.gallery-stage{
  position:relative;
  overflow:hidden;
}

/* capas visibles del fondo */
.publications::before,
.publications::after,
.book-showcase::before,
.book-showcase::after,
.gallery-section::before,
.gallery-section::after,
.gallery-stage::before,
.gallery-stage::after{
  content:"" !important;
  display:block !important;
  position:absolute;
  inset:0;
  pointer-events:none;
}

/* LIBROS */
.publications::before{
  z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(15,23,32,.09) 0 1px, transparent 1px 108px),
    repeating-linear-gradient(180deg, rgba(15,23,32,.08) 0 1px, transparent 1px 108px);
  opacity:.9;
  animation:gridBooksA 7.5s linear infinite !important;
}
.publications::after{
  z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,154,86,.06) 0 1px, transparent 1px 108px),
    repeating-linear-gradient(180deg, rgba(201,154,86,.05) 0 1px, transparent 1px 108px);
  opacity:.75;
  animation:gridBooksB 11s linear infinite !important;
}
.book-showcase::before{
  z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(15,23,32,.07) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(180deg, rgba(15,23,32,.06) 0 1px, transparent 1px 82px);
  opacity:.72;
  animation:gridBooksPanelA 6.2s linear infinite !important;
}
.book-showcase::after{
  z-index:0;
  background-image:
    radial-gradient(circle at 80% 18%, rgba(201,154,86,.10), rgba(201,154,86,0) 22%);
  opacity:1;
}

/* GALERIA */
.gallery-section::before{
  z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.08) 0 1px, transparent 1px 112px);
  opacity:.78;
  animation:gridGalleryA 7.2s linear infinite !important;
}
.gallery-section::after{
  z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(201,154,86,.05) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(180deg, rgba(201,154,86,.04) 0 1px, transparent 1px 112px);
  opacity:.55;
  animation:gridGalleryB 10.2s linear infinite !important;
}
.gallery-stage::before{
  z-index:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.075) 0 1px, transparent 1px 94px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.055) 0 1px, transparent 1px 94px);
  opacity:.56;
  animation:gridGalleryPanelA 5.8s linear infinite !important;
}
.gallery-stage::after{
  z-index:0;
  background-image:
    radial-gradient(circle at 78% 12%, rgba(201,154,86,.10), rgba(201,154,86,0) 28%);
  opacity:1;
}

/* Contenido encima */
.publications > .container,
.gallery-section > .container,
.book-showcase > *,
.gallery-stage > *{
  position:relative;
  z-index:1;
}

@keyframes gridBooksA{
  0%{background-position:0 0, 0 0}
  100%{background-position:140px 0, 0 140px}
}
@keyframes gridBooksB{
  0%{background-position:0 0, 0 0}
  100%{background-position:-120px 0, 0 -120px}
}
@keyframes gridBooksPanelA{
  0%{background-position:0 0, 0 0}
  100%{background-position:112px 0, 0 112px}
}
@keyframes gridGalleryA{
  0%{background-position:0 0, 0 0}
  100%{background-position:150px 0, 0 150px}
}
@keyframes gridGalleryB{
  0%{background-position:0 0, 0 0}
  100%{background-position:-126px 0, 0 -126px}
}
@keyframes gridGalleryPanelA{
  0%{background-position:0 0, 0 0}
  100%{background-position:116px 0, 0 116px}
}

@media(max-width:860px){
  .publications::before,
  .publications::after{
    background-image:
      repeating-linear-gradient(90deg, rgba(15,23,32,.09) 0 1px, transparent 1px 82px),
      repeating-linear-gradient(180deg, rgba(15,23,32,.08) 0 1px, transparent 1px 82px);
  }
  .gallery-section::before,
  .gallery-section::after{
    background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 88px),
      repeating-linear-gradient(180deg, rgba(255,255,255,.08) 0 1px, transparent 1px 88px);
  }
}

@media(prefers-reduced-motion:reduce){
  .publications::before,
  .publications::after,
  .book-showcase::before,
  .gallery-section::before,
  .gallery-section::after,
  .gallery-stage::before{
    animation:none !important;
  }
}


/* --- V6.4 | Capas reales de cuadricula animada --- */
/* Desactivar pseudo-capas antiguas que interferían */
.publications::before,
.publications::after,
.book-showcase::before,
.book-showcase::after,
.gallery-section::before,
.gallery-section::after,
.gallery-stage::before,
.gallery-stage::after{
  content:none !important;
  display:none !important;
}

.publications,
.gallery-section,
.book-showcase,
.gallery-stage{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.motion-grid-bg,
.motion-grid-panel{
  position:absolute;
  pointer-events:none;
  z-index:0 !important;
  will-change:transform;
  transform:translate3d(0,0,0);
}

.motion-grid-bg{inset:-150px}
.motion-grid-panel{inset:-100px}

/* GALERÍA: grafito visible sobre negro */
.motion-grid-dark{
  background-image:
    linear-gradient(rgba(58,68,80,.78) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,68,80,.78) 1px, transparent 1px);
  background-size:108px 108px;
  opacity:.56;
  animation:realGridDark 6.8s ease-in-out infinite alternate;
}
.motion-grid-panel-dark{
  background-image:
    linear-gradient(rgba(70,80,92,.62) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,80,92,.62) 1px, transparent 1px);
  background-size:92px 92px;
  opacity:.38;
  animation:realGridPanelDark 5.4s ease-in-out infinite alternate;
}

/* LIBROS: gris elegante sobre claro */
.motion-grid-light{
  background-image:
    linear-gradient(rgba(31,38,47,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,38,47,.18) 1px, transparent 1px);
  background-size:108px 108px;
  opacity:.78;
  animation:realGridLight 7.2s ease-in-out infinite alternate;
}
.motion-grid-panel-light{
  background-image:
    linear-gradient(rgba(31,38,47,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,38,47,.14) 1px, transparent 1px);
  background-size:90px 90px;
  opacity:.52;
  animation:realGridPanelLight 5.7s ease-in-out infinite alternate;
}

.publications > .container,
.gallery-section > .container{position:relative;z-index:1}
.book-showcase > :not(.motion-grid-panel),
.gallery-stage > :not(.motion-grid-panel){position:relative;z-index:1}

@keyframes realGridDark{
  0%{transform:translate3d(-72px,-44px,0)}
  100%{transform:translate3d(72px,44px,0)}
}
@keyframes realGridPanelDark{
  0%{transform:translate3d(58px,-42px,0)}
  100%{transform:translate3d(-58px,42px,0)}
}
@keyframes realGridLight{
  0%{transform:translate3d(-68px,-42px,0)}
  100%{transform:translate3d(68px,42px,0)}
}
@keyframes realGridPanelLight{
  0%{transform:translate3d(52px,-36px,0)}
  100%{transform:translate3d(-52px,36px,0)}
}

@media(max-width:860px){
  .motion-grid-dark,.motion-grid-light{background-size:86px 86px}
  .motion-grid-panel-dark,.motion-grid-panel-light{background-size:72px 72px}
  .motion-grid-bg{inset:-110px}
  .motion-grid-panel{inset:-80px}
}

@media(prefers-reduced-motion:reduce){
  .motion-grid-bg,.motion-grid-panel{animation:none !important;transform:none !important}
}


/* --- V6.5 | Ajuste de color de cuadrícula --- */
/* Libros: usar el tono dorado solicitado (#CD9F5C) */
.motion-grid-light{
  background-image:
    linear-gradient(rgba(205,159,92,.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205,159,92,.34) 1px, transparent 1px) !important;
  opacity:.90 !important;
}
.motion-grid-panel-light{
  background-image:
    linear-gradient(rgba(205,159,92,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205,159,92,.24) 1px, transparent 1px) !important;
  opacity:.62 !important;
}

/* Fotos/Galería: mismo estilo, pero líneas un poco más oscuras */
.motion-grid-dark{
  background-image:
    linear-gradient(rgba(36,44,54,.88) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,44,54,.88) 1px, transparent 1px) !important;
  opacity:.68 !important;
}
.motion-grid-panel-dark{
  background-image:
    linear-gradient(rgba(44,52,62,.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,52,62,.72) 1px, transparent 1px) !important;
  opacity:.46 !important;
}


/* --- V6.6 | Rediseño premium del módulo de videos --- */
.videos-section{background:linear-gradient(180deg,#f2efe8 0%,#ebe7df 100%)}
.video-showcase{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.9fr);gap:24px;align-items:stretch}
.video-feature-card,.video-playlist-panel{position:relative;background:rgba(255,255,255,.68);border:1px solid rgba(21,25,30,.08);border-radius:30px;overflow:hidden;box-shadow:0 18px 50px rgba(16,20,25,.08);backdrop-filter:blur(14px)}
.video-feature-card{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);min-height:540px}
.video-feature-media{position:relative;min-height:100%;background:#101317;overflow:hidden}
.video-feature-media img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01);transition:transform .7s ease}
.video-feature-card:hover .video-feature-media img{transform:scale(1.05)}
.video-feature-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,10,13,.06) 0%,rgba(8,10,13,.22) 35%,rgba(8,10,13,.74) 100%),radial-gradient(circle at 24% 22%,rgba(201,154,86,.24),transparent 28%)}
.video-feature-badges{position:absolute;top:22px;left:22px;display:flex;gap:10px;flex-wrap:wrap;z-index:2}
.video-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;background:rgba(8,10,13,.52);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(12px);color:#fff;font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:800}
.video-badge-soft{background:rgba(201,154,86,.88);border-color:transparent;color:#17181a}
.video-feature-play{position:absolute;left:26px;bottom:26px;z-index:2;width:78px;height:78px;border-radius:50%;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);backdrop-filter:blur(12px);display:grid;place-items:center;color:#fff;font-size:24px;box-shadow:0 16px 35px rgba(0,0,0,.25);transition:transform .3s ease,background .3s ease,color .3s ease}
.video-feature-play:hover{background:var(--gold);color:#161616;transform:scale(1.05)}
.video-feature-copy{padding:34px 32px 34px 30px;display:flex;flex-direction:column;justify-content:space-between;gap:22px}
.video-feature-copy h3{margin:10px 0 0;font-size:clamp(30px,3.2vw,42px);line-height:1.02;letter-spacing:-.05em;color:#121417}
.video-feature-copy p{margin:0;color:#5a6067;font-size:16px;line-height:1.75}
.video-feature-actions{display:flex;flex-wrap:wrap;gap:12px}
.video-playlist-panel{padding:22px 20px 20px;background:linear-gradient(180deg,rgba(255,255,255,.76) 0%,rgba(247,244,238,.95) 100%)}
.video-playlist-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:4px 6px 18px;border-bottom:1px solid rgba(17,19,24,.08);margin-bottom:14px}
.video-playlist-head strong{font:400 28px Georgia,serif;color:var(--gold)}
.video-playlist{display:flex;flex-direction:column;gap:12px;max-height:484px;overflow:auto;padding-right:4px}
.video-playlist::-webkit-scrollbar{width:8px}.video-playlist::-webkit-scrollbar-thumb{background:rgba(17,19,24,.14);border-radius:999px}.video-playlist::-webkit-scrollbar-track{background:transparent}
.video-item{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center;width:100%;padding:11px;border-radius:22px;border:1px solid rgba(17,19,24,.08);background:rgba(255,255,255,.62);text-align:left;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease;color:inherit}
.video-item:hover{transform:translateY(-2px);border-color:rgba(201,154,86,.42);box-shadow:0 14px 24px rgba(17,19,24,.08);background:#fff}
.video-item.is-active{background:#14181e;color:#fff;border-color:rgba(201,154,86,.22);box-shadow:0 16px 30px rgba(16,20,25,.20)}
.video-item-thumb{position:relative;height:82px;border-radius:16px;overflow:hidden;background:#11151a}
.video-item-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.video-item-thumb:after{content:'▶';position:absolute;right:10px;bottom:10px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(10,12,15,.64);backdrop-filter:blur(10px);color:#fff;font-size:11px;border:1px solid rgba(255,255,255,.18)}
.video-item-copy{min-width:0}
.video-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px}
.video-item-index{font:400 22px Georgia,serif;color:var(--gold)}
.video-item-source{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#868d96}
.video-item.is-active .video-item-source{color:rgba(255,255,255,.62)}
.video-item-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.42;font-weight:700;color:#171a1f}
.video-item.is-active .video-item-title{color:#fff}
.video-item-meta{margin-top:7px;font-size:13px;line-height:1.5;color:#69707a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-item.is-active .video-item-meta{color:rgba(255,255,255,.68)}
.video-showcase.reveal{transform:translateY(36px);opacity:0}.video-showcase.reveal.is-visible{transform:none;opacity:1}
.video-showcase.reveal.is-visible .video-feature-card{animation:videoFeatureIn .7s cubic-bezier(.2,.8,.2,1) both}
.video-showcase.reveal.is-visible .video-playlist-panel{animation:videoPlaylistIn .85s cubic-bezier(.2,.8,.2,1) .1s both}
.video-showcase.reveal.is-visible .video-item{opacity:0;transform:translateY(18px);animation:videoItemIn .55s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:var(--delay,0ms)}
@keyframes videoFeatureIn{from{opacity:0;transform:translateY(28px) scale(.985)}to{opacity:1;transform:none}}
@keyframes videoPlaylistIn{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes videoItemIn{to{opacity:1;transform:none}}

@media(max-width:1180px){
  .video-showcase{grid-template-columns:1fr}
  .video-feature-card{grid-template-columns:1fr}
  .video-feature-media{min-height:360px}
  .video-playlist{max-height:none}
}
@media(max-width:760px){
  .video-feature-copy{padding:26px 22px 24px}
  .video-feature-copy h3{font-size:32px}
  .video-item{grid-template-columns:82px 1fr;padding:10px}
  .video-item-thumb{height:74px}
}
@media(max-width:600px){
  .videos-section{background:#f0ede6}
  .video-feature-media{min-height:290px}
  .video-feature-play{width:66px;height:66px;left:18px;bottom:18px}
  .video-playlist-head{flex-direction:column;align-items:flex-start}
}


/* --- V6.7 | Videos tipo Netflix --- */
.videos-netflix{
  background:
    radial-gradient(circle at 18% 20%, rgba(201,154,86,.10), transparent 24%),
    linear-gradient(180deg,#06090f 0%, #090e16 42%, #0b1118 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.videos-netflix:before,
.videos-netflix:after{
  content:"";position:absolute;inset:auto;pointer-events:none;opacity:.4;
  background:radial-gradient(circle, rgba(201,154,86,.12), transparent 62%);
  filter:blur(30px)
}
.videos-netflix:before{width:360px;height:360px;top:40px;right:-80px}
.videos-netflix:after{width:280px;height:280px;bottom:20px;left:-60px}
.videos-netflix .section-head p,.videos-netflix .eyebrow{color:rgba(255,255,255,.72)}
.videos-netflix .section-head h2{color:#fff}
.videos-netflix .section-head h2 em{color:var(--gold-2)}
.videos-netflix .section-head{margin-bottom:32px}

.video-netflix-shell{display:flex;flex-direction:column;gap:26px}
.video-netflix-feature{
  position:relative;min-height:560px;border-radius:34px;overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 80px rgba(0,0,0,.35);
  background:#0f141d;
}
.video-netflix-backdrop,.video-netflix-backdrop img{position:absolute;inset:0;width:100%;height:100%}
.video-netflix-backdrop img{object-fit:cover;transform:scale(1.02);transition:transform .8s ease, filter .8s ease;filter:saturate(.96) contrast(1.02)}
.video-netflix-feature:hover .video-netflix-backdrop img{transform:scale(1.06)}
.video-netflix-backdrop-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg, rgba(5,8,12,.92) 0%, rgba(5,8,12,.78) 34%, rgba(5,8,12,.26) 60%, rgba(5,8,12,.58) 100%),
    linear-gradient(0deg, rgba(4,7,10,.92) 0%, rgba(4,7,10,.28) 45%, rgba(4,7,10,.18) 100%);
}
.video-netflix-content{
  position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:560px;max-width:760px;padding:56px 56px 52px;
}
.video-netflix-topline{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.video-netflix-kicker,.video-netflix-count{
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);backdrop-filter:blur(10px);
  font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:#fff;
}
.video-netflix-count{background:rgba(201,154,86,.96);border-color:transparent;color:#141414}
.video-netflix-content h3{
  font-size:clamp(40px,5vw,66px);line-height:.96;letter-spacing:-.05em;margin:0 0 18px;color:#fff;max-width:780px;
  text-wrap:balance;
}
.video-netflix-content p{max-width:680px;font-size:18px;line-height:1.75;color:rgba(255,255,255,.78);margin:0 0 28px}
.video-netflix-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn-ghost-light{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#fff}
.btn-ghost-light:hover{background:#fff;color:#111}

.video-rail-wrapper{
  position:relative;padding:28px;border-radius:28px;background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);backdrop-filter:blur(10px)
}
.video-rail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.video-rail-head .eyebrow{color:rgba(255,255,255,.56)}
.video-rail-head strong{font:400 30px Georgia,serif;color:var(--gold-2)}
.video-rail{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;
}
.video-item{
  position:relative;display:block;width:100%;padding:0;border:0;text-align:left;cursor:pointer;
  border-radius:22px;overflow:hidden;background:#111827;min-height:250px;
  box-shadow:0 12px 30px rgba(0,0,0,.22);transition:transform .35s ease, box-shadow .35s ease, outline-color .35s ease;
  outline:1px solid rgba(255,255,255,.05);
}
.video-item:hover{transform:translateY(-5px) scale(1.015);box-shadow:0 20px 40px rgba(0,0,0,.35)}
.video-item.is-active{outline:2px solid rgba(201,154,86,.78);transform:translateY(-6px)}
.video-item-thumb{position:absolute;inset:0;height:auto;border-radius:0;background:#0e1219}
.video-item-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s ease}
.video-item:hover .video-item-thumb img{transform:scale(1.06)}
.video-item-thumb:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(5,8,12,.06) 0%, rgba(5,8,12,.12) 38%, rgba(5,8,12,.88) 100%);z-index:1}
.video-item-thumb:after{
  content:'▶';position:absolute;left:16px;top:16px;z-index:2;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:rgba(255,255,255,.12);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16);color:#fff;font-size:14px
}
.video-item-copy{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:18px 16px 16px;min-width:0}
.video-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.video-item-index{font:400 24px Georgia,serif;color:var(--gold-2)}
.video-item-source{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:rgba(255,255,255,.64)}
.video-item-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;line-height:1.38;font-weight:700;color:#fff}
.video-item-meta{margin-top:8px;font-size:13px;line-height:1.55;color:rgba(255,255,255,.66);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.video-item.is-active .video-item-meta{color:rgba(255,255,255,.82)}

.video-netflix-shell.reveal{opacity:0;transform:translateY(36px)}
.video-netflix-shell.reveal.is-visible{opacity:1;transform:none}
.video-netflix-shell.reveal.is-visible .video-netflix-feature{animation:netflixFeatureIn .85s cubic-bezier(.2,.8,.2,1) both}
.video-netflix-shell.reveal.is-visible .video-item{opacity:0;transform:translateY(16px);animation:netflixCardIn .55s cubic-bezier(.2,.8,.2,1) forwards;animation-delay:var(--delay,0ms)}
@keyframes netflixFeatureIn{from{opacity:0;transform:translateY(36px) scale(.985)}to{opacity:1;transform:none}}
@keyframes netflixCardIn{to{opacity:1;transform:none}}

@media (max-width:1200px){
  .video-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  .video-netflix-content{padding:46px 42px 42px;min-height:500px}
  .video-netflix-feature{min-height:500px}
}
@media (max-width:900px){
  .video-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .video-netflix-content h3{font-size:42px}
  .video-netflix-content p{font-size:16px}
  .video-netflix-content,.video-netflix-feature{min-height:440px}
}
@media (max-width:640px){
  .video-netflix-feature{min-height:400px;border-radius:24px}
  .video-netflix-content{padding:28px 22px 24px;min-height:400px}
  .video-netflix-content h3{font-size:34px}
  .video-rail-wrapper{padding:16px}
  .video-rail{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
  .video-item{min-width:248px;flex:0 0 248px;scroll-snap-align:start}
}


/* --- V6.8 | Videos Netflix refinado y más limpio --- */
.video-netflix-feature{
  min-height:500px;
}
.video-netflix-content{
  min-height:auto;
  max-width:560px;
  width:min(560px, calc(100% - 64px));
  margin:34px;
  padding:30px 30px 28px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(8,12,18,.68) 0%, rgba(8,12,18,.76) 100%);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  box-shadow:0 20px 50px rgba(0,0,0,.22);
}
.video-netflix-backdrop-overlay{
  background:
    linear-gradient(90deg, rgba(5,8,12,.44) 0%, rgba(5,8,12,.18) 38%, rgba(5,8,12,.08) 60%, rgba(5,8,12,.42) 100%),
    linear-gradient(0deg, rgba(4,7,10,.78) 0%, rgba(4,7,10,.12) 48%, rgba(4,7,10,.18) 100%);
}
.video-netflix-content h3{
  font-size:clamp(34px,4vw,54px);
  line-height:1.02;
  max-width:12ch;
  margin:0 0 12px;
}
.video-netflix-content p{
  max-width:46ch;
  font-size:15px;
  line-height:1.65;
  color:rgba(255,255,255,.76);
  margin:0 0 22px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.video-netflix-topline{margin-bottom:12px}
.video-netflix-actions .btn{min-height:48px;padding:0 18px}
.video-rail-head strong{font-size:26px}
.video-item{min-height:228px;border-radius:20px}
.video-item-copy{padding:16px 14px 14px}
.video-item-title{font-size:15px;line-height:1.34;-webkit-line-clamp:2}
.video-item-meta{font-size:12px;line-height:1.45;-webkit-line-clamp:2}

@media (max-width:900px){
  .video-netflix-content{
    width:calc(100% - 36px);
    margin:18px;
    padding:22px 20px;
  }
  .video-netflix-content h3{font-size:34px;max-width:100%}
}
@media (max-width:640px){
  .video-netflix-feature{min-height:360px}
  .video-netflix-content{width:calc(100% - 24px);margin:12px;padding:18px 16px 16px;border-radius:20px}
  .video-netflix-content h3{font-size:28px}
  .video-netflix-content p{font-size:14px}
}


/* --- V6.9 | Mejorar preview de imágenes en Videos --- */
.video-netflix-feature{
  display:grid;
  grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr);
  min-height:460px;
  background:linear-gradient(135deg,#0d1219 0%, #101723 100%);
}
.video-netflix-backdrop{
  position:relative;
  inset:auto;
  order:2;
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 34px 30px 20px;
  background:
    radial-gradient(circle at 30% 28%, rgba(201,154,86,.14), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.01) 100%);
}
.video-netflix-backdrop img{
  position:relative;
  inset:auto;
  width:100%;
  height:100%;
  max-height:400px;
  object-fit:contain;
  object-position:center center;
  border-radius:26px;
  background:#0a0f16;
  box-shadow:0 20px 44px rgba(0,0,0,.30);
  padding:12px;
  transform:none;
  filter:saturate(.98) contrast(1.02);
}
.video-netflix-feature:hover .video-netflix-backdrop img{transform:none}
.video-netflix-backdrop-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(5,8,12,.10) 0%, rgba(5,8,12,0) 20%, rgba(5,8,12,0) 80%, rgba(5,8,12,.18) 100%),
    radial-gradient(circle at 76% 50%, rgba(255,255,255,.05), transparent 44%);
  pointer-events:none;
}
.video-netflix-content{
  order:1;
  align-self:stretch;
  justify-content:center;
  width:auto;
  max-width:none;
  min-height:auto;
  margin:0;
  padding:42px 36px 40px 40px;
  border-radius:0;
  background:linear-gradient(180deg, rgba(9,12,18,.62) 0%, rgba(9,12,18,.54) 100%);
  border-right:1px solid rgba(255,255,255,.06);
  box-shadow:none;
  backdrop-filter:none;
}
.video-netflix-content h3{
  max-width:10ch;
}
.video-netflix-content p{
  max-width:38ch;
}

/* Miniaturas: mostrar mejor la imagen completa */
.video-item-thumb{
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    #0c1219;
}
.video-item-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:10px 10px 0;
  transition:transform .55s ease, filter .55s ease;
}
.video-item-thumb:before{
  background:linear-gradient(180deg, rgba(5,8,12,.04) 0%, rgba(5,8,12,.10) 34%, rgba(5,8,12,.84) 100%);
}

@media (max-width:1100px){
  .video-netflix-feature{
    grid-template-columns:1fr;
  }
  .video-netflix-content{
    order:2;
    padding:28px 24px 24px;
    border-right:0;
    border-top:1px solid rgba(255,255,255,.06);
  }
  .video-netflix-backdrop{
    order:1;
    padding:20px 20px 10px;
    min-height:290px;
  }
  .video-netflix-backdrop img{
    max-height:320px;
  }
}
@media (max-width:640px){
  .video-netflix-feature{min-height:auto}
  .video-netflix-backdrop{padding:16px 16px 8px}
  .video-netflix-backdrop img{max-height:240px;border-radius:20px;padding:8px}
  .video-netflix-content{padding:20px 16px 18px}
}


/* --- V6.11 | Ajustes de acceso y anclaje para videos --- */
#videos, .videos-section{scroll-margin-top:110px;}
.video-rail{margin-top:18px;}
.video-netflix{padding-top:18px;}


/* --- V6.12 | Modal de video mejorado + apertura local segura --- */
.video-modal-panel{display:flex;flex-direction:column;}
.video-modal-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px 22px;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0));}
.video-modal-panel h3{font-size:17px;line-height:1.5;margin:0;padding:0;color:rgba(255,255,255,.78);font-weight:500;flex:1;}
.video-modal-external{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;transition:.25s;}
.video-modal-external:hover{background:#fff;color:var(--ink);border-color:#fff;}
#videos,.videos-section{scroll-margin-top:120px;}
@media(max-width:860px){.video-modal-meta{flex-direction:column;align-items:flex-start;}.video-modal-external{width:100%;justify-content:center;}}


/* --- V6.13 | Videos premium: modal + hover de tarjetas --- */
.video-modal-panel{
  width:min(1080px,calc(100% - 36px));
  background:
    radial-gradient(circle at 82% 18%,rgba(201,154,86,.10),transparent 24%),
    linear-gradient(180deg,#0d1118 0%,#0a0d12 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 34px 90px rgba(0,0,0,.55);
}
.video-modal-panel:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.02) 1px,transparent 1px);
  background-size:64px 64px;
  opacity:.24;
}
.video-modal-panel > *{position:relative;z-index:1}
.video-frame{
  aspect-ratio:16/9;
  background:#05070a;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.video-frame iframe{background:#05070a}
.video-modal-meta{
  padding:20px 24px 22px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.01));
}
.video-modal-panel h3{
  color:#fff;
  font-size:18px;
  line-height:1.5;
  max-width:760px;
}
.video-modal-external{
  min-height:44px;
  padding:0 18px;
  border-color:rgba(201,154,86,.30);
  background:rgba(201,154,86,.10);
  color:var(--gold-2);
}
.video-modal-external:hover{
  background:var(--gold);
  color:#151515;
  border-color:var(--gold);
  transform:translateY(-1px);
}
.video-modal-panel .modal-close{
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  background:rgba(9,12,17,.72);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(12px);
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}
.video-modal-panel .modal-close:hover{background:#fff;color:#111}

.video-item{
  isolation:isolate;
  transform-origin:center center;
  transition:
    transform .34s cubic-bezier(.2,.8,.2,1),
    box-shadow .34s cubic-bezier(.2,.8,.2,1),
    outline-color .34s,
    filter .34s;
}
.video-item:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  border-radius:inherit;
  background:linear-gradient(115deg,transparent 18%,rgba(255,255,255,.10) 44%,transparent 66%);
  transform:translateX(-130%);
  transition:transform .65s cubic-bezier(.2,.75,.2,1);
}
.video-item:hover:before{transform:translateX(130%)}
.video-item:hover{
  z-index:4;
  transform:translateY(-8px) scale(1.025);
  box-shadow:0 26px 54px rgba(0,0,0,.42);
  outline-color:rgba(201,154,86,.52);
}
.video-item.is-active{
  outline:2px solid rgba(201,154,86,.85);
  box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 0 5px rgba(201,154,86,.06);
}
.video-item-thumb img{
  transition:transform .60s cubic-bezier(.2,.8,.2,1),filter .45s ease;
}
.video-item:hover .video-item-thumb img{
  transform:scale(1.045);
  filter:saturate(1.06) contrast(1.03);
}
.video-item-thumb:after{
  transition:transform .28s ease,background .28s,color .28s,border-color .28s;
}
.video-item:hover .video-item-thumb:after{
  transform:scale(1.12);
  background:var(--gold);
  color:#111;
  border-color:var(--gold);
}
.video-item-copy{transition:transform .30s ease}
.video-item:hover .video-item-copy{transform:translateY(-2px)}
.video-item-index{transition:color .25s ease}
.video-item:hover .video-item-index{color:#ffd18e}

.video-netflix-backdrop img{
  transition:opacity .24s ease,transform .55s ease,filter .55s ease;
}
.video-netflix-backdrop img.is-switching{opacity:.18;transform:scale(.985)}
.video-netflix-content h3,
.video-netflix-content p,
.video-netflix-topline{
  transition:opacity .22s ease,transform .22s ease;
}
.video-netflix-feature.is-switching .video-netflix-content h3,
.video-netflix-feature.is-switching .video-netflix-content p,
.video-netflix-feature.is-switching .video-netflix-topline{
  opacity:.15;
  transform:translateY(6px);
}

@media(max-width:760px){
  .video-item:hover{transform:translateY(-4px) scale(1.01)}
  .video-modal-panel{border-radius:22px}
  .video-modal-meta{padding:18px}
}


/* --- V6.14 | Todos los videos abren dentro de la misma página --- */
.video-modal-meta{padding:18px 24px 22px;display:block;background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0));}
.video-modal-source{display:inline-block;margin-bottom:7px;color:var(--gold-2);font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;}
.video-modal-panel h3{margin:0;padding:0;font-size:17px;line-height:1.5;color:rgba(255,255,255,.84);font-weight:500;}
.video-modal-external{display:none !important;}
.video-local-preview{position:relative;width:100%;height:100%;min-height:430px;overflow:hidden;background:#0b1017;display:grid;place-items:center;}
.video-local-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:20px;background:#0b1017;filter:saturate(.96) brightness(.78);}
.video-local-preview-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,8,12,.92),rgba(5,8,12,.12) 65%);}
.video-local-preview-info{position:absolute;left:28px;right:28px;bottom:28px;max-width:720px;color:#fff;z-index:2;}
.video-local-preview-info span{display:inline-block;margin-bottom:8px;color:var(--gold-2);font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;}
.video-local-preview-info strong{display:block;font-size:28px;line-height:1.05;margin-bottom:10px;}
.video-local-preview-info p{margin:0;color:rgba(255,255,255,.72);line-height:1.6;max-width:620px;}
@media(max-width:640px){.video-local-preview{min-height:330px}.video-local-preview-info{left:18px;right:18px;bottom:18px}.video-local-preview-info strong{font-size:22px}.video-local-preview-info p{font-size:13px}}


/* --- V6.15 | Videos siempre dentro del sitio --- */
#videoPlaylist{scroll-margin-top:110px}
.video-local-help .video-local-preview-info{max-width:620px}
.video-local-help .video-local-preview-info strong{display:block;font-size:28px;line-height:1.08;margin:8px 0 10px;color:#fff}
.video-local-help .video-local-preview-info p{max-width:560px;margin:0;color:rgba(255,255,255,.78);line-height:1.65}
.video-local-help .video-local-preview-info b{color:var(--gold-2)}
.video-frame iframe{display:block;width:100%;height:100%;border:0;background:#050607}


/* V6.22 | Invertir layout de Libros en desktop */
@media (min-width: 861px){
  .book-showcase{
    grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);
  }
  .book-details{order:1;}
  .book-stage{order:2;}
  .book-cover-shell{
    transform:perspective(1000px) rotateY(5deg) rotateX(1deg);
  }
  .book-cover-shell.book-changing{
    transform:perspective(1000px) rotateY(10deg) translateY(12px) scale(.97);
  }
}


/* V6.23 | Quitar cuadriculado + reorganizar artículos */
/* 1) Retirar efecto cuadriculado de Libros y Galería */
.publications .motion-grid-bg,
.publications .motion-grid-panel,
.gallery-section .motion-grid-bg,
.gallery-section .motion-grid-panel{
  display:none !important;
}

/* Mantener fondos limpios sin la cuadrícula superpuesta */
.publications{
  background:linear-gradient(180deg,#fbfaf8 0%,#f4f1ea 100%) !important;
}
.gallery-section{
  background:linear-gradient(180deg,#0d1218 0%,#090e14 100%) !important;
}
.gallery-stage{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    radial-gradient(circle at 82% 10%, rgba(201,154,86,.14), rgba(201,154,86,0) 24%) !important;
}

/* 2) Mejor organización del módulo de artículos */
.articles-section{
  position:relative;
  background:
    radial-gradient(circle at 84% 8%, rgba(201,154,86,.12), transparent 24%),
    linear-gradient(180deg,#f9f7f2 0%,#f3efe8 100%);
}

.articles-section > .container{position:relative;z-index:1}

.article-toolbar{
  gap:18px;
  margin-bottom:30px;
  padding:16px 18px;
  border:1px solid rgba(17,19,24,.08);
  border-radius:24px;
  background:rgba(255,255,255,.68);
  box-shadow:0 16px 38px rgba(18,22,28,.05);
  backdrop-filter:blur(10px);
}

.article-toolbar > span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(201,154,86,.14);
  color:#8b6a35;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
}

.article-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:18px;
}

.article-card{
  grid-column:span 4;
  min-height:174px;
  border:1px solid rgba(17,19,24,.08);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(250,248,244,.92));
  box-shadow:0 18px 42px rgba(18,22,28,.05);
}

.article-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 54px rgba(18,22,28,.10);
}

.article-card:first-child{
  grid-column:1 / -1;
  grid-template-columns:minmax(260px,330px) minmax(0,1fr);
  min-height:260px;
}

.article-card:first-child .article-thumb{
  min-height:100%;
}

.article-card:first-child .article-thumb img{
  object-fit:cover;
  object-position:center top;
}

.article-card:first-child .article-copy{
  padding:28px 28px 24px;
  gap:18px;
  align-self:stretch;
}

.article-card:first-child .article-copy::before{
  content:"Artículo destacado";
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(201,154,86,.14);
  color:#8b6a35;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.article-card:first-child .article-copy h3{
  font-size:clamp(26px,2.9vw,36px);
  line-height:1.02;
  letter-spacing:-.04em;
}

.article-thumb{
  background:linear-gradient(180deg,#f0ece4,#e8e3d8);
}

.article-thumb img{
  object-fit:cover;
  object-position:center;
}

.article-index{
  top:12px;
  left:12px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,14,20,.72);
  font-size:10px;
}

.article-copy{
  padding:18px 18px 16px;
  gap:12px;
}

.article-copy h3{
  font-size:18px;
  line-height:1.22;
  letter-spacing:-.02em;
}

.article-copy a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(201,154,86,.12);
  color:#8a6730;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  transition:background .24s ease,color .24s ease,transform .24s ease;
}

.article-copy a:hover{
  background:#c99a56;
  color:#161616;
  transform:translateY(-1px);
}

@media (max-width:1200px){
  .article-card{grid-column:span 6;}
  .article-card:first-child{grid-column:1 / -1;grid-template-columns:280px minmax(0,1fr);}
}

@media (max-width:860px){
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .article-card,
  .article-card:first-child{grid-column:auto;}
  .article-card:first-child{grid-template-columns:1fr;min-height:auto;}
  .article-card:first-child .article-thumb{min-height:260px;}
  .article-card:first-child .article-copy{padding:22px 20px 20px;}
}

@media (max-width:600px){
  .article-toolbar{padding:14px 14px 16px;border-radius:20px;}
  .article-grid{grid-template-columns:1fr;gap:12px;}
  .article-card,
  .article-card:first-child{grid-template-columns:102px minmax(0,1fr);min-height:148px;}
  .article-card:first-child .article-thumb{min-height:auto;}
  .article-card:first-child .article-copy::before{display:none;}
  .article-card:first-child .article-copy h3,
  .article-copy h3{font-size:18px;line-height:1.18;}
  .article-copy{padding:16px 14px 14px;}
  .article-copy a{min-height:34px;padding:0 12px;}
}


/* --- V6.24 | Hemeroteca editorial --- */
.articles-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(201,154,86,.10), transparent 24%),
    linear-gradient(180deg,#f8f5ef 0%,#f2eee7 100%) !important;
}
.articles-section::before,
.articles-section::after{display:none !important}
.articles-section>.container{position:relative;z-index:1}

.articles-editorial-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,470px);
  gap:56px;
  align-items:end;
  margin-bottom:34px;
}
.articles-editorial-title h2{
  margin:12px 0 18px;
  font-size:clamp(46px,5.7vw,78px);
  line-height:.91;
  letter-spacing:-.055em;
  font-weight:600;
}
.articles-editorial-title h2 em{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  color:var(--gold);
}
.articles-editorial-title p{
  max-width:620px;
  margin:0;
  color:#74787d;
  line-height:1.75;
  font-size:15px;
}
.articles-search-panel{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:12px;
}
.article-search-box{
  width:100%;
  height:58px;
  border:1px solid rgba(17,19,24,.10);
  background:rgba(255,255,255,.80);
  box-shadow:0 14px 34px rgba(16,20,25,.05);
}
.article-result-count{
  padding-right:10px;
  color:#85898f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.articles-editorial-layout{
  display:grid;
  grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr);
  gap:24px;
  align-items:start;
}
.article-feature-column,
.article-archive-column{
  border-radius:30px;
  border:1px solid rgba(17,19,24,.08);
  box-shadow:0 26px 70px rgba(19,23,28,.08);
}
.article-feature-column{
  overflow:hidden;
  background:#151a21;
  color:#fff;
}
.article-feature-kicker{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:58px;
  padding:0 22px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:#11161d;
}
.article-feature-kicker span{
  color:#d1a55f;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.article-feature-kicker strong{
  color:rgba(255,255,255,.48);
  font-size:10px;
  letter-spacing:.14em;
}
.article-feature-card{
  display:flex !important;
  flex-direction:column;
  min-height:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:hidden;
}
.article-feature-card:hover{transform:none !important;box-shadow:none !important}
.article-feature-card .article-thumb{
  height:375px;
  display:grid;
  place-items:center;
  padding:16px;
  background:linear-gradient(145deg,#e7e1d7,#cfc7b9);
}
.article-feature-card .article-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.article-feature-card .article-index{
  top:18px;
  left:18px;
  padding:8px 12px;
  background:rgba(16,20,25,.78);
  border:1px solid rgba(255,255,255,.13);
}
.article-feature-card .article-copy{
  min-height:176px;
  padding:26px 24px 24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  background:#151a21;
}
.article-feature-card .article-copy h3{
  margin:0;
  color:#fff;
  font-size:clamp(25px,2.5vw,34px);
  line-height:1.05;
  letter-spacing:-.04em;
}
.article-feature-card .article-copy a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  background:#c99a56;
  color:#131313;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.article-archive-column{
  padding:22px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
}
.article-archive-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
  padding:2px 4px 17px;
  border-bottom:1px solid rgba(17,19,24,.08);
}
.article-archive-head .eyebrow{margin-bottom:5px}
.article-archive-head strong{
  display:block;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.article-archive-head p{
  max-width:260px;
  margin:0;
  color:#777b80;
  font-size:12px;
  line-height:1.55;
  text-align:right;
}

.article-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}
.article-grid .article-card{
  min-height:126px !important;
  display:grid !important;
  grid-template-columns:92px minmax(0,1fr) !important;
  border:1px solid rgba(17,19,24,.08) !important;
  border-radius:18px !important;
  overflow:hidden;
  background:#fff !important;
  box-shadow:none !important;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease !important;
}
.article-grid .article-card:hover{
  transform:translateY(-3px) !important;
  border-color:rgba(201,154,86,.34) !important;
  box-shadow:0 14px 28px rgba(18,22,27,.08) !important;
}
.article-grid .article-thumb{
  position:relative;
  min-height:126px;
  padding:6px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#eee9e0,#e5ded3);
}
.article-grid .article-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  border-radius:9px;
}
.article-grid .article-index{
  top:8px;
  left:8px;
  padding:5px 7px;
  font-size:8px;
}
.article-grid .article-copy{
  min-width:0;
  padding:14px 14px 12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:9px;
}
.article-grid .article-copy h3{
  margin:0;
  font-size:15px;
  line-height:1.22;
  letter-spacing:-.02em;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.article-grid .article-copy a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#f5efe5;
  color:#87652f;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.article-grid .article-copy a:hover{background:#c99a56;color:#111}
.article-more-wrap{display:flex;justify-content:center;margin-top:18px}
.article-more-btn{
  min-height:46px;
  border-radius:999px;
  background:transparent;
}
.article-card.article-hidden{display:none !important}
.article-card.search-hidden{display:none !important}

@media(max-width:1100px){
  .articles-editorial-layout{grid-template-columns:1fr}
  .article-feature-column{display:grid;grid-template-columns:300px minmax(0,1fr)}
  .article-feature-kicker{grid-column:1/-1}
  .article-feature-card{grid-column:1/-1;display:grid !important;grid-template-columns:300px minmax(0,1fr)}
  .article-feature-card .article-thumb{height:330px}
  .article-feature-card .article-copy{min-height:330px;justify-content:center}
}

@media(max-width:860px){
  .articles-editorial-head{grid-template-columns:1fr;gap:24px;align-items:start}
  .articles-search-panel{align-items:flex-start}
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .article-archive-head{align-items:flex-start}
}

@media(max-width:650px){
  .articles-editorial-title h2{font-size:clamp(42px,13vw,60px)}
  .article-feature-column{display:block}
  .article-feature-card{display:flex !important;flex-direction:column}
  .article-feature-card .article-thumb{height:300px}
  .article-feature-card .article-copy{min-height:150px;padding:22px 18px 20px}
  .article-archive-column{padding:14px;border-radius:22px}
  .article-archive-head{flex-direction:column;gap:8px;padding-inline:2px}
  .article-archive-head p{text-align:left;max-width:none}
  .article-grid{grid-template-columns:1fr !important;gap:10px !important}
  .article-grid .article-card{grid-template-columns:92px minmax(0,1fr) !important;min-height:118px !important}
  .article-grid .article-thumb{min-height:118px}
  .article-grid .article-copy{padding:13px 12px 11px}
  .article-grid .article-copy h3{font-size:14px;-webkit-line-clamp:2}
  .article-more-btn{width:100%}
}


/* Articles V6.25 - newsroom editorial layout */
.article-source-grid{display:none !important}
.articles-section{background:#f3efe8;position:relative;overflow:hidden}
.articles-section::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(201,154,86,.12),transparent 30%);pointer-events:none}
.articles-editorial-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:28px;align-items:end;margin-bottom:34px}
.articles-editorial-title p{max-width:700px;color:#666d76;line-height:1.7}
.articles-search-panel{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.article-search-box{background:#fff;border:1px solid rgba(17,19,24,.08);box-shadow:0 12px 32px rgba(17,19,24,.06)}
.article-result-count{color:#7f6b4a;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:11px}
.article-newsroom{display:grid;gap:24px}
.articles-news-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:24px;align-items:stretch}
.articles-feature-wrap,.articles-headline-wrap,.article-stream-panel{background:rgba(255,255,255,.68);border:1px solid rgba(17,19,24,.08);border-radius:28px;box-shadow:0 18px 50px rgba(17,19,24,.07);backdrop-filter:blur(10px)}
.articles-feature-wrap{padding:18px}
.news-feature-card{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:24px;align-items:stretch}
.news-feature-media{position:relative;display:block;border-radius:24px;overflow:hidden;min-height:420px;background:#dcd6ca}
.news-feature-media img{width:100%;height:100%;object-fit:cover;display:block}
.news-badge{position:absolute;top:18px;left:18px;background:rgba(17,19,24,.78);color:#fff;border-radius:999px;padding:8px 12px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.news-feature-copy{padding:12px 6px 12px 0;display:flex;flex-direction:column;justify-content:center;gap:18px}
.news-feature-copy h3{margin:0;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.03em;color:#111318}
.news-feature-copy p{margin:0;color:#666d76;font-size:16px;line-height:1.75;max-width:520px}
.news-feature-copy .btn{align-self:flex-start}
.articles-headline-wrap{padding:20px;display:grid;grid-template-rows:auto 1fr;gap:18px}
.headline-wrap-head{display:flex;flex-direction:column;gap:6px;padding-bottom:12px;border-bottom:1px solid rgba(17,19,24,.08)}
.headline-wrap-head strong{font-size:22px;color:#111318}
.headline-stack{display:grid;gap:14px}
.headline-card{display:grid;grid-template-columns:118px minmax(0,1fr);gap:16px;padding:12px;border-radius:22px;background:#fff;border:1px solid rgba(17,19,24,.08);transition:transform .25s ease,box-shadow .25s ease}
.headline-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,19,24,.08)}
.headline-thumb{display:block;border-radius:16px;overflow:hidden;min-height:96px;background:#ddd}
.headline-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.headline-copy{display:flex;flex-direction:column;gap:8px;justify-content:center}
.headline-copy span{color:#c99a56;font-size:12px;font-weight:800;letter-spacing:.14em}
.headline-copy h4{margin:0;font-size:20px;line-height:1.18;color:#111318}
.headline-copy p{margin:0;color:#666d76;font-size:13px;line-height:1.55}
.headline-copy a{color:#111318;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.article-stream-panel{padding:22px}
.article-stream-head{display:flex;align-items:end;justify-content:space-between;gap:18px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid rgba(17,19,24,.08)}
.article-stream-head strong{font-size:24px;color:#111318}
.article-stream-head p{margin:0;max-width:460px;color:#666d76;line-height:1.6}
.article-stream-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.stream-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding:14px;border-radius:22px;background:#fff;border:1px solid rgba(17,19,24,.08);transition:transform .25s ease,box-shadow .25s ease}
.stream-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(17,19,24,.08)}
.stream-thumb{position:relative;display:block;border-radius:16px;overflow:hidden;min-height:136px;background:#ddd}
.stream-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.stream-index{position:absolute;left:12px;top:12px;background:rgba(17,19,24,.82);color:#fff;border-radius:999px;padding:6px 9px;font-size:10px;letter-spacing:.1em;font-weight:700}
.stream-copy{display:flex;flex-direction:column;justify-content:center;gap:10px}
.stream-copy h4{margin:0;font-size:22px;line-height:1.12;color:#111318}
.stream-copy p{margin:0;color:#666d76;font-size:14px;line-height:1.55}
.stream-copy a{color:#c99a56;font-size:11px;text-transform:uppercase;letter-spacing:.11em;font-weight:800}
.article-empty-state,.headline-empty,.article-empty-inline{padding:34px 22px;border:1px dashed rgba(17,19,24,.16);border-radius:22px;background:rgba(255,255,255,.82);color:#4d535c}
.article-more-wrap{margin-top:20px;display:flex;justify-content:center}
.article-more-btn{background:#fff;border:1px solid rgba(17,19,24,.1);color:#111318}
.article-more-btn:hover{background:#111318;color:#fff;border-color:#111318}

@media(max-width:1180px){
  .articles-news-layout{grid-template-columns:1fr}
  .news-feature-card{grid-template-columns:320px minmax(0,1fr)}
}
@media(max-width:900px){
  .articles-editorial-head{grid-template-columns:1fr;align-items:start}
  .articles-search-panel{align-items:flex-start}
  .article-stream-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .articles-section{padding-top:78px;padding-bottom:78px}
  .news-feature-card{grid-template-columns:1fr;gap:18px}
  .news-feature-media{min-height:280px}
  .news-feature-copy{padding:0 2px 2px}
  .news-feature-copy h3{font-size:clamp(28px,9vw,42px)}
  .headline-card,.stream-card{grid-template-columns:96px minmax(0,1fr)}
  .headline-copy h4{font-size:18px}
  .stream-copy h4{font-size:18px}
  .article-stream-head{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .articles-editorial-title h2{font-size:clamp(40px,13vw,54px)}
  .articles-feature-wrap,.articles-headline-wrap,.article-stream-panel{border-radius:22px}
  .articles-feature-wrap{padding:14px}
  .news-feature-media{border-radius:18px;min-height:240px}
  .headline-card,.stream-card{padding:12px;gap:12px;border-radius:18px}
  .headline-thumb,.stream-thumb{border-radius:14px;min-height:92px}
  .headline-copy p,.stream-copy p{font-size:13px}
}


/* ===== Articles V6.26 · Periódico digital ===== */
.articles-editorial-head p{max-width:760px}
.articles-newspaper-shell{display:grid;gap:22px}
.newsroom-edition-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-radius:24px;background:rgba(255,255,255,.78);border:1px solid rgba(17,19,24,.09);box-shadow:0 18px 40px rgba(17,19,24,.06)}
.edition-left{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.edition-left strong{font-size:18px;color:#111318;letter-spacing:-.02em}
.edition-right{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#8c7b60;font-weight:800}
.newsroom-front-page{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);gap:22px;align-items:stretch}
.newsroom-front-lead,.newsroom-front-side,.newsroom-briefs-section,.newsroom-archive-section{background:rgba(255,255,255,.72);border:1px solid rgba(17,19,24,.08);border-radius:28px;box-shadow:0 18px 50px rgba(17,19,24,.07);backdrop-filter:blur(10px)}
.newsroom-front-lead{padding:24px}
.news-lead-story{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:24px;align-items:stretch}
.news-lead-media{display:block;position:relative;border-radius:24px;overflow:hidden;background:#ddd7cb;min-height:460px}
.news-lead-media img{width:100%;height:100%;object-fit:cover;display:block}
.news-chip{position:absolute;left:16px;bottom:16px;padding:9px 14px;border-radius:999px;background:rgba(17,19,24,.78);color:#fff;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.news-lead-copy{display:flex;flex-direction:column;justify-content:center;gap:18px;padding-right:6px}
.news-lead-copy h3{margin:0;font-size:clamp(34px,4vw,56px);line-height:1.02;letter-spacing:-.04em;color:#111318}
.news-lead-copy p{margin:0;font-size:16px;line-height:1.8;color:#646c75;max-width:460px}
.news-lead-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.news-mini-meta{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8c7b60;font-weight:800}
.newsroom-front-side{padding:22px;display:flex;flex-direction:column;gap:18px}
.front-side-head strong{display:block;font-size:28px;letter-spacing:-.03em;color:#111318;margin-top:4px}
.editorial-stories-grid{display:grid;gap:16px}
.editorial-story{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;padding:12px;border-radius:22px;background:#fff;border:1px solid rgba(17,19,24,.08);transition:transform .25s ease, box-shadow .25s ease}
.editorial-story:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(17,19,24,.08)}
.editorial-story-media{display:block;border-radius:18px;overflow:hidden;background:#e0dbd0;min-height:146px}
.editorial-story-media img{width:100%;height:100%;object-fit:cover;display:block}
.editorial-story-copy{display:flex;flex-direction:column;gap:10px;padding:4px 0}
.editorial-kicker{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:800}
.editorial-story-copy h4{margin:0;font-size:24px;line-height:1.08;color:#111318;letter-spacing:-.03em}
.editorial-story-copy p{margin:0;font-size:14px;line-height:1.65;color:#69717b}
.editorial-story-copy a{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#111318;font-weight:800}
.newsroom-briefs-section,.newsroom-archive-section{padding:22px}
.newsroom-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid rgba(17,19,24,.08)}
.newsroom-section-head strong{display:block;font-size:26px;letter-spacing:-.03em;color:#111318;margin-top:4px}
.newsroom-section-head p{margin:0;max-width:460px;color:#67707a;line-height:1.65}
.newsroom-briefs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.news-brief-card{display:grid;gap:12px;padding:12px;border-radius:20px;background:#fff;border:1px solid rgba(17,19,24,.08);transition:transform .25s ease, box-shadow .25s ease}
.news-brief-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(17,19,24,.08)}
.news-brief-thumb{display:block;position:relative;border-radius:16px;overflow:hidden;background:#e5e0d8;aspect-ratio:4/3}
.news-brief-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.news-brief-thumb span{position:absolute;left:10px;top:10px;background:rgba(17,19,24,.8);color:#fff;border-radius:999px;padding:6px 8px;font-size:9px;letter-spacing:.12em;font-weight:800}
.news-brief-copy{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.news-brief-copy h4{margin:0;font-size:17px;line-height:1.28;color:#111318;flex:1}
.news-brief-copy a{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:var(--gold);white-space:nowrap;margin-top:3px}
.newsroom-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.archive-story{display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;padding:14px;border-radius:22px;background:#fff;border:1px solid rgba(17,19,24,.08);transition:transform .25s ease, box-shadow .25s ease}
.archive-story:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(17,19,24,.08)}
.archive-story-media{display:block;border-radius:18px;overflow:hidden;background:#e3ddd2;aspect-ratio:4/5}
.archive-story-media img{width:100%;height:100%;object-fit:cover;display:block}
.archive-story-copy{display:flex;flex-direction:column;gap:10px;padding:2px 0}
.archive-story-top{display:flex;align-items:center;gap:10px}
.archive-index{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:800}
.archive-rule{display:block;flex:1;height:1px;background:rgba(17,19,24,.08)}
.archive-story-copy h5{margin:0;font-size:22px;line-height:1.12;color:#111318;letter-spacing:-.03em}
.archive-story-copy p{margin:0;font-size:14px;line-height:1.65;color:#69717b}
.archive-story-copy a{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#111318}
.headline-empty,.article-empty-inline{padding:24px;border-radius:20px;background:#fff;border:1px dashed rgba(17,19,24,.12);color:#66707a}
.article-empty-state{padding:38px;border-radius:24px;background:rgba(255,255,255,.82);border:1px solid rgba(17,19,24,.08)}
.article-empty-state strong{display:block;font-size:20px;color:#111318;margin-bottom:8px}
.article-empty-state p{margin:0;color:#66707a}
@media (max-width: 1240px){
  .newsroom-front-page{grid-template-columns:1fr}
  .news-lead-story{grid-template-columns:minmax(260px,380px) minmax(0,1fr)}
  .newsroom-briefs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 920px){
  .newsroom-section-head{flex-direction:column;align-items:flex-start}
  .newsroom-archive-grid{grid-template-columns:1fr}
  .news-lead-story{grid-template-columns:1fr;gap:18px}
  .news-lead-media{min-height:280px}
}
@media (max-width: 767px){
  .newsroom-edition-bar{padding:14px 16px;border-radius:18px;flex-direction:column;align-items:flex-start}
  .newsroom-front-lead,.newsroom-front-side,.newsroom-briefs-section,.newsroom-archive-section{padding:16px;border-radius:20px}
  .news-lead-media{border-radius:18px;min-height:240px}
  .news-lead-copy h3{font-size:clamp(28px,10vw,40px)}
  .editorial-story{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px;border-radius:18px}
  .editorial-story-media{border-radius:14px;min-height:120px}
  .editorial-story-copy h4{font-size:20px}
  .newsroom-briefs-grid{grid-template-columns:1fr}
  .news-brief-card{padding:10px;border-radius:16px}
  .news-brief-copy{flex-direction:column;gap:8px}
  .archive-story{grid-template-columns:96px minmax(0,1fr);gap:12px;padding:10px;border-radius:18px}
  .archive-story-media{border-radius:14px}
  .archive-story-copy h5{font-size:18px}
  .newsroom-section-head strong,.front-side-head strong{font-size:22px}
}


/* V6.27 | Fix de visibilidad para artículos generados dinámicamente */
#articulos{scroll-margin-top:104px;}
.article-dynamic-enter{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay:var(--article-delay,0ms);
}
.article-dynamic-enter.is-visible{
  opacity:1;
  transform:none;
}
/* Fail-safe: el módulo nunca debe quedar vacío por una animación */
@media (prefers-reduced-motion:reduce){
  .article-dynamic-enter{opacity:1 !important;transform:none !important;transition:none !important;}
}
@media (max-width:900px){
  #articulos{scroll-margin-top:88px;}
}


/* V6.28 | Crédito Vektoor en footer */
.footer-bottom{gap:18px;flex-wrap:wrap;align-items:center;}
.footer-credit{margin-left:auto;}
.footer-credit a{color:var(--gold-2);font-weight:800;text-transform:none;letter-spacing:.06em;transition:color .22s ease,opacity .22s ease;}
.footer-credit a:hover{color:#fff;opacity:.95;}
@media(max-width:760px){
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;}
  .footer-credit{margin-left:0;}
}

/* ===== V6.30 | Correcciones responsivas solicitadas ===== */

/* 1. Trayectoria: el fondo oscuro acompaña todo el bloque de texto blanco. */
.profile-dark-copy{display:contents;}

@media(max-width:860px){
  .profile#trayectoria::after{display:none!important;}
  .profile#trayectoria .profile-copy{position:relative;z-index:2;}
  .profile#trayectoria .profile-dark-copy{
    display:block;
    position:relative;
    z-index:1;
    margin-top:24px;
    padding:0 0 38px;
  }
  .profile#trayectoria .profile-dark-copy::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:-54px;
    bottom:0;
    left:50%;
    width:100vw;
    transform:translateX(-50%);
    background:#0b0d10;
    pointer-events:none;
  }
  .profile#trayectoria .profile-focus{margin-top:28px;}
}

@media(max-width:600px){
  .profile#trayectoria .profile-dark-copy{margin-top:20px;padding-bottom:34px;}
  .profile#trayectoria .profile-dark-copy::before{top:-48px;}
}

/* 2. Libros: portada, reseña y leyenda perfectamente centradas en tablet/móvil. */
@media(max-width:860px){
  .book-showcase,
  .book-stage,
  .book-details{min-width:0;width:100%;max-width:100%;}
  .book-stage{
    align-items:center!important;
    justify-content:center!important;
    text-align:center;
    overflow:hidden;
  }
  .book-cover-shell{
    align-self:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
    transform:perspective(1000px) rotateY(0deg) rotateX(0deg)!important;
  }
  .book-cover-shell.book-changing{
    transform:perspective(1000px) translateY(12px) scale(.97)!important;
  }
  .book-stage-description{
    align-self:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:left;
  }
  .book-stage-caption{
    left:50%!important;
    right:auto!important;
    width:max-content;
    max-width:calc(100% - 44px);
    transform:translateX(-50%);
    text-align:center;
  }
}

/* 3. Galería: filtros completos, sin botones cortados. */
.gallery-stage-top,
.gallery-filters,
.gallery-stage-actions{min-width:0;max-width:100%;}

@media(max-width:760px){
  .gallery-filters{
    width:100%;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px!important;
  }
  .filter-chip{
    width:100%;
    min-width:0;
    padding:10px 8px!important;
    white-space:normal;
    text-align:center;
    line-height:1.2;
  }
  .gallery-stage-actions{width:100%;}
}

@media(max-width:390px){
  .gallery-filters{grid-template-columns:1fr;}
}

/* 4. Videoteca: ninguna opción lateral puede salir del contenedor. */
.videos-v8-shell,
.videos-v8-watch,
.videos-v8-sidebar,
.videos-v8-list,
.video-v8-card,
.video-v8-card-copy{min-width:0;max-width:100%;}
.videos-v8-shell{width:100%;}
.videos-v8-sidebar{width:100%;overflow:hidden;}
.videos-v8-list{width:100%;overflow-x:hidden;}
.video-v8-card{overflow:hidden;}
.video-v8-card-copy{overflow:hidden;}
.video-v8-card-title,
.video-v8-card-summary{overflow-wrap:anywhere;word-break:normal;}

@media(max-width:760px){
  .videos-v8-shell{grid-template-columns:minmax(0,1fr)!important;}
  .videos-v8-watch,.videos-v8-sidebar{width:100%;}
  .videos-v8-list{grid-template-columns:minmax(0,1fr)!important;}
  .video-v8-card{width:100%;grid-template-columns:96px minmax(0,1fr);}
}

@media(max-width:420px){
  .video-v8-card{grid-template-columns:84px minmax(0,1fr);gap:9px;}
  .video-v8-card-meta{gap:6px;letter-spacing:.09em;}
  .video-v8-card-index{font-size:19px;}
}

/* 5. Hemeroteca: el texto informativo fue retirado del HTML. */
.articles-editorial-title{min-width:0;}

/* 6. Limpieza de la parte inferior: sin figuras decorativas sueltas. */
.contact-section::before,
.articles-section::before,
.articles-section::after{
  display:none!important;
  content:none!important;
}

/* Revisión general de desbordamientos en bloques principales. */
#trayectoria,#libros,#galeria,#videos,#articulos,#contacto{max-width:100%;}
@media(max-width:860px){
  .profile-grid,.publications-intro,.book-showcase,.gallery-stage,.videos-v8-shell,.articles-editorial-head,.contact-grid{min-width:0;}
}

/* ===== V6.31 | Ajustes móviles: portada, trayectoria, libros y galería ===== */

/* Control de audio visible tanto en escritorio como en responsivo. */
.sound-toggle{cursor:pointer;}
.sound-toggle #soundIcon{font-size:11px;line-height:1;}

/* Botones laterales del carrusel de libros: solo se muestran en móvil/tablet. */
.book-selector-carousel{position:relative;z-index:2;}
.book-rail-nav{display:none;}

@media(max-width:860px){
  /* 2. Portada móvil: bajar el bloque para acompañar mejor el encuadre del video. */
  .hero-content{
    padding-top:clamp(225px,29svh,300px)!important;
  }

  /* 3. Evitar repetir "Formación académica" en responsivo: se conserva el listado interactivo. */
  #trayectoria .profile-focus{display:none!important;}
  #trayectoria .profile-pillars{margin-top:28px;}

  /* 4. Libros: ficha/título arriba de la portada y carrusel compacto debajo. */
  #libros .book-showcase{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    overflow:hidden!important;
    background:#111419!important;
  }
  #libros .book-details{display:contents!important;}
  #libros .book-details::before{display:none!important;content:none!important;}
  #libros .book-details-top{
    order:1;
    width:100%;
    margin:0!important;
    padding:28px 24px 14px;
    background:linear-gradient(180deg,#fff 0%,#fbfaf7 100%);
  }
  #libros .book-feature-copy{
    order:2;
    width:100%;
    min-height:0!important;
    padding:0 24px 30px!important;
    border-bottom:0!important;
    background:linear-gradient(180deg,#fbfaf7 0%,#fbfaf7 100%);
  }
  #libros .book-feature-copy h3{
    max-width:none;
    font-size:clamp(28px,7.8vw,40px)!important;
    line-height:1.04;
  }
  #libros .book-stage{
    order:3;
    width:100%!important;
    min-height:560px!important;
    padding:44px 22px 64px!important;
  }
  #libros .book-cover-shell{
    width:min(270px,68vw)!important;
  }
  #libros .book-selector-carousel{
    order:4;
    width:100%;
    padding:18px 0 24px;
    background:#fbfaf7;
    border-top:1px solid rgba(17,19,24,.08);
  }
  #libros .book-selector-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:10px!important;
    width:100%;
    margin:0!important;
    padding:4px 44px 8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -ms-overflow-style:none;
    overscroll-behavior-inline:contain;
  }
  #libros .book-selector-grid::-webkit-scrollbar{display:none;}
  #libros .book-selector{
    flex:0 0 118px!important;
    width:118px!important;
    min-width:118px!important;
    min-height:154px!important;
    scroll-snap-align:center;
  }
  #libros .book-selector-thumb{height:96px!important;}
  #libros .book-selector-title{
    font-size:10px!important;
    -webkit-line-clamp:2;
  }
  #libros .book-empty{
    order:5;
    margin:0!important;
    border-radius:0!important;
    background:#fbfaf7;
  }
  #libros .book-rail-nav{
    position:absolute;
    display:grid;
    place-items:center;
    z-index:8;
    top:50%;
    width:36px;
    height:36px;
    margin-top:-18px;
    border-radius:50%;
    border:1px solid rgba(17,19,24,.12);
    background:rgba(17,19,24,.88);
    color:#fff;
    box-shadow:0 10px 24px rgba(17,19,24,.18);
    font-size:27px;
    line-height:1;
    cursor:pointer;
  }
  #libros .book-rail-prev{left:8px;}
  #libros .book-rail-next{right:8px;}

  /* 5. Galería móvil: seis fotos como mosaico compacto de 3 columnas. */
  #galeria .gallery-compact-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:112px!important;
    gap:7px!important;
    min-height:0!important;
  }
  #galeria .gallery-card,
  #galeria .gallery-card-featured,
  #galeria .gallery-card:nth-child(7n+1),
  #galeria .gallery-card:nth-child(9n+4){
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:112px!important;
    border-radius:14px!important;
  }
  #galeria .gallery-card-meta{
    left:8px!important;
    right:8px!important;
    bottom:7px!important;
    gap:5px!important;
  }
  #galeria .gallery-card-meta p{display:none!important;}
  #galeria .gallery-card-meta span{
    font-size:7px!important;
    letter-spacing:.08em!important;
  }
  #galeria .gallery-zoom{
    width:25px!important;
    height:25px!important;
    font-size:13px!important;
  }
}

@media(max-width:600px){
  .hero-content{
    padding-top:clamp(240px,31svh,310px)!important;
  }
  .hero h1{font-size:clamp(36px,11.2vw,50px)!important;}
  #libros .book-details-top{padding:24px 20px 12px;}
  #libros .book-feature-copy{padding:0 20px 26px!important;}
  #libros .book-stage{min-height:520px!important;padding:38px 18px 58px!important;}
  #libros .book-cover-shell{width:min(245px,68vw)!important;}
}

@media(max-width:365px){
  #galeria .gallery-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:120px!important;}
  #galeria .gallery-card,#galeria .gallery-card-featured{height:120px!important;}
}

/* ===== V6.33 | Portada móvil: bloque de texto realmente abajo ===== */
@media(max-width:860px){
  .hero-content{
    position:absolute!important;
    left:16px!important;
    right:16px!important;
    top:auto!important;
    bottom:118px!important;
    width:auto!important;
    margin:0!important;
    padding-top:0!important;
  }
}
@media(max-width:600px){
  .hero-content{
    left:16px!important;
    right:16px!important;
    bottom:150px!important;
    padding-top:0!important;
  }
  .hero-video{
    object-position:center bottom!important;
  }
}
@media(max-width:390px){
  .hero-content{bottom:146px!important;}
}


/* ===== V6.34 | Limpieza de artefactos y audio de portada ===== */

/* Se retiran por completo las figuras decorativas ajenas al contenido. */
.cursor-glow,
.motion-grid-bg,
.motion-grid-panel{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  content:none !important;
  background:none !important;
  box-shadow:none !important;
}

/* Parte baja del sitio completamente limpia: sin círculos, blobs o pseudoimágenes. */
#articulos::before,
#articulos::after,
#contacto::before,
#contacto::after,
.site-footer::before,
.site-footer::after{
  display:none !important;
  content:none !important;
  background:none !important;
  box-shadow:none !important;
}

/* Botón de audio: deja claro cuando Chrome bloquea el autoplay con sonido. */
.sound-toggle.sound-blocked{
  border-color:rgba(229,188,123,.58) !important;
  background:rgba(17,19,24,.82) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.24),0 0 0 1px rgba(229,188,123,.08) inset;
  animation:soundAttention 1.7s ease-in-out infinite;
}
.sound-toggle.sound-blocked #soundIcon{
  color:var(--gold-2);
}
@keyframes soundAttention{
  0%,100%{transform:translateY(0);box-shadow:0 10px 30px rgba(0,0,0,.20)}
  50%{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.28)}
}


/* ===== V6.36 | Modal Acerca de mí: limpieza + scroll móvil real ===== */
/* El texto introductorio fue retirado del HTML. En móvil el desplazamiento
   se hace sobre el modal completo para evitar que la ficha quede atrapada. */
@media (max-width: 900px){
  #bioModal{
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    place-items:start center !important;
    padding:10px 0 24px;
    touch-action:pan-y;
  }
  #bioModal .modal-backdrop{
    position:fixed;
  }
  #bioModal .modal-bio{
    width:min(100%,calc(100% - 20px)) !important;
    max-height:none !important;
    min-height:0 !important;
    height:auto !important;
    overflow:visible !important;
    margin:0 auto;
  }
  #bioModal .bio-modal-grid{
    display:block !important;
    min-height:0 !important;
    height:auto !important;
  }
  #bioModal .bio-sidebar,
  #bioModal .bio-content{
    overflow:visible !important;
    min-height:0 !important;
    height:auto !important;
  }
  #bioModal .modal-close{
    position:fixed !important;
    top:calc(env(safe-area-inset-top, 0px) + 18px) !important;
    right:18px !important;
    z-index:2105 !important;
  }
}

@media (max-width: 600px){
  #bioModal{
    padding-top:8px;
    padding-bottom:calc(24px + env(safe-area-inset-bottom, 0px));
  }
  #bioModal .modal-bio{
    width:calc(100% - 16px) !important;
    border-radius:22px !important;
  }
  #bioModal .bio-sidebar{
    padding:28px 18px 20px !important;
  }
  #bioModal .bio-sidebar h2{
    margin-bottom:18px;
  }
  #bioModal .bio-mini-card{
    margin-top:18px;
  }
  #bioModal .bio-content{
    padding:22px 18px 26px !important;
  }
}


/* ===== V6.37 | Modal Acerca de mí: scroll escritorio + cache refresh ===== */
/* Escritorio: la columna izquierda permanece fija y únicamente la columna
   blanca de contenido se desplaza verticalmente. */
@media (min-width: 901px){
  #bioModal{
    overflow:hidden !important;
  }
  #bioModal .modal-bio{
    height:min(88vh,900px) !important;
    max-height:min(88vh,900px) !important;
    overflow:hidden !important;
  }
  #bioModal .bio-modal-grid{
    height:100% !important;
    min-height:0 !important;
    grid-template-rows:minmax(0,1fr) !important;
    overflow:hidden !important;
  }
  #bioModal .bio-sidebar{
    height:100% !important;
    min-height:0 !important;
    overflow:hidden !important;
  }
  #bioModal .bio-content{
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    touch-action:pan-y;
    scrollbar-gutter:stable;
    padding-bottom:46px !important;
  }
  #bioModal .bio-content::-webkit-scrollbar{
    width:10px;
  }
  #bioModal .bio-content::-webkit-scrollbar-track{
    background:rgba(17,19,24,.04);
  }
  #bioModal .bio-content::-webkit-scrollbar-thumb{
    background:rgba(201,154,86,.48);
    border-radius:999px;
    border:2px solid transparent;
    background-clip:padding-box;
  }
  #bioModal .bio-content{
    scrollbar-width:thin;
    scrollbar-color:rgba(201,154,86,.58) rgba(17,19,24,.04);
  }
}

/* Móvil/tablet: conservar el desplazamiento completo del modal, pero asegurar
   que la zona táctil no quede bloqueada por ningún overflow heredado. */
@media (max-width: 900px){
  #bioModal{
    max-height:100dvh !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    touch-action:pan-y !important;
  }
  #bioModal .modal-bio,
  #bioModal .bio-modal-grid,
  #bioModal .bio-content{
    max-height:none !important;
  }
}

/* ===== JAVA V6.31.3 | Hemeroteca editorial sin fotos en portada + lector interno ===== */
#articulos .articles-editorial-title h2 em{color:#9a6b2f}
#articulos .articles-editorial-title p{max-width:760px}

/* Portadas tipográficas: en la portada de la hemeroteca NO se usa el escaneo como miniatura. */
.article-cover-stage{
  min-width:0;
  display:block;
}
.article-editorial-cover{
  appearance:none;
  -webkit-appearance:none;
  position:relative;
  width:100%;
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:10px;
  overflow:hidden;
  padding:24px;
  border:1px solid rgba(34,27,18,.14);
  border-radius:inherit;
  background:
    linear-gradient(135deg,rgba(255,255,255,.68),rgba(255,255,255,.14)),
    repeating-linear-gradient(0deg,rgba(39,31,21,.018) 0,rgba(39,31,21,.018) 1px,transparent 1px,transparent 4px),
    #eee7db;
  color:#17130f;
  text-align:left;
  font:inherit;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 18px 38px rgba(39,29,16,.09);
  isolation:isolate;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.article-editorial-cover::before{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(79,55,27,.16);
  pointer-events:none;
  z-index:-1;
}
.article-editorial-cover::after{
  content:"HEMEROTECA";
  position:absolute;
  right:-6px;
  top:34px;
  transform:rotate(90deg) translateX(100%);
  transform-origin:right top;
  color:rgba(59,42,23,.10);
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.34em;
  pointer-events:none;
}
.article-editorial-cover:hover,
.article-editorial-cover:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(154,107,47,.42);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 22px 46px rgba(39,29,16,.14);
  outline:none;
}
.article-cover-top{
  position:absolute;
  left:24px;
  right:24px;
  top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-family:Arial,Helvetica,sans-serif;
}
.article-cover-top b{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 10px;
  border:1px solid currentColor;
  color:#704820;
  font-size:9px;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.article-cover-top em{
  color:rgba(48,37,25,.55);
  font-size:10px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.16em;
}
.article-cover-rule{
  position:absolute;
  left:24px;
  top:66px;
  width:50px;
  height:2px;
  background:#9a6b2f;
}
.article-editorial-cover strong{
  display:block;
  max-width:92%;
  margin-top:auto;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(24px,2.4vw,38px);
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:700;
  text-wrap:balance;
}
.article-editorial-cover small{
  display:block;
  color:#6c6257;
  font-family:Arial,Helvetica,sans-serif;
  font-size:10px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.article-cover-cta{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-top:6px;
  color:#855a28;
  font-family:Arial,Helvetica,sans-serif;
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.article-cover-cta i{font-style:normal;font-size:15px;line-height:1}

.article-editorial-cover.type-revista{
  background:
    linear-gradient(145deg,rgba(253,251,245,.88),rgba(255,255,255,.30)),
    repeating-linear-gradient(90deg,rgba(28,73,60,.025) 0,rgba(28,73,60,.025) 1px,transparent 1px,transparent 5px),
    #e8eee8;
}
.article-editorial-cover.type-revista .article-cover-top b,
.article-editorial-cover.type-revista .article-cover-cta{color:#416557}
.article-editorial-cover.type-revista .article-cover-rule{background:#416557}
.article-editorial-cover.type-manifiesto{
  background:
    linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.22)),
    repeating-linear-gradient(0deg,rgba(36,35,33,.02) 0,rgba(36,35,33,.02) 1px,transparent 1px,transparent 3px),
    #f1efe9;
}
.article-editorial-cover.type-manifiesto .article-cover-top b,
.article-editorial-cover.type-manifiesto .article-cover-cta{color:#343434}
.article-editorial-cover.type-manifiesto .article-cover-rule{background:#343434}

.article-editorial-cover--lead{min-height:460px;padding:34px}
.article-editorial-cover--lead .article-cover-top{left:34px;right:34px;top:30px}
.article-editorial-cover--lead .article-cover-rule{left:34px;top:78px;width:76px}
.article-editorial-cover--lead strong{font-size:clamp(38px,4.6vw,68px);max-width:94%;line-height:.92}
.article-editorial-cover--lead small{font-size:11px}
.article-editorial-cover--compact{min-height:146px;padding:16px}
.article-editorial-cover--compact::before{inset:8px}
.article-editorial-cover--compact .article-cover-top{left:16px;right:16px;top:14px}
.article-editorial-cover--compact .article-cover-top b{min-height:20px;padding:0 7px;font-size:7px}
.article-editorial-cover--compact .article-cover-rule{left:16px;top:45px;width:32px}
.article-editorial-cover--compact strong{font-size:18px;line-height:1.02}
.article-editorial-cover--compact small{display:none}
.article-editorial-cover--compact .article-cover-cta{font-size:7px;margin-top:1px}
.article-editorial-cover--mini{min-height:150px;padding:16px}
.article-editorial-cover--mini::before{inset:8px}
.article-editorial-cover--mini .article-cover-top{left:16px;right:16px;top:14px}
.article-editorial-cover--mini .article-cover-top b{min-height:20px;padding:0 7px;font-size:7px}
.article-editorial-cover--mini .article-cover-rule{left:16px;top:45px;width:30px}
.article-editorial-cover--mini strong{font-size:20px;line-height:1}
.article-editorial-cover--mini small{font-size:7px}
.article-editorial-cover--mini .article-cover-cta{display:none}
.article-editorial-cover--archive{min-height:100%;padding:14px}
.article-editorial-cover--archive::before{inset:7px}
.article-editorial-cover--archive .article-cover-top{left:14px;right:14px;top:12px}
.article-editorial-cover--archive .article-cover-top b{min-height:18px;padding:0 6px;font-size:6px}
.article-editorial-cover--archive .article-cover-top em{font-size:7px}
.article-editorial-cover--archive .article-cover-rule{left:14px;top:39px;width:26px}
.article-editorial-cover--archive strong{font-size:17px;line-height:.98}
.article-editorial-cover--archive small,.article-editorial-cover--archive .article-cover-cta{display:none}

.article-text-link{
  appearance:none;
  border:0;
  padding:0;
  background:none;
  color:#8b5f2b;
  font:inherit;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  cursor:pointer;
  text-align:left;
}
.article-text-link:hover{text-decoration:underline;text-underline-offset:4px}

/* El modal muestra el escaneo restaurado únicamente al entrar al artículo. */
.article-reader-modal{
  align-items:stretch !important;
  justify-content:center !important;
  padding:22px !important;
  background:rgba(5,7,9,.76);
  backdrop-filter:blur(12px);
}
.article-reader-dialog{
  position:relative;
  z-index:2;
  width:min(1480px,calc(100vw - 44px));
  height:calc(100dvh - 44px);
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  background:#11151a;
  color:#fff;
  box-shadow:0 36px 110px rgba(0,0,0,.48);
}
.article-reader-toolbar{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:14px 18px 14px 24px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:#151a20;
}
.article-reader-heading{min-width:0}
.article-reader-heading .eyebrow{color:#c99a56;font-size:9px}
.article-reader-heading h2{
  margin:5px 0 0;
  color:#fff;
  font-size:clamp(18px,2.2vw,29px);
  line-height:1.05;
  letter-spacing:-.025em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.article-reader-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.article-reader-actions a,
.article-reader-actions button{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:#1d232b;
  color:#fff;
  font:inherit;
  font-size:11px;
  cursor:pointer;
  text-decoration:none;
}
.article-reader-actions button{width:42px;padding:0;font-size:19px}
.article-reader-actions a:hover,.article-reader-actions button:hover{background:#29313b;border-color:rgba(255,255,255,.22)}
.article-reader-body{
  position:relative;
  min-height:0;
  overflow:hidden;
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 64px;
  align-items:stretch;
  background:#0c1014;
}
.article-reader-page-wrap{
  min-width:0;
  min-height:0;
  overflow:auto;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:34px 24px 50px;
  scroll-behavior:smooth;
  overscroll-behavior:contain;
  background:
    radial-gradient(circle at 50% 18%,rgba(255,255,255,.045),transparent 34%),
    #0c1014;
}
.article-reader-page-wrap img{
  display:block;
  width:100%;
  max-width:1100px;
  height:auto;
  object-fit:contain;
  background:#fff;
  box-shadow:0 24px 68px rgba(0,0,0,.42);
  transform-origin:top center;
}
.article-reader-nav{
  position:relative;
  z-index:2;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.78);
  font-size:50px;
  cursor:pointer;
  transition:background .22s ease,color .22s ease;
}
.article-reader-nav:hover{background:rgba(255,255,255,.045);color:#fff}
.article-reader-footer{
  min-height:74px;
  display:grid;
  grid-template-columns:auto auto minmax(0,1fr);
  align-items:center;
  gap:22px;
  padding:12px 22px;
  border-top:1px solid rgba(255,255,255,.08);
  background:#151a20;
}
.article-reader-counter{display:flex;align-items:baseline;gap:7px;font-size:12px;color:rgba(255,255,255,.48)}
.article-reader-counter strong{color:#fff;font-size:25px;line-height:1;font-weight:500}
.article-reader-zoom{display:flex;align-items:center;border:1px solid rgba(255,255,255,.10);border-radius:12px;overflow:hidden;background:#11161c}
.article-reader-zoom button{width:38px;height:38px;border:0;background:transparent;color:#fff;cursor:pointer;font-size:17px}
.article-reader-zoom span{min-width:58px;text-align:center;color:rgba(255,255,255,.78);font-size:10px}
.article-reader-zoom button:hover{background:rgba(255,255,255,.06)}
.article-reader-tip{text-align:right;color:rgba(255,255,255,.43);font-size:10px;letter-spacing:.04em}

@media(max-width:900px){
  .news-lead-media{min-height:330px}
  .article-editorial-cover--lead{min-height:330px}
  .article-reader-modal{padding:10px !important}
  .article-reader-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);border-radius:20px}
  .article-reader-body{grid-template-columns:48px minmax(0,1fr) 48px}
  .article-reader-page-wrap{padding:22px 12px 36px}
  .article-reader-footer{grid-template-columns:auto auto;gap:12px}
  .article-reader-tip{grid-column:1/-1;text-align:left}
}
@media(max-width:620px){
  .articles-editorial-head{margin-bottom:22px}
  .articles-search-panel{width:100%}
  .article-search-box{height:52px}
  .newsroom-front-lead{padding:12px}
  .news-lead-media{min-height:285px}
  .article-editorial-cover--lead{min-height:285px;padding:24px}
  .article-editorial-cover--lead .article-cover-top{left:24px;right:24px;top:22px}
  .article-editorial-cover--lead .article-cover-rule{left:24px;top:64px}
  .article-editorial-cover--lead strong{font-size:clamp(34px,12vw,48px)}
  .article-editorial-cover::after{display:none}
  .article-reader-modal{padding:0 !important}
  .article-reader-dialog{width:100vw;height:100dvh;border:0;border-radius:0}
  .article-reader-toolbar{min-height:68px;padding:10px 10px 10px 14px;gap:10px}
  .article-reader-heading h2{font-size:17px;max-width:58vw}
  .article-reader-original{display:none !important}
  .article-reader-actions button{width:38px;min-height:38px;border-radius:10px}
  .article-reader-body{grid-template-columns:38px minmax(0,1fr) 38px}
  .article-reader-nav{font-size:38px}
  .article-reader-page-wrap{padding:14px 6px 26px}
  .article-reader-footer{min-height:62px;padding:10px 12px;gap:10px;grid-template-columns:auto minmax(0,1fr)}
  .article-reader-counter strong{font-size:21px}
  .article-reader-zoom{justify-self:end}
  .article-reader-tip{display:none}
}


/* ===== JAVA V6.31.4 | Hemeroteca con iconos, títulos y descripciones ===== */
.articles-clean-shell{display:grid;gap:22px}
.articles-clean-topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:18px;align-items:end;padding:20px 22px;border:1px solid rgba(0,0,0,.08);border-radius:22px;background:linear-gradient(180deg,#fff, #faf7f1);box-shadow:0 18px 40px rgba(0,0,0,.06)}
.articles-clean-topbar strong{display:block;font-family:'Playfair Display', Georgia, serif;font-size:clamp(24px,3vw,34px);line-height:1.05;color:#171512}
.articles-clean-topbar p{margin:0;color:#5d5448;font-size:15px;line-height:1.65}
.articles-featured-wrap{display:block}
.articles-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.article-simple-card{display:grid;gap:16px;padding:22px;border-radius:22px;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 12px 28px rgba(0,0,0,.06);transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}
.article-simple-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(0,0,0,.08);border-color:rgba(164,122,66,.28)}
.article-simple-card.is-featured{grid-template-columns:86px minmax(0,1fr);align-items:start;padding:26px 28px;gap:18px;background:linear-gradient(135deg,#fffdf9 0%, #f8f2e7 100%)}
.article-simple-card.is-featured .article-simple-head{display:block}
.article-simple-card.is-featured .article-card-icon{width:86px;height:86px;border-radius:28px}
.article-simple-card.is-featured .article-card-icon span{font-size:34px}
.article-simple-card.is-featured .article-simple-meta{margin-top:12px}
.article-simple-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.article-card-icon{width:60px;height:60px;border-radius:20px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f4efe5 0%, #e8dbc0 100%);color:#6f532e;box-shadow:inset 0 0 0 1px rgba(111,83,46,.10)}
.article-card-icon span{font-size:26px;line-height:1}
.article-card-icon--articulo{background:linear-gradient(135deg,#f5f1e6 0%,#e6d7b4 100%);color:#6b5227}
.article-card-icon--revista{background:linear-gradient(135deg,#eef4f7 0%,#c8dce7 100%);color:#35586d}
.article-card-icon--manifiesto{background:linear-gradient(135deg,#f8efef 0%,#ebd0d0 100%);color:#8a4747}
.article-simple-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.article-simple-kind{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:#f6f1e8;color:#584a35;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.article-simple-number{font-size:12px;font-weight:700;letter-spacing:.16em;color:#9f8e73}
.article-simple-copy h3{margin:0 0 10px;font-family:'Playfair Display', Georgia, serif;font-size:clamp(22px,2.2vw,30px);line-height:1.08;color:#171512}
.articles-simple-grid .article-simple-copy h3{font-size:24px}
.article-simple-copy p{margin:0;color:#5d5448;font-size:15px;line-height:1.7}
.article-simple-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.article-mini-note{font-size:13px;color:#8a7d69}
.article-simple-card .btn{padding:12px 16px;border-radius:999px}
.article-simple-card .article-text-link{font-weight:700;color:#7b5c30;text-decoration:none}
.article-simple-card .article-text-link:hover{text-decoration:underline}
@media (max-width: 991px){
  .articles-clean-topbar{grid-template-columns:1fr}
  .articles-simple-grid{grid-template-columns:1fr}
  .article-simple-card.is-featured{grid-template-columns:1fr}
  .article-simple-card.is-featured .article-simple-head{display:flex}
}
@media (max-width: 575px){
  .article-simple-card{padding:18px;border-radius:18px}
  .article-simple-copy h3,.articles-simple-grid .article-simple-copy h3{font-size:22px}
  .article-card-icon{width:56px;height:56px}
  .article-simple-actions{align-items:flex-start;flex-direction:column}
  .article-simple-meta{justify-content:flex-start}
}


/* ===== JAVA V6.31.5 | Archivo editorial premium ===== */
#articulos.articles-section{
  position:relative;overflow:hidden;background:#0d0f12;color:#f7f3eb;
  padding-top:124px;padding-bottom:130px;
}
#articulos.articles-section:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.32;
  background:
    radial-gradient(circle at 12% 8%,rgba(201,154,86,.18),transparent 28%),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:auto,72px 72px,72px 72px;
  mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.4) 70%,transparent);
}
#articulos .container{position:relative;z-index:1}
#articulos .articles-editorial-head{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:70px;align-items:end;
  padding-bottom:40px;margin-bottom:0;border-bottom:1px solid rgba(255,255,255,.12)
}
#articulos .articles-editorial-title .eyebrow{color:#ddb97e}
#articulos .articles-editorial-title h2{margin:12px 0 18px;font-size:clamp(54px,6.5vw,88px);line-height:.88;letter-spacing:-.055em;font-weight:560;color:#fff}
#articulos .articles-editorial-title h2 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#ddb97e}
#articulos .articles-editorial-title p{max-width:660px;margin:0;color:rgba(255,255,255,.58);font-size:16px;line-height:1.75}
#articulos .articles-search-panel{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
#articulos .article-search-box{min-width:min(100%,360px);height:56px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);border-radius:999px;padding:0 20px;display:flex;align-items:center;gap:12px;backdrop-filter:blur(16px)}
#articulos .article-search-box span{color:#ddb97e;font-size:22px}
#articulos .article-search-box input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:14px}
#articulos .article-search-box input::placeholder{color:rgba(255,255,255,.38)}
#articulos .article-result-count{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.5)}
.article-premium-shell{display:grid;gap:0}
.article-premium-toolbar{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:22px;border-bottom:1px solid rgba(255,255,255,.12)}
.article-premium-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.article-kind-filter{position:relative;border:0;background:transparent;color:rgba(255,255,255,.45);padding:12px 14px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;transition:.25s}
.article-kind-filter:after{content:"";position:absolute;left:14px;right:100%;bottom:4px;height:1px;background:#ddb97e;transition:.3s}
.article-kind-filter:hover,.article-kind-filter.active{color:#fff}
.article-kind-filter.active:after{right:14px}
.article-premium-note{font:italic 14px Georgia,"Times New Roman",serif;color:rgba(255,255,255,.36)}
.article-premium-featured{padding:34px 0 12px}
.article-premium-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) 96px;gap:28px;align-items:center;min-height:210px;padding:30px 8px 30px 0;border-bottom:1px solid rgba(255,255,255,.11);transition:background .35s var(--ease),transform .35s var(--ease),border-color .35s}
.article-premium-card:before{content:"";position:absolute;left:0;top:-1px;width:0;height:1px;background:linear-gradient(90deg,#ddb97e,transparent);transition:width .45s var(--ease)}
.article-premium-card:hover{background:linear-gradient(90deg,rgba(221,185,126,.07),transparent 60%);transform:translateX(6px);border-color:rgba(221,185,126,.28)}
.article-premium-card:hover:before{width:46%}
.article-premium-card.is-featured{min-height:330px;grid-template-columns:100px minmax(0,1fr) 132px;padding:50px 12px 50px 0;border-top:0;border-bottom:1px solid rgba(221,185,126,.34)}
.article-premium-index{align-self:start;padding-top:8px;font:400 16px Georgia,"Times New Roman",serif;color:rgba(221,185,126,.72);letter-spacing:.08em}
.article-premium-card.is-featured .article-premium-index{font-size:22px}
.article-premium-kicker{display:flex;align-items:center;gap:12px;margin-bottom:12px;color:#ddb97e;text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:800}
.article-premium-kicker i{display:block;width:26px;height:1px;background:rgba(221,185,126,.55)}
.article-premium-kicker small{font-size:10px;font-weight:600;color:rgba(255,255,255,.35);letter-spacing:.12em}
.article-premium-main h3{max-width:900px;margin:0 0 12px;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(27px,3.1vw,43px);line-height:1.02;font-weight:400;letter-spacing:-.025em}
.article-premium-card.is-featured .article-premium-main h3{font-size:clamp(42px,5vw,68px);max-width:980px}
.article-premium-main p{max-width:720px;margin:0;color:rgba(255,255,255,.55);font-size:15px;line-height:1.7}
.article-premium-card.is-featured .article-premium-main p{font-size:17px;max-width:760px}
.article-premium-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px}
.article-premium-link{border:0;background:transparent;padding:0;color:#fff;display:inline-flex;align-items:center;gap:14px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.article-premium-link b{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.18);border-radius:50%;font-size:15px;font-weight:400;transition:.3s}
.article-premium-link:hover b{background:#ddb97e;color:#161616;border-color:#ddb97e;transform:rotate(45deg)}
.article-premium-original{font-size:12px;color:rgba(255,255,255,.38);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.18);padding-bottom:3px;transition:.25s}
.article-premium-original:hover{color:#ddb97e;border-color:#ddb97e}
.article-premium-emblem{justify-self:end;width:78px;height:78px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.025);color:#ddb97e;display:grid;place-items:center;position:relative;transition:.35s var(--ease)}
.article-premium-emblem svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;transition:.35s}
.article-premium-emblem span{position:absolute;bottom:-22px;color:rgba(255,255,255,.35);font-size:9px;text-transform:uppercase;letter-spacing:.18em}
.article-premium-card:hover .article-premium-emblem{background:#ddb97e;color:#111;border-color:#ddb97e;transform:scale(1.05)}
.article-premium-card.is-featured .article-premium-emblem{width:108px;height:108px}
.article-premium-card.is-featured .article-premium-emblem svg{width:46px;height:46px}
.article-premium-card.kind-revista .article-premium-emblem{color:#9fc6d8}
.article-premium-card.kind-manifiesto .article-premium-emblem{color:#d6a6a6}
#articulos .article-more-wrap{margin-top:44px}
#articulos .article-more-btn{border-color:rgba(221,185,126,.35);color:#ddb97e;background:transparent}
#articulos .article-more-btn:hover{background:#ddb97e;color:#151515;border-color:#ddb97e}
#articulos .article-empty-state{color:#fff;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03)}
#articulos .article-empty-state p{color:rgba(255,255,255,.55)}
@media(max-width:991px){
  #articulos .articles-editorial-head{grid-template-columns:1fr;gap:34px}
  #articulos .articles-search-panel{justify-content:flex-start}
  .article-premium-card,.article-premium-card.is-featured{grid-template-columns:60px minmax(0,1fr) 82px;gap:18px;min-height:0;padding:30px 0}
  .article-premium-card.is-featured .article-premium-main h3{font-size:clamp(38px,7vw,56px)}
  .article-premium-card.is-featured .article-premium-emblem{width:82px;height:82px}
  .article-premium-card.is-featured .article-premium-emblem svg{width:38px;height:38px}
}
@media(max-width:680px){
  #articulos.articles-section{padding-top:92px;padding-bottom:96px}
  #articulos .container{width:min(calc(100% - 30px),var(--max))}
  #articulos .articles-editorial-title h2{font-size:clamp(46px,14vw,64px)}
  .article-premium-toolbar{align-items:flex-start;flex-direction:column;padding:20px 0}
  .article-premium-note{display:none}
  .article-premium-tabs{gap:0;margin-left:-10px}
  .article-kind-filter{padding:10px;font-size:9px}
  .article-premium-card,.article-premium-card.is-featured{grid-template-columns:44px minmax(0,1fr);gap:14px;padding:26px 0}
  .article-premium-emblem{display:none}
  .article-premium-index{font-size:13px}
  .article-premium-card.is-featured .article-premium-index{font-size:16px}
  .article-premium-main h3{font-size:28px}
  .article-premium-card.is-featured .article-premium-main h3{font-size:38px}
  .article-premium-main p,.article-premium-card.is-featured .article-premium-main p{font-size:14px;line-height:1.65}
  .article-premium-actions{align-items:flex-start;flex-direction:column;gap:12px}
}


/* ===== JAVA V6.31.6 | Hemeroteca premium visible en 3 columnas ===== */
#articulos.articles-section{
  background:linear-gradient(180deg,#f7f1e7 0%,#f2ece3 100%) !important;
  color:#181512 !important;
}
#articulos.articles-section:before{
  opacity:.55;
  background:
    radial-gradient(circle at 12% 10%,rgba(201,154,86,.16),transparent 28%),
    radial-gradient(circle at 88% 4%,rgba(201,154,86,.10),transparent 20%),
    linear-gradient(rgba(26,22,18,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(26,22,18,.03) 1px,transparent 1px) !important;
  background-size:auto,auto,72px 72px,72px 72px !important;
  mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.55) 78%,transparent) !important;
}
#articulos .articles-editorial-head{
  gap:42px !important;
  border-bottom:1px solid rgba(24,21,18,.10) !important;
}
#articulos .articles-editorial-title .eyebrow{color:#a87736 !important;}
#articulos .articles-editorial-title h2{color:#171411 !important;}
#articulos .articles-editorial-title h2 em{color:#b17b39 !important;}
#articulos .articles-editorial-title p{color:#5f584f !important;max-width:760px !important;}
#articulos .articles-search-panel{align-items:flex-end !important;}
#articulos .article-search-box{
  border:1px solid rgba(24,21,18,.10) !important;
  background:rgba(255,255,255,.9) !important;
  box-shadow:0 14px 34px rgba(38,29,20,.08) !important;
}
#articulos .article-search-box input{color:#1a1714 !important;}
#articulos .article-search-box input::placeholder{color:rgba(26,23,20,.42) !important;}
#articulos .article-result-count{color:#8f7448 !important;font-weight:800 !important;}
.article-premium-shell{display:grid;gap:24px !important;}
.article-premium-toolbar{
  min-height:auto !important;
  padding-top:2px !important;
  padding-bottom:4px !important;
  border-bottom:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
}
.article-premium-tabs{gap:10px !important;}
.article-kind-filter{
  border:1px solid rgba(24,21,18,.10) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.72) !important;
  color:#6d6255 !important;
  padding:12px 16px !important;
  box-shadow:0 10px 24px rgba(35,28,20,.05);
}
.article-kind-filter:after{display:none !important;}
.article-kind-filter:hover,.article-kind-filter.active{
  color:#fff !important;
  background:#181512 !important;
  border-color:#181512 !important;
}
.article-premium-note{color:#817462 !important;font-size:13px !important;}
.article-premium-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.article-premium-card,
.article-premium-card.is-featured{
  position:relative;
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  min-height:290px;
  padding:24px !important;
  gap:18px;
  border:1px solid rgba(24,21,18,.10) !important;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.84)) !important;
  box-shadow:0 18px 42px rgba(42,32,21,.08);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  border-bottom:1px solid rgba(24,21,18,.10) !important;
}
.article-premium-card:before{display:none !important;}
.article-premium-card:hover,
.article-premium-card.is-featured:hover{
  transform:translateY(-6px) !important;
  background:linear-gradient(180deg,#ffffff,rgba(255,255,255,.92)) !important;
  border-color:rgba(177,123,57,.35) !important;
  box-shadow:0 26px 52px rgba(42,32,21,.12) !important;
}
.article-premium-index{
  position:absolute;
  top:18px;
  right:18px;
  align-self:auto !important;
  padding-top:0 !important;
  font:700 13px Arial,Helvetica,sans-serif !important;
  color:#a67b43 !important;
  letter-spacing:.14em !important;
  text-transform:uppercase;
}
.article-premium-emblem,
.article-premium-card.is-featured .article-premium-emblem{
  justify-self:auto !important;
  align-self:flex-start !important;
  width:64px !important;
  height:64px !important;
  border-radius:20px !important;
  border:1px solid rgba(177,123,57,.16) !important;
  background:#f5ede2 !important;
  color:#b17b39 !important;
  box-shadow:none !important;
}
.article-premium-card.kind-revista .article-premium-emblem{color:#4f7465 !important;background:#e7f0ea !important;border-color:rgba(79,116,101,.18) !important;}
.article-premium-card.kind-manifiesto .article-premium-emblem{color:#6a5f58 !important;background:#efebe7 !important;border-color:rgba(106,95,88,.18) !important;}
.article-premium-emblem svg,
.article-premium-card.is-featured .article-premium-emblem svg{width:28px !important;height:28px !important;}
.article-premium-emblem span{position:static !important;margin-top:6px;color:#82715a !important;font-size:8px !important;}
.article-premium-card:hover .article-premium-emblem{transform:none !important;background:#f1e3cf !important;color:#9a672c !important;border-color:rgba(154,103,44,.24) !important;}
.article-premium-card.kind-revista:hover .article-premium-emblem{background:#dfece4 !important;color:#446858 !important;}
.article-premium-card.kind-manifiesto:hover .article-premium-emblem{background:#e9e2db !important;color:#5f5550 !important;}
.article-premium-main{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-top:4px;}
.article-premium-kicker{margin-bottom:12px !important;color:#a77738 !important;font-size:10px !important;}
.article-premium-kicker i{background:rgba(167,119,56,.36) !important;}
.article-premium-kicker small{color:#8b7f72 !important;}
.article-premium-main h3,
.article-premium-card.is-featured .article-premium-main h3{
  margin:0 0 12px !important;
  max-width:none !important;
  color:#181512 !important;
  font-size:clamp(23px,2vw,31px) !important;
  line-height:1.08 !important;
  letter-spacing:-.03em !important;
}
.article-premium-main p,
.article-premium-card.is-featured .article-premium-main p{
  margin:0 !important;
  max-width:none !important;
  color:#5d554d !important;
  font-size:14px !important;
  line-height:1.7 !important;
}
.article-premium-actions{margin-top:auto !important;padding-top:18px !important;gap:14px !important;align-items:flex-start !important;}
.article-premium-link{color:#181512 !important;font-size:11px !important;}
.article-premium-link b{border-color:rgba(24,21,18,.14) !important;color:#181512 !important;background:#fff !important;}
.article-premium-link:hover b{background:#b17b39 !important;color:#fff !important;border-color:#b17b39 !important;transform:none !important;}
.article-premium-original{color:#7b705f !important;border-bottom-color:rgba(24,21,18,.14) !important;font-size:11px !important;}
.article-premium-original:hover{color:#a77738 !important;border-color:#a77738 !important;}
#articulos .article-more-wrap{margin-top:30px !important;}
#articulos .article-more-btn{background:#fff !important;color:#181512 !important;border-color:rgba(24,21,18,.12) !important;box-shadow:0 12px 26px rgba(38,29,20,.08);}
#articulos .article-more-btn:hover{background:#181512 !important;color:#fff !important;border-color:#181512 !important;}
#articulos .article-empty-state{background:rgba(255,255,255,.8) !important;border:1px solid rgba(24,21,18,.12) !important;color:#181512 !important;}
#articulos .article-empty-state p{color:#61584f !important;}
@media(max-width:1180px){
  .article-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:991px){
  #articulos .articles-editorial-head{gap:28px !important;}
  #articulos .articles-search-panel{align-items:flex-start !important;}
}
@media(max-width:680px){
  #articulos.articles-section{padding-top:92px !important;padding-bottom:96px !important;}
  .article-premium-toolbar{align-items:flex-start !important;flex-direction:column !important;}
  .article-premium-tabs{gap:8px !important;margin-left:0 !important;}
  .article-kind-filter{padding:10px 14px !important;font-size:9px !important;}
  .article-premium-grid{grid-template-columns:1fr;gap:14px;}
  .article-premium-card,.article-premium-card.is-featured{min-height:0;padding:20px !important;border-radius:22px;}
  .article-premium-main h3,.article-premium-card.is-featured .article-premium-main h3{font-size:26px !important;}
  .article-premium-main p,.article-premium-card.is-featured .article-premium-main p{font-size:14px !important;}
}


/* ===== JAVA V6.31.7 | Hemeroteca estilo lista editorial ===== */
#articulos.articles-section{
  background:linear-gradient(180deg,#081118 0%,#050a0f 100%) !important;
  color:#edf6fb !important;
}
#articulos.articles-section:before{
  opacity:.28 !important;
  background:
    radial-gradient(circle at 10% 14%,rgba(101,216,236,.12),transparent 26%),
    radial-gradient(circle at 88% 8%,rgba(214,170,89,.12),transparent 20%),
    linear-gradient(rgba(101,216,236,.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(101,216,236,.05) 1px,transparent 1px) !important;
  background-size:auto,auto,88px 88px,88px 88px !important;
  mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.75) 84%,transparent) !important;
}
#articulos .articles-editorial-head{border-bottom:1px solid rgba(101,216,236,.16) !important;}
#articulos .articles-editorial-title .eyebrow{color:#d2a85b !important;}
#articulos .articles-editorial-title h2{color:#f3f6f8 !important;}
#articulos .articles-editorial-title h2 em{color:#dcb26a !important;}
#articulos .articles-editorial-title p{color:rgba(237,246,251,.70) !important;}
#articulos .article-search-box{background:rgba(255,255,255,.05) !important;border:1px solid rgba(101,216,236,.18) !important;box-shadow:none !important;}
#articulos .article-search-box input{color:#eef7fb !important;}
#articulos .article-search-box input::placeholder{color:rgba(237,246,251,.38) !important;}
#articulos .article-result-count{color:#dcb26a !important;}
.article-premium-toolbar{align-items:center !important;padding-top:0 !important;padding-bottom:8px !important;}
.article-premium-note{color:rgba(237,246,251,.46) !important;}
.article-kind-filter{background:rgba(255,255,255,.03) !important;border-color:rgba(101,216,236,.16) !important;color:rgba(237,246,251,.72) !important;box-shadow:none !important;}
.article-kind-filter:hover,.article-kind-filter.active{background:#65d8ec !important;border-color:#65d8ec !important;color:#041016 !important;}
.article-premium-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:0 44px !important;}
.article-premium-card,.article-premium-card.is-featured{
  display:grid !important;
  grid-template-columns:86px minmax(0,1fr) !important;
  align-items:center !important;
  min-height:0 !important;
  padding:20px 0 !important;
  border:none !important;
  border-bottom:1px solid rgba(101,216,236,.18) !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  gap:16px !important;
}
.article-premium-card:before{display:none !important;}
.article-premium-card:hover,.article-premium-card.is-featured:hover{transform:none !important;background:transparent !important;border-color:rgba(101,216,236,.38) !important;box-shadow:none !important;}
.article-premium-index{display:none !important;}
.article-premium-emblem,.article-premium-card.is-featured .article-premium-emblem{
  order:0 !important;
  grid-column:1 !important;
  width:72px !important;
  height:72px !important;
  border-radius:50% !important;
  border:2px solid #65d8ec !important;
  background:radial-gradient(circle at 30% 30%,rgba(101,216,236,.16),rgba(7,14,22,.96)) !important;
  color:#65d8ec !important;
  margin:0 !important;
}
.article-premium-card.kind-revista .article-premium-emblem{border-color:#7ee0ca !important;color:#7ee0ca !important;background:radial-gradient(circle at 30% 30%,rgba(126,224,202,.18),rgba(7,14,22,.96)) !important;}
.article-premium-card.kind-manifiesto .article-premium-emblem{border-color:#dcb26a !important;color:#dcb26a !important;background:radial-gradient(circle at 30% 30%,rgba(220,178,106,.18),rgba(7,14,22,.96)) !important;}
.article-premium-emblem svg{width:30px !important;height:30px !important;}
.article-premium-emblem span{display:none !important;}
.article-premium-card:hover .article-premium-emblem{transform:scale(1.03) !important;}
.article-premium-main{grid-column:2 !important;width:100% !important;padding:0 !important;}
.article-premium-kicker{display:flex !important;align-items:center !important;gap:10px !important;margin:0 0 8px !important;}
.article-premium-kicker span{color:#65d8ec !important;font-size:12px !important;letter-spacing:.08em !important;}
.article-premium-kicker i{width:1px !important;height:14px !important;background:rgba(101,216,236,.34) !important;}
.article-premium-kicker small{color:rgba(237,246,251,.55) !important;font-size:11px !important;letter-spacing:.06em !important;text-transform:uppercase !important;}
.article-premium-main h3,.article-premium-card.is-featured .article-premium-main h3{margin:0 0 4px !important;color:#f3f6f8 !important;font-size:clamp(25px,2.2vw,36px) !important;line-height:1.02 !important;letter-spacing:-.03em !important;max-width:none !important;}
.article-premium-main p,.article-premium-card.is-featured .article-premium-main p{margin:0 !important;color:rgba(237,246,251,.62) !important;font-size:14px !important;line-height:1.45 !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;max-width:none !important;}
.article-premium-actions{margin-top:10px !important;padding-top:0 !important;display:flex !important;align-items:center !important;gap:16px !important;flex-wrap:wrap !important;}
.article-premium-link{color:#eef7fb !important;font-size:11px !important;letter-spacing:.12em !important;text-transform:uppercase !important;}
.article-premium-link b{background:transparent !important;border:1px solid rgba(101,216,236,.26) !important;color:#65d8ec !important;}
.article-premium-link:hover{color:#65d8ec !important;}
.article-premium-link:hover b{background:#65d8ec !important;color:#041016 !important;border-color:#65d8ec !important;}
.article-premium-original{color:rgba(237,246,251,.55) !important;border-bottom-color:rgba(237,246,251,.24) !important;}
.article-premium-original:hover{color:#dcb26a !important;border-color:#dcb26a !important;}
#articulos .article-more-btn{background:rgba(255,255,255,.04) !important;color:#eef7fb !important;border-color:rgba(101,216,236,.2) !important;box-shadow:none !important;}
#articulos .article-more-btn:hover{background:#65d8ec !important;color:#041016 !important;border-color:#65d8ec !important;}
#articulos .article-empty-state{background:rgba(255,255,255,.04) !important;border-color:rgba(101,216,236,.16) !important;color:#eef7fb !important;}
#articulos .article-empty-state p{color:rgba(237,246,251,.68) !important;}
@media(max-width:1380px){.article-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:900px){.article-premium-grid{grid-template-columns:1fr !important;}}
@media(max-width:680px){
  .article-premium-grid{gap:0 !important;}
  .article-premium-card,.article-premium-card.is-featured{grid-template-columns:72px minmax(0,1fr) !important;gap:14px !important;padding:18px 0 !important;}
  .article-premium-emblem,.article-premium-card.is-featured .article-premium-emblem{width:62px !important;height:62px !important;}
  .article-premium-main h3,.article-premium-card.is-featured .article-premium-main h3{font-size:28px !important;}
  .article-premium-main p,.article-premium-card.is-featured .article-premium-main p{font-size:13px !important;}
}


/* === V6.31.9 · Artículos en fondo blanco con paleta del sitio === */
#articulos.articles-section{
  background:#ffffff !important;
  position:relative;
  overflow:hidden;
}
#articulos.articles-section:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 10%, rgba(210,168,91,.16), transparent 24%),
    radial-gradient(circle at 88% 6%, rgba(101,216,236,.12), transparent 22%),
    linear-gradient(180deg, rgba(248,244,238,.78), rgba(255,255,255,0) 22%);
  pointer-events:none;
}
#articulos .articles-editorial-head{
  border-bottom:1px solid rgba(177,123,57,.14) !important;
  padding-bottom:26px !important;
}
#articulos .articles-editorial-title .eyebrow{color:#b17b39 !important;}
#articulos .articles-editorial-title h2{color:#181512 !important;}
#articulos .articles-editorial-title h2 em{color:#d2a85b !important;}
#articulos .articles-editorial-title p{color:#5b5349 !important;}
#articulos .article-search-box{
  background:#ffffff !important;
  border:1px solid rgba(177,123,57,.16) !important;
  box-shadow:0 14px 36px rgba(26,23,20,.06) !important;
}
#articulos .article-search-box span{color:#45bfd1 !important;}
#articulos .article-search-box input{color:#181512 !important;}
#articulos .article-search-box input::placeholder{color:rgba(24,21,18,.38) !important;}
#articulos .article-result-count{color:#9c763d !important;}
.article-premium-note{color:#7a6d5e !important;}

.article-premium-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px 24px !important;
}
.article-premium-card,.article-premium-card.is-featured{
  min-height:220px !important;
  align-items:flex-start !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  gap:18px !important;
  padding:24px 22px !important;
  border:1px solid rgba(177,123,57,.16) !important;
  border-top:3px solid #45bfd1 !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,#ffffff 0%,#fdfbf8 100%) !important;
  box-shadow:0 16px 34px rgba(18,18,18,.05) !important;
}
.article-premium-card.kind-revista,.article-premium-card.kind-revista.is-featured{border-top-color:#45bfd1 !important;}
.article-premium-card.kind-manifiesto,.article-premium-card.kind-manifiesto.is-featured{border-top-color:#d2a85b !important;}
.article-premium-card:hover,.article-premium-card.is-featured:hover{
  transform:translateY(-4px) !important;
  background:#ffffff !important;
  border-color:rgba(177,123,57,.28) !important;
  box-shadow:0 20px 40px rgba(18,18,18,.08) !important;
}
.article-premium-index{display:none !important;}
.article-premium-emblem,.article-premium-card.is-featured .article-premium-emblem{
  width:64px !important;
  height:64px !important;
  border-radius:50% !important;
  border:1px solid rgba(69,191,209,.28) !important;
  background:linear-gradient(180deg,#f7fcfd 0%,#eef8fa 100%) !important;
  color:#45bfd1 !important;
  box-shadow:inset 0 0 0 4px rgba(69,191,209,.06) !important;
}
.article-premium-card.kind-manifiesto .article-premium-emblem{
  border-color:rgba(210,168,91,.28) !important;
  background:linear-gradient(180deg,#fffaf2 0%,#f7efe1 100%) !important;
  color:#b17b39 !important;
  box-shadow:inset 0 0 0 4px rgba(210,168,91,.08) !important;
}
.article-premium-emblem svg{width:28px !important;height:28px !important;}
.article-premium-emblem span{display:none !important;}
.article-premium-main{grid-column:2 !important;padding:0 !important;width:100% !important;}
.article-premium-kicker{display:flex !important;align-items:center !important;gap:10px !important;margin:0 0 8px !important;}
.article-premium-kicker span{color:#45bfd1 !important;font-size:11px !important;letter-spacing:.11em !important;}
.article-premium-card.kind-manifiesto .article-premium-kicker span{color:#b17b39 !important;}
.article-premium-kicker i{width:22px !important;height:1px !important;background:rgba(177,123,57,.22) !important;}
.article-premium-kicker small{color:#8a7c6e !important;font-size:11px !important;letter-spacing:.08em !important;}
.article-premium-main h3,.article-premium-card.is-featured .article-premium-main h3{
  margin:0 0 8px !important;
  color:#181512 !important;
  font-size:clamp(26px,2vw,34px) !important;
  line-height:1.02 !important;
  letter-spacing:-.03em !important;
}
.article-premium-main p,.article-premium-card.is-featured .article-premium-main p{
  margin:0 !important;
  color:#5e574e !important;
  font-size:14px !important;
  line-height:1.58 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:3 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
.article-premium-actions{margin-top:16px !important;padding-top:0 !important;display:flex !important;align-items:center !important;gap:14px !important;flex-wrap:wrap !important;}
.article-premium-link{color:#181512 !important;font-size:11px !important;letter-spacing:.12em !important;text-transform:uppercase !important;}
.article-premium-link b{background:#ffffff !important;border:1px solid rgba(177,123,57,.22) !important;color:#b17b39 !important;}
.article-premium-link:hover{color:#b17b39 !important;}
.article-premium-link:hover b{background:#b17b39 !important;color:#ffffff !important;border-color:#b17b39 !important;}
.article-premium-original{color:#7e7365 !important;border-bottom-color:rgba(177,123,57,.18) !important;font-size:11px !important;}
.article-premium-original:hover{color:#45bfd1 !important;border-color:#45bfd1 !important;}

@media(max-width:1380px){
  .article-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:900px){
  .article-premium-grid{grid-template-columns:1fr !important;}
  .article-premium-card,.article-premium-card.is-featured{padding:20px 18px !important;}
}


/* V6.31.10 · Respaldo para anclas del menú */
#trayectoria,#libros,#galeria,#videos,#articulos,#contacto{scroll-margin-top:96px;}
@media(max-width:860px){#trayectoria,#libros,#galeria,#videos,#articulos,#contacto{scroll-margin-top:82px;}}


/* === V6.31.11 · Encabezado simple de Publicaciones + filtros legibles === */
#articulos .articles-editorial-head{
  grid-template-columns:minmax(0,1fr) minmax(300px,430px) !important;
  align-items:center !important;
  gap:36px !important;
  margin-bottom:18px !important;
  padding-bottom:22px !important;
}
#articulos .articles-editorial-title{display:flex !important;align-items:center !important;min-height:74px;}
#articulos .articles-editorial-title h2{
  margin:0 !important;
  color:#171411 !important;
  font-size:clamp(48px,5vw,72px) !important;
  line-height:.95 !important;
  letter-spacing:-.05em !important;
  font-weight:620 !important;
}
#articulos .articles-search-panel{justify-content:flex-end !important;}
#articulos .article-search-box{max-width:430px;width:100% !important;}
.article-premium-toolbar{
  padding:8px 0 20px !important;
  border-bottom:0 !important;
}
#articulos .article-premium-tabs{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}
#articulos .article-kind-filter{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:0 18px !important;
  border:1px solid rgba(177,123,57,.28) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#2a241d !important;
  box-shadow:0 6px 18px rgba(18,18,18,.04) !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
  opacity:1 !important;
}
#articulos .article-kind-filter:hover{
  border-color:#45bfd1 !important;
  color:#17899a !important;
  background:#f6fdfe !important;
}
#articulos .article-kind-filter.active{
  background:#55c9da !important;
  border-color:#55c9da !important;
  color:#071317 !important;
  box-shadow:0 8px 22px rgba(69,191,209,.20) !important;
}
#articulos .article-kind-filter::after{display:none !important;}
@media(max-width:900px){
  #articulos .articles-editorial-head{grid-template-columns:1fr !important;gap:18px !important;align-items:start !important;}
  #articulos .articles-search-panel{justify-content:flex-start !important;width:100% !important;}
  #articulos .article-search-box{max-width:none !important;}
}
@media(max-width:600px){
  #articulos .articles-editorial-title h2{font-size:48px !important;}
  #articulos .article-premium-tabs{gap:8px !important;}
  #articulos .article-kind-filter{min-height:38px !important;padding:0 13px !important;font-size:9px !important;}
}

/* V6.31.17 · Confirmación de contacto dentro de la misma página */
body.contact-modal-open { overflow: hidden; }
.contact-success-modal {
  position: fixed;
  inset: 0;
  z-index: 22000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.contact-success-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.contact-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 12, .76);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.contact-success-dialog {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  padding: 42px 38px 34px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  background: #101419;
  color: #fff;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0,0,0,.46);
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
}
.contact-success-modal.open .contact-success-dialog { transform: translateY(0) scale(1); }
.contact-success-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.contact-success-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border: 1px solid rgba(205,167,91,.5);
  border-radius: 50%;
  background: rgba(205,167,91,.1);
  color: #d6b36b;
  font: 500 34px/1 Arial, sans-serif;
}
.contact-success-dialog .eyebrow { display: block; margin-bottom: 7px; }
.contact-success-dialog h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.08;
}
.contact-success-dialog p {
  margin: 0 auto 25px;
  max-width: 350px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.65;
}
.contact-success-dialog .btn { min-width: 150px; justify-content: center; }
.contact-success-modal.is-error .contact-success-icon {
  border-color: rgba(216,94,94,.5);
  background: rgba(216,94,94,.1);
  color: #e07a7a;
}
#contactSubmit:disabled { cursor: wait; opacity: .72; }
@media (max-width: 600px) {
  .contact-success-modal { padding: 18px; }
  .contact-success-dialog { padding: 40px 24px 28px; border-radius: 18px; }
}
