* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at center, #e9dfd0, #c5b29c 70%, #a6927b);
  color: #26190f;
  line-height: 1.6;
}

.link{
  color:#1c130c;
}

.link:hover{
  background: #1c130c;
color:#f7ebd9;
}

.lista-centrada ol {
  list-style-position: inside;
  padding-left: 0; 
  margin: 0 auto; 
  max-width: 600px; 
}

.lista-centrada li {
  text-align: justify;
  margin-bottom: 10px; 
}

.menu {
  background: linear-gradient(90deg, #b99363, #8a6844);
  padding: 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:150;
  box-shadow: 0 6px 22px rgba(0,0,0,0.38);
}

.menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.menu ul li {
  list-style: none;
}

.menu ul li a {
  text-decoration: none;
  color: #1c130c;
  font-weight: 700;
  font-size: 1.15em;
  padding: 8px 14px;
  border-radius: 10px;
  transition: 0.25s;
}

.menu ul li a:hover {
  background: #1c130c;
  color: #f7ebd9;
  letter-spacing: 0px;
}

.menu ul li:first-child a:hover {
  background: transparent !important;
  color: inherit !important;
}

.logo-menu {
  width: 55px;
  height: 55px;
  object-fit: contain;
  vertical-align: middle;
  margin-top: -5px;
  transition: transform .25s ease;
  filter: drop-shadow(0 0 12px rgba(140, 95, 52, 0.55)); 
}

.menu ul li:first-child:hover .logo-menu {
  transform: scale(1.15);
}

header {
  text-align: center;
  padding: 160px 20px 90px;
  background: radial-gradient(circle at top, #e3c6a3, #b28b62 85%);
  color: #2b1b10;
  border-bottom: 6px solid rgba(0,0,0,0.15);
  box-shadow: 0 8px 26px rgba(0,0,0,0.32);
}

header h1 {
  font-size: 3.6em;
  letter-spacing: 3px;
  font-weight: 900;
  width: 0;
  margin: 0 auto;
  overflow: hidden;
  border-right: 4px solid #2e2013;
  white-space: nowrap;
  animation: typing 2.3s steps(30) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

header .subtitulo {
  margin-top: 18px;
  font-size: 1.35em;
  opacity: 0.95;
}

.cuadro {
  width: 82%;
  margin: 70px auto;
  padding: 50px 45px;
  background: linear-gradient(145deg, #fff4df, #f0e1c9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28), 0 0 30px rgba(146, 108, 64, 0.25) inset;
  border: 1px solid rgba(0,0,0,0.12);
  backdrop-filter: blur(3px);
}

.video {
  border-radius: 20px;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #452811;
  font-size: 2.2em;
  letter-spacing: 1.5px;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.22);
}

.imagen-concepto{
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.imagen-concepto:hover{
  transform: scale(1.07);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.tabla-info {
  width: 90%;
  margin: 35px auto;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.26);
}

.tabla-info caption {
  background: #d8b992;
  padding: 16px;
  font-size: 1.15em;
  font-weight: 900;
  color: #2b1b10;
  text-align: left;
  letter-spacing: 1px;
}

.tabla-info th {
  background: #8b542b;
  color: white;
  padding: 16px;
  text-align: left;
}

.tabla-info td {
  padding: 14px;
  color: #271a0f;
  font-weight: 500;
}

.tabla-info tr:nth-child(even) {
  background:#f0dfc8;
}

.tabla-info tr:nth-child(odd) {
  background:#fff5e6;
}

.tabla-info tr:hover {
  background:#e8d7c2;
}

.frases blockquote {
  background:#e8c9a6;
  padding:18px;
  border-left: 7px solid #8d5b2f;
  border-radius:12px;
  margin:18px 0;
  box-shadow: 0 6px 22px rgba(0,0,0,0.24);
  font-size: 1.08em;
  transition: 0.3s;
}

.frases blockquote:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 26px rgba(0,0,0,0.28);
}

footer {
  text-align:center;
  padding:48px;
  background: linear-gradient(90deg,#b99363,#8e6d48);
  color:#26190f;
  font-weight:700;
  border-top: 6px solid rgba(0,0,0,0.12);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
}
.qr-container {
  position: relative;
  display: inline-block;
}

.qr-container img {
  display: block;
}


    .qr-container {
        position: relative;
        display: inline-block;
    }

    .qr-container img {
        display: block;
    }

    .qr-texto {
        position: absolute;
        top: 90%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 15px;
        color: white;
        font-weight: bold;
        background: rgba(0, 0, 0, 0.45);
        padding: 15px 30px;
        border-radius: 10px;
        text-shadow: 0 0 5px black;
        opacity: 0;                
        transition: opacity 0.3s;  
        pointer-events: none;       
    }

    .qr-container:hover .qr-texto {
        opacity: 2;
    }

    @import url("https://unpkg.com/papercss@1.9.2/dist/paper.css") layer(csspaper);

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-list:has(li:hover) li:not(:hover) {
  filter: blur(3px);
  opacity: 0.6;
}

.card-list li {
  list-style: none;
  padding: 0.7rem;
  border-radius: 10px;
  background: transparent;
  border: 2px solid rgba(70, 45, 25, 0.25); 
  transition: transform 450ms cubic-bezier(.25, .65, .35, 1),
              box-shadow 450ms cubic-bezier(.25, .65, .35, 1);
}
.card-list li img {
  width: 100%;
  height: 180px;        
  object-fit: cover;    
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 5px 14px rgba(0,0,0,0.25);
  display: block;
}
.card-list li h2 {
  font-size: 0.95rem;
  text-align: left;
  margin: 6px 0 0 0;
  color: inherit;
}


.card-list li a {
  text-decoration: none;
  padding-left: 6px;
  display: block;
  color: inherit;
}
.card-list li:hover {
  transform: scale(1.015);
  box-shadow: 0 10px 18px rgba(0,0,0,0.20);
}


@media (max-width: 750px) {
  .card-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .card-list {
    grid-template-columns: 1fr;
  }
}

.ascetismo-cards .item {
    box-shadow:
        inset var(--itemWidthMinus) var(--itemWidthMinus) 0 #8e6d48,
        inset var(--itemWidth) var(--itemWidthMinus) 0 #c5aa8c,
        inset var(--itemWidthMinus) var(--itemWidth) 0 #faedde,
        inset var(--itemWidth) var(--itemWidth) 0 #fff9f3,
        0 0 20px #ffe2c0;
  display: flex;
   padding: 20px;
        transition: box-shadow ease-in-out .6s, color ease-in-out .5s;
     padding-top: 45px;
    width: var(--itemWidth);
    height: var(--itemWidth);
    border-radius: 50%;
    text-align: center;
background: center/cover no-repeat;
    cursor: pointer;
    display: grid;
    color: white;
    font-size: calc(var(--itemWidth) / 7);
}

.ascetismo-cards .item:hover {
    box-shadow:
        inset 0 0 0 transparent,
        inset 0 0 0 transparent,
        inset 0 0 0 transparent,
        inset 0 0 0 transparent,
        0 0 20px #ffe2c0;
    color: transparent;
}

.ascetismo-cards {
    --itemWidth: min(310px, 35vw);
    --itemWidthMinus: calc(-1 * var(--itemWidth));

    width: 100%;
    margin-top: 30px;

    display: flex;
    justify-content: center;  
    align-items: center;
    gap: 60px;                 
    flex-wrap: wrap;          
    font-family: 'Averia Serif Libre';
}



.ascetismo-cards .item:first-of-type {
    background-image: url(a.png);
}

.ascetismo-cards .item>span {
    width: 97%;
    user-select: none;
    font-size: 22px;
}
#ventana-info {
    font-size: 12px;
    position: absolute;
    background: #f7e7c1;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #d9c196;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    display: none;
    z-index: 999;
    font-family: Arial, sans-serif;
    animation: fadeIn 0.2s ease;
}
