@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;550;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

:root{
  --cream:#fff7e8;
  --cream2:#f4dfc6;
  --paper:#fffaf0;
  --ink:#221a14;
  --muted:#706257;
  --soft:#8a7b6f;
  --terracotta:#a13a1d;
  --terracotta2:#7b2a17;
  --gold:#c5964b;
  --gold2:#e2c07d;
  --line:rgba(34,26,20,.13);
  --shadow:0 30px 90px rgba(68,35,18,.20);
  --radius:30px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(226,192,125,.42), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(161,58,29,.16), transparent 30%),
    linear-gradient(180deg,#fff9ee 0%,#f6e7d3 47%,#ead2b4 100%);
}
body:before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index:-1;
  background-image:
    linear-gradient(rgba(34,26,20,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,26,20,.025) 1px, transparent 1px);
  background-size:36px 36px;
}
a{color:inherit}
.wrap{width:min(1200px,calc(100% - 38px));margin-inline:auto}
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,250,240,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-weight:900}
.brand-mark{
  width:42px;height:42px;border-radius:14px;
  background:linear-gradient(135deg,var(--terracotta),var(--terracotta2));
  color:#fff;display:grid;place-items:center;
  box-shadow:0 12px 28px rgba(161,58,29,.26);
  font-family:Playfair Display,serif;font-size:24px;
}
.nav-links{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:14px;font-weight:750}
.nav-links a{text-decoration:none}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 21px;border-radius:999px;border:0;cursor:pointer;
  color:#fff;text-decoration:none;font-weight:900;
  background:linear-gradient(135deg,var(--terracotta),var(--terracotta2));
  box-shadow:0 16px 34px rgba(161,58,29,.25);
  transition:.2s transform,.2s box-shadow;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 22px 44px rgba(161,58,29,.30)}
.btn.secondary{background:#fff;color:var(--terracotta);border:1px solid rgba(161,58,29,.22);box-shadow:none}
.btn.gold{background:linear-gradient(135deg,#d5a450,#9d6a25)}
.hero{position:relative;overflow:hidden;padding:72px 0 52px}
.hero:after{
  content:"";position:absolute;right:-90px;top:120px;width:520px;height:520px;border-radius:50%;
  background:url('ecija-panorama.jpg') center/cover no-repeat;opacity:.18;filter:saturate(.95);
}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}
.kicker{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--terracotta);font-weight:950;margin-bottom:16px}
h1,h2,h3{margin-top:0}
h1{
  font-family:Playfair Display,Georgia,serif;
  font-size:clamp(56px,7.5vw,108px);
  line-height:.87;letter-spacing:-.055em;margin-bottom:22px;
}
.gradient-text{
  background:linear-gradient(135deg,#29180e 0%,#a13a1d 72%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.lead{font-size:clamp(19px,2.1vw,26px);line-height:1.38;color:#3d332b;max-width:760px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px;max-width:760px}
.proof{
  background:rgba(255,250,240,.78);border:1px solid var(--line);
  border-radius:20px;padding:16px;box-shadow:0 12px 34px rgba(60,35,18,.08)
}
.proof strong{display:block;font-size:22px;color:var(--terracotta)}
.proof span{font-size:13px;color:var(--muted);font-weight:750}
.portrait-card{
  position:relative;border-radius:38px;padding:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(255,241,214,.62));
  border:1px solid rgba(197,150,75,.33);box-shadow:var(--shadow);
}
.portrait-card img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center;border-radius:28px}
.float-card{
  position:absolute;left:-24px;bottom:36px;max-width:360px;
  background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.7);
  border-radius:24px;padding:18px 20px;box-shadow:0 22px 60px rgba(0,0,0,.15);
}
.float-card strong{display:block;color:var(--terracotta);text-transform:uppercase;font-size:12px;letter-spacing:.14em;margin-bottom:7px}
.float-card span{font-weight:900;font-size:20px;line-height:1.15}
.section{padding:70px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:28px}
.section-title{
  font-family:Playfair Display,Georgia,serif;
  font-size:clamp(38px,5vw,66px);line-height:.94;letter-spacing:-.035em;margin:0;
}
.section-copy{font-size:18px;color:var(--muted);line-height:1.6;max-width:720px}
.panel{
  background:rgba(255,250,240,.78);
  border:1px solid rgba(34,26,20,.12);
  box-shadow:0 18px 60px rgba(86,48,21,.10);
  border-radius:34px;padding:30px;
}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  background:#fff;border:1px solid var(--line);border-radius:28px;padding:26px;
  box-shadow:0 14px 40px rgba(70,38,18,.08)
}
.icon{font-size:34px;margin-bottom:16px}
.card h3{font-size:22px;margin-bottom:10px}
.card p{color:var(--muted);line-height:1.58;margin:0}
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.milestone{
  position:relative;background:#fff;border-radius:26px;padding:24px;border:1px solid var(--line);
}
.milestone:before{content:"";display:block;width:42px;height:4px;background:var(--gold);border-radius:4px;margin-bottom:18px}
.milestone strong{font-size:25px;color:var(--terracotta)}
.milestone p{color:var(--muted);line-height:1.5;margin:8px 0 0}
.cv-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:22px;align-items:stretch}
.cv-cover{
  position:relative;overflow:hidden;border-radius:34px;min-height:420px;padding:34px;color:#fff;
  background:
    linear-gradient(160deg,rgba(34,26,20,.75),rgba(123,42,23,.64)),
    url('anforas-cv-nueva.jpg') center/cover no-repeat;
  box-shadow:var(--shadow);
}
.cv-cover h3{
  font-family:Playfair Display,Georgia,serif;font-size:48px;line-height:.95;margin:0 0 18px
}
.cv-cover p{font-size:18px;line-height:1.55;color:rgba(255,255,255,.86)}
.pdf-box{
  background:#fff;border-radius:34px;border:1px solid var(--line);overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.08);
  min-height:520px;display:flex;flex-direction:column;
}
.pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fffaf0}
.pdf-frame{width:100%;height:620px;border:0;flex:1;background:#f7f7f7}
.signature-block{
  display:grid;grid-template-columns:.82fr 1.18fr;gap:28px;align-items:start;
  background:linear-gradient(135deg,#fff9ee,#f3ddbd);
  border:1px solid rgba(197,150,75,.32);
  border-radius:42px;padding:32px;box-shadow:var(--shadow)
}
.counter{
  display:flex;align-items:center;gap:18px;background:#fff;border-radius:28px;padding:22px;border:1px solid var(--line);margin:24px 0
}
.stat{font-size:54px;font-weight:950;color:var(--terracotta);line-height:1}
.counter span{color:var(--muted);font-weight:850}
.form{background:#fff;border-radius:32px;padding:28px;border:1px solid rgba(34,26,20,.10)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
label{font-weight:850;font-size:14px;display:block;margin-bottom:7px}
input,select,textarea{
  width:100%;padding:15px 16px;border:1px solid #dacbbb;border-radius:16px;background:#fff;
  font:inherit;color:var(--ink);outline:none;
}
input:focus,select:focus,textarea:focus{border-color:var(--terracotta);box-shadow:0 0 0 4px rgba(161,58,29,.10)}
.full{grid-column:1/-1}
.check{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.6;color:var(--muted);margin:0}
.check input[type=checkbox]{width:18px;min-width:18px;height:18px;margin-top:3px;cursor:pointer;flex-shrink:0}
.check span{flex:1}
.check a{color:var(--gold);text-decoration:underline;text-underline-offset:2px}
.consent-block{margin:18px 0;padding:16px 18px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.03)}
.honeypot{display:none!important}
.success,.error{
  padding:16px 18px;border-radius:18px;margin-bottom:18px;font-weight:850;line-height:1.45
}
.success{background:#e8f7ee;color:#125c31;border:1px solid #bce3c9}
.error{background:#fff0ed;color:#8d2411;border:1px solid #ffc7b8}
.legal{background:#fff;border-left:5px solid var(--gold);border-radius:22px;padding:24px;line-height:1.58;color:#53483f}
.footer{padding:36px 0;border-top:1px solid var(--line);color:var(--muted);font-size:13px}
.footer-inner{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.footer-copy{color:var(--muted)}
.footer-divider{flex:1;height:1px;background:var(--line);min-width:24px}
.footer-deisa{display:flex;align-items:center;gap:8px;white-space:nowrap}
.footer-deisa-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#a89080}
.footer-deisa-link{font-size:13px;font-weight:600;color:var(--gold);text-decoration:none;letter-spacing:.01em;transition:opacity .15s}
.footer-deisa-link:hover{opacity:.75}
.small{font-size:13px;color:var(--muted);line-height:1.5}
.mobile-only{display:none}
.form-mobile-title{
  display:none;
}
@media (max-width:980px){
  .hero-grid,.cv-grid{grid-template-columns:1fr}
  .signature-block{
    display:flex;
    flex-direction:column;
  }
  .signature-block > form{
    order:1;
  }
  .signature-block > div{
    order:2;
  }
  .form-mobile-title{
    display:block;
    font-size:24px;
    font-weight:800;
    color:var(--terracotta);
    margin:0 0 16px;
  }
  .cards,.timeline{grid-template-columns:1fr 1fr}
  .hero-proof{grid-template-columns:1fr}
  .nav-links{display:none}
  .float-card{position:static;margin-top:14px;max-width:none}
}
@media (max-width:640px){
  .cards,.timeline,.form-grid{grid-template-columns:1fr}
  .section{padding:52px 0}
  .pdf-frame{height:430px}
  .section-head{display:block}
}


/* =========================================================
   MOBILE SAFE PATCH - v4
   Mejora de uso en mÃ³viles y tablets
   ========================================================= */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, iframe, video {
  max-width: 100%;
}

input, select, textarea, button {
  font-size: 16px; /* Evita zoom automÃ¡tico en iOS */
}

.pdf-mobile-note {
  display: none;
}

.sticky-mobile-cta {
  display: none;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 26px, 1200px);
  }

  .topbar {
    position: sticky;
  }

  .nav {
    height: 64px;
  }

  .brand span {
    font-size: 14px;
    line-height: 1.1;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .hero {
    padding: 34px 0 34px;
  }

  h1 {
    font-size: clamp(44px, 16vw, 66px);
    line-height: .92;
    letter-spacing: -0.04em;
  }

  .lead {
    font-size: 18px;
    line-height: 1.42;
  }

  .hero-actions,
  .cta-strip,
  .admin-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .portrait-card {
    border-radius: 28px;
    padding: 12px;
  }

  .portrait-card img {
    border-radius: 22px;
    aspect-ratio: 4 / 4.6;
  }

  .section-title {
    font-size: clamp(34px, 12vw, 48px);
  }

  .section-copy {
    font-size: 16px;
  }

  .panel,
  .signature-block,
  .form,
  .legal,
  .card,
  .pdf-box,
  .cv-cover {
    border-radius: 24px;
  }

  .signature-block {
    padding: 18px;
  }

  .form {
    padding: 18px;
  }

  .form-grid {
    gap: 13px;
  }

  label {
    font-size: 14px;
  }

  input, select, textarea {
    min-height: 48px;
    border-radius: 14px;
  }

  textarea {
    min-height: 96px;
  }

  .check {
    font-size: 14px;
    gap: 10px;
  }

  .check input {
    min-width: 18px;
    min-height: 18px;
  }

  .counter {
    align-items: flex-start;
  }

  .stat {
    font-size: 44px;
  }

  .cv-cover {
    min-height: auto;
    padding: 24px;
  }

  .cv-cover h3 {
    font-size: 38px;
  }

  .pdf-frame {
    display: none;
  }

  .pdf-mobile-note {
    display: block;
    padding: 22px;
    color: var(--muted);
    line-height: 1.55;
    background: #fff;
  }

  .pdf-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .footer {
    padding-bottom: 92px;
  }

  .sticky-mobile-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 80;
  }

  .sticky-cta-btn {
    background: rgba(34, 23, 15, .92) !important;
    color: #fff !important;
    border: 2px solid var(--gold) !important;
    box-shadow: 0 18px 48px rgba(80, 34, 18, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(100% - 20px, 1200px);
  }

  h1 {
    font-size: clamp(40px, 15vw, 56px);
  }

  .hero-proof {
    gap: 10px;
  }

  .proof {
    padding: 14px;
  }

  .section {
    padding: 44px 0;
  }

  th, td {
    font-size: 10px;
  }
}


/* =========================================================
   V5 - Foto nueva + publicaciones + enlaces
   ========================================================= */
.pubs-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.pub-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:14px;
  box-shadow:0 14px 40px rgba(70,38,18,.08);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pub-card img{
  width:100%;
  aspect-ratio: 3 / 4.3;
  object-fit:cover;
  border-radius:16px;
  background:#f3ede5;
}
.pub-card h3{
  font-size:16px;
  line-height:1.25;
  margin:0;
}
.pub-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.links-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.link-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  box-shadow:0 14px 40px rgba(70,38,18,.08);
}
.link-box .icon{
  font-size:28px;
  margin-bottom:10px;
}
.link-box h3{
  margin:0 0 10px;
  font-size:24px;
}
.link-box p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.55;
}
.hero-books-note{
  margin-top:16px;
  font-size:14px;
  color:var(--muted);
  font-weight:700;
}
@media (max-width:1100px){
  .pubs-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
@media (max-width:760px){
  .pubs-grid,
  .links-panel{
    grid-template-columns:1fr;
  }
  .pub-card{
    border-radius:22px;
  }
}


/* =========================================================
   V6 PREMIUM EDITORIAL SHOWCASE
   ========================================================= */
.editorial-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(226,192,125,.22), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(161,58,29,.20), transparent 30%),
    linear-gradient(180deg,#22170f 0%,#2d1e13 40%,#1e140d 100%);
  color:#fff;
}
.editorial-section .section-copy{
  color:rgba(255,255,255,.74);
}
.editorial-section .section-title{
  color:#fffaf0;
}
.editorial-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#ffd700;
  margin-bottom:16px;
}
.editorial-hero{
  display:grid;
  grid-template-columns: .88fr 1.12fr;
  gap:26px;
  margin-top:22px;
  align-items:stretch;
}
.featured-book{
  position:relative;
  min-height:560px;
  border-radius:34px;
  overflow:hidden;
  background:linear-gradient(180deg,#3b2718 0%, #1e140d 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 28px 80px rgba(0,0,0,.28);
  padding:30px;
}
.featured-book:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.10), transparent 20%),
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 50%);
  pointer-events:none;
}
.featured-book .cover-wrap{
  display:grid;
  place-items:center;
  height:100%;
}
.featured-book img{
  width:min(76%, 360px);
  max-height:460px;
  object-fit:contain;
  border-radius:16px;
  box-shadow:
    0 36px 80px rgba(0,0,0,.42),
    -12px 0 0 rgba(255,255,255,.06);
  transform:perspective(1200px) rotateY(-10deg);
  background:#f8f2e8;
}
.featured-meta{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}
.featured-copy{
  max-width:70%;
}
.featured-copy .eyebrow{
  display:block;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#f3d796;
  margin-bottom:6px;
  font-weight:900;
}
.featured-copy h3{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.06;
  color:#fff;
}
.featured-copy p{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.45;
}
.editorial-side{
  display:grid;
  grid-template-rows:auto auto 1fr;
  gap:18px;
}
.editorial-note{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  padding:22px;
  color:#ffffff;
  line-height:1.6;
}
.editorial-note strong{
  color:#fff;
}
.catalog-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.catalog-card{
  position:relative;
  background:linear-gradient(180deg,#fffdf8 0%,#f3ede5 100%);
  border-radius:26px;
  border:1px solid rgba(255,255,255,.12);
  padding:14px 14px 16px;
  color:#221a14;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
  transition:transform .22s ease, box-shadow .22s ease;
}
.catalog-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 70px rgba(0,0,0,.24);
}
.catalog-card .thumb{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio: 0.74;
  border-radius:16px;
  overflow:hidden;
  margin-bottom:12px;
  background:#e8dfd2;
}
.catalog-card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.catalog-card .tag{
  position:absolute;
  top:10px;
  left:10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(34,26,20,.75);
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}
.catalog-card h3{
  margin:0 0 6px;
  font-size:15px;
  line-height:1.22;
}
.catalog-card p{
  margin:0;
  font-size:12px;
  color:#65574b;
  line-height:1.45;
}
.editorial-shelf{
  margin-top:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    linear-gradient(180deg,#2f2116 0%, #20150e 100%);
  border-radius:32px;
  padding:26px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}
.editorial-shelf-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.editorial-shelf-head h3{
  margin:0;
  font-size:26px;
  color:#fff9ef;
}
.editorial-shelf-head p{
  margin:0;
  color:rgba(255,255,255,.70);
  max-width:620px;
  line-height:1.55;
}
.shelf-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
  align-items:end;
}
.shelf-item{
  text-align:center;
}
.shelf-cover{
  display:block;
  width:100%;
  aspect-ratio:0.68;
  border-radius:12px 12px 8px 8px;
  overflow:hidden;
  box-shadow:0 22px 44px rgba(0,0,0,.30);
  background:#f5efe7;
  border:1px solid rgba(255,255,255,.08);
}
.shelf-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.shelf-caption{
  margin-top:10px;
  font-size:12px;
  line-height:1.35;
  color:rgba(255,255,255,.78);
}
.shelf-line{
  margin-top:12px;
  height:12px;
  border-radius:999px;
  background:linear-gradient(180deg,#65462f 0%, #3f2a1b 100%);
  box-shadow:inset 0 2px 3px rgba(255,255,255,.08);
}
@media (max-width:1100px){
  .editorial-hero{
    grid-template-columns:1fr;
  }
  .catalog-grid{
    grid-template-columns:repeat(3,1fr);
  }
  .shelf-grid{
    grid-template-columns:repeat(4,1fr);
  }
  .featured-copy{
    max-width:100%;
  }
}
@media (max-width:760px){
  .featured-book{
    min-height:460px;
    padding:22px;
  }
  .featured-book img{
    width:min(74%, 280px);
    max-height:320px;
  }
  .featured-meta{
    position:static;
    display:block;
    margin-top:18px;
  }
  .catalog-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .editorial-shelf{
    padding:18px;
  }
  .editorial-shelf-head{
    display:block;
  }
  .shelf-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width:460px){
  .catalog-grid,
  .shelf-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V6.1 - Escaparate editorial uniforme sin obra destacada
   ========================================================= */
.uniform-editorial-grid{
  display:flex;
  gap:18px;
  align-items:stretch;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  padding-bottom:12px;
  padding-left:2px;
  padding-right:2px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.25) transparent;
}
.uniform-editorial-grid::-webkit-scrollbar{
  height:8px;
}
.uniform-editorial-grid::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.25);
  border-radius:8px;
}
.uniform-editorial-grid::-webkit-scrollbar-track{
  background:transparent;
}
.uniform-book-card{
  position:relative;
  background:linear-gradient(180deg,#fffdf8 0%,#f2e8db 100%);
  color:#221a14;
  border:1px solid rgba(255,255,255,.13);
  border-radius:28px;
  padding:16px;
  box-shadow:0 20px 55px rgba(0,0,0,.20);
  transition:transform .22s ease, box-shadow .22s ease;
  display:flex;
  flex-direction:column;
  flex:0 0 200px;
  scroll-snap-align:start;
}
.uniform-book-card:hover{
  transform:translateY(-5px);
  box-shadow:0 30px 75px rgba(0,0,0,.28);
}
.uniform-book-cover{
  display:block;
  width:100%;
  aspect-ratio:.72;
  border-radius:18px;
  overflow:hidden;
  background:#eadfce;
  box-shadow:
    0 20px 40px rgba(0,0,0,.22),
    inset 0 0 0 1px rgba(255,255,255,.18);
  margin-bottom:14px;
}
.uniform-book-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.uniform-book-card h3{
  font-size:16px;
  line-height:1.24;
  margin:0 0 7px;
}
.uniform-book-card p{
  margin:0;
  color:#66594e;
  font-size:13px;
  line-height:1.45;
}
.uniform-book-tag{
  position:absolute;
  top:26px;
  left:26px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(34,26,20,.75);
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}
.editorial-intro-panel{
  margin-bottom:24px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:30px;
  padding:24px;
  color:#ffffff;
  line-height:1.6;
}
.editorial-intro-panel strong{
  color:#fff;
}
@media (max-width:900px){
  .uniform-book-card{
    flex:0 0 170px;
  }
}
@media (max-width:640px){
  .uniform-book-card{
    flex:0 0 150px;
    border-radius:22px;
    padding:12px;
  }
  .uniform-book-cover{
    border-radius:14px;
  }
  .uniform-book-card h3{
    font-size:14px;
  }
  .uniform-book-card p{
    font-size:12px;
  }
}


/* =========================================================
   V6.2 - imÃ¡genes nuevas + contador fin de campaÃ±a
   ========================================================= */
.deadline-card{
  margin:18px 0 0;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  background:linear-gradient(135deg,#fff7ea 0%, #f4e0bf 100%);
  border:1px solid rgba(201,150,75,.35);
  border-radius:24px;padding:18px 20px;
  box-shadow:0 14px 36px rgba(86,48,21,.10);
}
.deadline-card .deadline-left strong{
  display:block;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--terracotta);margin-bottom:5px;
}
.deadline-card .deadline-left span{color:#4c4138;font-weight:800;line-height:1.4}
.deadline-badge{
  min-width:140px;text-align:center;background:#fff;border-radius:18px;padding:14px 16px;border:1px solid rgba(34,26,20,.08);
}
.deadline-badge .num{display:block;font-size:40px;line-height:1;font-weight:950;color:var(--terracotta)}
.deadline-badge .label{display:block;margin-top:6px;font-size:12px;letter-spacing:.10em;text-transform:uppercase;color:var(--muted);font-weight:900}
.deadline-finished{background:linear-gradient(135deg,#f7f2ea 0%, #eadfd0 100%)}
@media (max-width:760px){
  .deadline-card{padding:16px}
  .deadline-badge{width:100%}
  .deadline-badge .num{font-size:34px}
}


/* =========================================================
   V6.3 - vÃ­deo integrado
   ========================================================= */
.video-panel{
  background:linear-gradient(135deg,#fff9ef 0%, #f1dec0 100%);
  border:1px solid rgba(201,150,75,.32);
  border-radius:34px;
  padding:28px;
  box-shadow:0 18px 60px rgba(86,48,21,.10);
}
.video-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:24px;
  align-items:center;
}
.video-copy p{
  color:var(--muted);
  line-height:1.6;
  font-size:17px;
}
.video-player-wrap{
  background:#1e140d;
  border-radius:28px;
  padding:14px;
  box-shadow:0 22px 60px rgba(0,0,0,.18);
}
.video-player{
  width:100%;
  display:block;
  border-radius:18px;
  background:#000;
}
.video-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
@media (max-width:900px){
  .video-grid{grid-template-columns:1fr}
}


/* =========================================================
   V6.5 - Entidades adheridas
   ========================================================= */
.supporters-panel{
  margin-top:26px;
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:18px;
  align-items:stretch;
  background:linear-gradient(135deg,#fffaf0 0%, #f1dcc0 100%);
  border:1px solid rgba(201,150,75,.32);
  border-radius:32px;
  padding:24px;
  box-shadow:0 18px 55px rgba(86,48,21,.10);
}
.supporters-intro{
  border-right:1px solid rgba(34,26,20,.12);
  padding-right:22px;
}
.supporters-intro .kicker{
  margin-bottom:10px;
}
.supporters-intro h3{
  font-size:32px;
  line-height:1.05;
  margin:0 0 12px;
}
.supporters-intro p{
  color:var(--muted);
  line-height:1.58;
  margin:0;
}
.supporters-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.supporter-card{
  background:#fff;
  border:1px solid rgba(34,26,20,.10);
  border-radius:24px;
  padding:22px;
  box-shadow:0 14px 36px rgba(86,48,21,.08);
}
.supporter-card .supporter-icon{
  font-size:30px;
  margin-bottom:12px;
}
.supporter-card strong{
  display:block;
  font-size:21px;
  line-height:1.18;
  margin-bottom:8px;
}
.supporter-card span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
@media (max-width:850px){
  .supporters-panel{
    grid-template-columns:1fr;
  }
  .supporters-intro{
    border-right:0;
    border-bottom:1px solid rgba(34,26,20,.12);
    padding-right:0;
    padding-bottom:18px;
  }
}
@media (max-width:620px){
  .supporters-list{
    grid-template-columns:1fr;
  }
  .supporters-panel{
    padding:18px;
    border-radius:26px;
  }
}


/* =========================================================
   V6.6 - Logos reales de entidades adheridas
   ========================================================= */
.supporter-logo-wrap{
  width:92px;
  min-width:92px;
  height:92px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(34,26,20,.08);
  display:grid;
  place-items:center;
  padding:10px;
  box-shadow:0 10px 24px rgba(86,48,21,.08);
}
.supporter-logo{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}
.supporter-info{
  flex:1;
}
.supporter-info strong{
  display:block;
  font-size:21px;
  line-height:1.18;
  margin-bottom:8px;
}
.supporter-info span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
@media (max-width:620px){
  .supporter-card{
    align-items:flex-start;
  }
  .supporter-logo-wrap{
    width:78px;
    min-width:78px;
    height:78px;
    border-radius:18px;
  }
}

/* â”€â”€ SecciÃ³n de prensa â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.press-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.12);
  padding-bottom:1rem;
  margin-bottom:2rem;
}
.press-eyebrow{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:.4rem;
}
.press-title{
  font-size:22px;
  font-weight:500;
  color:var(--text);
  margin:0;
}
.press-count{
  font-size:13px;
  color:var(--muted);
}
.press-featured{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:1px;
}
.press-item{
  background:rgba(255,255,255,.03);
  padding:1.5rem;
  display:flex;
  flex-direction:column;
  gap:.75rem;
  text-decoration:none;
  color:inherit;
  transition:background .15s;
}
.press-item:hover{
  background:rgba(255,255,255,.07);
}
.press-item-meta{
  display:flex;
  align-items:center;
  gap:.5rem;
}
.press-outlet{
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
}
.press-dot{
  width:3px;
  height:3px;
  border-radius:50%;
  background:rgba(255,255,255,.25);
  flex-shrink:0;
}
.press-date{
  font-size:11px;
  color:var(--muted);
}
.press-headline{
  font-size:15px;
  font-weight:600;
  line-height:1.4;
  color:var(--text);
}
.press-summary{
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
  flex:1;
}
.press-cta{
  font-size:12px;
  font-weight:500;
  color:var(--gold);
  margin-top:.25rem;
  padding-top:.75rem;
  border-top:1px solid rgba(255,255,255,.07);
}
.press-list{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:1px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.1);
  border-top:none;
  border-radius:0 0 14px 14px;
  overflow:hidden;
}
.press-list-item{
  background:rgba(255,255,255,.02);
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  text-decoration:none;
  color:inherit;
  transition:background .15s;
}
.press-list-item:hover{
  background:rgba(255,255,255,.06);
}
.press-list-outlet{
  font-size:10px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gold);
}
.press-list-headline{
  font-size:13px;
  font-weight:600;
  line-height:1.4;
  color:var(--text);
}
.press-list-summary{
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
  flex:1;
}
.press-list-cta{
  font-size:11px;
  color:var(--gold);
  margin-top:.25rem;
  padding-top:.5rem;
  border-top:1px solid rgba(255,255,255,.06);
}
@media(max-width:768px){
  .press-featured{grid-template-columns:1fr}
  .press-list{grid-template-columns:1fr;border-radius:0 0 14px 14px}
}

/* â”€â”€ Press: fila de 4 y bloque de vÃ­deo â”€â”€ */
.press-list-4{
  grid-template-columns:repeat(4,1fr);
}
.press-video-block{
  margin-top:2rem;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  overflow:hidden;
}
.press-video-label{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.9rem 1.25rem;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.press-video-eyebrow{
  font-size:10px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
  background:rgba(255,255,255,.06);
  padding:3px 8px;
  border-radius:4px;
}
.press-video-title{
  font-size:13px;
  font-weight:500;
  color:var(--text);
}
.press-video-wrap{
  position:relative;
  padding-bottom:33%;
  height:0;
  background:#000;
  max-width:580px;
}
.press-video-wrap iframe{
  position:absolute;
  top:0;left:0;
  width:100%;height:100%;
  border:none;
}
@media(max-width:640px){
  .press-video-wrap{padding-bottom:56.25%;max-width:100%}
}
@media(max-width:900px){
  .press-list-4{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .press-list-4{grid-template-columns:1fr}
}

/* â”€â”€ Footer legal links â”€â”€ */
.footer-legal{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--muted);
}
.footer-legal a{
  color:var(--muted);
  text-decoration:none;
  transition:color .15s;
}
.footer-legal a:hover{
  color:var(--text);
}

/* â”€â”€ Trayectoria rediseÃ±o agencia â”€â”€ */
.tray-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:2rem;
  border-bottom:1px solid rgba(255,255,255,.12);
  padding-bottom:1.5rem;
  margin-bottom:2rem;
  flex-wrap:wrap;
}
.tray-intro{
  max-width:480px;
  font-size:15px;
  color:var(--muted);
  line-height:1.65;
  margin:0;
  flex-shrink:0;
}
.tray-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  overflow:hidden;
}
.tray-col{
  background:rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
}
.tray-block-label{
  font-size:10px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold);
  padding:1rem 1.25rem .75rem;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.tray-items{
  display:flex;
  flex-direction:column;
}
.tray-item{
  display:flex;
  gap:.75rem;
  padding:1rem 1.25rem;
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:background .15s;
}
.tray-item:last-child{border-bottom:none}
.tray-item:hover{background:rgba(255,255,255,.04)}
.tray-year{
  font-size:11px;
  font-weight:700;
  color:var(--gold);
  min-width:46px;
  padding-top:3px;
  letter-spacing:.02em;
  flex-shrink:0;
  line-height:1.3;
}
.tray-body{
  flex:1;
}
.tray-body strong{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--text);
  line-height:1.35;
  margin-bottom:4px;
}
.tray-body p{
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
  margin:0;
}
@media(max-width:900px){
  .tray-grid{grid-template-columns:1fr}
  .tray-header{flex-direction:column}
  .tray-intro{max-width:100%}
}

/* â”€â”€ MOBILE FIXES v7 â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media(max-width:760px){

  /* Footer: apilar en columna */
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .footer-divider{
    width:100%;
    min-width:0;
    flex:none;
  }
  .footer-legal{
    flex-wrap:wrap;
    gap:6px;
  }

  /* Prensa: destacados en columna */
  .press-featured{
    grid-template-columns:1fr;
  }
  .press-header{
    flex-direction:column;
    gap:.5rem;
    align-items:flex-start;
  }

  /* Trayectoria: columna Ãºnica */
  .tray-grid{
    grid-template-columns:1fr;
  }
  .tray-header{
    flex-direction:column;
    gap:1rem;
  }
  .tray-intro{
    max-width:100%;
    font-size:14px;
  }

  /* Consent block */
  .consent-block{
    padding:14px;
  }

  /* Video: ratio 16:9 completo en mÃ³vil */
  .press-video-wrap{
    padding-bottom:56.25%;
    max-width:100%;
  }
  .press-video-block{
    margin-top:1.5rem;
  }
}

@media(max-width:480px){

  /* Prensa lista: 1 columna */
  .press-list,
  .press-list-4{
    grid-template-columns:1fr;
    border-radius:0 0 14px 14px;
  }

  /* Trayectoria items mÃ¡s compactos */
  .tray-item{
    gap:.5rem;
    padding:.75rem 1rem;
  }
  .tray-year{
    min-width:42px;
    font-size:12px;
  }
  .tray-body strong{
    font-size:13px;
  }
  .tray-body p{
    font-size:12px;
  }
  .tray-block-label{
    padding:.75rem 1rem .5rem;
    font-size:11px;
  }

  /* Footer legal links en dos lÃ­neas */
  .footer-legal{
    font-size:12px;
  }

  /* Press header */
  .press-title{
    font-size:18px;
  }
  .press-count{
    font-size:12px;
  }

  /* Press items padding reducido */
  .press-item{
    padding:1rem;
  }
  .press-list-item{
    padding:1rem;
  }
  .press-headline{
    font-size:14px;
  }
  .press-summary{
    font-size:12px;
  }
}

/* â”€â”€ Hamburger menu â”€â”€ */
.nav-hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  width:40px;
  height:40px;
  border-radius:8px;
  transition:background .15s;
}
.nav-hamburger:hover{background:rgba(255,255,255,.08)}
.nav-hamburger span{
  display:block;
  height:2px;
  width:22px;
  background:var(--text);
  border-radius:2px;
  transition:all .2s;
}
@media(max-width:980px){
  .nav-hamburger{display:flex}
  .nav-links{
    display:none;
    position:fixed;
    top:64px;
    left:0;right:0;
    background:#1e140d;
    flex-direction:column;
    padding:1.5rem 1.25rem 2rem;
    gap:0;
    z-index:90;
    border-top:1px solid rgba(255,255,255,.08);
    box-shadow:0 24px 48px rgba(0,0,0,.5);
  }
  .nav-links.nav-open{display:flex}
  .nav-links a{
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
    font-size:16px;
    width:100%;
  }
  .nav-links a:last-child{
    border-bottom:none;
    margin-top:1rem;
  }
  .nav-links .btn{
    width:100%;
    text-align:center;
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
}

/* â”€â”€ Panel foto PeÃ±aflor â”€â”€ */
.penjaflor-panel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  overflow:hidden;
  margin-bottom:2.5rem;
}
.penjaflor-img-wrap{
  position:relative;
  overflow:hidden;
}
.penjaflor-img-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
  min-height:360px;
  transition:transform .4s ease;
}
.penjaflor-img-wrap:hover img{
  transform:scale(1.03);
}
.penjaflor-caption{
  position:absolute;
  bottom:0;left:0;right:0;
  font-size:11px;
  color:rgba(255,255,255,.7);
  padding:10px 14px;
  background:linear-gradient(transparent,rgba(0,0,0,.55));
  letter-spacing:.02em;
}
.penjaflor-text{
  padding:2rem 2rem 2rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:1rem;
  background:rgba(255,255,255,.02);
}
.penjaflor-title{
  font-size:26px;
  font-weight:600;
  color:var(--text);
  line-height:1.2;
  margin:0;
}
.penjaflor-text p{
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
  margin:0;
}
@media(max-width:760px){
  .penjaflor-panel{
    grid-template-columns:1fr;
  }
  .penjaflor-img-wrap img{
    min-height:260px;
    max-height:320px;
  }
  .penjaflor-text{
    padding:1.25rem;
  }
  .penjaflor-title{
    font-size:20px;
  }
}

/* â”€â”€ Bio stat cards â”€â”€ */
.bio-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  overflow:hidden;
  margin-bottom:1px;
}
.bio-stat{
  background:rgba(255,255,255,.03);
  padding:1.25rem 1rem;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.bio-stat-unit{
  font-size:10px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--gold);
}
.bio-stat-num{
  font-size:36px;
  font-weight:700;
  color:var(--text);
  line-height:1;
}
.bio-stat-label{
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

@media(max-width:760px){
  .bio-stats{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .bio-stats{grid-template-columns:1fr 1fr}
  .bio-stat-num{font-size:28px}
}

/* â”€â”€ Banner de cookies â”€â”€ */
#gc-cookie-banner{
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:99999;
  padding:1rem 1.25rem;
  background:rgba(22,12,6,.97);
  border-top:1px solid rgba(200,164,90,.3);
  backdrop-filter:blur(8px);
}
#gc-cookie-inner{
  max-width:900px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
}
#gc-cookie-text{
  flex:1;
  min-width:220px;
}
#gc-cookie-text strong{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--text);
  margin-bottom:4px;
}
#gc-cookie-text p{
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
  margin:0;
}
#gc-cookie-text a{
  color:var(--gold);
  text-decoration:underline;
  text-underline-offset:2px;
}
#gc-cookie-btns{
  display:flex;
  gap:.75rem;
  flex-shrink:0;
}
#gc-accept-necessary{
  font-size:13px;
  font-weight:500;
  padding:9px 18px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  transition:all .15s;
  font-family:inherit;
}
#gc-accept-necessary:hover{
  border-color:rgba(255,255,255,.4);
  color:var(--text);
}
#gc-accept-all{
  font-size:13px;
  font-weight:600;
  padding:9px 20px;
  border-radius:8px;
  border:none;
  background:var(--gold);
  color:#1a1200;
  cursor:pointer;
  transition:opacity .15s;
  font-family:inherit;
}
#gc-accept-all:hover{opacity:.85}
@media(max-width:600px){
  #gc-cookie-banner{padding-bottom:80px}
  #gc-cookie-inner{flex-direction:column;align-items:flex-start;gap:1rem}
  #gc-cookie-btns{width:100%}
  #gc-accept-necessary,#gc-accept-all{flex:1;text-align:center}
}

/* â”€â”€ Share mini buttons â”€â”€ */
.share-mini{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-top:1rem;
  flex-wrap:wrap;
}
.share-mini-label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-right:4px;
}
.share-mini-btn{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:7px 14px;
  border-radius:8px;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  transition:opacity .15s;
}
.share-mini-btn:hover{opacity:.8}
.share-wa{background:#25D366;color:#fff}
.share-x{background:#000;color:#fff}
.share-fb{background:#1877F2;color:#fff}

/* â”€â”€ BotÃ³n volver arriba â”€â”€ */
#back-to-top{
  position:fixed;
  bottom:28px;
  right:24px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--gold);
  color:#1a1200;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.4);
  opacity:0;
  transform:translateY(12px);
  transition:opacity .25s, transform .25s;
  pointer-events:none;
  z-index:80;
}
#back-to-top.btt-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
#back-to-top:hover{
  background:var(--gold2);
}
@media(max-width:600px){
  #back-to-top{
    display:none;
  }
}

/* Ocultar vista previa PDF en mÃ³vil */
@media(max-width:760px){
  .pdf-box{ display:none !important; }
  .pdf-frame{ display:none; }
  .cv-grid{ grid-template-columns:1fr !important; }
}

/* Ocultar en mÃ³vil */
@media(max-width:980px){
  .hide-mobile{ display:none !important; }
}

/* â”€â”€ AcordeÃ³n de protecciÃ³n de datos â”€â”€ */
.privacidad-compacta{
  padding-top:32px;
  padding-bottom:32px;
}
.privacy-accordion{
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
  background:rgba(0,0,0,.015);
}
.privacy-summary{
  cursor:pointer;
  list-style:none;
  padding:16px 20px;
  margin:0 !important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:15px !important;
  font-weight:600;
  user-select:none;
}
.privacy-summary::-webkit-details-marker{ display:none; }
.privacy-summary::after{
  content:"+";
  font-size:20px;
  font-weight:400;
  color:var(--terracotta, #a13a1d);
  flex-shrink:0;
  margin-left:14px;
  transition:transform .2s;
}
.privacy-accordion[open] .privacy-summary::after{
  content:"\2212";
}
.privacy-accordion .legal{
  padding:0 20px 20px;
}
@media(max-width:640px){
  .privacy-summary{
    font-size:14px !important;
    padding:14px 16px;
  }
}

/* â”€â”€ Carrusel de publicaciones â”€â”€ */
.carousel-hint{
  font-size:13px;
  color:rgba(255,255,255,.65);
  margin:0 0 14px;
  letter-spacing:.02em;
}
.carousel-hint-mobile{
  display:none;
}
.uniform-editorial-grid-wrap{
  position:relative;
}
.uniform-editorial-grid-wrap::after{
  content:"";
  position:absolute;
  top:0;right:0;bottom:12px;
  width:64px;
  background:linear-gradient(to right, transparent, rgba(34,23,15,.85));
  pointer-events:none;
}
@media(max-width:760px){
  .carousel-hint-mobile{
    display:inline;
    color:var(--gold);
    font-weight:600;
  }
  .uniform-editorial-grid-wrap::after{
    width:42px;
    animation:carousel-hint-pulse 1.8s ease-in-out 3;
  }
  /* Deja ver un poco la siguiente tarjeta para sugerir que hay mÃ¡s */
  .uniform-editorial-grid{
    scroll-padding-left:18px;
  }
}
@media(max-width:640px){
  .uniform-editorial-grid-wrap::after{
    width:36px;
  }
}
@keyframes carousel-hint-pulse{
  0%,100%{ opacity:1; }
  50%{ opacity:.4; }
}
.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(22,12,6,.92);
  color:var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:5;
  transition:background .15s, transform .15s;
  box-shadow:0 8px 24px rgba(0,0,0,.4);
}
.carousel-arrow:hover{
  background:rgba(22,12,6,1);
  transform:translateY(-50%) scale(1.08);
}
.carousel-arrow-prev{ left:-6px; }
.carousel-arrow-next{ right:-6px; }
@media(max-width:760px){
  .carousel-arrow{ display:none; }
}

/* â”€â”€ Clases migradas de estilos inline â”€â”€ */
.vimeo-facade-inner{
  appearance:none;
  border:none;
  cursor:pointer;
  text-align:center;
  position:absolute;top:0;left:0;width:100%;height:100%;
  background:url('video-thumbnail.jpg') center/cover no-repeat;
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;
}
.vimeo-play-btn{
  width:60px;height:60px;border-radius:50%;
  background:var(--gold);display:flex;
  align-items:center;justify-content:center;
  box-shadow:0 4px 20px rgba(0,0,0,.5);
}
.vimeo-play-label{
  font-size:13px;color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,.8);font-weight:500;
}
.press-video-block--second{
  width:min(100%,980px);
  margin:1.5rem auto 0;
}

.press-video-link-block{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:2rem;
  width:100%;
  padding:1.5rem 1.25rem;
  background:rgba(255,255,255,.02);
}

.press-video-desc{
  min-width:0;
  max-width:700px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  text-align:left;
}

.btn-nowrap{
  justify-self:end;
  flex-shrink:0;
  margin:0;
  white-space:nowrap;
}

@media(max-width:760px){
  .press-video-block--second{
    width:100%;
    margin-top:1.25rem;
  }

  .press-video-link-block{
    grid-template-columns:1fr;
    gap:1.25rem;
    padding:1rem;
  }

  .press-video-desc{
    max-width:none;
    text-align:left;
  }

  .btn-nowrap{
    width:100%;
    justify-self:stretch;
    white-space:normal;
  }
}
.legal--form{ margin-top:18px; }
.footer-admin-link{
  font-size:12px;opacity:0.1;
}
.footer-admin-link a{
  color:inherit;text-decoration:none;
}

/* â”€â”€ Clases adicionales para eliminar unsafe-inline â”€â”€ */
.wrap--narrow{ max-width:780px; }
.wrap--login{ max-width:520px; }
.admin-title{ font-size:clamp(42px,5vw,60px); }
.cookies-table{
  width:100%;border-collapse:collapse;
  font-size:14px;margin:1rem 0;
}
.cookies-table-head{ background:rgba(255,255,255,.06); }
.cookies-th{
  padding:10px;text-align:left;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.cookies-td{
  padding:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.cookies-td--last{ padding:10px; border-bottom:none; }
.btn-manage-cookies{
  background:var(--gold);color:#1a1200;border:none;
  padding:10px 20px;border-radius:8px;font-weight:600;
  font-size:14px;cursor:pointer;font-family:inherit;
  margin:8px 0 16px;
}
/* ── Página de confirmación de adhesión ─────────────────── */
.thanks-wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:3rem 1.25rem;
  text-align:center;
}
.thanks-icon{
  width:72px;
  height:72px;
  border-radius:50%;
  background:rgba(200,164,90,.15);
  border:2px solid var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 1.5rem;
  font-size:32px;
}
.thanks-title{
  font-family:Playfair Display,Georgia,serif;
  font-size:clamp(28px,5vw,48px);
  line-height:1.05;
  letter-spacing:-.025em;
  font-weight:700;
  color:var(--ink);
  margin:0 0 .75rem;
}
.thanks-sub{
  font-size:16px;
  color:var(--muted);
  max-width:560px;
  line-height:1.65;
  margin:0 auto 2rem;
}
.thanks-count{
  font-size:52px;
  font-weight:700;
  color:var(--gold);
  line-height:1;
  margin-bottom:4px;
}
.thanks-count-label{
  font-size:14px;
  color:var(--muted);
  margin-bottom:2.5rem;
}
.share-block{
  width:100%;
  max-width:620px;
  margin:0 auto 2.5rem;
}
.share-label{
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:1rem;
}
.share-btns{
  display:flex;
  gap:.75rem;
  justify-content:center;
  flex-wrap:wrap;
}
.share-btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:11px 20px;
  border-radius:10px;
  font-family:inherit;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  transition:opacity .15s, transform .15s;
  border:none;
  cursor:pointer;
}
.share-btn:hover{
  opacity:.88;
  transform:translateY(-1px);
}
.share-btn-wa{background:#25D366;color:#fff}
.share-btn-x{background:#000;color:#fff}
.share-btn-fb{background:#1877F2;color:#fff}
.share-btn-copy{
  background:rgba(255,255,255,.55);
  color:var(--ink);
  border:1px solid var(--line);
}
.share-btn svg{flex-shrink:0}
.thanks-back{
  font-size:14px;
  color:var(--muted);
  text-decoration:none;
  transition:color .15s;
}
.thanks-back:hover{color:var(--ink)}
@media(max-width:520px){
  .thanks-wrap{padding:2rem 1rem}
  .thanks-icon{width:62px;height:62px;font-size:28px}
  .share-btn{width:100%;justify-content:center}
}
.pdf-mobile-fallback{
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:16px;
  min-height:260px;
}

.pdf-mobile-fallback p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}