:root{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body{
  margin:0;
  line-height:1.5;
  background:#fde6c8;
  color:#111;
}

.wrap{
  max-width: 960px;
  margin:0 auto;
  padding: 28px 18px;
}

header{
  text-align: center;
}

h1{
  margin: 10px 0 8px;
  font-size: 44px;
  letter-spacing: -0.5px;
  color: #c2410c;
  margin-top: 0px;
  margin-bottom: 8px;
}

.sub{
  margin:0 0 18px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  color: #7c2d12;
  letter-spacing: -0.3px;
  margin-bottom: 64px;
}

.small{
  font-size: 13px;
  opacity: .70;
}

.logo{
  max-width: 220px;
  display: block;
  margin: 0 auto 8px auto;
}

.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  font-size: 12px;
  opacity:.85;
}

.btn{
  display:inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background:#fff;
  cursor:pointer;
  font-size: 16px;
  color: #ea580c;
  text-decoration: none;
}

.btn.disabled{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none
}

.btn:hover{
  color: #ea580c;
}

main section{
  margin-top: 28px;
}

section{
  margin-bottom: 80px;
}

section > h2{
  text-align: center;
}

h2{
  display: flex;
  align-items: center;
  gap: 8px;
}

section ul{
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.grid img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: zoom-in;
}

.ph{
  border:1px dashed #ccc;
  border-radius: 14px;
  padding: 38px 12px;
  text-align:center;
  opacity:.7;
}

.card{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 18px;
}

.card p{
  margin: 10px 0;
}

footer{
  border-top: 1px solid #eee;
  margin-top: 80px;
  padding: 24px 0;
  text-align: center;
  opacity: .7;
}

.windows-compat{
  margin-top: 24px;
  text-align: center;
  color: #1e3a8a;
  opacity: 0.8;
}

section a.btn{
  margin-top: 16px;
  display: inline-block;
}

.video-btn{
  margin-top: 12px;
  padding: 4px 10px;
  font-size: 12px;
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.video-btn:hover{
  background: #fed7aa;
}

.contact-btn{
  background: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 10px;
  display: block;
  margin: 16px auto 0 auto;
}

.contact-btn:hover{
  background: #6b7280;
  border-color: #6b7280;
  color: #ffffff;
}

#lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 999;
}

#lightbox.show{
  opacity: 1;
  pointer-events: auto;
}

#lightbox img{
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  background: #fff;
  cursor: zoom-out;
}

.terms summary{
  cursor: pointer;
  font-weight: 600;
  color: #c2410c;
  font-size: 12px;
  list-style: none;
  text-align: left;
}

.terms summary::-webkit-details-marker{
  display: none;
}

.terms p{
  margin: 15px 0;
  font-size: 12px;
  opacity: .85;
}

.versions{
  margin-top: 14px;
}

.versions summary{
  cursor: pointer;
  user-select: none;
}

.versions-in-card summary{
  font-size: 14px;
  font-weight: 600;
  color: #9a3412;
  opacity: 0.95;
  list-style: none;
}

.versions-in-card summary::-webkit-details-marker{
  display: none;
}

.versions-list{
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.version-item{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 12px;
}

.version-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.version-tag{
  font-weight: 800;
  color: #7c2d12;
}

.version-dl{
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 10px;
  background: #fff;
  border-color: #fed7aa;
}

.version-details{
  margin-top: 10px;
}

.version-details summary{
  font-size: 13px;
  font-weight: 600;
  opacity: .85;
  text-decoration: underline;
  list-style: none;
}

.version-details summary::-webkit-details-marker{
  display: none;
}

.version-details ul{
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  text-align: left;
}

.video-btn{
  display: block;
  margin: 12px auto 0 auto;
}

.versions-in-card > summary{
  text-align: center;
  cursor: pointer;
}

section{
  text-align: center;
}

.versions-in-card{
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.download-block{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.download-block .download-version{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #7c2d12 !important;
  opacity: 1;
}

.btn.btn-download{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 14px;

  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);

  background: linear-gradient(
    145deg,
    rgba(255, 140, 0, 0.85),
    rgba(234, 88, 12, 0.72)
  );

  /* Cristal */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 10px 26px rgba(234, 88, 12, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.45);

  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn.btn-download:hover{
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(234, 88, 12, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.60);
  filter: saturate(1.05);
}

.btn.btn-download:active{
  transform: translateY(0);
}

/* Icono */
.btn.btn-download .btn-icon{
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  transition: transform .2s ease;
}

.btn.btn-download:hover .btn-icon{
  transform: scale(1.08);
}

.site-footer{
  text-align:center;
  margin-top:60px;
  padding-bottom:30px;
}

.footer-logo{
  margin-top:14px;
  opacity:1;
}

.footer-logo img{
  width:110px;
  height:auto;
}
