:root {
  --er: #af3034;
  --er-dark: #8b2225;
  --er-light: #fbebed;
  --gold: #b38808;      /* Antique gold (excellent readability and contrast) */
  --gold-dark: #8c6c14; /* Deep antique gold */
  --gold-light: #fef8e7; /* Elegant soft gold cream background */
  --white: #ffffff;
  --ink: #000000;
  --border-color: #eeeeee;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent global horizontal scroll */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@font-face {
  font-family: 'Nevan Rus';
  src: local('Nevan Rus'), local('NevanRus'), url('NevanRus.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-nevan {
  font-family: 'Nevan Rus', 'Merriweather', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--ink);
}

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

/* NAV */
.nav {
  background: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { height: 45px; width: auto; transition: var(--transition); }
.nav-logo:hover .nav-logo-img { transform: scale(1.02); }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link {
  font-size: 14px; color: var(--ink); letter-spacing: 0.04em;
  text-decoration: none; font-weight: 700; transition: var(--transition);
}
.nav-link:hover { color: var(--er); }

.nav-cta {
  background: var(--er); color: var(--white); font-size: 13px; font-weight: 700;
  padding: 10px 24px; border-radius: var(--radius-md); letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; transition: var(--transition);
}
.nav-cta:hover { background: var(--er-dark); transform: translateY(-2px); }

.nav-tools {
  display: flex; align-items: center; gap: 15px; margin-left: 10px;
  padding-left: 20px; border-left: 1px solid var(--border-color);
}
.nav-icon-btn { background: transparent; border: none; color: var(--ink); font-size: 20px; cursor: pointer; transition: var(--transition); }
.nav-icon-btn:hover { color: var(--er); }
.lang-selector { position: relative; cursor: pointer; }
.lang-active { color: var(--ink); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 5px; transition: var(--transition); }
.lang-active:hover { color: var(--er); }
.lang-dropdown { position: absolute; top: 100%; right: 0; margin-top: 15px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.05); min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 10; }
.lang-selector:hover .lang-dropdown,
.lang-selector.active .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: block; padding: 12px 20px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border-color); transition: var(--transition); }
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover { background: var(--white); color: var(--er); }
.menu-toggle { display: none; color: var(--ink); font-size: 24px; cursor: pointer; }

/* HERO */
.hero {
  background: var(--white); padding: 100px 0; position: relative; overflow: hidden; min-height: 80vh; display: flex; align-items: center;
}
.hero-eagle-bg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 100%;
  opacity: 0.05; pointer-events: none; z-index: 0; filter: grayscale(100%);
}
.hero-engraving {
  position: absolute; top: 50%; transform: translateY(-50%); height: 90%;
  opacity: 0.25; pointer-events: none; z-index: 1; mix-blend-mode: multiply; filter: sepia(100%) hue-rotate(-10deg) saturate(200%) opacity(0.5);
}
.hero-engraving.left { left: -5%; }
.hero-engraving.right { right: -5%; }
.hero-bg-lines { display: none; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 20px;
}
.hero-h1 { font-size: 64px; font-weight: 900; color: var(--ink); line-height: 1.1; margin-bottom: 10px; }
.hero-h1 span { color: var(--er); }
.hero-h1-sub { 
  font-family: 'Merriweather', serif; 
  font-style: italic;
  font-size: 26px; 
  font-weight: 400; 
  color: var(--er); 
  letter-spacing: 0.02em; 
  text-transform: none;
  margin-top: 12px;
  display: block;
}
.hero-sub {
  font-size: 16px; color: var(--er); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 30px;
  border-top: 1px solid var(--er); border-bottom: 1px solid var(--er); padding: 10px 0; width: 100%;
}
.hero-tagline { font-size: 22px; font-style: italic; color: var(--ink); margin-bottom: 40px; font-family: 'Merriweather', serif; }
.hero-ctas { display: flex; gap: 15px; justify-content: center; margin-bottom: 40px; }
.btn-primary {
  background: var(--er); color: var(--white); font-size: 15px; font-weight: 700;
  padding: 16px 36px; border-radius: var(--radius-lg); letter-spacing: 0.04em; cursor: pointer; border: none; text-decoration: none; transition: var(--transition);
}
.btn-primary:hover { background: var(--er-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; border: 1px solid var(--ink); color: var(--ink); font-size: 15px; font-weight: 700; padding: 16px 36px; border-radius: var(--radius-lg); letter-spacing: 0.04em; cursor: pointer; text-decoration: none; transition: var(--transition);
}
.btn-outline:hover { border-color: var(--er); color: var(--er); }
.hero-badges { display: flex; gap: 24px; justify-content: center; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); font-weight: 700; }
.hero-badge i { font-size: 20px; color: var(--er); }

/* STRIP */
.strip { 
  background: #111111; 
  padding: 12px 0; 
  border-bottom: 2px solid var(--gold-dark); 
}
.strip .container { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap; 
  gap: 12px; 
}
.strip-text { 
  font-size: 15px; 
  color: #e0e0e0; 
  letter-spacing: 0.05em; 
}
.strip-text strong { 
  font-weight: 900; 
  color: var(--gold); 
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: rgba(179, 136, 8, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 6px;
  border: 1px solid rgba(179, 136, 8, 0.3);
}
.strip-link { 
  font-size: 13px; 
  font-weight: 900; 
  color: var(--gold); 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  text-decoration: none; 
  transition: var(--transition); 
  border: 1px solid var(--gold);
  padding: 6px 16px;
  border-radius: var(--radius-md);
}
.strip-link:hover { 
  background: var(--gold); 
  color: #111111; 
  transform: translateY(-1px);
}

/* METRICS BAR */
.metrics-bar { background: var(--white); padding: 60px 0; border-bottom: 1px solid var(--border-color); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.metric-item { display: flex; flex-direction: column; align-items: center; }
.metric-num { font-size: 48px; font-weight: 900; color: var(--er); font-family: 'Merriweather', serif; line-height: 1; margin-bottom: 10px; }
.metric-num i { color: var(--gold-dark); }
.metric-text { font-size: 14px; color: inherit; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* HEADER GRID & WATERMARKS */
.header-grid { 
  display: grid; 
  grid-template-columns: 1fr 350px; 
  gap: 60px; 
  align-items: center; 
  position: relative;
  z-index: 2;
}

.subpage-header {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0 80px;
}

.header-watermark {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  height: 120%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
  filter: grayscale(100%) blur(2px);
}


/* SECTIONS */
.sec { padding: 80px 0; background: var(--white); }
.sec-alt { padding: 80px 0; background: var(--white); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.sec-label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--er); margin-bottom: 10px; display: block; text-align: center; }
.sec-title { font-size: 36px; font-weight: 900; color: var(--ink); margin-bottom: 40px; line-height: 1.2; text-align: center; font-family: 'Merriweather', serif; }

/* ALBUM / REVISTA */
.album-wrapper { display: flex; flex-direction: column; gap: 50px; }
.album-section { display: flex; gap: 40px; align-items: stretch; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.album-team-photo { flex: 0 0 350px; border-radius: var(--radius-md); overflow: hidden; position: relative; background-size: cover; background-position: center; min-height: 300px; border: 1px solid var(--border-color); }
.album-team-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: var(--white); transition: var(--transition); }
.album-team-photo:hover .album-team-overlay { background: rgba(0,0,0,0.3); }
.album-team-overlay h3 { color: var(--white); font-size: 28px; margin-bottom: 5px; font-family: 'Merriweather', serif; }
.album-team-overlay p { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.album-stickers { flex: 1; display: grid; grid-template-columns: 1fr; gap: 20px; }
.album-sticker { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--border-color); padding: 20px; border-radius: var(--radius-md); transition: var(--transition); cursor: pointer; align-items: center; }
.album-sticker:hover { border-color: var(--er); transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.sticker-img { width: 100px; height: 120px; flex-shrink: 0; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid var(--gold-dark); mix-blend-mode: multiply; filter: sepia(30%); }
.sticker-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.sticker-info h4 { font-size: 18px; color: var(--ink); margin-bottom: 10px; line-height: 1.4; font-family: 'Merriweather', serif; transition: var(--transition); }
.album-sticker:hover h4 { color: var(--er); }
.sticker-info span { font-size: 14px; color: var(--ink); }

/* LAST ISSUE */
.issue-grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.issue-cover {
  background: var(--white); border: 1px solid var(--border-color); padding: 20px;
  display: flex; flex-direction: column; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  aspect-ratio: 3/4; text-align: center; border-radius: var(--radius-md); overflow: hidden;
}
.issue-cover-top { height: 4px; background: var(--er); margin-bottom: 20px; }
.issue-cover-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.issue-cover-title { font-size: 32px; font-weight: 900; color: var(--er); line-height: 1; margin-bottom: 5px; font-family: 'Merriweather', serif; }
.issue-cover-sub { font-size: 13px; color: var(--ink); font-style: italic; letter-spacing: 0.05em; margin-bottom: 20px; font-family: 'Merriweather', serif; }
.issue-cover-phoenix { flex: 1; display: flex; align-items: center; justify-content: center; opacity: 0.15; width: 120px; margin: 0 auto; }
.issue-cover-phoenix img { width: 100%; height: auto; filter: grayscale(100%); }
.issue-cover-vol { font-size: 13px; color: var(--er); letter-spacing: 0.1em; text-transform: uppercase; border-top: 1px solid var(--er); padding-top: 20px; margin-top: auto; width: 100%; }
.issue-cover-vol strong { color: var(--ink); font-size: 15px; display: block; margin-bottom: 5px; font-weight: 900; }

.article-list { display: flex; flex-direction: column; gap: 0; }
.article-item {
  padding: 24px 0; border-bottom: 1px solid var(--border-color);
  cursor: pointer; transition: var(--transition);
}
.article-item:last-child { border-bottom: none; }
.article-item:hover { padding-left: 10px; }
.article-area { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--er); margin-bottom: 8px; }
.article-title { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 8px; font-family: 'Merriweather', serif; transition: var(--transition); }
.article-item:hover .article-title { color: var(--er); }
.article-meta { font-size: 14px; color: var(--ink); font-family: 'Lato', sans-serif; }
.view-all { text-align: right; margin-top: 30px; }
.view-all a { font-size: 14px; font-weight: 900; color: var(--er); text-decoration: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 5px; text-transform: uppercase; letter-spacing: 0.05em; }
.view-all a:hover { color: var(--er); }

/* HEMEROTECA / BOOK EFFECT */
.hemeroteca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.issue-card { background: var(--white); border: 1px solid var(--border-color); padding: 30px; display: flex; flex-direction: column; align-items: center; transition: var(--transition); border-radius: var(--radius-lg); overflow: hidden; }
.issue-card:hover { border-color: var(--er); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-5px); }

/* 3D BOOK */
.book-container { perspective: 1200px; width: 220px; height: 310px; margin: 0 auto 30px auto; cursor: pointer; }
.book { width: 100%; height: 100%; position: relative; }
.book-cover-inner { transform-style: preserve-3d; position: absolute; width: 100%; height: 100%; z-index: 3; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: left center; }
.book-container:hover .book-cover-inner { transform: rotateY(-170deg); }

.book-cover { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; background: var(--white); border: 1px solid var(--border-color); display: flex; flex-direction: column; padding: 15px; text-align: center; box-shadow: inset 10px 0 15px -5px rgba(175, 48, 52, 0.25), inset 3px 0 0 var(--er), 5px 5px 15px rgba(0,0,0,0.1); }
.book-cover-top { height: 3px; background: var(--er); margin-bottom: 15px; }
.book-cover-title { font-size: 24px; font-weight: 900; color: var(--ink); font-family: 'Merriweather', serif; line-height: 1; margin-bottom: 5px; }
.book-cover-sub { font-size: 11px; color: var(--er); font-style: italic; margin-bottom: 15px; font-family: 'Merriweather', serif; }
.book-cover-logo { flex: 1; display: flex; align-items: center; justify-content: center; opacity: 0.15; }
.book-cover-logo img { width: 80px; filter: grayscale(100%); }
.book-cover-vol { font-size: 11px; color: var(--ink); border-top: 1px solid var(--border-color); padding-top: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.book-cover-vol strong { color: var(--er); display: block; font-size: 13px; font-weight: 900; }

.book-cover-back { position: absolute; width: 100%; height: 100%; background: var(--white); transform: rotateY(180deg); backface-visibility: hidden; z-index: 2; box-shadow: inset -10px 0 15px -5px rgba(175, 48, 52, 0.25), inset -3px 0 0 var(--er); }

.book-page { position: absolute; width: 100%; height: 100%; background: var(--white); border: 1px solid var(--border-color); border-left: 10px solid #EAE0D5; box-shadow: inset 5px 0 10px rgba(0,0,0,0.03); z-index: 1; padding: 20px; display: flex; flex-direction: column; }
.page-title { font-family: 'Merriweather', serif; color: var(--er); font-size: 16px; margin-bottom: 15px; border-bottom: 1px solid var(--er); padding-bottom: 5px; text-align: left; }
.page-index { list-style: none; padding: 0; margin-bottom: auto; text-align: left; }
.page-index li { font-size: 12px; color: var(--ink); margin-bottom: 8px; line-height: 1.4; border-bottom: 1px dashed var(--border-color); padding-bottom: 4px; }
.page-btn { background: var(--er); color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; text-align: center; padding: 8px; text-decoration: none; display: block; border-radius: 2px; transition: var(--transition); }
.page-btn:hover { background: var(--er); }

/* SOCIAL ACTIONS */
.issue-social-actions { width: 100%; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 15px 0; margin-bottom: 20px; text-align: center; }
.share-text { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--er); font-weight: 700; margin-bottom: 10px; }
.share-buttons { display: flex; gap: 10px; justify-content: center; }
.share-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: var(--transition); text-decoration: none; }
.share-btn:hover { background: var(--er); color: var(--white); border-color: var(--er); transform: translateY(-2px); }

/* SOCIAL FEED */
.issue-social-feed { width: 100%; background: var(--white); border: 1px solid var(--border-color); padding: 15px; text-align: left; }
.feed-header { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.feed-header i { color: var(--er); font-size: 16px; }
.feed-media { width: 100%; height: 120px; background: var(--white); position: relative; border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.feed-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.5s ease; mix-blend-mode: multiply; filter: sepia(50%); }
.feed-media:hover img { transform: scale(1.1); opacity: 1; filter: sepia(0%); }
.play-btn { position: absolute; width: 40px; height: 40px; background: rgba(178, 34, 52, 0.9); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; pointer-events: none; }
.feed-caption { font-size: 12px; color: var(--ink); line-height: 1.4; }
.feed-caption strong { color: var(--ink); }
.feed-caption a { color: var(--er); text-decoration: none; font-weight: 700; }

/* AREAS */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.area-card {
  position: relative; padding: 40px; border: 1px solid var(--border-color); background-color: var(--white);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  cursor: pointer; transition: var(--transition); text-align: center; overflow: hidden;
  min-height: 250px; display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius-lg);
}
.area-overlay {
  position: absolute; inset: 0; background: rgba(255, 255, 255, 0.94); transition: var(--transition);
}
.area-card:hover .area-overlay {
  background: rgba(255, 255, 255, 0.85); /* Revela el grabado suavemente */
}
.area-card:hover { border-color: var(--er); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-5px); }
.area-content { position: relative; z-index: 2; pointer-events: none; }
.area-icon { font-size: 40px; color: var(--er); margin-bottom: 20px; transition: var(--transition); }
.area-card:hover .area-icon { transform: scale(1.1); color: var(--er); }
.area-name { font-size: 20px; font-weight: 900; font-family: 'Merriweather', serif; color: var(--ink); margin-bottom: 10px; }

/* ACCORDION / ECUADOR NEEDS */
.ecuador-needs {
  max-width: 800px; margin: 0 auto;
  background: var(--white); padding: 50px; border: 1px solid var(--er); position: relative;
  border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.ecuador-needs::before {
  content: ''; position: absolute; top: 10px; left: 10px; right: -10px; bottom: -10px;
  border: 1px solid var(--border-color); z-index: -1; border-radius: var(--radius-lg);
}
.ecuador-title { font-family: 'Merriweather', serif; font-size: 24px; color: var(--er); text-align: center; margin-bottom: 15px; }
.ecuador-desc { font-size: 15px; color: var(--ink); text-align: center; margin-bottom: 30px; font-style: italic; }

.accordion { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-header {
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; font-weight: 900; color: var(--ink); font-family: 'Merriweather', serif; font-size: 16px;
  transition: var(--transition);
}
.accordion-header::-webkit-details-marker { display: none; }
.accordion-header:hover { color: var(--er); }
.accordion-header i { transition: transform 0.3s ease; color: var(--er); }
details[open] .accordion-header i { transform: rotate(180deg); }
.accordion-body { padding: 0 0 20px 0; color: var(--ink); font-size: 15px; line-height: 1.6; }
.accordion-body ul { list-style-type: square; padding-left: 20px; color: var(--er); }
.accordion-body ul li { margin-bottom: 10px; color: var(--ink); }

/* CONVOCATORIA */
.conv-block {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 60px;
  align-items: center;
  background: var(--white);
  padding: 60px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  text-align: left;
}
.conv-title { font-size: 32px; font-weight: 900; color: var(--ink); margin-bottom: 20px; line-height: 1.2; font-family: 'Merriweather', serif; }
.conv-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 40px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 30px 0; }
.conv-item { padding: 0 20px; border-right: 1px solid var(--border-color); }
.conv-item:last-child { border-right: none; }
.conv-item-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; font-weight: 700; }
.conv-item-value { font-size: 18px; font-weight: 900; color: var(--ink); font-family: 'Merriweather', serif; }
.conv-item-value.gold { color: var(--gold-dark); }
.conv-ctas { display: flex; gap: 15px; justify-content: center; }

/* STEPS */
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.step-item { padding: 40px 30px; border-right: 1px solid var(--border-color); text-align: center; }
.step-item:last-child { border-right: none; }
.step-num { font-size: 60px; font-weight: 900; color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: 15px; font-family: 'Merriweather', serif; }
.step-title { font-size: 22px; font-family: 'Merriweather', serif; font-weight: 900; color: var(--er); margin-bottom: 15px; }
.step-desc { font-size: 15px; color: var(--ink); line-height: 1.6; margin-bottom: 20px; }
.step-link { font-size: 13px; font-weight: 900; color: var(--er); text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; }
.step-link:hover { color: var(--gold-dark); }

/* INDEXACIONES */
.index-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.index-logo {
  background: var(--white); border: 1px solid var(--border-color); padding: 30px 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px;
  transition: var(--transition); cursor: pointer; filter: grayscale(100%); opacity: 0.5; border-radius: var(--radius-md);
}
.index-logo:hover { filter: grayscale(0%); opacity: 1; border-color: var(--er); transform: translateY(-3px); }
.index-logo i { font-size: 40px; color: var(--ink); }
.index-logo span { font-size: 14px; font-weight: 900; color: var(--ink); font-family: 'Lato', sans-serif; }

/* FOOTER */
.footer { background: var(--ink); border-top: 5px solid var(--er); padding: 80px 0 30px; color: var(--white); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.footer-logo-row img { height: 40px; filter: brightness(0) invert(1); }
.footer-wordmark { font-size: 24px; font-weight: 900; color: var(--er); letter-spacing: 0.06em; font-family: 'Merriweather', serif; }
.footer-wordmark span { color: var(--gold); }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 20px; max-width: 300px; font-family: 'Merriweather', serif; font-style: italic; }
.footer-issn { font-size: 12px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.footer-col-title { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-link { display: block; font-size: 15px; margin-bottom: 10px; cursor: pointer; text-decoration: none; color: rgba(255,255,255,0.85); transition: var(--transition); }
.footer-link:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-copy { font-size: 14px; }
.footer-socials { display: flex; gap: 15px; }
.social-dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--white); cursor: pointer; transition: var(--transition); text-decoration: none; }
.social-dot:hover { border-color: var(--er); color: var(--er); }

/* MODAL STYLES */
.modal { 
  display: flex; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; 
  background-color: rgba(26, 10, 6, 0.8); align-items: center; justify-content: center; 
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1); 
  backdrop-filter: blur(4px); 
}
.modal.show { 
  opacity: 1; visibility: visible; pointer-events: auto; 
}
.modal-content { 
  background-color: var(--white); margin: auto; padding: 0; border: 1px solid var(--er); border-radius: var(--radius-lg); 
  width: 90%; max-width: 500px; box-shadow: 0 25px 50px rgba(0,0,0,0.3); 
  transform: scale(0.96) translateY(-15px); 
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); 
  overflow: hidden; 
}
.modal.show .modal-content { 
  transform: scale(1) translateY(0); 
}
.modal-header { padding: 20px 30px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--white); }
.modal-header h2 { font-size: 24px; margin: 0; color: var(--er); font-family: 'Merriweather', serif; font-weight: 900; }
.close-modal { color: var(--ink); font-size: 24px; font-weight: bold; cursor: pointer; transition: var(--transition); }
.close-modal:hover { color: var(--er); }
.modal-body { padding: 30px; color: var(--ink); line-height: 1.6; }
.modal-footer { padding: 20px 30px; border-top: 1px solid var(--border-color); background: var(--white); text-align: right; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-h1 { font-size: 44px; }
  .header-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .header-grid div { text-align: center !important; }
  .header-grid .separator-rhombus { justify-content: center !important; }
  .header-watermark { right: 50%; transform: translate(50%, -50%); height: 80%; opacity: 0.04; }
  .hero-call-image { display: none; } 
  .conv-block { grid-template-columns: 1fr; padding: 40px 20px; text-align: center; }
  .conv-block img { max-width: 100% !important; margin: 0 auto; }
  .issue-grid { grid-template-columns: 1fr; gap: 40px; }
  .issue-cover { max-width: 300px; margin: 0 auto; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .conv-row { grid-template-columns: repeat(2, 1fr); padding: 15px 0; border: none; }
  .conv-item { border-right: none; border-bottom: 1px solid var(--border-color); padding: 15px 0; }
  .conv-item:last-child { border-bottom: none; }
  .steps-row { grid-template-columns: 1fr; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); }
  .step-item { border-right: none; border-bottom: 1px solid var(--border-color); }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .index-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-tools { display: none; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-h1 { font-size: 36px; }
  .hero-tagline { font-size: 18px; }
  .hero-ctas { flex-direction: column; width: 100%; align-items: stretch; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .conv-block { padding: 30px 20px; }
  .conv-ctas { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .metrics-grid { grid-template-columns: 1fr; }
  .index-grid { grid-template-columns: repeat(2, 1fr); }
  .hemeroteca-grid { grid-template-columns: 1fr; }
  .ecuador-needs { padding: 30px 20px; }
  .ecuador-needs::before { display: none; }
  
  /* Mobile Strip Responsive */
  .strip .container { flex-direction: column; text-align: center; gap: 12px; justify-content: center; }
  .strip-text { font-size: 14px; line-height: 1.4; }
  .strip-text strong { display: inline-block; margin-bottom: 6px; margin-right: 0; }
  .strip-link { width: 100%; text-align: center; box-sizing: border-box; }
  
  /* Mobile Menu Fix */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    padding: 30px;
    border-bottom: 2px solid var(--er);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.active .nav-link, .nav-links.active .nav-cta {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active .nav-cta {
    background: var(--er);
    color: var(--white);
    margin-top: 10px;
    border-bottom: none;
  }

  /* Table overflow fix */
  .format-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  /* General Grid Fixes */
  .submissions-layout, .structure-grid, .credit-grid, .workflow-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .workflow-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .workflow-step {
    width: 100% !important;
  }
  
  .workflow-step::after {
    display: none !important;
  }
}

/* UTILITY CLASSES */
.text-er { color: var(--er) !important; }
.text-er-dark { color: var(--er-dark) !important; }
.text-gold { color: var(--gold) !important; }
.text-gold-dark { color: var(--gold-dark) !important; }
.text-white { color: var(--white) !important; }
.text-ink { color: var(--ink) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-ink { background-color: var(--ink) !important; }
.border-gold { border-color: var(--gold) !important; }
.border-er { border-color: var(--er) !important; }
.border-ink { border-color: var(--ink) !important; }

/* DECORATIVE SEPARATORS */
.separator-line {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 40px;
  display: block;
}
.separator-line.center {
  margin-left: auto;
  margin-right: auto;
}
.separator-line.conv {
  width: 80px;
  height: 5px;
  background: var(--gold);
  margin-bottom: 30px;
}

/* TACTILE PRESS FEEDBACK (:active) */
.btn-primary:active, .btn-outline:active {
  transform: scale(0.97) translateY(-1px);
}
.nav-cta:active {
  transform: scale(0.96);
}
.social-dot:active, .nav-icon-btn:active, .page-btn:active, .menu-toggle:active {
  transform: scale(0.95);
}
.album-sticker:active, .area-card:active {
  transform: scale(0.98);
}

/* SCROLL REVEAL ANIMATIONS */
.album-section, .album-sticker, .area-card, .step-item {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-section.visible, .album-sticker.visible, .area-card.visible, .step-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .album-section, .album-sticker, .area-card, .step-item {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

