
:root{
  --green-950:#072b31;
  --green-900:#0a343b;
  --green-800:#114750;
  --wine-700:#8e1b2b;
  --wine-800:#741322;
  --gold-500:#d3a14b;
  --gold-300:#e9cc91;
  --cream-50:#fffdf8;
  --cream-100:#fbf6eb;
  --cream-200:#f4ead7;
  --paper:#efe2c7;
  --text:#1f292b;
  --muted:#6f716d;
  --border:#dfcfad;
  --white:#fff;
  --shadow-sm:0 8px 24px rgba(19,39,42,.08);
  --shadow-md:0 18px 50px rgba(19,39,42,.14);
  --radius-sm:12px;
  --radius-md:20px;
  --radius-lg:30px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:var(--cream-50);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,92%);margin-inline:auto}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--cream-50);
  box-shadow:0 1px 0 rgba(7,43,49,.1);
}
.utility-bar{
  color:#f8e8bf;
  background:var(--green-950);
  font-size:.74rem;
  letter-spacing:.04em;
}
.utility-inner{
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.utility-motto{
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
}
.navbar{
  background:rgba(255,253,248,.98);
}
.navbar-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.brand{
  display:flex;
  align-items:center;
  gap:11px;
  flex-shrink:0;
}
.brand-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  color:#fff7e5;
  background:linear-gradient(145deg,var(--wine-700),var(--wine-800));
  border:2px solid var(--gold-300);
  border-radius:50%;
  font-family:Georgia,"Times New Roman",serif;
  font-size:.88rem;
  font-weight:700;
  box-shadow:0 7px 16px rgba(116,19,34,.18);
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}
.brand-text strong{
  color:var(--wine-800);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.48rem;
  letter-spacing:-.03em;
}
.brand-text small{
  margin-top:6px;
  color:var(--green-800);
  font-size:.6rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:2px;
  font-size:.86rem;
  font-weight:700;
}
.main-nav>a{
  padding:11px 10px;
  border-radius:9px;
  transition:.2s ease;
}
.main-nav>a:hover{
  color:var(--wine-700);
  background:rgba(142,27,43,.06);
}
.nav-login{
  margin-left:8px;
  padding-left:18px!important;
  border-left:1px solid var(--border);
  border-radius:0!important;
}
.nav-button{
  margin-left:6px;
  padding:11px 17px!important;
  color:white!important;
  background:linear-gradient(135deg,var(--wine-700),var(--wine-800));
  border-radius:10px!important;
  box-shadow:0 8px 18px rgba(116,19,34,.16);
}
.nav-button:hover{
  background:linear-gradient(135deg,var(--wine-800),#5f0d19)!important;
}
.nav-toggle{
  display:none;
  width:44px;
  height:42px;
  padding:9px 10px;
  background:var(--cream-100);
  border:1px solid var(--border);
  border-radius:10px;
}
.nav-toggle span{
  display:block;
  height:2px;
  margin:5px 0;
  background:var(--green-950);
}

/* BUTTONS */
.button{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.78rem 1.18rem;
  border:1px solid transparent;
  border-radius:10px;
  font-size:.88rem;
  font-weight:800;
  transition:.2s ease;
}
.button:hover{transform:translateY(-2px)}
.button-primary{
  color:white;
  background:linear-gradient(135deg,var(--wine-700),var(--wine-800));
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.button-secondary{
  color:#fff7e5;
  background:rgba(255,255,255,.07);
  border-color:rgba(233,204,145,.72);
}
.button-secondary-dark{
  color:var(--green-950);
  background:transparent;
  border-color:var(--green-800);
}
.button-light{
  color:var(--green-950);
  background:#fff7e3;
}

/* HERO LIKE POSTER */
.poster-hero{
  position:relative;
  overflow:hidden;
  background:var(--green-950);
}
.poster-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.4)),
    url('../img/hero-plumagrafito.webp') center/cover no-repeat;
  opacity:.95;
}
.hero-overlay-grid{
  position:relative;
  z-index:2;
  min-height:760px;
  display:grid;
  grid-template-columns:240px 1fr 240px;
  gap:22px;
  align-items:center;
  padding:38px 0 34px;
}
.paper-note{
  align-self:start;
  padding:18px 16px;
  color:#3a2f21;
  background:linear-gradient(180deg,#f7edd7,#ead8b6);
  border:1px solid #d1b782;
  border-radius:8px;
  box-shadow:var(--shadow-sm);
  font-family:Georgia,"Times New Roman",serif;
  text-align:center;
}
.paper-note h3{
  margin:0 0 6px;
  color:var(--wine-700);
  font-size:1.15rem;
}
.paper-note p{
  margin:0;
  font-size:1.02rem;
  line-height:1.75;
}
.paper-heart{
  display:block;
  margin-top:10px;
  color:var(--wine-700);
}
.paper-note-left{margin-top:90px}
.paper-note-right{margin-top:32px}

.hero-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.hero-ribbon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  margin-bottom:22px;
  padding:12px 34px;
  color:#fff2da;
  background:linear-gradient(180deg,#8e2031,#701321);
  border:1px solid rgba(233,204,145,.78);
  border-radius:18px;
  box-shadow:0 14px 30px rgba(0,0,0,.22);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.1rem;
  font-weight:700;
}
.hero-title-wrap{
  padding:30px 36px 22px;
  background:rgba(245,234,215,.92);
  border:1px solid rgba(211,161,75,.72);
  border-radius:28px;
  box-shadow:0 20px 40px rgba(0,0,0,.18);
}
.hero-brand-title{
  margin:0;
  color:#0c2f63;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(3.6rem,7vw,7.2rem);
  line-height:.92;
  letter-spacing:-.06em;
  text-shadow:3px 0 0 #a11d2e;
}
.hero-brand-subtitle{
  margin:12px 0 0;
  color:#182425;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.4rem,2vw,2.2rem);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hero-actions-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:24px;
}
.hero-values-line{
  margin-top:20px;
  padding:10px 22px;
  color:#fff4d6;
  background:rgba(7,43,49,.8);
  border:1px solid rgba(233,204,145,.55);
  border-radius:999px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.05em;
}
.hero-values-line span{color:var(--gold-300)}
.hero-bottom-panels{
  width:100%;
  display:grid;
  grid-template-columns:1fr 280px;
  gap:18px;
  margin-top:24px;
  align-items:end;
}
.scroll-panel,
.genre-panel{
  color:#3b3023;
  background:linear-gradient(180deg,#f7edd7,#ead8b6);
  border:1px solid #d1b782;
  border-radius:16px;
  box-shadow:var(--shadow-sm);
}
.scroll-panel{
  padding:22px 26px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.5rem;
  line-height:1.45;
}
.scroll-panel p{margin:0}
.genre-panel{
  padding:18px 18px 18px 22px;
  text-align:left;
}
.genre-panel h4{
  margin:0 0 10px;
  color:var(--wine-700);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.5rem;
  line-height:1.35;
}
.genre-panel ul{
  margin:0;
  padding-left:18px;
}
.genre-panel li{
  margin:6px 0;
  font-weight:700;
}

/* ICON STRIP */
.icon-strip{
  position:relative;
  padding:26px 0 14px;
  background:linear-gradient(180deg,#ecdab8,#e5cfaa);
  border-top:1px solid #d5ba85;
  border-bottom:1px solid #d5ba85;
}
.icon-strip-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.icon-card{
  text-align:center;
  padding:10px 10px 0;
}
.icon-circle{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  color:#edd7a4;
  background:#0b3740;
  border:4px solid #d8bb78;
  border-radius:50%;
  font-size:1.55rem;
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}
.icon-card h3{
  margin:0;
  color:#173033;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.25rem;
  line-height:1.3;
  text-transform:uppercase;
}
.bottom-phrase{
  margin-top:16px;
  padding-top:12px;
  color:#19383d;
  text-align:center;
  border-top:1px dashed rgba(25,56,61,.35);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

/* STATS */
.stats-strip{
  color:white;
  background:var(--green-900);
}
.poster-stats{
  border-top:1px solid rgba(255,255,255,.08);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.stats-grid>div{
  min-height:98px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px 28px;
  border-right:1px solid rgba(255,255,255,.1);
}
.stats-grid>div:first-child{border-left:1px solid rgba(255,255,255,.1)}
.stats-grid strong{
  color:#f5d99d;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.85rem;
  line-height:1;
}
.stats-grid span{
  margin-top:8px;
  color:rgba(255,255,255,.72);
  font-size:.76rem;
}

/* SECTIONS */
.section{padding:72px 0}
.section-soft{background:var(--cream-100)}
.section-dark{
  color:white;
  background:
    radial-gradient(circle at top right,rgba(211,161,75,.12),transparent 28rem),
    var(--green-950);
}
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:34px;
}
.section-heading h2,
.paper-card h2,
.final-cta h2{
  margin:7px 0 0;
  color:var(--green-950);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.section-heading p{
  max-width:680px;
  margin:14px auto 0;
  color:var(--muted);
}
.section-heading-light h2{color:#fff7e8}
.section-heading-light .eyebrow{color:#e8ca8f}
.centered-heading{
  justify-content:center;
  text-align:center;
}
.eyebrow{
  display:inline-block;
  color:var(--wine-700);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.text-link{
  color:var(--wine-700);
  font-size:.86rem;
  font-weight:800;
}

/* PAPER CARDS */
.home-cards-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:22px;
}
.paper-card{
  padding:28px;
  background:white;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow-sm);
}
.paper-card h2{
  margin-top:8px;
  font-size:1.9rem;
}
.paper-card p{
  margin:12px 0 0;
  color:var(--muted);
}
.mini-label{
  color:var(--wine-700);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.wide-card{
  background:
    radial-gradient(circle at top right,rgba(211,161,75,.12),transparent 19rem),
    white;
}

/* STORIES */
.story-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.story-card{
  overflow:hidden;
  background:white;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow-sm);
  transition:.2s ease;
}
.story-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
}
.story-image-link{
  display:block;
  background:var(--cream-200);
}
.story-image-link img,
.story-placeholder{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}
.story-placeholder{
  display:grid;
  place-items:center;
  color:#f4ddb1;
  background:
    radial-gradient(circle at top left,rgba(255,255,255,.14),transparent 50%),
    var(--green-900);
}
.story-placeholder span{
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  border:1px solid rgba(244,221,177,.65);
  border-radius:50%;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.3rem;
}
.story-card-body{padding:22px}
.story-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--wine-700);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.story-card h3{
  margin:12px 0 9px;
  color:var(--green-950);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.38rem;
  line-height:1.2;
}
.story-card-body>p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
}
.story-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--cream-200);
  font-size:.76rem;
}
.story-card-footer span{color:var(--muted)}
.story-card-footer a{
  color:var(--wine-700);
  font-weight:800;
}

/* EMPTY */
.empty-state{
  padding:54px 30px;
  text-align:center;
  background:var(--cream-100);
  border:1px dashed var(--border);
  border-radius:20px;
}
.empty-mark{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  color:#fff5dc;
  background:var(--green-900);
  border-radius:50%;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
}
.empty-state h3{
  margin:0;
  color:var(--green-950);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.6rem;
}
.empty-state p{
  max-width:520px;
  margin:10px auto 22px;
  color:var(--muted);
}

/* FEATURED */
.featured-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.featured-card{
  min-height:360px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:34px;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  border:1px solid rgba(233,204,145,.38);
  border-radius:20px;
}
.featured-label{
  color:#efcf91;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.featured-card h3{
  margin:16px 0 8px;
  color:#fff7e7;
  font-family:Georgia,"Times New Roman",serif;
  font-size:2rem;
  line-height:1.08;
}
.featured-card>p{
  color:rgba(255,255,255,.72);
}
.featured-card .button{margin-top:auto}
.featured-author{
  margin:0 0 14px!important;
  color:#e7c889!important;
  font-size:.8rem;
  font-weight:700;
}
.featured-author-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:18px;
}
.featured-author-head img,
.featured-avatar-placeholder{
  width:74px;
  height:74px;
  object-fit:cover;
  border-radius:50%;
  border:2px solid #e7c889;
}
.featured-avatar-placeholder{
  display:grid;
  place-items:center;
  color:var(--green-950);
  background:#f2dcae;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.8rem;
}
.featured-author-head h3{margin:0}

/* CTA */
.final-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  padding:44px;
  background:
    radial-gradient(circle at top right,rgba(211,161,75,.17),transparent 22rem),
    var(--cream-100);
  border:1px solid var(--border);
  border-radius:30px;
}
.final-cta p{
  max-width:650px;
  margin:12px 0 0;
  color:var(--muted);
}
.final-cta-actions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}
.poster-cta{
  background:
    radial-gradient(circle at top right,rgba(142,27,43,.08),transparent 18rem),
    linear-gradient(180deg,#f8efdc,#efe0c1);
}

/* OTHER PAGES */
.form-card{
  max-width:760px;
  margin:40px auto;
  padding:32px;
  background:white;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow-sm);
}
.form-card h1,
.story-body h1{
  color:var(--green-950);
  font-family:Georgia,"Times New Roman",serif;
}
label{
  display:block;
  margin:.9rem 0 .35rem;
  font-weight:700;
}
input,select,textarea{
  width:100%;
  padding:.85rem;
  background:white;
  border:1px solid #c9b589;
  border-radius:10px;
}
textarea{min-height:180px}
.alert{
  margin:1rem 0;
  padding:1rem;
  border-radius:10px;
}
.alert-success{color:#145c31;background:#dcf5e5}
.alert-error{color:#8b1d1d;background:#fde1e1}
.flash-zone{padding-top:.4rem}
.profile-head{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:1.5rem;
  align-items:center;
}
.avatar{
  width:130px;
  height:130px;
  object-fit:cover;
  border-radius:50%;
  background:#ddd;
}
.story-body{
  max-width:820px;
  margin:auto;
  padding:2.5rem;
  background:white;
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow-sm);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.08rem;
  line-height:1.9;
}
.comment{padding:1rem 0;border-top:1px solid var(--border)}
.rating{display:flex;gap:.3rem}
.rating button{
  color:#c58c1c;
  background:none;
  border:0;
  cursor:pointer;
  font-size:1.7rem;
}
.table-wrap{overflow:auto}
.table{
  width:100%;
  border-collapse:collapse;
  background:white;
}
.table th,.table td{
  padding:.8rem;
  border-bottom:1px solid #eee;
  text-align:left;
}
.dashboard{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:1.5rem;
}
.sidebar{
  height:max-content;
  padding:1rem;
  color:white;
  background:var(--green-950);
  border-radius:16px;
}
.sidebar a{
  display:block;
  padding:.75rem;
  border-radius:8px;
}
.sidebar a:hover{background:rgba(255,255,255,.09)}

/* FOOTER */
.site-footer{
  color:#e9dfc9;
  background:var(--green-950);
}
.footer-main{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:38px;
  padding:58px 0;
}
.footer-brand-lockup .brand-text strong{color:#fff2d4}
.footer-brand-lockup .brand-text small{color:#dbbc7f}
.footer-brand p{
  max-width:380px;
  color:rgba(255,255,255,.65);
  font-size:.88rem;
}
.site-footer h4{
  margin:0 0 14px;
  color:#f2d99d;
  font-family:Georgia,"Times New Roman",serif;
}
.site-footer a{
  display:block;
  margin:8px 0;
  color:rgba(255,255,255,.72);
  font-size:.84rem;
}
.site-footer a:hover{color:white}
.footer-bottom{
  padding:16px 0;
  color:#d5b873;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.1);
  font-family:Georgia,"Times New Roman",serif;
  font-size:.84rem;
}

/* RESPONSIVE */
@media(max-width:1200px){
  .hero-overlay-grid{
    grid-template-columns:200px 1fr 200px;
  }
  .hero-bottom-panels{
    grid-template-columns:1fr 250px;
  }
}
@media(max-width:1000px){
  .nav-toggle{display:block}
  .main-nav{
    display:none;
    position:absolute;
    top:106px;
    left:4%;
    right:4%;
    flex-direction:column;
    align-items:stretch;
    padding:14px;
    background:var(--cream-50);
    border:1px solid var(--border);
    border-radius:0 0 14px 14px;
    box-shadow:var(--shadow-md);
  }
  .main-nav.open{display:flex}
  .main-nav>a{padding:12px 14px}
  .nav-login{
    margin-left:0;
    padding-left:14px!important;
    border-left:0;
    border-top:1px solid var(--border);
  }

  .hero-overlay-grid{
    grid-template-columns:1fr;
    gap:16px;
    min-height:auto;
    padding:34px 0 30px;
  }
  .paper-note{
    max-width:420px;
    margin-inline:auto;
  }
  .paper-note-left,
  .paper-note-right{margin-top:0}

  .hero-title-wrap{
    width:min(100%,780px);
  }
  .hero-bottom-panels{
    grid-template-columns:1fr;
    width:min(100%,780px);
  }

  .icon-strip-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .home-cards-grid{
    grid-template-columns:1fr 1fr;
  }
  .wide-card{
    grid-column:1 / -1;
  }

  .story-grid{grid-template-columns:repeat(2,1fr)}
  .featured-grid,
  .footer-main,
  .dashboard{
    grid-template-columns:1fr;
  }
  .footer-main>div:last-child{grid-column:auto}
  .final-cta{
    flex-direction:column;
    align-items:flex-start;
    padding:34px;
  }
  .final-cta-actions{flex-wrap:wrap}
}

@media(max-width:700px){
  .utility-motto{display:none}
  .utility-inner{justify-content:center}
  .navbar-inner{min-height:70px}
  .brand-icon{width:40px;height:40px}
  .brand-text strong{font-size:1.32rem}
  .brand-text small{font-size:.54rem}
  .main-nav{top:100px}

  .hero-ribbon{
    min-height:48px;
    padding:10px 20px;
    font-size:.96rem;
  }
  .hero-title-wrap{
    padding:24px 18px 18px;
    border-radius:20px;
  }
  .hero-brand-title{
    font-size:clamp(3rem,13vw,5rem);
  }
  .hero-brand-subtitle{
    font-size:clamp(1.05rem,4.5vw,1.6rem);
  }
  .hero-values-line{
    font-size:.9rem;
    line-height:1.5;
  }

  .icon-strip-grid{
    grid-template-columns:1fr 1fr;
  }

  .stats-grid{
    grid-template-columns:1fr 1fr;
  }
  .stats-grid>div{
    min-height:88px;
    padding:15px;
  }
  .stats-grid strong{font-size:1.55rem}

  .home-cards-grid,
  .story-grid{
    grid-template-columns:1fr;
  }

  .hero-actions-row,
  .final-cta-actions{
    width:100%;
    flex-direction:column;
  }
  .hero-actions-row .button,
  .final-cta-actions .button{
    width:100%;
  }

  .profile-head{
    grid-template-columns:1fr;
    text-align:center;
  }
  .avatar{margin:auto}
}

@media(max-width:520px){
  .hero-overlay-grid{
    padding:26px 0 24px;
  }
  .paper-note{
    padding:14px 14px;
  }
  .paper-note p{
    font-size:.94rem;
  }
  .scroll-panel{
    padding:18px 18px;
    font-size:1.2rem;
  }
  .genre-panel h4{
    font-size:1.22rem;
  }
  .icon-strip-grid{
    grid-template-columns:1fr;
  }
  .bottom-phrase{
    font-size:.88rem;
    letter-spacing:.03em;
  }
  .section{
    padding:58px 0;
  }
  .paper-card,
  .featured-card,
  .form-card,
  .story-body{
    padding:22px;
  }
}

/* =========================================================
   LOGOS DEL NAVBAR Y FOOTER — CORRECCIÓN FINAL
   Usa el archivo recortado: assets/img/logo-recortado.webp
   ========================================================= */

/* NAVBAR */
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 300px;
  width: 300px;
  height: 78px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.navbar-logo {
  display: block;
  width: 300px;
  height: 78px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  transform: none;
}

.navbar-inner {
  min-height: 90px;
  overflow: visible;
}

/* Por si quedan restos del logo anterior */
.brand-logo .brand-icon,
.brand-logo .brand-text {
  display: none !important;
}

/* FOOTER */
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  min-height: 152px;
  margin-bottom: 18px;
  padding: 16px 18px;
  overflow: visible;
  background:
    radial-gradient(circle at top left, rgba(211,161,75,.13), transparent 18rem),
    linear-gradient(180deg,#fffaf0,#f4e7cf);
  border: 1px solid rgba(233,204,145,.70);
  border-radius: 18px;
  box-shadow:
    0 14px 30px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.60);
}

.footer-logo {
  display: block;
  width: 290px;
  height: 96px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-footer .footer-logo {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.footer-brand p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.68);
}

/* TABLET GRANDE */
@media (max-width: 1100px) {
  .brand-logo {
    flex-basis: 270px;
    width: 270px;
    height: 72px;
  }

  .navbar-logo {
    width: 270px;
    height: 72px;
  }

  .navbar-inner {
    min-height: 84px;
    gap: 18px;
  }

  .main-nav {
    font-size: .82rem;
  }
}

/* TABLET / MENÚ MÓVIL */
@media (max-width: 1000px) {
  .brand-logo {
    flex-basis: 230px;
    width: 230px;
    height: 64px;
  }

  .navbar-logo {
    width: 230px;
    height: 64px;
  }

  .navbar-inner {
    min-height: 76px;
  }

  .main-nav {
    top: 106px;
  }
}

/* CELULAR */
@media (max-width: 700px) {
  .brand-logo {
    flex-basis: 190px;
    width: 190px;
    height: 56px;
  }

  .navbar-logo {
    width: 190px;
    height: 56px;
  }

  .navbar-inner {
    min-height: 70px;
  }

  .main-nav {
    top: 100px;
  }

  .footer-logo-link {
    width: 290px;
    min-height: 134px;
    padding: 14px;
  }

  .footer-logo {
    width: 245px;
    height: 82px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    flex-basis: 165px;
    width: 165px;
    height: 50px;
  }

  .navbar-logo {
    width: 165px;
    height: 50px;
  }

  .footer-logo-link {
    width: 100%;
    max-width: 265px;
    min-height: 124px;
  }

  .footer-logo {
    width: 225px;
    height: 76px;
  }
}
