@font-face {
  font-family: 'MercuryTextG1-SemiboldItalic';
  src: url("../fonts/Mercury Text G1 Semibold Italic.ttf");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'GothamMedium';
  src: url("../fonts/Gotham-Medium.ttf"), url("../fonts/Gotham-Medium.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: 'MercuryTextG1-Bold';
  src: url("../fonts/Mercury Text G1 Bold.ttf");
  font-weight: bold;
  font-display: swap;
}
@font-face {
  font-family: 'MercuryTextG1-Semibold';
  src: url("../fonts/Mercury Text G1 Semibold Regular.otf");
  font-weight: bold;
  font-display: swap;
}
@font-face {
  font-family: 'GothamBook';
  src: url("../fonts/Gotham-Book.ttf"), url("../fonts/Gotham-Book.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: 'MercuryTextG1-Italic';
  src: url("../fonts/Mercury Text G1 Italic.otf");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'MercuryTextG1-Roman';
  src: url("../fonts/Mercury Text G1 Roman.otf");
}
@font-face {
  font-family: 'GothamLight';
  src: url("../fonts/GothamLight.ttf");
  font-display: swap;
}
@font-face {
  font-family: 'GothamBold';
  src: url("../fonts/Gotham-Bold.ttf"), url("../fonts/Gotham-Bold.otf") format("opentype");
  font-weight: bold;
  font-display: swap;
}
@font-face {
  font-family: 'Tahoma';
  src: url("../fonts/tahoma.ttf"), format("opentype");
  font-display: swap;
}
@font-face {
  font-family: 'TahomaBold';
  src: url("../fonts/tahomabd.ttf"), format("opentype");
  font-weight: bold;
  font-display: swap;
}
:root{
  --scroll-thumb: rgba(255,255,255,0.06);
  --scroll-thumb-hover: rgba(255,255,255,0.10);
  --scroll-track: transparent;
  --scroll-width: 2px;
  --scroll-border: rgba(255,255,255,0.03);
}
.scrollbar-custom {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  -webkit-overflow-scrolling: touch;
}
.scrollbar-custom::-webkit-scrollbar {
  width: var(--scroll-width);
  height: var(--scroll-width);
  background: transparent;
}
.scrollbar-custom::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
.scrollbar-custom::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 1px solid var(--scroll-border);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  opacity: 0;
  transition: opacity .28s ease, background .18s ease;
}
.scrollbar-custom:hover::-webkit-scrollbar-thumb,
.scrollbar-custom.scrolling::-webkit-scrollbar-thumb {
  opacity: 1;
  background: var(--scroll-thumb-hover);
}
.scrollbar-custom::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.14);
}
.scrollbar-custom:hover {
  scrollbar-color: var(--scroll-thumb-hover) var(--scroll-track);
}
@media (hover: none) and (pointer: coarse) {
  .scrollbar-custom::-webkit-scrollbar { display: none; }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'GothamBook', sans-serif;
  background: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-top: 70px;
  box-sizing: border-box;
  color: #333;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow: auto;
  height: 100%;
}
body.loaded #container {
  display: block;
}
#container {
  display: none;
  width: 100%;
  max-width: 100%;
  margin-top: 70px;
  flex: 1;
}
a, button {
  cursor: url('../images/clic.png'), auto;
}
a {
  text-decoration: none;
  color: #da901c;
}
a:hover {
  text-decoration: none;
}
p {
  font-family: Tahoma;
  font-size: 19px;
  line-height: 25px;
  text-indent: 0px;
  margin-bottom: 20px;
  text-align-last: left;
  text-align: justify;
  letter-spacing: -0.0015em !important;
}
ul {
  margin-left: 20px;
  margin-top: 0em;
}
ul li::marker {
  color: #da901c;
  font-size: 1.2em;
}
ul.nav {
  list-style: none;
}
li {
  margin-top: 0em;
  margin-bottom: 0em;
}
li > p {
  text-indent: 0px;
  margin-top: 0em;
  margin-bottom: 0em;
}
.tooltip {
  position: static;
  display: inline-block;
}
.tooltip-content {
  font-family: Tahoma;
  font-size: 14px;
  line-height: 20px;
  text-indent: 0px;
  margin-left: 0px;
  margin-right: 0px;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  max-width: 85%;
  min-width: auto;
  box-shadow: 5px 5px 16px 20px rgba(0, 0, 0, 0.2);
  padding: 12px 16px;
  border-radius: 15px;
  text-align: justify;
  z-index: 1;
  color: #000000;
}
.tooltip:hover .tooltip-content {
  display: block;
  position: absolute;
}
.tooltip:hover .tooltip-fig {
  display: block;
  position: absolute;
}
.image-item {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;      /* evita que sobresalga */
  display: flex;         /* centra */
  justify-content: center;
  align-items: center;
}

.image-item img {
  max-width: 100%;       /* no sobrepasa el alto visible */
  height: auto;          /* mantiene proporción */
  width: auto;           /* mantiene proporción */
  object-fit: contain;   /* asegura proporción sin recorte */
  display: block;
}

.full-page-image-zoom {
  width: 100%;
  height: auto;
  display: block;
  animation:
  fadeInRight 0.8s ease-out 0.3s forwards, imageSoftPulse 8s ease-in-out infinite alternate;
  opacity: 0;
  transform-origin: center;
  max-width: 100%;
  will-change: transform;
}
.cita {
  font-family: Tahoma;
  font-size: 14px;
  line-height: 20px;
  text-indent: -20px;
  padding-left: 20px;
  text-align-last: left;
  text-align: justify;
  margin-left: 20px;
  margin-right: 20px;
}
.sintesis {
  float: right;
  border-top: 5px solid #6f6f6e;
  shape-outside: inset(0 0 0 0); /* ⚠️ CSS Shapes, solo navegadores modernos */
  shape-margin: 0px; /* ⚠️ CSS Shapes, solo navegadores modernos */
  animation: fadeInRight 3s ease-out infinite 0.3s both;
  width: 250px;
  height: 100px;
}
.quote {
  font-style: italic;
  font-family: MercuryTextG1-Italic, "Mercury Text G1";
  font-size: 20px;
  line-height: 25px;
  color: #6f6f6e;
  text-indent: 0px;
  margin: 0;
}
.top-bar {
  width: 100%;
  background: #fff;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  height: 70px;
  font-family: 'GothamMedium', sans-serif;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 101;
}
.logo {
  height: 50px;
  width: auto;
}
.mobile-controls {
  display: none;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #eb7a1f;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.menu-items {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.chapters-wrapper {
  display: flex;
  justify-content: center;
  flex: 1;
}
.chapters-container {
  display: flex;
  justify-content: center;
}
.menu-chapters {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.menu-chapters a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s;
  font-family: 'Gotham-Bold', sans-serif;
  position: relative;
}
.menu-chapters a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #da901c;
  transition: width 0.3s ease;
}
.menu-chapters a:hover::after, .menu-chapters a.active::after {
  width: 100%;
}
.menu-chapters a:hover, .menu-chapters a.active {
  color: #da901c;
}
.menu-chapters a, .action-btn span {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.action-btn.primary span {
  font-weight: bold;
}
.menu-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}
.action-btn {
  background: #000;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 50px;
  cursor: url('../images/clic.png'), auto;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'GothamMedium', sans-serif;
}
.action-btn:hover {
  background: #da901c;
}
.action-btn.primary {
  background: #da901c;
  color: white;
  font-family: 'GothamBold', sans-serif;
}
.action-btn.primary:hover {
  background: #000;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icon {
  color: #000;
  font-size: 1.2rem;
  transition: transform 0.3s;
  cursor: url('../images/clic.png'), auto;
}
.social-icon:hover {
  transform: scale(1.2);
  color: #da901c;
}
.book-container {
  width: 100%;
  height: calc(100vh - 70px);
  max-width: 100%;
  max-height: calc(100vh - 70px);
  margin: 0;
  background: white;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.main-wrapper {
  width: 100vw;
  max-width: 100%;
  display: flex;
  justify-content: center;
  flex: 1;
  margin: 0;
  padding: 0;
}
.book-content {
  width: 100%;
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}
.pages-container {
  display: flex;
  overflow: hidden;
  scrollbar-width: none;
  width: 100%;
  position: relative;
  scroll-behavior: smooth;
  background: white;
  height: calc(100vh - 70px);
}
.paginacion {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1192px;
  transition: opacity 0.3s ease;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
  min-height: calc(100vh - 70px);
}
.paginacion:first-child {
  overflow: hidden !important;
  height: 100% !important;
  min-height: calc(100vh - 70px);
}
.pages-container::-webkit-scrollbar, .paginacion::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.page {
  min-width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}
.spread {
  display: flex;
  min-width: 100%;
  height: 100%;
}
.half-page {
  width: 50%;
  padding: 30px;
  overflow-y: auto;
  position: relative;
}
.content-block {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.content-block h2 {
  color: #eb7a1f;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f4f8;
  font-family: 'MercuryTextG1-Semibold', serif;
}
.content-block h2 i {
  margin-right: 10px;
}
.content-block p {
  font-family: 'Tahoma', serif;
  line-height: 1.6;
  margin-bottom: 15px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.stat-card {
  background: #f0f7ff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border-left: 4px solid #eb7a1f;
}
.stat-card .value {
  font-size: 2rem;
  font-weight: bold;
  color: #eb7a1f;
  margin: 10px 0;
  font-family: 'GothamBold', sans-serif;
}
.stat-card .label {
  color: #666;
  font-size: 0.9rem;
  font-family: 'GothamBook', sans-serif;
}
.index-list {
  list-style: none;
}
.index-list li {
  padding: 12px 15px;
  margin-bottom: 8px;
  background: #f8fafc;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-family: 'GothamBook', sans-serif;
}
.index-list li:before {
  content: "•";
  color: #da901c;
  font-size: 1.5rem;
  margin-right: 10px;
  font-family: 'GothamBold', sans-serif;
}
.index-list li:hover {
  background: #e6f0ff;
  transform: translateX(5px);
  cursor: url('../images/clic.png'), auto;
}
.nav-controls {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.btn {
  background: #da901c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: url('../images/clic.png'), auto;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: 'GothamMedium', sans-serif;
}
.btn:hover {
  background: #68a81c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(118, 187, 32, 0.3);
}
.btn:disabled {
  background: #a0aec0;
  cursor: url('../images/clic.png'), not-allowed;
  transform: none;
  box-shadow: none;
}
.page-indicators {
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: url('../images/clic.png'), auto;
  transition: all 0.3s ease;
}
.page-indicator.active {
  background: #eb7a1f;
  transform: scale(1.2);
}
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.left-arrow {
  left: 30px;
}
.right-arrow {
  right: 30px;
}
.nav-arrow i {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}
.nav-arrow:hover i {
  transform: scale(1.3);
}
.nav-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.cover-background {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.cover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.cover-main-title {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 50%;
  color: #fff;
  font-family: GothamBold, serif;
  font-size: 2vw;
  box-shadow: #000;
  animation: fadeInLeft 0.8s ease-out 0.3s both;
}
.cover-subtitle {
  position: absolute;
  top: 22%;
  left: 20%;
  width: 50%;
  color: #eb7a1f;
  font-family: 'GothamMedium', serif;
  font-size: 1.8vw;
  animation: fadeInLeft 0.8s ease-out 0.3s both;
}
.cover-year {
  position: absolute;
  top: 42%;
  left: 10%;
  color:#fff;
  font-family: 'GothamMedium', serif;
  font-size: 1.8vw;
  animation: fadeInLeft 0.8s ease-out 0.3s both;
}
.cover-institution {
  position: absolute;
  top: 52%;
  left: 10%;
  width: 40%;
  text-align: left;
  color:#fff;
  line-height: 1.5em;
  font-family: 'GothamBook', sans-serif;
  font-size: 1vw;
  animation: fadeInLeft 0.8s ease-out 0.3s both;
}
.cover-legal {
  position: absolute;
  bottom: 5%;
  right: 17%;
  width: 30%;
  text-align: justify;
  font-family: GothamMedium,serif;
  font-size: 0.8vw;
  line-height: 1vw;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.book-cover-image {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 20vw;
  max-width: 15%;
  min-width: 15%;
  height: auto;
  aspect-ratio: 2.8/4;
  object-fit: contain;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  z-index: 3;
  transform: translateZ(0);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.institution-with-avatar {
  position: absolute;
  bottom: 5%;
  right: 48%;
  top: 80%;
  display: flex;
  align-items: center;
  gap: 1vw;
  z-index: 3;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.avatar-icon {
  width: 7vw;
  height: 7vw;
  min-width: 100%;
  max-width: 100%;
  object-fit: contain;
}
.full-page-image-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -20px;
}
.full-page-image {
  width: 100%;
  height: auto;
  display: block;
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  opacity: 0;
}
.orange-text-box {
  position: absolute;
  background-color: #eb7a1f;
  padding: 30px;
  width: 400px;
  bottom: 70px;
  left: -20px;
  z-index: 2;
  box-sizing: border-box;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
  opacity: 0;
}
.white-text {
  color: white;
  margin: 0;
  font-family: MercuryTextG1-Semibold;
  font-weight: bold;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: left;
}
.white-text2 {
  color: white;
  margin: 0;
  font-style: italic;
  font-weight: normal;
  font-family: MercuryTextG1-Italic;
  font-size: 28px;
  line-height: 1.2;
  text-align: left;
}
@keyframes imageSoftPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@media (max-width: 1024px) {
  .orange-text-box {
    width: 50%;
    padding: 2.5%;
    bottom: 10%;
  }
  .white-text {
    font-size: 3vw;
    margin-bottom: 15px;
  }
  .white-text2 {
    font-size: 2vw;
  }
}
.right-page-border-presentation {
  border: 1px solid #eb7a1f;
  border-right: 0.5px solid #eb7a1f;
}
.inner-chapter-title-presentation {
  font-family: 'GothamLight', sans-serif;
  font-size: 15px;
  font-weight: bold;
  color: #eb7a1f;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 5px;
  position: relative;
  top: -5px;
  display: inline-block;
  width: auto;
  white-space: nowrap;
  margin: 0;
  background-color: white;
  box-shadow: 0 0 0 10px white;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
}
.inner-continue-reading-presentation {
  display: inline-block;
  width: auto;
  margin: 20px 20px;
}
.inner-continue-reading-presentation a {
  background: #eb7a1f;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Gotham-Medium', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(235, 122, 31, 0.3);
  font-size: 0.9rem;
  white-space: nowrap;
  animation: heartBeatOrange 1.5s infinite ease-in-out;
  position: relative;
}
.inner-continue-reading-presentation a:hover {
  background: #e06d1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(235, 122, 31, 0.5);
  animation: none;
}
@keyframes heartBeatOrange {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 10px rgba(235, 122, 31, 0.3);
  }
  25% {
    transform: scale(1.05);
    box-shadow: 0 2px 15px rgba(235, 122, 31, 0.5);
  }
  35% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
    box-shadow: 0 2px 20px rgba(235, 122, 31, 0.6);
  }
  55% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .inner-continue-reading-presentation a {
    padding: 8px 16px;
    font-size: 0.8rem;
    animation: heartBeatOrangeMobile 1.5s infinite ease-in-out;
  }
  @keyframes heartBeatOrangeMobile {
    0% {
      transform: scale(1);
      box-shadow: 0 1px 8px rgba(235, 122, 31, 0.3);
    }
    25% {
      transform: scale(1.04);
      box-shadow: 0 1px 12px rgba(235, 122, 31, 0.5);
    }
    35% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.02);
      box-shadow: 0 1px 15px rgba(235, 122, 31, 0.6);
    }
    55% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
}
.full-page-image-container-cap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -20px;
  overflow: hidden;
}

.orange-text-box-cap {
  position: absolute;
  background-color: #da901c;
  padding: 20px 30px 20px 50px;
  width: 100%;
  height: auto;
  top: 0px;
  left: 0px;
  z-index: 2;
  box-sizing: border-box;
}
.white-text-cap {
  color: white;
  font-family: GothamBold;
  font-size: 25px;
  margin: 35px 0 -20px 0;
  position: relative;
  text-transform: uppercase;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
  opacity: 0;
}
.white-text-cap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
}
.caps-container {
  display: inline-flex;
  align-items: flex-start;
  height: 0.8em;
  overflow: visible;
}
.white-number-cap {
  display: inline-block;
  font-size: 150px;
  font-weight: bold;
  font-family: Tahoma;
  color: #ffffff;
  position: relative;
  top: -35px;
  animation: fadeInLeft 0.8s ease-out 0.5s forwards;
}
.white-text2-cap {
  text-transform: uppercase;
  display: inline-block;
  color: white;
  font-family: Tahoma;
  font-size: 50px;
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.5s forwards;
  opacity: 0;
  margin: 0;
}
.white-line {
  width: 96%;
  height: 2px;
  background: white;
  margin: 25px 0 25px 0;
}
.gray-line {
  width: 0;
  height: 2px;
  background: lightgray;
  margin: 25px 0 25px 0;
 animation: lineExpand 0.8s ease forwards;
}
@keyframes lineExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .orange-text-box-cap {
    width: 100%;
    padding: 15px 20px;
    bottom: auto;
    top: 0;
    left: 0;
  }
  .white-text-cap {
    font-size: 24px;
    margin: 20px 0 15px 0;
  }
  .white-number-cap {
    top: 0px;
    font-size: 24px;
    margin: 0px 0;
  }
  .white-text2-cap {
    font-size: 24px;
    margin-left: 10px;
  }
  .white-line {
    width: 100%;
    margin: 10px 0 15px 0;
  }
  .caps-container {
    display: inline-flex;
    align-items: flex-start;
    height: 100%;
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  .orange-text-box-cap {
    padding: 15px 20px;
  }
  .white-text-cap {
    font-size: 24px;
    margin: 20px 0 15px 0;
  }
  .white-number-cap {
    top: 0px;
    font-size: 24px;
    margin: 0px 0;
  }
  .white-text2-cap {
    font-size: 24px;
    margin-left: 10px;
  }
  .white-line {
    display: inline-flex;
    height: 2px;
    margin: 1em auto 0.5em;
    width: 100%;
  }
  .caps-container {
    display: inline-flex;
    align-items: flex-start;
    height: 100%;
    overflow: hidden;
  }
}
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}
.inner-spread-container {
  display: flex;
  height: 800px;
  width: 100%;
  transition: all 0.3s ease;
  min-height: auto;
  background: white;
}
.inner-page {
  padding: 30px 25px;
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease;
}
.inner-text-content {
  margin-top: 35px;
  padding: 0 15px;
  height: calc(100% - 120px);
  overflow-y: auto;
  font-family: Tahoma;
  font-size: 19px;
  line-height: 29px;
  margin-bottom: 20px;
  text-align-last: left;
  text-align: justify;
}
@media (max-width: 900px) {
  .inner-text-content {
    max-height: 100vh;
    overflow-y: auto;
  }
}
.border-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  pointer-events: none;
  box-sizing: border-box;
}
.left-page-border {
  border: 1px solid #da901c;
  border-right: 0.5px solid #da901c;
}
.right-page-border {
  border: 1px solid #da901c;
  border-right: 0.5px solid #da901c;
}
.inner-page-header {
  margin-top: -25px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10vw;
  max-width: 1192px;
  padding: 0px 0;
  background-color: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.inner-chapter-title {
  font-family: 'GothamLight', sans-serif;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: normal;
  color: #da901c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 clamp(3px, 0.5vw, 5px);
  position: relative;
  top: -6px;
  display: inline-block;
  width: auto;
  white-space: nowrap;
  margin: 0;
  background-color: white;
  box-shadow: 0 0 0 min(10px, 1vw) white;
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  line-height: 1.3;
  text-align: center;
}

/* Media queries fuera del bloque */
@media (max-width: 1024px) {
  .inner-chapter-title {
    font-size: clamp(15px, 1.5vw, 17px);
    letter-spacing: 0.07em;
    top: -6px;
  }
}

@media (max-width: 768px) {
  .inner-chapter-title {
    font-size: clamp(15px, 1.75vw, 17px);
    top: -6px;
    box-shadow: 0 0 0 min(8px, 1.5vw) white;
  }
}

@media (max-width: 480px) {
  .inner-chapter-title {
    font-size: clamp(4vw, 2vw, 17px);
    letter-spacing: 0.05em;
    top: -6px;
  }
}
.fig {
text-align: justify;
}
.labelfig {
  font-family: GothamMedium;
  color: #da901c;
  display: inline;
  text-align: left;
  font-size: 18px;
  line-height: 21.6px;
}
.textfig {
  color: #000;
  display: inline;
  font-weight: bold;
  font-family: GothamMedium;
  text-align: justify;
  font-size: 17px;
  line-height: 21.6px;
}
@media (max-width: 1024px) {
  .top-bar {
    justify-content: space-between;
  }
  .mobile-controls {
    display: block;
    z-index: 9999;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-items.active {
    display: flex;
  }
  .chapters-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }
  .chapters-container {
    display: flex;
    justify-content: flex-end;
  }
  .menu-chapters {
    flex-direction: column;
    gap: 10px;
    width: auto;
    align-items: flex-end;
  }
  .menu-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
  }
  .nav-arrow {
    transition: all 0.1s ease;
    z-index: 999;
  }
  .menu-items {
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    top: 70px;
    right: 0;
    width: auto;
    height: auto;
    background: white;
    padding: 0px 15px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .inner-spread-container {
    flex-direction: column;
    height: auto !important;
    min-height: auto;
  }
  .inner-page {
    width: 100% !important;
    height: auto !important;
    min-height: 50vh;
  }
  .menu-items.active {
    z-index: 1001;
    background: white;
    padding: 20px;
    right: 10px;
    top: 70px;
    border-radius: 0 0 10px 10px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .menu-items.active ~ .nav-arrow {
    opacity: 0.3;
    pointer-events: none;
  }
  .menu-items.active ~ .left-arrow {
    top: 80px;
  }
  .menu-items.active ~ .right-arrow {
    top: 80px;
  }
}
@media (min-width: 769px) {
  .paginacion:first-child {
    overflow: hidden !important;
  }
}
@media (max-width: 768px) {
  .spread {
    flex-direction: column;
  }
  .half-page {
    width: 100%;
    height: 50%;
  }
  .cover h1 {
    font-size: 2rem;
  }
  .cover h2 {
    font-size: 1.4rem;
  }
  .content-block {
    padding: 20px 15px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .menu-actions {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
  }
  .action-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .action-btn span {
    display: none;
  }
  .nav-arrow {
    position: absolute !important;
    top: 75px !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.3rem !important;
  }
  .left-arrow {
    left: 10px !important;
    right: auto !important;
  }
  .right-arrow {
    right: 10px !important;
    left: auto !important;
  }
  .cover-content {
    position: relative;
    height: auto;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
  }
  .book-cover-image {
    position: relative;
    top: auto;
    right: auto;
    width: 60%;
    max-width: 250px;
    min-width: 180px;
    margin-bottom: 30px;
  }
  .cover-main-title, .cover-subtitle, .cover-year, .cover-institution {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    text-align: center;
    margin-bottom: 15px;
  }
  .cover-main-title {
    font-size: clamp(20px, 6vw, 28px);
    margin-top: 20px;
  }
  .cover-subtitle {
    font-size: clamp(18px, 5vw, 24px);
  }
  .cover-year {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .cover-institution {
    font-size: clamp(10px, 2vw, 20px);
  }
  .cover-legal, .avatar-icon, .institution-with-avatar {
    display: none !important;
  }
  .menu-items.active ~ .nav-arrow {
    display: none;
  }
  .inner-spread-container {
    height: auto !important;
    min-height: auto;
    flex-direction: column;
  }
  .paginacion:first-child {
    height: auto !important;
    min-height: calc(100vh - 70px);
    overflow: auto !important;
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .top-bar {
    padding: 10px;
    height: 60px;
  }
  .logo {
    height: 40px;
  }
  .social-icons {
    gap: 5px;
  }
  .social-icon {
    font-size: 1rem;
  }
  .book-container {
    margin-top: 60px;
    height: calc(100vh - 60px);
  }
  .cover h1 {
    font-size: 1.7rem;
  }
  .btn {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  .menu-items {
    top: 60px;
  }
  .nav-arrow {
    width: 40px !important;
    height: 40px !important;
    top: 65px !important;
    font-size: 1.2rem;
  }
}
.number-sec2 {
  border-top: none;
  text-decoration: underline solid #da901c 8px;
  text-underline-offset: 20px;
  padding: 0px 10px 54px 0;
  margin-right: 280px;
  margin-bottom: 20px;
  margin-top: 25px !important;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
  font-family: Tahoma;
  font-size: 140px;
  line-height: 40px;
  color: #54301a;
  text-align: left;
  text-indent: 0px;
  letter-spacing: -0.0015em !important;
  display: inline-block;
}
.text-sec2 {
  text-underline-offset: 20px;
  font-family: GothamMedium;
  font-size: 35px;
  line-height: 40px;
  font-weight: bold;
  color: #54301a;
  margin-bottom: 40px;
  text-align: left;
  letter-spacing: -0.0015em !important;
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  text-indent: 0px;
  display: inline-block;
  text-transform: uppercase;
  padding: 0 0 5px;
  border-bottom: 3px solid #da901c;
}
.number-sec3 {
  padding-bottom: 5px;
  width: 20px;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
  font-family: GothamMedium;
  font-size: 30px;
  line-height: 36px;
  color: #54301a;
  text-indent: 0px;
  padding-bottom: 15px;
  margin-bottom: 5px;
  text-align: left;
  letter-spacing: -0.0015em !important;
  margin-top: 0px !important;
  text-decoration: underline solid #da901c 3px;
  text-underline-offset: 10px;
}
.text-sec3 {
  font-family: GothamMedium;
  font-size: 30px;
  line-height: 36px;
  color: #54301a;
  margin-bottom: 20px;
  text-align: left;
  text-indent: 0px;
  letter-spacing: -0.0015em !important;
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
}
.number-sec4 {
  padding-bottom: 5px;
  width: 20px;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
  font-family: GothamMedium;
  font-size: 30px;
  line-height: 36px;
  color: #54301a;
  text-indent: 0px;
  padding-bottom: 15px;
  margin-bottom: 5px;
  text-decoration: underline solid #da901c 3px;
  text-underline-offset: 10px;
  text-align: left;
  letter-spacing: -0.0015em !important;
  margin-top: 0px !important;
  display: inline-block;
}
.text-sec4 {
  font-family: GothamMedium;
  font-size: 30px;
  line-height: 36px;
  color: #54301a;
  margin-bottom: 20px;
  text-align: left;
  text-indent: 0px;
  letter-spacing: -0.0015em !important;
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
}
.reading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}
.reading-content {
  width: 80%;
  height: 90%;
  border: none;
  background: white;
}
.close-reading-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #eb7a1f;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2001;
  transition: all 0.3s ease;
}
.inner-continue-reading {
  display: inline-block;
  width: auto;
  margin: 20px 20px;
}
.inner-continue-reading a {
  background: #da901c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Gotham-Medium', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(118, 187, 32, 0.3);
  font-size: 0.9rem;
  white-space: nowrap;
  animation: heartBeatGreen 1.5s infinite ease-in-out;
  position: relative;
}
.inner-continue-reading a:hover {
  background: #68a81c;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(118, 187, 32, 0.5);
  animation: none;
}
@keyframes heartBeatGreen {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 10px rgba(118, 187, 32, 0.3);
  }
  25% {
    transform: scale(1.05);
    box-shadow: 0 2px 15px rgba(118, 187, 32, 0.5);
  }
  35% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
    box-shadow: 0 2px 20px rgba(118, 187, 32, 0.6);
  }
  55% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .inner-continue-reading a {
    padding: 8px 16px;
    font-size: 0.8rem;
    animation: heartBeatGreenMobile 1.5s infinite ease-in-out;
  }
  @keyframes heartBeatGreenMobile {
    0% {
      transform: scale(1);
      box-shadow: 0 1px 8px rgba(118, 187, 32, 0.3);
    }
    25% {
      transform: scale(1.04);
      box-shadow: 0 1px 12px rgba(118, 187, 32, 0.5);
    }
    35% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.02);
      box-shadow: 0 1px 15px rgba(118, 187, 32, 0.6);
    }
    55% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
}
#closeReading {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: black;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-weight: bold;
  font-family: 'GothamMedium', sans-serif;
}
#closeReading:hover {
  transform: scale(1.1);
  background: black;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  #closeReading {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    top: 15px;
    right: 15px;
  }
}
#fullscreenBtn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #000;
}
#fullscreenBtn:hover {
  transform: scale(1.2);
  color: #da901c;
}
.full-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 5px;
  flex-wrap: nowrap;
  margin-top: 5px;
  margin-bottom: 0px;
}
.round-green-btn {
  background: #eb7a1f;
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 15px;
  font-family: 'GothamBold', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px #eb7a1f;
  font-size: 0.9rem;
  animation: heartBeatOrange 1.5s infinite ease-in-out;
  flex-shrink: 0;
}
.full-link:hover .round-green-btn {
  background: #eb7a1f;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px #eb7a1f;
  animation: none;
}
.round-green-btn i {
  font-size: 1.5rem;
}
.round-green-btn-text {
  font-family: GothamMedium;
  font-size: 18px;
  font-style: normal;
  line-height: 21.6px;
  color: #eb7a1f;
  text-align: left;
  text-indent: 0px;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .round-green-btn {
    width: 50px;
    height: 50px;
    animation: pulseGreenRoundMobile 1.5s infinite ease-in-out;
  }
  .round-green-btn i {
    font-size: 1.3rem;
  }
  .round-green-btn-text {
    font-size: 16px;
    line-height: 20px;
  }
  @keyframes pulseGreenRoundMobile {
    0% {
      transform: scale(1);
      box-shadow: 0 1px 8px #eb7a1f;
    }
    25% {
      transform: scale(1.04);
      box-shadow: 0 1px 12px #eb7a1f;
    }
    35% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.02);
      box-shadow: 0 1px 15px #eb7a1f;
    }
    55% {
      transform: scale(1);
    }
    100% {
      transform: scale(1);
    }
  }
}
@keyframes pulseGreenRound {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 10px rgba(117, 187, 33, 0.3);
  }
  25% {
    transform: scale(1.05);
    box-shadow: 0 2px 15px rgba(117, 187, 33, 0.5);
  }
  35% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
    box-shadow: 0 2px 20px rgba(117, 187, 33, 0.6);
  }
  55% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.econ-round-btn-wrapper {
  display: inline-block;
  align-items: center;
  gap: 15px;
  margin: 0px;
  text-decoration: none !important;
  max-width: 100%;
}
.econ-round-btn {
  background: #eb7a1f;
  border: none;
  min-width: 60px;
  min-height: 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(235, 122, 31, 0.3);
  animation: econPulseAnimation 1.5s infinite ease-in-out;
  overflow: hidden;
  padding: 0px;
  flex-shrink: 0;
}
.econ-round-btn img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.econ-btn-label {
  color: #333;
  font-family: 'GothamBold', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}
@keyframes econPulseAnimation {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  35% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
  }
  55% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.econ-round-btn-wrapper:hover .econ-round-btn {
  background: #e06d1a;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 15px rgba(235, 122, 31, 0.5);
  animation: none;
}
.econ-round-btn-wrapper:hover .econ-round-btn img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .econ-round-btn-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .econ-round-btn {
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
  }
  .econ-btn-label {
    white-space: normal;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    padding: 0 10px;
  }
}
@media (max-width: 480px) {
  .econ-round-btn {
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
  }
  .econ-round-btn img {
    width: 75%;
    height: 75%;
  }
}
.green-round-btn-container {
  display: inline-block;
  align-items: center;
  gap: 15px;
  margin: 0px;
  text-decoration: none !important;
  max-width: 100%;
}
.green-round-btn {
  background: #da901c;
  border: none;
  min-width: 60px;
  min-height: 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
  animation: greenPulseAnimation 1.5s infinite ease-in-out;
  overflow: hidden;
  padding: 0px;
  flex-shrink: 0;
}
.green-round-btn img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.green-btn-label {
  color: #333;
  font-family: 'GothamBold', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  margin-left: 15px;
}
@keyframes greenPulseAnimation {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  35% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.03);
  }
  55% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.green-round-btn-container:hover .green-round-btn {
  background: #da901c;
  transform: translateY(-2px) scale(1.05);
  animation: none;
}
.green-round-btn-container:hover .green-round-btn img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .green-round-btn-container {
    width: 100%;
    display: flex;
    justify-content: center !important;
    flex-wrap: wrap;
    text-align: center !important;
    gap: 10px;
  }
  .green-round-btn {
    min-width: 60px;
    min-height: 60px;
    width: 60px;
    height: 60px;
  }
  .green-btn-label {
    white-space: normal;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
    padding: 0 10px;
    margin-left: 0;
  }
}
@media (max-width: 480px) {
  .green-round-btn {
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
  }
  .green-round-btn img {
    width: 75%;
    height: 75%;
  }
}
.indicator-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.indicator-text {
  font-family: 'GothamBold', sans-serif;
  font-size: 1rem;
  color: #333;
}
.animated-arrow {
  font-size: 1.5rem;
  animation: moveArrow 1s infinite alternate ease-in-out;
  margin: 0 5px;
}
@keyframes moveArrow {
  0% {
    transform: translateX(-3px);
  }
  100% {
    transform: translateX(3px);
  }
}
.theme-orange .animated-arrow {
  color: #eb7a1f;
}
.theme-green .animated-arrow {
  color: #da901c;
}
.green-round-btn-container {
  display: inline-block;
}
.green-round-btn {
  background: #da901c;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
  overflow: hidden;
}
.green-round-btn img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .indicator-container {
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }
  .indicator-container .indicator-text,
  .indicator-container .animated-arrow {
    white-space: nowrap;
  }
  .indicator-text {
    width: 100%;
    text-align: center;
  }
}
.grafico-wrapper {
  width: 100%;
  max-width: 700px;
  position: relative;
  overflow: hidden;
  border: none;
}
.iframe-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.grafico-externo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transform-origin: top left;
}
.fullscreen-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  z-index: 10;
}
.fullscreen-btn:hover {
  background: #f0f0f0;
}
.fullscreen-icon {
  font-weight: bold;
  font-size: 16px;
  transform: rotate(45deg);
  color: #da901c;
}
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}
.video-background video, .full-page-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  max-height: 100%;
  transform-origin: center;
  will-change: transform;
}
video.full-page-video {
  pointer-events: none;
}
.text-container-indice {
  padding: 150px 20px 0px 28px;
}
.white-text-indice {
  font-family: GothamBold;
  font-size: 38.7px;
  color: #fff;
  letter-spacing: 0.010em;
  text-transform: uppercase;
  animation: fadeInRight 0.8s ease-out 0.3s forwards;
  opacity: 0;
}
.white-text2-indice {
  padding: 10px 0px 0px 0px;
  font-family: GothamLight;
  font-size: 38.7px;
  color: #fff;
  letter-spacing: 0.010em;
  text-transform: uppercase;
  animation: fadeInLeft 0.8s ease-out 0.3s forwards;
  opacity: 0;
}
.indice-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 5px;
  overflow-y: auto;
  color: white;
  text-transform: uppercase;
  font-size: 20px;
}
.left-panel {
  left: 26vw;
  width: 30vw;
  z-index: 101;
  background-color: #e06d1a;
}
.right-panel {
  left: 24vw;
  width: 32vw;
  display: none;
  z-index: 10000;
  background-color: #e06d1a;
}
.indice-principal {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}
.indice-principal > li {
  cursor: pointer;
  margin-bottom: 10px;
}
.indice-submenu, .indice-submenu ul {
  list-style: none;
  padding-left: 0;
  text-transform: none;
  font-size: 18px;
}
.indice-submenu > li {
  padding: 5px 0;
  margin: 5px 0;
  cursor: pointer;
  padding-bottom: 8px;
  width: 98%;
  position: relative;
  line-height: 1.45;
}
.indice-submenu > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: lightgray;
  animation: lineExpand1 0.8s ease forwards;
}
@keyframes lineExpand1 {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.indice-submenu.sin-linea > li::before {
  content: none !important;
}
.indice-submenu li {
  padding: 5px 0;
  cursor: pointer;
  line-height: 1.45;
}
.indice-submenu li ul li {
  padding-left: -20px;
}
.indice-submenu li ul li ul li {
  padding-left: -20px;
}
.indice-subitem:hover, .indice-submenu li:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
@media (max-width: 768px) {
  .indice-submenu li ul li {
    padding-left: 15px;
  }
  .indice-submenu li ul li ul li {
    padding-left: 25px;
  }
  .indice-submenu li {
    padding: 4px 0;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .indice-submenu li ul li {
    padding-left: 10px;
  }
  .indice-submenu li ul li ul li {
    padding-left: 15px;
  }
  .indice-submenu li {
    padding: 3px 0;
    font-size: 12px;
  }
}
.indice-capitulo {
    list-style: none;
    padding: 0;
    margin: 0;
    top: 3%;
    position: relative;
}
.indice-capitulo li {
    position: relative;
    margin: 0;
    padding: 40px 30px;
    font-family: GothamMedium, serif;
    font-size: 20px;
    color: #fff;
    line-height: 20pt;
    background: transparent;
    overflow: visible;
    cursor: pointer;
}
.indice-capitulo li img {
    position: absolute;
    left: -45px;
    top: 20%;
    transform: translateY(-50%);
    width: 60px;
    opacity: 0;
    z-index: 5;
    animation: slideIn 0.6s ease forwards;
}
.indice-capitulo li .circle {
    position: absolute;
    left: -45px;
    top: 20%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #e06d1a;
    border-radius: 50%;
    box-shadow: 0 0 0 2px transparent; inset;
    z-index: 2;
    opacity: 1;
}
.indice-capitulo li::before {
    content: "";
    position: absolute;
    top: 0;
    height: 2px;
    width: 0;
    background: lightgray;
    transform-origin: left center;
    pointer-events: none;
    z-index: 1;
    animation: lineExpand2 0.6s ease forwards;
}
.indice-capitulo li:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 0;
    background: lightgray;
    transform-origin: left center;
    pointer-events: none;
    z-index: 1;
    animation: lineExpand2 0.6s ease forwards;
    animation-delay: 0.8s;
}
.indice-capitulo li::before,
.indice-capitulo li:last-child::after {
  left: 7%;
  right: 7%;
}
.indice-capitulo li:nth-child(1)::before { animation-delay: 0.2s; }
.indice-capitulo li:nth-child(2)::before { animation-delay: 0.35s; }
.indice-capitulo li:nth-child(3)::before { animation-delay: 0.50s; }
.indice-capitulo li:nth-child(4)::before { animation-delay: 0.65s; }
.indice-capitulo li:nth-child(5)::before { animation-delay: 0.80s; }
.indice-capitulo li span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.6s ease forwards;
    animation-delay: 0.5s;
}
.indice-capitulo li::before,
.indice-capitulo li:last-child::after {
  left: var(--line-inset);
  right: var(--line-inset);
}
@keyframes slideIn {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes lineExpand2 {
    0% { width: 0; }
    100% { width: 88%; }
}
:root {
  --line-inset: 6%;
}
@media (min-width: 1200px) {
  :root { --line-inset: 4%; }
  .indice-capitulo li { padding: 48px 40px; font-size: 20px; }
  .indice-capitulo li img,
  .indice-capitulo li .circle { width: 64px; height: 64px; left: -45px; }
}

@media (max-width: 1199px) and (min-width: 769px) {
  :root { --line-inset:4%; }
  .indice-capitulo li { padding: 40px 30px; font-size: 18px; }
  .indice-capitulo li img,
  .indice-capitulo li .circle { width: 56px; height: 56px; left: -40px; }
}
@media (max-width: 768px) and (min-width: 481px) {
  :root { --line-inset: 4%; }
  .indice-capitulo li { padding: 30px 20px; font-size: 16px; }
  .indice-capitulo li img,
  .indice-capitulo li .circle { width: 44px; height: 44px; left: -35px; }
}
@media (max-width: 480px) {
  :root { --line-inset: 4%; }
  .indice-capitulo li { padding: 22px 12px; font-size: 14px; line-height: 18pt; }
  .indice-capitulo li img,
  .indice-capitulo li .circle { width: 36px; height: 36px; left: -30px; }
  */
}
.close-btn {
  display: block;
  text-align: right;
  cursor: pointer;
  color: white;
  font-weight: bold;
  margin-bottom: 40px;
  font-size: 18px;
  background: none;
  border: none;
}
.indice-principal li {
  position: relative;
  padding-left: 1em;
  list-style: none;
  cursor: pointer;
}
.indice-principal li .arrow {
    position: absolute;
    left: 0;
    opacity: 0;
    font-weight: bold;
    color: white;
    font-size: 1.2em;
    line-height: 15pt;
    animation: arrowSlideIn 4s ease-in-out infinite;
}
@keyframes arrowSlideIn {
  0%   { transform: translateX(-15px); opacity: 0; }
  30%  { transform: translateX(0px); opacity: 1; }
  60%  { transform: translateX(-5px); opacity: 1; }
  100% { transform: translateX(-15px); opacity: 0; }
}


@media (max-width: 1024px) {
  .text-container-indice {
    padding: 100px 15px 0px 30px;
    text-align: left;
  }
  .indice-panel {
    font-size: 18px;
  }
  .left-panel {
    position: fixed !important;
    top: 2em !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 70vw !important;
    max-width: 70vw !important;
    height: 100vh !important;
  }
  .right-panel {
    position: fixed !important;
    top: 4em !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80vw !important;
    max-width: 80vw !important;
    height: 100vh !important;
    z-index: 999 !important;
  }
}
@media (max-width: 768px) {
  .text-container-indice {
    padding: 80px 10px 0px 20px;
    text-align: left;
  }
  .indice-panel {
    font-size: 16px;
    width: 80vw;
    left: 10vw;
    padding: 10px;
  }
  .indice-principal li {
    padding-left: 1.5em;
  }
  .indice-principal li .arrow {
    font-size: 1em;
  }
}
@media (max-width: 480px) {
  .text-container-indice {
    padding: 60px 5px 0px 5px;
    text-align: left;
  }
  .indice-panel {
    font-size: 14px;
    width: 90vw;
    left: 5vw;
  }
  .indice-principal li {
    padding-left: 1em;
  }
  .indice-principal li .arrow {
    font-size: 0.9em;
  }
}
.indice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.columna-indice {
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  .indice-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .white-text2-indice {
    font-size: 24px !important;
  }
}
@media (max-width: 600px) {
  .indice-grid {
    gap: 10px;
    margin-top: 10px;
  }
  .white-text2-indice {
    font-size: 20px !important;
  }
  .indice-principal {
    padding-left: 15px;
  }
  .indice-principal li {
    font-size: 14px;
    line-height: 1.4;
  }
}
.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  color: #fff;
}
details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 4em;
  margin-top: 0.5em;
  z-index: 2;
}
details summary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: lightgray;
  transform-origin: left center;
  pointer-events: none;
  z-index: 1;
  transition: width 0.35s ease;
}
details[open] summary::after {
  animation: lineExpand3 0.45s ease forwards;
}
@keyframes lineExpand3 {
  from { width: 0; }
  to   { width: 250px; }
}
.indice-titulo {
  font-family: "MercuryTextG1-Semibold", serif;
  font-size: 20px;
  color: #fff;
  margin-left: 0;
  margin-bottom: 1em;
  cursor: pointer;
  list-style: none;
}
.menu-item-has-submenu > summary::-webkit-details-marker { display: none; }
.menu-item-has-submenu {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px;
  font-size: 0.8rem;
  color: #000;
  white-space: nowrap;
  font-family: 'Gotham-Bold', sans-serif;
  z-index: 1200;
}
.menu-item-has-submenu > summary {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.menu-chapter-text {
  display: inline-block;
  position: relative;
  line-height: 1;
}
.menu-chapter-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: #eb7a1f;
  transform: scaleX(0);
  opacity: 0;
  transition: transform .24s cubic-bezier(.2,.9,.2,1), opacity .18s ease;
}
.menu-item-has-submenu > summary:hover .menu-chapter-text::after,
.menu-item-has-submenu > summary:focus .menu-chapter-text::after {
  transform: scaleX(1);
  opacity: 1;
}
.menu-item-has-submenu[open] > summary {
  color: #eb7a1f !important;
}
.menu-item-has-submenu[open] .menu-chapter-text::after {
  transform: scaleX(1);
  opacity: 1;
}
.submenu-caret {
  margin-left: 8px;
  transition: transform .18s ease;
}
.menu-item-has-submenu[open] .submenu-caret {
  transform: rotate(180deg);
}
.menu-subtopics {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  font-size: 0.8rem  !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1250;
}
.menu-item-has-submenu[open] > .menu-subtopics {
  display: flex;
}
.menu-subtopics li a {
  display: block;
  padding: 5px 5px;
  color: #000 !important;
  text-decoration: none;
  font-size: 0.75rem;
  border-radius: 4px;
  position: relative;
  line-height: 1.3;
}
.menu-subtopics li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 100%;
  background: #eb7a1f;
  transform: scaleX(0);
  opacity: 0;
  transition: transform .22s ease, opacity .18s ease;
}
.menu-subtopics li a:hover,
.menu-subtopics li a:focus {
  color: #eb7a1f !important;
  background: rgba(235, 122, 31, 0.06);
}
.menu-subtopics li a:hover::after,
.menu-subtopics li a:focus::after {
  transform: scaleX(1);
  opacity: 1;
}
.menu-item-has-submenu > summary::after {
  content: none !important;
  border: none !important;
  background: none !important;
}
@media (max-width: 1024px) {
  .menu-item-has-submenu {
    display: block;
    margin: 6px 0;
    text-align: right;
    width: 100%;
  }
  .menu-item-has-submenu > summary {
    justify-content: flex-end;
    width: 100%;
  }
  .menu-subtopics {
    position: static;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 6px 0 0 0;
  }
  .menu-item-has-submenu[open] > .menu-subtopics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .menu-subtopics li a {
    width: 100%;
    text-align: right;
  }
}
.menu-item-has-submenu > summary,
.menu-item-has-submenu .menu-chapter-summary {
  margin-left: 0 !important;
  margin-top: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  position: static !important;
  padding: 6px 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
}
.menu-item-has-submenu > summary::after,
.menu-item-has-submenu .menu-chapter-summary::after {
  content: none !important;
  border: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}