:root{
  --page-w:380px;
  --accent-a:#05AFF2;
  --accent-b:#05C7F2;
  --accent-c:#50ABBF;
  --bg-light:#F2F2F2;
  --text-muted:#556;
  --card-white:#ffffff;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: url('Imagenes/fondo.jpg') repeat;
  color:#222;
  display:flex;
  justify-content:center;
  padding:20px 12px;
}

.page{
  width:60%;
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.96));
  border-radius:12px;
  padding:24px 18px 64px 18px;
  box-shadow:0 20px 48px rgba(0,0,0,0.18);
  border:1px solid rgba(0,0,0,0.06);
  overflow:visible;
}

.page > .site-header{
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  padding:4px 2px;
}

.logo{
  width:68px;
  height:68px;
  border-radius:50%;
  object-fit:cover;
  border:6px solid rgba(255,255,255,0.92);
  box-shadow:0 8px 20px rgba(0,0,0,0.18);
  background:white;
  flex:0 0 auto;
}

.site-title{
  font-weight:800;
  font-size:18px;
  padding-right:6px;
  color:var(--accent-a);
  text-align:right;
}

.page > .site-sub{
  position:absolute;
  bottom:14px;
  right:14px;
  font-size:12px;
  background: rgba(255,255,255,0.95);
  padding:6px 8px;
  border-radius:6px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.04);
  z-index:5;
}

.hero{margin-bottom:8px}
.hero h2{color:#1f6c9a;font-size:16px;margin-bottom:6px}
.hero p{font-size:13px;line-height:1.45;margin:0}

.definitions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:space-between;
  margin-bottom:10px
}

.def-card{
  flex:1 1 30%;
  min-width:98px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 24px rgba(0,0,0,0.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:8px;
  text-align:center;
}

.def-tag{
  width:100%;
  padding:6px 8px;
  border-radius:6px;
  font-weight:700;
  color:#fff;
  margin-bottom:8px;
  font-size:13px;
  letter-spacing:0.2px;
}
.tag-orange{background: linear-gradient(90deg,#E66B3A,#ff7300)}
.tag-blue{background: linear-gradient(90deg,#3a85e6,#006eff)}
.tag-green{background: linear-gradient(90deg,#09ff00,#00ff55)}
.def-text{font-size:12.5px;line-height:1.25;margin:0 6px 8px 6px;text-align:left}
.def-icon{width:46px;height:46px;object-fit:cover;border-radius:6px;box-shadow:0 8px 18px rgba(0,0,0,0.08)}

.analogy h3{color:#24698f;font-size:15px;margin:8px 0}
.analogy-row{display:flex;gap:8px;flex-wrap:wrap}

.small-box{
  flex:1 1 30%;
  min-width:98px;
  padding:8px;
  border-radius:6px;
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
  text-align:left;
  font-size:12.5px;
  border-top-color: orange;
}

.icons-strip{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:12px 0;
}
.strip-icon{
  width:20px;
  height:20px;
  object-fit:cover;
  border-radius:8px;
  box-shadow:0 10px 22px rgba(0,0,0,0.08);
}

.feature-box{margin:6px 0}
.feature-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 14px 36px rgba(0,0,0,0.10);
}
.feature-image{
  width:86%;
  max-width:320px;
  border-radius:8px;
  box-shadow:0 12px 30px rgba(0,0,0,0.14);
  border:1px solid rgba(0,0,0,0.04);
}
.feature-captions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  width:100%;
  max-width:360px;
  padding-top:6px;
}
.caption{
  flex:1;
  text-align:center;
  padding:8px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.04);
  box-shadow:0 8px 18px rgba(0,0,0,0.06);
  background:#fff;
}
.cap-icon{
  width:44px;
  height:44px;
  object-fit:cover;
  border-radius:6px;
  margin-bottom:6px;
}

.summary{
  margin-top:12px;
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.06);
  font-style:oblique;
  font-size:13px;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
  text-align:center;
}

.site-footer{
  text-align:center;
  padding:12px;
  margin-top:10px;
  font-size:13px;
}

.page p, .def-text, .small-box p {font-family: "Helvetica Neue", Arial, sans-serif; font-size:13px}
.def-text {text-align:justify}

@media (max-width:420px){
  .page{padding:18px 12px 50px}
  .definitions{flex-direction:column;gap:10px}
  .analogy-row{flex-direction:column}
  .feature-captions{flex-direction:column;align-items:center;gap:8px}
  .page > .site-header{justify-content:center;flex-direction:column;align-items:center}
  .site-title{text-align:center;margin-left:0}
  .page > .site-sub{position:static;right:auto;bottom:auto;margin-top:10px}
  .def-card, .small-box{flex:1 1 100%}
}