@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ivory: #f7f3eb;
  --charcoal: #232323;
  --terracotta: #c96a4a;
  --forest: #325b4b;
  --line: rgba(201,106,74,0.15);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  line-height:1.6;
}
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight:600; }
a { text-decoration:none; color:inherit; }

.container { width:100%; max-width:1280px; margin:0 auto; padding:0 32px; }

/* HEADER */
.site-header {
  background: var(--ivory);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:100;
}
.header-inner {
  display:flex; justify-content:space-between; align-items:center;
  padding:28px 32px;
  max-width:1280px; margin:0 auto;
}
.logo { font-family:'Cormorant Garamond', serif; font-size:2.8rem; line-height:1; }
.logo span { color: var(--terracotta); }
.nav-desktop { display:flex; gap:28px; }
.nav-desktop a { font-size:.95rem; }
.nav-desktop a:hover { color:var(--terracotta); }
.menu-btn { display:none; background:none; border:none; font-size:1.8rem; cursor:pointer; }

/* HERO */
.hero { padding:120px 0; }
.hero-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.eyebrow { color:var(--terracotta); letter-spacing:4px; text-transform:uppercase; font-size:.8rem; }
.hero h1 { font-size: clamp(4rem, 8vw, 6.5rem); line-height:.9; margin-top:20px; }
.hero h1 span { color:var(--terracotta); }
.hero-line { width:120px; height:1px; background:var(--terracotta); margin:30px 0; }
.slogan { font-family:'Cormorant Garamond', serif; font-size:2.1rem; color:var(--forest); line-height:1.2; }
.hero-desc { margin-top:16px; color:#666; }
.hero-actions { margin-top:36px; display:flex; gap:16px; flex-wrap:wrap; }
.btn { padding:14px 24px; display:inline-block; font-size:.95rem; transition:.2s; }
.btn-primary { background:var(--charcoal); color:white; }
.btn-primary:hover { background:var(--forest); }
.btn-secondary { border:1px solid var(--charcoal); }
.btn-secondary:hover { border-color:var(--terracotta); color:var(--terracotta); }

/* SECTIONS */
.section { padding:100px 0; }
.section-label { color:var(--terracotta); letter-spacing:4px; text-transform:uppercase; font-size:.8rem; }
.section h2 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin:20px 0 40px; }
.narrow { max-width:850px; }

/* PRESENTACIÓN - JUSTIFICADO, SIN PARTIR PALABRAS */
#presentacion p {
  font-size:1.1rem;
  line-height:1.9;
  margin-bottom:1.2rem;
  color:#444;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* CARDS GENERALES - SECCIONES EDITORIALES */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; }
.card {
  background:white; padding:40px; border:1px solid rgba(0,0,0,.08);
  transition:.3s;
}
.card:hover { transform:translateY(-6px); border-color:var(--terracotta); }
.card span { color:var(--terracotta); letter-spacing:3px; text-transform:uppercase; font-size:.75rem; }
.card h3 { margin-top:14px; font-size:1.8rem; line-height:1.2; }
.card p {
  margin-top:12px;
  color:#666;
  line-height:1.7;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}
.card small { display:block; margin-top:16px; color:#999; }

/* AUTORES - LO IMPORTANTE */
/* VOCES DE ÉVORA - INDEX - JUSTIFICADO IGUAL QUE PRESENTACIÓN */
.voces-grid { align-items: stretch; }
.voces-grid .card {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  height:100%;
}
.voces-grid .card h3 {
  min-height:62px;
  line-height:1.15;
  margin:14px 0 14px;
  text-align:left;
}
.voces-grid .card p {
  margin-top:0;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  line-height:1.7;
  color:#555;
}


/* ISSUE */
.issue-card {
  background:white; border-left:4px solid var(--terracotta);
  padding:40px; display:flex; justify-content:space-between; align-items:center; gap:30px;
  box-shadow:0 10px 30px rgba(0,0,0,.04);
}
.issue-card h3 { font-size:1.8rem; }

/* FOOTER */
.footer { margin-top:80px; border-top:1px solid var(--line); text-align:center; padding:60px 0; }
.footer h2 { font-size:2.5rem; }
.footer h2 span { color:var(--terracotta); }
.footer p { margin-top:8px; color:var(--forest); }

/* RESPONSIVE */
@media(max-width:900px){
  .header-inner { flex-direction:column; gap:16px; }
  .nav-desktop { display:none; }
  .nav-desktop.active { display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:var(--ivory); padding:20px; border-bottom:1px solid var(--line); }
  .menu-btn { display:block; }
  .hero-grid { grid-template-columns:1fr; }
  .hero { padding:60px 0; }
  .section { padding:60px 0; }
  .issue-card { flex-direction:column; align-items:flex-start; }
}